bkui-vue 0.0.1-beta.69 → 0.0.1-beta.71

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.
@@ -69,8 +69,12 @@ declare const _default: import("vue").DefineComponent<{
69
69
  } & {
70
70
  default: boolean;
71
71
  };
72
- selected: import("vue-types").VueTypeDef<any> & {
73
- default: any;
72
+ selected: import("vue-types").VueTypeDef<string | number | {
73
+ [key: string]: any;
74
+ }> & {
75
+ default: string | number | (() => {
76
+ [key: string]: any;
77
+ });
74
78
  };
75
79
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
76
80
  nodeClick: () => void;
@@ -145,8 +149,12 @@ declare const _default: import("vue").DefineComponent<{
145
149
  } & {
146
150
  default: boolean;
147
151
  };
148
- selected: import("vue-types").VueTypeDef<any> & {
149
- default: any;
152
+ selected: import("vue-types").VueTypeDef<string | number | {
153
+ [key: string]: any;
154
+ }> & {
155
+ default: string | number | (() => {
156
+ [key: string]: any;
157
+ });
150
158
  };
151
159
  }>> & {
152
160
  onNodeClick?: () => any;
@@ -158,7 +166,9 @@ declare const _default: import("vue").DefineComponent<{
158
166
  draggable: boolean;
159
167
  lineHeight: number;
160
168
  prefixIcon: any;
161
- selected: any;
169
+ selected: string | number | {
170
+ [key: string]: any;
171
+ };
162
172
  children: string;
163
173
  emptyText: string;
164
174
  nodeKey: string;
@@ -8,5 +8,6 @@ declare const _default: (props: TreePropTypes) => {
8
8
  schemaValues: import("vue").ComputedRef<any[]>;
9
9
  asyncNodeClick: (item: any) => Promise<any>;
10
10
  deepAutoOpen: () => void;
11
+ afterDataUpdate: (callFn: () => any) => void;
11
12
  };
12
13
  export default _default;
@@ -1 +1 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("lodash"));else if("function"==typeof define&&define.amd)define(["../shared","vue","lodash"],t);else{var n="object"==typeof exports?t(require("../shared"),require("vue"),require("lodash")):t(e["../shared"],e.vue,e.lodash);for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(self,((e,t,n)=>(()=>{"use strict";var o={4212:t=>{t.exports=e},467:e=>{e.exports=n},748:e=>{e.exports=t}},r={};function l(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={exports:{}};return o[e](n,n.exports,l),n.exports}l.d=(e,t)=>{for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{l.r(i),l.d(i,{default:()=>g});var e=l(4212);function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function n(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?t(e,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var r=l(748),a={onContentScroll:Function},s=Object.assign({list:e.PropTypes.array.def([]),enabled:e.PropTypes.bool.def(!0),scrollEvent:e.PropTypes.bool.def(!1),lineHeight:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.func]).def(30),minHeight:e.PropTypes.number.def(30),height:e.PropTypes.oneOfType([e.PropTypes.string.def("100%"),e.PropTypes.number]).def("100%"),width:e.PropTypes.oneOfType([e.PropTypes.string.def("100%"),e.PropTypes.number]).def("100%"),className:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.string),e.PropTypes.object,e.PropTypes.arrayOf(e.PropTypes.object),e.PropTypes.string]).def(""),contentClassName:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.string),e.PropTypes.object,e.PropTypes.arrayOf(e.PropTypes.object),e.PropTypes.string]).def(""),contentStyle:e.PropTypes.object.def({}),scrollXName:e.PropTypes.string.def("bk-scroll-x"),scrollYName:e.PropTypes.string.def("bk-scroll-y"),groupItemCount:e.PropTypes.number.def(1),preloadItemCount:e.PropTypes.number.def(1),renderAs:e.PropTypes.string.def("div"),contentAs:e.PropTypes.string.def("div"),scrollOffsetTop:e.PropTypes.number.def(0),scrollPosition:e.PropTypes.string.def("content"),abosuteHeight:e.PropTypes.oneOfType([e.PropTypes.string.def("auto"),e.PropTypes.number]).def("auto"),throttleDelay:e.PropTypes.number.def(60)},a),u=l(467),c=void 0;function p(e,t,n,o){for(var r=0,l=0,i=0,a=0;r<e;r++){if(l+(a=o(r,[r*n,(r+1)*n,"virtual"]))>t){i=t-l;break}l+=a}return{startIndex:r,height:l,diffHeight:i}}function f(e,t,n,o,r){if(o){var l=o.scrollTop,i=o.scrollLeft,a=n.scrollTop,s=n.count,u=n.groupItemCount,c=n.startIndex,f=n.endIndex,d=o.offsetHeight,y=0,v=0,h=0;if("number"==typeof e&&(y=Math.floor(l/e),v=Math.ceil(d/e)+y,h=l%e),"function"==typeof e){var b=p(s,l,u,e);y=b.startIndex>0?b.startIndex:0,h=b.diffHeight,v=p(s,d,u,e).startIndex+y+1}l===a&&y===c&&v===f||"function"==typeof t&&t(r,y,v,l,h,i)}}function d(e,t,n){var o=n.value,r=o.lineHeight,l=void 0===r?30:r,i=o.handleScrollCallback,a=o.pagination,s=void 0===a?{}:a;if(o.onlyScroll){var u=t.scrollTop;i(e,null,null,u,u,t.scrollLeft)}else{var c=s.startIndex,p=s.endIndex,d=s.groupItemCount,y=s.count;f(l,i,{scrollTop:s.scrollTop,startIndex:c,endIndex:p,groupItemCount:d,count:y},t,e)}}var y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:60;return(0,u.throttle)((function(e,t,n){return d(e,t,n)}),e)},v=null,h=function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:60;v||(v=y(o)),"function"==typeof v&&v.call(c,e,t,n)};const b={mounted:function(e,t){var n=e.parentNode,o=t.value.throttleDelay;n.addEventListener("scroll",(function(e){h(e,n,t,o)}))},updated:function(e,t){var n=e.parentNode,o=t.value.throttleDelay;h(null,n,t,o)},unbind:function(e){if(e){var t=e.parentNode;if(!t)return;t.removeEventListener("scroll",y)}}},m=(0,r.defineComponent)({name:"VirtualRender",directives:{bkVirtualRender:b},props:s,emits:["content-scroll"],setup:function(e,t){var l=this,i=e.renderAs,a=e.contentAs,s=function(e){return"string"==typeof e?[e]:"object"!==o(e)||Array.isArray(e)?e:[e]};if(!e.enabled){var u=function(e,t){var n=e.renderAs,o=e.contentAs,l=(0,r.resolveDirective)("bkVirtualRender"),i={lineHeight:e.lineHeight,handleScrollCallback:function(e,n,o,r,l,i){t.emit("content-scroll",[e,{translateY:l,translateX:i}])},pagination:{},throttleDelay:e.throttleDelay,onlyScroll:e.scrollEvent};return{rendAsTag:function(){var a,s,u,c,p,f,d,y,v;return(0,r.h)(n,{class:e.className},[null!==(u=null===(s=(a=t.slots).beforeContent)||void 0===s?void 0:s.call(a))&&void 0!==u?u:"",(0,r.withDirectives)((0,r.h)(o,{class:e.contentClassName,style:e.contentStyle},[null!==(f=null===(p=(c=t.slots).default)||void 0===p?void 0:p.call(c,{data:e.list}))&&void 0!==f?f:""]),[[l,i]]),null!==(v=null===(y=(d=t.slots).afterContent)||void 0===y?void 0:y.call(d))&&void 0!==v?v:""])}}}(e,t);return u.rendAsTag}var c=(0,r.ref)(null),p=(0,r.reactive)({startIndex:0,endIndex:0,scrollTop:1,translateY:0,translateX:0,count:0,groupItemCount:e.groupItemCount}),d=function(e,n,o,r,l,i){p.startIndex=n,p.endIndex=o,p.scrollTop=r,p.translateY=l,p.translateX=i,t.emit("content-scroll",[e,p])};(0,r.onMounted)((function(){(0,r.nextTick)((function(){b(e.list),m()}))})),(0,r.watch)((function(){return e.list}),(function(){y(),m()}),{deep:!0}),(0,r.watch)((function(){return e.lineHeight}),(function(){y(),m()}));var y=function(){b(e.list)},v=(0,r.ref)(0),h=(0,r.ref)(0),b=function(t){if(v.value=Math.ceil((t||[]).length/e.groupItemCount),p.count=v.value,p.startIndex=0,p.endIndex=0,p.translateY=0,p.scrollTop=0,"string"==typeof e.abosuteHeight&&"auto"===e.abosuteHeight)if("function"==typeof e.lineHeight){h.value=0;for(var n=0,o=0;o<v.value;o++){var r=e.lineHeight.call(l,o,t.slice(o*e.groupItemCount,e.groupItemCount));n+="number"==typeof r?r:0}h.value=n}else h.value=e.lineHeight*v.value;else h.value=e.abosuteHeight},m=function(){var t,n=null===(t=c.value)||void 0===t?void 0:t.parentNode;f(e.lineHeight,d,p,n,null)},g=(0,r.computed)((function(){return(e.list||[]).map((function(e,t){return Object.assign(Object.assign({},e),{$index:t})}))})),T=(0,r.computed)((function(){return g.value.slice(p.startIndex*e.groupItemCount,(p.endIndex+e.preloadItemCount)*e.groupItemCount)})),P=(0,r.computed)((function(){return"content"===e.scrollPosition?{top:"".concat(p.scrollTop+e.scrollOffsetTop,"px"),transform:"translateY(-".concat(p.translateY,"px)")}:{}})),x=(0,r.computed)((function(){return Object.assign({height:"number"==typeof e.height?"".concat(e.height,"px"):e.height,width:"number"==typeof e.width?"".concat(e.width,"px"):e.width,display:"inline-block"},"container"===e.scrollPosition?P.value:{})})),I=(0,r.computed)((function(){var t="number"==typeof e.abosuteHeight&&0===e.abosuteHeight;return{height:"".concat(h.value<e.minHeight?e.minHeight:h.value,"px"),display:t?"none":"block"}})),C=(0,r.computed)((function(){return["bk-virtual-render",e.scrollXName,e.scrollYName].concat(n(s(e.className)),["container"===e.scrollPosition?"bk-virtual-content":""])})),O=(0,r.computed)((function(){return["content"===e.scrollPosition?"bk-virtual-content":""].concat(n(s(e.contentClassName)))})),S=(0,r.resolveDirective)("bkVirtualRender"),j={lineHeight:e.lineHeight,handleScrollCallback:d,pagination:p,throttleDelay:e.throttleDelay};return t.expose({reset:function(){y(),m()}}),function(){var n,o,l,s,u,p,f,d,y;return(0,r.h)(i||"div",{ref:c,class:C.value,style:x.value},[null!==(l=null===(o=(n=t.slots).beforeContent)||void 0===o?void 0:o.call(n))&&void 0!==l?l:"",(0,r.withDirectives)((0,r.h)(a||"div",{class:O.value,style:Object.assign(Object.assign({},P.value),e.contentStyle)},[null!==(p=null===(u=(s=t.slots).default)||void 0===u?void 0:u.call(s,{data:T.value}))&&void 0!==p?p:""]),[[S,j]]),null!==(y=null===(d=(f=t.slots).afterContent)||void 0===d?void 0:d.call(f))&&void 0!==y?y:"",(0,r.h)("div",{class:["bk-virtual-section"],style:I.value})])}}}),g=(0,e.withInstall)(m)})(),i})()));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("lodash"));else if("function"==typeof define&&define.amd)define(["../shared","vue","lodash"],t);else{var o="object"==typeof exports?t(require("../shared"),require("vue"),require("lodash")):t(e["../shared"],e.vue,e.lodash);for(var n in o)("object"==typeof exports?exports:e)[n]=o[n]}}(self,((e,t,o)=>(()=>{"use strict";var n={4212:t=>{t.exports=e},467:e=>{e.exports=o},748:e=>{e.exports=t}},r={};function l(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={exports:{}};return n[e](o,o.exports,l),o.exports}l.d=(e,t)=>{for(var o in t)l.o(t,o)&&!l.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{l.r(i),l.d(i,{default:()=>b});var e=l(4212);function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function o(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,o){if(e){if("string"==typeof e)return t(e,o);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,o):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var r=l(748),s={onContentScroll:Function},a=Object.assign({list:e.PropTypes.array.def([]),enabled:e.PropTypes.bool.def(!0),scrollEvent:e.PropTypes.bool.def(!1),lineHeight:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.func]).def(30),minHeight:e.PropTypes.number.def(30),height:e.PropTypes.oneOfType([e.PropTypes.string.def("100%"),e.PropTypes.number]).def("100%"),width:e.PropTypes.oneOfType([e.PropTypes.string.def("100%"),e.PropTypes.number]).def("100%"),className:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.string),e.PropTypes.object,e.PropTypes.arrayOf(e.PropTypes.object),e.PropTypes.string]).def(""),contentClassName:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.string),e.PropTypes.object,e.PropTypes.arrayOf(e.PropTypes.object),e.PropTypes.string]).def(""),contentStyle:e.PropTypes.object.def({}),scrollXName:e.PropTypes.string.def("bk-scroll-x"),scrollYName:e.PropTypes.string.def("bk-scroll-y"),groupItemCount:e.PropTypes.number.def(1),preloadItemCount:e.PropTypes.number.def(1),renderAs:e.PropTypes.string.def("div"),contentAs:e.PropTypes.string.def("div"),scrollOffsetTop:e.PropTypes.number.def(0),scrollPosition:e.PropTypes.string.def("content"),abosuteHeight:e.PropTypes.oneOfType([e.PropTypes.string.def("auto"),e.PropTypes.number]).def("auto"),throttleDelay:e.PropTypes.number.def(60)},s),u=l(467),c=void 0;function p(e,t,o,n){for(var r=0,l=0,i=0,s=0;r<e;r++){if(l+(s=n(r,[r*o,(r+1)*o,"virtual"]))>t){i=t-l;break}l+=s}return{startIndex:r,height:l,diffHeight:i}}function f(e,t,o,n,r){if(n){var l=n.scrollTop,i=n.scrollLeft,s=o.scrollTop,a=o.count,u=o.groupItemCount,c=o.startIndex,f=o.endIndex,d=n.offsetHeight,y=0,v=0,h=0;if("number"==typeof e&&(y=Math.floor(l/e),v=Math.ceil(d/e)+y,h=l%e),"function"==typeof e){var b=p(a,l,u,e);y=b.startIndex>0?b.startIndex:0,h=b.diffHeight,v=p(a,d,u,e).startIndex+y+1}if(l!==s||y!==c||v!==f){var g=n.scrollHeight-n.offsetHeight-n.scrollTop;"function"==typeof t&&t(r,y,v,l,h,i,{bottom:g})}}}function d(e,t,o){var n=o.value,r=n.lineHeight,l=void 0===r?30:r,i=n.handleScrollCallback,s=n.pagination,a=void 0===s?{}:s;if(n.onlyScroll){var u=t.scrollTop;i(e,null,null,u,u,t.scrollLeft,{bottom:t.scrollHeight-t.offsetHeight-t.scrollTop})}else{var c=a.startIndex,p=a.endIndex,d=a.groupItemCount,y=a.count;f(l,i,{scrollTop:a.scrollTop,startIndex:c,endIndex:p,groupItemCount:d,count:y},t,e)}}var y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:60;return(0,u.throttle)((function(e,t,o){return d(e,t,o)}),e)};const v={mounted:function(e,t){var o=e.parentNode,n=t.value.throttleDelay;o.addEventListener("scroll",(function(e){!function(e,t,o){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:60;Reflect.apply(y(n),c,[e,t,o])}(e,o,t,n)}))},unbind:function(e){if(e){var t=e.parentNode;if(!t)return;t.removeEventListener("scroll",y)}}},h=(0,r.defineComponent)({name:"VirtualRender",directives:{bkVirtualRender:v},props:a,emits:["content-scroll"],setup:function(e,t){var l=this,i=e.renderAs,s=e.contentAs,a=function(e){return"string"==typeof e?[e]:"object"!==n(e)||Array.isArray(e)?e:[e]};if(!e.enabled){var u=function(e,t){var o=e.renderAs,n=e.contentAs,l=(0,r.resolveDirective)("bkVirtualRender"),i={lineHeight:e.lineHeight,handleScrollCallback:function(e,o,n,r,l,i,s){t.emit("content-scroll",[e,{translateY:l,translateX:i,pos:s}])},pagination:{},throttleDelay:e.throttleDelay,onlyScroll:e.scrollEvent};return{rendAsTag:function(){var s,a,u,c,p,f,d,y,v;return(0,r.h)(o,{class:e.className},[null!==(u=null===(a=(s=t.slots).beforeContent)||void 0===a?void 0:a.call(s))&&void 0!==u?u:"",(0,r.withDirectives)((0,r.h)(n,{class:e.contentClassName,style:e.contentStyle},[null!==(f=null===(p=(c=t.slots).default)||void 0===p?void 0:p.call(c,{data:e.list}))&&void 0!==f?f:""]),[[l,i]]),null!==(v=null===(y=(d=t.slots).afterContent)||void 0===y?void 0:y.call(d))&&void 0!==v?v:""])}}}(e,t);return u.rendAsTag}var c=(0,r.ref)(null),p=(0,r.reactive)({startIndex:0,endIndex:0,scrollTop:1,translateY:0,translateX:0,count:0,pos:{},groupItemCount:e.groupItemCount}),d=function(e,o,n,r,l,i,s){p.startIndex=o,p.endIndex=n,p.scrollTop=r,p.translateY=l,p.translateX=i,p.pos=s,t.emit("content-scroll",[e,p])};(0,r.onMounted)((function(){(0,r.nextTick)((function(){b(e.list),g()}))})),(0,r.watch)((function(){return e.list}),(function(){y(),g()}),{deep:!0}),(0,r.watch)((function(){return e.lineHeight}),(function(){y(),g()}));var y=function(){b(e.list)},v=(0,r.ref)(0),h=(0,r.ref)(0),b=function(t){if(v.value=Math.ceil((t||[]).length/e.groupItemCount),p.count=v.value,p.startIndex=0,p.endIndex=0,p.translateY=0,p.scrollTop=0,"string"==typeof e.abosuteHeight&&"auto"===e.abosuteHeight)if("function"==typeof e.lineHeight){h.value=0;for(var o=0,n=0;n<v.value;n++){var r=e.lineHeight.call(l,n,t.slice(n*e.groupItemCount,e.groupItemCount));o+="number"==typeof r?r:0}h.value=o}else h.value=e.lineHeight*v.value;else h.value=e.abosuteHeight},g=function(){var t,o=null===(t=c.value)||void 0===t?void 0:t.parentNode;f(e.lineHeight,d,p,o,null)},m=(0,r.computed)((function(){return(e.list||[]).map((function(e,t){return Object.assign(Object.assign({},e),{$index:t})}))})),T=(0,r.computed)((function(){return m.value.slice(p.startIndex*e.groupItemCount,(p.endIndex+e.preloadItemCount)*e.groupItemCount)})),P=(0,r.computed)((function(){return"content"===e.scrollPosition?{top:"".concat(p.scrollTop+e.scrollOffsetTop,"px"),transform:"translateY(-".concat(p.translateY,"px)")}:{}})),x=(0,r.computed)((function(){return Object.assign({height:"number"==typeof e.height?"".concat(e.height,"px"):e.height,width:"number"==typeof e.width?"".concat(e.width,"px"):e.width,display:"inline-block"},"container"===e.scrollPosition?P.value:{})})),I=(0,r.computed)((function(){var t="number"==typeof e.abosuteHeight&&0===e.abosuteHeight;return{height:"".concat(h.value<e.minHeight?e.minHeight:h.value,"px"),display:t?"none":"block"}})),H=(0,r.computed)((function(){return["bk-virtual-render",e.scrollXName,e.scrollYName].concat(o(a(e.className)),["container"===e.scrollPosition?"bk-virtual-content":""])})),C=(0,r.computed)((function(){return["content"===e.scrollPosition?"bk-virtual-content":""].concat(o(a(e.contentClassName)))})),O=(0,r.resolveDirective)("bkVirtualRender"),S={lineHeight:e.lineHeight,handleScrollCallback:d,pagination:p,throttleDelay:e.throttleDelay};return t.expose({reset:function(){y(),g()}}),function(){var o,n,l,a,u,p,f,d,y;return(0,r.h)(i||"div",{ref:c,class:H.value,style:x.value},[null!==(l=null===(n=(o=t.slots).beforeContent)||void 0===n?void 0:n.call(o))&&void 0!==l?l:"",(0,r.withDirectives)((0,r.h)(s||"div",{class:C.value,style:Object.assign(Object.assign({},P.value),e.contentStyle)},[null!==(p=null===(u=(a=t.slots).default)||void 0===u?void 0:u.call(a,{data:T.value}))&&void 0!==p?p:""]),[[O,S]]),null!==(y=null===(d=(f=t.slots).afterContent)||void 0===d?void 0:d.call(f))&&void 0!==y?y:"",(0,r.h)("div",{class:["bk-virtual-section"],style:I.value})])}}}),b=(0,e.withInstall)(h)})(),i})()));
@@ -1,7 +1,6 @@
1
1
  export declare function computedVirtualIndex(lineHeight: any, callback: any, pagination: any, el: any, event: any): void;
2
2
  declare const _default: {
3
3
  mounted(el: any, binding: any): void;
4
- updated(el: any, binding: any): void;
5
4
  unbind(el: any): void;
6
5
  };
7
6
  export default _default;
@@ -101,7 +101,7 @@ declare const _default: import("vue").DefineComponent<{
101
101
  default: string;
102
102
  } & {
103
103
  default: string;
104
- }; /** 如果有分组状态,计算总行数 */
104
+ };
105
105
  abosuteHeight: import("vue-types").VueTypeDef<string | number> & {
106
106
  default: string | number;
107
107
  };
@@ -215,7 +215,7 @@ declare const _default: import("vue").DefineComponent<{
215
215
  default: string;
216
216
  } & {
217
217
  default: string;
218
- }; /** 如果有分组状态,计算总行数 */
218
+ };
219
219
  abosuteHeight: import("vue-types").VueTypeDef<string | number> & {
220
220
  default: string | number;
221
221
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "0.0.1-beta.69",
3
+ "version": "0.0.1-beta.71",
4
4
  "workspaces": {
5
5
  "packages": [
6
6
  "packages/!(**.bak)*",