bkui-vue 0.0.1-beta.30 → 0.0.1-beta.33
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/bkui-vue.cjs.js +141 -139
- package/dist/bkui-vue.esm.js +141 -139
- package/dist/bkui-vue.umd.js +141 -139
- package/dist/style.css +154 -3
- package/lib/code-diff/code-diff.css +72 -1
- package/lib/code-diff/code-diff.d.ts +9 -0
- package/lib/code-diff/code-diff.less +94 -1
- package/lib/code-diff/code-diff.variable.css +72 -1
- package/lib/code-diff/index.d.ts +151 -3
- package/lib/code-diff/index.js +1 -0
- package/lib/components.d.ts +1 -1
- package/lib/divider/index.js +1 -1
- package/lib/divider/props.d.ts +21 -0
- package/lib/loading/index.d.ts +27 -10
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +8 -2
- package/lib/loading/loading.d.ts +18 -4
- package/lib/loading/loading.less +10 -10
- package/lib/loading/loading.variable.css +8 -2
- package/lib/pagination/index.d.ts +7 -7
- package/lib/pagination/index.js +1 -1
- package/lib/pagination/pagination.d.ts +2 -2
- package/lib/slider/index.js +2 -2
- package/lib/slider/slider-button.d.ts +5 -0
- package/lib/slider/slider.d.ts +12 -0
- package/lib/styles/index.d.ts +1 -0
- package/lib/styles/index.js +1 -1
- package/lib/tab/index.d.ts +96 -205
- package/lib/tab/index.js +1 -1
- package/lib/tab/props.d.ts +191 -0
- package/lib/tab/tab-nav.d.ts +59 -84
- package/lib/tab/tab-panel.d.ts +39 -14
- package/lib/tab/tab.css +2 -1
- package/lib/tab/tab.d.ts +14 -37
- package/lib/tab/tab.less +2 -1
- package/lib/tab/tab.variable.css +2 -1
- package/lib/table/index.d.ts +29 -9
- package/lib/table/index.js +2 -2
- package/lib/table/props.d.ts +0 -1
- package/lib/table/render.d.ts +10 -3
- package/lib/table/table.d.ts +8 -4
- package/lib/tree/index.d.ts +15 -7
- package/lib/tree/tree.d.ts +6 -16
- package/package.json +1 -1
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("../shared"),require("vue"),require("vue-types")):"function"==typeof define&&define.amd?define(["exports","../shared","vue","vue-types"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Shared,e.Vue,e["vue-types"])}(this,(function(e,n,t,i){"use strict";function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var o={exports:{}},a={exports:{}};!function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports}(a);var s={exports:{}};!function(e){e.exports=function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,r,o=[],a=!0,s=!1;try{for(t=t.call(e);!(a=(i=t.next()).done)&&(o.push(i.value),!n||o.length!==n);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==t.return||t.return()}finally{if(s)throw r}}return o}},e.exports.__esModule=!0,e.exports.default=e.exports}(s);var l={exports:{}},u={exports:{}};!function(e){e.exports=function(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i},e.exports.__esModule=!0,e.exports.default=e.exports}(u),function(e){var n=u.exports;e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}(l);var c={exports:{}};!function(e){e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports}(c),function(e){var n=a.exports,t=s.exports,i=l.exports,r=c.exports;e.exports=function(e,o){return n(e)||t(e,o)||i(e,o)||r()},e.exports.__esModule=!0,e.exports.default=e.exports}(o);var f=r(o.exports);function d(){}function p(e,n,t,i,r){for(var o=0,a=n.length,s=0,l=0;o<a;o++){var u=n[o];if(u.removed){if(u.value=e.join(i.slice(l,l+u.count)),l+=u.count,o&&n[o-1].added){var c=n[o-1];n[o-1]=n[o],n[o]=c}}else{if(!u.added&&r){var f=t.slice(s,s+u.count);f=f.map((function(e,n){var t=i[l+n];return t.length>e.length?t:e})),u.value=e.join(f)}else u.value=e.join(t.slice(s,s+u.count));s+=u.count,u.added||(l+=u.count)}}var d=n[a-1];return a>1&&"string"==typeof d.value&&(d.added||d.removed)&&e.equals("",d.value)&&(n[a-2].value+=d.value,n.pop()),n}function h(e){return{newPos:e.newPos,components:e.components.slice(0)}}d.prototype={diff:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.callback;"function"==typeof t&&(i=t,t={}),this.options=t;var r=this;function o(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),n=this.castInput(n),e=this.removeEmpty(this.tokenize(e));var a=(n=this.removeEmpty(this.tokenize(n))).length,s=e.length,l=1,u=a+s,c=[{newPos:-1,components:[]}],f=this.extractCommon(c[0],n,e,0);if(c[0].newPos+1>=a&&f+1>=s)return o([{value:this.join(n),count:n.length}]);function d(){for(var t=-1*l;t<=l;t+=2){var i=void 0,u=c[t-1],f=c[t+1],d=(f?f.newPos:0)-t;u&&(c[t-1]=void 0);var b=u&&u.newPos+1<a,g=f&&0<=d&&d<s;if(b||g){if(!b||g&&u.newPos<f.newPos?(i=h(f),r.pushComponent(i.components,void 0,!0)):((i=u).newPos++,r.pushComponent(i.components,!0,void 0)),d=r.extractCommon(i,n,e,t),i.newPos+1>=a&&d+1>=s)return o(p(r,i.components,n,e,r.useLongestToken));c[t]=i}else c[t]=void 0}l++}if(i)!function e(){setTimeout((function(){if(l>u)return i();d()||e()}),0)}();else for(;l<=u;){var b=d();if(b)return b}},pushComponent:function(e,n,t){var i=e[e.length-1];i&&i.added===n&&i.removed===t?e[e.length-1]={count:i.count+1,added:n,removed:t}:e.push({count:1,added:n,removed:t})},extractCommon:function(e,n,t,i){for(var r=n.length,o=t.length,a=e.newPos,s=a-i,l=0;a+1<r&&s+1<o&&this.equals(n[a+1],t[s+1]);)a++,s++,l++;return l&&e.components.push({count:l}),e.newPos=a,s},equals:function(e,n){return this.options.comparator?this.options.comparator(e,n):e===n||this.options.ignoreCase&&e.toLowerCase()===n.toLowerCase()},removeEmpty:function(e){for(var n=[],t=0;t<e.length;t++)e[t]&&n.push(e[t]);return n},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}};var b=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,g=/\S/,v=new d;v.equals=function(e,n){return this.options.ignoreCase&&(e=e.toLowerCase(),n=n.toLowerCase()),e===n||this.options.ignoreWhitespace&&!g.test(e)&&!g.test(n)},v.tokenize=function(e){for(var n=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),t=0;t<n.length-1;t++)!n[t+1]&&n[t+2]&&b.test(n[t])&&b.test(n[t+2])&&(n[t]+=n[t+2],n.splice(t+1,2),t--);return n};var m=new d;function y(e){return y="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},y(e)}function w(e){return function(e){if(Array.isArray(e))return x(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return x(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return x(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}m.tokenize=function(e){var n=[],t=e.split(/(\n|\r\n)/);t[t.length-1]||t.pop();for(var i=0;i<t.length;i++){var r=t[i];i%2&&!this.options.newlineIsToken?n[n.length-1]+=r:(this.options.ignoreWhitespace&&(r=r.trim()),n.push(r))}return n},(new d).tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)},(new d).tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};var N=Object.prototype.toString,C=new d;function T(e,n,t,i,r){var o,a;for(n=n||[],t=t||[],i&&(e=i(r,e)),o=0;o<n.length;o+=1)if(n[o]===e)return t[o];if("[object Array]"===N.call(e)){for(n.push(e),a=new Array(e.length),t.push(a),o=0;o<e.length;o+=1)a[o]=T(e[o],n,t,i,r);return n.pop(),t.pop(),a}if(e&&e.toJSON&&(e=e.toJSON()),"object"===y(e)&&null!==e){n.push(e),a={},t.push(a);var s,l=[];for(s in e)e.hasOwnProperty(s)&&l.push(s);for(l.sort(),o=0;o<l.length;o+=1)a[s=l[o]]=T(e[s],n,t,i,s);n.pop(),t.pop()}else a=e;return a}C.useLongestToken=!0,C.tokenize=m.tokenize,C.castInput=function(e){var n=this.options,t=n.undefinedReplacement,i=n.stringifyReplacer,r=void 0===i?function(e,n){return void 0===n?t:n}:i;return"string"==typeof e?e:JSON.stringify(T(e,null,null,r),r," ")},C.equals=function(e,n){return d.prototype.equals.call(C,e.replace(/,([\r\n])/g,"$1"),n.replace(/,([\r\n])/g,"$1"))};var S,E=new d;function L(e,n,t,i,r,o,a){a||(a={}),void 0===a.context&&(a.context=4);var s=function(e,n,t){return m.diff(e,n,t)}(t,i,a);function l(e){return e.map((function(e){return" "+e}))}s.push({value:"",lines:[]});for(var u=[],c=0,f=0,d=[],p=1,h=1,b=function(e){var n=s[e],r=n.lines||n.value.replace(/\n$/,"").split("\n");if(n.lines=r,n.added||n.removed){var o;if(!c){var b=s[e-1];c=p,f=h,b&&(d=a.context>0?l(b.lines.slice(-a.context)):[],c-=d.length,f-=d.length)}(o=d).push.apply(o,w(r.map((function(e){return(n.added?"+":"-")+e})))),n.added?h+=r.length:p+=r.length}else{if(c)if(r.length<=2*a.context&&e<s.length-2){var g;(g=d).push.apply(g,w(l(r)))}else{var v,m=Math.min(r.length,a.context);(v=d).push.apply(v,w(l(r.slice(0,m))));var y={oldStart:c,oldLines:p-c+m,newStart:f,newLines:h-f+m,lines:d};if(e>=s.length-2&&r.length<=a.context){var x=/\n$/.test(t),N=/\n$/.test(i),C=0==r.length&&d.length>y.oldLines;!x&&C&&t.length>0&&d.splice(y.oldLines,0,"\"),(x||C)&&N||d.push("\")}u.push(y),c=0,f=0,d=[]}p+=r.length,h+=r.length}},g=0;g<s.length;g++)b(g);return{oldFileName:e,newFileName:n,oldHeader:r,newHeader:o,hunks:u}}function k(e,n,t,i,r,o){return function(e,n,t,i,r,o,a){return function(e){var n=[];e.oldFileName==e.newFileName&&n.push("Index: "+e.oldFileName),n.push("==================================================================="),n.push("--- "+e.oldFileName+(void 0===e.oldHeader?"":"\t"+e.oldHeader)),n.push("+++ "+e.newFileName+(void 0===e.newHeader?"":"\t"+e.newHeader));for(var t=0;t<e.hunks.length;t++){var i=e.hunks[t];0===i.oldLines&&(i.oldStart-=1),0===i.newLines&&(i.newStart-=1),n.push("@@ -"+i.oldStart+","+i.oldLines+" +"+i.newStart+","+i.newLines+" @@"),n.push.apply(n,i.lines)}return n.join("\n")+"\n"}(L(e,n,t,i,r,o,a))}(e,e,n,t,i,r,o)}E.tokenize=function(e){return e.slice()},E.join=E.removeEmpty=function(e){return e},function(e){e.INSERT="insert",e.DELETE="delete",e.CONTEXT="context"}(S||(S={}));var H=RegExp("["+["-","[","]","/","{","}","(",")","*","+","?",".","\\","^","$","|"].join("\\")+"]","g");function I(e){return e?e.replace(/\\/g,"/"):e}var j=function(e,n,t){if(t||2===arguments.length)for(var i,r=0,o=n.length;r<o;r++)!i&&r in n||(i||(i=Array.prototype.slice.call(n,0,r)),i[r]=n[r]);return e.concat(i||Array.prototype.slice.call(n))};function O(e,n){var t=e.split(".");return t.length>1?t[t.length-1]:n}function A(e,n){return n.reduce((function(n,t){return n||e.startsWith(t)}),!1)}var M=["a/","b/","i/","w/","c/","o/"];function P(e,n,t){var i=void 0!==t?j(j([],M,!0),[t],!1):M,r=((n?new RegExp("^"+(n.replace(H,"\\$&")+' "?(.+?)"?$')):new RegExp('^"?(.+?)"?$')).exec(e)||[])[1],o=void 0===r?"":r,a=i.find((function(e){return 0===o.indexOf(e)}));return(a?o.slice(a.length):o).replace(/\s+\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}(?:\.\d+)? [+-]\d{4}.*$/,"")}function z(e,n){void 0===n&&(n={});var t=[],i=null,r=null,o=null,a=null,s=null,l=null,u=null,c="--- ",f="+++ ",d="@@",p=/^old mode (\d{6})/,h=/^new mode (\d{6})/,b=/^deleted file mode (\d{6})/,g=/^new file mode (\d{6})/,v=/^copy from "?(.+)"?/,m=/^copy to "?(.+)"?/,y=/^rename from "?(.+)"?/,w=/^rename to "?(.+)"?/,x=/^similarity index (\d+)%/,N=/^dissimilarity index (\d+)%/,C=/^index ([\da-z]+)\.\.([\da-z]+)\s*(\d{6})?/,T=/^Binary files (.*) and (.*) differ/,E=/^GIT binary patch/,L=/^index ([\da-z]+),([\da-z]+)\.\.([\da-z]+)/,k=/^mode (\d{6}),(\d{6})\.\.(\d{6})/,H=/^new file mode (\d{6})/,I=/^deleted file mode (\d{6}),(\d{6})/,j=e.replace(/\/g,"").replace(/\r\n?/g,"\n").split("\n");function M(){null!==r&&null!==i&&(i.blocks.push(r),r=null)}function z(){null!==i&&(i.oldName||null===l||(i.oldName=l),i.newName||null===u||(i.newName=u),i.newName&&(t.push(i),i=null)),l=null,u=null}function F(){M(),z(),i={blocks:[],deletedLines:0,addedLines:0}}function D(e){var n;M(),null!==i&&((n=/^@@ -(\d+)(?:,\d+)? \+(\d+)(?:,\d+)? @@.*/.exec(e))?(i.isCombined=!1,o=parseInt(n[1],10),s=parseInt(n[2],10)):(n=/^@@@ -(\d+)(?:,\d+)? -(\d+)(?:,\d+)? \+(\d+)(?:,\d+)? @@@.*/.exec(e))?(i.isCombined=!0,o=parseInt(n[1],10),a=parseInt(n[2],10),s=parseInt(n[3],10)):(e.startsWith(d)&&console.error("Failed to parse lines, starting in 0!"),o=0,s=0,i.isCombined=!1)),r={lines:[],oldStartLine:o,oldStartLine2:a,newStartLine:s,header:e}}return j.forEach((function(e,a){if(e&&!e.startsWith("*")){var M,z=j[a-1],W=j[a+1],_=j[a+2];if(e.startsWith("diff")){F();if((M=/^diff --git "?([a-ciow]\/.+)"? "?([a-ciow]\/.+)"?/.exec(e))&&(l=P(M[1],void 0,n.dstPrefix),u=P(M[2],void 0,n.srcPrefix)),null===i)throw new Error("Where is my file !!!");i.isGitDiff=!0}else if((!i||!i.isGitDiff&&i&&e.startsWith(c)&&W.startsWith(f)&&_.startsWith(d))&&F(),!(null==i?void 0:i.isTooBig)){if(i&&("number"==typeof n.diffMaxChanges&&i.addedLines+i.deletedLines>n.diffMaxChanges||"number"==typeof n.diffMaxLineLength&&e.length>n.diffMaxLineLength))return i.isTooBig=!0,i.addedLines=0,i.deletedLines=0,i.blocks=[],r=null,void D("function"==typeof n.diffTooBigMessage?n.diffTooBigMessage(t.length):"Diff too big to be displayed");if(e.startsWith(c)&&W.startsWith(f)||e.startsWith(f)&&z.startsWith(c)){if(i&&!i.oldName&&e.startsWith("--- ")&&(M=function(e,n){return P(e,"---",n)}(e,n.srcPrefix)))return i.oldName=M,void(i.language=O(i.oldName,i.language));if(i&&!i.newName&&e.startsWith("+++ ")&&(M=function(e,n){return P(e,"+++",n)}(e,n.dstPrefix)))return i.newName=M,void(i.language=O(i.newName,i.language))}if(i&&(e.startsWith(d)||i.isGitDiff&&i.oldName&&i.newName&&!r))D(e);else if(r&&(e.startsWith("+")||e.startsWith("-")||e.startsWith(" ")))!function(e){if(null!==i&&null!==r&&null!==o&&null!==s){var n={content:e},t=i.isCombined?["+ "," +","++"]:["+"],a=i.isCombined?["- "," -","--"]:["-"];A(e,t)?(i.addedLines++,n.type=S.INSERT,n.oldNumber=void 0,n.newNumber=s++):A(e,a)?(i.deletedLines++,n.type=S.DELETE,n.oldNumber=o++,n.newNumber=void 0):(n.type=S.CONTEXT,n.oldNumber=o++,n.newNumber=s++),r.lines.push(n)}}(e);else{var R=!function(e,n){for(var t=n;t<j.length-3;){if(e.startsWith("diff"))return!1;if(j[t].startsWith(c)&&j[t+1].startsWith(f)&&j[t+2].startsWith(d))return!0;t++}return!1}(e,a);if(null===i)throw new Error("Where is my file !!!");(M=p.exec(e))?i.oldMode=M[1]:(M=h.exec(e))?i.newMode=M[1]:(M=b.exec(e))?(i.deletedFileMode=M[1],i.isDeleted=!0):(M=g.exec(e))?(i.newFileMode=M[1],i.isNew=!0):(M=v.exec(e))?(R&&(i.oldName=M[1]),i.isCopy=!0):(M=m.exec(e))?(R&&(i.newName=M[1]),i.isCopy=!0):(M=y.exec(e))?(R&&(i.oldName=M[1]),i.isRename=!0):(M=w.exec(e))?(R&&(i.newName=M[1]),i.isRename=!0):(M=T.exec(e))?(i.isBinary=!0,i.oldName=P(M[1],void 0,n.srcPrefix),i.newName=P(M[2],void 0,n.dstPrefix),D("Binary file")):E.test(e)?(i.isBinary=!0,D(e)):(M=x.exec(e))?i.unchangedPercentage=parseInt(M[1],10):(M=N.exec(e))?i.changedPercentage=parseInt(M[1],10):(M=C.exec(e))?(i.checksumBefore=M[1],i.checksumAfter=M[2],M[3]&&(i.mode=M[3])):(M=L.exec(e))?(i.checksumBefore=[M[2],M[3]],i.checksumAfter=M[1]):(M=k.exec(e))?(i.oldMode=[M[2],M[3]],i.newMode=M[1]):(M=H.exec(e))?(i.newFileMode=M[1],i.isNew=!0):(M=I.exec(e))&&(i.deletedFileMode=M[1],i.isDeleted=!0)}}}})),M(),z(),t}function F(){}function D(e,n,t,i,r){for(var o=0,a=n.length,s=0,l=0;o<a;o++){var u=n[o];if(u.removed){if(u.value=e.join(i.slice(l,l+u.count)),l+=u.count,o&&n[o-1].added){var c=n[o-1];n[o-1]=n[o],n[o]=c}}else{if(!u.added&&r){var f=t.slice(s,s+u.count);f=f.map((function(e,n){var t=i[l+n];return t.length>e.length?t:e})),u.value=e.join(f)}else u.value=e.join(t.slice(s,s+u.count));s+=u.count,u.added||(l+=u.count)}}var d=n[a-1];return a>1&&"string"==typeof d.value&&(d.added||d.removed)&&e.equals("",d.value)&&(n[a-2].value+=d.value,n.pop()),n}function W(e){return{newPos:e.newPos,components:e.components.slice(0)}}F.prototype={diff:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.callback;"function"==typeof t&&(i=t,t={}),this.options=t;var r=this;function o(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),n=this.castInput(n),e=this.removeEmpty(this.tokenize(e));var a=(n=this.removeEmpty(this.tokenize(n))).length,s=e.length,l=1,u=a+s,c=[{newPos:-1,components:[]}],f=this.extractCommon(c[0],n,e,0);if(c[0].newPos+1>=a&&f+1>=s)return o([{value:this.join(n),count:n.length}]);function d(){for(var t=-1*l;t<=l;t+=2){var i=void 0,u=c[t-1],f=c[t+1],d=(f?f.newPos:0)-t;u&&(c[t-1]=void 0);var p=u&&u.newPos+1<a,h=f&&0<=d&&d<s;if(p||h){if(!p||h&&u.newPos<f.newPos?(i=W(f),r.pushComponent(i.components,void 0,!0)):((i=u).newPos++,r.pushComponent(i.components,!0,void 0)),d=r.extractCommon(i,n,e,t),i.newPos+1>=a&&d+1>=s)return o(D(r,i.components,n,e,r.useLongestToken));c[t]=i}else c[t]=void 0}l++}if(i)!function e(){setTimeout((function(){if(l>u)return i();d()||e()}),0)}();else for(;l<=u;){var p=d();if(p)return p}},pushComponent:function(e,n,t){var i=e[e.length-1];i&&i.added===n&&i.removed===t?e[e.length-1]={count:i.count+1,added:n,removed:t}:e.push({count:1,added:n,removed:t})},extractCommon:function(e,n,t,i){for(var r=n.length,o=t.length,a=e.newPos,s=a-i,l=0;a+1<r&&s+1<o&&this.equals(n[a+1],t[s+1]);)a++,s++,l++;return l&&e.components.push({count:l}),e.newPos=a,s},equals:function(e,n){return this.options.comparator?this.options.comparator(e,n):e===n||this.options.ignoreCase&&e.toLowerCase()===n.toLowerCase()},removeEmpty:function(e){for(var n=[],t=0;t<e.length;t++)e[t]&&n.push(e[t]);return n},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}};var _=new F;var R=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,B=/\S/,U=new F;U.equals=function(e,n){return this.options.ignoreCase&&(e=e.toLowerCase(),n=n.toLowerCase()),e===n||this.options.ignoreWhitespace&&!B.test(e)&&!B.test(n)},U.tokenize=function(e){for(var n=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),t=0;t<n.length-1;t++)!n[t+1]&&n[t+2]&&R.test(n[t])&&R.test(n[t+2])&&(n[t]+=n[t+2],n.splice(t+1,2),t--);return n};var $=new F;function V(e){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V(e)}$.tokenize=function(e){var n=[],t=e.split(/(\n|\r\n)/);t[t.length-1]||t.pop();for(var i=0;i<t.length;i++){var r=t[i];i%2&&!this.options.newlineIsToken?n[n.length-1]+=r:(this.options.ignoreWhitespace&&(r=r.trim()),n.push(r))}return n},(new F).tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)},(new F).tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};var q=Object.prototype.toString,G=new F;function X(e,n,t,i,r){var o,a;for(n=n||[],t=t||[],i&&(e=i(r,e)),o=0;o<n.length;o+=1)if(n[o]===e)return t[o];if("[object Array]"===q.call(e)){for(n.push(e),a=new Array(e.length),t.push(a),o=0;o<e.length;o+=1)a[o]=X(e[o],n,t,i,r);return n.pop(),t.pop(),a}if(e&&e.toJSON&&(e=e.toJSON()),"object"===V(e)&&null!==e){n.push(e),a={},t.push(a);var s,l=[];for(s in e)e.hasOwnProperty(s)&&l.push(s);for(l.sort(),o=0;o<l.length;o+=1)a[s=l[o]]=X(e[s],n,t,i,s);n.pop(),t.pop()}else a=e;return a}G.useLongestToken=!0,G.tokenize=$.tokenize,G.castInput=function(e){var n=this.options,t=n.undefinedReplacement,i=n.stringifyReplacer,r=void 0===i?function(e,n){return void 0===n?t:n}:i;return"string"==typeof e?e:JSON.stringify(X(e,null,null,r),r," ")},G.equals=function(e,n){return F.prototype.equals.call(G,e.replace(/,([\r\n])/g,"$1"),n.replace(/,([\r\n])/g,"$1"))};var J=new F;function K(e){return function(n,t){var i=e(n).trim(),r=e(t).trim();return function(e,n){if(0===e.length)return n.length;if(0===n.length)return e.length;var t,i,r=[];for(t=0;t<=n.length;t++)r[t]=[t];for(i=0;i<=e.length;i++)r[0][i]=i;for(t=1;t<=n.length;t++)for(i=1;i<=e.length;i++)n.charAt(t-1)===e.charAt(i-1)?r[t][i]=r[t-1][i-1]:r[t][i]=Math.min(r[t-1][i-1]+1,Math.min(r[t][i-1]+1,r[t-1][i]+1));return r[n.length][e.length]}(i,r)/(i.length+r.length)}}function Z(e){return function n(t,i,r,o){void 0===r&&(r=0),void 0===o&&(o=new Map);var a=function(n,t,i){void 0===i&&(i=new Map);for(var r,o=1/0,a=0;a<n.length;++a)for(var s=0;s<t.length;++s){var l=JSON.stringify([n[a],t[s]]),u=void 0;i.has(l)&&(u=i.get(l))||(u=e(n[a],t[s]),i.set(l,u)),u<o&&(r={indexA:a,indexB:s,score:o=u})}return r}(t,i,o);if(!a||t.length+i.length<3)return[[t,i]];var s=t.slice(0,a.indexA),l=i.slice(0,a.indexB),u=[t[a.indexA]],c=[i[a.indexB]],f=a.indexA+1,d=a.indexB+1,p=t.slice(f),h=i.slice(d),b=n(s,l,r+1,o),g=n(u,c,r+1,o),v=n(p,h,r+1,o),m=g;return(a.indexA>0||a.indexB>0)&&(m=b.concat(m)),(t.length>f||i.length>d)&&(m=m.concat(v)),m}}J.tokenize=function(e){return e.slice()},J.join=J.removeEmpty=function(e){return e};var Q=function(){return Q=Object.assign||function(e){for(var n,t=1,i=arguments.length;t<i;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e},Q.apply(this,arguments)},Y={INSERTS:"d2h-ins",DELETES:"d2h-del",CONTEXT:"d2h-cntx",INFO:"d2h-info",INSERT_CHANGES:"d2h-ins d2h-change",DELETE_CHANGES:"d2h-del d2h-change"},ee={matching:"none",matchWordsThreshold:.25,maxLineLengthHighlight:1e4,diffStyle:"word"},ne="/",te=K((function(e){return e.value})),ie=Z(te);function re(e){return-1!==e.indexOf("dev/null")}function oe(e){return e.replace(/(<del[^>]*>((.|\n)*?)<\/del>)/g,"")}function ae(e){switch(e){case S.CONTEXT:return Y.CONTEXT;case S.INSERT:return Y.INSERTS;case S.DELETE:return Y.DELETES}}function se(e){return e.slice(0).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")}function le(e,n,t){void 0===t&&(t=!0);var i=function(e){return e?2:1}(n);return{prefix:e.substring(0,i),content:t?se(e.substring(i)):e.substring(i)}}function ue(e){var n=I(e.oldName),t=I(e.newName);if(n===t||re(n)||re(t))return re(t)?n:t;for(var i=[],r=[],o=n.split(ne),a=t.split(ne),s=0,l=o.length-1,u=a.length-1;s<l&&s<u&&o[s]===a[s];)i.push(a[s]),s+=1;for(;l>s&&u>s&&o[l]===a[u];)r.unshift(a[u]),l-=1,u-=1;var c=i.join(ne),f=r.join(ne),d=o.slice(s,l+1).join(ne),p=a.slice(s,u+1).join(ne);return c.length&&f.length?c+ne+"{"+d+" → "+p+"}"+ne+f:c.length?c+ne+"{"+d+" → "+p+"}":f.length?"{"+d+" → "+p+"}"+ne+f:n+" → "+t}function ce(e){return"d2h-"+function(e){var n,t,i=0;for(n=0,t=e.length;n<t;n++)i=(i<<5)-i+e.charCodeAt(n),i|=0;return i}(ue(e)).toString().slice(-6)}function fe(e){var n="file-changed";return e.isRename||e.isCopy?n="file-renamed":e.isNew?n="file-added":e.isDeleted?n="file-deleted":e.newName!==e.oldName&&(n="file-renamed"),n}function de(e,n,t,i){void 0===i&&(i={});var r=Q(Q({},ee),i),o=r.matching,a=r.maxLineLengthHighlight,s=r.matchWordsThreshold,l=r.diffStyle,u=le(e,t,!1),c=le(n,t,!1);if(u.content.length>a||c.content.length>a)return{oldLine:{prefix:u.prefix,content:se(u.content)},newLine:{prefix:c.prefix,content:se(c.content)}};var f,d,p,h="char"===l?(f=u.content,d=c.content,_.diff(f,d,p)):function(e,n,t){return U.diff(e,n,t)}(u.content,c.content),b=[];if("word"===l&&"words"===o){var g=h.filter((function(e){return e.removed})),v=h.filter((function(e){return e.added}));ie(v,g).forEach((function(e){1===e[0].length&&1===e[1].length&&(te(e[0][0],e[1][0])<s&&(b.push(e[0][0]),b.push(e[1][0])))}))}var m,y=h.reduce((function(e,n){var t=n.added?"ins":n.removed?"del":null,i=b.indexOf(n)>-1?' class="d2h-change"':"",r=se(n.value);return null!==t?e+"<"+t+i+">"+r+"</"+t+">":""+e+r}),"");return{oldLine:{prefix:u.prefix,content:(m=y,m.replace(/(<ins[^>]*>((.|\n)*?)<\/ins>)/g,""))},newLine:{prefix:c.prefix,content:oe(y)}}}var pe="file-summary";var he=function(){return he=Object.assign||function(e){for(var n,t=1,i=arguments.length;t<i;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e},he.apply(this,arguments)},be=he(he({},ee),{renderNothingWhenEmpty:!1,matchingMaxComparisons:2500,maxLineSizeInBlockForComparison:200}),ge="generic",ve="line-by-line",me=function(){function e(e,n){void 0===n&&(n={}),this.hoganUtils=e,this.config=he(he({},be),n)}return e.prototype.render=function(e){var n=this,t=e.map((function(e){var t;return t=e.blocks.length?n.generateFileHtml(e):n.generateEmptyDiff(),n.makeFileDiffHtml(e,t)})).join("\n");return this.hoganUtils.render(ge,"wrapper",{content:t})},e.prototype.makeFileDiffHtml=function(e,n){if(this.config.renderNothingWhenEmpty&&Array.isArray(e.blocks)&&0===e.blocks.length)return"";var t=this.hoganUtils.template(ve,"file-diff"),i=this.hoganUtils.template(ge,"file-path"),r=this.hoganUtils.template("icon","file"),o=this.hoganUtils.template("tag",fe(e));return t.render({file:e,fileHtmlId:ce(e),diffs:n,filePath:i.render({fileDiffName:ue(e)},{fileIcon:r,fileTag:o})})},e.prototype.generateEmptyDiff=function(){return this.hoganUtils.render(ge,"empty-diff",{contentClass:"d2h-code-line",CSSLineClass:Y})},e.prototype.generateFileHtml=function(e){var n=this,t=Z(K((function(n){return le(n.content,e.isCombined).content})));return e.blocks.map((function(i){var r=n.hoganUtils.render(ge,"block-header",{CSSLineClass:Y,blockHeader:e.isTooBig?i.header:se(i.header),lineClass:"d2h-code-linenumber",contentClass:"d2h-code-line"});return n.applyLineGroupping(i).forEach((function(i){var o=i[0],a=i[1],s=i[2];if(a.length&&s.length&&!o.length)n.applyRematchMatching(a,s,t).map((function(t){var i=t[0],o=t[1],a=n.processChangedLines(e.isCombined,i,o),s=a.left,l=a.right;r+=s,r+=l}));else if(o.length)o.forEach((function(t){var i=le(t.content,e.isCombined),o=i.prefix,a=i.content;r+=n.generateSingleLineHtml({type:Y.CONTEXT,prefix:o,content:a,oldNumber:t.oldNumber,newNumber:t.newNumber})}));else if(a.length||s.length){var l=n.processChangedLines(e.isCombined,a,s),u=l.left,c=l.right;r+=u,r+=c}else console.error("Unknown state reached while processing groups of lines",o,a,s)})),r})).join("\n")},e.prototype.applyLineGroupping=function(e){for(var n=[],t=[],i=[],r=0;r<e.lines.length;r++){var o=e.lines[r];(o.type!==S.INSERT&&i.length||o.type===S.CONTEXT&&t.length>0)&&(n.push([[],t,i]),t=[],i=[]),o.type===S.CONTEXT?n.push([[o],[],[]]):o.type===S.INSERT&&0===t.length?n.push([[],[],[o]]):o.type===S.INSERT&&t.length>0?i.push(o):o.type===S.DELETE&&t.push(o)}return(t.length||i.length)&&(n.push([[],t,i]),t=[],i=[]),n},e.prototype.applyRematchMatching=function(e,n,t){var i=e.length*n.length,r=Math.max.apply(null,[0].concat(e.concat(n).map((function(e){return e.content.length}))));return i<this.config.matchingMaxComparisons&&r<this.config.maxLineSizeInBlockForComparison&&("lines"===this.config.matching||"words"===this.config.matching)?t(e,n):[[e,n]]},e.prototype.processChangedLines=function(e,n,t){for(var i={right:"",left:""},r=Math.max(n.length,t.length),o=0;o<r;o++){var a=n[o],s=t[o],l=void 0!==a&&void 0!==s?de(a.content,s.content,e,this.config):void 0,u=void 0!==a&&void 0!==a.oldNumber?he(he({},void 0!==l?{prefix:l.oldLine.prefix,content:l.oldLine.content,type:Y.DELETE_CHANGES}:he(he({},le(a.content,e)),{type:ae(a.type)})),{oldNumber:a.oldNumber,newNumber:a.newNumber}):void 0,c=void 0!==s&&void 0!==s.newNumber?he(he({},void 0!==l?{prefix:l.newLine.prefix,content:l.newLine.content,type:Y.INSERT_CHANGES}:he(he({},le(s.content,e)),{type:ae(s.type)})),{oldNumber:s.oldNumber,newNumber:s.newNumber}):void 0,f=this.generateLineHtml(u,c),d=f.left,p=f.right;i.left+=d,i.right+=p}return i},e.prototype.generateLineHtml=function(e,n){return{left:this.generateSingleLineHtml(e),right:this.generateSingleLineHtml(n)}},e.prototype.generateSingleLineHtml=function(e){if(void 0===e)return"";var n=this.hoganUtils.render(ve,"numbers",{oldNumber:e.oldNumber||"",newNumber:e.newNumber||""});return this.hoganUtils.render(ge,"line",{type:e.type,lineClass:"d2h-code-linenumber",contentClass:"d2h-code-line",prefix:" "===e.prefix?" ":e.prefix,content:e.content,lineNumber:n})},e}(),ye=function(){return ye=Object.assign||function(e){for(var n,t=1,i=arguments.length;t<i;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e},ye.apply(this,arguments)},we=ye(ye({},ee),{renderNothingWhenEmpty:!1,matchingMaxComparisons:2500,maxLineSizeInBlockForComparison:200}),xe="generic",Ne=function(){function e(e,n){void 0===n&&(n={}),this.hoganUtils=e,this.config=ye(ye({},we),n)}return e.prototype.render=function(e){var n=this,t=e.map((function(e){var t;return t=e.blocks.length?n.generateFileHtml(e):n.generateEmptyDiff(),n.makeFileDiffHtml(e,t)})).join("\n");return this.hoganUtils.render(xe,"wrapper",{content:t})},e.prototype.makeFileDiffHtml=function(e,n){if(this.config.renderNothingWhenEmpty&&Array.isArray(e.blocks)&&0===e.blocks.length)return"";var t=this.hoganUtils.template("side-by-side","file-diff"),i=this.hoganUtils.template(xe,"file-path"),r=this.hoganUtils.template("icon","file"),o=this.hoganUtils.template("tag",fe(e));return t.render({file:e,fileHtmlId:ce(e),diffs:n,filePath:i.render({fileDiffName:ue(e)},{fileIcon:r,fileTag:o})})},e.prototype.generateEmptyDiff=function(){return{right:"",left:this.hoganUtils.render(xe,"empty-diff",{contentClass:"d2h-code-side-line",CSSLineClass:Y})}},e.prototype.generateFileHtml=function(e){var n=this,t=Z(K((function(n){return le(n.content,e.isCombined).content})));return e.blocks.map((function(i){var r={left:n.makeHeaderHtml(i.header,e),right:n.makeHeaderHtml("")};return n.applyLineGroupping(i).forEach((function(i){var o=i[0],a=i[1],s=i[2];if(a.length&&s.length&&!o.length)n.applyRematchMatching(a,s,t).map((function(t){var i=t[0],o=t[1],a=n.processChangedLines(e.isCombined,i,o),s=a.left,l=a.right;r.left+=s,r.right+=l}));else if(o.length)o.forEach((function(t){var i=le(t.content,e.isCombined),o=i.prefix,a=i.content,s=n.generateLineHtml({type:Y.CONTEXT,prefix:o,content:a,number:t.oldNumber},{type:Y.CONTEXT,prefix:o,content:a,number:t.newNumber}),l=s.left,u=s.right;r.left+=l,r.right+=u}));else if(a.length||s.length){var l=n.processChangedLines(e.isCombined,a,s),u=l.left,c=l.right;r.left+=u,r.right+=c}else console.error("Unknown state reached while processing groups of lines",o,a,s)})),r})).reduce((function(e,n){return{left:e.left+n.left,right:e.right+n.right}}),{left:"",right:""})},e.prototype.applyLineGroupping=function(e){for(var n=[],t=[],i=[],r=0;r<e.lines.length;r++){var o=e.lines[r];(o.type!==S.INSERT&&i.length||o.type===S.CONTEXT&&t.length>0)&&(n.push([[],t,i]),t=[],i=[]),o.type===S.CONTEXT?n.push([[o],[],[]]):o.type===S.INSERT&&0===t.length?n.push([[],[],[o]]):o.type===S.INSERT&&t.length>0?i.push(o):o.type===S.DELETE&&t.push(o)}return(t.length||i.length)&&(n.push([[],t,i]),t=[],i=[]),n},e.prototype.applyRematchMatching=function(e,n,t){var i=e.length*n.length,r=Math.max.apply(null,[0].concat(e.concat(n).map((function(e){return e.content.length}))));return i<this.config.matchingMaxComparisons&&r<this.config.maxLineSizeInBlockForComparison&&("lines"===this.config.matching||"words"===this.config.matching)?t(e,n):[[e,n]]},e.prototype.makeHeaderHtml=function(e,n){return this.hoganUtils.render(xe,"block-header",{CSSLineClass:Y,blockHeader:(null==n?void 0:n.isTooBig)?e:se(e),lineClass:"d2h-code-side-linenumber",contentClass:"d2h-code-side-line"})},e.prototype.processChangedLines=function(e,n,t){for(var i={right:"",left:""},r=Math.max(n.length,t.length),o=0;o<r;o++){var a=n[o],s=t[o],l=void 0!==a&&void 0!==s?de(a.content,s.content,e,this.config):void 0,u=void 0!==a&&void 0!==a.oldNumber?ye(ye({},void 0!==l?{prefix:l.oldLine.prefix,content:l.oldLine.content,type:Y.DELETE_CHANGES}:ye(ye({},le(a.content,e)),{type:ae(a.type)})),{number:a.oldNumber}):void 0,c=void 0!==s&&void 0!==s.newNumber?ye(ye({},void 0!==l?{prefix:l.newLine.prefix,content:l.newLine.content,type:Y.INSERT_CHANGES}:ye(ye({},le(s.content,e)),{type:ae(s.type)})),{number:s.newNumber}):void 0,f=this.generateLineHtml(u,c),d=f.left,p=f.right;i.left+=d,i.right+=p}return i},e.prototype.generateLineHtml=function(e,n){return{left:this.generateSingleHtml(e),right:this.generateSingleHtml(n)}},e.prototype.generateSingleHtml=function(e){var n="d2h-code-side-linenumber",t="d2h-code-side-line";return this.hoganUtils.render(xe,"line",{type:(null==e?void 0:e.type)||Y.CONTEXT+" d2h-emptyplaceholder",lineClass:void 0!==e?n:n+" d2h-code-side-emptyplaceholder",contentClass:void 0!==e?t:t+" d2h-code-side-emptyplaceholder",prefix:" "===(null==e?void 0:e.prefix)?" ":null==e?void 0:e.prefix,content:null==e?void 0:e.content,lineNumber:null==e?void 0:e.number})},e}(),Ce={};!function(e){!function(e){var n=/\S/,t=/\"/g,i=/\n/g,r=/\r/g,o=/\\/g,a=/\u2028/,s=/\u2029/;function l(e){"}"===e.n.substr(e.n.length-1)&&(e.n=e.n.substring(0,e.n.length-1))}function u(e){return e.trim?e.trim():e.replace(/^\s*|\s*$/g,"")}function c(e,n,t){if(n.charAt(t)!=e.charAt(0))return!1;for(var i=1,r=e.length;i<r;i++)if(n.charAt(t+i)!=e.charAt(i))return!1;return!0}e.tags={"#":1,"^":2,"<":3,$:4,"/":5,"!":6,">":7,"=":8,_v:9,"{":10,"&":11,_t:12},e.scan=function(t,i){var r=t.length,o=0,a=null,s=null,f="",d=[],p=!1,h=0,b=0,g="{{",v="}}";function m(){f.length>0&&(d.push({tag:"_t",text:new String(f)}),f="")}function y(t,i){if(m(),t&&function(){for(var t=!0,i=b;i<d.length;i++)if(!(t=e.tags[d[i].tag]<e.tags._v||"_t"==d[i].tag&&null===d[i].text.match(n)))return!1;return t}())for(var r,o=b;o<d.length;o++)d[o].text&&((r=d[o+1])&&">"==r.tag&&(r.indent=d[o].text.toString()),d.splice(o,1));else i||d.push({tag:"\n"});p=!1,b=d.length}function w(e,n){var t="="+v,i=e.indexOf(t,n),r=u(e.substring(e.indexOf("=",n)+1,i)).split(" ");return g=r[0],v=r[r.length-1],i+t.length-1}for(i&&(i=i.split(" "),g=i[0],v=i[1]),h=0;h<r;h++)0==o?c(g,t,h)?(--h,m(),o=1):"\n"==t.charAt(h)?y(p):f+=t.charAt(h):1==o?(h+=g.length-1,"="==(a=(s=e.tags[t.charAt(h+1)])?t.charAt(h+1):"_v")?(h=w(t,h),o=0):(s&&h++,o=2),p=h):c(v,t,h)?(d.push({tag:a,n:u(f),otag:g,ctag:v,i:"/"==a?p-g.length:h+v.length}),f="",h+=v.length-1,o=0,"{"==a&&("}}"==v?h++:l(d[d.length-1]))):f+=t.charAt(h);return y(p,!0),d};var f={_t:!0,"\n":!0,$:!0,"/":!0};function d(n,t,i,r){var o,a=[],s=null,l=null;for(o=i[i.length-1];n.length>0;){if(l=n.shift(),o&&"<"==o.tag&&!(l.tag in f))throw new Error("Illegal content in < super tag.");if(e.tags[l.tag]<=e.tags.$||p(l,r))i.push(l),l.nodes=d(n,l.tag,i,r);else{if("/"==l.tag){if(0===i.length)throw new Error("Closing tag without opener: /"+l.n);if(s=i.pop(),l.n!=s.n&&!h(l.n,s.n,r))throw new Error("Nesting error: "+s.n+" vs. "+l.n);return s.end=l.i,a}"\n"==l.tag&&(l.last=0==n.length||"\n"==n[0].tag)}a.push(l)}if(i.length>0)throw new Error("missing closing tag: "+i.pop().n);return a}function p(e,n){for(var t=0,i=n.length;t<i;t++)if(n[t].o==e.n)return e.tag="#",!0}function h(e,n,t){for(var i=0,r=t.length;i<r;i++)if(t[i].c==e&&t[i].o==n)return!0}function b(e){var n=[];for(var t in e.partials)n.push('"'+v(t)+'":{name:"'+v(e.partials[t].name)+'", '+b(e.partials[t])+"}");return"partials: {"+n.join(",")+"}, subs: "+function(e){var n=[];for(var t in e)n.push('"'+v(t)+'": function(c,p,t,i) {'+e[t]+"}");return"{ "+n.join(",")+" }"}(e.subs)}e.stringify=function(n,t,i){return"{code: function (c,p,i) { "+e.wrapMain(n.code)+" },"+b(n)+"}"};var g=0;function v(e){return e.replace(o,"\\\\").replace(t,'\\"').replace(i,"\\n").replace(r,"\\r").replace(a,"\\u2028").replace(s,"\\u2029")}function m(e){return~e.indexOf(".")?"d":"f"}function y(e,n){var t="<"+(n.prefix||"")+e.n+g++;return n.partials[t]={name:e.n,partials:{}},n.code+='t.b(t.rp("'+v(t)+'",c,p,"'+(e.indent||"")+'"));',t}function w(e,n){n.code+="t.b(t.t(t."+m(e.n)+'("'+v(e.n)+'",c,p,0)));'}function x(e){return"t.b("+e+");"}e.generate=function(n,t,i){g=0;var r={code:"",subs:{},partials:{}};return e.walk(n,r),i.asString?this.stringify(r,t,i):this.makeTemplate(r,t,i)},e.wrapMain=function(e){return'var t=this;t.b(i=i||"");'+e+"return t.fl();"},e.template=e.Template,e.makeTemplate=function(e,n,t){var i=this.makePartials(e);return i.code=new Function("c","p","i",this.wrapMain(e.code)),new this.template(i,n,this,t)},e.makePartials=function(e){var n,t={subs:{},partials:e.partials,name:e.name};for(n in t.partials)t.partials[n]=this.makePartials(t.partials[n]);for(n in e.subs)t.subs[n]=new Function("c","p","t","i",e.subs[n]);return t},e.codegen={"#":function(n,t){t.code+="if(t.s(t."+m(n.n)+'("'+v(n.n)+'",c,p,1),c,p,0,'+n.i+","+n.end+',"'+n.otag+" "+n.ctag+'")){t.rs(c,p,function(c,p,t){',e.walk(n.nodes,t),t.code+="});c.pop();}"},"^":function(n,t){t.code+="if(!t.s(t."+m(n.n)+'("'+v(n.n)+'",c,p,1),c,p,1,0,0,"")){',e.walk(n.nodes,t),t.code+="};"},">":y,"<":function(n,t){var i={partials:{},code:"",subs:{},inPartial:!0};e.walk(n.nodes,i);var r=t.partials[y(n,t)];r.subs=i.subs,r.partials=i.partials},$:function(n,t){var i={subs:{},code:"",partials:t.partials,prefix:n.n};e.walk(n.nodes,i),t.subs[n.n]=i.code,t.inPartial||(t.code+='t.sub("'+v(n.n)+'",c,p,i);')},"\n":function(e,n){n.code+=x('"\\n"'+(e.last?"":" + i"))},_v:function(e,n){n.code+="t.b(t.v(t."+m(e.n)+'("'+v(e.n)+'",c,p,0)));'},_t:function(e,n){n.code+=x('"'+v(e.text)+'"')},"{":w,"&":w},e.walk=function(n,t){for(var i,r=0,o=n.length;r<o;r++)(i=e.codegen[n[r].tag])&&i(n[r],t);return t},e.parse=function(e,n,t){return d(e,0,[],(t=t||{}).sectionTags||[])},e.cache={},e.cacheKey=function(e,n){return[e,!!n.asString,!!n.disableLambda,n.delimiters,!!n.modelGet].join("||")},e.compile=function(n,t){t=t||{};var i=e.cacheKey(n,t),r=this.cache[i];if(r){var o=r.partials;for(var a in o)delete o[a].instance;return r}return r=this.generate(this.parse(this.scan(n,t.delimiters),n,t),n,t),this.cache[i]=r}}(e)}(Ce);var Te={};!function(e){!function(e){function n(e,n,t){var i;return n&&"object"==typeof n&&(void 0!==n[e]?i=n[e]:t&&n.get&&"function"==typeof n.get&&(i=n.get(e))),i}e.Template=function(e,n,t,i){e=e||{},this.r=e.code||this.r,this.c=t,this.options=i||{},this.text=n||"",this.partials=e.partials||{},this.subs=e.subs||{},this.buf=""},e.Template.prototype={r:function(e,n,t){return""},v:function(e){return e=l(e),s.test(e)?e.replace(t,"&").replace(i,"<").replace(r,">").replace(o,"'").replace(a,"""):e},t:l,render:function(e,n,t){return this.ri([e],n||{},t)},ri:function(e,n,t){return this.r(e,n,t)},ep:function(e,n){var t=this.partials[e],i=n[t.name];if(t.instance&&t.base==i)return t.instance;if("string"==typeof i){if(!this.c)throw new Error("No compiler available.");i=this.c.compile(i,this.options)}if(!i)return null;if(this.partials[e].base=i,t.subs){for(key in n.stackText||(n.stackText={}),t.subs)n.stackText[key]||(n.stackText[key]=void 0!==this.activeSub&&n.stackText[this.activeSub]?n.stackText[this.activeSub]:this.text);i=function(e,n,t,i,r,o){function a(){}function s(){}var l;a.prototype=e,s.prototype=e.subs;var u=new a;for(l in u.subs=new s,u.subsText={},u.buf="",i=i||{},u.stackSubs=i,u.subsText=o,n)i[l]||(i[l]=n[l]);for(l in i)u.subs[l]=i[l];for(l in r=r||{},u.stackPartials=r,t)r[l]||(r[l]=t[l]);for(l in r)u.partials[l]=r[l];return u}(i,t.subs,t.partials,this.stackSubs,this.stackPartials,n.stackText)}return this.partials[e].instance=i,i},rp:function(e,n,t,i){var r=this.ep(e,t);return r?r.ri(n,t,i):""},rs:function(e,n,t){var i=e[e.length-1];if(u(i))for(var r=0;r<i.length;r++)e.push(i[r]),t(e,n,this),e.pop();else t(e,n,this)},s:function(e,n,t,i,r,o,a){var s;return(!u(e)||0!==e.length)&&("function"==typeof e&&(e=this.ms(e,n,t,i,r,o,a)),s=!!e,!i&&s&&n&&n.push("object"==typeof e?e:n[n.length-1]),s)},d:function(e,t,i,r){var o,a=e.split("."),s=this.f(a[0],t,i,r),l=this.options.modelGet,c=null;if("."===e&&u(t[t.length-2]))s=t[t.length-1];else for(var f=1;f<a.length;f++)void 0!==(o=n(a[f],s,l))?(c=s,s=o):s="";return!(r&&!s)&&(r||"function"!=typeof s||(t.push(c),s=this.mv(s,t,i),t.pop()),s)},f:function(e,t,i,r){for(var o=!1,a=!1,s=this.options.modelGet,l=t.length-1;l>=0;l--)if(void 0!==(o=n(e,t[l],s))){a=!0;break}return a?(r||"function"!=typeof o||(o=this.mv(o,t,i)),o):!r&&""},ls:function(e,n,t,i,r){var o=this.options.delimiters;return this.options.delimiters=r,this.b(this.ct(l(e.call(n,i)),n,t)),this.options.delimiters=o,!1},ct:function(e,n,t){if(this.options.disableLambda)throw new Error("Lambda features disabled.");return this.c.compile(e,this.options).render(n,t)},b:function(e){this.buf+=e},fl:function(){var e=this.buf;return this.buf="",e},ms:function(e,n,t,i,r,o,a){var s,l=n[n.length-1],u=e.call(l);return"function"==typeof u?!!i||(s=this.activeSub&&this.subsText&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text,this.ls(u,l,t,s.substring(r,o),a)):u},mv:function(e,n,t){var i=n[n.length-1],r=e.call(i);return"function"==typeof r?this.ct(l(r.call(i)),i,t):r},sub:function(e,n,t,i){var r=this.subs[e];r&&(this.activeSub=e,r(n,t,this,i),this.activeSub=!1)}};var t=/&/g,i=/</g,r=/>/g,o=/\'/g,a=/\"/g,s=/[&<>\"\']/;function l(e){return String(null==e?"":e)}var u=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}}(e)}(Te);var Se=Ce;Se.Template=Te.Template,Se.template=Se.Template;var Ee=Se,Le={};Le["file-summary-line"]=new Ee.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<li class="d2h-file-list-line">'),i.b("\n"+t),i.b(' <span class="d2h-file-name-wrapper">'),i.b("\n"+t),i.b(i.rp("<fileIcon0",e,n," ")),i.b(' <a href="#'),i.b(i.v(i.f("fileHtmlId",e,n,0))),i.b('" class="d2h-file-name">'),i.b(i.v(i.f("fileName",e,n,0))),i.b("</a>"),i.b("\n"+t),i.b(' <span class="d2h-file-stats">'),i.b("\n"+t),i.b(' <span class="d2h-lines-added">'),i.b(i.v(i.f("addedLines",e,n,0))),i.b("</span>"),i.b("\n"+t),i.b(' <span class="d2h-lines-deleted">'),i.b(i.v(i.f("deletedLines",e,n,0))),i.b("</span>"),i.b("\n"+t),i.b(" </span>"),i.b("\n"+t),i.b(" </span>"),i.b("\n"+t),i.b("</li>"),i.fl()},partials:{"<fileIcon0":{name:"fileIcon",partials:{},subs:{}}},subs:{}}),Le["file-summary-wrapper"]=new Ee.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<div class="d2h-file-list-wrapper">'),i.b("\n"+t),i.b(' <div class="d2h-file-list-header">'),i.b("\n"+t),i.b(' <span class="d2h-file-list-title">Files changed ('),i.b(i.v(i.f("filesNumber",e,n,0))),i.b(")</span>"),i.b("\n"+t),i.b(' <a class="d2h-file-switch d2h-hide">hide</a>'),i.b("\n"+t),i.b(' <a class="d2h-file-switch d2h-show">show</a>'),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b(' <ol class="d2h-file-list">'),i.b("\n"+t),i.b(" "),i.b(i.t(i.f("files",e,n,0))),i.b("\n"+t),i.b(" </ol>"),i.b("\n"+t),i.b("</div>"),i.fl()},partials:{},subs:{}}),Le["generic-block-header"]=new Ee.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b("<tr>"),i.b("\n"+t),i.b(' <td class="'),i.b(i.v(i.f("lineClass",e,n,0))),i.b(" "),i.b(i.v(i.d("CSSLineClass.INFO",e,n,0))),i.b('"></td>'),i.b("\n"+t),i.b(' <td class="'),i.b(i.v(i.d("CSSLineClass.INFO",e,n,0))),i.b('">'),i.b("\n"+t),i.b(' <div class="'),i.b(i.v(i.f("contentClass",e,n,0))),i.b('">'),i.b(i.t(i.f("blockHeader",e,n,0))),i.b("</div>"),i.b("\n"+t),i.b(" </td>"),i.b("\n"+t),i.b("</tr>"),i.fl()},partials:{},subs:{}}),Le["generic-empty-diff"]=new Ee.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b("<tr>"),i.b("\n"+t),i.b(' <td class="'),i.b(i.v(i.d("CSSLineClass.INFO",e,n,0))),i.b('">'),i.b("\n"+t),i.b(' <div class="'),i.b(i.v(i.f("contentClass",e,n,0))),i.b('">'),i.b("\n"+t),i.b(" File without changes"),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b(" </td>"),i.b("\n"+t),i.b("</tr>"),i.fl()},partials:{},subs:{}}),Le["generic-file-path"]=new Ee.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<span class="d2h-file-name-wrapper">'),i.b("\n"+t),i.b(i.rp("<fileIcon0",e,n," ")),i.b(' <span class="d2h-file-name">'),i.b(i.v(i.f("fileDiffName",e,n,0))),i.b("</span>"),i.b("\n"+t),i.b(i.rp("<fileTag1",e,n," ")),i.b("</span>"),i.b("\n"+t),i.b('<label class="d2h-file-collapse">'),i.b("\n"+t),i.b(' <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed">'),i.b("\n"+t),i.b(" Viewed"),i.b("\n"+t),i.b("</label>"),i.fl()},partials:{"<fileIcon0":{name:"fileIcon",partials:{},subs:{}},"<fileTag1":{name:"fileTag",partials:{},subs:{}}},subs:{}}),Le["generic-line"]=new Ee.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b("<tr>"),i.b("\n"+t),i.b(' <td class="'),i.b(i.v(i.f("lineClass",e,n,0))),i.b(" "),i.b(i.v(i.f("type",e,n,0))),i.b('">'),i.b("\n"+t),i.b(" "),i.b(i.t(i.f("lineNumber",e,n,0))),i.b("\n"+t),i.b(" </td>"),i.b("\n"+t),i.b(' <td class="'),i.b(i.v(i.f("type",e,n,0))),i.b('">'),i.b("\n"+t),i.b(' <div class="'),i.b(i.v(i.f("contentClass",e,n,0))),i.b('">'),i.b("\n"+t),i.s(i.f("prefix",e,n,1),e,n,0,162,238,"{{ }}")&&(i.rs(e,n,(function(e,n,i){i.b(' <span class="d2h-code-line-prefix">'),i.b(i.t(i.f("prefix",e,n,0))),i.b("</span>"),i.b("\n"+t)})),e.pop()),i.s(i.f("prefix",e,n,1),e,n,1,0,0,"")||(i.b(' <span class="d2h-code-line-prefix"> </span>'),i.b("\n"+t)),i.s(i.f("content",e,n,1),e,n,0,371,445,"{{ }}")&&(i.rs(e,n,(function(e,n,i){i.b(' <span class="d2h-code-line-ctn">'),i.b(i.t(i.f("content",e,n,0))),i.b("</span>"),i.b("\n"+t)})),e.pop()),i.s(i.f("content",e,n,1),e,n,1,0,0,"")||(i.b(' <span class="d2h-code-line-ctn"><br></span>'),i.b("\n"+t)),i.b(" </div>"),i.b("\n"+t),i.b(" </td>"),i.b("\n"+t),i.b("</tr>"),i.fl()},partials:{},subs:{}}),Le["generic-wrapper"]=new Ee.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<div class="d2h-wrapper">'),i.b("\n"+t),i.b(" "),i.b(i.t(i.f("content",e,n,0))),i.b("\n"+t),i.b("</div>"),i.fl()},partials:{},subs:{}}),Le["icon-file-added"]=new Ee.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<svg aria-hidden="true" class="d2h-icon d2h-added" height="16" title="added" version="1.1" viewBox="0 0 14 16"'),i.b("\n"+t),i.b(' width="14">'),i.b("\n"+t),i.b(' <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM6 9H3V7h3V4h2v3h3v2H8v3H6V9z"></path>'),i.b("\n"+t),i.b("</svg>"),i.fl()},partials:{},subs:{}}),Le["icon-file-changed"]=new Ee.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1"'),i.b("\n"+t),i.b(' viewBox="0 0 14 16" width="14">'),i.b("\n"+t),i.b(' <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path>'),i.b("\n"+t),i.b("</svg>"),i.fl()},partials:{},subs:{}}),Le["icon-file-deleted"]=new Ee.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<svg aria-hidden="true" class="d2h-icon d2h-deleted" height="16" title="removed" version="1.1"'),i.b("\n"+t),i.b(' viewBox="0 0 14 16" width="14">'),i.b("\n"+t),i.b(' <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM11 9H3V7h8v2z"></path>'),i.b("\n"+t),i.b("</svg>"),i.fl()},partials:{},subs:{}}),Le["icon-file-renamed"]=new Ee.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<svg aria-hidden="true" class="d2h-icon d2h-moved" height="16" title="renamed" version="1.1"'),i.b("\n"+t),i.b(' viewBox="0 0 14 16" width="14">'),i.b("\n"+t),i.b(' <path d="M6 9H3V7h3V4l5 4-5 4V9z m8-7v12c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h12c0.55 0 1 0.45 1 1z m-1 0H1v12h12V2z"></path>'),i.b("\n"+t),i.b("</svg>"),i.fl()},partials:{},subs:{}}),Le["icon-file"]=new Ee.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12">'),i.b("\n"+t),i.b(' <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path>'),i.b("\n"+t),i.b("</svg>"),i.fl()},partials:{},subs:{}}),Le["line-by-line-file-diff"]=new Ee.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<div id="'),i.b(i.v(i.f("fileHtmlId",e,n,0))),i.b('" class="d2h-file-wrapper" data-lang="'),i.b(i.v(i.d("file.language",e,n,0))),i.b('">'),i.b("\n"+t),i.b(' <div class="d2h-file-header">'),i.b("\n"+t),i.b(" "),i.b(i.t(i.f("filePath",e,n,0))),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b(' <div class="d2h-file-diff">'),i.b("\n"+t),i.b(' <div class="d2h-code-wrapper">'),i.b("\n"+t),i.b(' <table class="d2h-diff-table">'),i.b("\n"+t),i.b(' <tbody class="d2h-diff-tbody">'),i.b("\n"+t),i.b(" "),i.b(i.t(i.f("diffs",e,n,0))),i.b("\n"+t),i.b(" </tbody>"),i.b("\n"+t),i.b(" </table>"),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b("</div>"),i.fl()},partials:{},subs:{}}),Le["line-by-line-numbers"]=new Ee.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<div class="line-num1">'),i.b(i.v(i.f("oldNumber",e,n,0))),i.b("</div>"),i.b("\n"+t),i.b('<div class="line-num2">'),i.b(i.v(i.f("newNumber",e,n,0))),i.b("</div>"),i.fl()},partials:{},subs:{}}),Le["side-by-side-file-diff"]=new Ee.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<div id="'),i.b(i.v(i.f("fileHtmlId",e,n,0))),i.b('" class="d2h-file-wrapper" data-lang="'),i.b(i.v(i.d("file.language",e,n,0))),i.b('">'),i.b("\n"+t),i.b(' <div class="d2h-file-header">'),i.b("\n"+t),i.b(" "),i.b(i.t(i.f("filePath",e,n,0))),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b(' <div class="d2h-files-diff">'),i.b("\n"+t),i.b(' <div class="d2h-file-side-diff">'),i.b("\n"+t),i.b(' <div class="d2h-code-wrapper">'),i.b("\n"+t),i.b(' <table class="d2h-diff-table">'),i.b("\n"+t),i.b(' <tbody class="d2h-diff-tbody">'),i.b("\n"+t),i.b(" "),i.b(i.t(i.d("diffs.left",e,n,0))),i.b("\n"+t),i.b(" </tbody>"),i.b("\n"+t),i.b(" </table>"),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b(' <div class="d2h-file-side-diff">'),i.b("\n"+t),i.b(' <div class="d2h-code-wrapper">'),i.b("\n"+t),i.b(' <table class="d2h-diff-table">'),i.b("\n"+t),i.b(' <tbody class="d2h-diff-tbody">'),i.b("\n"+t),i.b(" "),i.b(i.t(i.d("diffs.right",e,n,0))),i.b("\n"+t),i.b(" </tbody>"),i.b("\n"+t),i.b(" </table>"),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b("</div>"),i.fl()},partials:{},subs:{}}),Le["tag-file-added"]=new Ee.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<span class="d2h-tag d2h-added d2h-added-tag">ADDED</span>'),i.fl()},partials:{},subs:{}}),Le["tag-file-changed"]=new Ee.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span>'),i.fl()},partials:{},subs:{}}),Le["tag-file-deleted"]=new Ee.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<span class="d2h-tag d2h-deleted d2h-deleted-tag">DELETED</span>'),i.fl()},partials:{},subs:{}}),Le["tag-file-renamed"]=new Ee.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<span class="d2h-tag d2h-moved d2h-moved-tag">RENAMED</span>'),i.fl()},partials:{},subs:{}});var ke=function(){return ke=Object.assign||function(e){for(var n,t=1,i=arguments.length;t<i;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e},ke.apply(this,arguments)},He=function(){function e(e){var n=e.compiledTemplates,t=void 0===n?{}:n,i=e.rawTemplates,r=void 0===i?{}:i,o=Object.entries(r).reduce((function(e,n){var t,i=n[0],r=n[1],o=Ee.compile(r,{asString:!1});return ke(ke({},e),((t={})[i]=o,t))}),{});this.preCompiledTemplates=ke(ke(ke({},Le),t),o)}return e.compile=function(e){return Ee.compile(e,{asString:!1})},e.prototype.render=function(e,n,t,i,r){var o=this.templateKey(e,n);try{return this.preCompiledTemplates[o].render(t,i,r)}catch(e){throw new Error("Could not find template to render '"+o+"'")}},e.prototype.template=function(e,n){return this.preCompiledTemplates[this.templateKey(e,n)]},e.prototype.templateKey=function(e,n){return e+"-"+n},e}(),Ie=function(){return Ie=Object.assign||function(e){for(var n,t=1,i=arguments.length;t<i;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e},Ie.apply(this,arguments)},je=Ie(Ie(Ie({},be),we),{outputFormat:"line-by-line",drawFileList:!0});function Oe(e,n){void 0===n&&(n={});var t=Ie(Ie({},je),n),i="string"==typeof e?z(e,t):e,r=new He(t),o=t.drawFileList?function(e,n){var t=e.map((function(e){return n.render(pe,"line",{fileHtmlId:ce(e),oldName:e.oldName,newName:e.newName,fileName:ue(e),deletedLines:"-"+e.deletedLines,addedLines:"+"+e.addedLines},{fileIcon:n.template("icon",fe(e))})})).join("\n");return n.render(pe,"wrapper",{filesNumber:e.length,files:t})}(i,r):"";return o+("side-by-side"===t.outputFormat?new Ne(r,t).render(i):new me(r,t).render(i))}var Ae=n.stringEnum([].concat(["side-by-side","line-by-line"])),Me=n.stringEnum([].concat(["dark","light"])),Pe={oldContent:i.string().def(""),newContent:i.string().def(""),diffFormat:i.string().def(Ae["line-by-line"]),diffContext:i.number(),theme:i.string().def("light"),language:i.string().def("javascript"),hljs:n.PropTypes.any.isRequired};var ze=t.defineComponent({name:"BkCodeDiff",props:Pe,emits:[],setup:function(e){var i=t.ref(null),r=t.ref(""),o=t.computed((function(){return n.classes({dark:e.theme===Me.dark},"hljs bk-code-diff")}));function a(n,o){var a,s,l=k("",e.oldContent,e.newContent,"","",{context:n});r.value=(a=Oe(l,{drawFileList:!1,matching:"lines",outputFormat:e.diffFormat}),s=o,a.replace(/d2h-code-line-ctn/g,(function(e){return"".concat(e," lang-").concat(s)}))),t.nextTick((function(){i.value&&i.value.querySelectorAll(".lang-".concat(e.language)).forEach((function(n){e.hljs.highlightElement(n)}))}))}return t.onMounted((function(){a(e.diffContext,e.language)})),t.watch((function(){return[e.diffContext,e.language]}),(function(e){var n=f(e,2);a(n[0],n[1])})),function(){return t.createVNode("div",{ref:i,class:o.value,innerHTML:r.value},null)}}}),Fe=n.withInstall(ze);e.default=Fe,Object.defineProperty(e,"__esModule",{value:!0})}));
|
package/lib/components.d.ts
CHANGED
@@ -27,7 +27,7 @@ export { default as Table } from './table';
|
|
27
27
|
export { default as Tag } from './tag';
|
28
28
|
export { default as TagInput } from './tag-input';
|
29
29
|
export { default as Divider } from './divider';
|
30
|
-
export { default as Tab,
|
30
|
+
export { default as Tab, BkTabPanel as TabPanel } from './tab';
|
31
31
|
export { default as Message } from './message';
|
32
32
|
export { default as Notify } from './notify';
|
33
33
|
export { default as Menu } from './menu';
|
package/lib/divider/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("../shared"),require("vue")):"function"==typeof define&&define.amd?define(["exports","../shared","vue"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Shared,e.Vue)}(this,(function(e,o,t){"use strict";var i=
|
1
|
+
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("../shared"),require("vue")):"function"==typeof define&&define.amd?define(["exports","../shared","vue"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Shared,e.Vue)}(this,(function(e,o,t){"use strict";var i={direction:o.PropTypes.commonType(["horizontal","vertical"],"direction").def("horizontal"),align:o.PropTypes.commonType(["left","center","right"],"align").def("center"),color:o.PropTypes.string.def("#dde4eb"),width:o.PropTypes.number.def(1),type:o.PropTypes.commonType(["dashed","solid"],"lineType").def("dashed")},d=t.defineComponent({name:"Divider",props:i,render:function(){var e,o=this;return this.$slots.default&&(e=t.createVNode("div",{class:["bk-divider-info","bk-divider-info-".concat(this.align)]},[this.$slots.default()])),t.createVNode("div",{class:["bk-divider","bk-divider-".concat(this.direction)],style:"vertical"===o.direction?{borderRight:"".concat(o.width,"px ").concat(o.type," ").concat(o.color)}:{borderBottom:"".concat(o.width,"px ").concat(o.type," ").concat(o.color)}},[e])}}),r=o.withInstall(d);e.default=r,Object.defineProperty(e,"__esModule",{value:!0})}));
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export declare const dividerProps: {
|
2
|
+
direction: import("vue-types").VueTypeDef<string> & {
|
3
|
+
default: string;
|
4
|
+
};
|
5
|
+
align: import("vue-types").VueTypeDef<string> & {
|
6
|
+
default: string;
|
7
|
+
};
|
8
|
+
color: import("vue-types").VueTypeValidableDef<string> & {
|
9
|
+
default: string;
|
10
|
+
} & {
|
11
|
+
default: string;
|
12
|
+
};
|
13
|
+
width: import("vue-types").VueTypeValidableDef<number> & {
|
14
|
+
default: number;
|
15
|
+
} & {
|
16
|
+
default: number;
|
17
|
+
};
|
18
|
+
type: import("vue-types").VueTypeDef<string> & {
|
19
|
+
default: string;
|
20
|
+
};
|
21
|
+
};
|
package/lib/loading/index.d.ts
CHANGED
@@ -5,6 +5,7 @@ declare const BkLoading: {
|
|
5
5
|
$data: {};
|
6
6
|
$props: Partial<{
|
7
7
|
title: string;
|
8
|
+
inline: boolean;
|
8
9
|
size: string;
|
9
10
|
loading: boolean;
|
10
11
|
mode: string;
|
@@ -15,6 +16,11 @@ declare const BkLoading: {
|
|
15
16
|
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
16
17
|
default: boolean;
|
17
18
|
};
|
19
|
+
inline: import("vue-types").VueTypeValidableDef<boolean> & {
|
20
|
+
default: boolean;
|
21
|
+
} & {
|
22
|
+
default: boolean;
|
23
|
+
};
|
18
24
|
theme: import("vue-types").VueTypeDef<string>;
|
19
25
|
title: import("vue-types").VueTypeValidableDef<string> & {
|
20
26
|
default: string;
|
@@ -27,7 +33,7 @@ declare const BkLoading: {
|
|
27
33
|
mode: import("vue-types").VueTypeDef<string> & {
|
28
34
|
default: string;
|
29
35
|
};
|
30
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "size" | "loading" | "mode">;
|
36
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "inline" | "size" | "loading" | "mode">;
|
31
37
|
$attrs: {
|
32
38
|
[x: string]: unknown;
|
33
39
|
};
|
@@ -48,6 +54,11 @@ declare const BkLoading: {
|
|
48
54
|
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
49
55
|
default: boolean;
|
50
56
|
};
|
57
|
+
inline: import("vue-types").VueTypeValidableDef<boolean> & {
|
58
|
+
default: boolean;
|
59
|
+
} & {
|
60
|
+
default: boolean;
|
61
|
+
};
|
51
62
|
theme: import("vue-types").VueTypeDef<string>;
|
52
63
|
title: import("vue-types").VueTypeValidableDef<string> & {
|
53
64
|
default: string;
|
@@ -60,10 +71,9 @@ declare const BkLoading: {
|
|
60
71
|
mode: import("vue-types").VueTypeDef<string> & {
|
61
72
|
default: string;
|
62
73
|
};
|
63
|
-
}>>, () => JSX.Element
|
64
|
-
[key: string]: any;
|
65
|
-
}>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
74
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
66
75
|
title: string;
|
76
|
+
inline: boolean;
|
67
77
|
size: string;
|
68
78
|
loading: boolean;
|
69
79
|
mode: string;
|
@@ -94,6 +104,11 @@ declare const BkLoading: {
|
|
94
104
|
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
95
105
|
default: boolean;
|
96
106
|
};
|
107
|
+
inline: import("vue-types").VueTypeValidableDef<boolean> & {
|
108
|
+
default: boolean;
|
109
|
+
} & {
|
110
|
+
default: boolean;
|
111
|
+
};
|
97
112
|
theme: import("vue-types").VueTypeDef<string>;
|
98
113
|
title: import("vue-types").VueTypeValidableDef<string> & {
|
99
114
|
default: string;
|
@@ -106,9 +121,7 @@ declare const BkLoading: {
|
|
106
121
|
mode: import("vue-types").VueTypeDef<string> & {
|
107
122
|
default: string;
|
108
123
|
};
|
109
|
-
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element
|
110
|
-
[key: string]: any;
|
111
|
-
}>[]> & {} & {} & import("vue").ComponentCustomProperties;
|
124
|
+
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
112
125
|
__isFragment?: never;
|
113
126
|
__isTeleport?: never;
|
114
127
|
__isSuspense?: never;
|
@@ -119,6 +132,11 @@ declare const BkLoading: {
|
|
119
132
|
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
120
133
|
default: boolean;
|
121
134
|
};
|
135
|
+
inline: import("vue-types").VueTypeValidableDef<boolean> & {
|
136
|
+
default: boolean;
|
137
|
+
} & {
|
138
|
+
default: boolean;
|
139
|
+
};
|
122
140
|
theme: import("vue-types").VueTypeDef<string>;
|
123
141
|
title: import("vue-types").VueTypeValidableDef<string> & {
|
124
142
|
default: string;
|
@@ -131,10 +149,9 @@ declare const BkLoading: {
|
|
131
149
|
mode: import("vue-types").VueTypeDef<string> & {
|
132
150
|
default: string;
|
133
151
|
};
|
134
|
-
}>>, () => JSX.Element
|
135
|
-
[key: string]: any;
|
136
|
-
}>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
152
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
137
153
|
title: string;
|
154
|
+
inline: boolean;
|
138
155
|
size: string;
|
139
156
|
loading: boolean;
|
140
157
|
mode: string;
|
package/lib/loading/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("../shared"),require("vue")):"function"==typeof define&&define.amd?define(["exports","../shared","vue"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Shared,e.Vue)}(this,(function(e,o,
|
1
|
+
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("../shared"),require("vue")):"function"==typeof define&&define.amd?define(["exports","../shared","vue"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Shared,e.Vue)}(this,(function(e,o,n){"use strict";function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var a={exports:{}};!function(e){e.exports=function(e,o,n){return o in e?Object.defineProperty(e,o,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[o]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports}(a);var i,d,l,r=t(a.exports);function u(e){l="function"==typeof e?e:function(){return n.createVNode(e,null,null)}}e.BkLoadingMode=void 0,(i=e.BkLoadingMode||(e.BkLoadingMode={})).Default="default",i.Spin="spin",e.BkLoadingSize=void 0,(d=e.BkLoadingSize||(e.BkLoadingSize={})).Normal="",d.Mini="mini",d.Small="small",d.Large="large";var s={indicator:{type:Function},loading:o.PropTypes.bool,inline:o.PropTypes.bool.def(!0),theme:o.PropTypes.theme(["white","primary","warning","success","danger"]),title:o.PropTypes.string.def(""),size:o.PropTypes.commonType(Object.values(e.BkLoadingSize)).def(e.BkLoadingSize.Normal),mode:o.PropTypes.commonType(Object.values(e.BkLoadingMode)).def("default")},c=n.defineComponent({name:"Loading",props:s,setup:function(t,a){var i=[1,2,3,4].map((function(e){return n.createVNode("span",{class:"dot dot-".concat(e)},null)})),d=n.createVNode("div",{class:"bk-spin-indicator"},[[1,2,3,4,5,6,7,8].map((function(e){return n.createVNode("span",{class:"oval oval-".concat(e)},null)}))]),u=n.computed((function(){return o.classes({"bk-loading-wrapper":t.loading,"bk-nested-loading":!!a.slots.default})})),s=n.computed((function(){var e;return o.classes((r(e={},"bk-loading-size-".concat(t.size),!!t.size),r(e,"bk-loading-".concat(t.theme),!!t.theme),e),"bk-loading-indicator")})),c=n.computed((function(){return!!t.title})),p=n.computed((function(){var o=t.mode===e.BkLoadingMode.Spin;return"function"==typeof t.indicator?n.createVNode(t.indicator,null,null):"function"==typeof l?n.createVNode(l,null,null):o?d:i}));return function(){var e,o;return n.createVNode("div",{class:u.value},[t.loading&&n.createVNode(n.Fragment,null,[n.createVNode("div",{class:s.value},[p.value,c.value&&n.createVNode("div",{class:"bk-loading-title"},[t.title])]),a.slots.default&&n.createVNode("div",{class:"bk-loading-mask"},null)]),null===(o=(e=a.slots).default)||void 0===o?void 0:o.call(e)])}}}),p=o.withInstallProps(c,{setDefaultIndicator:u,BkLoadingMode:e.BkLoadingMode,BkLoadingSize:e.BkLoadingSize},!0);e.BkLoading=p,e.default=p,e.setDefaultIndicator=u,Object.defineProperty(e,"__esModule",{value:!0})}));
|
package/lib/loading/loading.css
CHANGED
@@ -21,13 +21,18 @@
|
|
21
21
|
}
|
22
22
|
.bk-loading-wrapper {
|
23
23
|
position: static;
|
24
|
-
display: inline-block;
|
25
24
|
font-size: 0;
|
26
25
|
vertical-align: middle;
|
27
26
|
}
|
27
|
+
.bk-loading-wrapper:not(.bk-nested-loading) {
|
28
|
+
display: inline-block;
|
29
|
+
}
|
28
30
|
.bk-loading-wrapper.bk-nested-loading {
|
29
31
|
position: relative;
|
30
32
|
}
|
33
|
+
.bk-loading-wrapper.bk-nested-loading.is-block {
|
34
|
+
display: block;
|
35
|
+
}
|
31
36
|
.bk-loading-wrapper.bk-nested-loading .bk-loading-indicator {
|
32
37
|
position: absolute;
|
33
38
|
top: 50%;
|
@@ -61,6 +66,7 @@
|
|
61
66
|
animation-direction: normal;
|
62
67
|
}
|
63
68
|
.bk-loading-wrapper .bk-loading-mask {
|
69
|
+
position: absolute;
|
64
70
|
width: 100%;
|
65
71
|
height: 100%;
|
66
72
|
opacity: 0.5;
|
@@ -74,7 +80,7 @@
|
|
74
80
|
z-index: 10;
|
75
81
|
width: 100%;
|
76
82
|
height: 100%;
|
77
|
-
background-color: rgba(255, 255, 255, 0.
|
83
|
+
background-color: rgba(255, 255, 255, 0.8);
|
78
84
|
content: '';
|
79
85
|
}
|
80
86
|
.bk-loading-wrapper .bk-loading-indicator {
|
package/lib/loading/loading.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ExtractPropTypes
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
2
2
|
export declare enum BkLoadingMode {
|
3
3
|
Default = "default",
|
4
4
|
Spin = "spin"
|
@@ -17,6 +17,11 @@ export declare const loadingTypes: {
|
|
17
17
|
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
18
18
|
default: boolean;
|
19
19
|
};
|
20
|
+
inline: import("vue-types").VueTypeValidableDef<boolean> & {
|
21
|
+
default: boolean;
|
22
|
+
} & {
|
23
|
+
default: boolean;
|
24
|
+
};
|
20
25
|
theme: import("vue-types").VueTypeDef<string>;
|
21
26
|
title: import("vue-types").VueTypeValidableDef<string> & {
|
22
27
|
default: string;
|
@@ -38,6 +43,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
38
43
|
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
39
44
|
default: boolean;
|
40
45
|
};
|
46
|
+
inline: import("vue-types").VueTypeValidableDef<boolean> & {
|
47
|
+
default: boolean;
|
48
|
+
} & {
|
49
|
+
default: boolean;
|
50
|
+
};
|
41
51
|
theme: import("vue-types").VueTypeDef<string>;
|
42
52
|
title: import("vue-types").VueTypeValidableDef<string> & {
|
43
53
|
default: string;
|
@@ -50,15 +60,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
50
60
|
mode: import("vue-types").VueTypeDef<string> & {
|
51
61
|
default: string;
|
52
62
|
};
|
53
|
-
}, () => JSX.Element
|
54
|
-
[key: string]: any;
|
55
|
-
}>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
63
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
56
64
|
indicator: {
|
57
65
|
type: FunctionConstructor;
|
58
66
|
};
|
59
67
|
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
60
68
|
default: boolean;
|
61
69
|
};
|
70
|
+
inline: import("vue-types").VueTypeValidableDef<boolean> & {
|
71
|
+
default: boolean;
|
72
|
+
} & {
|
73
|
+
default: boolean;
|
74
|
+
};
|
62
75
|
theme: import("vue-types").VueTypeDef<string>;
|
63
76
|
title: import("vue-types").VueTypeValidableDef<string> & {
|
64
77
|
default: string;
|
@@ -73,6 +86,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
73
86
|
};
|
74
87
|
}>>, {
|
75
88
|
title: string;
|
89
|
+
inline: boolean;
|
76
90
|
size: string;
|
77
91
|
loading: boolean;
|
78
92
|
mode: string;
|
package/lib/loading/loading.less
CHANGED
@@ -26,7 +26,6 @@
|
|
26
26
|
@largeOvalHeight: 12px;
|
27
27
|
@largeOvalGap: 26px;
|
28
28
|
|
29
|
-
|
30
29
|
.create-rotate(@time, @deg) {
|
31
30
|
transform: rotate(@deg);
|
32
31
|
animation-delay: @time;
|
@@ -56,13 +55,19 @@
|
|
56
55
|
|
57
56
|
.@{bk-prefix}-loading-wrapper {
|
58
57
|
position: static;
|
59
|
-
display: inline-block;
|
60
58
|
font-size: 0;
|
61
59
|
vertical-align: middle;
|
62
|
-
|
60
|
+
&:not(.@{bk-prefix}-nested-loading) {
|
61
|
+
display: inline-block;
|
62
|
+
}
|
63
|
+
|
63
64
|
&.@{bk-prefix}-nested-loading {
|
64
65
|
position: relative;
|
65
66
|
|
67
|
+
&.is-block {
|
68
|
+
display: block;
|
69
|
+
}
|
70
|
+
|
66
71
|
.@{bk-prefix}-loading-indicator {
|
67
72
|
position: absolute;
|
68
73
|
top: 50%;
|
@@ -100,6 +105,7 @@
|
|
100
105
|
}
|
101
106
|
|
102
107
|
.@{bk-prefix}-loading-mask {
|
108
|
+
position: absolute;
|
103
109
|
width: 100%;
|
104
110
|
height: 100%;
|
105
111
|
opacity: .5;
|
@@ -113,7 +119,7 @@
|
|
113
119
|
z-index: 10;
|
114
120
|
width: 100%;
|
115
121
|
height: 100%;
|
116
|
-
background-color: rgba(255, 255, 255, .
|
122
|
+
background-color: rgba(255, 255, 255, .8);
|
117
123
|
content: '';
|
118
124
|
}
|
119
125
|
}
|
@@ -141,9 +147,6 @@
|
|
141
147
|
.create-rotate(.45s + (@value * .15), -135deg + (45 * (@value - 1)));
|
142
148
|
}
|
143
149
|
});
|
144
|
-
|
145
|
-
|
146
|
-
;
|
147
150
|
|
148
151
|
.@{bk-prefix}-spin-indicator {
|
149
152
|
display: inline-block;
|
@@ -182,7 +185,6 @@
|
|
182
185
|
}
|
183
186
|
}
|
184
187
|
})
|
185
|
-
|
186
188
|
.@{bk-prefix}-loading-title {
|
187
189
|
margin-top: @titleMarginTop;
|
188
190
|
font-size: @font-size-medium;
|
@@ -190,7 +192,5 @@
|
|
190
192
|
color: @default-color;
|
191
193
|
text-align: center;
|
192
194
|
}
|
193
|
-
|
194
|
-
|
195
195
|
}
|
196
196
|
}
|
@@ -114,13 +114,18 @@
|
|
114
114
|
}
|
115
115
|
.bk-loading-wrapper {
|
116
116
|
position: static;
|
117
|
-
display: inline-block;
|
118
117
|
font-size: 0;
|
119
118
|
vertical-align: middle;
|
120
119
|
}
|
120
|
+
.bk-loading-wrapper:not(.bk-nested-loading) {
|
121
|
+
display: inline-block;
|
122
|
+
}
|
121
123
|
.bk-loading-wrapper.bk-nested-loading {
|
122
124
|
position: relative;
|
123
125
|
}
|
126
|
+
.bk-loading-wrapper.bk-nested-loading.is-block {
|
127
|
+
display: block;
|
128
|
+
}
|
124
129
|
.bk-loading-wrapper.bk-nested-loading .bk-loading-indicator {
|
125
130
|
position: absolute;
|
126
131
|
top: 50%;
|
@@ -154,6 +159,7 @@
|
|
154
159
|
animation-direction: normal;
|
155
160
|
}
|
156
161
|
.bk-loading-wrapper .bk-loading-mask {
|
162
|
+
position: absolute;
|
157
163
|
width: 100%;
|
158
164
|
height: 100%;
|
159
165
|
opacity: 0.5;
|
@@ -167,7 +173,7 @@
|
|
167
173
|
z-index: 10;
|
168
174
|
width: 100%;
|
169
175
|
height: 100%;
|
170
|
-
background-color: rgba(255, 255, 255, 0.
|
176
|
+
background-color: rgba(255, 255, 255, 0.8);
|
171
177
|
content: '';
|
172
178
|
}
|
173
179
|
.bk-loading-wrapper .bk-loading-indicator {
|
@@ -81,7 +81,7 @@ declare const BkPagination: {
|
|
81
81
|
onChange?: (...args: any[]) => any;
|
82
82
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
83
83
|
"onUpdate:limit"?: (...args: any[]) => any;
|
84
|
-
|
84
|
+
onLimitChange?: (...args: any[]) => any;
|
85
85
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "location" | "small" | "layout" | "disabled" | "count" | "modelValue" | "align" | "limit" | "limitList" | "showLimit" | "showTotalCount" | "prevText" | "nextText">;
|
86
86
|
$attrs: {
|
87
87
|
[x: string]: unknown;
|
@@ -94,7 +94,7 @@ declare const BkPagination: {
|
|
94
94
|
}>;
|
95
95
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
96
96
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
97
|
-
$emit: (event: "change" | "update:modelValue" | "update:limit" | "
|
97
|
+
$emit: (event: "change" | "update:modelValue" | "update:limit" | "limitChange", ...args: any[]) => void;
|
98
98
|
$el: any;
|
99
99
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
100
100
|
modelValue: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -160,7 +160,7 @@ declare const BkPagination: {
|
|
160
160
|
onChange?: (...args: any[]) => any;
|
161
161
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
162
162
|
"onUpdate:limit"?: (...args: any[]) => any;
|
163
|
-
|
163
|
+
onLimitChange?: (...args: any[]) => any;
|
164
164
|
}, {
|
165
165
|
totalPageNum: import("vue").Ref<number>;
|
166
166
|
renderTotal: ({ isFirst, isLast }: {
|
@@ -176,7 +176,7 @@ declare const BkPagination: {
|
|
176
176
|
isLast: any;
|
177
177
|
}) => JSX.Element;
|
178
178
|
renderSmallList: () => JSX.Element;
|
179
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:limit" | "
|
179
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:limit" | "limitChange")[], string, {
|
180
180
|
type: string;
|
181
181
|
location: string;
|
182
182
|
small: boolean;
|
@@ -275,7 +275,7 @@ declare const BkPagination: {
|
|
275
275
|
onChange?: (...args: any[]) => any;
|
276
276
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
277
277
|
"onUpdate:limit"?: (...args: any[]) => any;
|
278
|
-
|
278
|
+
onLimitChange?: (...args: any[]) => any;
|
279
279
|
} & import("vue").ShallowUnwrapRef<{
|
280
280
|
totalPageNum: import("vue").Ref<number>;
|
281
281
|
renderTotal: ({ isFirst, isLast }: {
|
@@ -359,7 +359,7 @@ declare const BkPagination: {
|
|
359
359
|
onChange?: (...args: any[]) => any;
|
360
360
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
361
361
|
"onUpdate:limit"?: (...args: any[]) => any;
|
362
|
-
|
362
|
+
onLimitChange?: (...args: any[]) => any;
|
363
363
|
}, {
|
364
364
|
totalPageNum: import("vue").Ref<number>;
|
365
365
|
renderTotal: ({ isFirst, isLast }: {
|
@@ -375,7 +375,7 @@ declare const BkPagination: {
|
|
375
375
|
isLast: any;
|
376
376
|
}) => JSX.Element;
|
377
377
|
renderSmallList: () => JSX.Element;
|
378
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:limit" | "
|
378
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:limit" | "limitChange")[], "change" | "update:modelValue" | "update:limit" | "limitChange", {
|
379
379
|
type: string;
|
380
380
|
location: string;
|
381
381
|
small: boolean;
|