Initial commit to Gitea

This commit is contained in:
root
2026-05-04 00:43:20 +08:00
parent 1e0b2b125b
commit d76c7d5eac
422 changed files with 5233 additions and 1514 deletions
@@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/hqs-popup/hqs-popup"],{954:function(t,n,e){"use strict";e.r(n);var o=e(955),i=e(957);for(var s in i)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(s);e(959);var r,u=e(46),c=Object(u["default"])(i["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],r);c.options.__file="components/hqs-popup/hqs-popup.vue",n["default"]=c.exports},955:function(t,n,e){"use strict";e.r(n);var o=e(956);e.d(n,"render",(function(){return o["render"]})),e.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),e.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),e.d(n,"components",(function(){return o["components"]}))},956:function(t,n,e){"use strict";var o;e.r(n),e.d(n,"render",(function(){return i})),e.d(n,"staticRenderFns",(function(){return r})),e.d(n,"recyclableRender",(function(){return s})),e.d(n,"components",(function(){return o}));try{o={uniPopup:function(){return e.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(e.bind(null,593))},uIcon:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uview-ui/components/u-icon/u-icon")]).then(e.bind(null,825))}}}catch(u){if(-1===u.message.indexOf("Cannot find module")||-1===u.message.indexOf(".vue"))throw u;console.error(u.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var i=function(){var t=this,n=t.$createElement;t._self._c},s=!1,r=[];i._withStripped=!0},957:function(t,n,e){"use strict";e.r(n);var o=e(958),i=e.n(o);for(var s in o)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(s);n["default"]=i.a},958:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){e.e("components/hqs-popup/uni-popup").then(function(){return resolve(e(1190))}.bind(null,e)).catch(e.oe)},i={components:{UniPopup:o},props:{value:Boolean,from:{type:String,default:"bottom"},round:{type:Number,default:10},width:{type:String,default:"60vw"},height:{type:String,default:"50vh"},showHeader:{type:Boolean,default:!0},title:String,showBack:Boolean,showClose:{type:[Boolean,String],default:!0},maskClick:{type:Boolean,default:!0}},data:function(){return{scrollTop:0,panStyle:"",showPopup:!1}},computed:{closeIcon:function(){return"string"==typeof this.showClose&&this.showClose},isVertical:function(){return["bottom","top"].includes(this.from)},conStyle:function(){var t=this.panStyle||"",n=this.round;return n>0&&(n+="px",n="bottom"==this.from?[n,n,0,0]:"left"==this.from?[0,n,n,0]:"right"==this.from?[n,0,0,n]:[0,0,n,n],t+="border-radius: ".concat(n.join(" "),";")),t}},watch:{value:function(t){t!=this.showPopup&&(t?this.open():this.close())},showPopup:function(t){this.$emit("input",t)}},mounted:function(){this.value&&this.open()},methods:{onScroll:function(t){this.scrollTop=t.detail.scrollTop},onTouch:function(t){var n=this,e=t.changedTouches[0]||t,o=e.pageX,i=e.pageY;if(["touchstart","mousedown"].includes(t.type))this.startX=o,this.startY=i,this.startTime=t.timeStamp;else{if(!this.startTime)return;var s=this.isVertical?"Y":"X",r=i-this.startY;"left"==this.from?r=this.startX-o:"right"==this.from?r=o-this.startX:"top"==this.from&&(r=-r),this.maskClick||(r/=3);var u=t.timeStamp-this.startTime,c=r/u;if(["touchend","mouseup"].includes(t.type))return this.panStyle&&(this.maskClick&&(r>120||c>.25)?this.close():this.panStyle="transform: translate".concat(s,"(0); transition: all ease 200ms;"),setTimeout((function(){n.panStyle=""}),300)),void(this.startTime=0);r>0&&("left"!=this.from&&"top"!=this.from||(r*=-1),this.panStyle="transform: translate".concat(s,"(").concat(r,"px); transition: none;"))}},onChange:function(t){var n=t.show;this.showPopup=n},open:function(){this.$refs.popup.open(),this.showPopup=!0},close:function(){this.$refs.popup.close(),this.showPopup=!1},onBack:function(){this.$emit("back")}}};n.default=i},959:function(t,n,e){"use strict";e.r(n);var o=e(960),i=e.n(o);for(var s in o)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(s);n["default"]=i.a},960:function(t,n,e){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/hqs-popup/hqs-popup"],{894:function(t,n,e){"use strict";e.r(n);var o=e(895),i=e(897);for(var s in i)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(s);e(899);var r,u=e(46),c=Object(u["default"])(i["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],r);c.options.__file="components/hqs-popup/hqs-popup.vue",n["default"]=c.exports},895:function(t,n,e){"use strict";e.r(n);var o=e(896);e.d(n,"render",(function(){return o["render"]})),e.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),e.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),e.d(n,"components",(function(){return o["components"]}))},896:function(t,n,e){"use strict";var o;e.r(n),e.d(n,"render",(function(){return i})),e.d(n,"staticRenderFns",(function(){return r})),e.d(n,"recyclableRender",(function(){return s})),e.d(n,"components",(function(){return o}));try{o={uniPopup:function(){return e.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(e.bind(null,578))},uIcon:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uview-ui/components/u-icon/u-icon")]).then(e.bind(null,811))}}}catch(u){if(-1===u.message.indexOf("Cannot find module")||-1===u.message.indexOf(".vue"))throw u;console.error(u.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var i=function(){var t=this,n=t.$createElement;t._self._c},s=!1,r=[];i._withStripped=!0},897:function(t,n,e){"use strict";e.r(n);var o=e(898),i=e.n(o);for(var s in o)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(s);n["default"]=i.a},898:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){e.e("components/hqs-popup/uni-popup").then(function(){return resolve(e(1128))}.bind(null,e)).catch(e.oe)},i={components:{UniPopup:o},props:{value:Boolean,from:{type:String,default:"bottom"},round:{type:Number,default:10},width:{type:String,default:"60vw"},height:{type:String,default:"50vh"},showHeader:{type:Boolean,default:!0},title:String,showBack:Boolean,showClose:{type:[Boolean,String],default:!0},maskClick:{type:Boolean,default:!0}},data:function(){return{scrollTop:0,panStyle:"",showPopup:!1}},computed:{closeIcon:function(){return"string"==typeof this.showClose&&this.showClose},isVertical:function(){return["bottom","top"].includes(this.from)},conStyle:function(){var t=this.panStyle||"",n=this.round;return n>0&&(n+="px",n="bottom"==this.from?[n,n,0,0]:"left"==this.from?[0,n,n,0]:"right"==this.from?[n,0,0,n]:[0,0,n,n],t+="border-radius: ".concat(n.join(" "),";")),t}},watch:{value:function(t){t!=this.showPopup&&(t?this.open():this.close())},showPopup:function(t){this.$emit("input",t)}},mounted:function(){this.value&&this.open()},methods:{onScroll:function(t){this.scrollTop=t.detail.scrollTop},onTouch:function(t){var n=this,e=t.changedTouches[0]||t,o=e.pageX,i=e.pageY;if(["touchstart","mousedown"].includes(t.type))this.startX=o,this.startY=i,this.startTime=t.timeStamp;else{if(!this.startTime)return;var s=this.isVertical?"Y":"X",r=i-this.startY;"left"==this.from?r=this.startX-o:"right"==this.from?r=o-this.startX:"top"==this.from&&(r=-r),this.maskClick||(r/=3);var u=t.timeStamp-this.startTime,c=r/u;if(["touchend","mouseup"].includes(t.type))return this.panStyle&&(this.maskClick&&(r>120||c>.25)?this.close():this.panStyle="transform: translate".concat(s,"(0); transition: all ease 200ms;"),setTimeout((function(){n.panStyle=""}),300)),void(this.startTime=0);r>0&&("left"!=this.from&&"top"!=this.from||(r*=-1),this.panStyle="transform: translate".concat(s,"(").concat(r,"px); transition: none;"))}},onChange:function(t){var n=t.show;this.showPopup=n},open:function(){this.$refs.popup.open(),this.showPopup=!0},close:function(){this.$refs.popup.close(),this.showPopup=!1},onBack:function(){this.$emit("back")}}};n.default=i},899:function(t,n,e){"use strict";e.r(n);var o=e(900),i=e.n(o);for(var s in o)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(s);n["default"]=i.a},900:function(t,n,e){}}]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/hqs-popup/hqs-popup.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/hqs-popup/hqs-popup-create-component',
{
'components/hqs-popup/hqs-popup-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('2')['createComponent'](__webpack_require__(954))
__webpack_require__('2')['createComponent'](__webpack_require__(894))
})
},
[['components/hqs-popup/hqs-popup-create-component']]
@@ -14,6 +14,13 @@
/* 颜色变量 */
/* uni.scss */
.u-line-1 {
display: -webkit-box !important;
overflow: hidden;
text-overflow: ellipsis;
@@ -22,6 +29,13 @@
-webkit-box-orient: vertical !important;
}
.u-line-2 {
display: -webkit-box !important;
overflow: hidden;
text-overflow: ellipsis;
@@ -30,6 +44,13 @@
-webkit-box-orient: vertical !important;
}
.u-line-3 {
display: -webkit-box !important;
overflow: hidden;
text-overflow: ellipsis;
@@ -38,6 +59,13 @@
-webkit-box-orient: vertical !important;
}
.u-line-4 {
display: -webkit-box !important;
overflow: hidden;
text-overflow: ellipsis;
@@ -46,6 +74,13 @@
-webkit-box-orient: vertical !important;
}
.u-line-5 {
display: -webkit-box !important;
overflow: hidden;
text-overflow: ellipsis;
@@ -88,6 +123,7 @@
.u-reset-button {
padding: 0;
background-color: transparent;
font-size: inherit;
line-height: inherit;
color: inherit;
@@ -280,7 +316,7 @@
flex-shrink: 0;
}
.hqs-popup .qs-side:active {
opacity: .8;
opacity: 0.8;
}
.hqs-popup .qs-h-scroll {
height: 100vh;
@@ -288,4 +324,3 @@
.hqs-popup .ta-r {
text-align: right;
}
@@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/hqs-popup/uni-popup"],{1190:function(t,n,e){"use strict";e.r(n);var o=e(1191),i=e(1193);for(var s in i)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(s);e(1195);var r,a=e(46),u=Object(a["default"])(i["default"],o["render"],o["staticRenderFns"],!1,null,"6aa3f584",null,!1,o["components"],r);u.options.__file="components/hqs-popup/uni-popup.vue",n["default"]=u.exports},1191:function(t,n,e){"use strict";e.r(n);var o=e(1192);e.d(n,"render",(function(){return o["render"]})),e.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),e.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),e.d(n,"components",(function(){return o["components"]}))},1192:function(t,n,e){"use strict";var o;e.r(n),e.d(n,"render",(function(){return i})),e.d(n,"staticRenderFns",(function(){return r})),e.d(n,"recyclableRender",(function(){return s})),e.d(n,"components",(function(){return o}));try{o={uniTransition:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uni-transition/components/uni-transition/uni-transition")]).then(e.bind(null,1044))}}}catch(a){if(-1===a.message.indexOf("Cannot find module")||-1===a.message.indexOf(".vue"))throw a;console.error(a.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var i=function(){var t=this,n=t.$createElement;t._self._c},s=!1,r=[];i._withStripped=!0},1193:function(t,n,e){"use strict";e.r(n);var o=e(1194),i=e.n(o);for(var s in o)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(s);n["default"]=i.a},1194:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){e.e("components/hqs-popup/uni-transition").then(function(){return resolve(e(1248))}.bind(null,e)).catch(e.oe)},i={name:"UniPopup",components:{uniTransition:o},props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},maskClick:{type:Boolean,default:!0}},data:function(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,maskClass:{position:"fixed",bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},transClass:{position:"fixed",left:0,right:0}}},watch:{type:{handler:function(t){switch(this.type){case"top":this.ani=["slide-top"],this.transClass={position:"fixed",left:0,right:0};break;case"left":this.ani=["slide-left"],this.transClass={position:"fixed",top:0,left:0,bottom:0};break;case"right":this.ani=["slide-right"],this.transClass={position:"fixed",top:0,right:0,bottom:0};break;case"bottom":this.ani=["slide-bottom"],this.transClass={position:"fixed",left:0,right:0,bottom:0};break;case"center":this.ani=["zoom-out","fade"],this.transClass={position:"fixed",display:"flex",flexDirection:"column",bottom:0,left:0,right:0,top:0,justifyContent:"center",alignItems:"center"};break}},immediate:!0}},created:function(){this.animation?this.duration=300:this.duration=0},methods:{clear:function(t){t.stopPropagation()},open:function(){var t=this;this.showPopup=!0,this.$nextTick((function(){clearTimeout(t.timer),t.timer=setTimeout((function(){t.showTrans=!0}),50)})),this.$emit("change",{show:!0})},close:function(t){var n=this;this.showTrans=!1,this.$nextTick((function(){clearTimeout(n.timer),n.timer=setTimeout((function(){n.$emit("change",{show:!1}),n.showPopup=!1}),300)}))},onTap:function(){this.maskClick&&this.close()}}};n.default=i},1195:function(t,n,e){"use strict";e.r(n);var o=e(1196),i=e.n(o);for(var s in o)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(s);n["default"]=i.a},1196:function(t,n,e){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/hqs-popup/uni-popup"],{1128:function(t,n,e){"use strict";e.r(n);var o=e(1129),i=e(1131);for(var s in i)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(s);e(1133);var r,a=e(46),u=Object(a["default"])(i["default"],o["render"],o["staticRenderFns"],!1,null,"6aa3f584",null,!1,o["components"],r);u.options.__file="components/hqs-popup/uni-popup.vue",n["default"]=u.exports},1129:function(t,n,e){"use strict";e.r(n);var o=e(1130);e.d(n,"render",(function(){return o["render"]})),e.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),e.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),e.d(n,"components",(function(){return o["components"]}))},1130:function(t,n,e){"use strict";var o;e.r(n),e.d(n,"render",(function(){return i})),e.d(n,"staticRenderFns",(function(){return r})),e.d(n,"recyclableRender",(function(){return s})),e.d(n,"components",(function(){return o}));try{o={uniTransition:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uni-transition/components/uni-transition/uni-transition")]).then(e.bind(null,1044))}}}catch(a){if(-1===a.message.indexOf("Cannot find module")||-1===a.message.indexOf(".vue"))throw a;console.error(a.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var i=function(){var t=this,n=t.$createElement;t._self._c},s=!1,r=[];i._withStripped=!0},1131:function(t,n,e){"use strict";e.r(n);var o=e(1132),i=e.n(o);for(var s in o)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(s);n["default"]=i.a},1132:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){e.e("components/hqs-popup/uni-transition").then(function(){return resolve(e(1221))}.bind(null,e)).catch(e.oe)},i={name:"UniPopup",components:{uniTransition:o},props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},maskClick:{type:Boolean,default:!0}},data:function(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,maskClass:{position:"fixed",bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},transClass:{position:"fixed",left:0,right:0}}},watch:{type:{handler:function(t){switch(this.type){case"top":this.ani=["slide-top"],this.transClass={position:"fixed",left:0,right:0};break;case"left":this.ani=["slide-left"],this.transClass={position:"fixed",top:0,left:0,bottom:0};break;case"right":this.ani=["slide-right"],this.transClass={position:"fixed",top:0,right:0,bottom:0};break;case"bottom":this.ani=["slide-bottom"],this.transClass={position:"fixed",left:0,right:0,bottom:0};break;case"center":this.ani=["zoom-out","fade"],this.transClass={position:"fixed",display:"flex",flexDirection:"column",bottom:0,left:0,right:0,top:0,justifyContent:"center",alignItems:"center"};break}},immediate:!0}},created:function(){this.animation?this.duration=300:this.duration=0},methods:{clear:function(t){t.stopPropagation()},open:function(){var t=this;this.showPopup=!0,this.$nextTick((function(){clearTimeout(t.timer),t.timer=setTimeout((function(){t.showTrans=!0}),50)})),this.$emit("change",{show:!0})},close:function(t){var n=this;this.showTrans=!1,this.$nextTick((function(){clearTimeout(n.timer),n.timer=setTimeout((function(){n.$emit("change",{show:!1}),n.showPopup=!1}),300)}))},onTap:function(){this.maskClick&&this.close()}}};n.default=i},1133:function(t,n,e){"use strict";e.r(n);var o=e(1134),i=e.n(o);for(var s in o)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(s);n["default"]=i.a},1134:function(t,n,e){}}]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/hqs-popup/uni-popup.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/hqs-popup/uni-popup-create-component',
{
'components/hqs-popup/uni-popup-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('2')['createComponent'](__webpack_require__(1190))
__webpack_require__('2')['createComponent'](__webpack_require__(1128))
})
},
[['components/hqs-popup/uni-popup-create-component']]
@@ -14,6 +14,13 @@
/* 颜色变量 */
/* uni.scss */
.u-line-1.data-v-6aa3f584 {
display: -webkit-box !important;
overflow: hidden;
text-overflow: ellipsis;
@@ -22,6 +29,13 @@
-webkit-box-orient: vertical !important;
}
.u-line-2.data-v-6aa3f584 {
display: -webkit-box !important;
overflow: hidden;
text-overflow: ellipsis;
@@ -30,6 +44,13 @@
-webkit-box-orient: vertical !important;
}
.u-line-3.data-v-6aa3f584 {
display: -webkit-box !important;
overflow: hidden;
text-overflow: ellipsis;
@@ -38,6 +59,13 @@
-webkit-box-orient: vertical !important;
}
.u-line-4.data-v-6aa3f584 {
display: -webkit-box !important;
overflow: hidden;
text-overflow: ellipsis;
@@ -46,6 +74,13 @@
-webkit-box-orient: vertical !important;
}
.u-line-5.data-v-6aa3f584 {
display: -webkit-box !important;
overflow: hidden;
text-overflow: ellipsis;
@@ -88,6 +123,7 @@
.u-reset-button.data-v-6aa3f584 {
padding: 0;
background-color: transparent;
font-size: inherit;
line-height: inherit;
color: inherit;
@@ -338,4 +374,3 @@
transform: scale(1);
opacity: 1;
}
@@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/hqs-popup/uni-transition"],{1248:function(t,n,e){"use strict";e.r(n);var r=e(1249),i=e(1251);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);e(1253);var a,s=e(46),c=Object(s["default"])(i["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],a);c.options.__file="components/hqs-popup/uni-transition.vue",n["default"]=c.exports},1249:function(t,n,e){"use strict";e.r(n);var r=e(1250);e.d(n,"render",(function(){return r["render"]})),e.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),e.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),e.d(n,"components",(function(){return r["components"]}))},1250:function(t,n,e){"use strict";var r;e.r(n),e.d(n,"render",(function(){return i})),e.d(n,"staticRenderFns",(function(){return a})),e.d(n,"recyclableRender",(function(){return o})),e.d(n,"components",(function(){return r}));var i=function(){var t=this,n=t.$createElement;t._self._c},o=!1,a=[];i._withStripped=!0},1251:function(t,n,e){"use strict";e.r(n);var r=e(1252),i=e.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(o);n["default"]=i.a},1252:function(t,n,e){"use strict";var r=e(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(11));function o(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function a(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?o(Object(e),!0).forEach((function(n){(0,i.default)(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):o(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var s={name:"uniTransition",props:{show:{type:Boolean,default:!1},modeClass:{type:Array,default:function(){return[]}},duration:{type:Number,default:300},styles:{type:Object,default:function(){return{}}}},data:function(){return{isShow:!1,transform:"",ani:{in:"",active:""}}},watch:{show:{handler:function(t){t?this.open():this.close()},immediate:!0}},computed:{stylesObject:function(){var t=a(a({},this.styles),{},{"transition-duration":this.duration/1e3+"s"}),n="";for(var e in t){var r=this.toLine(e);n+=r+":"+t[e]+";"}return n}},created:function(){},methods:{change:function(){this.$emit("click",{detail:this.isShow})},open:function(){var t=this;for(var n in clearTimeout(this.timer),this.isShow=!0,this.transform="",this.ani.in="",this.getTranfrom(!1))"opacity"===n?this.ani.in="fade-in":this.transform+="".concat(this.getTranfrom(!1)[n]," ");this.$nextTick((function(){setTimeout((function(){t._animation(!0)}),50)}))},close:function(t){clearTimeout(this.timer),this._animation(!1)},_animation:function(t){var n=this,e=this.getTranfrom(t);for(var r in this.transform="",e)"opacity"===r?this.ani.in="fade-".concat(t?"out":"in"):this.transform+="".concat(e[r]," ");this.timer=setTimeout((function(){t||(n.isShow=!1),n.$emit("change",{detail:n.isShow})}),this.duration)},getTranfrom:function(t){var n={transform:""};return this.modeClass.forEach((function(e){switch(e){case"fade":n.opacity=t?1:0;break;case"slide-top":n.transform+="translateY(".concat(t?"0":"-100%",") ");break;case"slide-right":n.transform+="translateX(".concat(t?"0":"100%",") ");break;case"slide-bottom":n.transform+="translateY(".concat(t?"0":"100%",") ");break;case"slide-left":n.transform+="translateX(".concat(t?"0":"-100%",") ");break;case"zoom-in":n.transform+="scale(".concat(t?1:.8,") ");break;case"zoom-out":n.transform+="scale(".concat(t?1:1.2,") ");break}})),n},_modeClassArr:function(t){var n=this.modeClass;if("string"!==typeof n){var e="";return n.forEach((function(n){e+=n+"-"+t+","})),e.substr(0,e.length-1)}return n+"-"+t},toLine:function(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}}};n.default=s},1253:function(t,n,e){"use strict";e.r(n);var r=e(1254),i=e.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(o);n["default"]=i.a},1254:function(t,n,e){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/hqs-popup/uni-transition"],{1221:function(t,n,e){"use strict";e.r(n);var r=e(1222),i=e(1224);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);e(1226);var a,s=e(46),c=Object(s["default"])(i["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],a);c.options.__file="components/hqs-popup/uni-transition.vue",n["default"]=c.exports},1222:function(t,n,e){"use strict";e.r(n);var r=e(1223);e.d(n,"render",(function(){return r["render"]})),e.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),e.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),e.d(n,"components",(function(){return r["components"]}))},1223:function(t,n,e){"use strict";var r;e.r(n),e.d(n,"render",(function(){return i})),e.d(n,"staticRenderFns",(function(){return a})),e.d(n,"recyclableRender",(function(){return o})),e.d(n,"components",(function(){return r}));var i=function(){var t=this,n=t.$createElement;t._self._c},o=!1,a=[];i._withStripped=!0},1224:function(t,n,e){"use strict";e.r(n);var r=e(1225),i=e.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(o);n["default"]=i.a},1225:function(t,n,e){"use strict";var r=e(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(11));function o(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function a(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?o(Object(e),!0).forEach((function(n){(0,i.default)(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):o(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var s={name:"uniTransition",props:{show:{type:Boolean,default:!1},modeClass:{type:Array,default:function(){return[]}},duration:{type:Number,default:300},styles:{type:Object,default:function(){return{}}}},data:function(){return{isShow:!1,transform:"",ani:{in:"",active:""}}},watch:{show:{handler:function(t){t?this.open():this.close()},immediate:!0}},computed:{stylesObject:function(){var t=a(a({},this.styles),{},{"transition-duration":this.duration/1e3+"s"}),n="";for(var e in t){var r=this.toLine(e);n+=r+":"+t[e]+";"}return n}},created:function(){},methods:{change:function(){this.$emit("click",{detail:this.isShow})},open:function(){var t=this;for(var n in clearTimeout(this.timer),this.isShow=!0,this.transform="",this.ani.in="",this.getTranfrom(!1))"opacity"===n?this.ani.in="fade-in":this.transform+="".concat(this.getTranfrom(!1)[n]," ");this.$nextTick((function(){setTimeout((function(){t._animation(!0)}),50)}))},close:function(t){clearTimeout(this.timer),this._animation(!1)},_animation:function(t){var n=this,e=this.getTranfrom(t);for(var r in this.transform="",e)"opacity"===r?this.ani.in="fade-".concat(t?"out":"in"):this.transform+="".concat(e[r]," ");this.timer=setTimeout((function(){t||(n.isShow=!1),n.$emit("change",{detail:n.isShow})}),this.duration)},getTranfrom:function(t){var n={transform:""};return this.modeClass.forEach((function(e){switch(e){case"fade":n.opacity=t?1:0;break;case"slide-top":n.transform+="translateY(".concat(t?"0":"-100%",") ");break;case"slide-right":n.transform+="translateX(".concat(t?"0":"100%",") ");break;case"slide-bottom":n.transform+="translateY(".concat(t?"0":"100%",") ");break;case"slide-left":n.transform+="translateX(".concat(t?"0":"-100%",") ");break;case"zoom-in":n.transform+="scale(".concat(t?1:.8,") ");break;case"zoom-out":n.transform+="scale(".concat(t?1:1.2,") ");break}})),n},_modeClassArr:function(t){var n=this.modeClass;if("string"!==typeof n){var e="";return n.forEach((function(n){e+=n+"-"+t+","})),e.substr(0,e.length-1)}return n+"-"+t},toLine:function(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}}};n.default=s},1226:function(t,n,e){"use strict";e.r(n);var r=e(1227),i=e.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(o);n["default"]=i.a},1227:function(t,n,e){}}]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/hqs-popup/uni-transition.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/hqs-popup/uni-transition-create-component',
{
'components/hqs-popup/uni-transition-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('2')['createComponent'](__webpack_require__(1248))
__webpack_require__('2')['createComponent'](__webpack_require__(1221))
})
},
[['components/hqs-popup/uni-transition-create-component']]
@@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
"usingComponents": {},
"component": true
}