bkui-vue 0.0.2-beta.36 → 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 (169) hide show
  1. package/lib/affix/index.js +391 -1
  2. package/lib/alert/index.js +287 -1
  3. package/lib/animate-number/index.js +219 -1
  4. package/lib/backtop/index.js +264 -1
  5. package/lib/badge/index.js +304 -1
  6. package/lib/breadcrumb/index.js +379 -1
  7. package/lib/button/index.js +403 -1
  8. package/lib/card/index.js +369 -1
  9. package/lib/cascader/index.js +2095 -2
  10. package/lib/checkbox/index.js +602 -1
  11. package/lib/code-diff/index.js +5548 -1
  12. package/lib/collapse/index.js +605 -1
  13. package/lib/collapse-transition/index.js +237 -1
  14. package/lib/color-picker/index.js +2735 -1
  15. package/lib/components.js +770 -1
  16. package/lib/config-provider/index.js +377 -1
  17. package/lib/container/index.js +408 -1
  18. package/lib/date-picker/index.js +5576 -1
  19. package/lib/dialog/index.js +1324 -2
  20. package/lib/directives/index.js +1386 -2
  21. package/lib/dist.index.js +179 -1
  22. package/lib/divider/index.js +237 -1
  23. package/lib/dropdown/index.js +455 -1
  24. package/lib/exception/index.js +435 -1
  25. package/lib/fixed-navbar/index.js +222 -1
  26. package/lib/form/index.js +1004 -1
  27. package/lib/hooks.js +133 -1
  28. package/lib/icon/angle-double-down-line.js +541 -1
  29. package/lib/icon/angle-double-left-line.js +541 -1
  30. package/lib/icon/angle-double-left.js +541 -1
  31. package/lib/icon/angle-double-right-line.js +541 -1
  32. package/lib/icon/angle-double-right.js +541 -1
  33. package/lib/icon/angle-double-up-line.js +541 -1
  34. package/lib/icon/angle-down-fill.js +541 -1
  35. package/lib/icon/angle-down-line.js +541 -1
  36. package/lib/icon/angle-down.js +541 -1
  37. package/lib/icon/angle-left.js +541 -1
  38. package/lib/icon/angle-right.js +541 -1
  39. package/lib/icon/angle-up-fill.js +541 -1
  40. package/lib/icon/angle-up.js +541 -1
  41. package/lib/icon/archive-fill.js +541 -1
  42. package/lib/icon/arrows-left.js +541 -1
  43. package/lib/icon/arrows-right.js +541 -1
  44. package/lib/icon/assistant.js +541 -1
  45. package/lib/icon/audio-fill.js +541 -1
  46. package/lib/icon/bk.js +541 -1
  47. package/lib/icon/circle.js +541 -1
  48. package/lib/icon/close-line.js +541 -1
  49. package/lib/icon/close.js +541 -1
  50. package/lib/icon/code.js +541 -1
  51. package/lib/icon/cog-shape.js +541 -1
  52. package/lib/icon/collapse-left.js +541 -1
  53. package/lib/icon/copy-shape.js +541 -1
  54. package/lib/icon/copy.js +541 -1
  55. package/lib/icon/data-shape.js +541 -1
  56. package/lib/icon/del.js +541 -1
  57. package/lib/icon/doc-fill.js +541 -1
  58. package/lib/icon/done.js +541 -1
  59. package/lib/icon/down-shape.js +541 -1
  60. package/lib/icon/down-small.js +541 -1
  61. package/lib/icon/edit-line.js +541 -1
  62. package/lib/icon/ellipsis.js +541 -1
  63. package/lib/icon/enlarge-line.js +541 -1
  64. package/lib/icon/error.js +541 -1
  65. package/lib/icon/excel-fill.js +541 -1
  66. package/lib/icon/exclamation-circle-shape.js +541 -1
  67. package/lib/icon/eye.js +541 -1
  68. package/lib/icon/filliscreen-line.js +541 -1
  69. package/lib/icon/fix-line.js +541 -1
  70. package/lib/icon/fix-shape.js +541 -1
  71. package/lib/icon/folder-open.js +541 -1
  72. package/lib/icon/folder-shape-open.js +541 -1
  73. package/lib/icon/folder-shape.js +541 -1
  74. package/lib/icon/folder.js +541 -1
  75. package/lib/icon/funnel.js +541 -1
  76. package/lib/icon/help-document-fill.js +541 -1
  77. package/lib/icon/help-fill.js +541 -1
  78. package/lib/icon/help.js +541 -1
  79. package/lib/icon/image-fill.js +563 -1
  80. package/lib/icon/img-error.js +563 -1
  81. package/lib/icon/img-placehoulder.js +563 -1
  82. package/lib/icon/index.js +2353 -1
  83. package/lib/icon/info-line.js +563 -1
  84. package/lib/icon/info.js +563 -1
  85. package/lib/icon/left-shape.js +563 -1
  86. package/lib/icon/left-turn-line.js +563 -1
  87. package/lib/icon/narrow-line.js +563 -1
  88. package/lib/icon/original.js +563 -1
  89. package/lib/icon/pdf-fill.js +563 -1
  90. package/lib/icon/play-shape.js +563 -1
  91. package/lib/icon/plus.js +563 -1
  92. package/lib/icon/ppt-fill.js +563 -1
  93. package/lib/icon/qq.js +563 -1
  94. package/lib/icon/right-shape.js +563 -1
  95. package/lib/icon/right-turn-line.js +563 -1
  96. package/lib/icon/search.js +563 -1
  97. package/lib/icon/share.js +563 -1
  98. package/lib/icon/spinner.js +563 -1
  99. package/lib/icon/success.js +563 -1
  100. package/lib/icon/switcher-loading.js +563 -1
  101. package/lib/icon/text-file.js +563 -1
  102. package/lib/icon/text-fill.js +563 -1
  103. package/lib/icon/transfer.js +563 -1
  104. package/lib/icon/tree-application-shape.js +563 -1
  105. package/lib/icon/unfull-screen.js +563 -1
  106. package/lib/icon/unvisible.js +563 -1
  107. package/lib/icon/up-shape.js +563 -1
  108. package/lib/icon/upload.js +563 -1
  109. package/lib/icon/video-fill.js +563 -1
  110. package/lib/icon/warn.js +563 -1
  111. package/lib/icon/weixin-pro.js +563 -1
  112. package/lib/icon/weixin.js +563 -1
  113. package/lib/image/index.js +681 -1
  114. package/lib/index.js +195 -1
  115. package/lib/info-box/index.js +1514 -2
  116. package/lib/input/index.js +1038 -1
  117. package/lib/link/index.js +232 -1
  118. package/lib/loading/index.js +443 -1
  119. package/lib/locale/index.js +489 -1
  120. package/lib/menu/index.js +793 -1
  121. package/lib/message/index.js +1842 -2
  122. package/lib/modal/index.js +407 -1
  123. package/lib/navigation/index.js +439 -1
  124. package/lib/notify/index.js +470 -1
  125. package/lib/overflow-title/index.js +547 -1
  126. package/lib/pagination/index.js +974 -1
  127. package/lib/plugin-popover/index.js +4121 -1
  128. package/lib/plugins/index.js +130 -1
  129. package/lib/pop-confirm/index.js +367 -1
  130. package/lib/popover/index.js +4127 -1
  131. package/lib/popover2/index.js +171 -1
  132. package/lib/preset.js +164 -1
  133. package/lib/process/index.js +1146 -2
  134. package/lib/progress/index.js +495 -1
  135. package/lib/radio/index.js +693 -1
  136. package/lib/rate/index.js +406 -1
  137. package/lib/resize-layout/index.js +499 -1
  138. package/lib/search-select/index.js +3024 -2
  139. package/lib/select/index.js +2599 -2
  140. package/lib/shared/index.js +2832 -1
  141. package/lib/sideslider/index.js +1056 -2
  142. package/lib/slider/index.js +1683 -2
  143. package/lib/steps/index.js +1215 -2
  144. package/lib/swiper/index.js +404 -1
  145. package/lib/switcher/index.js +335 -1
  146. package/lib/tab/index.js +935 -1
  147. package/lib/table/index.js +6588 -1
  148. package/lib/table-column/index.js +768 -1
  149. package/lib/tag/index.js +309 -1
  150. package/lib/tag-input/index.js +1758 -1
  151. package/lib/time-picker/index.js +142 -1
  152. package/lib/timeline/index.js +310 -1
  153. package/lib/transfer/index.js +767 -1
  154. package/lib/tree/index.js +2664 -1
  155. package/lib/upload/index.js +3257 -2
  156. package/lib/virtual-render/index.js +806 -1
  157. package/package.json +1 -1
  158. package/lib/cascader/index.js.LICENSE.txt +0 -1
  159. package/lib/dialog/index.js.LICENSE.txt +0 -1
  160. package/lib/directives/index.js.LICENSE.txt +0 -14
  161. package/lib/info-box/index.js.LICENSE.txt +0 -1
  162. package/lib/message/index.js.LICENSE.txt +0 -6
  163. package/lib/process/index.js.LICENSE.txt +0 -1
  164. package/lib/search-select/index.js.LICENSE.txt +0 -1
  165. package/lib/select/index.js.LICENSE.txt +0 -1
  166. package/lib/sideslider/index.js.LICENSE.txt +0 -1
  167. package/lib/slider/index.js.LICENSE.txt +0 -1
  168. package/lib/steps/index.js.LICENSE.txt +0 -1
  169. package/lib/upload/index.js.LICENSE.txt +0 -1
@@ -1,2 +1,1056 @@
1
- /*! For license information please see index.js.LICENSE.txt */
2
- !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("../shared"),require("vue"),require("../button"),require("../config-provider"),require("../modal"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../button","../config-provider","../modal"],e);else{var r="object"==typeof exports?e(require("../shared"),require("vue"),require("../button"),require("../config-provider"),require("../modal")):e(t["../shared"],t.vue,t["../button"],t["../config-provider"],t["../modal"]);for(var o in r)("object"==typeof exports?exports:t)[o]=r[o]}}(self,((t,e,r,o,n)=>(()=>{var i={4976:t=>{"use strict";t.exports=r},2717:t=>{"use strict";t.exports=o},8014:t=>{"use strict";t.exports=n},4212:e=>{"use strict";e.exports=t},748:t=>{"use strict";t.exports=e},7609:(t,e,r)=>{var o=r(7425).default;function n(){"use strict";t.exports=n=function(){return e},t.exports.__esModule=!0,t.exports.default=t.exports;var e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",s=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function d(t,e,r,o){var n=e&&e.prototype instanceof v?e:v,i=Object.create(n.prototype),c=new N(o||[]);return a(i,"_invoke",{value:O(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=d;var h={};function v(){}function y(){}function g(){}var m={};f(m,u,(function(){return this}));var x=Object.getPrototypeOf,b=x&&x(x(P([])));b&&b!==r&&i.call(b,u)&&(m=b);var w=g.prototype=v.prototype=Object.create(m);function j(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(n,a,c,u){var s=p(t[n],t,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==o(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){l.value=t,c(l)}),(function(t){return r("throw",t,c,u)}))}u(s.arg)}var n;a(this,"_invoke",{value:function(t,o){function i(){return new e((function(e,n){r(t,o,e,n)}))}return n=n?n.then(i,i):i()}})}function O(t,e,r){var o="suspendedStart";return function(n,i){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===n)throw i;return{value:void 0,done:!0}}for(r.method=n,r.arg=i;;){var a=r.delegate;if(a){var c=_(a,r);if(c){if(c===h)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===o)throw o="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o="executing";var u=p(t,e,r);if("normal"===u.type){if(o=r.done?"completed":"suspendedYield",u.arg===h)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o="completed",r.method="throw",r.arg=u.arg)}}}function _(t,e){var r=e.method,o=t.iterator[r];if(void 0===o)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var n=p(o,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,h;var i=n.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function P(t){if(t){var e=t[u];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r<t.length;)if(i.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return y.prototype=g,a(w,"constructor",{value:g,configurable:!0}),a(g,"constructor",{value:y,configurable:!0}),y.displayName=f(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,f(t,l,"GeneratorFunction")),t.prototype=Object.create(w),t},e.awrap=function(t){return{__await:t}},j(L.prototype),f(L.prototype,s,(function(){return this})),e.AsyncIterator=L,e.async=function(t,r,o,n,i){void 0===i&&(i=Promise);var a=new L(d(t,r,o,n),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},j(w),f(w,l,"Generator"),f(w,u,(function(){return this})),f(w,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var o in e)r.push(o);return r.reverse(),function t(){for(;r.length;){var o=r.pop();if(o in e)return t.value=o,t.done=!1,t}return t.done=!0,t}},e.values=P,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return a.type="throw",a.arg=t,e.next=r,o&&(e.method="next",e.arg=void 0),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var n=this.tryEntries[o],a=n.completion;if("root"===n.tryLoc)return r("end");if(n.tryLoc<=this.prev){var c=i.call(n,"catchLoc"),u=i.call(n,"finallyLoc");if(c&&u){if(this.prev<n.catchLoc)return r(n.catchLoc,!0);if(this.prev<n.finallyLoc)return r(n.finallyLoc)}else if(c){if(this.prev<n.catchLoc)return r(n.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<n.finallyLoc)return r(n.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var n=o;break}}n&&("break"===t||"continue"===t)&&n.tryLoc<=e&&e<=n.finallyLoc&&(n=null);var a=n?n.completion:{};return a.type=t,a.arg=e,n?(this.method="next",this.next=n.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var o=r.completion;if("throw"===o.type){var n=o.arg;E(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},e}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},7425:t=>{function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},2841:(t,e,r)=>{var o=r(7609)();t.exports=o;try{regeneratorRuntime=o}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}}},a={};function c(t){var e=a[t];if(void 0!==e)return e.exports;var r=a[t]={exports:{}};return i[t](r,r.exports,c),r.exports}c.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return c.d(e,{a:e}),e},c.d=(t,e)=>{for(var r in e)c.o(e,r)&&!c.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},c.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),c.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var u={};return(()=>{"use strict";c.r(u),c.d(u,{default:()=>h});var t=c(4212),e=c(748),r=c(2841),o=c.n(r);Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var n=c(4976),i=c.n(n),a=c(2717),s=c(8014),l=c.n(s),f=l().propsMixin,d=Object.assign({},f);d.width.default="400",d.height.default="100%";const p=(0,e.defineComponent)({name:"Sideslider",components:{BkModal:l(),BkButton:i()},props:Object.assign(Object.assign({},d),{direction:{type:String,default:"right",validator:function(t){var e=["left","right"];return!(e.indexOf(t)<0&&(console.error("direction property is not valid: '".concat(t,"',【").concat(e.join(" | "),"】")),1))}}}),emits:["closed","update:isShow","shown","hidden","animation-end"],setup:function(t,r){var n=this,i=r.slots,c=r.emit,u=function(){return e=n,r=void 0,i=void 0,a=o().mark((function e(){var r;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=!0,"function"!=typeof t.beforeClose){e.next=5;break}return e.next=4,t.beforeClose();case 4:r=e.sent;case 5:r&&(c("update:isShow",!1),c("closed"),setTimeout((function(){c("animation-end")}),250));case 6:case"end":return e.stop()}}),e)})),new(i||(i=Promise))((function(t,o){function n(t){try{u(a.next(t))}catch(t){o(t)}}function c(t){try{u(a.throw(t))}catch(t){o(t)}}function u(e){var r;e.done?t(e.value):(r=e.value,r instanceof i?r:new i((function(t){t(r)}))).then(n,c)}u((a=a.apply(e,r||[])).next())}));var e,r,i,a},s=function(){setTimeout((function(){c("shown")}),200)},f=function(){setTimeout((function(){c("hidden")}),200)},d=(0,a.usePrefix)().resolveClassName;return function(){var r,o={header:function(){var r,o;return(0,e.createVNode)(e.Fragment,null,[(0,e.createVNode)("div",{class:"".concat(d("sideslider-header"))},[(0,e.createVNode)("div",{class:"".concat(d("sideslider-close")," ").concat(t.direction),onClick:function(){u()}},null),(0,e.createVNode)("div",{class:"".concat(d("sideslider-title")," ").concat(t.direction)},[null!==(o=null===(r=i.header)||void 0===r?void 0:r.call(i))&&void 0!==o?o:t.title])])])},default:function(){var t,e;return null!==(e=null===(t=i.default)||void 0===t?void 0:t.call(i))&&void 0!==e?e:"Content"},footer:function(){return i.footer?(0,e.createVNode)("div",{class:"".concat(d("sideslider-footer"))},[i.footer()]):null}},n="".concat(d("sideslider-wrapper")," ").concat(t.scrollable?"scroll-able":""," ").concat(t.extCls),a=i.footer?"calc(100vh - 106px)":"calc(100vh - 52px)";return(0,e.createVNode)(l(),(0,e.mergeProps)(t,{maxHeight:a,class:n,style:"".concat(t.direction,": 0;"),onHidden:f,onShown:s,onClose:u}),"function"==typeof(r=o)||"[object Object]"===Object.prototype.toString.call(r)&&!(0,e.isVNode)(r)?o:{default:function(){return[o]}})}}}),h=(0,t.withInstall)(p)})(),u})()));
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory(require("../shared"), require("vue"), require("../button"), require("../config-provider"), require("../modal"));
4
+ else if(typeof define === 'function' && define.amd)
5
+ define(["../shared", "vue", "../button", "../config-provider", "../modal"], factory);
6
+ else {
7
+ var a = typeof exports === 'object' ? factory(require("../shared"), require("vue"), require("../button"), require("../config-provider"), require("../modal")) : factory(root["../shared"], root["vue"], root["../button"], root["../config-provider"], root["../modal"]);
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__4976__, __WEBPACK_EXTERNAL_MODULE__2717__, __WEBPACK_EXTERNAL_MODULE__8014__) => {
11
+ return /******/ (() => { // webpackBootstrap
12
+ /******/ var __webpack_modules__ = ({
13
+
14
+ /***/ 4976:
15
+ /***/ ((module) => {
16
+
17
+ "use strict";
18
+ module.exports = __WEBPACK_EXTERNAL_MODULE__4976__;
19
+
20
+ /***/ }),
21
+
22
+ /***/ 2717:
23
+ /***/ ((module) => {
24
+
25
+ "use strict";
26
+ module.exports = __WEBPACK_EXTERNAL_MODULE__2717__;
27
+
28
+ /***/ }),
29
+
30
+ /***/ 8014:
31
+ /***/ ((module) => {
32
+
33
+ "use strict";
34
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8014__;
35
+
36
+ /***/ }),
37
+
38
+ /***/ 4212:
39
+ /***/ ((module) => {
40
+
41
+ "use strict";
42
+ module.exports = __WEBPACK_EXTERNAL_MODULE__4212__;
43
+
44
+ /***/ }),
45
+
46
+ /***/ 748:
47
+ /***/ ((module) => {
48
+
49
+ "use strict";
50
+ module.exports = __WEBPACK_EXTERNAL_MODULE__748__;
51
+
52
+ /***/ }),
53
+
54
+ /***/ 7609:
55
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
56
+
57
+ var _typeof = (__webpack_require__(7425)["default"]);
58
+ function _regeneratorRuntime() {
59
+ "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
60
+ module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
61
+ return exports;
62
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports;
63
+ var exports = {},
64
+ Op = Object.prototype,
65
+ hasOwn = Op.hasOwnProperty,
66
+ defineProperty = Object.defineProperty || function (obj, key, desc) {
67
+ obj[key] = desc.value;
68
+ },
69
+ $Symbol = "function" == typeof Symbol ? Symbol : {},
70
+ iteratorSymbol = $Symbol.iterator || "@@iterator",
71
+ asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
72
+ toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
73
+ function define(obj, key, value) {
74
+ return Object.defineProperty(obj, key, {
75
+ value: value,
76
+ enumerable: !0,
77
+ configurable: !0,
78
+ writable: !0
79
+ }), obj[key];
80
+ }
81
+ try {
82
+ define({}, "");
83
+ } catch (err) {
84
+ define = function define(obj, key, value) {
85
+ return obj[key] = value;
86
+ };
87
+ }
88
+ function wrap(innerFn, outerFn, self, tryLocsList) {
89
+ var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
90
+ generator = Object.create(protoGenerator.prototype),
91
+ context = new Context(tryLocsList || []);
92
+ return defineProperty(generator, "_invoke", {
93
+ value: makeInvokeMethod(innerFn, self, context)
94
+ }), generator;
95
+ }
96
+ function tryCatch(fn, obj, arg) {
97
+ try {
98
+ return {
99
+ type: "normal",
100
+ arg: fn.call(obj, arg)
101
+ };
102
+ } catch (err) {
103
+ return {
104
+ type: "throw",
105
+ arg: err
106
+ };
107
+ }
108
+ }
109
+ exports.wrap = wrap;
110
+ var ContinueSentinel = {};
111
+ function Generator() {}
112
+ function GeneratorFunction() {}
113
+ function GeneratorFunctionPrototype() {}
114
+ var IteratorPrototype = {};
115
+ define(IteratorPrototype, iteratorSymbol, function () {
116
+ return this;
117
+ });
118
+ var getProto = Object.getPrototypeOf,
119
+ NativeIteratorPrototype = getProto && getProto(getProto(values([])));
120
+ NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
121
+ var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
122
+ function defineIteratorMethods(prototype) {
123
+ ["next", "throw", "return"].forEach(function (method) {
124
+ define(prototype, method, function (arg) {
125
+ return this._invoke(method, arg);
126
+ });
127
+ });
128
+ }
129
+ function AsyncIterator(generator, PromiseImpl) {
130
+ function invoke(method, arg, resolve, reject) {
131
+ var record = tryCatch(generator[method], generator, arg);
132
+ if ("throw" !== record.type) {
133
+ var result = record.arg,
134
+ value = result.value;
135
+ return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
136
+ invoke("next", value, resolve, reject);
137
+ }, function (err) {
138
+ invoke("throw", err, resolve, reject);
139
+ }) : PromiseImpl.resolve(value).then(function (unwrapped) {
140
+ result.value = unwrapped, resolve(result);
141
+ }, function (error) {
142
+ return invoke("throw", error, resolve, reject);
143
+ });
144
+ }
145
+ reject(record.arg);
146
+ }
147
+ var previousPromise;
148
+ defineProperty(this, "_invoke", {
149
+ value: function value(method, arg) {
150
+ function callInvokeWithMethodAndArg() {
151
+ return new PromiseImpl(function (resolve, reject) {
152
+ invoke(method, arg, resolve, reject);
153
+ });
154
+ }
155
+ return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
156
+ }
157
+ });
158
+ }
159
+ function makeInvokeMethod(innerFn, self, context) {
160
+ var state = "suspendedStart";
161
+ return function (method, arg) {
162
+ if ("executing" === state) throw new Error("Generator is already running");
163
+ if ("completed" === state) {
164
+ if ("throw" === method) throw arg;
165
+ return doneResult();
166
+ }
167
+ for (context.method = method, context.arg = arg;;) {
168
+ var delegate = context.delegate;
169
+ if (delegate) {
170
+ var delegateResult = maybeInvokeDelegate(delegate, context);
171
+ if (delegateResult) {
172
+ if (delegateResult === ContinueSentinel) continue;
173
+ return delegateResult;
174
+ }
175
+ }
176
+ if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
177
+ if ("suspendedStart" === state) throw state = "completed", context.arg;
178
+ context.dispatchException(context.arg);
179
+ } else "return" === context.method && context.abrupt("return", context.arg);
180
+ state = "executing";
181
+ var record = tryCatch(innerFn, self, context);
182
+ if ("normal" === record.type) {
183
+ if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
184
+ return {
185
+ value: record.arg,
186
+ done: context.done
187
+ };
188
+ }
189
+ "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
190
+ }
191
+ };
192
+ }
193
+ function maybeInvokeDelegate(delegate, context) {
194
+ var methodName = context.method,
195
+ method = delegate.iterator[methodName];
196
+ if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
197
+ var record = tryCatch(method, delegate.iterator, context.arg);
198
+ if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
199
+ var info = record.arg;
200
+ return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
201
+ }
202
+ function pushTryEntry(locs) {
203
+ var entry = {
204
+ tryLoc: locs[0]
205
+ };
206
+ 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
207
+ }
208
+ function resetTryEntry(entry) {
209
+ var record = entry.completion || {};
210
+ record.type = "normal", delete record.arg, entry.completion = record;
211
+ }
212
+ function Context(tryLocsList) {
213
+ this.tryEntries = [{
214
+ tryLoc: "root"
215
+ }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
216
+ }
217
+ function values(iterable) {
218
+ if (iterable) {
219
+ var iteratorMethod = iterable[iteratorSymbol];
220
+ if (iteratorMethod) return iteratorMethod.call(iterable);
221
+ if ("function" == typeof iterable.next) return iterable;
222
+ if (!isNaN(iterable.length)) {
223
+ var i = -1,
224
+ next = function next() {
225
+ for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
226
+ return next.value = undefined, next.done = !0, next;
227
+ };
228
+ return next.next = next;
229
+ }
230
+ }
231
+ return {
232
+ next: doneResult
233
+ };
234
+ }
235
+ function doneResult() {
236
+ return {
237
+ value: undefined,
238
+ done: !0
239
+ };
240
+ }
241
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
242
+ value: GeneratorFunctionPrototype,
243
+ configurable: !0
244
+ }), defineProperty(GeneratorFunctionPrototype, "constructor", {
245
+ value: GeneratorFunction,
246
+ configurable: !0
247
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
248
+ var ctor = "function" == typeof genFun && genFun.constructor;
249
+ return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
250
+ }, exports.mark = function (genFun) {
251
+ return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
252
+ }, exports.awrap = function (arg) {
253
+ return {
254
+ __await: arg
255
+ };
256
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
257
+ return this;
258
+ }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
259
+ void 0 === PromiseImpl && (PromiseImpl = Promise);
260
+ var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
261
+ return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
262
+ return result.done ? result.value : iter.next();
263
+ });
264
+ }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
265
+ return this;
266
+ }), define(Gp, "toString", function () {
267
+ return "[object Generator]";
268
+ }), exports.keys = function (val) {
269
+ var object = Object(val),
270
+ keys = [];
271
+ for (var key in object) keys.push(key);
272
+ return keys.reverse(), function next() {
273
+ for (; keys.length;) {
274
+ var key = keys.pop();
275
+ if (key in object) return next.value = key, next.done = !1, next;
276
+ }
277
+ return next.done = !0, next;
278
+ };
279
+ }, exports.values = values, Context.prototype = {
280
+ constructor: Context,
281
+ reset: function reset(skipTempReset) {
282
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
283
+ },
284
+ stop: function stop() {
285
+ this.done = !0;
286
+ var rootRecord = this.tryEntries[0].completion;
287
+ if ("throw" === rootRecord.type) throw rootRecord.arg;
288
+ return this.rval;
289
+ },
290
+ dispatchException: function dispatchException(exception) {
291
+ if (this.done) throw exception;
292
+ var context = this;
293
+ function handle(loc, caught) {
294
+ return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
295
+ }
296
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
297
+ var entry = this.tryEntries[i],
298
+ record = entry.completion;
299
+ if ("root" === entry.tryLoc) return handle("end");
300
+ if (entry.tryLoc <= this.prev) {
301
+ var hasCatch = hasOwn.call(entry, "catchLoc"),
302
+ hasFinally = hasOwn.call(entry, "finallyLoc");
303
+ if (hasCatch && hasFinally) {
304
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
305
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
306
+ } else if (hasCatch) {
307
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
308
+ } else {
309
+ if (!hasFinally) throw new Error("try statement without catch or finally");
310
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
311
+ }
312
+ }
313
+ }
314
+ },
315
+ abrupt: function abrupt(type, arg) {
316
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
317
+ var entry = this.tryEntries[i];
318
+ if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
319
+ var finallyEntry = entry;
320
+ break;
321
+ }
322
+ }
323
+ finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
324
+ var record = finallyEntry ? finallyEntry.completion : {};
325
+ return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
326
+ },
327
+ complete: function complete(record, afterLoc) {
328
+ if ("throw" === record.type) throw record.arg;
329
+ return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
330
+ },
331
+ finish: function finish(finallyLoc) {
332
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
333
+ var entry = this.tryEntries[i];
334
+ if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
335
+ }
336
+ },
337
+ "catch": function _catch(tryLoc) {
338
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
339
+ var entry = this.tryEntries[i];
340
+ if (entry.tryLoc === tryLoc) {
341
+ var record = entry.completion;
342
+ if ("throw" === record.type) {
343
+ var thrown = record.arg;
344
+ resetTryEntry(entry);
345
+ }
346
+ return thrown;
347
+ }
348
+ }
349
+ throw new Error("illegal catch attempt");
350
+ },
351
+ delegateYield: function delegateYield(iterable, resultName, nextLoc) {
352
+ return this.delegate = {
353
+ iterator: values(iterable),
354
+ resultName: resultName,
355
+ nextLoc: nextLoc
356
+ }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
357
+ }
358
+ }, exports;
359
+ }
360
+ module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
361
+
362
+ /***/ }),
363
+
364
+ /***/ 7425:
365
+ /***/ ((module) => {
366
+
367
+ function _typeof(obj) {
368
+ "@babel/helpers - typeof";
369
+
370
+ return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
371
+ return typeof obj;
372
+ } : function (obj) {
373
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
374
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
375
+ }
376
+ module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
377
+
378
+ /***/ }),
379
+
380
+ /***/ 2841:
381
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
382
+
383
+ // TODO(Babel 8): Remove this file.
384
+
385
+ var runtime = __webpack_require__(7609)();
386
+ module.exports = runtime;
387
+
388
+ // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
389
+ try {
390
+ regeneratorRuntime = runtime;
391
+ } catch (accidentalStrictMode) {
392
+ if (typeof globalThis === "object") {
393
+ globalThis.regeneratorRuntime = runtime;
394
+ } else {
395
+ Function("r", "regeneratorRuntime = r")(runtime);
396
+ }
397
+ }
398
+
399
+
400
+ /***/ })
401
+
402
+ /******/ });
403
+ /************************************************************************/
404
+ /******/ // The module cache
405
+ /******/ var __webpack_module_cache__ = {};
406
+ /******/
407
+ /******/ // The require function
408
+ /******/ function __webpack_require__(moduleId) {
409
+ /******/ // Check if module is in cache
410
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
411
+ /******/ if (cachedModule !== undefined) {
412
+ /******/ return cachedModule.exports;
413
+ /******/ }
414
+ /******/ // Create a new module (and put it into the cache)
415
+ /******/ var module = __webpack_module_cache__[moduleId] = {
416
+ /******/ // no module.id needed
417
+ /******/ // no module.loaded needed
418
+ /******/ exports: {}
419
+ /******/ };
420
+ /******/
421
+ /******/ // Execute the module function
422
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
423
+ /******/
424
+ /******/ // Return the exports of the module
425
+ /******/ return module.exports;
426
+ /******/ }
427
+ /******/
428
+ /************************************************************************/
429
+ /******/ /* webpack/runtime/compat get default export */
430
+ /******/ (() => {
431
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
432
+ /******/ __webpack_require__.n = (module) => {
433
+ /******/ var getter = module && module.__esModule ?
434
+ /******/ () => (module['default']) :
435
+ /******/ () => (module);
436
+ /******/ __webpack_require__.d(getter, { a: getter });
437
+ /******/ return getter;
438
+ /******/ };
439
+ /******/ })();
440
+ /******/
441
+ /******/ /* webpack/runtime/define property getters */
442
+ /******/ (() => {
443
+ /******/ // define getter functions for harmony exports
444
+ /******/ __webpack_require__.d = (exports, definition) => {
445
+ /******/ for(var key in definition) {
446
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
447
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
448
+ /******/ }
449
+ /******/ }
450
+ /******/ };
451
+ /******/ })();
452
+ /******/
453
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
454
+ /******/ (() => {
455
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
456
+ /******/ })();
457
+ /******/
458
+ /******/ /* webpack/runtime/make namespace object */
459
+ /******/ (() => {
460
+ /******/ // define __esModule on exports
461
+ /******/ __webpack_require__.r = (exports) => {
462
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
463
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
464
+ /******/ }
465
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
466
+ /******/ };
467
+ /******/ })();
468
+ /******/
469
+ /************************************************************************/
470
+ var __webpack_exports__ = {};
471
+ // This entry need to be wrapped in an IIFE because it need to be in strict mode.
472
+ (() => {
473
+ "use strict";
474
+ // ESM COMPAT FLAG
475
+ __webpack_require__.r(__webpack_exports__);
476
+
477
+ // EXPORTS
478
+ __webpack_require__.d(__webpack_exports__, {
479
+ "default": () => (/* binding */ src)
480
+ });
481
+
482
+ // EXTERNAL MODULE: external "../shared"
483
+ var external_shared_ = __webpack_require__(4212);
484
+ // EXTERNAL MODULE: external "vue"
485
+ var external_vue_ = __webpack_require__(748);
486
+ // EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
487
+ var regenerator = __webpack_require__(2841);
488
+ var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
489
+ ;// CONCATENATED MODULE: ../../node_modules/tslib/tslib.es6.mjs
490
+ /******************************************************************************
491
+ Copyright (c) Microsoft Corporation.
492
+
493
+ Permission to use, copy, modify, and/or distribute this software for any
494
+ purpose with or without fee is hereby granted.
495
+
496
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
497
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
498
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
499
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
500
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
501
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
502
+ PERFORMANCE OF THIS SOFTWARE.
503
+ ***************************************************************************** */
504
+ /* global Reflect, Promise, SuppressedError, Symbol */
505
+
506
+ var extendStatics = function(d, b) {
507
+ extendStatics = Object.setPrototypeOf ||
508
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
509
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
510
+ return extendStatics(d, b);
511
+ };
512
+
513
+ function __extends(d, b) {
514
+ if (typeof b !== "function" && b !== null)
515
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
516
+ extendStatics(d, b);
517
+ function __() { this.constructor = d; }
518
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
519
+ }
520
+
521
+ var __assign = function() {
522
+ __assign = Object.assign || function __assign(t) {
523
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
524
+ s = arguments[i];
525
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
526
+ }
527
+ return t;
528
+ }
529
+ return __assign.apply(this, arguments);
530
+ }
531
+
532
+ function __rest(s, e) {
533
+ var t = {};
534
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
535
+ t[p] = s[p];
536
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
537
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
538
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
539
+ t[p[i]] = s[p[i]];
540
+ }
541
+ return t;
542
+ }
543
+
544
+ function __decorate(decorators, target, key, desc) {
545
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
546
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
547
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
548
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
549
+ }
550
+
551
+ function __param(paramIndex, decorator) {
552
+ return function (target, key) { decorator(target, key, paramIndex); }
553
+ }
554
+
555
+ function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
556
+ function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
557
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
558
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
559
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
560
+ var _, done = false;
561
+ for (var i = decorators.length - 1; i >= 0; i--) {
562
+ var context = {};
563
+ for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
564
+ for (var p in contextIn.access) context.access[p] = contextIn.access[p];
565
+ context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
566
+ var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
567
+ if (kind === "accessor") {
568
+ if (result === void 0) continue;
569
+ if (result === null || typeof result !== "object") throw new TypeError("Object expected");
570
+ if (_ = accept(result.get)) descriptor.get = _;
571
+ if (_ = accept(result.set)) descriptor.set = _;
572
+ if (_ = accept(result.init)) initializers.unshift(_);
573
+ }
574
+ else if (_ = accept(result)) {
575
+ if (kind === "field") initializers.unshift(_);
576
+ else descriptor[key] = _;
577
+ }
578
+ }
579
+ if (target) Object.defineProperty(target, contextIn.name, descriptor);
580
+ done = true;
581
+ };
582
+
583
+ function __runInitializers(thisArg, initializers, value) {
584
+ var useValue = arguments.length > 2;
585
+ for (var i = 0; i < initializers.length; i++) {
586
+ value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
587
+ }
588
+ return useValue ? value : void 0;
589
+ };
590
+
591
+ function __propKey(x) {
592
+ return typeof x === "symbol" ? x : "".concat(x);
593
+ };
594
+
595
+ function __setFunctionName(f, name, prefix) {
596
+ if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
597
+ return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
598
+ };
599
+
600
+ function __metadata(metadataKey, metadataValue) {
601
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
602
+ }
603
+
604
+ function __awaiter(thisArg, _arguments, P, generator) {
605
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
606
+ return new (P || (P = Promise))(function (resolve, reject) {
607
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
608
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
609
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
610
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
611
+ });
612
+ }
613
+
614
+ function __generator(thisArg, body) {
615
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
616
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
617
+ function verb(n) { return function (v) { return step([n, v]); }; }
618
+ function step(op) {
619
+ if (f) throw new TypeError("Generator is already executing.");
620
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
621
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
622
+ if (y = 0, t) op = [op[0] & 2, t.value];
623
+ switch (op[0]) {
624
+ case 0: case 1: t = op; break;
625
+ case 4: _.label++; return { value: op[1], done: false };
626
+ case 5: _.label++; y = op[1]; op = [0]; continue;
627
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
628
+ default:
629
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
630
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
631
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
632
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
633
+ if (t[2]) _.ops.pop();
634
+ _.trys.pop(); continue;
635
+ }
636
+ op = body.call(thisArg, _);
637
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
638
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
639
+ }
640
+ }
641
+
642
+ var __createBinding = Object.create ? (function(o, m, k, k2) {
643
+ if (k2 === undefined) k2 = k;
644
+ var desc = Object.getOwnPropertyDescriptor(m, k);
645
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
646
+ desc = { enumerable: true, get: function() { return m[k]; } };
647
+ }
648
+ Object.defineProperty(o, k2, desc);
649
+ }) : (function(o, m, k, k2) {
650
+ if (k2 === undefined) k2 = k;
651
+ o[k2] = m[k];
652
+ });
653
+
654
+ function __exportStar(m, o) {
655
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
656
+ }
657
+
658
+ function __values(o) {
659
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
660
+ if (m) return m.call(o);
661
+ if (o && typeof o.length === "number") return {
662
+ next: function () {
663
+ if (o && i >= o.length) o = void 0;
664
+ return { value: o && o[i++], done: !o };
665
+ }
666
+ };
667
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
668
+ }
669
+
670
+ function __read(o, n) {
671
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
672
+ if (!m) return o;
673
+ var i = m.call(o), r, ar = [], e;
674
+ try {
675
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
676
+ }
677
+ catch (error) { e = { error: error }; }
678
+ finally {
679
+ try {
680
+ if (r && !r.done && (m = i["return"])) m.call(i);
681
+ }
682
+ finally { if (e) throw e.error; }
683
+ }
684
+ return ar;
685
+ }
686
+
687
+ /** @deprecated */
688
+ function __spread() {
689
+ for (var ar = [], i = 0; i < arguments.length; i++)
690
+ ar = ar.concat(__read(arguments[i]));
691
+ return ar;
692
+ }
693
+
694
+ /** @deprecated */
695
+ function __spreadArrays() {
696
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
697
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
698
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
699
+ r[k] = a[j];
700
+ return r;
701
+ }
702
+
703
+ function __spreadArray(to, from, pack) {
704
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
705
+ if (ar || !(i in from)) {
706
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
707
+ ar[i] = from[i];
708
+ }
709
+ }
710
+ return to.concat(ar || Array.prototype.slice.call(from));
711
+ }
712
+
713
+ function __await(v) {
714
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
715
+ }
716
+
717
+ function __asyncGenerator(thisArg, _arguments, generator) {
718
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
719
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
720
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
721
+ function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
722
+ function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
723
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
724
+ function fulfill(value) { resume("next", value); }
725
+ function reject(value) { resume("throw", value); }
726
+ function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
727
+ }
728
+
729
+ function __asyncDelegator(o) {
730
+ var i, p;
731
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
732
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
733
+ }
734
+
735
+ function __asyncValues(o) {
736
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
737
+ var m = o[Symbol.asyncIterator], i;
738
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
739
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
740
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
741
+ }
742
+
743
+ function __makeTemplateObject(cooked, raw) {
744
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
745
+ return cooked;
746
+ };
747
+
748
+ var __setModuleDefault = Object.create ? (function(o, v) {
749
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
750
+ }) : function(o, v) {
751
+ o["default"] = v;
752
+ };
753
+
754
+ function __importStar(mod) {
755
+ if (mod && mod.__esModule) return mod;
756
+ var result = {};
757
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
758
+ __setModuleDefault(result, mod);
759
+ return result;
760
+ }
761
+
762
+ function __importDefault(mod) {
763
+ return (mod && mod.__esModule) ? mod : { default: mod };
764
+ }
765
+
766
+ function __classPrivateFieldGet(receiver, state, kind, f) {
767
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
768
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
769
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
770
+ }
771
+
772
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
773
+ if (kind === "m") throw new TypeError("Private method is not writable");
774
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
775
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
776
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
777
+ }
778
+
779
+ function __classPrivateFieldIn(state, receiver) {
780
+ if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
781
+ return typeof state === "function" ? receiver === state : state.has(receiver);
782
+ }
783
+
784
+ function __addDisposableResource(env, value, async) {
785
+ if (value !== null && value !== void 0) {
786
+ if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
787
+ var dispose;
788
+ if (async) {
789
+ if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
790
+ dispose = value[Symbol.asyncDispose];
791
+ }
792
+ if (dispose === void 0) {
793
+ if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
794
+ dispose = value[Symbol.dispose];
795
+ }
796
+ if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
797
+ env.stack.push({ value: value, dispose: dispose, async: async });
798
+ }
799
+ else if (async) {
800
+ env.stack.push({ async: true });
801
+ }
802
+ return value;
803
+ }
804
+
805
+ var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
806
+ var e = new Error(message);
807
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
808
+ };
809
+
810
+ function __disposeResources(env) {
811
+ function fail(e) {
812
+ env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
813
+ env.hasError = true;
814
+ }
815
+ function next() {
816
+ while (env.stack.length) {
817
+ var rec = env.stack.pop();
818
+ try {
819
+ var result = rec.dispose && rec.dispose.call(rec.value);
820
+ if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
821
+ }
822
+ catch (e) {
823
+ fail(e);
824
+ }
825
+ }
826
+ if (env.hasError) throw env.error;
827
+ }
828
+ return next();
829
+ }
830
+
831
+ /* harmony default export */ const tslib_es6 = ({
832
+ __extends,
833
+ __assign,
834
+ __rest,
835
+ __decorate,
836
+ __param,
837
+ __metadata,
838
+ __awaiter,
839
+ __generator,
840
+ __createBinding,
841
+ __exportStar,
842
+ __values,
843
+ __read,
844
+ __spread,
845
+ __spreadArrays,
846
+ __spreadArray,
847
+ __await,
848
+ __asyncGenerator,
849
+ __asyncDelegator,
850
+ __asyncValues,
851
+ __makeTemplateObject,
852
+ __importStar,
853
+ __importDefault,
854
+ __classPrivateFieldGet,
855
+ __classPrivateFieldSet,
856
+ __classPrivateFieldIn,
857
+ __addDisposableResource,
858
+ __disposeResources,
859
+ });
860
+
861
+ // EXTERNAL MODULE: external "../button"
862
+ var external_button_ = __webpack_require__(4976);
863
+ var external_button_default = /*#__PURE__*/__webpack_require__.n(external_button_);
864
+ // EXTERNAL MODULE: external "../config-provider"
865
+ var external_config_provider_ = __webpack_require__(2717);
866
+ // EXTERNAL MODULE: external "../modal"
867
+ var external_modal_ = __webpack_require__(8014);
868
+ var external_modal_default = /*#__PURE__*/__webpack_require__.n(external_modal_);
869
+ ;// CONCATENATED MODULE: ../../packages/sideslider/src/sideslider.tsx
870
+
871
+
872
+ /*
873
+ * Tencent is pleased to support the open source community by making
874
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
875
+ *
876
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
877
+ *
878
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
879
+ *
880
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
881
+ *
882
+ * ---------------------------------------------------
883
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
884
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
885
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
886
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
887
+ *
888
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
889
+ * the Software.
890
+ *
891
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
892
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
893
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
894
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
895
+ * IN THE SOFTWARE.
896
+ */
897
+
898
+
899
+
900
+
901
+
902
+ function _isSlot(s) {
903
+ return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_.isVNode)(s);
904
+ }
905
+ var propsMixin = (external_modal_default()).propsMixin;
906
+ var sliderPops = Object.assign({}, propsMixin);
907
+ sliderPops.width["default"] = '400';
908
+ sliderPops.height["default"] = '100%';
909
+ /* harmony default export */ const sideslider = ((0,external_vue_.defineComponent)({
910
+ name: 'Sideslider',
911
+ components: {
912
+ BkModal: (external_modal_default()),
913
+ BkButton: (external_button_default())
914
+ },
915
+ props: Object.assign(Object.assign({}, sliderPops), {
916
+ direction: {
917
+ type: String,
918
+ "default": 'right',
919
+ validator: function validator(value) {
920
+ var textAlign = ['left', 'right'];
921
+ if (textAlign.indexOf(value) < 0) {
922
+ console.error("direction property is not valid: '".concat(value, "',\u3010").concat(textAlign.join(' | '), "\u3011"));
923
+ return false;
924
+ }
925
+ return true;
926
+ }
927
+ }
928
+ }),
929
+ emits: ['closed', 'update:isShow', 'shown', 'hidden', 'animation-end'],
930
+ setup: function setup(props, _ref) {
931
+ var _this = this;
932
+ var slots = _ref.slots,
933
+ emit = _ref.emit;
934
+ var handleClose = function handleClose() {
935
+ return __awaiter(_this, void 0, void 0, /*#__PURE__*/regenerator_default().mark(function _callee() {
936
+ var shouldClose;
937
+ return regenerator_default().wrap(function _callee$(_context) {
938
+ while (1) switch (_context.prev = _context.next) {
939
+ case 0:
940
+ shouldClose = true;
941
+ if (!(typeof props.beforeClose === 'function')) {
942
+ _context.next = 5;
943
+ break;
944
+ }
945
+ _context.next = 4;
946
+ return props.beforeClose();
947
+ case 4:
948
+ shouldClose = _context.sent;
949
+ case 5:
950
+ if (shouldClose) {
951
+ emit('update:isShow', false);
952
+ emit('closed');
953
+ setTimeout(function () {
954
+ emit('animation-end');
955
+ }, 250);
956
+ }
957
+ case 6:
958
+ case "end":
959
+ return _context.stop();
960
+ }
961
+ }, _callee);
962
+ }));
963
+ };
964
+ var handleShown = function handleShown() {
965
+ setTimeout(function () {
966
+ emit('shown');
967
+ }, 200);
968
+ };
969
+ var handleHidden = function handleHidden() {
970
+ setTimeout(function () {
971
+ emit('hidden');
972
+ }, 200);
973
+ };
974
+ var _usePrefix = (0,external_config_provider_.usePrefix)(),
975
+ resolveClassName = _usePrefix.resolveClassName;
976
+ return function () {
977
+ var dialogSlot = {
978
+ header: function header() {
979
+ var _a, _b;
980
+ return (0,external_vue_.createVNode)(external_vue_.Fragment, null, [(0,external_vue_.createVNode)("div", {
981
+ "class": "".concat(resolveClassName('sideslider-header'))
982
+ }, [(0,external_vue_.createVNode)("div", {
983
+ "class": "".concat(resolveClassName('sideslider-close'), " ").concat(props.direction),
984
+ "onClick": function onClick() {
985
+ handleClose();
986
+ }
987
+ }, null), (0,external_vue_.createVNode)("div", {
988
+ "class": "".concat(resolveClassName('sideslider-title'), " ").concat(props.direction)
989
+ }, [(_b = (_a = slots.header) === null || _a === void 0 ? void 0 : _a.call(slots)) !== null && _b !== void 0 ? _b : props.title])])]);
990
+ },
991
+ "default": function _default() {
992
+ var _a, _b;
993
+ return (_b = (_a = slots["default"]) === null || _a === void 0 ? void 0 : _a.call(slots)) !== null && _b !== void 0 ? _b : 'Content';
994
+ },
995
+ footer: function footer() {
996
+ if (slots.footer) {
997
+ return (0,external_vue_.createVNode)("div", {
998
+ "class": "".concat(resolveClassName('sideslider-footer'))
999
+ }, [slots.footer()]);
1000
+ }
1001
+ return null;
1002
+ }
1003
+ };
1004
+ var className = "".concat(resolveClassName('sideslider-wrapper'), " ").concat(props.scrollable ? 'scroll-able' : '', " ").concat(props.extCls);
1005
+ var maxHeight = slots.footer ? 'calc(100vh - 106px)' : 'calc(100vh - 52px)';
1006
+ return (0,external_vue_.createVNode)((external_modal_default()), (0,external_vue_.mergeProps)(props, {
1007
+ "maxHeight": maxHeight,
1008
+ "class": className,
1009
+ "style": "".concat(props.direction, ": 0;"),
1010
+ "onHidden": handleHidden,
1011
+ "onShown": handleShown,
1012
+ "onClose": handleClose
1013
+ }), _isSlot(dialogSlot) ? dialogSlot : {
1014
+ "default": function _default() {
1015
+ return [dialogSlot];
1016
+ }
1017
+ });
1018
+ };
1019
+ }
1020
+ }));
1021
+ ;// CONCATENATED MODULE: ../../packages/sideslider/src/index.ts
1022
+ /*
1023
+ * Tencent is pleased to support the open source community by making
1024
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1025
+ *
1026
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1027
+ *
1028
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1029
+ *
1030
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
1031
+ *
1032
+ * ---------------------------------------------------
1033
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
1034
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
1035
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
1036
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1037
+ *
1038
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
1039
+ * the Software.
1040
+ *
1041
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
1042
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1043
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
1044
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
1045
+ * IN THE SOFTWARE.
1046
+ */
1047
+
1048
+
1049
+ var BkSideslider = (0,external_shared_.withInstall)(sideslider);
1050
+ /* harmony default export */ const src = (BkSideslider);
1051
+ })();
1052
+
1053
+ /******/ return __webpack_exports__;
1054
+ /******/ })()
1055
+ ;
1056
+ });