bkui-vue 0.0.1-beta.104 → 0.0.1-beta.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +28 -28
- package/dist/index.esm.js +1980 -419
- package/dist/index.umd.js +30 -30
- package/dist/style.css +1 -1
- package/lib/components.d.ts +52 -0
- package/lib/components.js +1 -1
- package/lib/dialog/dialog.css +5 -9
- package/lib/dialog/dialog.d.ts +7 -27
- package/lib/dialog/dialog.less +4 -3
- package/lib/dialog/dialog.variable.css +5 -9
- package/lib/dialog/index.d.ts +21 -60
- package/lib/dialog/index.js +1 -1
- package/lib/icon/angle-double-down-line.js +1 -1
- package/lib/icon/angle-double-left-line.js +1 -1
- package/lib/icon/angle-double-left.js +1 -1
- package/lib/icon/angle-double-right-line.js +1 -1
- package/lib/icon/angle-double-right.js +1 -1
- package/lib/icon/angle-double-up-line.js +1 -1
- package/lib/icon/angle-down-fill.js +1 -1
- package/lib/icon/angle-down-line.js +1 -1
- package/lib/icon/angle-down.js +1 -1
- package/lib/icon/angle-left.js +1 -1
- package/lib/icon/angle-right.js +1 -1
- package/lib/icon/angle-up-fill.js +1 -1
- package/lib/icon/angle-up.js +1 -1
- package/lib/icon/archive-fill.js +1 -1
- package/lib/icon/arrows-left.js +1 -1
- package/lib/icon/arrows-right.js +1 -1
- package/lib/icon/audio-fill.js +1 -1
- package/lib/icon/bk.js +1 -1
- package/lib/icon/circle.js +1 -1
- package/lib/icon/close-line.js +1 -1
- package/lib/icon/close.js +1 -1
- package/lib/icon/code.js +1 -1
- package/lib/icon/cog-shape.js +1 -1
- package/lib/icon/collapse-left.js +1 -1
- package/lib/icon/copy.js +1 -1
- package/lib/icon/data-shape.js +1 -1
- package/lib/icon/del.js +1 -1
- package/lib/icon/doc-fill.js +1 -1
- package/lib/icon/done.js +1 -1
- package/lib/icon/down-shape.js +1 -1
- package/lib/icon/down-small.js +1 -1
- package/lib/icon/edit-line.js +1 -1
- package/lib/icon/ellipsis.js +1 -1
- package/lib/icon/error.js +1 -1
- package/lib/icon/excel-fill.js +1 -1
- package/lib/icon/exclamation-circle-shape.js +1 -1
- package/lib/icon/eye.js +1 -1
- package/lib/icon/folder-open.js +1 -1
- package/lib/icon/folder-shape-open.js +1 -1
- package/lib/icon/folder-shape.js +1 -1
- package/lib/icon/folder.js +1 -1
- package/lib/icon/help-document-fill.js +1 -1
- package/lib/icon/help-fill.js +1 -1
- package/lib/icon/help.js +1 -1
- package/lib/icon/image-fill.js +1 -1
- package/lib/icon/index.js +1 -1
- package/lib/icon/info-line.js +1 -1
- package/lib/icon/info.js +1 -1
- package/lib/icon/left-shape.js +1 -1
- package/lib/icon/pdf-fill.js +1 -1
- package/lib/icon/play-shape.js +1 -1
- package/lib/icon/plus.js +1 -1
- package/lib/icon/ppt-fill.js +1 -1
- package/lib/icon/qq.js +1 -1
- package/lib/icon/right-shape.js +1 -1
- package/lib/icon/search.js +1 -1
- package/lib/icon/share.js +1 -1
- package/lib/icon/spinner.js +1 -1
- package/lib/icon/success.js +1 -1
- package/lib/icon/switcher-loading.js +1 -1
- package/lib/icon/text-file.js +1 -1
- package/lib/icon/text-fill.js +1 -1
- package/lib/icon/tree-application-shape.js +1 -1
- package/lib/icon/unvisible.js +1 -1
- package/lib/icon/up-shape.js +1 -1
- package/lib/icon/upload.js +1 -1
- package/lib/icon/video-fill.js +1 -1
- package/lib/icon/warn.js +1 -1
- package/lib/icon/weixin.js +1 -1
- package/lib/modal/index.d.ts +45 -74
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.css +1 -6
- package/lib/modal/modal.d.ts +13 -28
- package/lib/modal/modal.less +1 -7
- package/lib/modal/modal.variable.css +1 -6
- package/lib/modal/props.mixin.d.ts +1 -11
- package/lib/popover2/index.d.ts +3 -3
- package/lib/popover2/index.js +1 -1
- package/lib/popover2/popover2.css +3 -2
- package/lib/popover2/popover2.d.ts +1 -1
- package/lib/popover2/popover2.less +2 -1
- package/lib/popover2/popover2.variable.css +3 -2
- package/lib/popover2/root.d.ts +16 -0
- package/lib/popover2/use-floating.d.ts +4 -1
- package/lib/popover2/use-popper-id.d.ts +4 -2
- package/lib/select/common.d.ts +3 -3
- package/lib/select/index.d.ts +39 -42
- package/lib/select/index.js +1 -1
- package/lib/select/select.d.ts +14 -15
- package/lib/select/selectTagInput.d.ts +5 -5
- package/lib/select/type.d.ts +8 -11
- package/lib/sideslider/index.d.ts +15 -61
- package/lib/sideslider/sideslider.d.ts +5 -27
- package/lib/tab/index.js +1 -1
- package/lib/tab/tab.css +4 -0
- package/lib/tab/tab.less +5 -0
- package/lib/tab/tab.variable.css +4 -0
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.css +8 -8
- package/lib/table/plugins/head-filter.less +62 -57
- package/lib/table/plugins/head-filter.variable.css +8 -8
- package/lib/table/table.css +9 -11
- package/lib/table/table.less +15 -18
- package/lib/table/table.variable.css +9 -11
- package/lib/timeline/index.js +1 -1
- package/package.json +1 -1
package/lib/icon/warn.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"));else if("function"==typeof define&&define.amd)define(["vue"],t);else{var r="object"==typeof exports?t(require("vue")):t(e.vue);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(self,(e=>(()=>{"use strict";var t={9430:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(748);function o(e,t,r){return(0,n.h)(e.name,Object.assign(Object.assign({key:t},e.attributes),{style:"".concat(e.attributes.style," ").concat(r)}),(e.elements||[]).map((function(r,n){return o(r,"".concat(t,"-").concat(e.name,"-").concat(n))})))}Object.create,Object.create;var a=function(e,t){var r=Object.assign(Object.assign({},t.attrs),e),a=r.data,i=r.name,c=r.width,s=r.height,l=r.fill,u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(r,["data","name","width","height","fill"]),f="width: ".concat(c,"; height: ").concat(s,"; fill: ").concat(l);return(0,n.createVNode)("span",u,[o(a,i,f)])};a.inheritAttrs=!1,a.displayName="bkIcon";const i=a},748:t=>{t.exports=e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{n.r(o),n.d(o,{default:()=>i});var e=n(748),t=n(9430),r=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"bk-icon","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;","overflow":"hidden","viewBox":"0 0 1024 1024"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM544 704h-64v-64h64V704zM544 576h-64V320h64V576z"}}]}'),a=function(n,o){var a=Object.assign(Object.assign({},n),o.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(a,{data:r,name:"warn"}),null)};a.displayName="warn",a.inheritAttrs=!1;const i=a})(),o})()));
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"));else if("function"==typeof define&&define.amd)define(["vue"],t);else{var r="object"==typeof exports?t(require("vue")):t(e.vue);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(self,(e=>(()=>{"use strict";var t={9430:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(748);function o(e,t,r){return(0,n.h)(e.name,Object.assign(Object.assign({key:t},e.attributes),{style:"".concat(e.attributes.style," ").concat(r||"")}),(e.elements||[]).map((function(r,n){return o(r,"".concat(t,"-").concat(e.name,"-").concat(n))})))}Object.create,Object.create;var a=function(e,t){var r=Object.assign(Object.assign({},t.attrs),e),a=r.data,i=r.name,c=r.width,s=r.height,l=r.fill,u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(r,["data","name","width","height","fill"]),f="width: ".concat(c,"; height: ").concat(s,"; fill: ").concat(l);return(0,n.createVNode)("span",u,[o(a,i,f)])};a.inheritAttrs=!1,a.displayName="bkIcon";const i=a},748:t=>{t.exports=e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{n.r(o),n.d(o,{default:()=>i});var e=n(748),t=n(9430),r=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"bk-icon","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;","overflow":"hidden","viewBox":"0 0 1024 1024"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM544 704h-64v-64h64V704zM544 576h-64V320h64V576z"}}]}'),a=function(n,o){var a=Object.assign(Object.assign({},n),o.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(a,{data:r,name:"warn"}),null)};a.displayName="warn",a.inheritAttrs=!1;const i=a})(),o})()));
|
package/lib/icon/weixin.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"));else if("function"==typeof define&&define.amd)define(["vue"],t);else{var r="object"==typeof exports?t(require("vue")):t(e.vue);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(self,(e=>(()=>{"use strict";var t={9430:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(748);function a(e,t,r){return(0,n.h)(e.name,Object.assign(Object.assign({key:t},e.attributes),{style:"".concat(e.attributes.style," ").concat(r)}),(e.elements||[]).map((function(r,n){return a(r,"".concat(t,"-").concat(e.name,"-").concat(n))})))}Object.create,Object.create;var o=function(e,t){var r=Object.assign(Object.assign({},t.attrs),e),o=r.data,c=r.name,i=r.width,s=r.height,l=r.fill,p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}(r,["data","name","width","height","fill"]),u="width: ".concat(i,"; height: ").concat(s,"; fill: ").concat(l);return(0,n.createVNode)("span",p,[a(o,c,u)])};o.inheritAttrs=!1,o.displayName="bkIcon";const c=o},748:t=>{t.exports=e}},r={};function n(e){var a=r[e];if(void 0!==a)return a.exports;var o=r[e]={exports:{}};return t[e](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{n.r(a),n.d(a,{default:()=>c});var e=n(748),t=n(9430),r=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M603.52 348.8c0 26.496-22.357333333333333 48-49.919999999999995 48s-49.919999999999995-21.503999999999998-49.919999999999995-48c0-26.496 22.357333333333333-48 49.919999999999995-48s49.919999999999995 21.503999999999998 49.919999999999995 48z"}},{"type":"element","name":"path","attributes":{"d":"M357.11999999999995 348.8c0 26.496-22.357333333333333 48-49.919999999999995 48s-49.919999999999995-21.503999999999998-49.919999999999995-48c0-26.496 22.357333333333333-48 49.919999999999995-48s49.919999999999995 21.503999999999998 49.919999999999995 48z"}},{"type":"element","name":"path","attributes":{"d":"M693.12 604.16c0 15.914666666666665-13.184 28.8-29.439999999999998 28.8s-29.439999999999998-12.885333333333332-29.439999999999998-28.8c0-15.914666666666665 13.184-28.8 29.439999999999998-28.8s29.439999999999998 12.885333333333332 29.439999999999998 28.8z"}},{"type":"element","name":"path","attributes":{"d":"M951.68 832c43.775999999999996-42.410666666666664 71.29599999999999-101.41866666666665 72.32-166.86933333333332-4.608-109.696-77.35466666666666-201.0453333333333-176.72533333333334-233.30133333333333 5.674666666666667-12.117333333333331 10.154666666666666-26.282666666666664 10.154666666666666-41.471999999999994 0-4.522666666666666-0.38399999999999995-8.959999999999999-1.152-13.226666666666667-33.834666666666664-181.29066666666665-212.39466666666664-313.1306666666667-425.5146666666667-313.1306666666667-238.71999999999997 0-430.72 167.04-430.72 372.48 1.2799999999999998 107.56266666666666 50.56 203.30666666666664 127.40266666666668 267.05066666666664l-16.682666666666666 55.50933333333333c-2.1759999999999997 6.784-3.456 14.634666666666668-3.456 22.741333333333333 0 42.410666666666664 34.38933333333333 76.8 76.8 76.8 12.458666666666666 0 24.191999999999997-2.944 34.602666666666664-8.234666666666666l101.33333333333333-52.906666666666666c32.81066666666666 7.722666666666666 70.52799999999999 12.159999999999998 109.22666666666666 12.159999999999998 0.08533333333333333 0 0.17066666666666666 0 0.21333333333333332 0h28.16c13.098666666666666-0.7679999999999999 25.130666666666663-4.693333333333333 35.54133333333333-11.050666666666666 54.22933333333333 73.55733333333333 140.672 120.53333333333333 238.07999999999998 120.53333333333333 1.664 0 3.3706666666666667 0 5.034666666666666-0.042666666666666665 21.077333333333332-0.08533333333333333 41.855999999999995-2.1759999999999997 61.99466666666667-6.101333333333333l49.10933333333333 26.581333333333333c9.941333333333333 5.034666666666666 21.717333333333332 8.021333333333333 34.176 8.021333333333333 42.410666666666664 0 76.8-34.38933333333333 76.8-76.8 0-8.106666666666666-1.2799999999999998-15.957333333333333-3.584-23.296zM430.72 752.64c-0.17066666666666666 0-0.38399999999999995 0-0.5973333333333333 0-40.831999999999994 0-80.29866666666666-5.8453333333333335-117.58933333333331-16.72533333333333l-3.456 0.7253333333333334-131.2 67.19999999999999 35.199999999999996-113.27999999999999h-3.1999999999999997c-86.10133333333332-52.05333333333333-143.40266666666668-144.17066666666665-145.92-249.89866666666666 0-172.50133333333332 165.76-312.66133333333335 366.72-312.66133333333335 5.717333333333333-0.3413333333333333 12.415999999999999-0.512 19.157333333333334-0.512 163.32799999999997 0 300.58666666666664 111.40266666666668 340.0106666666667 262.4l-14.805333333333332 2.432c-183.04 0-327.03999999999996 112-327.03999999999996 285.44 0.512 26.709333333333333 5.1626666666666665 52.181333333333335 13.312 75.98933333333332zM872.96 812.8v0l21.759999999999998 67.84-81.28-40.959999999999994h-3.84c-21.119999999999997 6.101333333333333-45.397333333333336 9.6-70.48533333333333 9.6-0.17066666666666666 0-0.38399999999999995 0-0.5546666666666666 0-5.888 0.5973333333333333-12.757333333333332 0.9386666666666665-19.712 0.9386666666666665-107.09333333333332 0-195.2853333333333-80.93866666666666-206.71999999999997-184.95999999999998 10.367999999999999-106.96533333333333 99.072-189.1413333333333 206.976-189.1413333333333 5.973333333333334 0 11.861333333333334 0.256 17.706666666666663 0.7253333333333334 4.309333333333333-0.512 10.197333333333333-0.7253333333333334 16.170666666666666-0.7253333333333334 107.904 0 196.60799999999998 82.17599999999999 206.976 187.34933333333333-1.7066666666666666 63.82933333333333-35.79733333333333 118.44266666666665-86.18666666666667 148.90666666666667z"}},{"type":"element","name":"path","attributes":{"d":"M839.68 604.16c0 15.914666666666665-13.184 28.8-29.439999999999998 28.8s-29.439999999999998-12.885333333333332-29.439999999999998-28.8c0-15.914666666666665 13.184-28.8 29.439999999999998-28.8s29.439999999999998 12.885333333333332 29.439999999999998 28.8z"}}]}'),o=function(n,a){var o=Object.assign(Object.assign({},n),a.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(o,{data:r,name:"weixin"}),null)};o.displayName="weixin",o.inheritAttrs=!1;const c=o})(),a})()));
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"));else if("function"==typeof define&&define.amd)define(["vue"],t);else{var r="object"==typeof exports?t(require("vue")):t(e.vue);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(self,(e=>(()=>{"use strict";var t={9430:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(748);function a(e,t,r){return(0,n.h)(e.name,Object.assign(Object.assign({key:t},e.attributes),{style:"".concat(e.attributes.style," ").concat(r||"")}),(e.elements||[]).map((function(r,n){return a(r,"".concat(t,"-").concat(e.name,"-").concat(n))})))}Object.create,Object.create;var o=function(e,t){var r=Object.assign(Object.assign({},t.attrs),e),o=r.data,c=r.name,i=r.width,s=r.height,l=r.fill,p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}(r,["data","name","width","height","fill"]),u="width: ".concat(i,"; height: ").concat(s,"; fill: ").concat(l);return(0,n.createVNode)("span",p,[a(o,c,u)])};o.inheritAttrs=!1,o.displayName="bkIcon";const c=o},748:t=>{t.exports=e}},r={};function n(e){var a=r[e];if(void 0!==a)return a.exports;var o=r[e]={exports:{}};return t[e](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{n.r(a),n.d(a,{default:()=>c});var e=n(748),t=n(9430),r=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M603.52 348.8c0 26.496-22.357333333333333 48-49.919999999999995 48s-49.919999999999995-21.503999999999998-49.919999999999995-48c0-26.496 22.357333333333333-48 49.919999999999995-48s49.919999999999995 21.503999999999998 49.919999999999995 48z"}},{"type":"element","name":"path","attributes":{"d":"M357.11999999999995 348.8c0 26.496-22.357333333333333 48-49.919999999999995 48s-49.919999999999995-21.503999999999998-49.919999999999995-48c0-26.496 22.357333333333333-48 49.919999999999995-48s49.919999999999995 21.503999999999998 49.919999999999995 48z"}},{"type":"element","name":"path","attributes":{"d":"M693.12 604.16c0 15.914666666666665-13.184 28.8-29.439999999999998 28.8s-29.439999999999998-12.885333333333332-29.439999999999998-28.8c0-15.914666666666665 13.184-28.8 29.439999999999998-28.8s29.439999999999998 12.885333333333332 29.439999999999998 28.8z"}},{"type":"element","name":"path","attributes":{"d":"M951.68 832c43.775999999999996-42.410666666666664 71.29599999999999-101.41866666666665 72.32-166.86933333333332-4.608-109.696-77.35466666666666-201.0453333333333-176.72533333333334-233.30133333333333 5.674666666666667-12.117333333333331 10.154666666666666-26.282666666666664 10.154666666666666-41.471999999999994 0-4.522666666666666-0.38399999999999995-8.959999999999999-1.152-13.226666666666667-33.834666666666664-181.29066666666665-212.39466666666664-313.1306666666667-425.5146666666667-313.1306666666667-238.71999999999997 0-430.72 167.04-430.72 372.48 1.2799999999999998 107.56266666666666 50.56 203.30666666666664 127.40266666666668 267.05066666666664l-16.682666666666666 55.50933333333333c-2.1759999999999997 6.784-3.456 14.634666666666668-3.456 22.741333333333333 0 42.410666666666664 34.38933333333333 76.8 76.8 76.8 12.458666666666666 0 24.191999999999997-2.944 34.602666666666664-8.234666666666666l101.33333333333333-52.906666666666666c32.81066666666666 7.722666666666666 70.52799999999999 12.159999999999998 109.22666666666666 12.159999999999998 0.08533333333333333 0 0.17066666666666666 0 0.21333333333333332 0h28.16c13.098666666666666-0.7679999999999999 25.130666666666663-4.693333333333333 35.54133333333333-11.050666666666666 54.22933333333333 73.55733333333333 140.672 120.53333333333333 238.07999999999998 120.53333333333333 1.664 0 3.3706666666666667 0 5.034666666666666-0.042666666666666665 21.077333333333332-0.08533333333333333 41.855999999999995-2.1759999999999997 61.99466666666667-6.101333333333333l49.10933333333333 26.581333333333333c9.941333333333333 5.034666666666666 21.717333333333332 8.021333333333333 34.176 8.021333333333333 42.410666666666664 0 76.8-34.38933333333333 76.8-76.8 0-8.106666666666666-1.2799999999999998-15.957333333333333-3.584-23.296zM430.72 752.64c-0.17066666666666666 0-0.38399999999999995 0-0.5973333333333333 0-40.831999999999994 0-80.29866666666666-5.8453333333333335-117.58933333333331-16.72533333333333l-3.456 0.7253333333333334-131.2 67.19999999999999 35.199999999999996-113.27999999999999h-3.1999999999999997c-86.10133333333332-52.05333333333333-143.40266666666668-144.17066666666665-145.92-249.89866666666666 0-172.50133333333332 165.76-312.66133333333335 366.72-312.66133333333335 5.717333333333333-0.3413333333333333 12.415999999999999-0.512 19.157333333333334-0.512 163.32799999999997 0 300.58666666666664 111.40266666666668 340.0106666666667 262.4l-14.805333333333332 2.432c-183.04 0-327.03999999999996 112-327.03999999999996 285.44 0.512 26.709333333333333 5.1626666666666665 52.181333333333335 13.312 75.98933333333332zM872.96 812.8v0l21.759999999999998 67.84-81.28-40.959999999999994h-3.84c-21.119999999999997 6.101333333333333-45.397333333333336 9.6-70.48533333333333 9.6-0.17066666666666666 0-0.38399999999999995 0-0.5546666666666666 0-5.888 0.5973333333333333-12.757333333333332 0.9386666666666665-19.712 0.9386666666666665-107.09333333333332 0-195.2853333333333-80.93866666666666-206.71999999999997-184.95999999999998 10.367999999999999-106.96533333333333 99.072-189.1413333333333 206.976-189.1413333333333 5.973333333333334 0 11.861333333333334 0.256 17.706666666666663 0.7253333333333334 4.309333333333333-0.512 10.197333333333333-0.7253333333333334 16.170666666666666-0.7253333333333334 107.904 0 196.60799999999998 82.17599999999999 206.976 187.34933333333333-1.7066666666666666 63.82933333333333-35.79733333333333 118.44266666666665-86.18666666666667 148.90666666666667z"}},{"type":"element","name":"path","attributes":{"d":"M839.68 604.16c0 15.914666666666665-13.184 28.8-29.439999999999998 28.8s-29.439999999999998-12.885333333333332-29.439999999999998-28.8c0-15.914666666666665 13.184-28.8 29.439999999999998-28.8s29.439999999999998 12.885333333333332 29.439999999999998 28.8z"}}]}'),o=function(n,a){var o=Object.assign(Object.assign({},n),a.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(o,{data:r,name:"weixin"}),null)};o.displayName="weixin",o.inheritAttrs=!1;const c=o})(),a})()));
|
package/lib/modal/index.d.ts
CHANGED
@@ -12,20 +12,18 @@ declare const BkModal: {
|
|
12
12
|
height: string | number;
|
13
13
|
draggable: boolean;
|
14
14
|
size: string;
|
15
|
-
extCls: string;
|
15
|
+
extCls: string | unknown[];
|
16
16
|
direction: string;
|
17
17
|
maxHeight: string;
|
18
18
|
isShow: boolean;
|
19
19
|
transfer: boolean;
|
20
20
|
renderDirective: string;
|
21
21
|
dialogType: string;
|
22
|
-
|
22
|
+
quickClose: boolean;
|
23
23
|
scrollable: boolean;
|
24
24
|
closeIcon: boolean;
|
25
25
|
escClose: boolean;
|
26
|
-
maskClose: boolean;
|
27
26
|
fullscreen: boolean;
|
28
|
-
quickClose: boolean;
|
29
27
|
animateType: string;
|
30
28
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
31
29
|
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
@@ -39,7 +37,7 @@ declare const BkModal: {
|
|
39
37
|
height: import("vue-types").VueTypeDef<string | number> & {
|
40
38
|
default: string | number;
|
41
39
|
};
|
42
|
-
|
40
|
+
extCls: (import("vue-types").VueTypeValidableDef<string> & {
|
43
41
|
default: string;
|
44
42
|
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
45
43
|
default: () => unknown[];
|
@@ -64,21 +62,11 @@ declare const BkModal: {
|
|
64
62
|
} & {
|
65
63
|
default: boolean;
|
66
64
|
};
|
67
|
-
maskClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
68
|
-
default: boolean;
|
69
|
-
} & {
|
70
|
-
default: boolean;
|
71
|
-
};
|
72
65
|
fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
|
73
66
|
default: boolean;
|
74
67
|
} & {
|
75
68
|
default: boolean;
|
76
69
|
};
|
77
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
78
|
-
default: string;
|
79
|
-
} & {
|
80
|
-
default: string;
|
81
|
-
};
|
82
70
|
size: import("vue-types").VueTypeDef<string> & {
|
83
71
|
default: string;
|
84
72
|
};
|
@@ -120,7 +108,13 @@ declare const BkModal: {
|
|
120
108
|
} & {
|
121
109
|
default: boolean;
|
122
110
|
};
|
123
|
-
}>> &
|
111
|
+
}>> & {
|
112
|
+
onClose?: (...args: any[]) => any;
|
113
|
+
onHidden?: (...args: any[]) => any;
|
114
|
+
"onQuick-close"?: (...args: any[]) => any;
|
115
|
+
onQuickClose?: (...args: any[]) => any;
|
116
|
+
onShown?: (...args: any[]) => any;
|
117
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "multiInstance" | "showMask" | "width" | "height" | "draggable" | "size" | "extCls" | "direction" | "maxHeight" | "isShow" | "transfer" | "renderDirective" | "dialogType" | "quickClose" | "scrollable" | "closeIcon" | "escClose" | "fullscreen" | "animateType">;
|
124
118
|
$attrs: {
|
125
119
|
[x: string]: unknown;
|
126
120
|
};
|
@@ -132,7 +126,7 @@ declare const BkModal: {
|
|
132
126
|
}>;
|
133
127
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
134
128
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
135
|
-
$emit: (event:
|
129
|
+
$emit: (event: "close" | "hidden" | "quick-close" | "quickClose" | "shown", ...args: any[]) => void;
|
136
130
|
$el: any;
|
137
131
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
138
132
|
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
@@ -146,7 +140,7 @@ declare const BkModal: {
|
|
146
140
|
height: import("vue-types").VueTypeDef<string | number> & {
|
147
141
|
default: string | number;
|
148
142
|
};
|
149
|
-
|
143
|
+
extCls: (import("vue-types").VueTypeValidableDef<string> & {
|
150
144
|
default: string;
|
151
145
|
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
152
146
|
default: () => unknown[];
|
@@ -171,21 +165,11 @@ declare const BkModal: {
|
|
171
165
|
} & {
|
172
166
|
default: boolean;
|
173
167
|
};
|
174
|
-
maskClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
175
|
-
default: boolean;
|
176
|
-
} & {
|
177
|
-
default: boolean;
|
178
|
-
};
|
179
168
|
fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
|
180
169
|
default: boolean;
|
181
170
|
} & {
|
182
171
|
default: boolean;
|
183
172
|
};
|
184
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
185
|
-
default: string;
|
186
|
-
} & {
|
187
|
-
default: string;
|
188
|
-
};
|
189
173
|
size: import("vue-types").VueTypeDef<string> & {
|
190
174
|
default: string;
|
191
175
|
};
|
@@ -227,35 +211,40 @@ declare const BkModal: {
|
|
227
211
|
} & {
|
228
212
|
default: boolean;
|
229
213
|
};
|
230
|
-
}
|
214
|
+
}>> & {
|
215
|
+
onClose?: (...args: any[]) => any;
|
216
|
+
onHidden?: (...args: any[]) => any;
|
217
|
+
"onQuick-close"?: (...args: any[]) => any;
|
218
|
+
onQuickClose?: (...args: any[]) => any;
|
219
|
+
onShown?: (...args: any[]) => any;
|
220
|
+
}, unknown, {
|
231
221
|
visible: boolean;
|
232
222
|
}, {
|
233
223
|
dialogWidth(): String | Number;
|
234
224
|
dialogHeight(): String | Number;
|
235
225
|
compStyle(): any;
|
226
|
+
fullscreenStyle(): any;
|
236
227
|
}, {
|
237
228
|
handleClickOutSide(): void;
|
238
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
229
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "hidden" | "quick-close" | "quickClose" | "shown")[], string, {
|
239
230
|
multiInstance: boolean;
|
240
231
|
showMask: boolean;
|
241
232
|
width: string | number;
|
242
233
|
height: string | number;
|
243
234
|
draggable: boolean;
|
244
235
|
size: string;
|
245
|
-
extCls: string;
|
236
|
+
extCls: string | unknown[];
|
246
237
|
direction: string;
|
247
238
|
maxHeight: string;
|
248
239
|
isShow: boolean;
|
249
240
|
transfer: boolean;
|
250
241
|
renderDirective: string;
|
251
242
|
dialogType: string;
|
252
|
-
|
243
|
+
quickClose: boolean;
|
253
244
|
scrollable: boolean;
|
254
245
|
closeIcon: boolean;
|
255
246
|
escClose: boolean;
|
256
|
-
maskClose: boolean;
|
257
247
|
fullscreen: boolean;
|
258
|
-
quickClose: boolean;
|
259
248
|
animateType: string;
|
260
249
|
}> & {
|
261
250
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -289,7 +278,7 @@ declare const BkModal: {
|
|
289
278
|
height: import("vue-types").VueTypeDef<string | number> & {
|
290
279
|
default: string | number;
|
291
280
|
};
|
292
|
-
|
281
|
+
extCls: (import("vue-types").VueTypeValidableDef<string> & {
|
293
282
|
default: string;
|
294
283
|
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
295
284
|
default: () => unknown[];
|
@@ -314,21 +303,11 @@ declare const BkModal: {
|
|
314
303
|
} & {
|
315
304
|
default: boolean;
|
316
305
|
};
|
317
|
-
maskClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
318
|
-
default: boolean;
|
319
|
-
} & {
|
320
|
-
default: boolean;
|
321
|
-
};
|
322
306
|
fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
|
323
307
|
default: boolean;
|
324
308
|
} & {
|
325
309
|
default: boolean;
|
326
310
|
};
|
327
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
328
|
-
default: string;
|
329
|
-
} & {
|
330
|
-
default: string;
|
331
|
-
};
|
332
311
|
size: import("vue-types").VueTypeDef<string> & {
|
333
312
|
default: string;
|
334
313
|
};
|
@@ -370,12 +349,19 @@ declare const BkModal: {
|
|
370
349
|
} & {
|
371
350
|
default: boolean;
|
372
351
|
};
|
373
|
-
}>> &
|
352
|
+
}>> & {
|
353
|
+
onClose?: (...args: any[]) => any;
|
354
|
+
onHidden?: (...args: any[]) => any;
|
355
|
+
"onQuick-close"?: (...args: any[]) => any;
|
356
|
+
onQuickClose?: (...args: any[]) => any;
|
357
|
+
onShown?: (...args: any[]) => any;
|
358
|
+
} & import("vue").ShallowUnwrapRef<{}> & {
|
374
359
|
visible: boolean;
|
375
360
|
} & {
|
376
361
|
dialogWidth: String | Number;
|
377
362
|
dialogHeight: String | Number;
|
378
363
|
compStyle: any;
|
364
|
+
fullscreenStyle: any;
|
379
365
|
} & {
|
380
366
|
handleClickOutSide(): void;
|
381
367
|
} & import("vue").ComponentCustomProperties;
|
@@ -394,7 +380,7 @@ declare const BkModal: {
|
|
394
380
|
height: import("vue-types").VueTypeDef<string | number> & {
|
395
381
|
default: string | number;
|
396
382
|
};
|
397
|
-
|
383
|
+
extCls: (import("vue-types").VueTypeValidableDef<string> & {
|
398
384
|
default: string;
|
399
385
|
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
400
386
|
default: () => unknown[];
|
@@ -419,21 +405,11 @@ declare const BkModal: {
|
|
419
405
|
} & {
|
420
406
|
default: boolean;
|
421
407
|
};
|
422
|
-
maskClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
423
|
-
default: boolean;
|
424
|
-
} & {
|
425
|
-
default: boolean;
|
426
|
-
};
|
427
408
|
fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
|
428
409
|
default: boolean;
|
429
410
|
} & {
|
430
411
|
default: boolean;
|
431
412
|
};
|
432
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
433
|
-
default: string;
|
434
|
-
} & {
|
435
|
-
default: string;
|
436
|
-
};
|
437
413
|
size: import("vue-types").VueTypeDef<string> & {
|
438
414
|
default: string;
|
439
415
|
};
|
@@ -475,35 +451,40 @@ declare const BkModal: {
|
|
475
451
|
} & {
|
476
452
|
default: boolean;
|
477
453
|
};
|
478
|
-
}
|
454
|
+
}>> & {
|
455
|
+
onClose?: (...args: any[]) => any;
|
456
|
+
onHidden?: (...args: any[]) => any;
|
457
|
+
"onQuick-close"?: (...args: any[]) => any;
|
458
|
+
onQuickClose?: (...args: any[]) => any;
|
459
|
+
onShown?: (...args: any[]) => any;
|
460
|
+
}, unknown, {
|
479
461
|
visible: boolean;
|
480
462
|
}, {
|
481
463
|
dialogWidth(): String | Number;
|
482
464
|
dialogHeight(): String | Number;
|
483
465
|
compStyle(): any;
|
466
|
+
fullscreenStyle(): any;
|
484
467
|
}, {
|
485
468
|
handleClickOutSide(): void;
|
486
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
469
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "hidden" | "quick-close" | "quickClose" | "shown")[], "close" | "hidden" | "quick-close" | "quickClose" | "shown", {
|
487
470
|
multiInstance: boolean;
|
488
471
|
showMask: boolean;
|
489
472
|
width: string | number;
|
490
473
|
height: string | number;
|
491
474
|
draggable: boolean;
|
492
475
|
size: string;
|
493
|
-
extCls: string;
|
476
|
+
extCls: string | unknown[];
|
494
477
|
direction: string;
|
495
478
|
maxHeight: string;
|
496
479
|
isShow: boolean;
|
497
480
|
transfer: boolean;
|
498
481
|
renderDirective: string;
|
499
482
|
dialogType: string;
|
500
|
-
|
483
|
+
quickClose: boolean;
|
501
484
|
scrollable: boolean;
|
502
485
|
closeIcon: boolean;
|
503
486
|
escClose: boolean;
|
504
|
-
maskClose: boolean;
|
505
487
|
fullscreen: boolean;
|
506
|
-
quickClose: boolean;
|
507
488
|
animateType: string;
|
508
489
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
|
509
490
|
propsMixin: {
|
@@ -518,7 +499,7 @@ declare const BkModal: {
|
|
518
499
|
height: import("vue-types").VueTypeDef<string | number> & {
|
519
500
|
default: string | number;
|
520
501
|
};
|
521
|
-
|
502
|
+
extCls: (import("vue-types").VueTypeValidableDef<string> & {
|
522
503
|
default: string;
|
523
504
|
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
524
505
|
default: () => unknown[];
|
@@ -543,21 +524,11 @@ declare const BkModal: {
|
|
543
524
|
} & {
|
544
525
|
default: boolean;
|
545
526
|
};
|
546
|
-
maskClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
547
|
-
default: boolean;
|
548
|
-
} & {
|
549
|
-
default: boolean;
|
550
|
-
};
|
551
527
|
fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
|
552
528
|
default: boolean;
|
553
529
|
} & {
|
554
530
|
default: boolean;
|
555
531
|
};
|
556
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
557
|
-
default: string;
|
558
|
-
} & {
|
559
|
-
default: string;
|
560
|
-
};
|
561
532
|
size: import("vue-types").VueTypeDef<string> & {
|
562
533
|
default: string;
|
563
534
|
};
|
package/lib/modal/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],o);else{var t="object"==typeof exports?o(require("../shared"),require("vue")):o(e["../shared"],e.vue);for(var i in t)("object"==typeof exports?exports:e)[i]=t[i]}}(self,((e,o)=>(()=>{"use strict";var t={4212:o=>{o.exports=e},748:e=>{e.exports=o}},i={};function s(e){var o=i[e];if(void 0!==o)return o.exports;var r=i[e]={exports:{}};return t[e](r,r.exports,s),r.exports}s.d=(e,o)=>{for(var t in o)s.o(o,t)&&!s.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},s.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{s.r(r),s.d(r,{BkModal:()=>n,default:()=>
|
1
|
+
!function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],o);else{var t="object"==typeof exports?o(require("../shared"),require("vue")):o(e["../shared"],e.vue);for(var i in t)("object"==typeof exports?exports:e)[i]=t[i]}}(self,((e,o)=>(()=>{"use strict";var t={4212:o=>{o.exports=e},748:e=>{e.exports=o}},i={};function s(e){var o=i[e];if(void 0!==o)return o.exports;var r=i[e]={exports:{}};return t[e](r,r.exports,s),r.exports}s.d=(e,o)=>{for(var t in o)s.o(o,t)&&!s.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},s.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{s.r(r),s.d(r,{BkModal:()=>n,default:()=>l,propsMixin:()=>t});var e=s(4212),o=s(748),t={isShow:e.PropTypes.bool.def(!1),width:e.PropTypes.oneOfType([String,Number]).def("50%"),height:e.PropTypes.oneOfType([String,Number]).def("50%"),extCls:e.PropTypes.string||e.PropTypes.array,scrollable:e.PropTypes.bool.def(!0),showMask:e.PropTypes.bool.def(!0),closeIcon:e.PropTypes.bool.def(!0),escClose:e.PropTypes.bool.def(!0),fullscreen:e.PropTypes.bool.def(!1),size:e.PropTypes.commonType(["normal","small","medium","large"],"size").def(),draggable:e.PropTypes.bool.def(!0),quickClose:e.PropTypes.bool.def(!0),transfer:e.PropTypes.bool.def(!1),maxHeight:e.PropTypes.string,direction:e.PropTypes.string,animateType:e.PropTypes.string.def("slide"),renderDirective:e.PropTypes.commonType(["show","if"],"renderDirective").def("show"),beforeClose:e.PropTypes.custom((function(){return!0})),dialogType:e.PropTypes.commonType(["show","operation","confirm","process"],"dialogType").def("operation"),multiInstance:e.PropTypes.bool.def(!0)};const i=(0,o.defineComponent)({name:"Modal",props:Object.assign({},t),emits:["quick-close","quickClose","hidden","shown","close"],data:function(){return{visible:!1}},computed:{dialogWidth:function(){return/^\d+$/.test("".concat(this.width))?"".concat(this.width,"px"):this.width},dialogHeight:function(){return/^\d+$/.test("".concat(this.height))?"".concat(this.height,"px"):this.height},compStyle:function(){return{width:this.dialogWidth,height:this.dialogHeight,minHeigth:"".concat(200,"px"),display:this.visible?"inherit":"none"}},fullscreenStyle:function(){return{width:"".concat(100,"%"),height:"".concat(100,"%")}}},watch:{isShow:{handler:function(e){var o=this;e?this.visible=e:(this.$emit("hidden"),setTimeout((function(){o.visible=e}),250))},deep:!0},visible:function(o){var t=this;o?this.$nextTick((function(){var o=t.showMask?{}:{"background-color":"rgba(0,0,0,0)"};e.bkPopIndexManager.show(t.$el,t.showMask,o,t.transfer),t.$emit("shown"),t.$emit("quick-close",t.$el),t.$emit("quickClose",t.$el)})):e.bkPopIndexManager.hide(this.$el,this.transfer)}},beforeUnmount:function(){e.bkPopIndexManager.hide(this.$el)},methods:{handleClickOutSide:function(){this.quickClose&&this.$emit("close")}},render:function(){var e,t,i,s,r,n,l,d,a,c=this,p=this.maxHeight?{maxHeight:this.maxHeight}:{},h="bk-modal-body ".concat("slide"===this.animateType?this.direction:"");return(0,o.createVNode)("div",{class:["bk-modal-wrapper",this.extCls,this.size],style:[this.compStyle,this.fullscreen?this.fullscreenStyle:""]},[(0,o.withDirectives)((0,o.createVNode)("div",{class:"bk-modal-outside",onClick:this.handleClickOutSide},null),[[o.vShow,this.isShow]]),(0,o.createVNode)(o.Transition,{name:this.animateType},{default:function(){return[c.isShow?(0,o.createVNode)("div",{class:h},[(0,o.createVNode)("div",{class:"bk-modal-header"},[null!==(i=null===(t=(e=c.$slots).header)||void 0===t?void 0:t.call(e))&&void 0!==i?i:""]),(0,o.createVNode)("div",{class:"bk-modal-content",style:["show"===c.dialogType?"padding-bottom: 20px":"",Object.assign({},p)]},[null!==(n=null===(r=(s=c.$slots).default)||void 0===r?void 0:r.call(s))&&void 0!==n?n:""]),"show"===c.dialogType?"":(0,o.createVNode)("div",{class:"bk-modal-footer"},[null!==(a=null===(d=(l=c.$slots).footer)||void 0===d?void 0:d.call(l))&&void 0!==a?a:""])]):""]}})])}});var n=(0,e.withInstallProps)(i,{propsMixin:t},!0);const l=n})(),r})()));
|
package/lib/modal/modal.css
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
top: 50%;
|
4
4
|
left: 50%;
|
5
5
|
transform: translate(-50%, -50%);
|
6
|
+
width: 480px;
|
6
7
|
}
|
7
8
|
.bk-modal-wrapper .bk-modal-outside {
|
8
9
|
position: fixed;
|
@@ -11,12 +12,6 @@
|
|
11
12
|
bottom: 0;
|
12
13
|
left: 0;
|
13
14
|
}
|
14
|
-
.bk-modal-wrapper.bk-model-fullscreen {
|
15
|
-
width: 100%;
|
16
|
-
height: 100%;
|
17
|
-
background: #fff;
|
18
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
19
|
-
}
|
20
15
|
.bk-modal-wrapper.normal {
|
21
16
|
width: 480px;
|
22
17
|
height: 240px;
|
package/lib/modal/modal.d.ts
CHANGED
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
10
10
|
height: import("vue-types").VueTypeDef<string | number> & {
|
11
11
|
default: string | number;
|
12
12
|
};
|
13
|
-
|
13
|
+
extCls: (import("vue-types").VueTypeValidableDef<string> & {
|
14
14
|
default: string;
|
15
15
|
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
16
16
|
default: () => unknown[];
|
@@ -35,21 +35,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
35
35
|
} & {
|
36
36
|
default: boolean;
|
37
37
|
};
|
38
|
-
maskClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
39
|
-
default: boolean;
|
40
|
-
} & {
|
41
|
-
default: boolean;
|
42
|
-
};
|
43
38
|
fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
|
44
39
|
default: boolean;
|
45
40
|
} & {
|
46
41
|
default: boolean;
|
47
42
|
};
|
48
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
49
|
-
default: string;
|
50
|
-
} & {
|
51
|
-
default: string;
|
52
|
-
};
|
53
43
|
size: import("vue-types").VueTypeDef<string> & {
|
54
44
|
default: string;
|
55
45
|
};
|
@@ -97,9 +87,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
97
87
|
dialogWidth(): String | Number;
|
98
88
|
dialogHeight(): String | Number;
|
99
89
|
compStyle(): any;
|
90
|
+
fullscreenStyle(): any;
|
100
91
|
}, {
|
101
92
|
handleClickOutSide(): void;
|
102
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
93
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "hidden" | "quick-close" | "quickClose" | "shown")[], "close" | "hidden" | "quick-close" | "quickClose" | "shown", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
103
94
|
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
104
95
|
default: boolean;
|
105
96
|
} & {
|
@@ -111,7 +102,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
111
102
|
height: import("vue-types").VueTypeDef<string | number> & {
|
112
103
|
default: string | number;
|
113
104
|
};
|
114
|
-
|
105
|
+
extCls: (import("vue-types").VueTypeValidableDef<string> & {
|
115
106
|
default: string;
|
116
107
|
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
117
108
|
default: () => unknown[];
|
@@ -136,21 +127,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
136
127
|
} & {
|
137
128
|
default: boolean;
|
138
129
|
};
|
139
|
-
maskClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
140
|
-
default: boolean;
|
141
|
-
} & {
|
142
|
-
default: boolean;
|
143
|
-
};
|
144
130
|
fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
|
145
131
|
default: boolean;
|
146
132
|
} & {
|
147
133
|
default: boolean;
|
148
134
|
};
|
149
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
150
|
-
default: string;
|
151
|
-
} & {
|
152
|
-
default: string;
|
153
|
-
};
|
154
135
|
size: import("vue-types").VueTypeDef<string> & {
|
155
136
|
default: string;
|
156
137
|
};
|
@@ -192,27 +173,31 @@ declare const _default: import("vue").DefineComponent<{
|
|
192
173
|
} & {
|
193
174
|
default: boolean;
|
194
175
|
};
|
195
|
-
}
|
176
|
+
}>> & {
|
177
|
+
onClose?: (...args: any[]) => any;
|
178
|
+
onHidden?: (...args: any[]) => any;
|
179
|
+
"onQuick-close"?: (...args: any[]) => any;
|
180
|
+
onQuickClose?: (...args: any[]) => any;
|
181
|
+
onShown?: (...args: any[]) => any;
|
182
|
+
}, {
|
196
183
|
multiInstance: boolean;
|
197
184
|
showMask: boolean;
|
198
185
|
width: string | number;
|
199
186
|
height: string | number;
|
200
187
|
draggable: boolean;
|
201
188
|
size: string;
|
202
|
-
extCls: string;
|
189
|
+
extCls: string | unknown[];
|
203
190
|
direction: string;
|
204
191
|
maxHeight: string;
|
205
192
|
isShow: boolean;
|
206
193
|
transfer: boolean;
|
207
194
|
renderDirective: string;
|
208
195
|
dialogType: string;
|
209
|
-
|
196
|
+
quickClose: boolean;
|
210
197
|
scrollable: boolean;
|
211
198
|
closeIcon: boolean;
|
212
199
|
escClose: boolean;
|
213
|
-
maskClose: boolean;
|
214
200
|
fullscreen: boolean;
|
215
|
-
quickClose: boolean;
|
216
201
|
animateType: string;
|
217
202
|
}>;
|
218
203
|
export default _default;
|
package/lib/modal/modal.less
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
left: 50%;
|
5
5
|
// background: #fff;
|
6
6
|
transform: translate(-50%, -50%);
|
7
|
+
width: 480px;
|
7
8
|
|
8
9
|
.bk-modal-outside {
|
9
10
|
position: fixed;
|
@@ -13,13 +14,6 @@
|
|
13
14
|
left: 0;
|
14
15
|
}
|
15
16
|
|
16
|
-
&.bk-model-fullscreen {
|
17
|
-
width: 100%;
|
18
|
-
height: 100%;
|
19
|
-
background: #fff;
|
20
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
|
21
|
-
}
|
22
|
-
|
23
17
|
&.normal {
|
24
18
|
width: 480px;
|
25
19
|
height: 240px;
|
@@ -3,6 +3,7 @@
|
|
3
3
|
top: 50%;
|
4
4
|
left: 50%;
|
5
5
|
transform: translate(-50%, -50%);
|
6
|
+
width: 480px;
|
6
7
|
}
|
7
8
|
.bk-modal-wrapper .bk-modal-outside {
|
8
9
|
position: fixed;
|
@@ -11,12 +12,6 @@
|
|
11
12
|
bottom: 0;
|
12
13
|
left: 0;
|
13
14
|
}
|
14
|
-
.bk-modal-wrapper.bk-model-fullscreen {
|
15
|
-
width: 100%;
|
16
|
-
height: 100%;
|
17
|
-
background: #fff;
|
18
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
19
|
-
}
|
20
15
|
.bk-modal-wrapper.normal {
|
21
16
|
width: 480px;
|
22
17
|
height: 240px;
|
@@ -10,7 +10,7 @@ export declare const propsMixin: {
|
|
10
10
|
height: import("vue-types").VueTypeDef<string | number> & {
|
11
11
|
default: string | number;
|
12
12
|
};
|
13
|
-
|
13
|
+
extCls: (import("vue-types").VueTypeValidableDef<string> & {
|
14
14
|
default: string;
|
15
15
|
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
16
16
|
default: () => unknown[];
|
@@ -35,21 +35,11 @@ export declare const propsMixin: {
|
|
35
35
|
} & {
|
36
36
|
default: boolean;
|
37
37
|
};
|
38
|
-
maskClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
39
|
-
default: boolean;
|
40
|
-
} & {
|
41
|
-
default: boolean;
|
42
|
-
};
|
43
38
|
fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
|
44
39
|
default: boolean;
|
45
40
|
} & {
|
46
41
|
default: boolean;
|
47
42
|
};
|
48
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
49
|
-
default: string;
|
50
|
-
} & {
|
51
|
-
default: string;
|
52
|
-
};
|
53
43
|
size: import("vue-types").VueTypeDef<string> & {
|
54
44
|
default: string;
|
55
45
|
};
|
package/lib/popover2/index.d.ts
CHANGED
@@ -214,7 +214,7 @@ declare const BkPopover2: {
|
|
214
214
|
onHide?: (...args: any[]) => any;
|
215
215
|
onClickoutside?: (...args: any[]) => any;
|
216
216
|
}, {
|
217
|
-
boundary:
|
217
|
+
boundary: import("vue").Ref<any>;
|
218
218
|
arrow: boolean;
|
219
219
|
refReference: import("vue").Ref<any>;
|
220
220
|
refContent: import("vue").Ref<any>;
|
@@ -358,7 +358,7 @@ declare const BkPopover2: {
|
|
358
358
|
onHide?: (...args: any[]) => any;
|
359
359
|
onClickoutside?: (...args: any[]) => any;
|
360
360
|
} & import("vue").ShallowUnwrapRef<{
|
361
|
-
boundary:
|
361
|
+
boundary: import("vue").Ref<any>;
|
362
362
|
arrow: boolean;
|
363
363
|
refReference: import("vue").Ref<any>;
|
364
364
|
refContent: import("vue").Ref<any>;
|
@@ -463,7 +463,7 @@ declare const BkPopover2: {
|
|
463
463
|
onHide?: (...args: any[]) => any;
|
464
464
|
onClickoutside?: (...args: any[]) => any;
|
465
465
|
}, {
|
466
|
-
boundary:
|
466
|
+
boundary: import("vue").Ref<any>;
|
467
467
|
arrow: boolean;
|
468
468
|
refReference: import("vue").Ref<any>;
|
469
469
|
refContent: import("vue").Ref<any>;
|