@bpui/actionsheet
Advanced tools
Comparing version 0.1.17 to 0.1.18
/*! | ||
* bpui actionsheet v0.1.17 | ||
* bpui actionsheet v0.1.18 | ||
* Copyright (c) 2021 Copyright bpoint.lee@live.com All Rights Reserved. | ||
@@ -12,2 +12,3 @@ * Released under the MIT License. | ||
var bpDialog = _interopDefault(require('@bpui/dialog')); | ||
var febs = require('febs-browser'); | ||
@@ -32,10 +33,32 @@ function _newArrowCheck(innerThis, boundThis) { | ||
type: Boolean | ||
}, | ||
forcePhoneStyle: { | ||
"default": false, | ||
type: Boolean | String, | ||
validator: function validator(value) { | ||
return typeof value === 'boolean' || value === 'true' || value === 'false'; | ||
} | ||
}, | ||
appendToBody: { | ||
"default": true, | ||
type: Boolean | String, | ||
validator: function validator(value) { | ||
return typeof value === 'boolean' || value === 'true' || value === 'false'; | ||
} | ||
} | ||
}, | ||
data: function data() { | ||
return {}; | ||
return { | ||
tabletClass: null | ||
}; | ||
}, | ||
watch: {}, | ||
created: function created() {}, | ||
beforeMount: function beforeMount() {}, | ||
beforeMount: function beforeMount() { | ||
var forcePhoneStyle = this.forcePhoneStyle === true || this.forcePhoneStyle === 'true'; | ||
if (!febs.utils.browserIsPhone() && !forcePhoneStyle) { | ||
this.tabletClass = 'bp-actionsheet__tablet'; | ||
} | ||
}, | ||
beforeDestroy: function beforeDestroy() {}, | ||
@@ -814,2 +837,3 @@ mounted: function mounted() {}, | ||
staticClass: "bp-widget bp-actionsheet", | ||
"class": _vm.tabletClass, | ||
on: { | ||
@@ -816,0 +840,0 @@ click: _vm.onClickMask |
/*! | ||
* bpui actionsheet v0.1.17 | ||
* bpui actionsheet v0.1.18 | ||
* Copyright (c) 2021 Copyright bpoint.lee@live.com All Rights Reserved. | ||
* Released under the MIT License. | ||
*/ | ||
"use strict";var t;var n={mixins:[((t=require("@bpui/dialog"))&&"object"==typeof t&&"default"in t?t.default:t).bpWidget],components:{},props:{maskClose:{default:!0,type:Boolean},preventEvent:{default:!0,type:Boolean}},data:function(){return{}},watch:{},created:function(){},beforeMount:function(){},beforeDestroy:function(){},mounted:function(){},methods:{onClickMask:function(){var t=this;this.maskClose&&this.hide().then(function(n){!function(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}(this,t)}.bind(this))}}},e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t,n){return t(n={exports:{}},n.exports),n.exports}var o=function(t){return t&&t.Math==Math&&t},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof e&&e)||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},u=!c((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a={}.propertyIsEnumerable,f=Object.getOwnPropertyDescriptor,s={f:f&&!a.call({1:2},1)?function(t){var n=f(this,t);return!!n&&n.enumerable}:a},l=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},p={}.toString,d=function(t){return p.call(t).slice(8,-1)},h="".split,y=c((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==d(t)?h.call(t,""):Object(t)}:Object,v=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},g=function(t){return y(v(t))},b=function(t){return"object"==typeof t?null!==t:"function"==typeof t},m=function(t,n){if(!b(t))return t;var e,r;if(n&&"function"==typeof(e=t.toString)&&!b(r=e.call(t)))return r;if("function"==typeof(e=t.valueOf)&&!b(r=e.call(t)))return r;if(!n&&"function"==typeof(e=t.toString)&&!b(r=e.call(t)))return r;throw TypeError("Can't convert object to primitive value")},w={}.hasOwnProperty,_=function(t,n){return w.call(t,n)},S=i.document,O=b(S)&&b(S.createElement),j=!u&&!c((function(){return 7!=Object.defineProperty((t="div",O?S.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),C=Object.getOwnPropertyDescriptor,E={f:u?C:function(t,n){if(t=g(t),n=m(n,!0),j)try{return C(t,n)}catch(t){}if(_(t,n))return l(!s.f.call(t,n),t[n])}},T=function(t){if(!b(t))throw TypeError(String(t)+" is not an object");return t},x=Object.defineProperty,M={f:u?x:function(t,n,e){if(T(t),n=m(n,!0),T(e),j)try{return x(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},P=u?function(t,n,e){return M.f(t,n,l(1,e))}:function(t,n,e){return t[n]=e,t},k=function(t,n){try{P(i,t,n)}catch(e){i[t]=n}return n},A=i["__core-js_shared__"]||k("__core-js_shared__",{}),F=Function.toString;"function"!=typeof A.inspectSource&&(A.inspectSource=function(t){return F.call(t)});var R,I,N,$,L=A.inspectSource,D=i.WeakMap,W="function"==typeof D&&/native code/.test(L(D)),z=r((function(t){(t.exports=function(t,n){return A[t]||(A[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),B=0,V=Math.random(),q=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++B+V).toString(36)},G=z("keys"),U={},X=i.WeakMap;if(W){var K=new X,Y=K.get,H=K.has,J=K.set;R=function(t,n){return J.call(K,t,n),n},I=function(t){return Y.call(K,t)||{}},N=function(t){return H.call(K,t)}}else{var Q=G[$="state"]||(G[$]=q($));U[Q]=!0,R=function(t,n){return P(t,Q,n),n},I=function(t){return _(t,Q)?t[Q]:{}},N=function(t){return _(t,Q)}}var Z,tt,nt={set:R,get:I,has:N,enforce:function(t){return N(t)?I(t):R(t,{})},getterFor:function(t){return function(n){var e;if(!b(n)||(e=I(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}},et=r((function(t){var n=nt.get,e=nt.enforce,r=String(String).split("String");(t.exports=function(t,n,o,c){var u=!!c&&!!c.unsafe,a=!!c&&!!c.enumerable,f=!!c&&!!c.noTargetGet;"function"==typeof o&&("string"!=typeof n||_(o,"name")||P(o,"name",n),e(o).source=r.join("string"==typeof n?n:"")),t!==i?(u?!f&&t[n]&&(a=!0):delete t[n],a?t[n]=o:P(t,n,o)):a?t[n]=o:k(n,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||L(this)}))})),rt=i,ot=function(t){return"function"==typeof t?t:void 0},it=function(t,n){return arguments.length<2?ot(rt[t])||ot(i[t]):rt[t]&&rt[t][n]||i[t]&&i[t][n]},ct=Math.ceil,ut=Math.floor,at=function(t){return isNaN(t=+t)?0:(t>0?ut:ct)(t)},ft=Math.min,st=function(t){return t>0?ft(at(t),9007199254740991):0},lt=Math.max,pt=Math.min,dt=function(t){return function(n,e,r){var o,i=g(n),c=st(i.length),u=function(t,n){var e=at(t);return e<0?lt(e+n,0):pt(e,n)}(r,c);if(t&&e!=e){for(;c>u;)if((o=i[u++])!=o)return!0}else for(;c>u;u++)if((t||u in i)&&i[u]===e)return t||u||0;return!t&&-1}},ht={includes:dt(!0),indexOf:dt(!1)}.indexOf,yt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),vt={f:Object.getOwnPropertyNames||function(t){return function(t,n){var e,r=g(t),o=0,i=[];for(e in r)!_(U,e)&&_(r,e)&&i.push(e);for(;n.length>o;)_(r,e=n[o++])&&(~ht(i,e)||i.push(e));return i}(t,yt)}},gt={f:Object.getOwnPropertySymbols},bt=it("Reflect","ownKeys")||function(t){var n=vt.f(T(t)),e=gt.f;return e?n.concat(e(t)):n},mt=function(t,n){for(var e=bt(n),r=M.f,o=E.f,i=0;i<e.length;i++){var c=e[i];_(t,c)||r(t,c,o(n,c))}},wt=/#|\.prototype\./,_t=function(t,n){var e=Ot[St(t)];return e==Ct||e!=jt&&("function"==typeof n?c(n):!!n)},St=_t.normalize=function(t){return String(t).replace(wt,".").toLowerCase()},Ot=_t.data={},jt=_t.NATIVE="N",Ct=_t.POLYFILL="P",Et=_t,Tt=E.f,xt=Array.isArray||function(t){return"Array"==d(t)},Mt=function(t){return Object(v(t))},Pt=function(t,n,e){var r=m(n);r in t?M.f(t,r,l(0,e)):t[r]=e},kt=!!Object.getOwnPropertySymbols&&!c((function(){return!String(Symbol())})),At=kt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ft=z("wks"),Rt=i.Symbol,It=At?Rt:Rt&&Rt.withoutSetter||q,Nt=function(t){return _(Ft,t)||(kt&&_(Rt,t)?Ft[t]=Rt[t]:Ft[t]=It("Symbol."+t)),Ft[t]},$t=Nt("species"),Lt=function(t,n){var e;return xt(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!xt(e.prototype)?b(e)&&null===(e=e[$t])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===n?0:n)},Dt=it("navigator","userAgent")||"",Wt=i.process,zt=Wt&&Wt.versions,Bt=zt&&zt.v8;Bt?tt=(Z=Bt.split("."))[0]+Z[1]:Dt&&(!(Z=Dt.match(/Edge\/(\d+)/))||Z[1]>=74)&&(Z=Dt.match(/Chrome\/(\d+)/))&&(tt=Z[1]);var Vt,qt=tt&&+tt,Gt=Nt("species"),Ut=Nt("isConcatSpreadable"),Xt=qt>=51||!c((function(){var t=[];return t[Ut]=!1,t.concat()[0]!==t})),Kt=(Vt="concat",qt>=51||!c((function(){var t=[];return(t.constructor={})[Gt]=function(){return{foo:1}},1!==t[Vt](Boolean).foo}))),Yt=function(t){if(!b(t))return!1;var n=t[Ut];return void 0!==n?!!n:xt(t)};function Ht(t,n,e,r,o,i,c,u,a,f){"boolean"!=typeof c&&(a=u,u=c,c=!1);var s,l="function"==typeof e?e.options:e;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,o&&(l.functional=!0)),r&&(l._scopeId=r),i?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,a(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},l._ssrRegister=s):n&&(s=c?function(t){n.call(this,f(t,this.$root.$options.shadowRoot))}:function(t){n.call(this,u(t))}),s)if(l.functional){var p=l.render;l.render=function(t,n){return s.call(n),p(t,n)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,s):[s]}return e}!function(t,n){var e,r,o,c,u,a=t.target,f=t.global,s=t.stat;if(e=f?i:s?i[a]||k(a,{}):(i[a]||{}).prototype)for(r in n){if(c=n[r],o=t.noTargetGet?(u=Tt(e,r))&&u.value:e[r],!Et(f?r:a+(s?".":"#")+r,t.forced)&&void 0!==o){if(typeof c==typeof o)continue;mt(c,o)}(t.sham||o&&o.sham)&&P(c,"sham",!0),et(e,r,c,t)}}({target:"Array",proto:!0,forced:!Xt||!Kt},{concat:function(t){var n,e,r,o,i,c=Mt(this),u=Lt(c,0),a=0;for(n=-1,r=arguments.length;n<r;n++)if(Yt(i=-1===n?c:arguments[n])){if(a+(o=st(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(e=0;e<o;e++,a++)e in i&&Pt(u,a,i[e])}else{if(a>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Pt(u,a++,i)}return u.length=a,u}});var Jt=n,Qt=function(){var t=this.$createElement,n=this._self._c||t;return n("div",{staticClass:"bp-widget bp-actionsheet",on:{click:this.onClickMask}},[n("div",{staticClass:"bp-widget__content"},[n("div",{staticClass:"bp-widget__contentWrap"},[n("div",{staticClass:"bp-actionsheet__main",class:this.pageClass,style:this.pageStyle,on:{click:function(t){t.stopPropagation()}}},[this._t("default")],2)])])])};Qt._withStripped=!0;var Zt={bpActionsheet:Ht({render:Qt,staticRenderFns:[]},void 0,Jt,void 0,!1,void 0,!1,void 0,void 0,void 0)};module.exports=Zt; | ||
"use strict";var t,e=(t=require("@bpui/dialog"))&&"object"==typeof t&&"default"in t?t.default:t,n=require("febs-browser");var r={mixins:[e.bpWidget],components:{},props:{maskClose:{default:!0,type:Boolean},preventEvent:{default:!0,type:Boolean},forcePhoneStyle:{default:!1,type:Boolean|String,validator:function(t){return"boolean"==typeof t||"true"===t||"false"===t}},appendToBody:{default:!0,type:Boolean|String,validator:function(t){return"boolean"==typeof t||"true"===t||"false"===t}}},data:function(){return{tabletClass:null}},watch:{},created:function(){},beforeMount:function(){var t=!0===this.forcePhoneStyle||"true"===this.forcePhoneStyle;n.utils.browserIsPhone()||t||(this.tabletClass="bp-actionsheet__tablet")},beforeDestroy:function(){},mounted:function(){},methods:{onClickMask:function(){var t=this;this.maskClose&&this.hide().then(function(e){!function(t,e){if(t!==e)throw new TypeError("Cannot instantiate an arrow function")}(this,t)}.bind(this))}}},o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(t,e){return t(e={exports:{}},e.exports),e.exports}var c=function(t){return t&&t.Math==Math&&t},u=c("object"==typeof globalThis&&globalThis)||c("object"==typeof window&&window)||c("object"==typeof self&&self)||c("object"==typeof o&&o)||Function("return this")(),a=function(t){try{return!!t()}catch(t){return!0}},f=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),s={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,p={f:l&&!s.call({1:2},1)?function(t){var e=l(this,t);return!!e&&e.enumerable}:s},d=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},h={}.toString,y=function(t){return h.call(t).slice(8,-1)},v="".split,b=a((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==y(t)?v.call(t,""):Object(t)}:Object,g=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},m=function(t){return b(g(t))},w=function(t){return"object"==typeof t?null!==t:"function"==typeof t},S=function(t,e){if(!w(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!w(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!w(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!w(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},_={}.hasOwnProperty,O=function(t,e){return _.call(t,e)},C=u.document,j=w(C)&&w(C.createElement),E=!f&&!a((function(){return 7!=Object.defineProperty((t="div",j?C.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),T=Object.getOwnPropertyDescriptor,P={f:f?T:function(t,e){if(t=m(t),e=S(e,!0),E)try{return T(t,e)}catch(t){}if(O(t,e))return d(!p.f.call(t,e),t[e])}},x=function(t){if(!w(t))throw TypeError(String(t)+" is not an object");return t},M=Object.defineProperty,k={f:f?M:function(t,e,n){if(x(t),e=S(e,!0),x(n),E)try{return M(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},A=f?function(t,e,n){return k.f(t,e,d(1,n))}:function(t,e,n){return t[e]=n,t},F=function(t,e){try{A(u,t,e)}catch(n){u[t]=e}return e},I=u["__core-js_shared__"]||F("__core-js_shared__",{}),R=Function.toString;"function"!=typeof I.inspectSource&&(I.inspectSource=function(t){return R.call(t)});var N,$,B,L,D=I.inspectSource,W=u.WeakMap,q="function"==typeof W&&/native code/.test(D(W)),z=i((function(t){(t.exports=function(t,e){return I[t]||(I[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),V=0,G=Math.random(),U=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++V+G).toString(36)},X=z("keys"),K={},Y=u.WeakMap;if(q){var H=new Y,J=H.get,Q=H.has,Z=H.set;N=function(t,e){return Z.call(H,t,e),e},$=function(t){return J.call(H,t)||{}},B=function(t){return Q.call(H,t)}}else{var tt=X[L="state"]||(X[L]=U(L));K[tt]=!0,N=function(t,e){return A(t,tt,e),e},$=function(t){return O(t,tt)?t[tt]:{}},B=function(t){return O(t,tt)}}var et,nt,rt={set:N,get:$,has:B,enforce:function(t){return B(t)?$(t):N(t,{})},getterFor:function(t){return function(e){var n;if(!w(e)||(n=$(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},ot=i((function(t){var e=rt.get,n=rt.enforce,r=String(String).split("String");(t.exports=function(t,e,o,i){var c=!!i&&!!i.unsafe,a=!!i&&!!i.enumerable,f=!!i&&!!i.noTargetGet;"function"==typeof o&&("string"!=typeof e||O(o,"name")||A(o,"name",e),n(o).source=r.join("string"==typeof e?e:"")),t!==u?(c?!f&&t[e]&&(a=!0):delete t[e],a?t[e]=o:A(t,e,o)):a?t[e]=o:F(e,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||D(this)}))})),it=u,ct=function(t){return"function"==typeof t?t:void 0},ut=function(t,e){return arguments.length<2?ct(it[t])||ct(u[t]):it[t]&&it[t][e]||u[t]&&u[t][e]},at=Math.ceil,ft=Math.floor,st=function(t){return isNaN(t=+t)?0:(t>0?ft:at)(t)},lt=Math.min,pt=function(t){return t>0?lt(st(t),9007199254740991):0},dt=Math.max,ht=Math.min,yt=function(t){return function(e,n,r){var o,i=m(e),c=pt(i.length),u=function(t,e){var n=st(t);return n<0?dt(n+e,0):ht(n,e)}(r,c);if(t&&n!=n){for(;c>u;)if((o=i[u++])!=o)return!0}else for(;c>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},vt={includes:yt(!0),indexOf:yt(!1)}.indexOf,bt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),gt={f:Object.getOwnPropertyNames||function(t){return function(t,e){var n,r=m(t),o=0,i=[];for(n in r)!O(K,n)&&O(r,n)&&i.push(n);for(;e.length>o;)O(r,n=e[o++])&&(~vt(i,n)||i.push(n));return i}(t,bt)}},mt={f:Object.getOwnPropertySymbols},wt=ut("Reflect","ownKeys")||function(t){var e=gt.f(x(t)),n=mt.f;return n?e.concat(n(t)):e},St=function(t,e){for(var n=wt(e),r=k.f,o=P.f,i=0;i<n.length;i++){var c=n[i];O(t,c)||r(t,c,o(e,c))}},_t=/#|\.prototype\./,Ot=function(t,e){var n=jt[Ct(t)];return n==Tt||n!=Et&&("function"==typeof e?a(e):!!e)},Ct=Ot.normalize=function(t){return String(t).replace(_t,".").toLowerCase()},jt=Ot.data={},Et=Ot.NATIVE="N",Tt=Ot.POLYFILL="P",Pt=Ot,xt=P.f,Mt=Array.isArray||function(t){return"Array"==y(t)},kt=function(t){return Object(g(t))},At=function(t,e,n){var r=S(e);r in t?k.f(t,r,d(0,n)):t[r]=n},Ft=!!Object.getOwnPropertySymbols&&!a((function(){return!String(Symbol())})),It=Ft&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Rt=z("wks"),Nt=u.Symbol,$t=It?Nt:Nt&&Nt.withoutSetter||U,Bt=function(t){return O(Rt,t)||(Ft&&O(Nt,t)?Rt[t]=Nt[t]:Rt[t]=$t("Symbol."+t)),Rt[t]},Lt=Bt("species"),Dt=function(t,e){var n;return Mt(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Mt(n.prototype)?w(n)&&null===(n=n[Lt])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},Wt=ut("navigator","userAgent")||"",qt=u.process,zt=qt&&qt.versions,Vt=zt&&zt.v8;Vt?nt=(et=Vt.split("."))[0]+et[1]:Wt&&(!(et=Wt.match(/Edge\/(\d+)/))||et[1]>=74)&&(et=Wt.match(/Chrome\/(\d+)/))&&(nt=et[1]);var Gt,Ut=nt&&+nt,Xt=Bt("species"),Kt=Bt("isConcatSpreadable"),Yt=Ut>=51||!a((function(){var t=[];return t[Kt]=!1,t.concat()[0]!==t})),Ht=(Gt="concat",Ut>=51||!a((function(){var t=[];return(t.constructor={})[Xt]=function(){return{foo:1}},1!==t[Gt](Boolean).foo}))),Jt=function(t){if(!w(t))return!1;var e=t[Kt];return void 0!==e?!!e:Mt(t)};function Qt(t,e,n,r,o,i,c,u,a,f){"boolean"!=typeof c&&(a=u,u=c,c=!1);var s,l="function"==typeof n?n.options:n;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,o&&(l.functional=!0)),r&&(l._scopeId=r),i?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,a(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},l._ssrRegister=s):e&&(s=c?function(t){e.call(this,f(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,u(t))}),s)if(l.functional){var p=l.render;l.render=function(t,e){return s.call(e),p(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,s):[s]}return n}!function(t,e){var n,r,o,i,c,a=t.target,f=t.global,s=t.stat;if(n=f?u:s?u[a]||F(a,{}):(u[a]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(c=xt(n,r))&&c.value:n[r],!Pt(f?r:a+(s?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;St(i,o)}(t.sham||o&&o.sham)&&A(i,"sham",!0),ot(n,r,i,t)}}({target:"Array",proto:!0,forced:!Yt||!Ht},{concat:function(t){var e,n,r,o,i,c=kt(this),u=Dt(c,0),a=0;for(e=-1,r=arguments.length;e<r;e++)if(Jt(i=-1===e?c:arguments[e])){if(a+(o=pt(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,a++)n in i&&At(u,a,i[n])}else{if(a>=9007199254740991)throw TypeError("Maximum allowed index exceeded");At(u,a++,i)}return u.length=a,u}});var Zt=r,te=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"bp-widget bp-actionsheet",class:this.tabletClass,on:{click:this.onClickMask}},[e("div",{staticClass:"bp-widget__content"},[e("div",{staticClass:"bp-widget__contentWrap"},[e("div",{staticClass:"bp-actionsheet__main",class:this.pageClass,style:this.pageStyle,on:{click:function(t){t.stopPropagation()}}},[this._t("default")],2)])])])};te._withStripped=!0;var ee={bpActionsheet:Qt({render:te,staticRenderFns:[]},void 0,Zt,void 0,!1,void 0,!1,void 0,void 0,void 0)};module.exports=ee; |
/*! | ||
* bpui actionsheet v0.1.17 | ||
* bpui actionsheet v0.1.18 | ||
* Copyright (c) 2021 Copyright bpoint.lee@live.com All Rights Reserved. | ||
@@ -8,2 +8,3 @@ * Released under the MIT License. | ||
import bpDialog from '@bpui/dialog'; | ||
import { utils } from 'febs-browser'; | ||
@@ -28,10 +29,32 @@ function _newArrowCheck(innerThis, boundThis) { | ||
type: Boolean | ||
}, | ||
forcePhoneStyle: { | ||
"default": false, | ||
type: Boolean | String, | ||
validator: function validator(value) { | ||
return typeof value === 'boolean' || value === 'true' || value === 'false'; | ||
} | ||
}, | ||
appendToBody: { | ||
"default": true, | ||
type: Boolean | String, | ||
validator: function validator(value) { | ||
return typeof value === 'boolean' || value === 'true' || value === 'false'; | ||
} | ||
} | ||
}, | ||
data: function data() { | ||
return {}; | ||
return { | ||
tabletClass: null | ||
}; | ||
}, | ||
watch: {}, | ||
created: function created() {}, | ||
beforeMount: function beforeMount() {}, | ||
beforeMount: function beforeMount() { | ||
var forcePhoneStyle = this.forcePhoneStyle === true || this.forcePhoneStyle === 'true'; | ||
if (!utils.browserIsPhone() && !forcePhoneStyle) { | ||
this.tabletClass = 'bp-actionsheet__tablet'; | ||
} | ||
}, | ||
beforeDestroy: function beforeDestroy() {}, | ||
@@ -810,2 +833,3 @@ mounted: function mounted() {}, | ||
staticClass: "bp-widget bp-actionsheet", | ||
"class": _vm.tabletClass, | ||
on: { | ||
@@ -812,0 +836,0 @@ click: _vm.onClickMask |
/*! | ||
* bpui actionsheet v0.1.17 | ||
* bpui actionsheet v0.1.18 | ||
* Copyright (c) 2021 Copyright bpoint.lee@live.com All Rights Reserved. | ||
* Released under the MIT License. | ||
*/ | ||
import t from"@bpui/dialog";var n={mixins:[t.bpWidget],components:{},props:{maskClose:{default:!0,type:Boolean},preventEvent:{default:!0,type:Boolean}},data:function(){return{}},watch:{},created:function(){},beforeMount:function(){},beforeDestroy:function(){},mounted:function(){},methods:{onClickMask:function(){var t=this;this.maskClose&&this.hide().then(function(n){!function(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}(this,t)}.bind(this))}}},e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t,n){return t(n={exports:{}},n.exports),n.exports}var o=function(t){return t&&t.Math==Math&&t},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof e&&e)||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},u=!c((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a={}.propertyIsEnumerable,f=Object.getOwnPropertyDescriptor,s={f:f&&!a.call({1:2},1)?function(t){var n=f(this,t);return!!n&&n.enumerable}:a},l=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},p={}.toString,d=function(t){return p.call(t).slice(8,-1)},h="".split,y=c((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==d(t)?h.call(t,""):Object(t)}:Object,v=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},g=function(t){return y(v(t))},b=function(t){return"object"==typeof t?null!==t:"function"==typeof t},m=function(t,n){if(!b(t))return t;var e,r;if(n&&"function"==typeof(e=t.toString)&&!b(r=e.call(t)))return r;if("function"==typeof(e=t.valueOf)&&!b(r=e.call(t)))return r;if(!n&&"function"==typeof(e=t.toString)&&!b(r=e.call(t)))return r;throw TypeError("Can't convert object to primitive value")},w={}.hasOwnProperty,_=function(t,n){return w.call(t,n)},S=i.document,O=b(S)&&b(S.createElement),C=!u&&!c((function(){return 7!=Object.defineProperty((t="div",O?S.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),j=Object.getOwnPropertyDescriptor,E={f:u?j:function(t,n){if(t=g(t),n=m(n,!0),C)try{return j(t,n)}catch(t){}if(_(t,n))return l(!s.f.call(t,n),t[n])}},T=function(t){if(!b(t))throw TypeError(String(t)+" is not an object");return t},x=Object.defineProperty,M={f:u?x:function(t,n,e){if(T(t),n=m(n,!0),T(e),C)try{return x(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},P=u?function(t,n,e){return M.f(t,n,l(1,e))}:function(t,n,e){return t[n]=e,t},k=function(t,n){try{P(i,t,n)}catch(e){i[t]=n}return n},A=i["__core-js_shared__"]||k("__core-js_shared__",{}),F=Function.toString;"function"!=typeof A.inspectSource&&(A.inspectSource=function(t){return F.call(t)});var R,I,N,$,L=A.inspectSource,D=i.WeakMap,W="function"==typeof D&&/native code/.test(L(D)),z=r((function(t){(t.exports=function(t,n){return A[t]||(A[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),B=0,V=Math.random(),G=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++B+V).toString(36)},U=z("keys"),X={},q=i.WeakMap;if(W){var K=new q,Y=K.get,H=K.has,J=K.set;R=function(t,n){return J.call(K,t,n),n},I=function(t){return Y.call(K,t)||{}},N=function(t){return H.call(K,t)}}else{var Q=U[$="state"]||(U[$]=G($));X[Q]=!0,R=function(t,n){return P(t,Q,n),n},I=function(t){return _(t,Q)?t[Q]:{}},N=function(t){return _(t,Q)}}var Z,tt,nt={set:R,get:I,has:N,enforce:function(t){return N(t)?I(t):R(t,{})},getterFor:function(t){return function(n){var e;if(!b(n)||(e=I(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}},et=r((function(t){var n=nt.get,e=nt.enforce,r=String(String).split("String");(t.exports=function(t,n,o,c){var u=!!c&&!!c.unsafe,a=!!c&&!!c.enumerable,f=!!c&&!!c.noTargetGet;"function"==typeof o&&("string"!=typeof n||_(o,"name")||P(o,"name",n),e(o).source=r.join("string"==typeof n?n:"")),t!==i?(u?!f&&t[n]&&(a=!0):delete t[n],a?t[n]=o:P(t,n,o)):a?t[n]=o:k(n,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||L(this)}))})),rt=i,ot=function(t){return"function"==typeof t?t:void 0},it=function(t,n){return arguments.length<2?ot(rt[t])||ot(i[t]):rt[t]&&rt[t][n]||i[t]&&i[t][n]},ct=Math.ceil,ut=Math.floor,at=function(t){return isNaN(t=+t)?0:(t>0?ut:ct)(t)},ft=Math.min,st=function(t){return t>0?ft(at(t),9007199254740991):0},lt=Math.max,pt=Math.min,dt=function(t){return function(n,e,r){var o,i=g(n),c=st(i.length),u=function(t,n){var e=at(t);return e<0?lt(e+n,0):pt(e,n)}(r,c);if(t&&e!=e){for(;c>u;)if((o=i[u++])!=o)return!0}else for(;c>u;u++)if((t||u in i)&&i[u]===e)return t||u||0;return!t&&-1}},ht={includes:dt(!0),indexOf:dt(!1)}.indexOf,yt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),vt={f:Object.getOwnPropertyNames||function(t){return function(t,n){var e,r=g(t),o=0,i=[];for(e in r)!_(X,e)&&_(r,e)&&i.push(e);for(;n.length>o;)_(r,e=n[o++])&&(~ht(i,e)||i.push(e));return i}(t,yt)}},gt={f:Object.getOwnPropertySymbols},bt=it("Reflect","ownKeys")||function(t){var n=vt.f(T(t)),e=gt.f;return e?n.concat(e(t)):n},mt=function(t,n){for(var e=bt(n),r=M.f,o=E.f,i=0;i<e.length;i++){var c=e[i];_(t,c)||r(t,c,o(n,c))}},wt=/#|\.prototype\./,_t=function(t,n){var e=Ot[St(t)];return e==jt||e!=Ct&&("function"==typeof n?c(n):!!n)},St=_t.normalize=function(t){return String(t).replace(wt,".").toLowerCase()},Ot=_t.data={},Ct=_t.NATIVE="N",jt=_t.POLYFILL="P",Et=_t,Tt=E.f,xt=Array.isArray||function(t){return"Array"==d(t)},Mt=function(t){return Object(v(t))},Pt=function(t,n,e){var r=m(n);r in t?M.f(t,r,l(0,e)):t[r]=e},kt=!!Object.getOwnPropertySymbols&&!c((function(){return!String(Symbol())})),At=kt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ft=z("wks"),Rt=i.Symbol,It=At?Rt:Rt&&Rt.withoutSetter||G,Nt=function(t){return _(Ft,t)||(kt&&_(Rt,t)?Ft[t]=Rt[t]:Ft[t]=It("Symbol."+t)),Ft[t]},$t=Nt("species"),Lt=function(t,n){var e;return xt(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!xt(e.prototype)?b(e)&&null===(e=e[$t])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===n?0:n)},Dt=it("navigator","userAgent")||"",Wt=i.process,zt=Wt&&Wt.versions,Bt=zt&&zt.v8;Bt?tt=(Z=Bt.split("."))[0]+Z[1]:Dt&&(!(Z=Dt.match(/Edge\/(\d+)/))||Z[1]>=74)&&(Z=Dt.match(/Chrome\/(\d+)/))&&(tt=Z[1]);var Vt,Gt=tt&&+tt,Ut=Nt("species"),Xt=Nt("isConcatSpreadable"),qt=Gt>=51||!c((function(){var t=[];return t[Xt]=!1,t.concat()[0]!==t})),Kt=(Vt="concat",Gt>=51||!c((function(){var t=[];return(t.constructor={})[Ut]=function(){return{foo:1}},1!==t[Vt](Boolean).foo}))),Yt=function(t){if(!b(t))return!1;var n=t[Xt];return void 0!==n?!!n:xt(t)};function Ht(t,n,e,r,o,i,c,u,a,f){"boolean"!=typeof c&&(a=u,u=c,c=!1);var s,l="function"==typeof e?e.options:e;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,o&&(l.functional=!0)),r&&(l._scopeId=r),i?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,a(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},l._ssrRegister=s):n&&(s=c?function(t){n.call(this,f(t,this.$root.$options.shadowRoot))}:function(t){n.call(this,u(t))}),s)if(l.functional){var p=l.render;l.render=function(t,n){return s.call(n),p(t,n)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,s):[s]}return e}!function(t,n){var e,r,o,c,u,a=t.target,f=t.global,s=t.stat;if(e=f?i:s?i[a]||k(a,{}):(i[a]||{}).prototype)for(r in n){if(c=n[r],o=t.noTargetGet?(u=Tt(e,r))&&u.value:e[r],!Et(f?r:a+(s?".":"#")+r,t.forced)&&void 0!==o){if(typeof c==typeof o)continue;mt(c,o)}(t.sham||o&&o.sham)&&P(c,"sham",!0),et(e,r,c,t)}}({target:"Array",proto:!0,forced:!qt||!Kt},{concat:function(t){var n,e,r,o,i,c=Mt(this),u=Lt(c,0),a=0;for(n=-1,r=arguments.length;n<r;n++)if(Yt(i=-1===n?c:arguments[n])){if(a+(o=st(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(e=0;e<o;e++,a++)e in i&&Pt(u,a,i[e])}else{if(a>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Pt(u,a++,i)}return u.length=a,u}});var Jt=n,Qt=function(){var t=this.$createElement,n=this._self._c||t;return n("div",{staticClass:"bp-widget bp-actionsheet",on:{click:this.onClickMask}},[n("div",{staticClass:"bp-widget__content"},[n("div",{staticClass:"bp-widget__contentWrap"},[n("div",{staticClass:"bp-actionsheet__main",class:this.pageClass,style:this.pageStyle,on:{click:function(t){t.stopPropagation()}}},[this._t("default")],2)])])])};Qt._withStripped=!0;var Zt={bpActionsheet:Ht({render:Qt,staticRenderFns:[]},void 0,Jt,void 0,!1,void 0,!1,void 0,void 0,void 0)};export default Zt; | ||
import t from"@bpui/dialog";import{utils as e}from"febs-browser";var n={mixins:[t.bpWidget],components:{},props:{maskClose:{default:!0,type:Boolean},preventEvent:{default:!0,type:Boolean},forcePhoneStyle:{default:!1,type:Boolean|String,validator:function(t){return"boolean"==typeof t||"true"===t||"false"===t}},appendToBody:{default:!0,type:Boolean|String,validator:function(t){return"boolean"==typeof t||"true"===t||"false"===t}}},data:function(){return{tabletClass:null}},watch:{},created:function(){},beforeMount:function(){var t=!0===this.forcePhoneStyle||"true"===this.forcePhoneStyle;e.browserIsPhone()||t||(this.tabletClass="bp-actionsheet__tablet")},beforeDestroy:function(){},mounted:function(){},methods:{onClickMask:function(){var t=this;this.maskClose&&this.hide().then(function(e){!function(t,e){if(t!==e)throw new TypeError("Cannot instantiate an arrow function")}(this,t)}.bind(this))}}},r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(t,e){return t(e={exports:{}},e.exports),e.exports}var i=function(t){return t&&t.Math==Math&&t},c=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof r&&r)||Function("return this")(),u=function(t){try{return!!t()}catch(t){return!0}},a=!u((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),f={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,l={f:s&&!f.call({1:2},1)?function(t){var e=s(this,t);return!!e&&e.enumerable}:f},p=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},d={}.toString,h=function(t){return d.call(t).slice(8,-1)},y="".split,v=u((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==h(t)?y.call(t,""):Object(t)}:Object,b=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},g=function(t){return v(b(t))},m=function(t){return"object"==typeof t?null!==t:"function"==typeof t},w=function(t,e){if(!m(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!m(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!m(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!m(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},S={}.hasOwnProperty,_=function(t,e){return S.call(t,e)},O=c.document,C=m(O)&&m(O.createElement),j=!a&&!u((function(){return 7!=Object.defineProperty((t="div",C?O.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),E=Object.getOwnPropertyDescriptor,T={f:a?E:function(t,e){if(t=g(t),e=w(e,!0),j)try{return E(t,e)}catch(t){}if(_(t,e))return p(!l.f.call(t,e),t[e])}},P=function(t){if(!m(t))throw TypeError(String(t)+" is not an object");return t},x=Object.defineProperty,M={f:a?x:function(t,e,n){if(P(t),e=w(e,!0),P(n),j)try{return x(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},k=a?function(t,e,n){return M.f(t,e,p(1,n))}:function(t,e,n){return t[e]=n,t},A=function(t,e){try{k(c,t,e)}catch(n){c[t]=e}return e},F=c["__core-js_shared__"]||A("__core-js_shared__",{}),I=Function.toString;"function"!=typeof F.inspectSource&&(F.inspectSource=function(t){return I.call(t)});var R,N,$,B,L=F.inspectSource,D=c.WeakMap,W="function"==typeof D&&/native code/.test(L(D)),z=o((function(t){(t.exports=function(t,e){return F[t]||(F[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),V=0,G=Math.random(),U=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++V+G).toString(36)},X=z("keys"),q={},K=c.WeakMap;if(W){var Y=new K,H=Y.get,J=Y.has,Q=Y.set;R=function(t,e){return Q.call(Y,t,e),e},N=function(t){return H.call(Y,t)||{}},$=function(t){return J.call(Y,t)}}else{var Z=X[B="state"]||(X[B]=U(B));q[Z]=!0,R=function(t,e){return k(t,Z,e),e},N=function(t){return _(t,Z)?t[Z]:{}},$=function(t){return _(t,Z)}}var tt,et,nt={set:R,get:N,has:$,enforce:function(t){return $(t)?N(t):R(t,{})},getterFor:function(t){return function(e){var n;if(!m(e)||(n=N(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},rt=o((function(t){var e=nt.get,n=nt.enforce,r=String(String).split("String");(t.exports=function(t,e,o,i){var u=!!i&&!!i.unsafe,a=!!i&&!!i.enumerable,f=!!i&&!!i.noTargetGet;"function"==typeof o&&("string"!=typeof e||_(o,"name")||k(o,"name",e),n(o).source=r.join("string"==typeof e?e:"")),t!==c?(u?!f&&t[e]&&(a=!0):delete t[e],a?t[e]=o:k(t,e,o)):a?t[e]=o:A(e,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||L(this)}))})),ot=c,it=function(t){return"function"==typeof t?t:void 0},ct=function(t,e){return arguments.length<2?it(ot[t])||it(c[t]):ot[t]&&ot[t][e]||c[t]&&c[t][e]},ut=Math.ceil,at=Math.floor,ft=function(t){return isNaN(t=+t)?0:(t>0?at:ut)(t)},st=Math.min,lt=function(t){return t>0?st(ft(t),9007199254740991):0},pt=Math.max,dt=Math.min,ht=function(t){return function(e,n,r){var o,i=g(e),c=lt(i.length),u=function(t,e){var n=ft(t);return n<0?pt(n+e,0):dt(n,e)}(r,c);if(t&&n!=n){for(;c>u;)if((o=i[u++])!=o)return!0}else for(;c>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},yt={includes:ht(!0),indexOf:ht(!1)}.indexOf,vt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),bt={f:Object.getOwnPropertyNames||function(t){return function(t,e){var n,r=g(t),o=0,i=[];for(n in r)!_(q,n)&&_(r,n)&&i.push(n);for(;e.length>o;)_(r,n=e[o++])&&(~yt(i,n)||i.push(n));return i}(t,vt)}},gt={f:Object.getOwnPropertySymbols},mt=ct("Reflect","ownKeys")||function(t){var e=bt.f(P(t)),n=gt.f;return n?e.concat(n(t)):e},wt=function(t,e){for(var n=mt(e),r=M.f,o=T.f,i=0;i<n.length;i++){var c=n[i];_(t,c)||r(t,c,o(e,c))}},St=/#|\.prototype\./,_t=function(t,e){var n=Ct[Ot(t)];return n==Et||n!=jt&&("function"==typeof e?u(e):!!e)},Ot=_t.normalize=function(t){return String(t).replace(St,".").toLowerCase()},Ct=_t.data={},jt=_t.NATIVE="N",Et=_t.POLYFILL="P",Tt=_t,Pt=T.f,xt=Array.isArray||function(t){return"Array"==h(t)},Mt=function(t){return Object(b(t))},kt=function(t,e,n){var r=w(e);r in t?M.f(t,r,p(0,n)):t[r]=n},At=!!Object.getOwnPropertySymbols&&!u((function(){return!String(Symbol())})),Ft=At&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,It=z("wks"),Rt=c.Symbol,Nt=Ft?Rt:Rt&&Rt.withoutSetter||U,$t=function(t){return _(It,t)||(At&&_(Rt,t)?It[t]=Rt[t]:It[t]=Nt("Symbol."+t)),It[t]},Bt=$t("species"),Lt=function(t,e){var n;return xt(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!xt(n.prototype)?m(n)&&null===(n=n[Bt])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},Dt=ct("navigator","userAgent")||"",Wt=c.process,zt=Wt&&Wt.versions,Vt=zt&&zt.v8;Vt?et=(tt=Vt.split("."))[0]+tt[1]:Dt&&(!(tt=Dt.match(/Edge\/(\d+)/))||tt[1]>=74)&&(tt=Dt.match(/Chrome\/(\d+)/))&&(et=tt[1]);var Gt,Ut=et&&+et,Xt=$t("species"),qt=$t("isConcatSpreadable"),Kt=Ut>=51||!u((function(){var t=[];return t[qt]=!1,t.concat()[0]!==t})),Yt=(Gt="concat",Ut>=51||!u((function(){var t=[];return(t.constructor={})[Xt]=function(){return{foo:1}},1!==t[Gt](Boolean).foo}))),Ht=function(t){if(!m(t))return!1;var e=t[qt];return void 0!==e?!!e:xt(t)};function Jt(t,e,n,r,o,i,c,u,a,f){"boolean"!=typeof c&&(a=u,u=c,c=!1);var s,l="function"==typeof n?n.options:n;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,o&&(l.functional=!0)),r&&(l._scopeId=r),i?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,a(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},l._ssrRegister=s):e&&(s=c?function(t){e.call(this,f(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,u(t))}),s)if(l.functional){var p=l.render;l.render=function(t,e){return s.call(e),p(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,s):[s]}return n}!function(t,e){var n,r,o,i,u,a=t.target,f=t.global,s=t.stat;if(n=f?c:s?c[a]||A(a,{}):(c[a]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(u=Pt(n,r))&&u.value:n[r],!Tt(f?r:a+(s?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;wt(i,o)}(t.sham||o&&o.sham)&&k(i,"sham",!0),rt(n,r,i,t)}}({target:"Array",proto:!0,forced:!Kt||!Yt},{concat:function(t){var e,n,r,o,i,c=Mt(this),u=Lt(c,0),a=0;for(e=-1,r=arguments.length;e<r;e++)if(Ht(i=-1===e?c:arguments[e])){if(a+(o=lt(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,a++)n in i&&kt(u,a,i[n])}else{if(a>=9007199254740991)throw TypeError("Maximum allowed index exceeded");kt(u,a++,i)}return u.length=a,u}});var Qt=n,Zt=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"bp-widget bp-actionsheet",class:this.tabletClass,on:{click:this.onClickMask}},[e("div",{staticClass:"bp-widget__content"},[e("div",{staticClass:"bp-widget__contentWrap"},[e("div",{staticClass:"bp-actionsheet__main",class:this.pageClass,style:this.pageStyle,on:{click:function(t){t.stopPropagation()}}},[this._t("default")],2)])])])};Zt._withStripped=!0;var te={bpActionsheet:Jt({render:Zt,staticRenderFns:[]},void 0,Qt,void 0,!1,void 0,!1,void 0,void 0,void 0)};export default te; |
/*! | ||
* bpui actionsheet v0.1.17 | ||
* bpui actionsheet v0.1.18 | ||
* Copyright (c) 2021 Copyright bpoint.lee@live.com All Rights Reserved. | ||
@@ -8,6 +8,6 @@ * Released under the MIT License. | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@bpui/dialog')) : | ||
typeof define === 'function' && define.amd ? define(['@bpui/dialog'], factory) : | ||
(global = global || self, global.bpActionsheet = factory(global.bpDialog)); | ||
}(this, (function (bpDialog) { 'use strict'; | ||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@bpui/dialog'), require('febs-browser')) : | ||
typeof define === 'function' && define.amd ? define(['@bpui/dialog', 'febs-browser'], factory) : | ||
(global = global || self, global.bpActionsheet = factory(global.bpDialog, global.febs)); | ||
}(this, (function (bpDialog, febs) { 'use strict'; | ||
@@ -34,10 +34,32 @@ bpDialog = bpDialog && Object.prototype.hasOwnProperty.call(bpDialog, 'default') ? bpDialog['default'] : bpDialog; | ||
type: Boolean | ||
}, | ||
forcePhoneStyle: { | ||
"default": false, | ||
type: Boolean | String, | ||
validator: function validator(value) { | ||
return typeof value === 'boolean' || value === 'true' || value === 'false'; | ||
} | ||
}, | ||
appendToBody: { | ||
"default": true, | ||
type: Boolean | String, | ||
validator: function validator(value) { | ||
return typeof value === 'boolean' || value === 'true' || value === 'false'; | ||
} | ||
} | ||
}, | ||
data: function data() { | ||
return {}; | ||
return { | ||
tabletClass: null | ||
}; | ||
}, | ||
watch: {}, | ||
created: function created() {}, | ||
beforeMount: function beforeMount() {}, | ||
beforeMount: function beforeMount() { | ||
var forcePhoneStyle = this.forcePhoneStyle === true || this.forcePhoneStyle === 'true'; | ||
if (!febs.utils.browserIsPhone() && !forcePhoneStyle) { | ||
this.tabletClass = 'bp-actionsheet__tablet'; | ||
} | ||
}, | ||
beforeDestroy: function beforeDestroy() {}, | ||
@@ -816,2 +838,3 @@ mounted: function mounted() {}, | ||
staticClass: "bp-widget bp-actionsheet", | ||
"class": _vm.tabletClass, | ||
on: { | ||
@@ -818,0 +841,0 @@ click: _vm.onClickMask |
/*! | ||
* bpui actionsheet v0.1.17 | ||
* bpui actionsheet v0.1.18 | ||
* Copyright (c) 2021 Copyright bpoint.lee@live.com All Rights Reserved. | ||
* Released under the MIT License. | ||
*/ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("@bpui/dialog")):"function"==typeof define&&define.amd?define(["@bpui/dialog"],e):(t=t||self).bpActionsheet=e(t.bpDialog)}(this,(function(t){"use strict";var e={mixins:[(t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t).bpWidget],components:{},props:{maskClose:{default:!0,type:Boolean},preventEvent:{default:!0,type:Boolean}},data:function(){return{}},watch:{},created:function(){},beforeMount:function(){},beforeDestroy:function(){},mounted:function(){},methods:{onClickMask:function(){var t=this;this.maskClose&&this.hide().then(function(e){!function(t,e){if(t!==e)throw new TypeError("Cannot instantiate an arrow function")}(this,t)}.bind(this))}}},n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t,e){return t(e={exports:{}},e.exports),e.exports}var o=function(t){return t&&t.Math==Math&&t},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof n&&n)||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},u=!c((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),f={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,s={f:a&&!f.call({1:2},1)?function(t){var e=a(this,t);return!!e&&e.enumerable}:f},l=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},p={}.toString,d=function(t){return p.call(t).slice(8,-1)},h="".split,y=c((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==d(t)?h.call(t,""):Object(t)}:Object,v=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},g=function(t){return y(v(t))},b=function(t){return"object"==typeof t?null!==t:"function"==typeof t},m=function(t,e){if(!b(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!b(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!b(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!b(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},w={}.hasOwnProperty,_=function(t,e){return w.call(t,e)},S=i.document,O=b(S)&&b(S.createElement),j=!u&&!c((function(){return 7!=Object.defineProperty((t="div",O?S.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),C=Object.getOwnPropertyDescriptor,E={f:u?C:function(t,e){if(t=g(t),e=m(e,!0),j)try{return C(t,e)}catch(t){}if(_(t,e))return l(!s.f.call(t,e),t[e])}},x=function(t){if(!b(t))throw TypeError(String(t)+" is not an object");return t},T=Object.defineProperty,P={f:u?T:function(t,e,n){if(x(t),e=m(e,!0),x(n),j)try{return T(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},M=u?function(t,e,n){return P.f(t,e,l(1,n))}:function(t,e,n){return t[e]=n,t},k=function(t,e){try{M(i,t,e)}catch(n){i[t]=e}return e},A=i["__core-js_shared__"]||k("__core-js_shared__",{}),F=Function.toString;"function"!=typeof A.inspectSource&&(A.inspectSource=function(t){return F.call(t)});var R,I,N,$,D=A.inspectSource,L=i.WeakMap,W="function"==typeof L&&/native code/.test(D(L)),z=r((function(t){(t.exports=function(t,e){return A[t]||(A[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),B=0,V=Math.random(),q=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++B+V).toString(36)},G=z("keys"),U={},X=i.WeakMap;if(W){var K=new X,Y=K.get,H=K.has,J=K.set;R=function(t,e){return J.call(K,t,e),e},I=function(t){return Y.call(K,t)||{}},N=function(t){return H.call(K,t)}}else{var Q=G[$="state"]||(G[$]=q($));U[Q]=!0,R=function(t,e){return M(t,Q,e),e},I=function(t){return _(t,Q)?t[Q]:{}},N=function(t){return _(t,Q)}}var Z,tt,et={set:R,get:I,has:N,enforce:function(t){return N(t)?I(t):R(t,{})},getterFor:function(t){return function(e){var n;if(!b(e)||(n=I(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},nt=r((function(t){var e=et.get,n=et.enforce,r=String(String).split("String");(t.exports=function(t,e,o,c){var u=!!c&&!!c.unsafe,f=!!c&&!!c.enumerable,a=!!c&&!!c.noTargetGet;"function"==typeof o&&("string"!=typeof e||_(o,"name")||M(o,"name",e),n(o).source=r.join("string"==typeof e?e:"")),t!==i?(u?!a&&t[e]&&(f=!0):delete t[e],f?t[e]=o:M(t,e,o)):f?t[e]=o:k(e,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||D(this)}))})),rt=i,ot=function(t){return"function"==typeof t?t:void 0},it=function(t,e){return arguments.length<2?ot(rt[t])||ot(i[t]):rt[t]&&rt[t][e]||i[t]&&i[t][e]},ct=Math.ceil,ut=Math.floor,ft=function(t){return isNaN(t=+t)?0:(t>0?ut:ct)(t)},at=Math.min,st=function(t){return t>0?at(ft(t),9007199254740991):0},lt=Math.max,pt=Math.min,dt=function(t){return function(e,n,r){var o,i=g(e),c=st(i.length),u=function(t,e){var n=ft(t);return n<0?lt(n+e,0):pt(n,e)}(r,c);if(t&&n!=n){for(;c>u;)if((o=i[u++])!=o)return!0}else for(;c>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},ht={includes:dt(!0),indexOf:dt(!1)}.indexOf,yt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),vt={f:Object.getOwnPropertyNames||function(t){return function(t,e){var n,r=g(t),o=0,i=[];for(n in r)!_(U,n)&&_(r,n)&&i.push(n);for(;e.length>o;)_(r,n=e[o++])&&(~ht(i,n)||i.push(n));return i}(t,yt)}},gt={f:Object.getOwnPropertySymbols},bt=it("Reflect","ownKeys")||function(t){var e=vt.f(x(t)),n=gt.f;return n?e.concat(n(t)):e},mt=function(t,e){for(var n=bt(e),r=P.f,o=E.f,i=0;i<n.length;i++){var c=n[i];_(t,c)||r(t,c,o(e,c))}},wt=/#|\.prototype\./,_t=function(t,e){var n=Ot[St(t)];return n==Ct||n!=jt&&("function"==typeof e?c(e):!!e)},St=_t.normalize=function(t){return String(t).replace(wt,".").toLowerCase()},Ot=_t.data={},jt=_t.NATIVE="N",Ct=_t.POLYFILL="P",Et=_t,xt=E.f,Tt=Array.isArray||function(t){return"Array"==d(t)},Pt=function(t){return Object(v(t))},Mt=function(t,e,n){var r=m(e);r in t?P.f(t,r,l(0,n)):t[r]=n},kt=!!Object.getOwnPropertySymbols&&!c((function(){return!String(Symbol())})),At=kt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ft=z("wks"),Rt=i.Symbol,It=At?Rt:Rt&&Rt.withoutSetter||q,Nt=function(t){return _(Ft,t)||(kt&&_(Rt,t)?Ft[t]=Rt[t]:Ft[t]=It("Symbol."+t)),Ft[t]},$t=Nt("species"),Dt=function(t,e){var n;return Tt(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Tt(n.prototype)?b(n)&&null===(n=n[$t])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},Lt=it("navigator","userAgent")||"",Wt=i.process,zt=Wt&&Wt.versions,Bt=zt&&zt.v8;Bt?tt=(Z=Bt.split("."))[0]+Z[1]:Lt&&(!(Z=Lt.match(/Edge\/(\d+)/))||Z[1]>=74)&&(Z=Lt.match(/Chrome\/(\d+)/))&&(tt=Z[1]);var Vt,qt=tt&&+tt,Gt=Nt("species"),Ut=Nt("isConcatSpreadable"),Xt=qt>=51||!c((function(){var t=[];return t[Ut]=!1,t.concat()[0]!==t})),Kt=(Vt="concat",qt>=51||!c((function(){var t=[];return(t.constructor={})[Gt]=function(){return{foo:1}},1!==t[Vt](Boolean).foo}))),Yt=function(t){if(!b(t))return!1;var e=t[Ut];return void 0!==e?!!e:Tt(t)};function Ht(t,e,n,r,o,i,c,u,f,a){"boolean"!=typeof c&&(f=u,u=c,c=!1);var s,l="function"==typeof n?n.options:n;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,o&&(l.functional=!0)),r&&(l._scopeId=r),i?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,f(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},l._ssrRegister=s):e&&(s=c?function(t){e.call(this,a(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,u(t))}),s)if(l.functional){var p=l.render;l.render=function(t,e){return s.call(e),p(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,s):[s]}return n}!function(t,e){var n,r,o,c,u,f=t.target,a=t.global,s=t.stat;if(n=a?i:s?i[f]||k(f,{}):(i[f]||{}).prototype)for(r in e){if(c=e[r],o=t.noTargetGet?(u=xt(n,r))&&u.value:n[r],!Et(a?r:f+(s?".":"#")+r,t.forced)&&void 0!==o){if(typeof c==typeof o)continue;mt(c,o)}(t.sham||o&&o.sham)&&M(c,"sham",!0),nt(n,r,c,t)}}({target:"Array",proto:!0,forced:!Xt||!Kt},{concat:function(t){var e,n,r,o,i,c=Pt(this),u=Dt(c,0),f=0;for(e=-1,r=arguments.length;e<r;e++)if(Yt(i=-1===e?c:arguments[e])){if(f+(o=st(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,f++)n in i&&Mt(u,f,i[n])}else{if(f>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Mt(u,f++,i)}return u.length=f,u}});var Jt=e,Qt=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"bp-widget bp-actionsheet",on:{click:this.onClickMask}},[e("div",{staticClass:"bp-widget__content"},[e("div",{staticClass:"bp-widget__contentWrap"},[e("div",{staticClass:"bp-actionsheet__main",class:this.pageClass,style:this.pageStyle,on:{click:function(t){t.stopPropagation()}}},[this._t("default")],2)])])])};Qt._withStripped=!0;return{bpActionsheet:Ht({render:Qt,staticRenderFns:[]},void 0,Jt,void 0,!1,void 0,!1,void 0,void 0,void 0)}})); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("@bpui/dialog"),require("febs-browser")):"function"==typeof define&&define.amd?define(["@bpui/dialog","febs-browser"],e):(t=t||self).bpActionsheet=e(t.bpDialog,t.febs)}(this,(function(t,e){"use strict";var n={mixins:[(t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t).bpWidget],components:{},props:{maskClose:{default:!0,type:Boolean},preventEvent:{default:!0,type:Boolean},forcePhoneStyle:{default:!1,type:Boolean|String,validator:function(t){return"boolean"==typeof t||"true"===t||"false"===t}},appendToBody:{default:!0,type:Boolean|String,validator:function(t){return"boolean"==typeof t||"true"===t||"false"===t}}},data:function(){return{tabletClass:null}},watch:{},created:function(){},beforeMount:function(){var t=!0===this.forcePhoneStyle||"true"===this.forcePhoneStyle;e.utils.browserIsPhone()||t||(this.tabletClass="bp-actionsheet__tablet")},beforeDestroy:function(){},mounted:function(){},methods:{onClickMask:function(){var t=this;this.maskClose&&this.hide().then(function(e){!function(t,e){if(t!==e)throw new TypeError("Cannot instantiate an arrow function")}(this,t)}.bind(this))}}},r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(t,e){return t(e={exports:{}},e.exports),e.exports}var i=function(t){return t&&t.Math==Math&&t},u=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof r&&r)||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},a=!c((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),f={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,l={f:s&&!f.call({1:2},1)?function(t){var e=s(this,t);return!!e&&e.enumerable}:f},p=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},d={}.toString,h=function(t){return d.call(t).slice(8,-1)},y="".split,b=c((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==h(t)?y.call(t,""):Object(t)}:Object,v=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},g=function(t){return b(v(t))},m=function(t){return"object"==typeof t?null!==t:"function"==typeof t},w=function(t,e){if(!m(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!m(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!m(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!m(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},S={}.hasOwnProperty,_=function(t,e){return S.call(t,e)},O=u.document,C=m(O)&&m(O.createElement),j=!a&&!c((function(){return 7!=Object.defineProperty((t="div",C?O.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),E=Object.getOwnPropertyDescriptor,P={f:a?E:function(t,e){if(t=g(t),e=w(e,!0),j)try{return E(t,e)}catch(t){}if(_(t,e))return p(!l.f.call(t,e),t[e])}},T=function(t){if(!m(t))throw TypeError(String(t)+" is not an object");return t},x=Object.defineProperty,M={f:a?x:function(t,e,n){if(T(t),e=w(e,!0),T(n),j)try{return x(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},k=a?function(t,e,n){return M.f(t,e,p(1,n))}:function(t,e,n){return t[e]=n,t},A=function(t,e){try{k(u,t,e)}catch(n){u[t]=e}return e},F=u["__core-js_shared__"]||A("__core-js_shared__",{}),I=Function.toString;"function"!=typeof F.inspectSource&&(F.inspectSource=function(t){return I.call(t)});var R,N,$,B,D=F.inspectSource,L=u.WeakMap,W="function"==typeof L&&/native code/.test(D(L)),q=o((function(t){(t.exports=function(t,e){return F[t]||(F[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),z=0,V=Math.random(),G=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++z+V).toString(36)},U=q("keys"),X={},K=u.WeakMap;if(W){var Y=new K,H=Y.get,J=Y.has,Q=Y.set;R=function(t,e){return Q.call(Y,t,e),e},N=function(t){return H.call(Y,t)||{}},$=function(t){return J.call(Y,t)}}else{var Z=U[B="state"]||(U[B]=G(B));X[Z]=!0,R=function(t,e){return k(t,Z,e),e},N=function(t){return _(t,Z)?t[Z]:{}},$=function(t){return _(t,Z)}}var tt,et,nt={set:R,get:N,has:$,enforce:function(t){return $(t)?N(t):R(t,{})},getterFor:function(t){return function(e){var n;if(!m(e)||(n=N(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},rt=o((function(t){var e=nt.get,n=nt.enforce,r=String(String).split("String");(t.exports=function(t,e,o,i){var c=!!i&&!!i.unsafe,a=!!i&&!!i.enumerable,f=!!i&&!!i.noTargetGet;"function"==typeof o&&("string"!=typeof e||_(o,"name")||k(o,"name",e),n(o).source=r.join("string"==typeof e?e:"")),t!==u?(c?!f&&t[e]&&(a=!0):delete t[e],a?t[e]=o:k(t,e,o)):a?t[e]=o:A(e,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||D(this)}))})),ot=u,it=function(t){return"function"==typeof t?t:void 0},ut=function(t,e){return arguments.length<2?it(ot[t])||it(u[t]):ot[t]&&ot[t][e]||u[t]&&u[t][e]},ct=Math.ceil,at=Math.floor,ft=function(t){return isNaN(t=+t)?0:(t>0?at:ct)(t)},st=Math.min,lt=function(t){return t>0?st(ft(t),9007199254740991):0},pt=Math.max,dt=Math.min,ht=function(t){return function(e,n,r){var o,i=g(e),u=lt(i.length),c=function(t,e){var n=ft(t);return n<0?pt(n+e,0):dt(n,e)}(r,u);if(t&&n!=n){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}},yt={includes:ht(!0),indexOf:ht(!1)}.indexOf,bt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),vt={f:Object.getOwnPropertyNames||function(t){return function(t,e){var n,r=g(t),o=0,i=[];for(n in r)!_(X,n)&&_(r,n)&&i.push(n);for(;e.length>o;)_(r,n=e[o++])&&(~yt(i,n)||i.push(n));return i}(t,bt)}},gt={f:Object.getOwnPropertySymbols},mt=ut("Reflect","ownKeys")||function(t){var e=vt.f(T(t)),n=gt.f;return n?e.concat(n(t)):e},wt=function(t,e){for(var n=mt(e),r=M.f,o=P.f,i=0;i<n.length;i++){var u=n[i];_(t,u)||r(t,u,o(e,u))}},St=/#|\.prototype\./,_t=function(t,e){var n=Ct[Ot(t)];return n==Et||n!=jt&&("function"==typeof e?c(e):!!e)},Ot=_t.normalize=function(t){return String(t).replace(St,".").toLowerCase()},Ct=_t.data={},jt=_t.NATIVE="N",Et=_t.POLYFILL="P",Pt=_t,Tt=P.f,xt=Array.isArray||function(t){return"Array"==h(t)},Mt=function(t){return Object(v(t))},kt=function(t,e,n){var r=w(e);r in t?M.f(t,r,p(0,n)):t[r]=n},At=!!Object.getOwnPropertySymbols&&!c((function(){return!String(Symbol())})),Ft=At&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,It=q("wks"),Rt=u.Symbol,Nt=Ft?Rt:Rt&&Rt.withoutSetter||G,$t=function(t){return _(It,t)||(At&&_(Rt,t)?It[t]=Rt[t]:It[t]=Nt("Symbol."+t)),It[t]},Bt=$t("species"),Dt=function(t,e){var n;return xt(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!xt(n.prototype)?m(n)&&null===(n=n[Bt])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},Lt=ut("navigator","userAgent")||"",Wt=u.process,qt=Wt&&Wt.versions,zt=qt&&qt.v8;zt?et=(tt=zt.split("."))[0]+tt[1]:Lt&&(!(tt=Lt.match(/Edge\/(\d+)/))||tt[1]>=74)&&(tt=Lt.match(/Chrome\/(\d+)/))&&(et=tt[1]);var Vt,Gt=et&&+et,Ut=$t("species"),Xt=$t("isConcatSpreadable"),Kt=Gt>=51||!c((function(){var t=[];return t[Xt]=!1,t.concat()[0]!==t})),Yt=(Vt="concat",Gt>=51||!c((function(){var t=[];return(t.constructor={})[Ut]=function(){return{foo:1}},1!==t[Vt](Boolean).foo}))),Ht=function(t){if(!m(t))return!1;var e=t[Xt];return void 0!==e?!!e:xt(t)};function Jt(t,e,n,r,o,i,u,c,a,f){"boolean"!=typeof u&&(a=c,c=u,u=!1);var s,l="function"==typeof n?n.options:n;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,o&&(l.functional=!0)),r&&(l._scopeId=r),i?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,a(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},l._ssrRegister=s):e&&(s=u?function(t){e.call(this,f(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,c(t))}),s)if(l.functional){var p=l.render;l.render=function(t,e){return s.call(e),p(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,s):[s]}return n}!function(t,e){var n,r,o,i,c,a=t.target,f=t.global,s=t.stat;if(n=f?u:s?u[a]||A(a,{}):(u[a]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(c=Tt(n,r))&&c.value:n[r],!Pt(f?r:a+(s?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;wt(i,o)}(t.sham||o&&o.sham)&&k(i,"sham",!0),rt(n,r,i,t)}}({target:"Array",proto:!0,forced:!Kt||!Yt},{concat:function(t){var e,n,r,o,i,u=Mt(this),c=Dt(u,0),a=0;for(e=-1,r=arguments.length;e<r;e++)if(Ht(i=-1===e?u:arguments[e])){if(a+(o=lt(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,a++)n in i&&kt(c,a,i[n])}else{if(a>=9007199254740991)throw TypeError("Maximum allowed index exceeded");kt(c,a++,i)}return c.length=a,c}});var Qt=n,Zt=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"bp-widget bp-actionsheet",class:this.tabletClass,on:{click:this.onClickMask}},[e("div",{staticClass:"bp-widget__content"},[e("div",{staticClass:"bp-widget__contentWrap"},[e("div",{staticClass:"bp-actionsheet__main",class:this.pageClass,style:this.pageStyle,on:{click:function(t){t.stopPropagation()}}},[this._t("default")],2)])])])};Zt._withStripped=!0;return{bpActionsheet:Jt({render:Zt,staticRenderFns:[]},void 0,Qt,void 0,!1,void 0,!1,void 0,void 0,void 0)}})); |
{ | ||
"description": "actionSheet", | ||
"dependencies": { | ||
"@bpui/dialog": "^0.1.31", | ||
"@bpui/dialog": "^0.1.33", | ||
"@bpui/libs": "^0.2.21" | ||
@@ -38,3 +38,3 @@ }, | ||
"name": "@bpui/actionsheet", | ||
"version": "0.1.17" | ||
"version": "0.1.18" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
356817
3714
Updated@bpui/dialog@^0.1.33