bkui-vue 0.0.1-beta.203 → 0.0.1-beta.205
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 +2 -2
- package/dist/index.esm.js +13 -24
- package/dist/index.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +1 -1
- package/lib/alert/alert.variable.css +1 -1
- package/lib/backtop/backtop.variable.css +1 -1
- package/lib/badge/badge.variable.css +1 -1
- package/lib/breadcrumb/breadcrumb.variable.css +1 -1
- package/lib/button/button.variable.css +1 -1
- package/lib/card/card.variable.css +1 -1
- package/lib/cascader/cascader.variable.css +1 -1
- package/lib/checkbox/checkbox.variable.css +1 -1
- package/lib/code-diff/code-diff.variable.css +1 -1
- package/lib/collapse/collapse-panel.d.ts +0 -3
- package/lib/collapse/collapse.variable.css +1 -1
- package/lib/collapse/index.d.ts +0 -3
- package/lib/collapse/index.js +1 -1
- package/lib/collapse/props.d.ts +0 -2
- package/lib/color-picker/color-picker.variable.css +1 -1
- package/lib/container/container.variable.css +1 -1
- package/lib/date-picker/date-picker.d.ts +0 -2
- package/lib/date-picker/date-picker.variable.css +1 -1
- package/lib/date-picker/index.d.ts +0 -4
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/panel/time.d.ts +0 -2
- package/lib/date-picker/props.d.ts +0 -1
- package/lib/date-picker/time-picker.d.ts +0 -2
- package/lib/dialog/dialog.css +1 -2
- package/lib/dialog/dialog.less +1 -2
- package/lib/dialog/dialog.variable.css +1 -2
- package/lib/divider/divider.variable.css +1 -1
- package/lib/dropdown/dropdown.variable.css +1 -1
- package/lib/exception/exception.variable.css +1 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +1 -1
- package/lib/form/form.css +1 -0
- package/lib/form/form.less +1 -0
- package/lib/form/form.variable.css +2 -1
- package/lib/input/input.variable.css +1 -1
- package/lib/link/link.variable.css +1 -1
- package/lib/loading/loading.variable.css +1 -1
- package/lib/menu/menu.variable.css +1 -1
- package/lib/menu/submenu.variable.css +1 -1
- package/lib/message/message.variable.css +1 -1
- package/lib/navigation/navigation.variable.css +1 -1
- package/lib/notify/notify.variable.css +1 -1
- package/lib/pagination/index.js +1 -1
- package/lib/pagination/pagination.variable.css +1 -1
- package/lib/popover/popover.variable.css +1 -1
- package/lib/popover2/popover2.variable.css +1 -1
- package/lib/process/process.variable.css +1 -1
- package/lib/progress/progress.variable.css +1 -1
- package/lib/radio/radio.css +4 -4
- package/lib/radio/radio.less +2 -2
- package/lib/radio/radio.variable.css +3 -3
- package/lib/resize-layout/resize-layout.variable.css +1 -1
- package/lib/search-select/search-select.variable.css +1 -1
- package/lib/select/select.variable.css +1 -1
- package/lib/sideslider/sideslider.variable.css +1 -1
- package/lib/slider/slider.variable.css +1 -1
- package/lib/steps/steps.variable.css +1 -1
- package/lib/styles/mixins/scroll.variable.css +1 -1
- package/lib/styles/themes/themes.less +1 -1
- package/lib/switcher/switcher.variable.css +1 -1
- package/lib/tab/tab.variable.css +1 -1
- package/lib/table/plugins/head-filter.variable.css +1 -1
- package/lib/table/plugins/head-sort.variable.css +1 -1
- package/lib/table/plugins/settings.variable.css +1 -1
- package/lib/table/table.variable.css +1 -1
- package/lib/tag/tag.variable.css +1 -1
- package/lib/tag-input/index.d.ts +1 -60
- package/lib/tag-input/index.js +1 -1
- package/lib/tag-input/list-tag-render.d.ts +0 -3
- package/lib/tag-input/tag-input.d.ts +0 -23
- package/lib/tag-input/tag-input.variable.css +1 -1
- package/lib/tag-input/tag-props.d.ts +0 -5
- package/lib/tag-input/tag-render.d.ts +0 -3
- package/lib/time-picker/index.d.ts +0 -4
- package/lib/time-picker/time-picker.variable.css +1 -1
- package/lib/timeline/timeline.variable.css +1 -1
- package/lib/transfer/transfer.variable.css +1 -1
- package/lib/tree/tree.variable.css +1 -1
- package/lib/upload/index.d.ts +1 -15
- package/lib/upload/index.js +1 -1
- package/lib/upload/props.d.ts +0 -2
- package/lib/upload/upload-trigger.d.ts +0 -3
- package/lib/upload/upload.d.ts +0 -6
- package/lib/upload/upload.variable.css +1 -1
- package/lib/virtual-render/virtual-render.variable.css +1 -1
- package/package.json +1 -1
@@ -51,7 +51,7 @@
|
|
51
51
|
--radio-active-color: #5594fa;
|
52
52
|
--radio-hover-border-color: #979ba5;
|
53
53
|
--radio-disabled-border: #dcdee5;
|
54
|
-
--radio-disabled-font-color: #
|
54
|
+
--radio-disabled-font-color: #c4c6cc;
|
55
55
|
--radio-distable-checked-bg: #fafbfd;
|
56
56
|
--radio-button-checked-bg: #e1ecff;
|
57
57
|
--fixed-navbar-background: #fff;
|
@@ -51,7 +51,7 @@
|
|
51
51
|
--radio-active-color: #5594fa;
|
52
52
|
--radio-hover-border-color: #979ba5;
|
53
53
|
--radio-disabled-border: #dcdee5;
|
54
|
-
--radio-disabled-font-color: #
|
54
|
+
--radio-disabled-font-color: #c4c6cc;
|
55
55
|
--radio-distable-checked-bg: #fafbfd;
|
56
56
|
--radio-button-checked-bg: #e1ecff;
|
57
57
|
--fixed-navbar-background: #fff;
|
@@ -51,7 +51,7 @@
|
|
51
51
|
--radio-active-color: #5594fa;
|
52
52
|
--radio-hover-border-color: #979ba5;
|
53
53
|
--radio-disabled-border: #dcdee5;
|
54
|
-
--radio-disabled-font-color: #
|
54
|
+
--radio-disabled-font-color: #c4c6cc;
|
55
55
|
--radio-distable-checked-bg: #fafbfd;
|
56
56
|
--radio-button-checked-bg: #e1ecff;
|
57
57
|
--fixed-navbar-background: #fff;
|
package/lib/pagination/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../select"),require("../icon"),require("../popover2"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../select","../icon","../popover2"],t);else{var n="object"==typeof exports?t(require("../shared"),require("vue"),require("../select"),require("../icon"),require("../popover2")):t(e["../shared"],e.vue,e["../select"],e["../icon"],e["../popover2"]);for(var a in n)("object"==typeof exports?exports:e)[a]=n[a]}}(self,((e,t,n,a,r)=>(()=>{"use strict";var i={6870:e=>{e.exports=a},6175:e=>{e.exports=r},6422:e=>{e.exports=n},4212:t=>{t.exports=e},748:e=>{e.exports=t}},o={};function l(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return i[e](n,n.exports,l),n.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},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 u={};return(()=>{l.r(u),l.d(u,{BkPagination:()=>v,default:()=>m});var e=l(4212);function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(i.push(a.value),!t||i.length!==t);o=!0);}catch(e){l=!0,r=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var r=l(748),i=l(6422),o=l.n(i),c=l(6870),s=l(6175),d=l.n(s);var f={modelValue:e.PropTypes.number.def(1),count:e.PropTypes.number.def(0).isRequired,limit:e.PropTypes.number.def(10),limitList:e.PropTypes.arrayOf(Number).def([10,20,50,100]),showLimit:e.PropTypes.bool.def(!0),type:e.PropTypes.oneOf(["default","compact"]).def("default"),location:e.PropTypes.oneOf(["left","right"]).def("right"),align:e.PropTypes.oneOf(["left","center","right"]).def("left"),size:e.PropTypes.size(),small:e.PropTypes.bool.def(!1),showTotalCount:e.PropTypes.bool.def(!0),prevText:e.PropTypes.string,nextText:e.PropTypes.string,disabled:e.PropTypes.bool.def(!1),beforeChange:e.PropTypes.func,layout:e.PropTypes.custom((function(e){var t={total:!0,list:!0,limit:!0};return e.some((function(e){return t[e]}))}),"layout 的值只支持 * total、list、limit *").def(["total","list","limit"])};const p=(0,r.defineComponent)({name:"Pagination",props:f,emits:["update:modelValue","change","update:limit","limitChange"],setup:function(e,t){var n=(0,r.ref)(0),l=(0,r.toRefs)(e),u=l.count,s=l.limit,f=function(){var e=(0,r.getCurrentInstance)().proxy,t=(0,r.ref)(1),n=(0,r.computed)((function(){return 1===t.value})),a=(0,r.computed)((function(){return t.value===e.totalPageNum})),i=(0,r.ref)(!1),o=(0,r.ref)(!1),l=(0,r.computed)((function(){i.value=!1,o.value=!1;var n=[];if(e.totalPageNum<=7){for(var a=2;a<=e.totalPageNum-1;a++)n.push(a);return n}var r=Math.floor(2.5);e.totalPageNum>5&&(i.value=t.value-r>2,o.value=t.value+r<e.totalPageNum-1);for(var l=Math.min(e.totalPageNum-5,Math.max(2,t.value-r)),u=l;u<l+5;u++)n.push(u);return n}));(0,r.watch)((function(){return e.modelValue}),(function(n){(0,r.nextTick)((function(){n>=1&&n<=e.totalPageNum?t.value=n:t.value=n<1?1:e.totalPageNum}))}),{immediate:!0}),(0,r.nextTick)((function(){(0,r.watch)((function(){return e.totalPageNum}),(function(e){t.value>e&&(t.value=e)}))}));var u=function(){n.value||(t.value=t.value-1)},s=function(){a.value||(t.value=t.value+1)},d=function(e){e!==t.value&&(t.value=e)},f=function(){t.value=Math.max(1,t.value-5)},p=function(){t.value=Math.min(e.totalPageNum,t.value+5)};return{current:t,render:function(v){var m=v.isFirst,g=v.isLast;return(0,r.createVNode)("div",{class:{"bk-pagination-list":!0,"is-first":m,"is-last":g}},[(0,r.createVNode)("div",{class:{"bk-pagination-list-pre":!0,"is-disabled":n.value},onClick:u},[e.prevText||(0,r.createVNode)(c.AngleLeft,null,null)]),(0,r.createVNode)("div",{class:{"bk-pagination-list-item":!0,"is-active":1===t.value},key:"1",onClick:function(){return d(1)}},[(0,r.createTextVNode)("1")]),i.value&&(0,r.createVNode)("div",{key:"pre-batch",class:"bk-pagination-list-pre-batch",onClick:f},[(0,r.createVNode)(c.Ellipsis,null,null)]),l.value.map((function(e){return(0,r.createVNode)("div",{class:{"bk-pagination-list-item":!0,"is-active":t.value===e},key:e,onClick:function(){return d(e)}},[e])})),o.value&&(0,r.createVNode)("div",{key:"next-batch",class:"bk-pagination-list-next-batch",onClick:p},[(0,r.createVNode)(c.Ellipsis,null,null)]),e.totalPageNum>1&&(0,r.createVNode)("div",{class:{"bk-pagination-list-item":!0,"is-active":t.value===e.totalPageNum},key:"last",onClick:function(){return d(e.totalPageNum)}},[e.totalPageNum]),(0,r.createVNode)("div",{class:{"bk-pagination-list-pre":!0,"is-disabled":a.value},onClick:s},[e.nextText||(0,r.createVNode)(c.AngleRight,null,null)])])}}}(),p=f.current,v=f.render,m=function(){var e=(0,r.getCurrentInstance)().proxy,t=(0,r.ref)(null),n=(0,r.ref)(!1),a=(0,r.ref)(1),i=(0,r.computed)((function(){return 1===a.value})),o=(0,r.computed)((function(){return a.value===e.totalPageNum})),l=0,u=(0,r.computed)((function(){for(var t=[],n=1;n<=e.totalPageNum;n++)t.push(n);return t}));(0,r.watch)((function(){return e.modelValue}),(function(t){(0,r.nextTick)((function(){t>=1&&t<=e.totalPageNum?a.value=t:a.value=t<1?1:e.totalPageNum,l=a.value}))}),{immediate:!0}),(0,r.nextTick)((function(){(0,r.watch)((function(){return e.totalPageNum}),(function(e){a.value>e&&(a.value=e)}))}));var s=function(){i.value||(a.value=a.value-1)},f=function(){o.value||(a.value=a.value+1)},p=function(){n.value=!0},v=function(){n.value=!1,t.value.textContent="".concat(l),l!==a.value&&(a.value=l)},m=function(t){var n=t.target,r=Number(n.textContent);!r||r<1||r>e.totalPageNum||r===a.value||(l=r)},g=function(e){["Enter","NumpadEnter"].includes(e.code)&&(e.preventDefault(),v())};return{current:a,render:function(){return(0,r.createVNode)("div",{class:"bk-pagination-small-list"},[(0,r.createVNode)("div",{class:{"bk-pagination-btn-pre":!0,"is-disabled":i.value},onClick:s},[(0,r.createVNode)(c.AngleLeft,null,null)]),(0,r.createVNode)(d(),{theme:"light",trigger:"click",arrow:!1,width:56,boundary:"body",placement:"bottom"},{default:function(){return(0,r.createVNode)("div",{class:{"bk-pagination-picker":!0,"is-focused":n.value}},[(0,r.createVNode)("span",{ref:t,class:"bk-pagination-editor",contenteditable:!0,spellcheck:"false",onFocus:p,onBlur:v,onInput:m,onKeydown:g},[a.value]),(0,r.createVNode)("span",null,[(0,r.createTextVNode)("/")]),(0,r.createVNode)("span",{class:"bk-pagination-small-list-total"},[e.totalPageNum])])},content:function(){return(0,r.createVNode)("div",{class:"bk-pagination-picker-list"},[u.value.map((function(e){return(0,r.createVNode)("div",{class:{item:!0,"is-actived":e===a.value},key:e,onClick:function(){return function(e){l=e,v()}(e)}},[e])}))])}}),(0,r.createVNode)("div",{class:{"bk-pagination-btn-next":!0,"is-disabled":o.value},onClick:f},[(0,r.createVNode)(c.AngleRight,null,null)])])}}}(),g=m.current,b=m.render,y=function(){var e=(0,r.getCurrentInstance)().proxy,t=(0,r.ref)(e.limit);(0,r.watch)((function(){return e.limit}),(function(e){t.value=e})),(0,r.watch)((function(){return e.limitList}),(function(e){(0,r.nextTick)((function(){if(!e.includes(t.value)){var n=a(e,1);t.value=n[0]}}))}),{immediate:!0});var n=function(e){t.value=e};return{limit:t,render:function(a){var l,u,c=a.isFirst,s=a.isLast;return e.showLimit?(0,r.createVNode)("div",(0,r.mergeProps)({class:{"bk-pagination-limit":!0,"is-first":c,"is-last":s}},{disabled:e.disabled}),[(0,r.createVNode)("div",null,[(0,r.createTextVNode)("每页")]),(0,r.createVNode)(o(),{class:"bk-pagination-limit-select",clearable:!1,size:"small",modelValue:t.value,onChange:n,disabled:e.disabled},(u=l=e.limitList.map((function(e,t){return(0,r.createVNode)(i.BkOption,{value:e,label:"".concat(e),key:"".concat(t,"_").concat(e)},null)})),"function"==typeof u||"[object Object]"===Object.prototype.toString.call(u)&&!(0,r.isVNode)(u)?l:{default:function(){return[l]}})),(0,r.createVNode)("div",null,[(0,r.createTextVNode)("条")])]):null}}}(),h=y.limit,N=y.render;return(0,r.watch)([u,h,s],(function(e){var t=a(e,2),r=t[0],i=t[1],o=Math.ceil(r/i);n.value=o<1?1:o}),{immediate:!0}),(0,r.watch)(p,(function(e){t.emit("update:modelValue",e),t.emit("change",e)})),(0,r.watch)(g,(function(n){e.small&&(t.emit("update:modelValue",n),t.emit("change",n))})),(0,r.watch)(h,(function(e){t.emit("limitChange",e)})),{totalPageNum:n,renderTotal:function(e){var t=e.isFirst,n=e.isLast,a=(0,r.getCurrentInstance)().props;return a.showTotalCount?(0,r.createVNode)("div",(0,r.mergeProps)({class:{"bk-pagination-total":!0,"is-first":t,"is-last":n}},{disabled:a.disabled}),[(0,r.createTextVNode)("共计"),(0,r.createVNode)("div",{class:"bk-pagination-total-num"},[a.count]),(0,r.createTextVNode)("条")]):null},renderList:v,renderLimit:N,renderSmallList:b}},render:function(){var n,a=this,i=(0,e.classes)((t(n={"bk-pagination":!0},"bk-pagination--".concat(this.size),!0),t(n,"is-align-".concat(this.align),!0),n)),o={total:this.renderTotal,list:this.small?this.renderSmallList:this.renderList,limit:this.renderLimit};return(0,r.createVNode)("div",{class:i},[this.layout.map((function(e,t){return o[e]({isFirst:0===t,isLast:t===a.layout.length-1})}))])}});var v=(0,e.withInstall)(p);const m=v})(),u})()));
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../select"),require("../icon"),require("../popover2"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../select","../icon","../popover2"],t);else{var n="object"==typeof exports?t(require("../shared"),require("vue"),require("../select"),require("../icon"),require("../popover2")):t(e["../shared"],e.vue,e["../select"],e["../icon"],e["../popover2"]);for(var a in n)("object"==typeof exports?exports:e)[a]=n[a]}}(self,((e,t,n,a,r)=>(()=>{"use strict";var i={6870:e=>{e.exports=a},6175:e=>{e.exports=r},6422:e=>{e.exports=n},4212:t=>{t.exports=e},748:e=>{e.exports=t}},o={};function l(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return i[e](n,n.exports,l),n.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},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 u={};return(()=>{l.r(u),l.d(u,{BkPagination:()=>v,default:()=>m});var e=l(4212);function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(i.push(a.value),!t||i.length!==t);o=!0);}catch(e){l=!0,r=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var r=l(748),i=l(6422),o=l.n(i),c=l(6870),s=l(6175),d=l.n(s);var f={modelValue:e.PropTypes.number.def(1),count:e.PropTypes.number.def(0).isRequired,limit:e.PropTypes.number.def(10),limitList:e.PropTypes.arrayOf(Number).def([10,20,50,100]),showLimit:e.PropTypes.bool.def(!0),type:e.PropTypes.oneOf(["default","compact"]).def("default"),location:e.PropTypes.oneOf(["left","right"]).def("right"),align:e.PropTypes.oneOf(["left","center","right"]).def("left"),size:e.PropTypes.size(),small:e.PropTypes.bool.def(!1),showTotalCount:e.PropTypes.bool.def(!0),prevText:e.PropTypes.string,nextText:e.PropTypes.string,disabled:e.PropTypes.bool.def(!1),beforeChange:e.PropTypes.func,layout:e.PropTypes.custom((function(e){var t={total:!0,list:!0,limit:!0};return e.some((function(e){return t[e]}))}),"layout 的值只支持 * total、list、limit *").def(["total","list","limit"])};const p=(0,r.defineComponent)({name:"Pagination",props:f,emits:["update:modelValue","change","update:limit","limitChange"],setup:function(e,t){var n=(0,r.ref)(0),l=(0,r.toRefs)(e),u=l.count,s=l.limit,f=function(){var e=(0,r.getCurrentInstance)().proxy,t=(0,r.ref)(1),n=(0,r.computed)((function(){return 1===t.value})),a=(0,r.computed)((function(){return t.value===e.totalPageNum})),i=(0,r.ref)(!1),o=(0,r.ref)(!1),l=(0,r.computed)((function(){i.value=!1,o.value=!1;var n=[];if(e.totalPageNum<=7){for(var a=2;a<=e.totalPageNum-1;a++)n.push(a);return n}var r=Math.floor(2.5);e.totalPageNum>5&&(i.value=t.value-r>2,o.value=t.value+r<e.totalPageNum-1);for(var l=Math.min(e.totalPageNum-5,Math.max(2,t.value-r)),u=l;u<l+5;u++)n.push(u);return n}));(0,r.watch)((function(){return e.modelValue}),(function(n){(0,r.nextTick)((function(){n>=1&&n<=e.totalPageNum?t.value=n:t.value=n<1?1:e.totalPageNum}))}),{immediate:!0}),(0,r.nextTick)((function(){(0,r.watch)((function(){return e.totalPageNum}),(function(e){t.value>e&&(t.value=e)}))}));var u=function(){n.value||(t.value=t.value-1)},s=function(){a.value||(t.value=t.value+1)},d=function(e){e!==t.value&&(t.value=e)},f=function(){t.value=Math.max(1,t.value-5)},p=function(){t.value=Math.min(e.totalPageNum,t.value+5)};return{current:t,render:function(v){var m=v.isFirst,g=v.isLast;return(0,r.createVNode)("div",{class:{"bk-pagination-list":!0,"is-first":m,"is-last":g}},[(0,r.createVNode)("div",{class:{"bk-pagination-list-pre":!0,"is-disabled":n.value},onClick:u},[e.prevText||(0,r.createVNode)(c.AngleLeft,null,null)]),(0,r.createVNode)("div",{class:{"bk-pagination-list-item":!0,"is-active":1===t.value},key:"1",onClick:function(){return d(1)}},[(0,r.createTextVNode)("1")]),i.value&&(0,r.createVNode)("div",{key:"pre-batch",class:"bk-pagination-list-pre-batch",onClick:f},[(0,r.createVNode)(c.Ellipsis,null,null)]),l.value.map((function(e){return(0,r.createVNode)("div",{class:{"bk-pagination-list-item":!0,"is-active":t.value===e},key:e,onClick:function(){return d(e)}},[e])})),o.value&&(0,r.createVNode)("div",{key:"next-batch",class:"bk-pagination-list-next-batch",onClick:p},[(0,r.createVNode)(c.Ellipsis,null,null)]),e.totalPageNum>1&&(0,r.createVNode)("div",{class:{"bk-pagination-list-item":!0,"is-active":t.value===e.totalPageNum},key:"last",onClick:function(){return d(e.totalPageNum)}},[e.totalPageNum]),(0,r.createVNode)("div",{class:{"bk-pagination-list-pre":!0,"is-disabled":a.value},onClick:s},[e.nextText||(0,r.createVNode)(c.AngleRight,null,null)])])}}}(),p=f.current,v=f.render,m=function(){var e=(0,r.getCurrentInstance)().proxy,t=(0,r.ref)(null),n=(0,r.ref)(!1),a=(0,r.ref)(1),i=(0,r.computed)((function(){return 1===a.value})),o=(0,r.computed)((function(){return a.value===e.totalPageNum})),l=0,u=(0,r.computed)((function(){for(var t=[],n=1;n<=e.totalPageNum;n++)t.push(n);return t}));(0,r.watch)((function(){return e.modelValue}),(function(t){(0,r.nextTick)((function(){t>=1&&t<=e.totalPageNum?a.value=t:a.value=t<1?1:e.totalPageNum,l=a.value}))}),{immediate:!0}),(0,r.nextTick)((function(){(0,r.watch)((function(){return e.totalPageNum}),(function(e){a.value>e&&(a.value=e)}))}));var s=function(){i.value||(a.value=a.value-1)},f=function(){o.value||(a.value=a.value+1)},p=function(){n.value=!0},v=function(){n.value=!1,t.value.textContent="".concat(l),l!==a.value&&(a.value=l)},m=function(t){var n=t.target,r=Number(n.textContent);!r||r<1||r>e.totalPageNum||r===a.value||(l=r)},g=function(e){["Enter","NumpadEnter"].includes(e.code)&&(e.preventDefault(),v())};return{current:a,render:function(){return(0,r.createVNode)("div",{class:"bk-pagination-small-list"},[(0,r.createVNode)("div",{class:{"bk-pagination-btn-pre":!0,"is-disabled":i.value},onClick:s},[(0,r.createVNode)(c.AngleLeft,null,null)]),(0,r.createVNode)(d(),{theme:"light",trigger:"click",arrow:!1,width:56,boundary:"body",placement:"bottom"},{default:function(){return(0,r.createVNode)("div",{class:{"bk-pagination-picker":!0,"is-focused":n.value}},[(0,r.createVNode)("span",{ref:t,class:"bk-pagination-editor",contenteditable:!0,spellcheck:"false",onFocus:p,onBlur:v,onInput:m,onKeydown:g},[a.value]),(0,r.createVNode)("span",null,[(0,r.createTextVNode)("/")]),(0,r.createVNode)("span",{class:"bk-pagination-small-list-total"},[e.totalPageNum])])},content:function(){return(0,r.createVNode)("div",{class:"bk-pagination-picker-list"},[u.value.map((function(e){return(0,r.createVNode)("div",{class:{item:!0,"is-actived":e===a.value},key:e,onClick:function(){return function(e){l=e,v()}(e)}},[e])}))])}}),(0,r.createVNode)("div",{class:{"bk-pagination-btn-next":!0,"is-disabled":o.value},onClick:f},[(0,r.createVNode)(c.AngleRight,null,null)])])}}}(),g=m.current,b=m.render,h=function(){var e=(0,r.getCurrentInstance)().proxy,t=(0,r.ref)(e.limit);(0,r.watch)((function(){return e.limit}),(function(e){t.value=e})),(0,r.watch)((function(){return e.limitList}),(function(e){(0,r.nextTick)((function(){if(!e.includes(t.value)){var n=a(e,1);t.value=n[0]}}))}),{immediate:!0});var n=function(e){t.value=e};return{limit:t,render:function(a){var l,u,c=a.isFirst,s=a.isLast;return e.showLimit?(0,r.createVNode)("div",(0,r.mergeProps)({class:{"bk-pagination-limit":!0,"is-first":c,"is-last":s}},{disabled:e.disabled}),[(0,r.createVNode)("div",null,[(0,r.createTextVNode)("每页")]),(0,r.createVNode)(o(),{class:"bk-pagination-limit-select",clearable:!1,size:"small",withValidate:!1,modelValue:t.value,onChange:n,disabled:e.disabled},(u=l=e.limitList.map((function(e,t){return(0,r.createVNode)(i.BkOption,{value:e,label:"".concat(e),key:"".concat(t,"_").concat(e)},null)})),"function"==typeof u||"[object Object]"===Object.prototype.toString.call(u)&&!(0,r.isVNode)(u)?l:{default:function(){return[l]}})),(0,r.createVNode)("div",null,[(0,r.createTextVNode)("条")])]):null}}}(),y=h.limit,N=h.render;return(0,r.watch)([u,y,s],(function(e){var t=a(e,2),r=t[0],i=t[1],o=Math.ceil(r/i);n.value=o<1?1:o}),{immediate:!0}),(0,r.watch)(p,(function(e){t.emit("update:modelValue",e),t.emit("change",e)})),(0,r.watch)(g,(function(n){e.small&&(t.emit("update:modelValue",n),t.emit("change",n))})),(0,r.watch)(y,(function(e){t.emit("limitChange",e)})),{totalPageNum:n,renderTotal:function(e){var t=e.isFirst,n=e.isLast,a=(0,r.getCurrentInstance)().props;return a.showTotalCount?(0,r.createVNode)("div",(0,r.mergeProps)({class:{"bk-pagination-total":!0,"is-first":t,"is-last":n}},{disabled:a.disabled}),[(0,r.createTextVNode)("共计"),(0,r.createVNode)("div",{class:"bk-pagination-total-num"},[a.count]),(0,r.createTextVNode)("条")]):null},renderList:v,renderLimit:N,renderSmallList:b}},render:function(){var n,a=this,i=(0,e.classes)((t(n={"bk-pagination":!0},"bk-pagination--".concat(this.size),!0),t(n,"is-align-".concat(this.align),!0),n)),o={total:this.renderTotal,list:this.small?this.renderSmallList:this.renderList,limit:this.renderLimit};return(0,r.createVNode)("div",{class:i},[this.layout.map((function(e,t){return o[e]({isFirst:0===t,isLast:t===a.layout.length-1})}))])}});var v=(0,e.withInstall)(p);const m=v})(),u})()));
|
@@ -51,7 +51,7 @@
|
|
51
51
|
--radio-active-color: #5594fa;
|
52
52
|
--radio-hover-border-color: #979ba5;
|
53
53
|
--radio-disabled-border: #dcdee5;
|
54
|
-
--radio-disabled-font-color: #
|
54
|
+
--radio-disabled-font-color: #c4c6cc;
|
55
55
|
--radio-distable-checked-bg: #fafbfd;
|
56
56
|
--radio-button-checked-bg: #e1ecff;
|
57
57
|
--fixed-navbar-background: #fff;
|
@@ -51,7 +51,7 @@
|
|
51
51
|
--radio-active-color: #5594fa;
|
52
52
|
--radio-hover-border-color: #979ba5;
|
53
53
|
--radio-disabled-border: #dcdee5;
|
54
|
-
--radio-disabled-font-color: #
|
54
|
+
--radio-disabled-font-color: #c4c6cc;
|
55
55
|
--radio-distable-checked-bg: #fafbfd;
|
56
56
|
--radio-button-checked-bg: #e1ecff;
|
57
57
|
--fixed-navbar-background: #fff;
|
@@ -51,7 +51,7 @@
|
|
51
51
|
--radio-active-color: #5594fa;
|
52
52
|
--radio-hover-border-color: #979ba5;
|
53
53
|
--radio-disabled-border: #dcdee5;
|
54
|
-
--radio-disabled-font-color: #
|
54
|
+
--radio-disabled-font-color: #c4c6cc;
|
55
55
|
--radio-distable-checked-bg: #fafbfd;
|
56
56
|
--radio-button-checked-bg: #e1ecff;
|
57
57
|
--fixed-navbar-background: #fff;
|
@@ -51,7 +51,7 @@
|
|
51
51
|
--radio-active-color: #5594fa;
|
52
52
|
--radio-hover-border-color: #979ba5;
|
53
53
|
--radio-disabled-border: #dcdee5;
|
54
|
-
--radio-disabled-font-color: #
|
54
|
+
--radio-disabled-font-color: #c4c6cc;
|
55
55
|
--radio-distable-checked-bg: #fafbfd;
|
56
56
|
--radio-button-checked-bg: #e1ecff;
|
57
57
|
--fixed-navbar-background: #fff;
|
@@ -51,7 +51,7 @@
|
|
51
51
|
--radio-active-color: #5594fa;
|
52
52
|
--radio-hover-border-color: #979ba5;
|
53
53
|
--radio-disabled-border: #dcdee5;
|
54
|
-
--radio-disabled-font-color: #
|
54
|
+
--radio-disabled-font-color: #c4c6cc;
|
55
55
|
--radio-distable-checked-bg: #fafbfd;
|
56
56
|
--radio-button-checked-bg: #e1ecff;
|
57
57
|
--fixed-navbar-background: #fff;
|
package/lib/radio/radio.css
CHANGED
@@ -49,7 +49,7 @@
|
|
49
49
|
border-color: #5594fa;
|
50
50
|
}
|
51
51
|
.bk-radio.is-disabled {
|
52
|
-
color: #
|
52
|
+
color: #c4c6cc;
|
53
53
|
cursor: not-allowed;
|
54
54
|
}
|
55
55
|
.bk-radio.is-disabled.is-checked .bk-radio-input {
|
@@ -124,13 +124,13 @@
|
|
124
124
|
}
|
125
125
|
.bk-radio-button.is-disabled {
|
126
126
|
z-index: 0;
|
127
|
-
color: #
|
127
|
+
color: #c4c6cc;
|
128
128
|
cursor: not-allowed;
|
129
129
|
}
|
130
130
|
.bk-radio-button.is-disabled .bk-radio-button-text {
|
131
131
|
cursor: not-allowed;
|
132
|
-
background:
|
133
|
-
border-color:
|
132
|
+
background: #fafbfd;
|
133
|
+
border-color: #dcdee5;
|
134
134
|
}
|
135
135
|
.bk-radio-button.is-focused .bk-radio-button-text {
|
136
136
|
border-color: #5594fa;
|
package/lib/radio/radio.less
CHANGED
@@ -51,7 +51,7 @@
|
|
51
51
|
--radio-active-color: #5594fa;
|
52
52
|
--radio-hover-border-color: #979ba5;
|
53
53
|
--radio-disabled-border: #dcdee5;
|
54
|
-
--radio-disabled-font-color: #
|
54
|
+
--radio-disabled-font-color: #c4c6cc;
|
55
55
|
--radio-distable-checked-bg: #fafbfd;
|
56
56
|
--radio-button-checked-bg: #e1ecff;
|
57
57
|
--fixed-navbar-background: #fff;
|
@@ -242,8 +242,8 @@
|
|
242
242
|
}
|
243
243
|
.bk-radio-button.is-disabled .bk-radio-button-text {
|
244
244
|
cursor: not-allowed;
|
245
|
-
background:
|
246
|
-
border-color:
|
245
|
+
background: var(--radio-distable-checked-bg);
|
246
|
+
border-color: var(--radio-disabled-border);
|
247
247
|
}
|
248
248
|
.bk-radio-button.is-focused .bk-radio-button-text {
|
249
249
|
border-color: var(--radio-active-color);
|
@@ -51,7 +51,7 @@
|
|
51
51
|
--radio-active-color: #5594fa;
|
52
52
|
--radio-hover-border-color: #979ba5;
|
53
53
|
--radio-disabled-border: #dcdee5;
|
54
|
-
--radio-disabled-font-color: #
|
54
|
+
--radio-disabled-font-color: #c4c6cc;
|
55
55
|
--radio-distable-checked-bg: #fafbfd;
|
56
56
|
--radio-button-checked-bg: #e1ecff;
|
57
57
|
--fixed-navbar-background: #fff;
|
@@ -52,7 +52,7 @@
|
|
52
52
|
--radio-active-color: #5594fa;
|
53
53
|
--radio-hover-border-color: #979ba5;
|
54
54
|
--radio-disabled-border: #dcdee5;
|
55
|
-
--radio-disabled-font-color: #
|
55
|
+
--radio-disabled-font-color: #c4c6cc;
|
56
56
|
--radio-distable-checked-bg: #fafbfd;
|
57
57
|
--radio-button-checked-bg: #e1ecff;
|
58
58
|
--fixed-navbar-background: #fff;
|
@@ -51,7 +51,7 @@
|
|
51
51
|
--radio-active-color: #5594fa;
|
52
52
|
--radio-hover-border-color: #979ba5;
|
53
53
|
--radio-disabled-border: #dcdee5;
|
54
|
-
--radio-disabled-font-color: #
|
54
|
+
--radio-disabled-font-color: #c4c6cc;
|
55
55
|
--radio-distable-checked-bg: #fafbfd;
|
56
56
|
--radio-button-checked-bg: #e1ecff;
|
57
57
|
--fixed-navbar-background: #fff;
|
@@ -51,7 +51,7 @@
|
|
51
51
|
--radio-active-color: #5594fa;
|
52
52
|
--radio-hover-border-color: #979ba5;
|
53
53
|
--radio-disabled-border: #dcdee5;
|
54
|
-
--radio-disabled-font-color: #
|
54
|
+
--radio-disabled-font-color: #c4c6cc;
|
55
55
|
--radio-distable-checked-bg: #fafbfd;
|
56
56
|
--radio-button-checked-bg: #e1ecff;
|
57
57
|
--fixed-navbar-background: #fff;
|
@@ -51,7 +51,7 @@
|
|
51
51
|
--radio-active-color: #5594fa;
|
52
52
|
--radio-hover-border-color: #979ba5;
|
53
53
|
--radio-disabled-border: #dcdee5;
|
54
|
-
--radio-disabled-font-color: #
|
54
|
+
--radio-disabled-font-color: #c4c6cc;
|
55
55
|
--radio-distable-checked-bg: #fafbfd;
|
56
56
|
--radio-button-checked-bg: #e1ecff;
|
57
57
|
--fixed-navbar-background: #fff;
|
@@ -52,7 +52,7 @@
|
|
52
52
|
--radio-active-color: #5594fa;
|
53
53
|
--radio-hover-border-color: #979ba5;
|
54
54
|
--radio-disabled-border: #dcdee5;
|
55
|
-
--radio-disabled-font-color: #
|
55
|
+
--radio-disabled-font-color: #c4c6cc;
|
56
56
|
--radio-distable-checked-bg: #fafbfd;
|
57
57
|
--radio-button-checked-bg: #e1ecff;
|
58
58
|
--fixed-navbar-background: #fff;
|
@@ -51,7 +51,7 @@
|
|
51
51
|
--radio-active-color: #5594fa;
|
52
52
|
--radio-hover-border-color: #979ba5;
|
53
53
|
--radio-disabled-border: #dcdee5;
|
54
|
-
--radio-disabled-font-color: #
|
54
|
+
--radio-disabled-font-color: #c4c6cc;
|
55
55
|
--radio-distable-checked-bg: #fafbfd;
|
56
56
|
--radio-button-checked-bg: #e1ecff;
|
57
57
|
--fixed-navbar-background: #fff;
|
@@ -65,7 +65,7 @@
|
|
65
65
|
@radio-active-color: #5594fa;
|
66
66
|
@radio-hover-border-color: #979ba5;
|
67
67
|
@radio-disabled-border: #dcdee5;
|
68
|
-
@radio-disabled-font-color: #
|
68
|
+
@radio-disabled-font-color: #c4c6cc;
|
69
69
|
@radio-distable-checked-bg: #fafbfd;
|
70
70
|
@radio-button-checked-bg: #e1ecff;
|
71
71
|
|
@@ -51,7 +51,7 @@
|
|
51
51
|
--radio-active-color: #5594fa;
|
52
52
|
--radio-hover-border-color: #979ba5;
|
53
53
|
--radio-disabled-border: #dcdee5;
|
54
|
-
--radio-disabled-font-color: #
|
54
|
+
--radio-disabled-font-color: #c4c6cc;
|
55
55
|
--radio-distable-checked-bg: #fafbfd;
|
56
56
|
--radio-button-checked-bg: #e1ecff;
|
57
57
|
--fixed-navbar-background: #fff;
|
package/lib/tab/tab.variable.css
CHANGED
@@ -51,7 +51,7 @@
|
|
51
51
|
--radio-active-color: #5594fa;
|
52
52
|
--radio-hover-border-color: #979ba5;
|
53
53
|
--radio-disabled-border: #dcdee5;
|
54
|
-
--radio-disabled-font-color: #
|
54
|
+
--radio-disabled-font-color: #c4c6cc;
|
55
55
|
--radio-distable-checked-bg: #fafbfd;
|
56
56
|
--radio-button-checked-bg: #e1ecff;
|
57
57
|
--fixed-navbar-background: #fff;
|
@@ -51,7 +51,7 @@
|
|
51
51
|
--radio-active-color: #5594fa;
|
52
52
|
--radio-hover-border-color: #979ba5;
|
53
53
|
--radio-disabled-border: #dcdee5;
|
54
|
-
--radio-disabled-font-color: #
|
54
|
+
--radio-disabled-font-color: #c4c6cc;
|
55
55
|
--radio-distable-checked-bg: #fafbfd;
|
56
56
|
--radio-button-checked-bg: #e1ecff;
|
57
57
|
--fixed-navbar-background: #fff;
|
@@ -51,7 +51,7 @@
|
|
51
51
|
--radio-active-color: #5594fa;
|
52
52
|
--radio-hover-border-color: #979ba5;
|
53
53
|
--radio-disabled-border: #dcdee5;
|
54
|
-
--radio-disabled-font-color: #
|
54
|
+
--radio-disabled-font-color: #c4c6cc;
|
55
55
|
--radio-distable-checked-bg: #fafbfd;
|
56
56
|
--radio-button-checked-bg: #e1ecff;
|
57
57
|
--fixed-navbar-background: #fff;
|
@@ -51,7 +51,7 @@
|
|
51
51
|
--radio-active-color: #5594fa;
|
52
52
|
--radio-hover-border-color: #979ba5;
|
53
53
|
--radio-disabled-border: #dcdee5;
|
54
|
-
--radio-disabled-font-color: #
|
54
|
+
--radio-disabled-font-color: #c4c6cc;
|
55
55
|
--radio-distable-checked-bg: #fafbfd;
|
56
56
|
--radio-button-checked-bg: #e1ecff;
|
57
57
|
--fixed-navbar-background: #fff;
|
@@ -51,7 +51,7 @@
|
|
51
51
|
--radio-active-color: #5594fa;
|
52
52
|
--radio-hover-border-color: #979ba5;
|
53
53
|
--radio-disabled-border: #dcdee5;
|
54
|
-
--radio-disabled-font-color: #
|
54
|
+
--radio-disabled-font-color: #c4c6cc;
|
55
55
|
--radio-distable-checked-bg: #fafbfd;
|
56
56
|
--radio-button-checked-bg: #e1ecff;
|
57
57
|
--fixed-navbar-background: #fff;
|
package/lib/tag/tag.variable.css
CHANGED
@@ -51,7 +51,7 @@
|
|
51
51
|
--radio-active-color: #5594fa;
|
52
52
|
--radio-hover-border-color: #979ba5;
|
53
53
|
--radio-disabled-border: #dcdee5;
|
54
|
-
--radio-disabled-font-color: #
|
54
|
+
--radio-disabled-font-color: #c4c6cc;
|
55
55
|
--radio-distable-checked-bg: #fafbfd;
|
56
56
|
--radio-button-checked-bg: #e1ecff;
|
57
57
|
--fixed-navbar-background: #fff;
|
package/lib/tag-input/index.d.ts
CHANGED
@@ -28,19 +28,6 @@ declare const TagInput: {
|
|
28
28
|
allowNextFocus: boolean;
|
29
29
|
allowAutoMatch: boolean;
|
30
30
|
leftSpace: number;
|
31
|
-
createTagValidator: (tag: any) => boolean;
|
32
|
-
filterCallback: (value: string, searchKey: string | string[], list: any[]) => any[];
|
33
|
-
tagTpl: (node: any, highlightKeyword: Function, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
34
|
-
[key: string]: any;
|
35
|
-
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
36
|
-
[key: string]: any;
|
37
|
-
}>;
|
38
|
-
tpl: (node: any, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
39
|
-
[key: string]: any;
|
40
|
-
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
41
|
-
[key: string]: any;
|
42
|
-
}>;
|
43
|
-
pasteFn: (value: string) => any[];
|
44
31
|
popoverProps: {};
|
45
32
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
46
33
|
modelValue: import("vue-types").VueTypeDef<string[]> & {
|
@@ -151,11 +138,9 @@ declare const TagInput: {
|
|
151
138
|
};
|
152
139
|
createTagValidator: {
|
153
140
|
type: import("vue").PropType<(tag: any) => boolean>;
|
154
|
-
default: any;
|
155
141
|
};
|
156
142
|
filterCallback: {
|
157
143
|
type: import("vue").PropType<(value: string, searchKey: string | string[], list: any[]) => any[]>;
|
158
|
-
default: any;
|
159
144
|
};
|
160
145
|
tagTpl: {
|
161
146
|
type: import("vue").PropType<(node: any, highlightKeyword: Function, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
@@ -163,7 +148,6 @@ declare const TagInput: {
|
|
163
148
|
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
164
149
|
[key: string]: any;
|
165
150
|
}>>;
|
166
|
-
default: any;
|
167
151
|
};
|
168
152
|
tpl: {
|
169
153
|
type: import("vue").PropType<(node: any, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
@@ -171,11 +155,9 @@ declare const TagInput: {
|
|
171
155
|
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
172
156
|
[key: string]: any;
|
173
157
|
}>>;
|
174
|
-
default: any;
|
175
158
|
};
|
176
159
|
pasteFn: {
|
177
160
|
type: import("vue").PropType<(value: string) => any[]>;
|
178
|
-
default: any;
|
179
161
|
};
|
180
162
|
withValidate: {
|
181
163
|
type: BooleanConstructor;
|
@@ -270,7 +252,7 @@ declare const TagInput: {
|
|
270
252
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
271
253
|
onRemove?: (...args: any[]) => any;
|
272
254
|
onRemoveAll?: (...args: any[]) => any;
|
273
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "trigger" | "placeholder" | "list" | "separator" | "clearable" | "showClearOnlyHover" | "modelValue" | "withValidate" | "searchKey" | "allowCreate" | "displayKey" | "tooltipKey" | "saveKey" | "hasDeleteIcon" | "useGroup" | "maxData" | "maxResult" | "contentMaxHeight" | "contentWidth" | "allowNextFocus" | "allowAutoMatch" | "leftSpace" | "
|
255
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "trigger" | "placeholder" | "list" | "separator" | "clearable" | "showClearOnlyHover" | "modelValue" | "withValidate" | "searchKey" | "allowCreate" | "displayKey" | "tooltipKey" | "saveKey" | "hasDeleteIcon" | "useGroup" | "maxData" | "maxResult" | "contentMaxHeight" | "contentWidth" | "allowNextFocus" | "allowAutoMatch" | "leftSpace" | "popoverProps">;
|
274
256
|
$attrs: {
|
275
257
|
[x: string]: unknown;
|
276
258
|
};
|
@@ -393,11 +375,9 @@ declare const TagInput: {
|
|
393
375
|
};
|
394
376
|
createTagValidator: {
|
395
377
|
type: import("vue").PropType<(tag: any) => boolean>;
|
396
|
-
default: any;
|
397
378
|
};
|
398
379
|
filterCallback: {
|
399
380
|
type: import("vue").PropType<(value: string, searchKey: string | string[], list: any[]) => any[]>;
|
400
|
-
default: any;
|
401
381
|
};
|
402
382
|
tagTpl: {
|
403
383
|
type: import("vue").PropType<(node: any, highlightKeyword: Function, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
@@ -405,7 +385,6 @@ declare const TagInput: {
|
|
405
385
|
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
406
386
|
[key: string]: any;
|
407
387
|
}>>;
|
408
|
-
default: any;
|
409
388
|
};
|
410
389
|
tpl: {
|
411
390
|
type: import("vue").PropType<(node: any, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
@@ -413,11 +392,9 @@ declare const TagInput: {
|
|
413
392
|
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
414
393
|
[key: string]: any;
|
415
394
|
}>>;
|
416
|
-
default: any;
|
417
395
|
};
|
418
396
|
pasteFn: {
|
419
397
|
type: import("vue").PropType<(value: string) => any[]>;
|
420
|
-
default: any;
|
421
398
|
};
|
422
399
|
withValidate: {
|
423
400
|
type: BooleanConstructor;
|
@@ -593,19 +570,6 @@ declare const TagInput: {
|
|
593
570
|
allowNextFocus: boolean;
|
594
571
|
allowAutoMatch: boolean;
|
595
572
|
leftSpace: number;
|
596
|
-
createTagValidator: (tag: any) => boolean;
|
597
|
-
filterCallback: (value: string, searchKey: string | string[], list: any[]) => any[];
|
598
|
-
tagTpl: (node: any, highlightKeyword: Function, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
599
|
-
[key: string]: any;
|
600
|
-
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
601
|
-
[key: string]: any;
|
602
|
-
}>;
|
603
|
-
tpl: (node: any, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
604
|
-
[key: string]: any;
|
605
|
-
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
606
|
-
[key: string]: any;
|
607
|
-
}>;
|
608
|
-
pasteFn: (value: string) => any[];
|
609
573
|
popoverProps: {};
|
610
574
|
}> & {
|
611
575
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -736,11 +700,9 @@ declare const TagInput: {
|
|
736
700
|
};
|
737
701
|
createTagValidator: {
|
738
702
|
type: import("vue").PropType<(tag: any) => boolean>;
|
739
|
-
default: any;
|
740
703
|
};
|
741
704
|
filterCallback: {
|
742
705
|
type: import("vue").PropType<(value: string, searchKey: string | string[], list: any[]) => any[]>;
|
743
|
-
default: any;
|
744
706
|
};
|
745
707
|
tagTpl: {
|
746
708
|
type: import("vue").PropType<(node: any, highlightKeyword: Function, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
@@ -748,7 +710,6 @@ declare const TagInput: {
|
|
748
710
|
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
749
711
|
[key: string]: any;
|
750
712
|
}>>;
|
751
|
-
default: any;
|
752
713
|
};
|
753
714
|
tpl: {
|
754
715
|
type: import("vue").PropType<(node: any, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
@@ -756,11 +717,9 @@ declare const TagInput: {
|
|
756
717
|
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
757
718
|
[key: string]: any;
|
758
719
|
}>>;
|
759
|
-
default: any;
|
760
720
|
};
|
761
721
|
pasteFn: {
|
762
722
|
type: import("vue").PropType<(value: string) => any[]>;
|
763
|
-
default: any;
|
764
723
|
};
|
765
724
|
withValidate: {
|
766
725
|
type: BooleanConstructor;
|
@@ -1023,11 +982,9 @@ declare const TagInput: {
|
|
1023
982
|
};
|
1024
983
|
createTagValidator: {
|
1025
984
|
type: import("vue").PropType<(tag: any) => boolean>;
|
1026
|
-
default: any;
|
1027
985
|
};
|
1028
986
|
filterCallback: {
|
1029
987
|
type: import("vue").PropType<(value: string, searchKey: string | string[], list: any[]) => any[]>;
|
1030
|
-
default: any;
|
1031
988
|
};
|
1032
989
|
tagTpl: {
|
1033
990
|
type: import("vue").PropType<(node: any, highlightKeyword: Function, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
@@ -1035,7 +992,6 @@ declare const TagInput: {
|
|
1035
992
|
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1036
993
|
[key: string]: any;
|
1037
994
|
}>>;
|
1038
|
-
default: any;
|
1039
995
|
};
|
1040
996
|
tpl: {
|
1041
997
|
type: import("vue").PropType<(node: any, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
@@ -1043,11 +999,9 @@ declare const TagInput: {
|
|
1043
999
|
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1044
1000
|
[key: string]: any;
|
1045
1001
|
}>>;
|
1046
|
-
default: any;
|
1047
1002
|
};
|
1048
1003
|
pasteFn: {
|
1049
1004
|
type: import("vue").PropType<(value: string) => any[]>;
|
1050
|
-
default: any;
|
1051
1005
|
};
|
1052
1006
|
withValidate: {
|
1053
1007
|
type: BooleanConstructor;
|
@@ -1223,19 +1177,6 @@ declare const TagInput: {
|
|
1223
1177
|
allowNextFocus: boolean;
|
1224
1178
|
allowAutoMatch: boolean;
|
1225
1179
|
leftSpace: number;
|
1226
|
-
createTagValidator: (tag: any) => boolean;
|
1227
|
-
filterCallback: (value: string, searchKey: string | string[], list: any[]) => any[];
|
1228
|
-
tagTpl: (node: any, highlightKeyword: Function, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1229
|
-
[key: string]: any;
|
1230
|
-
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1231
|
-
[key: string]: any;
|
1232
|
-
}>;
|
1233
|
-
tpl: (node: any, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1234
|
-
[key: string]: any;
|
1235
|
-
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1236
|
-
[key: string]: any;
|
1237
|
-
}>;
|
1238
|
-
pasteFn: (value: string) => any[];
|
1239
1180
|
popoverProps: {};
|
1240
1181
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
1241
1182
|
export default TagInput;
|