bkui-vue 0.0.2-beta.35 → 0.0.2-beta.37

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.
Files changed (182) hide show
  1. package/dist/index.cjs.js +25 -25
  2. package/dist/index.esm.js +30 -14
  3. package/dist/index.umd.js +44 -44
  4. package/lib/affix/index.js +391 -1
  5. package/lib/alert/index.js +287 -1
  6. package/lib/animate-number/index.js +219 -1
  7. package/lib/backtop/index.js +264 -1
  8. package/lib/badge/index.js +304 -1
  9. package/lib/breadcrumb/index.js +379 -1
  10. package/lib/button/index.js +403 -1
  11. package/lib/card/index.js +369 -1
  12. package/lib/cascader/index.js +2095 -2
  13. package/lib/checkbox/index.js +602 -1
  14. package/lib/code-diff/index.js +5548 -1
  15. package/lib/collapse/index.js +605 -1
  16. package/lib/collapse-transition/index.js +237 -1
  17. package/lib/color-picker/index.js +2735 -1
  18. package/lib/components.js +770 -1
  19. package/lib/config-provider/index.js +377 -1
  20. package/lib/container/index.js +408 -1
  21. package/lib/date-picker/index.js +5576 -1
  22. package/lib/dialog/index.js +1324 -2
  23. package/lib/directives/index.js +1386 -2
  24. package/lib/dist.index.js +179 -1
  25. package/lib/divider/index.js +237 -1
  26. package/lib/dropdown/index.js +455 -1
  27. package/lib/exception/index.js +435 -1
  28. package/lib/fixed-navbar/index.js +222 -1
  29. package/lib/form/index.js +1004 -1
  30. package/lib/hooks.js +133 -1
  31. package/lib/icon/angle-double-down-line.js +541 -1
  32. package/lib/icon/angle-double-left-line.js +541 -1
  33. package/lib/icon/angle-double-left.js +541 -1
  34. package/lib/icon/angle-double-right-line.js +541 -1
  35. package/lib/icon/angle-double-right.js +541 -1
  36. package/lib/icon/angle-double-up-line.js +541 -1
  37. package/lib/icon/angle-down-fill.js +541 -1
  38. package/lib/icon/angle-down-line.js +541 -1
  39. package/lib/icon/angle-down.js +541 -1
  40. package/lib/icon/angle-left.js +541 -1
  41. package/lib/icon/angle-right.js +541 -1
  42. package/lib/icon/angle-up-fill.js +541 -1
  43. package/lib/icon/angle-up.js +541 -1
  44. package/lib/icon/archive-fill.js +541 -1
  45. package/lib/icon/arrows-left.js +541 -1
  46. package/lib/icon/arrows-right.js +541 -1
  47. package/lib/icon/assistant.js +541 -1
  48. package/lib/icon/audio-fill.js +541 -1
  49. package/lib/icon/bk.js +541 -1
  50. package/lib/icon/circle.js +541 -1
  51. package/lib/icon/close-line.js +541 -1
  52. package/lib/icon/close.js +541 -1
  53. package/lib/icon/code.js +541 -1
  54. package/lib/icon/cog-shape.js +541 -1
  55. package/lib/icon/collapse-left.js +541 -1
  56. package/lib/icon/copy-shape.js +541 -1
  57. package/lib/icon/copy.js +541 -1
  58. package/lib/icon/data-shape.js +541 -1
  59. package/lib/icon/del.js +541 -1
  60. package/lib/icon/doc-fill.js +541 -1
  61. package/lib/icon/done.js +541 -1
  62. package/lib/icon/down-shape.js +541 -1
  63. package/lib/icon/down-small.js +541 -1
  64. package/lib/icon/edit-line.js +541 -1
  65. package/lib/icon/ellipsis.js +541 -1
  66. package/lib/icon/enlarge-line.js +541 -1
  67. package/lib/icon/error.js +541 -1
  68. package/lib/icon/excel-fill.js +541 -1
  69. package/lib/icon/exclamation-circle-shape.js +541 -1
  70. package/lib/icon/eye.js +541 -1
  71. package/lib/icon/filliscreen-line.js +541 -1
  72. package/lib/icon/fix-line.js +541 -1
  73. package/lib/icon/fix-shape.js +541 -1
  74. package/lib/icon/folder-open.js +541 -1
  75. package/lib/icon/folder-shape-open.js +541 -1
  76. package/lib/icon/folder-shape.js +541 -1
  77. package/lib/icon/folder.js +541 -1
  78. package/lib/icon/funnel.js +541 -1
  79. package/lib/icon/help-document-fill.js +541 -1
  80. package/lib/icon/help-fill.js +541 -1
  81. package/lib/icon/help.js +541 -1
  82. package/lib/icon/image-fill.js +563 -1
  83. package/lib/icon/img-error.js +563 -1
  84. package/lib/icon/img-placehoulder.js +563 -1
  85. package/lib/icon/index.js +2353 -1
  86. package/lib/icon/info-line.js +563 -1
  87. package/lib/icon/info.js +563 -1
  88. package/lib/icon/left-shape.js +563 -1
  89. package/lib/icon/left-turn-line.js +563 -1
  90. package/lib/icon/narrow-line.js +563 -1
  91. package/lib/icon/original.js +563 -1
  92. package/lib/icon/pdf-fill.js +563 -1
  93. package/lib/icon/play-shape.js +563 -1
  94. package/lib/icon/plus.js +563 -1
  95. package/lib/icon/ppt-fill.js +563 -1
  96. package/lib/icon/qq.js +563 -1
  97. package/lib/icon/right-shape.js +563 -1
  98. package/lib/icon/right-turn-line.js +563 -1
  99. package/lib/icon/search.js +563 -1
  100. package/lib/icon/share.js +563 -1
  101. package/lib/icon/spinner.js +563 -1
  102. package/lib/icon/success.js +563 -1
  103. package/lib/icon/switcher-loading.js +563 -1
  104. package/lib/icon/text-file.js +563 -1
  105. package/lib/icon/text-fill.js +563 -1
  106. package/lib/icon/transfer.js +563 -1
  107. package/lib/icon/tree-application-shape.js +563 -1
  108. package/lib/icon/unfull-screen.js +563 -1
  109. package/lib/icon/unvisible.js +563 -1
  110. package/lib/icon/up-shape.js +563 -1
  111. package/lib/icon/upload.js +563 -1
  112. package/lib/icon/video-fill.js +563 -1
  113. package/lib/icon/warn.js +563 -1
  114. package/lib/icon/weixin-pro.js +563 -1
  115. package/lib/icon/weixin.js +563 -1
  116. package/lib/image/index.js +681 -1
  117. package/lib/index.js +195 -1
  118. package/lib/info-box/index.js +1514 -2
  119. package/lib/input/index.js +1038 -1
  120. package/lib/link/index.js +232 -1
  121. package/lib/loading/index.js +443 -1
  122. package/lib/locale/index.js +489 -1
  123. package/lib/menu/index.js +793 -1
  124. package/lib/message/index.js +1842 -2
  125. package/lib/message/messageConstructor.d.ts +1 -1
  126. package/lib/modal/index.js +407 -1
  127. package/lib/navigation/index.js +439 -1
  128. package/lib/notify/index.js +470 -1
  129. package/lib/overflow-title/index.js +547 -1
  130. package/lib/pagination/index.js +974 -1
  131. package/lib/plugin-popover/index.js +4121 -1
  132. package/lib/plugins/index.js +130 -1
  133. package/lib/pop-confirm/index.js +367 -1
  134. package/lib/popover/content.d.ts +8 -0
  135. package/lib/popover/index.d.ts +12 -0
  136. package/lib/popover/index.js +4127 -1
  137. package/lib/popover/popover.d.ts +7 -0
  138. package/lib/popover/props.d.ts +3 -0
  139. package/lib/popover2/index.js +171 -1
  140. package/lib/preset.js +164 -1
  141. package/lib/process/index.js +1146 -2
  142. package/lib/progress/index.js +495 -1
  143. package/lib/radio/index.js +693 -1
  144. package/lib/rate/index.js +406 -1
  145. package/lib/resize-layout/index.js +499 -1
  146. package/lib/search-select/index.js +3024 -2
  147. package/lib/select/index.d.ts +25 -3
  148. package/lib/select/index.js +2599 -2
  149. package/lib/select/select.d.ts +11 -1
  150. package/lib/shared/index.js +2832 -1
  151. package/lib/sideslider/index.js +1056 -2
  152. package/lib/slider/index.js +1683 -2
  153. package/lib/steps/index.js +1215 -2
  154. package/lib/swiper/index.js +404 -1
  155. package/lib/switcher/index.js +335 -1
  156. package/lib/tab/index.js +935 -1
  157. package/lib/table/index.js +6588 -1
  158. package/lib/table-column/index.js +768 -1
  159. package/lib/tag/index.js +309 -1
  160. package/lib/tag-input/index.d.ts +9 -0
  161. package/lib/tag-input/index.js +1758 -1
  162. package/lib/tag-input/tag-input.d.ts +20 -0
  163. package/lib/tag-input/tag-props.d.ts +3 -0
  164. package/lib/time-picker/index.js +142 -1
  165. package/lib/timeline/index.js +310 -1
  166. package/lib/transfer/index.js +767 -1
  167. package/lib/tree/index.js +2664 -1
  168. package/lib/upload/index.js +3257 -2
  169. package/lib/virtual-render/index.js +806 -1
  170. package/package.json +1 -1
  171. package/lib/cascader/index.js.LICENSE.txt +0 -1
  172. package/lib/dialog/index.js.LICENSE.txt +0 -1
  173. package/lib/directives/index.js.LICENSE.txt +0 -14
  174. package/lib/info-box/index.js.LICENSE.txt +0 -1
  175. package/lib/message/index.js.LICENSE.txt +0 -6
  176. package/lib/process/index.js.LICENSE.txt +0 -1
  177. package/lib/search-select/index.js.LICENSE.txt +0 -1
  178. package/lib/select/index.js.LICENSE.txt +0 -1
  179. package/lib/sideslider/index.js.LICENSE.txt +0 -1
  180. package/lib/slider/index.js.LICENSE.txt +0 -1
  181. package/lib/steps/index.js.LICENSE.txt +0 -1
  182. package/lib/upload/index.js.LICENSE.txt +0 -1
@@ -1 +1,974 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../config-provider"),require("../select"),require("../icon"),require("../popover"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../config-provider","../select","../icon","../popover"],t);else{var n="object"==typeof exports?t(require("../shared"),require("vue"),require("../config-provider"),require("../select"),require("../icon"),require("../popover")):t(e["../shared"],e.vue,e["../config-provider"],e["../select"],e["../icon"],e["../popover"]);for(var a in n)("object"==typeof exports?exports:e)[a]=n[a]}}(self,((e,t,n,a,r,o)=>(()=>{"use strict";var i={2717:e=>{e.exports=n},6870:e=>{e.exports=r},5537:e=>{e.exports=o},6422:e=>{e.exports=a},4212:t=>{t.exports=e},748:e=>{e.exports=t}},l={};function u(e){var t=l[e];if(void 0!==t)return t.exports;var n=l[e]={exports:{}};return i[e](n,n.exports,u),n.exports}u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},u.d=(e,t)=>{for(var n in t)u.o(t,n)&&!u.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return(()=>{u.r(c),u.d(c,{BkPagination:()=>g,default:()=>y});var e=u(4212);function t(e){return t="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},t(e)}function n(e,n,a){return(n=function(e){var n=function(e,n){if("object"!==t(e)||null===e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var r=a.call(e,"string");if("object"!==t(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===t(n)?n:String(n)}(n))in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a,e}function a(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 r(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,o,i,l=[],u=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(a=o.call(n)).done)&&(l.push(a.value),l.length!==t);u=!0);}catch(e){c=!0,r=e}finally{try{if(!u&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw r}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(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)?a(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 o=u(748),i=u(2717),l=u(6422),s=u.n(l),f=u(6870),d=u(5537),v=u.n(d);var p={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 m=(0,o.defineComponent)({name:"Pagination",props:p,emits:["update:modelValue","change","update:limit","limitChange"],setup:function(e,t){var a=(0,i.useLocale)("pagination"),u=(0,o.ref)(0),c=(0,o.toRefs)(e),d=c.count,p=c.limit,m=function(e){return function(t){var a,r=t.isFirst,l=t.isLast,u=(0,o.getCurrentInstance)().props;if(!u.showTotalCount)return null;var c=(0,i.usePrefix)().resolveClassName;return(0,o.createVNode)("div",(0,o.mergeProps)({class:(a={},n(a,"".concat(c("pagination-total")),!0),n(a,"is-first",r),n(a,"is-last",l),a)},{disabled:u.disabled}),[e.value.total,(0,o.createVNode)("div",{class:"".concat(c("pagination-total-num"))},[u.count]),e.value.strip])}}(a),g=function(){var e=(0,o.getCurrentInstance)().proxy,t=(0,o.ref)(1),a=(0,o.computed)((function(){return 1===t.value})),r=(0,o.computed)((function(){return t.value===e.totalPageNum})),l=(0,o.ref)(!1),u=(0,o.ref)(!1),c=(0,o.computed)((function(){l.value=!1,u.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&&(l.value=t.value-r>2,u.value=t.value+r<e.totalPageNum-1);for(var o=Math.min(e.totalPageNum-5,Math.max(2,t.value-r)),i=o;i<o+5;i++)n.push(i);return n}));(0,o.watch)((function(){return e.modelValue}),(function(n){(0,o.nextTick)((function(){n>=1&&n<=e.totalPageNum?t.value=n:t.value=n<1?1:e.totalPageNum}))}),{immediate:!0}),(0,o.nextTick)((function(){(0,o.watch)((function(){return e.totalPageNum}),(function(e){t.value>e&&(t.value=e)}))}));var s=function(){a.value||(t.value=t.value-1)},d=function(){r.value||(t.value=t.value+1)},v=function(e){e!==t.value&&(t.value=e)},p=function(){t.value=Math.max(1,t.value-5)},m=function(){t.value=Math.min(e.totalPageNum,t.value+5)},g=(0,i.usePrefix)().resolveClassName;return{current:t,render:function(i){var y,b,h,N,P,x=i.isFirst,V=i.isLast;return(0,o.createVNode)("div",{class:(y={},n(y,"".concat(g("pagination-list")),!0),n(y,"is-first",x),n(y,"is-last",V),y)},[(0,o.createVNode)("div",{class:(b={},n(b,"".concat(g("pagination-list-pre")),!0),n(b,"is-disabled",a.value),b),onClick:s},[e.prevText||(0,o.createVNode)(f.AngleLeft,null,null)]),(0,o.createVNode)("div",{class:(h={},n(h,"".concat(g("pagination-list-item")),!0),n(h,"is-active",1===t.value),h),key:"1",onClick:function(){return v(1)}},[(0,o.createTextVNode)("1")]),l.value&&(0,o.createVNode)("div",{key:"pre-batch",class:"".concat(g("pagination-list-pre-batch")),onClick:p},[(0,o.createVNode)(f.Ellipsis,null,null)]),c.value.map((function(e){var a;return(0,o.createVNode)("div",{class:(a={},n(a,"".concat(g("pagination-list-item")),!0),n(a,"is-active",t.value===e),a),key:e,onClick:function(){return v(e)}},[e])})),u.value&&(0,o.createVNode)("div",{key:"next-batch",class:"".concat(g("pagination-list-next-batch")),onClick:m},[(0,o.createVNode)(f.Ellipsis,null,null)]),e.totalPageNum>1&&(0,o.createVNode)("div",{class:(N={},n(N,"".concat(g("pagination-list-item")),!0),n(N,"is-active",t.value===e.totalPageNum),N),key:"last",onClick:function(){return v(e.totalPageNum)}},[e.totalPageNum]),(0,o.createVNode)("div",{class:(P={},n(P,"".concat(g("pagination-list-pre")),!0),n(P,"is-disabled",r.value),P),onClick:d},[e.nextText||(0,o.createVNode)(f.AngleRight,null,null)])])}}}(),y=g.current,b=g.render,h=function(){var e=(0,o.getCurrentInstance)().proxy,t=(0,o.ref)(null),a=(0,o.ref)(!1),r=(0,o.ref)(1),l=(0,o.computed)((function(){return 1===r.value})),u=(0,o.computed)((function(){return r.value===e.totalPageNum})),c=0,s=(0,o.computed)((function(){for(var t=[],n=1;n<=e.totalPageNum;n++)t.push(n);return t}));(0,o.watch)((function(){return e.modelValue}),(function(t){(0,o.nextTick)((function(){t>=1&&t<=e.totalPageNum?r.value=t:r.value=t<1?1:e.totalPageNum,c=r.value}))}),{immediate:!0}),(0,o.nextTick)((function(){(0,o.watch)((function(){return e.totalPageNum}),(function(e){r.value>e&&(r.value=e)}))}));var d=function(){l.value||(r.value=r.value-1)},p=function(){u.value||(r.value=r.value+1)},m=function(){a.value=!0},g=function(){a.value=!1,t.value.textContent="".concat(c),c!==r.value&&(r.value=c)},y=function(t){var n=t.target,a=Number(n.textContent);!a||a<1||a>e.totalPageNum||a===r.value||(c=a)},b=function(e){["Enter","NumpadEnter"].includes(e.code)&&(e.preventDefault(),g())},h=(0,i.usePrefix)().resolveClassName;return{current:r,render:function(){var i,N;return(0,o.createVNode)("div",{class:"".concat(h("pagination-small-list"))},[(0,o.createVNode)("div",{class:(i={},n(i,"".concat(h("pagination-btn-pre")),!0),n(i,"is-disabled",l.value),i),onClick:d},[(0,o.createVNode)(f.AngleLeft,null,null)]),(0,o.createVNode)(v(),{theme:"light",trigger:"click",arrow:!1,width:56,boundary:"body",placement:"bottom"},{default:function(){var i;return(0,o.createVNode)("div",{class:(i={},n(i,"".concat(h("pagination-picker")),!0),n(i,"is-focused",a.value),i)},[(0,o.createVNode)("span",{ref:t,class:"".concat(h("pagination-editor")),contenteditable:!0,spellcheck:"false",onFocus:m,onBlur:g,onInput:y,onKeydown:b},[r.value]),(0,o.createVNode)("span",null,[(0,o.createTextVNode)("/")]),(0,o.createVNode)("span",{class:"".concat(h("pagination-small-list-total"))},[e.totalPageNum])])},content:function(){return(0,o.createVNode)("div",{class:"".concat(h("pagination-picker-list"))},[s.value.map((function(e){return(0,o.createVNode)("div",{class:{item:!0,"is-actived":e===r.value},key:e,onClick:function(){return function(e){c=e,g()}(e)}},[e])}))])}}),(0,o.createVNode)("div",{class:(N={},n(N,"".concat(h("pagination-btn-next")),!0),n(N,"is-disabled",u.value),N),onClick:p},[(0,o.createVNode)(f.AngleRight,null,null)])])}}}(),N=h.current,P=h.render,x=function(e){var t=(0,o.getCurrentInstance)().proxy,a=(0,o.ref)(t.limit);(0,o.watch)((function(){return t.limit}),(function(e){a.value=e})),(0,o.watch)((function(){return t.limitList}),(function(e){(0,o.nextTick)((function(){if(!e.includes(a.value)){var t=r(e,1);a.value=t[0]}}))}),{immediate:!0});var u=function(e){a.value=e},c=(0,i.usePrefix)().resolveClassName;return{limit:a,render:function(r){var i,f,d,v=r.isFirst,p=r.isLast;return t.showLimit?(0,o.createVNode)("div",(0,o.mergeProps)({class:(f={},n(f,c("pagination-limit"),!0),n(f,"is-first",v),n(f,"is-last",p),f)},{disabled:t.disabled}),[(0,o.createVNode)("div",null,[e.value.eachPage]),(0,o.createVNode)(s(),{class:"".concat(c("pagination-limit-select")),clearable:!1,size:"small",withValidate:!1,modelValue:a.value,onChange:u,disabled:t.disabled},(d=i=t.limitList.map((function(e,t){return(0,o.createVNode)(l.BkOption,{id:e,name:"".concat(e),key:"".concat(t,"_").concat(e)},null)})),"function"==typeof d||"[object Object]"===Object.prototype.toString.call(d)&&!(0,o.isVNode)(d)?i:{default:function(){return[i]}})),(0,o.createVNode)("div",null,[e.value.strip])]):null}}}(a),V=x.limit,T=x.render;(0,o.watch)([d,V,p],(function(e){var t=r(e,2),n=t[0],a=t[1],o=Math.ceil(n/a);u.value=o<1?1:o}),{immediate:!0}),(0,o.watch)(y,(function(e){t.emit("update:modelValue",e),t.emit("change",e)})),(0,o.watch)(N,(function(n){e.small&&(t.emit("update:modelValue",n),t.emit("change",n))})),(0,o.watch)(V,(function(e){t.emit("limitChange",e)}));var C=(0,i.usePrefix)().resolveClassName;return{totalPageNum:u,renderTotal:m,renderList:b,renderLimit:T,renderSmallList:P,resolveClassName:C}},render:function(){var t,a=this,r=(0,e.classes)((n(t={},"".concat(this.resolveClassName("pagination")),!0),n(t,"".concat(this.resolveClassName("pagination--".concat(this.size))),!0),n(t,"is-align-".concat(this.align),!0),t)),i={total:this.renderTotal,list:this.small?this.renderSmallList:this.renderList,limit:this.renderLimit};return(0,o.createVNode)("div",{class:r},[this.layout.map((function(e,t){return i[e]({isFirst:0===t,isLast:t===a.layout.length-1})}))])}});var g=(0,e.withInstall)(m);const y=g})(),c})()));
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory(require("../shared"), require("vue"), require("../config-provider"), require("../select"), require("../icon"), require("../popover"));
4
+ else if(typeof define === 'function' && define.amd)
5
+ define(["../shared", "vue", "../config-provider", "../select", "../icon", "../popover"], factory);
6
+ else {
7
+ var a = typeof exports === 'object' ? factory(require("../shared"), require("vue"), require("../config-provider"), require("../select"), require("../icon"), require("../popover")) : factory(root["../shared"], root["vue"], root["../config-provider"], root["../select"], root["../icon"], root["../popover"]);
8
+ for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
+ }
10
+ })(self, (__WEBPACK_EXTERNAL_MODULE__4212__, __WEBPACK_EXTERNAL_MODULE__748__, __WEBPACK_EXTERNAL_MODULE__2717__, __WEBPACK_EXTERNAL_MODULE__6422__, __WEBPACK_EXTERNAL_MODULE__6870__, __WEBPACK_EXTERNAL_MODULE__5537__) => {
11
+ return /******/ (() => { // webpackBootstrap
12
+ /******/ "use strict";
13
+ /******/ var __webpack_modules__ = ({
14
+
15
+ /***/ 2717:
16
+ /***/ ((module) => {
17
+
18
+ module.exports = __WEBPACK_EXTERNAL_MODULE__2717__;
19
+
20
+ /***/ }),
21
+
22
+ /***/ 6870:
23
+ /***/ ((module) => {
24
+
25
+ module.exports = __WEBPACK_EXTERNAL_MODULE__6870__;
26
+
27
+ /***/ }),
28
+
29
+ /***/ 5537:
30
+ /***/ ((module) => {
31
+
32
+ module.exports = __WEBPACK_EXTERNAL_MODULE__5537__;
33
+
34
+ /***/ }),
35
+
36
+ /***/ 6422:
37
+ /***/ ((module) => {
38
+
39
+ module.exports = __WEBPACK_EXTERNAL_MODULE__6422__;
40
+
41
+ /***/ }),
42
+
43
+ /***/ 4212:
44
+ /***/ ((module) => {
45
+
46
+ module.exports = __WEBPACK_EXTERNAL_MODULE__4212__;
47
+
48
+ /***/ }),
49
+
50
+ /***/ 748:
51
+ /***/ ((module) => {
52
+
53
+ module.exports = __WEBPACK_EXTERNAL_MODULE__748__;
54
+
55
+ /***/ })
56
+
57
+ /******/ });
58
+ /************************************************************************/
59
+ /******/ // The module cache
60
+ /******/ var __webpack_module_cache__ = {};
61
+ /******/
62
+ /******/ // The require function
63
+ /******/ function __webpack_require__(moduleId) {
64
+ /******/ // Check if module is in cache
65
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
66
+ /******/ if (cachedModule !== undefined) {
67
+ /******/ return cachedModule.exports;
68
+ /******/ }
69
+ /******/ // Create a new module (and put it into the cache)
70
+ /******/ var module = __webpack_module_cache__[moduleId] = {
71
+ /******/ // no module.id needed
72
+ /******/ // no module.loaded needed
73
+ /******/ exports: {}
74
+ /******/ };
75
+ /******/
76
+ /******/ // Execute the module function
77
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
78
+ /******/
79
+ /******/ // Return the exports of the module
80
+ /******/ return module.exports;
81
+ /******/ }
82
+ /******/
83
+ /************************************************************************/
84
+ /******/ /* webpack/runtime/compat get default export */
85
+ /******/ (() => {
86
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
87
+ /******/ __webpack_require__.n = (module) => {
88
+ /******/ var getter = module && module.__esModule ?
89
+ /******/ () => (module['default']) :
90
+ /******/ () => (module);
91
+ /******/ __webpack_require__.d(getter, { a: getter });
92
+ /******/ return getter;
93
+ /******/ };
94
+ /******/ })();
95
+ /******/
96
+ /******/ /* webpack/runtime/define property getters */
97
+ /******/ (() => {
98
+ /******/ // define getter functions for harmony exports
99
+ /******/ __webpack_require__.d = (exports, definition) => {
100
+ /******/ for(var key in definition) {
101
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
102
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
103
+ /******/ }
104
+ /******/ }
105
+ /******/ };
106
+ /******/ })();
107
+ /******/
108
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
109
+ /******/ (() => {
110
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
111
+ /******/ })();
112
+ /******/
113
+ /******/ /* webpack/runtime/make namespace object */
114
+ /******/ (() => {
115
+ /******/ // define __esModule on exports
116
+ /******/ __webpack_require__.r = (exports) => {
117
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
118
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
119
+ /******/ }
120
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
121
+ /******/ };
122
+ /******/ })();
123
+ /******/
124
+ /************************************************************************/
125
+ var __webpack_exports__ = {};
126
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
127
+ (() => {
128
+ // ESM COMPAT FLAG
129
+ __webpack_require__.r(__webpack_exports__);
130
+
131
+ // EXPORTS
132
+ __webpack_require__.d(__webpack_exports__, {
133
+ BkPagination: () => (/* binding */ BkPagination),
134
+ "default": () => (/* binding */ src)
135
+ });
136
+
137
+ // EXTERNAL MODULE: external "../shared"
138
+ var external_shared_ = __webpack_require__(4212);
139
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
140
+ function _typeof(obj) {
141
+ "@babel/helpers - typeof";
142
+
143
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
144
+ return typeof obj;
145
+ } : function (obj) {
146
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
147
+ }, _typeof(obj);
148
+ }
149
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
150
+
151
+ function _toPrimitive(input, hint) {
152
+ if (_typeof(input) !== "object" || input === null) return input;
153
+ var prim = input[Symbol.toPrimitive];
154
+ if (prim !== undefined) {
155
+ var res = prim.call(input, hint || "default");
156
+ if (_typeof(res) !== "object") return res;
157
+ throw new TypeError("@@toPrimitive must return a primitive value.");
158
+ }
159
+ return (hint === "string" ? String : Number)(input);
160
+ }
161
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
162
+
163
+
164
+ function _toPropertyKey(arg) {
165
+ var key = _toPrimitive(arg, "string");
166
+ return _typeof(key) === "symbol" ? key : String(key);
167
+ }
168
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
169
+
170
+ function _defineProperty(obj, key, value) {
171
+ key = _toPropertyKey(key);
172
+ if (key in obj) {
173
+ Object.defineProperty(obj, key, {
174
+ value: value,
175
+ enumerable: true,
176
+ configurable: true,
177
+ writable: true
178
+ });
179
+ } else {
180
+ obj[key] = value;
181
+ }
182
+ return obj;
183
+ }
184
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
185
+ function _arrayWithHoles(arr) {
186
+ if (Array.isArray(arr)) return arr;
187
+ }
188
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
189
+ function _iterableToArrayLimit(arr, i) {
190
+ var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
191
+ if (null != _i) {
192
+ var _s,
193
+ _e,
194
+ _x,
195
+ _r,
196
+ _arr = [],
197
+ _n = !0,
198
+ _d = !1;
199
+ try {
200
+ if (_x = (_i = _i.call(arr)).next, 0 === i) {
201
+ if (Object(_i) !== _i) return;
202
+ _n = !1;
203
+ } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
204
+ } catch (err) {
205
+ _d = !0, _e = err;
206
+ } finally {
207
+ try {
208
+ if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
209
+ } finally {
210
+ if (_d) throw _e;
211
+ }
212
+ }
213
+ return _arr;
214
+ }
215
+ }
216
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
217
+ function _arrayLikeToArray(arr, len) {
218
+ if (len == null || len > arr.length) len = arr.length;
219
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
220
+ return arr2;
221
+ }
222
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
223
+
224
+ function _unsupportedIterableToArray(o, minLen) {
225
+ if (!o) return;
226
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
227
+ var n = Object.prototype.toString.call(o).slice(8, -1);
228
+ if (n === "Object" && o.constructor) n = o.constructor.name;
229
+ if (n === "Map" || n === "Set") return Array.from(o);
230
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
231
+ }
232
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
233
+ function _nonIterableRest() {
234
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
235
+ }
236
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js
237
+
238
+
239
+
240
+
241
+ function _slicedToArray(arr, i) {
242
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
243
+ }
244
+ // EXTERNAL MODULE: external "vue"
245
+ var external_vue_ = __webpack_require__(748);
246
+ // EXTERNAL MODULE: external "../config-provider"
247
+ var external_config_provider_ = __webpack_require__(2717);
248
+ // EXTERNAL MODULE: external "../select"
249
+ var external_select_ = __webpack_require__(6422);
250
+ var external_select_default = /*#__PURE__*/__webpack_require__.n(external_select_);
251
+ ;// CONCATENATED MODULE: ../../packages/pagination/src/use-limit.tsx
252
+
253
+
254
+
255
+ /*
256
+ * Tencent is pleased to support the open source community by making
257
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
258
+ *
259
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
260
+ *
261
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
262
+ *
263
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
264
+ *
265
+ * ---------------------------------------------------
266
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
267
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
268
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
269
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
270
+ *
271
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
272
+ * the Software.
273
+ *
274
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
275
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
276
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
277
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
278
+ * IN THE SOFTWARE.
279
+ */
280
+
281
+
282
+
283
+ function _isSlot(s) {
284
+ return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_.isVNode)(s);
285
+ }
286
+ /* harmony default export */ const use_limit = (function (t) {
287
+ var _getCurrentInstance = (0,external_vue_.getCurrentInstance)(),
288
+ proxy = _getCurrentInstance.proxy;
289
+ var localLimit = (0,external_vue_.ref)(proxy.limit);
290
+ /**
291
+ * @desc 同步props.limit的变化
292
+ */
293
+ (0,external_vue_.watch)(function () {
294
+ return proxy.limit;
295
+ }, function (limit) {
296
+ localLimit.value = limit;
297
+ });
298
+ /**
299
+ * @desc 同步props.limitlist的变化并判断props.limit的合法性
300
+ */
301
+ (0,external_vue_.watch)(function () {
302
+ return proxy.limitList;
303
+ }, function (limitList) {
304
+ (0,external_vue_.nextTick)(function () {
305
+ if (!limitList.includes(localLimit.value)) {
306
+ var _limitList = _slicedToArray(limitList, 1);
307
+ localLimit.value = _limitList[0];
308
+ }
309
+ });
310
+ }, {
311
+ immediate: true
312
+ });
313
+ /**
314
+ * @desc 选择每页条数
315
+ */
316
+ var handleLimitChange = function handleLimitChange(limit) {
317
+ localLimit.value = limit;
318
+ };
319
+ var _usePrefix = (0,external_config_provider_.usePrefix)(),
320
+ resolveClassName = _usePrefix.resolveClassName;
321
+ var render = function render(_ref) {
322
+ var _slot;
323
+ var _ref2;
324
+ var isFirst = _ref.isFirst,
325
+ isLast = _ref.isLast;
326
+ if (!proxy.showLimit) {
327
+ return null;
328
+ }
329
+ return (0,external_vue_.createVNode)("div", (0,external_vue_.mergeProps)({
330
+ "class": (_ref2 = {}, _defineProperty(_ref2, resolveClassName('pagination-limit'), true), _defineProperty(_ref2, 'is-first', isFirst), _defineProperty(_ref2, 'is-last', isLast), _ref2)
331
+ }, {
332
+ disabled: proxy.disabled
333
+ }), [(0,external_vue_.createVNode)("div", null, [t.value.eachPage]), (0,external_vue_.createVNode)((external_select_default()), {
334
+ "class": "".concat(resolveClassName('pagination-limit-select')),
335
+ "clearable": false,
336
+ "size": "small",
337
+ "withValidate": false,
338
+ "modelValue": localLimit.value,
339
+ "onChange": handleLimitChange,
340
+ "disabled": proxy.disabled
341
+ }, _isSlot(_slot = proxy.limitList.map(function (num, index) {
342
+ return (0,external_vue_.createVNode)(external_select_.BkOption, {
343
+ "id": num,
344
+ "name": "".concat(num),
345
+ "key": "".concat(index, "_").concat(num)
346
+ }, null);
347
+ })) ? _slot : {
348
+ "default": function _default() {
349
+ return [_slot];
350
+ }
351
+ }), (0,external_vue_.createVNode)("div", null, [t.value.strip])]);
352
+ };
353
+ return {
354
+ limit: localLimit,
355
+ render: render
356
+ };
357
+ });
358
+ // EXTERNAL MODULE: external "../icon"
359
+ var external_icon_ = __webpack_require__(6870);
360
+ ;// CONCATENATED MODULE: ../../packages/pagination/src/use-list.tsx
361
+
362
+
363
+ /*
364
+ * Tencent is pleased to support the open source community by making
365
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
366
+ *
367
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
368
+ *
369
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
370
+ *
371
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
372
+ *
373
+ * ---------------------------------------------------
374
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
375
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
376
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
377
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
378
+ *
379
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
380
+ * the Software.
381
+ *
382
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
383
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
384
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
385
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
386
+ * IN THE SOFTWARE.
387
+ */
388
+
389
+
390
+
391
+ var PAGE_ITEMS_NUM = 5;
392
+ /* harmony default export */ const use_list = (function () {
393
+ var _getCurrentInstance = (0,external_vue_.getCurrentInstance)(),
394
+ proxy = _getCurrentInstance.proxy;
395
+ var localCurrent = (0,external_vue_.ref)(1);
396
+ var isPagePreDisabled = (0,external_vue_.computed)(function () {
397
+ return localCurrent.value === 1;
398
+ });
399
+ var isPageNextDisabled = (0,external_vue_.computed)(function () {
400
+ return localCurrent.value === proxy.totalPageNum;
401
+ });
402
+ var showPreBatch = (0,external_vue_.ref)(false);
403
+ var showNextBatch = (0,external_vue_.ref)(false);
404
+ var list = (0,external_vue_.computed)(function () {
405
+ showPreBatch.value = false;
406
+ showNextBatch.value = false;
407
+ var stack = [];
408
+ if (proxy.totalPageNum <= PAGE_ITEMS_NUM + 2) {
409
+ for (var i = 2; i <= proxy.totalPageNum - 1; i++) {
410
+ stack.push(i);
411
+ }
412
+ return stack;
413
+ }
414
+ var pageItemsNumHalf = Math.floor(PAGE_ITEMS_NUM / 2);
415
+ if (proxy.totalPageNum > PAGE_ITEMS_NUM) {
416
+ showPreBatch.value = localCurrent.value - pageItemsNumHalf > 2;
417
+ showNextBatch.value = localCurrent.value + pageItemsNumHalf < proxy.totalPageNum - 1;
418
+ }
419
+ var start = Math.min(proxy.totalPageNum - PAGE_ITEMS_NUM, Math.max(2, localCurrent.value - pageItemsNumHalf));
420
+ for (var _i = start; _i < start + PAGE_ITEMS_NUM; _i++) {
421
+ stack.push(_i);
422
+ }
423
+ return stack;
424
+ });
425
+ (0,external_vue_.watch)(function () {
426
+ return proxy.modelValue;
427
+ }, function (modelValue) {
428
+ // nextTick延后执行,保证proxy.totalPageNum计算正确
429
+ (0,external_vue_.nextTick)(function () {
430
+ if (modelValue >= 1 && modelValue <= proxy.totalPageNum) {
431
+ localCurrent.value = modelValue;
432
+ } else if (modelValue < 1) {
433
+ localCurrent.value = 1;
434
+ } else {
435
+ localCurrent.value = proxy.totalPageNum;
436
+ }
437
+ });
438
+ }, {
439
+ immediate: true
440
+ });
441
+ // 切换limit时会导致totalPageNum变小旧的current可能会超出范围,修正localCurrent
442
+ (0,external_vue_.nextTick)(function () {
443
+ (0,external_vue_.watch)(function () {
444
+ return proxy.totalPageNum;
445
+ }, function (totalPageNum) {
446
+ if (localCurrent.value > totalPageNum) {
447
+ localCurrent.value = totalPageNum;
448
+ }
449
+ });
450
+ });
451
+ /**
452
+ * @desc 上一页
453
+ */
454
+ var handlePrePage = function handlePrePage() {
455
+ if (isPagePreDisabled.value) {
456
+ return;
457
+ }
458
+ localCurrent.value = localCurrent.value - 1;
459
+ };
460
+ /**
461
+ * @desc 下一页
462
+ */
463
+ var handleNextPage = function handleNextPage() {
464
+ if (isPageNextDisabled.value) {
465
+ return;
466
+ }
467
+ localCurrent.value = localCurrent.value + 1;
468
+ };
469
+ /**
470
+ * @desc 跳转指定页码
471
+ * @param { Number } totalPageNum
472
+ */
473
+ var handleItemClick = function handleItemClick(totalPageNum) {
474
+ if (totalPageNum === localCurrent.value) {
475
+ return;
476
+ }
477
+ localCurrent.value = totalPageNum;
478
+ };
479
+ /**
480
+ * @desc 上一批分页
481
+ */
482
+ var handlePreBatch = function handlePreBatch() {
483
+ localCurrent.value = Math.max(1, localCurrent.value - PAGE_ITEMS_NUM);
484
+ };
485
+ /**
486
+ * @desc 下一批分页
487
+ */
488
+ var handleNextBatch = function handleNextBatch() {
489
+ localCurrent.value = Math.min(proxy.totalPageNum, localCurrent.value + PAGE_ITEMS_NUM);
490
+ };
491
+ var _usePrefix = (0,external_config_provider_.usePrefix)(),
492
+ resolveClassName = _usePrefix.resolveClassName;
493
+ var render = function render(_ref) {
494
+ var _ref2, _ref3, _ref4, _ref6, _ref7;
495
+ var isFirst = _ref.isFirst,
496
+ isLast = _ref.isLast;
497
+ return (0,external_vue_.createVNode)("div", {
498
+ "class": (_ref2 = {}, _defineProperty(_ref2, "".concat(resolveClassName('pagination-list')), true), _defineProperty(_ref2, 'is-first', isFirst), _defineProperty(_ref2, 'is-last', isLast), _ref2)
499
+ }, [(0,external_vue_.createVNode)("div", {
500
+ "class": (_ref3 = {}, _defineProperty(_ref3, "".concat(resolveClassName('pagination-list-pre')), true), _defineProperty(_ref3, 'is-disabled', isPagePreDisabled.value), _ref3),
501
+ "onClick": handlePrePage
502
+ }, [proxy.prevText || (0,external_vue_.createVNode)(external_icon_.AngleLeft, null, null)]), (0,external_vue_.createVNode)("div", {
503
+ "class": (_ref4 = {}, _defineProperty(_ref4, "".concat(resolveClassName('pagination-list-item')), true), _defineProperty(_ref4, 'is-active', localCurrent.value === 1), _ref4),
504
+ "key": "1",
505
+ "onClick": function onClick() {
506
+ return handleItemClick(1);
507
+ }
508
+ }, [(0,external_vue_.createTextVNode)("1")]), showPreBatch.value && (0,external_vue_.createVNode)("div", {
509
+ "key": "pre-batch",
510
+ "class": "".concat(resolveClassName('pagination-list-pre-batch')),
511
+ "onClick": handlePreBatch
512
+ }, [(0,external_vue_.createVNode)(external_icon_.Ellipsis, null, null)]), list.value.map(function (num) {
513
+ var _ref5;
514
+ return (0,external_vue_.createVNode)("div", {
515
+ "class": (_ref5 = {}, _defineProperty(_ref5, "".concat(resolveClassName('pagination-list-item')), true), _defineProperty(_ref5, 'is-active', localCurrent.value === num), _ref5),
516
+ "key": num,
517
+ "onClick": function onClick() {
518
+ return handleItemClick(num);
519
+ }
520
+ }, [num]);
521
+ }), showNextBatch.value && (0,external_vue_.createVNode)("div", {
522
+ "key": "next-batch",
523
+ "class": "".concat(resolveClassName('pagination-list-next-batch')),
524
+ "onClick": handleNextBatch
525
+ }, [(0,external_vue_.createVNode)(external_icon_.Ellipsis, null, null)]), proxy.totalPageNum > 1 && (0,external_vue_.createVNode)("div", {
526
+ "class": (_ref6 = {}, _defineProperty(_ref6, "".concat(resolveClassName('pagination-list-item')), true), _defineProperty(_ref6, 'is-active', localCurrent.value === proxy.totalPageNum), _ref6),
527
+ "key": "last",
528
+ "onClick": function onClick() {
529
+ return handleItemClick(proxy.totalPageNum);
530
+ }
531
+ }, [proxy.totalPageNum]), (0,external_vue_.createVNode)("div", {
532
+ "class": (_ref7 = {}, _defineProperty(_ref7, "".concat(resolveClassName('pagination-list-pre')), true), _defineProperty(_ref7, 'is-disabled', isPageNextDisabled.value), _ref7),
533
+ "onClick": handleNextPage
534
+ }, [proxy.nextText || (0,external_vue_.createVNode)(external_icon_.AngleRight, null, null)])]);
535
+ };
536
+ return {
537
+ current: localCurrent,
538
+ render: render
539
+ };
540
+ });
541
+ // EXTERNAL MODULE: external "../popover"
542
+ var external_popover_ = __webpack_require__(5537);
543
+ var external_popover_default = /*#__PURE__*/__webpack_require__.n(external_popover_);
544
+ ;// CONCATENATED MODULE: ../../packages/pagination/src/use-small-list.tsx
545
+
546
+
547
+ /*
548
+ * Tencent is pleased to support the open source community by making
549
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
550
+ *
551
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
552
+ *
553
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
554
+ *
555
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
556
+ *
557
+ * ---------------------------------------------------
558
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
559
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
560
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
561
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
562
+ *
563
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
564
+ * the Software.
565
+ *
566
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
567
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
568
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
569
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
570
+ * IN THE SOFTWARE.
571
+ */
572
+
573
+
574
+
575
+
576
+ /* harmony default export */ const use_small_list = (function () {
577
+ var _getCurrentInstance = (0,external_vue_.getCurrentInstance)(),
578
+ proxy = _getCurrentInstance.proxy;
579
+ var inputRef = (0,external_vue_.ref)(null);
580
+ var isFocused = (0,external_vue_.ref)(false);
581
+ var localCurrent = (0,external_vue_.ref)(1);
582
+ var isPagePreDisabled = (0,external_vue_.computed)(function () {
583
+ return localCurrent.value === 1;
584
+ });
585
+ var isPageNextDisabled = (0,external_vue_.computed)(function () {
586
+ return localCurrent.value === proxy.totalPageNum;
587
+ });
588
+ // 缓存input输入,失焦或者enter键触发提交
589
+ var inputMemo = 0;
590
+ // 页码可选列表
591
+ var list = (0,external_vue_.computed)(function () {
592
+ var stack = [];
593
+ for (var i = 1; i <= proxy.totalPageNum; i++) {
594
+ stack.push(i);
595
+ }
596
+ return stack;
597
+ });
598
+ (0,external_vue_.watch)(function () {
599
+ return proxy.modelValue;
600
+ }, function (modelValue) {
601
+ // nextTick延后执行,保证proxy.totalPageNum计算正确
602
+ (0,external_vue_.nextTick)(function () {
603
+ if (modelValue >= 1 && modelValue <= proxy.totalPageNum) {
604
+ localCurrent.value = modelValue;
605
+ } else if (modelValue < 1) {
606
+ localCurrent.value = 1;
607
+ } else {
608
+ localCurrent.value = proxy.totalPageNum;
609
+ }
610
+ inputMemo = localCurrent.value;
611
+ });
612
+ }, {
613
+ immediate: true
614
+ });
615
+ // 切换limit时会导致totalPageNum变小旧的current可能会超出范围,修正localCurrent
616
+ (0,external_vue_.nextTick)(function () {
617
+ (0,external_vue_.watch)(function () {
618
+ return proxy.totalPageNum;
619
+ }, function (totalPageNum) {
620
+ if (localCurrent.value > totalPageNum) {
621
+ localCurrent.value = totalPageNum;
622
+ }
623
+ });
624
+ });
625
+ /**
626
+ * @desc 上一页
627
+ */
628
+ var handlePrePage = function handlePrePage() {
629
+ if (isPagePreDisabled.value) {
630
+ return;
631
+ }
632
+ localCurrent.value = localCurrent.value - 1;
633
+ };
634
+ /**
635
+ * @desc 下一页
636
+ */
637
+ var handleNextPage = function handleNextPage() {
638
+ if (isPageNextDisabled.value) {
639
+ return;
640
+ }
641
+ localCurrent.value = localCurrent.value + 1;
642
+ };
643
+ /**
644
+ * @desc 获得焦点
645
+ */
646
+ var handlePageEditorFocus = function handlePageEditorFocus() {
647
+ isFocused.value = true;
648
+ };
649
+ /**
650
+ * @desc 失去焦点
651
+ */
652
+ var handlePageEditorBlur = function handlePageEditorBlur() {
653
+ isFocused.value = false;
654
+ inputRef.value.textContent = "".concat(inputMemo);
655
+ if (inputMemo !== localCurrent.value) {
656
+ localCurrent.value = inputMemo;
657
+ }
658
+ };
659
+ /**
660
+ * @desc 键盘输入
661
+ * @param { Event } event
662
+ */
663
+ var handlePageEditorInput = function handlePageEditorInput(event) {
664
+ var $target = event.target;
665
+ var value = Number($target.textContent);
666
+ // 无效值不抛出事件
667
+ if (!value || value < 1 || value > proxy.totalPageNum || value === localCurrent.value) {
668
+ return;
669
+ }
670
+ ;
671
+ inputMemo = value;
672
+ };
673
+ /**
674
+ * @desc 处理Enter事件
675
+ * @param { KeyboardEvent } event
676
+ */
677
+ var handlePageEditorKeydown = function handlePageEditorKeydown(event) {
678
+ // 阻止默认enter事件(keycode判断可能会被弃用)
679
+ if (['Enter', 'NumpadEnter'].includes(event.code)) {
680
+ event.preventDefault();
681
+ handlePageEditorBlur();
682
+ }
683
+ };
684
+ /**
685
+ * @desc 更新
686
+ */
687
+ var handlePageChange = function handlePageChange(item) {
688
+ inputMemo = item;
689
+ handlePageEditorBlur();
690
+ };
691
+ var _usePrefix = (0,external_config_provider_.usePrefix)(),
692
+ resolveClassName = _usePrefix.resolveClassName;
693
+ var render = function render() {
694
+ var _ref, _ref3;
695
+ return (0,external_vue_.createVNode)("div", {
696
+ "class": "".concat(resolveClassName('pagination-small-list'))
697
+ }, [(0,external_vue_.createVNode)("div", {
698
+ "class": (_ref = {}, _defineProperty(_ref, "".concat(resolveClassName('pagination-btn-pre')), true), _defineProperty(_ref, 'is-disabled', isPagePreDisabled.value), _ref),
699
+ "onClick": handlePrePage
700
+ }, [(0,external_vue_.createVNode)(external_icon_.AngleLeft, null, null)]), (0,external_vue_.createVNode)((external_popover_default()), {
701
+ "theme": "light",
702
+ "trigger": "click",
703
+ "arrow": false,
704
+ "width": 56,
705
+ "boundary": "body",
706
+ "placement": "bottom"
707
+ }, {
708
+ "default": function _default() {
709
+ var _ref2;
710
+ return (0,external_vue_.createVNode)("div", {
711
+ "class": (_ref2 = {}, _defineProperty(_ref2, "".concat(resolveClassName('pagination-picker')), true), _defineProperty(_ref2, 'is-focused', isFocused.value), _ref2)
712
+ }, [(0,external_vue_.createVNode)("span", {
713
+ "ref": inputRef,
714
+ "class": "".concat(resolveClassName('pagination-editor')),
715
+ "contenteditable": true,
716
+ "spellcheck": "false",
717
+ "onFocus": handlePageEditorFocus,
718
+ "onBlur": handlePageEditorBlur,
719
+ "onInput": handlePageEditorInput,
720
+ "onKeydown": handlePageEditorKeydown
721
+ }, [localCurrent.value]), (0,external_vue_.createVNode)("span", null, [(0,external_vue_.createTextVNode)("/")]), (0,external_vue_.createVNode)("span", {
722
+ "class": "".concat(resolveClassName('pagination-small-list-total'))
723
+ }, [proxy.totalPageNum])]);
724
+ },
725
+ content: function content() {
726
+ return (0,external_vue_.createVNode)("div", {
727
+ "class": "".concat(resolveClassName('pagination-picker-list'))
728
+ }, [list.value.map(function (item) {
729
+ return (0,external_vue_.createVNode)("div", {
730
+ "class": {
731
+ item: true,
732
+ 'is-actived': item === localCurrent.value
733
+ },
734
+ "key": item,
735
+ "onClick": function onClick() {
736
+ return handlePageChange(item);
737
+ }
738
+ }, [item]);
739
+ })]);
740
+ }
741
+ }), (0,external_vue_.createVNode)("div", {
742
+ "class": (_ref3 = {}, _defineProperty(_ref3, "".concat(resolveClassName('pagination-btn-next')), true), _defineProperty(_ref3, 'is-disabled', isPageNextDisabled.value), _ref3),
743
+ "onClick": handleNextPage
744
+ }, [(0,external_vue_.createVNode)(external_icon_.AngleRight, null, null)])]);
745
+ };
746
+ return {
747
+ current: localCurrent,
748
+ render: render
749
+ };
750
+ });
751
+ ;// CONCATENATED MODULE: ../../packages/pagination/src/use-total.tsx
752
+
753
+
754
+ /*
755
+ * Tencent is pleased to support the open source community by making
756
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
757
+ *
758
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
759
+ *
760
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
761
+ *
762
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
763
+ *
764
+ * ---------------------------------------------------
765
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
766
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
767
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
768
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
769
+ *
770
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
771
+ * the Software.
772
+ *
773
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
774
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
775
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
776
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
777
+ * IN THE SOFTWARE.
778
+ */
779
+
780
+
781
+ /* harmony default export */ const use_total = (function (t) {
782
+ return function (_ref) {
783
+ var _ref2;
784
+ var isFirst = _ref.isFirst,
785
+ isLast = _ref.isLast;
786
+ var _getCurrentInstance = (0,external_vue_.getCurrentInstance)(),
787
+ props = _getCurrentInstance.props;
788
+ if (!props.showTotalCount) {
789
+ return null;
790
+ }
791
+ var _usePrefix = (0,external_config_provider_.usePrefix)(),
792
+ resolveClassName = _usePrefix.resolveClassName;
793
+ return (0,external_vue_.createVNode)("div", (0,external_vue_.mergeProps)({
794
+ "class": (_ref2 = {}, _defineProperty(_ref2, "".concat(resolveClassName('pagination-total')), true), _defineProperty(_ref2, 'is-first', isFirst), _defineProperty(_ref2, 'is-last', isLast), _ref2)
795
+ }, {
796
+ disabled: props.disabled
797
+ }), [t.value.total, (0,external_vue_.createVNode)("div", {
798
+ "class": "".concat(resolveClassName('pagination-total-num'))
799
+ }, [props.count]), t.value.strip]);
800
+ };
801
+ });
802
+ ;// CONCATENATED MODULE: ../../packages/pagination/src/pagination.tsx
803
+
804
+
805
+
806
+ /*
807
+ * Tencent is pleased to support the open source community by making
808
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
809
+ *
810
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
811
+ *
812
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
813
+ *
814
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
815
+ *
816
+ * ---------------------------------------------------
817
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
818
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
819
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
820
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
821
+ *
822
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
823
+ * the Software.
824
+ *
825
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
826
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
827
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
828
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
829
+ * IN THE SOFTWARE.
830
+ */
831
+
832
+
833
+
834
+
835
+
836
+
837
+
838
+ var paginationProps = {
839
+ modelValue: external_shared_.PropTypes.number.def(1),
840
+ count: external_shared_.PropTypes.number.def(0).isRequired,
841
+ limit: external_shared_.PropTypes.number.def(10),
842
+ limitList: external_shared_.PropTypes.arrayOf(Number).def([10, 20, 50, 100]),
843
+ showLimit: external_shared_.PropTypes.bool.def(true),
844
+ type: external_shared_.PropTypes.oneOf(['default', 'compact']).def('default'),
845
+ location: external_shared_.PropTypes.oneOf(['left', 'right']).def('right'),
846
+ align: external_shared_.PropTypes.oneOf(['left', 'center', 'right']).def('left'),
847
+ size: external_shared_.PropTypes.size(),
848
+ small: external_shared_.PropTypes.bool.def(false),
849
+ showTotalCount: external_shared_.PropTypes.bool.def(true),
850
+ prevText: external_shared_.PropTypes.string,
851
+ nextText: external_shared_.PropTypes.string,
852
+ disabled: external_shared_.PropTypes.bool.def(false),
853
+ beforeChange: external_shared_.PropTypes.func,
854
+ layout: external_shared_.PropTypes.custom(function (value) {
855
+ var layoutNameMap = {
856
+ total: true,
857
+ list: true,
858
+ limit: true
859
+ };
860
+ return value.some(function (item) {
861
+ return layoutNameMap[item];
862
+ });
863
+ }, 'layout 的值只支持 * total、list、limit *').def(['total', 'list', 'limit'])
864
+ };
865
+ /* harmony default export */ const pagination = ((0,external_vue_.defineComponent)({
866
+ name: 'Pagination',
867
+ props: paginationProps,
868
+ emits: ['update:modelValue', 'change', 'update:limit', 'limitChange'],
869
+ setup: function setup(props, context) {
870
+ var t = (0,external_config_provider_.useLocale)('pagination');
871
+ var totalPageNum = (0,external_vue_.ref)(0);
872
+ var _toRefs = (0,external_vue_.toRefs)(props),
873
+ count = _toRefs.count,
874
+ limit = _toRefs.limit;
875
+ var renderTotal = use_total(t);
876
+ var _useList = use_list(),
877
+ listCurrent = _useList.current,
878
+ renderList = _useList.render;
879
+ var _useSmallList = use_small_list(),
880
+ smallListCurrent = _useSmallList.current,
881
+ renderSmallList = _useSmallList.render;
882
+ var _useLimit = use_limit(t),
883
+ localLimit = _useLimit.limit,
884
+ renderLimit = _useLimit.render;
885
+ (0,external_vue_.watch)([count, localLimit, limit], function (_ref) {
886
+ var _ref2 = _slicedToArray(_ref, 2),
887
+ count = _ref2[0],
888
+ localLimit = _ref2[1];
889
+ var total = Math.ceil(count / localLimit);
890
+ totalPageNum.value = total < 1 ? 1 : total;
891
+ }, {
892
+ immediate: true
893
+ });
894
+ (0,external_vue_.watch)(listCurrent, function (listCurrent) {
895
+ context.emit('update:modelValue', listCurrent);
896
+ context.emit('change', listCurrent);
897
+ });
898
+ (0,external_vue_.watch)(smallListCurrent, function (smallListCurrent) {
899
+ if (!props.small) {
900
+ return;
901
+ }
902
+ context.emit('update:modelValue', smallListCurrent);
903
+ context.emit('change', smallListCurrent);
904
+ });
905
+ (0,external_vue_.watch)(localLimit, function (localLimit) {
906
+ context.emit('limitChange', localLimit);
907
+ });
908
+ var _usePrefix = (0,external_config_provider_.usePrefix)(),
909
+ resolveClassName = _usePrefix.resolveClassName;
910
+ return {
911
+ totalPageNum: totalPageNum,
912
+ renderTotal: renderTotal,
913
+ renderList: renderList,
914
+ renderLimit: renderLimit,
915
+ renderSmallList: renderSmallList,
916
+ resolveClassName: resolveClassName
917
+ };
918
+ },
919
+ render: function render() {
920
+ var _classes,
921
+ _this = this;
922
+ var paginationClass = (0,external_shared_.classes)((_classes = {}, _defineProperty(_classes, "".concat(this.resolveClassName('pagination')), true), _defineProperty(_classes, "".concat(this.resolveClassName("pagination--".concat(this.size))), true), _defineProperty(_classes, "is-align-".concat(this.align), true), _classes));
923
+ var layoutMap = {
924
+ total: this.renderTotal,
925
+ list: this.small ? this.renderSmallList : this.renderList,
926
+ limit: this.renderLimit
927
+ };
928
+ return (0,external_vue_.createVNode)("div", {
929
+ "class": paginationClass
930
+ }, [this.layout.map(function (layout, index) {
931
+ return layoutMap[layout]({
932
+ isFirst: index === 0,
933
+ isLast: index === _this.layout.length - 1
934
+ });
935
+ })]);
936
+ }
937
+ }));
938
+ ;// CONCATENATED MODULE: ../../packages/pagination/src/index.ts
939
+ /*
940
+ * Tencent is pleased to support the open source community by making
941
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
942
+ *
943
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
944
+ *
945
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
946
+ *
947
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
948
+ *
949
+ * ---------------------------------------------------
950
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
951
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
952
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
953
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
954
+ *
955
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
956
+ * the Software.
957
+ *
958
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
959
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
960
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
961
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
962
+ * IN THE SOFTWARE.
963
+ */
964
+
965
+
966
+ var BkPagination = (0,external_shared_.withInstall)(pagination);
967
+ /* harmony default export */ const src = (BkPagination);
968
+
969
+ })();
970
+
971
+ /******/ return __webpack_exports__;
972
+ /******/ })()
973
+ ;
974
+ });