feat: add elevator-front, alarm-front, front_acs decompiled sources

Former-commit-id: 227ec9664fa803a11a731cf5336437c497f17066
This commit is contained in:
反编译工作区
2026-04-29 12:50:14 +08:00
parent ee9c0aa26d
commit 86fc4eb695
551 changed files with 995 additions and 0 deletions
@@ -0,0 +1 @@
"132:function(e,t,i){\"use strict\";i.r(t);var n=i(16),s=i(38),r=i.n(s),a=i(3),o=i(2),l={vertical:{offset:\"offsetHeight\",scroll:\"scrollTop\",scrollSize:\"scrollHeight\",size:\"height\",key:\"vertical\",axis:\"Y\",client:\"clientY\",direction:\"top\"},horizontal:{offset:\"offsetWidth\",scroll:\"scrollLeft\",scrollSize:\"scrollWidth\",size:\"width\",key:\"horizontal\",axis:\"X\",client:\"clientX\",direction:\"left\"}};function c(e){var t=e.move,i=e.size,n=e.bar,s={},r=\"translate\"+n.axis+\"(\"+t+\"%)\";return s[n.size]=i,s.transform=r,s.msTransform=r,s.webkitTransform=r,s}var u={name:\"Bar\",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return l[this.vertical?\"vertical\":\"horizontal\"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t=this.size,i=this.move,n=this.bar;return e(\"div\",{class:[\"el-scrollbar__bar\",\"is-\"+n.key],on:{mousedown:this.clickTrackHandler}},[e(\"div\",{ref:\"thumb\",class:\"el-scrollbar__thumb\",on:{mousedown:this.clickThumbHandler},style:c({size:t,move:i,bar:n})})])},methods:{clickThumbHandler:function(e){e.ctrlKey||2===e.button||(this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(e){var t=Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),i=this.$refs.thumb[this.bar.offset]/2,n=100*(t-i)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=n*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,Object(o[\"on\"])(document,\"mousemove\",this.mouseMoveDocumentHandler),Object(o[\"on\"])(document,\"mouseup\",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(!1!==this.cursorDown){var t=this[this.bar.axis];if(t){var i=-1*(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),n=this.$refs.thumb[this.bar.offset]-t,s=100*(i-n)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=s*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,Object(o[\"off\"])(document,\"mousemove\",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){Object(o[\"off\"])(document,\"mouseup\",this.mouseUpDocumentHandler)}},h={name:\"ElScrollbar\",components:{Bar:u},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:\"div\"}},data:function(){return{sizeWidth:\"0\",sizeHeight:\"0\",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=r()(),i=this.wrapStyle;if(t){var n=\"-\"+t+\"px\",s=\"margin-bottom: \"+n+\"; margin-right: \"+n+\";\";Array.isArray(this.wrapStyle)?(i=Object(a[\"toObject\"])(this.wrapStyle),i.marginRight=i.marginBottom=n):\"string\"===typeof this.wrapStyle?i+=s:i=s}var o=e(this.tag,{class:[\"el-scrollbar__view\",this.viewClass],style:this.viewStyle,ref:\"resize\"},this.$slots.default),l=e(\"div\",{ref:\"wrap\",style:i,on:{scroll:this.handleScroll},class:[this.wrapClass,\"el-scrollbar__wrap\",t?\"\":\"el-scrollbar__wrap--hidden-default\"]},[[o]]),c=void 0;return c=this.native?[e(\"div\",{ref:\"wrap\",class:[this.wrapClass,\"el-scrollbar__wrap\"],style:i},[[o]])]:[l,e(u,{attrs:{move:this.moveX,size:this.sizeWidth}}),e(u,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})],e(\"div\",{class:\"el-scrollbar\"},c)},methods:{handleScroll:function(){var e=this.wrap;this.moveY=100*e.scrollTop/e.clientHeight,this.moveX=100*e.scrollLeft/e.clientWidth},update:function(){var e=void 0,t=void 0,i=this.wrap;i&&(e=100*i.clientHeight/i.scrollHeight,t=100*i.clientWidth/i.scrollWidth,this.sizeHeight=e<100?e+\"%\":\"\",this.sizeWidth=t<100?t+\"%\":\"\")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&Object(n[\"addResizeListener\"])(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&Object(n[\"removeResizeListener\"])(this.$refs.resize,this.update)},install:function(e){e.component(h.name,h)}};t[\"default\"]=h}";