sone-ui-component-3.2.4 2.0.267 → 2.0.268
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 +10 -10
- package/lib/sone-ui.common.js.map +1 -1
- package/lib/sone-ui.umd.js +10 -10
- 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 +2 -2
- package/src/index.js +1 -1
package/lib/sone-ui.common.js
CHANGED
|
@@ -25993,12 +25993,12 @@ src_main.install = function(Vue) {
|
|
|
25993
25993
|
|
|
25994
25994
|
|
|
25995
25995
|
/* harmony default export */ var messageBox = (src_main);
|
|
25996
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"16a6f5a8-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=
|
|
25997
|
-
var
|
|
25998
|
-
var
|
|
25996
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"16a6f5a8-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=140590c0&scoped=true&
|
|
25997
|
+
var mainvue_type_template_id_140590c0_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"},[_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),_c('div',{ref:"line",staticClass:"show-line",style:(_vm.dragWidth?'cursor:col-resize;':'')},[_c('div',{staticClass:"show-line-box",style:(_vm.showStyle),on:{"click":_vm.onShow}})])]):_c('div',{staticClass:"sone-tree"},[_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',{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))}),_vm._v(" "+_vm._s(scope.node.label))]),_c('div',[(!scope.node.data.noMoreBtn)?_c('span',{staticClass:"sone-components-tree-more-btn-color"},[_c('el-button',{attrs:{"type":"text","size":"mini","icon":"iconfont iconfont-single icon-more"},on:{"click":[function($event){$event.stopPropagation();return _vm.showTreeMenu(scope,$event)},function($event){return _vm.handldMore(scope.node)}]}})],1):_vm._e()])])}}])}),_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),_c('div',{ref:"line",staticClass:"show-line",style:(_vm.dragWidth?'cursor:col-resize;':'')},[_c('div',{staticClass:"show-line-box",style:(_vm.showStyle),on:{"click":_vm.onShow}})])])])}
|
|
25998
|
+
var mainvue_type_template_id_140590c0_scoped_true_staticRenderFns = []
|
|
25999
25999
|
|
|
26000
26000
|
|
|
26001
|
-
// CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=
|
|
26001
|
+
// CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=140590c0&scoped=true&
|
|
26002
26002
|
|
|
26003
26003
|
// CONCATENATED MODULE: ./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=script&lang=js&
|
|
26004
26004
|
//
|
|
@@ -26237,14 +26237,14 @@ const mainvue_type_script_lang_js_deepClone = data => {
|
|
|
26237
26237
|
defaultCheckedKeys: { type: Array },
|
|
26238
26238
|
currentNodeKey:{ type:[Number, String] },
|
|
26239
26239
|
indent: { type: Number },
|
|
26240
|
-
iconClass: { type:
|
|
26240
|
+
iconClass: { type: String },
|
|
26241
26241
|
draggable: { type: Boolean },
|
|
26242
26242
|
searchType:{ type:String, default:'normal' }, // normal api
|
|
26243
26243
|
defaultWidth:{ type:Number, default:200 },
|
|
26244
26244
|
placeholder:{ type:String, default:'请输入关键字搜索' },
|
|
26245
26245
|
clearable: { type: Boolean, default: false },
|
|
26246
26246
|
showTitleButton: { type: Boolean, default: true },
|
|
26247
|
-
titleIcon: { type:
|
|
26247
|
+
titleIcon: { type: String, default: '' },
|
|
26248
26248
|
allowDrop: { type: Function },
|
|
26249
26249
|
allowDrag: { type: Function },
|
|
26250
26250
|
dragWidth:{
|
|
@@ -26445,11 +26445,11 @@ const mainvue_type_script_lang_js_deepClone = data => {
|
|
|
26445
26445
|
|
|
26446
26446
|
var src_main_component = normalizeComponent(
|
|
26447
26447
|
packages_tree_src_mainvue_type_script_lang_js_,
|
|
26448
|
-
|
|
26449
|
-
|
|
26448
|
+
mainvue_type_template_id_140590c0_scoped_true_render,
|
|
26449
|
+
mainvue_type_template_id_140590c0_scoped_true_staticRenderFns,
|
|
26450
26450
|
false,
|
|
26451
26451
|
null,
|
|
26452
|
-
"
|
|
26452
|
+
"140590c0",
|
|
26453
26453
|
null
|
|
26454
26454
|
|
|
26455
26455
|
)
|
|
@@ -36960,7 +36960,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
36960
36960
|
}
|
|
36961
36961
|
|
|
36962
36962
|
/* harmony default export */ var src_0 = ({
|
|
36963
|
-
version: '2.0.
|
|
36963
|
+
version: '2.0.268',
|
|
36964
36964
|
locale: locale.use,
|
|
36965
36965
|
i18n: locale.i18n,
|
|
36966
36966
|
install,
|