bkui-vue 0.0.1-beta.380 → 0.0.1-beta.381
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/dist/index.cjs.js +15 -15
- package/dist/index.esm.js +108 -107
- package/dist/index.umd.js +15 -15
- package/lib/alert/alert.d.ts +1 -1
- package/lib/alert/index.d.ts +4 -4
- package/lib/badge/badge.d.ts +2 -2
- package/lib/badge/index.d.ts +7 -7
- package/lib/breadcrumb/breadcrumb-item.d.ts +1 -1
- package/lib/breadcrumb/index.d.ts +1 -1
- package/lib/button/button.d.ts +1 -1
- package/lib/button/index.d.ts +4 -4
- package/lib/card/card.d.ts +1 -1
- package/lib/card/index.d.ts +4 -4
- package/lib/cascader/cascader-panel.d.ts +1 -1
- package/lib/cascader/cascader.d.ts +2 -2
- package/lib/cascader/index.d.ts +8 -8
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +4 -4
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +4 -4
- package/lib/date-picker/date-picker.d.ts +1 -1
- package/lib/date-picker/index.d.ts +4 -4
- package/lib/date-picker/panel/time-range.d.ts +2 -2
- package/lib/date-picker/panel/time.d.ts +2 -2
- package/lib/date-picker/time-picker.d.ts +2 -2
- package/lib/dialog/dialog.d.ts +2 -2
- package/lib/dialog/index.d.ts +7 -7
- package/lib/directives/index.d.ts +1 -1
- package/lib/directives/index.js +1 -1
- package/lib/divider/divider.d.ts +1 -1
- package/lib/divider/index.d.ts +4 -4
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +4 -4
- package/lib/fixed-navbar/fixed-navbar.d.ts +1 -1
- package/lib/fixed-navbar/index.d.ts +4 -4
- package/lib/form/form-item.d.ts +1 -1
- package/lib/form/index.d.ts +1 -1
- package/lib/input/index.d.ts +4 -4
- package/lib/input/input.d.ts +1 -1
- package/lib/link/index.d.ts +4 -4
- package/lib/link/link.d.ts +1 -1
- package/lib/loading/index.d.ts +4 -4
- package/lib/loading/loading.d.ts +1 -1
- package/lib/menu/index.d.ts +4 -4
- package/lib/menu/menu.d.ts +1 -1
- package/lib/modal/index.d.ts +4 -4
- package/lib/modal/modal.d.ts +1 -1
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/pagination/index.d.ts +4 -4
- package/lib/pagination/pagination.d.ts +1 -1
- package/lib/popover/index.d.ts +16 -16
- package/lib/popover/popover.d.ts +5 -5
- package/lib/process/index.d.ts +4 -4
- package/lib/process/process.d.ts +1 -1
- package/lib/progress/index.d.ts +7 -7
- package/lib/progress/progress.d.ts +2 -2
- package/lib/resize-layout/index.d.ts +4 -4
- package/lib/resize-layout/resize-layout.d.ts +1 -1
- package/lib/select/index.d.ts +8 -8
- package/lib/select/index.js +1 -1
- package/lib/select/optionGroup.d.ts +1 -1
- package/lib/select/select.d.ts +2 -2
- package/lib/sideslider/index.d.ts +4 -4
- package/lib/sideslider/sideslider.d.ts +1 -1
- package/lib/slider/index.d.ts +7 -7
- package/lib/slider/slider.d.ts +2 -2
- package/lib/tab/index.d.ts +1 -1
- package/lib/tab/tab-panel.d.ts +1 -1
- package/lib/table/index.d.ts +15 -15
- package/lib/table/plugins/head-filter.d.ts +1 -1
- package/lib/table/props.d.ts +2 -2
- package/lib/table/table.d.ts +6 -6
- package/lib/tag-input/index.d.ts +7 -7
- package/lib/tag-input/tag-input.d.ts +2 -2
- package/lib/time-picker/index.d.ts +7 -7
- package/lib/timeline/index.d.ts +4 -4
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/upload/index.d.ts +7 -7
- package/lib/upload/upload-list.d.ts +1 -1
- package/lib/upload/upload-trigger.d.ts +1 -1
- package/lib/upload/upload.d.ts +2 -2
- package/package.json +1 -1
package/lib/directives/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
/*! For license information please see index.js.LICENSE.txt */
|
2
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("@popperjs/core"),require("../plugin-popover"));else if("function"==typeof define&&define.amd)define(["../shared","@popperjs/core","../plugin-popover"],t);else{var n="object"==typeof exports?t(require("../shared"),require("@popperjs/core"),require("../plugin-popover")):t(e["../shared"],e["@popperjs/core"],e["../plugin-popover"]);for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(self,((e,t,n)=>(()=>{var o={2439:(e,t,n)=>{e.exports=n(2527)},7430:e=>{"use strict";var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},6377:e=>{var t,n,o,r,i,a,u,c,l,s,d,f,p,m,v,h=!1;function y(){if(!h){h=!0;var e=navigator.userAgent,y=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),b=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(f=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),s=/Android/i.exec(e),m=/FBAN\/\w+;/i.exec(e),v=/Mobile/i.exec(e),d=!!/Win64/.exec(e),y){(t=y[1]?parseFloat(y[1]):y[5]?parseFloat(y[5]):NaN)&&document&&document.documentMode&&(t=document.documentMode);var g=/(?:Trident\/(\d+.\d+))/.exec(e);a=g?parseFloat(g[1])+4:t,n=y[2]?parseFloat(y[2]):NaN,o=y[3]?parseFloat(y[3]):NaN,(r=y[4]?parseFloat(y[4]):NaN)?(y=/(?:Chrome\/(\d+\.\d+))/.exec(e),i=y&&y[1]?parseFloat(y[1]):NaN):i=NaN}else t=n=o=i=r=NaN;if(b){if(b[1]){var w=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);u=!w||parseFloat(w[1].replace("_","."))}else u=!1;c=!!b[2],l=!!b[3]}else u=c=l=!1}}var b={ie:function(){return y()||t},ieCompatibilityMode:function(){return y()||a>t},ie64:function(){return b.ie()&&d},firefox:function(){return y()||n},opera:function(){return y()||o},webkit:function(){return y()||r},safari:function(){return b.webkit()},chrome:function(){return y()||i},windows:function(){return y()||c},osx:function(){return y()||u},linux:function(){return y()||l},iphone:function(){return y()||f},mobile:function(){return y()||f||p||s||v},nativeApp:function(){return y()||m},android:function(){return y()||s},ipad:function(){return y()||p}};e.exports=b},3541:(e,t,n)=>{"use strict";var o,r=n(7430);r.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,t){if(!r.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var a=document.createElement("div");a.setAttribute(n,"return;"),i="function"==typeof a[n]}return!i&&o&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},2527:(e,t,n)=>{"use strict";var o=n(6377),r=n(3541);function i(e){var t=0,n=0,o=0,r=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),o=10*t,r=10*n,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(o=e.deltaX),(o||r)&&e.deltaMode&&(1==e.deltaMode?(o*=40,r*=40):(o*=800,r*=800)),o&&!t&&(t=o<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:o,pixelY:r}}i.getEventType=function(){return o.firefox()?"DOMMouseScroll":r("wheel")?"wheel":"mousewheel"},e.exports=i},9706:e=>{"use strict";e.exports=n},4212:t=>{"use strict";t.exports=e},5798:e=>{"use strict";e.exports=t}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={exports:{}};return o[e](n,n.exports,i),n.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";i.r(a),i.d(a,{bkEllipsis:()=>L,bkEllipsisInstance:()=>O,bkTooltips:()=>M,clickoutside:()=>p,mousewheel:()=>r,overflowTitle:()=>e});const e={mounted:function(e,t){var n=t.value,o=void 0===n?{}:n,r=e.parentElement.clientWidth;if(r){var i=o.content,a=o.calType,u=void 0===a?"dom":a,c=i||e.innerText,l=0;if("dom"===u)l=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.body,o=t||{},r=o.fontSize,i=o.fontFamily,a=document.createElement("div");a.style.cssText="position: absolute;left: -999em;top:-999em;z-index: -1;text-overflow: initial;\n ".concat(r?"font-size:".concat(r," ;"):"","\n ").concat(i?"font-family:".concat(i," "):"","\n "),a.innerText=e,n.append(a);var u=a.clientWidth;return n.removeChild(a),u}(e.textContent,null,e.parentElement);else{var s=getComputedStyle(e);l=function(e,t){var n=t.fontSize,o=void 0===n?14:n,r=t.fontFamily,i=void 0===r?"Microsoft YaHei":r,a=document.createElement("canvas").getContext("2d");a.font="".concat(o,"px ").concat(i);var u=a.measureText(e),c=Math.abs(u.actualBoundingBoxLeft)+Math.abs(u.actualBoundingBoxRight);return Math.max(u.width,c)}(c,{fontSize:s.fontSize,fontFamily:s.fontFamily})}l>r&&e.setAttribute("title",c)}}};var t=i(2439),n=i.n(t),o="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1;const r={beforeMount:function(e,t){var r,i;console.error(e,t),r=e,i=t.value,(null==r?void 0:r.addEventListener)&&r.addEventListener(o?"DOMMouseScroll":"mousewheel",(function(e){var t=n()(e);null==i||i.apply(this,[e,t])}))}};function u(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(e,t);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)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function c(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}var l,s=new Map;function d(e,t){var n,o=[];return Array.isArray(t.arg)?o=t.arg:(n=t.arg,"undefined"!=typeof Element&&n instanceof Element&&o.push(t.arg)),function(n,r){var i=t.instance.popperRef,a=n.target,u=null==r?void 0:r.target,c=!t||!t.instance,l=!a||!u,s=e.contains(a)||e.contains(u),d=e===a,f=o.length&&o.some((function(e){return null==e?void 0:e.contains(a)}))||o.length&&o.includes(u),p=i&&(i.contains(a)||i.contains(u));c||l||s||d||f||p||t.value(n,r)}}document.addEventListener("mousedown",(function(e){return l=e})),document.addEventListener("mouseup",(function(e){var t,n=u(s.values());try{for(n.s();!(t=n.n()).done;){var o,r=u(t.value);try{for(r.s();!(o=r.n()).done;)(0,o.value.documentHandler)(e,l)}catch(e){r.e(e)}finally{r.f()}}}catch(e){n.e(e)}finally{n.f()}}));var f={beforeMount:function(e,t){s.has(e)||s.set(e,[]),s.get(e).push({documentHandler:d(e,t),bindingFn:t.value})},updated:function(e,t){s.has(e)||s.set(e,[]);var n=s.get(e),o=n.findIndex((function(e){return e.bindingFn===t.oldValue})),r={documentHandler:d(e,t),bindingFn:t.value};o>=0?n.splice(o,1,r):n.push(r)},unmounted:function(e){s.delete(e)},install:function(e){e.directive("bkTooltips",f)}};const p=f;function m(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 v(e){return v="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},v(e)}var h=i(4212),y=i(5798),b=new Map;function g(e){var t={arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,extCls:"",delay:0,onShow:function(){},onHide:function(){}};return"object"===v(e.value)?Object.assign(t,e.value):t.content=e.value,t}function w(){var e=document.createElement("div");return e.className=(0,h.resolveClassName)("popper-arrow"),e.setAttribute("data-popper-arrow",""),e}function x(e){var t=b.get(e),n=t.popper,o=t.opts,r=o.disabled,i=o.content,a=o.arrow,u=o.onShow;if(!r){if(n.innerText=i,a){var c=w();n.appendChild(c)}document.body.appendChild(n);var l=function(e,t){var n=b.get(e).opts,o=n.placement,r=n.distance,i=n.showOnInit,a=(0,y.createPopper)(e,t,{placement:o,modifiers:[{name:"offset",options:{offset:[0,r]}}]});return i&&x(e),a}(e,n);u(),n.setAttribute("data-show",""),l.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat((t=e.modifiers,function(e){if(Array.isArray(e))return m(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return m(e,t);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)?m(e,t):void 0}}(t)||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.")}()),[{name:"eventListeners",enabled:!0}])});var t})),l.forceUpdate(),b.get(e).popperInstance=l}}function E(e){if(b.get(e)){var t=b.get(e),n=t.popper,o=t.popperInstance,r=t.opts.onHide;n&&document.body.contains(n)&&(n.removeAttribute("data-show"),null==o||o.destroy(),document.body.removeChild(n),r())}}const M={beforeMount:function(e,t){var n=g(t),o=n.trigger,r=function(e){var t=e.content,n=e.arrow,o=e.theme,r=e.extCls,i="light"===o,a=h.bkZIndexManager.getPopperIndex(),u=document.createElement("div");if(u.className="".concat((0,h.resolveClassName)("popper")," ").concat(i?"light":"dark"," ").concat(r),u.innerText=t,u.style.zIndex=String(a),n){var c=w();u.appendChild(c)}return u}(n),i=null;if("hover"===o){var a=null;e.addEventListener("mouseenter",(function(){i=setTimeout((function(){x(e),clearTimeout(a),clearTimeout(i)}),n.delay)})),r.addEventListener("mouseenter",(function(){clearTimeout(a)})),e.addEventListener("mouseleave",(function(){clearTimeout(i),a=setTimeout((function(){E(e)}),100)})),e.addEventListener("click",(function(){E(e)})),r.addEventListener("mouseleave",(function(){clearTimeout(i),a=setTimeout((function(){E(e)}),100)}))}else"click"===o&&document.body.addEventListener("click",(function(t){e.contains(t.target)&&!r.hasAttribute("data-show")?i=setTimeout((function(){x(e),clearTimeout(i)}),n.delay):r.hasAttribute("data-show")&&E(e)}));b.set(e,{opts:n,popper:r,popperInstance:null})},updated:function(e,t){b.get(e).opts=g(t)},unmounted:function(e){E(e),b.delete(e)}};var T=i(9706),S=i.n(T),A=function(e,t){var n={content:"",target:e};return"object"===v(t.value)?Object.assign(n,t.value):n.content=t.value,n},O=function(e,t){var n=null,o=null,r=null;if(!A(e,t).disabled&&!n){var i=function(){r&&clearTimeout(r),r=null},a=function(){o&&clearTimeout(o),null==n||n.hide(),null==n||n.close(),n=null},u=function(){o&&clearTimeout(o),o=setTimeout((function(){var o=A(e,t);o.content=o.content||e.innerHTML,Object.assign(o,{onContentMouseenter:i,onContentMouseleave:a}),n=S()(o),setTimeout((function(){n.show()}))}),100)},c=function(){r=setTimeout((function(){o&&clearTimeout(o),null==n||n.hide(),null==n||n.close(),n=null}),120)};return e.addEventListener("mouseenter",u),e.addEventListener("mouseleave",c),Object.assign(t,{__cached:{handleMouseEnter:u,handleMouseLeave:c}}),{destroyInstance:function(t){var n,o;c(),null===(n=null!=t?t:e)||void 0===n||n.removeEventListener("mouseenter",u),null===(o=null!=t?t:e)||void 0===o||o.removeEventListener("mouseleave",c)},instance:n}}};const L={mounted:function(e,t){O(e,t)},beforeUnmount:function(e,t){if(t.__cached){var n=t.__cached,o=n.handleMouseEnter,r=n.handleMouseLeave;e.removeEventListener("mouseenter",o),e.removeEventListener("mouseleave",r),t.__cached=null}}}})(),a})()));
|
2
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../overflow-title"),require("../shared"),require("@popperjs/core"),require("../plugin-popover"));else if("function"==typeof define&&define.amd)define(["../overflow-title","../shared","@popperjs/core","../plugin-popover"],t);else{var n="object"==typeof exports?t(require("../overflow-title"),require("../shared"),require("@popperjs/core"),require("../plugin-popover")):t(e["../overflow-title"],e["../shared"],e["@popperjs/core"],e["../plugin-popover"]);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(self,((e,t,n,r)=>(()=>{var o={2439:(e,t,n)=>{e.exports=n(2527)},7430:e=>{"use strict";var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},6377:e=>{var t,n,r,o,i,a,u,c,l,s,d,f,p,v,m,h=!1;function y(){if(!h){h=!0;var e=navigator.userAgent,y=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),b=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(f=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),s=/Android/i.exec(e),v=/FBAN\/\w+;/i.exec(e),m=/Mobile/i.exec(e),d=!!/Win64/.exec(e),y){(t=y[1]?parseFloat(y[1]):y[5]?parseFloat(y[5]):NaN)&&document&&document.documentMode&&(t=document.documentMode);var w=/(?:Trident\/(\d+.\d+))/.exec(e);a=w?parseFloat(w[1])+4:t,n=y[2]?parseFloat(y[2]):NaN,r=y[3]?parseFloat(y[3]):NaN,(o=y[4]?parseFloat(y[4]):NaN)?(y=/(?:Chrome\/(\d+\.\d+))/.exec(e),i=y&&y[1]?parseFloat(y[1]):NaN):i=NaN}else t=n=r=i=o=NaN;if(b){if(b[1]){var g=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);u=!g||parseFloat(g[1].replace("_","."))}else u=!1;c=!!b[2],l=!!b[3]}else u=c=l=!1}}var b={ie:function(){return y()||t},ieCompatibilityMode:function(){return y()||a>t},ie64:function(){return b.ie()&&d},firefox:function(){return y()||n},opera:function(){return y()||r},webkit:function(){return y()||o},safari:function(){return b.webkit()},chrome:function(){return y()||i},windows:function(){return y()||c},osx:function(){return y()||u},linux:function(){return y()||l},iphone:function(){return y()||f},mobile:function(){return y()||f||p||s||m},nativeApp:function(){return y()||v},android:function(){return y()||s},ipad:function(){return y()||p}};e.exports=b},3541:(e,t,n)=>{"use strict";var r,o=n(7430);o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var a=document.createElement("div");a.setAttribute(n,"return;"),i="function"==typeof a[n]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},2527:(e,t,n)=>{"use strict";var r=n(6377),o=n(3541);function i(e){var t=0,n=0,r=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=10*t,o=10*n,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||o)&&e.deltaMode&&(1==e.deltaMode?(r*=40,o*=40):(r*=800,o*=800)),r&&!t&&(t=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:o}}i.getEventType=function(){return r.firefox()?"DOMMouseScroll":o("wheel")?"wheel":"mousewheel"},e.exports=i},1040:t=>{"use strict";t.exports=e},9706:e=>{"use strict";e.exports=r},4212:e=>{"use strict";e.exports=t},5798:e=>{"use strict";e.exports=n}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return o[e](n,n.exports,a),n.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return(()=>{"use strict";a.r(u),a.d(u,{bkEllipsis:()=>j,bkEllipsisInstance:()=>S,bkTooltips:()=>M,clickoutside:()=>p,mousewheel:()=>o,overflowTitle:()=>e.overflowTitle});var e=a(1040),t=a(2439),n=a.n(t),r="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1;const o={beforeMount:function(e,t){var o,i;console.error(e,t),o=e,i=t.value,(null==o?void 0:o.addEventListener)&&o.addEventListener(r?"DOMMouseScroll":"mousewheel",(function(e){var t=n()(e);null==i||i.apply(this,[e,t])}))}};function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(e,t);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)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l,s=new Map;function d(e,t){var n,r=[];return Array.isArray(t.arg)?r=t.arg:(n=t.arg,"undefined"!=typeof Element&&n instanceof Element&&r.push(t.arg)),function(n,o){var i=t.instance.popperRef,a=n.target,u=null==o?void 0:o.target,c=!t||!t.instance,l=!a||!u,s=e.contains(a)||e.contains(u),d=e===a,f=r.length&&r.some((function(e){return null==e?void 0:e.contains(a)}))||r.length&&r.includes(u),p=i&&(i.contains(a)||i.contains(u));c||l||s||d||f||p||t.value(n,o)}}document.addEventListener("mousedown",(function(e){return l=e})),document.addEventListener("mouseup",(function(e){var t,n=i(s.values());try{for(n.s();!(t=n.n()).done;){var r,o=i(t.value);try{for(o.s();!(r=o.n()).done;)(0,r.value.documentHandler)(e,l)}catch(e){o.e(e)}finally{o.f()}}}catch(e){n.e(e)}finally{n.f()}}));var f={beforeMount:function(e,t){s.has(e)||s.set(e,[]),s.get(e).push({documentHandler:d(e,t),bindingFn:t.value})},updated:function(e,t){s.has(e)||s.set(e,[]);var n=s.get(e),r=n.findIndex((function(e){return e.bindingFn===t.oldValue})),o={documentHandler:d(e,t),bindingFn:t.value};r>=0?n.splice(r,1,o):n.push(o)},unmounted:function(e){s.delete(e)},install:function(e){e.directive("bkTooltips",f)}};const p=f;function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e){return m="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},m(e)}var h=a(4212),y=a(5798),b=new Map;function w(e){var t={arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,extCls:"",delay:0,onShow:function(){},onHide:function(){}};return"object"===m(e.value)?Object.assign(t,e.value):t.content=e.value,t}function g(){var e=document.createElement("div");return e.className=(0,h.resolveClassName)("popper-arrow"),e.setAttribute("data-popper-arrow",""),e}function x(e){var t=b.get(e),n=t.popper,r=t.opts,o=r.disabled,i=r.content,a=r.arrow,u=r.onShow;if(!o){if(n.innerText=i,a){var c=g();n.appendChild(c)}document.body.appendChild(n);var l=function(e,t){var n=b.get(e).opts,r=n.placement,o=n.distance,i=n.showOnInit,a=(0,y.createPopper)(e,t,{placement:r,modifiers:[{name:"offset",options:{offset:[0,o]}}]});return i&&x(e),a}(e,n);u(),n.setAttribute("data-show",""),l.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat((t=e.modifiers,function(e){if(Array.isArray(e))return v(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return v(e,t);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)?v(e,t):void 0}}(t)||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.")}()),[{name:"eventListeners",enabled:!0}])});var t})),l.forceUpdate(),b.get(e).popperInstance=l}}function E(e){if(b.get(e)){var t=b.get(e),n=t.popper,r=t.popperInstance,o=t.opts.onHide;n&&document.body.contains(n)&&(n.removeAttribute("data-show"),null==r||r.destroy(),document.body.removeChild(n),o())}}const M={beforeMount:function(e,t){var n=w(t),r=n.trigger,o=function(e){var t=e.content,n=e.arrow,r=e.theme,o=e.extCls,i="light"===r,a=h.bkZIndexManager.getPopperIndex(),u=document.createElement("div");if(u.className="".concat((0,h.resolveClassName)("popper")," ").concat(i?"light":"dark"," ").concat(o),u.innerText=t,u.style.zIndex=String(a),n){var c=g();u.appendChild(c)}return u}(n),i=null;if("hover"===r){var a=null;e.addEventListener("mouseenter",(function(){i=setTimeout((function(){x(e),clearTimeout(a),clearTimeout(i)}),n.delay)})),o.addEventListener("mouseenter",(function(){clearTimeout(a)})),e.addEventListener("mouseleave",(function(){clearTimeout(i),a=setTimeout((function(){E(e)}),100)})),e.addEventListener("click",(function(){E(e)})),o.addEventListener("mouseleave",(function(){clearTimeout(i),a=setTimeout((function(){E(e)}),100)}))}else"click"===r&&document.body.addEventListener("click",(function(t){e.contains(t.target)&&!o.hasAttribute("data-show")?i=setTimeout((function(){x(e),clearTimeout(i)}),n.delay):o.hasAttribute("data-show")&&E(e)}));b.set(e,{opts:n,popper:o,popperInstance:null})},updated:function(e,t){b.get(e).opts=w(t)},unmounted:function(e){E(e),b.delete(e)}};var T=a(9706),A=a.n(T),O=function(e,t){var n={content:"",target:e};return"object"===m(t.value)?Object.assign(n,t.value):n.content=t.value,n},S=function(e,t){var n=null,r=null,o=null;if(!O(e,t).disabled&&!n){var i=function(){o&&clearTimeout(o),o=null},a=function(){r&&clearTimeout(r),null==n||n.hide(),null==n||n.close(),n=null},u=function(){r&&clearTimeout(r),r=setTimeout((function(){var r=O(e,t);r.content=r.content||e.innerHTML,Object.assign(r,{onContentMouseenter:i,onContentMouseleave:a}),n=A()(r),setTimeout((function(){n.show()}))}),100)},c=function(){o=setTimeout((function(){r&&clearTimeout(r),null==n||n.hide(),null==n||n.close(),n=null}),120)};return e.addEventListener("mouseenter",u),e.addEventListener("mouseleave",c),Object.assign(t,{__cached:{handleMouseEnter:u,handleMouseLeave:c}}),{destroyInstance:function(t){var n,r;c(),null===(n=null!=t?t:e)||void 0===n||n.removeEventListener("mouseenter",u),null===(r=null!=t?t:e)||void 0===r||r.removeEventListener("mouseleave",c)},instance:n}}};const j={mounted:function(e,t){S(e,t)},beforeUnmount:function(e,t){if(t.__cached){var n=t.__cached,r=n.handleMouseEnter,o=n.handleMouseLeave;e.removeEventListener("mouseenter",r),e.removeEventListener("mouseleave",o),t.__cached=null}}}})(),u})()));
|
package/lib/divider/divider.d.ts
CHANGED
package/lib/divider/index.d.ts
CHANGED
@@ -6,8 +6,8 @@ declare const BkDivider: {
|
|
6
6
|
align: "right" | "left" | "center";
|
7
7
|
direction: "horizontal" | "vertical";
|
8
8
|
type: "dashed" | "solid";
|
9
|
-
color: string;
|
10
9
|
width: number;
|
10
|
+
color: string;
|
11
11
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
12
12
|
direction: import("vue-types").VueTypeDef<"horizontal" | "vertical"> & {
|
13
13
|
default: "horizontal" | "vertical";
|
@@ -28,7 +28,7 @@ declare const BkDivider: {
|
|
28
28
|
type: import("vue-types").VueTypeDef<"dashed" | "solid"> & {
|
29
29
|
default: "dashed" | "solid";
|
30
30
|
};
|
31
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "align" | "direction" | "type" | "
|
31
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "align" | "direction" | "type" | "width" | "color">;
|
32
32
|
$attrs: {
|
33
33
|
[x: string]: unknown;
|
34
34
|
};
|
@@ -66,8 +66,8 @@ declare const BkDivider: {
|
|
66
66
|
align: "right" | "left" | "center";
|
67
67
|
direction: "horizontal" | "vertical";
|
68
68
|
type: "dashed" | "solid";
|
69
|
-
color: string;
|
70
69
|
width: number;
|
70
|
+
color: string;
|
71
71
|
}> & {
|
72
72
|
beforeCreate?: (() => void) | (() => void)[];
|
73
73
|
created?: (() => void) | (() => void)[];
|
@@ -136,7 +136,7 @@ declare const BkDivider: {
|
|
136
136
|
align: "right" | "left" | "center";
|
137
137
|
direction: "horizontal" | "vertical";
|
138
138
|
type: "dashed" | "solid";
|
139
|
-
color: string;
|
140
139
|
width: number;
|
140
|
+
color: string;
|
141
141
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
142
142
|
export default BkDivider;
|
@@ -83,9 +83,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
83
83
|
}, {
|
84
84
|
placement: "auto" | "auto-start" | "auto-end" | "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
85
85
|
trigger: "hover" | "click" | "manual";
|
86
|
+
isShow: boolean;
|
86
87
|
disabled: boolean;
|
87
88
|
extCls: string;
|
88
|
-
isShow: boolean;
|
89
89
|
popoverOptions: {
|
90
90
|
[key: string]: any;
|
91
91
|
};
|
package/lib/dropdown/index.d.ts
CHANGED
@@ -7,9 +7,9 @@ declare const BkDropdown: {
|
|
7
7
|
$props: Partial<{
|
8
8
|
placement: "auto" | "auto-start" | "auto-end" | "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
9
9
|
trigger: "hover" | "click" | "manual";
|
10
|
+
isShow: boolean;
|
10
11
|
disabled: boolean;
|
11
12
|
extCls: string;
|
12
|
-
isShow: boolean;
|
13
13
|
popoverOptions: {
|
14
14
|
[key: string]: any;
|
15
15
|
};
|
@@ -48,7 +48,7 @@ declare const BkDropdown: {
|
|
48
48
|
onShow?: (...args: any[]) => any;
|
49
49
|
onHide?: (...args: any[]) => any;
|
50
50
|
onShowChange?: (...args: any[]) => any;
|
51
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "trigger" | "
|
51
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "trigger" | "isShow" | "disabled" | "extCls" | "popoverOptions">;
|
52
52
|
$attrs: {
|
53
53
|
[x: string]: unknown;
|
54
54
|
};
|
@@ -104,9 +104,9 @@ declare const BkDropdown: {
|
|
104
104
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show" | "showChange")[], string, {
|
105
105
|
placement: "auto" | "auto-start" | "auto-end" | "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
106
106
|
trigger: "hover" | "click" | "manual";
|
107
|
+
isShow: boolean;
|
107
108
|
disabled: boolean;
|
108
109
|
extCls: string;
|
109
|
-
isShow: boolean;
|
110
110
|
popoverOptions: {
|
111
111
|
[key: string]: any;
|
112
112
|
};
|
@@ -215,9 +215,9 @@ declare const BkDropdown: {
|
|
215
215
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show" | "showChange")[], "show" | "hide" | "showChange", {
|
216
216
|
placement: "auto" | "auto-start" | "auto-end" | "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
217
217
|
trigger: "hover" | "click" | "manual";
|
218
|
+
isShow: boolean;
|
218
219
|
disabled: boolean;
|
219
220
|
extCls: string;
|
220
|
-
isShow: boolean;
|
221
221
|
popoverOptions: {
|
222
222
|
[key: string]: any;
|
223
223
|
};
|
@@ -40,8 +40,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
40
40
|
onClick?: (...args: any[]) => any;
|
41
41
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
42
42
|
}, {
|
43
|
-
extCls: string;
|
44
43
|
position: string;
|
44
|
+
extCls: string;
|
45
45
|
modelValue: boolean;
|
46
46
|
navItems: unknown[];
|
47
47
|
}>;
|
@@ -3,8 +3,8 @@ declare const BkFixedNavbar: {
|
|
3
3
|
$: import("vue").ComponentInternalInstance;
|
4
4
|
$data: {};
|
5
5
|
$props: Partial<{
|
6
|
-
extCls: string;
|
7
6
|
position: string;
|
7
|
+
extCls: string;
|
8
8
|
modelValue: boolean;
|
9
9
|
navItems: unknown[];
|
10
10
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
@@ -29,7 +29,7 @@ declare const BkFixedNavbar: {
|
|
29
29
|
}>> & {
|
30
30
|
onClick?: (...args: any[]) => any;
|
31
31
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
32
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
32
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "position" | "extCls" | "modelValue" | "navItems">;
|
33
33
|
$attrs: {
|
34
34
|
[x: string]: unknown;
|
35
35
|
};
|
@@ -66,8 +66,8 @@ declare const BkFixedNavbar: {
|
|
66
66
|
onClick?: (...args: any[]) => any;
|
67
67
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
68
68
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:modelValue")[], string, {
|
69
|
-
extCls: string;
|
70
69
|
position: string;
|
70
|
+
extCls: string;
|
71
71
|
modelValue: boolean;
|
72
72
|
navItems: unknown[];
|
73
73
|
}> & {
|
@@ -139,8 +139,8 @@ declare const BkFixedNavbar: {
|
|
139
139
|
onClick?: (...args: any[]) => any;
|
140
140
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
141
141
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:modelValue")[], "click" | "update:modelValue", {
|
142
|
-
extCls: string;
|
143
142
|
position: string;
|
143
|
+
extCls: string;
|
144
144
|
modelValue: boolean;
|
145
145
|
navItems: unknown[];
|
146
146
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
package/lib/form/form-item.d.ts
CHANGED
package/lib/form/index.d.ts
CHANGED
package/lib/input/index.d.ts
CHANGED
@@ -6,9 +6,9 @@ declare const BkInput: {
|
|
6
6
|
behavior: "simplicity" | "normal";
|
7
7
|
type: string;
|
8
8
|
disabled: boolean;
|
9
|
+
step: number;
|
9
10
|
placeholder: string;
|
10
11
|
prefix: string;
|
11
|
-
step: number;
|
12
12
|
max: number;
|
13
13
|
min: number;
|
14
14
|
maxlength: number;
|
@@ -121,7 +121,7 @@ declare const BkInput: {
|
|
121
121
|
onEnter?: (_value: any, _evt?: Event | KeyboardEvent) => any;
|
122
122
|
"onUpdate:modelValue"?: (_value: any, _evt?: Event | KeyboardEvent) => any;
|
123
123
|
onClear?: () => any;
|
124
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "behavior" | "type" | "disabled" | "
|
124
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "behavior" | "type" | "disabled" | "step" | "placeholder" | "prefix" | "max" | "min" | "maxlength" | "clearable" | "readonly" | "prefixIcon" | "suffixIcon" | "suffix" | "showWordLimit" | "showControl" | "showClearOnlyHover" | "precision" | "rows" | "selectReadonly" | "withValidate">;
|
125
125
|
$attrs: {
|
126
126
|
[x: string]: unknown;
|
127
127
|
};
|
@@ -251,9 +251,9 @@ declare const BkInput: {
|
|
251
251
|
behavior: "simplicity" | "normal";
|
252
252
|
type: string;
|
253
253
|
disabled: boolean;
|
254
|
+
step: number;
|
254
255
|
placeholder: string;
|
255
256
|
prefix: string;
|
256
|
-
step: number;
|
257
257
|
max: number;
|
258
258
|
min: number;
|
259
259
|
maxlength: number;
|
@@ -506,9 +506,9 @@ declare const BkInput: {
|
|
506
506
|
behavior: "simplicity" | "normal";
|
507
507
|
type: string;
|
508
508
|
disabled: boolean;
|
509
|
+
step: number;
|
509
510
|
placeholder: string;
|
510
511
|
prefix: string;
|
511
|
-
step: number;
|
512
512
|
max: number;
|
513
513
|
min: number;
|
514
514
|
maxlength: number;
|
package/lib/input/input.d.ts
CHANGED
@@ -315,9 +315,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
315
315
|
behavior: "simplicity" | "normal";
|
316
316
|
type: string;
|
317
317
|
disabled: boolean;
|
318
|
+
step: number;
|
318
319
|
placeholder: string;
|
319
320
|
prefix: string;
|
320
|
-
step: number;
|
321
321
|
max: number;
|
322
322
|
min: number;
|
323
323
|
maxlength: number;
|
package/lib/link/index.d.ts
CHANGED
@@ -4,9 +4,9 @@ declare const BkLink: {
|
|
4
4
|
$data: {};
|
5
5
|
$props: Partial<{
|
6
6
|
target: string;
|
7
|
-
underline: boolean;
|
8
7
|
disabled: boolean;
|
9
8
|
theme: "success" | "warning" | "danger" | "default" | "primary";
|
9
|
+
underline: boolean;
|
10
10
|
href: string;
|
11
11
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
12
12
|
theme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "default" | "primary"> & {
|
@@ -34,7 +34,7 @@ declare const BkLink: {
|
|
34
34
|
};
|
35
35
|
}>> & {
|
36
36
|
onClick?: (...args: any[]) => any;
|
37
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "target" | "
|
37
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "target" | "disabled" | "theme" | "underline" | "href">;
|
38
38
|
$attrs: {
|
39
39
|
[x: string]: unknown;
|
40
40
|
};
|
@@ -78,9 +78,9 @@ declare const BkLink: {
|
|
78
78
|
handleClick: (event: Event) => boolean;
|
79
79
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], string, {
|
80
80
|
target: string;
|
81
|
-
underline: boolean;
|
82
81
|
disabled: boolean;
|
83
82
|
theme: "success" | "warning" | "danger" | "default" | "primary";
|
83
|
+
underline: boolean;
|
84
84
|
href: string;
|
85
85
|
}> & {
|
86
86
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -164,9 +164,9 @@ declare const BkLink: {
|
|
164
164
|
handleClick: (event: Event) => boolean;
|
165
165
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", {
|
166
166
|
target: string;
|
167
|
-
underline: boolean;
|
168
167
|
disabled: boolean;
|
169
168
|
theme: "success" | "warning" | "danger" | "default" | "primary";
|
169
|
+
underline: boolean;
|
170
170
|
href: string;
|
171
171
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
172
172
|
export default BkLink;
|
package/lib/link/link.d.ts
CHANGED
@@ -52,9 +52,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
52
52
|
onClick?: (...args: any[]) => any;
|
53
53
|
}, {
|
54
54
|
target: string;
|
55
|
-
underline: boolean;
|
56
55
|
disabled: boolean;
|
57
56
|
theme: "success" | "warning" | "danger" | "default" | "primary";
|
57
|
+
underline: boolean;
|
58
58
|
href: string;
|
59
59
|
}>;
|
60
60
|
export default _default;
|
package/lib/loading/index.d.ts
CHANGED
@@ -6,10 +6,10 @@ declare const BkLoading: {
|
|
6
6
|
$props: Partial<{
|
7
7
|
title: string;
|
8
8
|
zIndex: number;
|
9
|
+
mode: "default" | "spin";
|
9
10
|
color: string;
|
10
11
|
size: "" | "small" | "large" | "mini";
|
11
12
|
inline: boolean;
|
12
|
-
mode: "default" | "spin";
|
13
13
|
opacity: number;
|
14
14
|
loading: boolean;
|
15
15
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
@@ -57,7 +57,7 @@ declare const BkLoading: {
|
|
57
57
|
} & {
|
58
58
|
default: number;
|
59
59
|
};
|
60
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "zIndex" | "
|
60
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "zIndex" | "mode" | "color" | "size" | "inline" | "opacity" | "loading">;
|
61
61
|
$attrs: {
|
62
62
|
[x: string]: unknown;
|
63
63
|
};
|
@@ -119,10 +119,10 @@ declare const BkLoading: {
|
|
119
119
|
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
120
120
|
title: string;
|
121
121
|
zIndex: number;
|
122
|
+
mode: "default" | "spin";
|
122
123
|
color: string;
|
123
124
|
size: "" | "small" | "large" | "mini";
|
124
125
|
inline: boolean;
|
125
|
-
mode: "default" | "spin";
|
126
126
|
opacity: number;
|
127
127
|
loading: boolean;
|
128
128
|
}> & {
|
@@ -242,10 +242,10 @@ declare const BkLoading: {
|
|
242
242
|
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
243
243
|
title: string;
|
244
244
|
zIndex: number;
|
245
|
+
mode: "default" | "spin";
|
245
246
|
color: string;
|
246
247
|
size: "" | "small" | "large" | "mini";
|
247
248
|
inline: boolean;
|
248
|
-
mode: "default" | "spin";
|
249
249
|
opacity: number;
|
250
250
|
loading: boolean;
|
251
251
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
|
package/lib/loading/loading.d.ts
CHANGED
@@ -150,10 +150,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
150
150
|
}>>, {
|
151
151
|
title: string;
|
152
152
|
zIndex: number;
|
153
|
+
mode: "default" | "spin";
|
153
154
|
color: string;
|
154
155
|
size: "" | "small" | "large" | "mini";
|
155
156
|
inline: boolean;
|
156
|
-
mode: "default" | "spin";
|
157
157
|
opacity: number;
|
158
158
|
loading: boolean;
|
159
159
|
}>;
|
package/lib/menu/index.d.ts
CHANGED
@@ -6,8 +6,8 @@ declare const BkMenu: {
|
|
6
6
|
$: import("vue").ComponentInternalInstance;
|
7
7
|
$data: {};
|
8
8
|
$props: Partial<{
|
9
|
-
collapse: boolean;
|
10
9
|
mode: "vertical";
|
10
|
+
collapse: boolean;
|
11
11
|
uniqueOpen: boolean;
|
12
12
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
13
13
|
activeKey: StringConstructor;
|
@@ -28,7 +28,7 @@ declare const BkMenu: {
|
|
28
28
|
"onUpdate:activeKey"?: (...args: any[]) => any;
|
29
29
|
"onUpdate:openKeys"?: (...args: any[]) => any;
|
30
30
|
onOpenChange?: (...args: any[]) => any;
|
31
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
31
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "mode" | "collapse" | "uniqueOpen">;
|
32
32
|
$attrs: {
|
33
33
|
[x: string]: unknown;
|
34
34
|
};
|
@@ -62,8 +62,8 @@ declare const BkMenu: {
|
|
62
62
|
"onUpdate:openKeys"?: (...args: any[]) => any;
|
63
63
|
onOpenChange?: (...args: any[]) => any;
|
64
64
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:activeKey" | "update:openKeys" | "openChange")[], string, {
|
65
|
-
collapse: boolean;
|
66
65
|
mode: "vertical";
|
66
|
+
collapse: boolean;
|
67
67
|
uniqueOpen: boolean;
|
68
68
|
}> & {
|
69
69
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -128,8 +128,8 @@ declare const BkMenu: {
|
|
128
128
|
"onUpdate:openKeys"?: (...args: any[]) => any;
|
129
129
|
onOpenChange?: (...args: any[]) => any;
|
130
130
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:activeKey" | "update:openKeys" | "openChange")[], "click" | "update:activeKey" | "update:openKeys" | "openChange", {
|
131
|
-
collapse: boolean;
|
132
131
|
mode: "vertical";
|
132
|
+
collapse: boolean;
|
133
133
|
uniqueOpen: boolean;
|
134
134
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
|
135
135
|
Item: import("vue").DefineComponent<{
|
package/lib/menu/menu.d.ts
CHANGED
@@ -48,8 +48,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
48
48
|
"onUpdate:openKeys"?: (...args: any[]) => any;
|
49
49
|
onOpenChange?: (...args: any[]) => any;
|
50
50
|
}, {
|
51
|
-
collapse: boolean;
|
52
51
|
mode: "vertical";
|
52
|
+
collapse: boolean;
|
53
53
|
uniqueOpen: boolean;
|
54
54
|
}>;
|
55
55
|
export default _default;
|
package/lib/modal/index.d.ts
CHANGED
@@ -12,11 +12,11 @@ declare const BkModal: {
|
|
12
12
|
zIndex: string | number;
|
13
13
|
showMask: boolean;
|
14
14
|
direction: string;
|
15
|
-
extCls: string | unknown[];
|
16
15
|
width: string | number;
|
17
16
|
height: string | number;
|
18
17
|
maxHeight: string;
|
19
18
|
isShow: boolean;
|
19
|
+
extCls: string | unknown[];
|
20
20
|
draggable: boolean;
|
21
21
|
transfer: boolean;
|
22
22
|
quickClose: boolean;
|
@@ -117,7 +117,7 @@ declare const BkModal: {
|
|
117
117
|
"onQuick-close"?: (...args: any[]) => any;
|
118
118
|
onQuickClose?: (...args: any[]) => any;
|
119
119
|
onShown?: (...args: any[]) => any;
|
120
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "multiInstance" | "zIndex" | "showMask" | "direction" | "
|
120
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "multiInstance" | "zIndex" | "showMask" | "direction" | "width" | "height" | "maxHeight" | "isShow" | "extCls" | "draggable" | "transfer" | "quickClose" | "scrollable" | "closeIcon" | "escClose" | "fullscreen" | "animateType">;
|
121
121
|
$attrs: {
|
122
122
|
[x: string]: unknown;
|
123
123
|
};
|
@@ -239,11 +239,11 @@ declare const BkModal: {
|
|
239
239
|
zIndex: string | number;
|
240
240
|
showMask: boolean;
|
241
241
|
direction: string;
|
242
|
-
extCls: string | unknown[];
|
243
242
|
width: string | number;
|
244
243
|
height: string | number;
|
245
244
|
maxHeight: string;
|
246
245
|
isShow: boolean;
|
246
|
+
extCls: string | unknown[];
|
247
247
|
draggable: boolean;
|
248
248
|
transfer: boolean;
|
249
249
|
quickClose: boolean;
|
@@ -486,11 +486,11 @@ declare const BkModal: {
|
|
486
486
|
zIndex: string | number;
|
487
487
|
showMask: boolean;
|
488
488
|
direction: string;
|
489
|
-
extCls: string | unknown[];
|
490
489
|
width: string | number;
|
491
490
|
height: string | number;
|
492
491
|
maxHeight: string;
|
493
492
|
isShow: boolean;
|
493
|
+
extCls: string | unknown[];
|
494
494
|
draggable: boolean;
|
495
495
|
transfer: boolean;
|
496
496
|
quickClose: boolean;
|
package/lib/modal/modal.d.ts
CHANGED
@@ -192,11 +192,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
192
192
|
zIndex: string | number;
|
193
193
|
showMask: boolean;
|
194
194
|
direction: string;
|
195
|
-
extCls: string | unknown[];
|
196
195
|
width: string | number;
|
197
196
|
height: string | number;
|
198
197
|
maxHeight: string;
|
199
198
|
isShow: boolean;
|
199
|
+
extCls: string | unknown[];
|
200
200
|
draggable: boolean;
|
201
201
|
transfer: boolean;
|
202
202
|
quickClose: boolean;
|
@@ -119,8 +119,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
119
119
|
title: string;
|
120
120
|
id: string;
|
121
121
|
theme: "error" | "success" | "warning" | "primary";
|
122
|
-
extCls: string;
|
123
122
|
position: string;
|
123
|
+
extCls: string;
|
124
124
|
onClose: (...args: any[]) => any;
|
125
125
|
message: any;
|
126
126
|
offsetX: number;
|
@@ -6,8 +6,8 @@ declare const BkPagination: {
|
|
6
6
|
small: boolean;
|
7
7
|
align: string;
|
8
8
|
type: string;
|
9
|
-
layout: string[];
|
10
9
|
disabled: boolean;
|
10
|
+
layout: string[];
|
11
11
|
location: string;
|
12
12
|
count: number;
|
13
13
|
modelValue: number;
|
@@ -86,7 +86,7 @@ declare const BkPagination: {
|
|
86
86
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
87
87
|
"onUpdate:limit"?: (...args: any[]) => any;
|
88
88
|
onLimitChange?: (...args: any[]) => any;
|
89
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "small" | "align" | "type" | "
|
89
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "small" | "align" | "type" | "disabled" | "layout" | "location" | "count" | "modelValue" | "beforeChange" | "prevText" | "nextText" | "limit" | "limitList" | "showLimit" | "showTotalCount">;
|
90
90
|
$attrs: {
|
91
91
|
[x: string]: unknown;
|
92
92
|
};
|
@@ -187,8 +187,8 @@ declare const BkPagination: {
|
|
187
187
|
small: boolean;
|
188
188
|
align: string;
|
189
189
|
type: string;
|
190
|
-
layout: string[];
|
191
190
|
disabled: boolean;
|
191
|
+
layout: string[];
|
192
192
|
location: string;
|
193
193
|
count: number;
|
194
194
|
modelValue: number;
|
@@ -393,8 +393,8 @@ declare const BkPagination: {
|
|
393
393
|
small: boolean;
|
394
394
|
align: string;
|
395
395
|
type: string;
|
396
|
-
layout: string[];
|
397
396
|
disabled: boolean;
|
397
|
+
layout: string[];
|
398
398
|
location: string;
|
399
399
|
count: number;
|
400
400
|
modelValue: number;
|