@zhijiancloud/bpm 1.0.56 → 1.0.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bpmAudit.umd.js +1 -1
- package/dist/bpmField.umd.js +2 -2
- package/dist/bpmFormField.umd.js +2 -2
- package/dist/bpmMulFile.umd.js +1 -1
- package/dist/bpmMulImage.umd.js +1 -1
- package/dist/bpmSelectCheckItem.umd.js +1 -1
- package/dist/bpmSelectFromField.umd.js +1 -1
- package/dist/bpmSelectHouseOwner.umd.js +1 -1
- package/dist/bpmSignature.umd.js +1 -1
- package/dist/bpmSubFormField.umd.js +2 -2
- package/dist/bpmVideo.umd.js +1 -1
- package/dist/css/bpmMulFile.css +1 -1
- package/dist/css/bpmSelectCheckItem.css +1 -1
- package/dist/css/index.css +1 -1
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
package/dist/bpmVideo.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("axios"),require("lodash"),require("qs")):"function"==typeof define&&define.amd?define(["axios","lodash","qs"],t):"object"==typeof exports?exports.bpm2=t(require("axios"),require("lodash"),require("qs")):e.bpm2=t(e.axios,e.lodash,e.qs)}(self,function(e,t,o){return function(){var s,n,r={9795:function(e,t,i){"use strict";i.d(t,{zC:function(){return a}});var o=i(6773),s=i.n(o),n=i(5360),r=i.n(n);function a(e,t={}){s().isFunction(e)&&(e=e(t));let i=s().get(e.match(/\?([^#]+)/),"1");if(i){let o=r().parse(i);o=function(...e){return s().assignIn({},...e)}(o,t),e=s().replace(e,i,r().stringify(o))}else e=e+"?"+r().stringify(t);return e}},7234:function(e,t,i){"use strict";var o=i(1601),s=i.n(o),n=i(6314);i.n(n)()(s()).push([e.id,".bpm-video-dialog-fullscreen .el-dialog__header {\n display: none !important;\n}\n.bpm-video-dialog-fullscreen .el-dialog__body {\n padding: 0 !important;\n background-color: #000;\n height: 100vh;\n box-sizing: border-box;\n}\n.bpm-video-dialog-normal .el-dialog__body {\n padding: 0 !important;\n background-color: #000;\n height: 60vh;\n /* Default height for normal dialog */\n box-sizing: border-box;\n}\n.bpm-video-grid-item {\n width: 100%;\n height: 100%;\n overflow: hidden;\n position: relative;\n}\n",""])},6314:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var i="",o=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),o&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),o&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i}).join("")},t.i=function(e,i,o,s,n){"string"==typeof e&&(e=[[null,e,void 0]]);var r={};if(o)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(r[l]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);o&&r[d[0]]||(void 0!==n&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=n),i&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=i):d[2]=i),s&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=s):d[4]="".concat(s)),t.push(d))}},t}},1601:function(e){"use strict";e.exports=function(e){return e[1]}},4486:function(e,t,i){"use strict";function o(e,t,i,o,s,n,r,a){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=i,c._compiled=!0),o&&(c.functional=!0),n&&(c._scopeId="data-v-"+n),r?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},c._ssrRegister=l):s&&(l=a?function(){s.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:s),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(e,t){return l.call(t),d(e,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:c}}i.d(t,{A:function(){return o}})},5344:function(e){e.exports=function(){return this.jQuery}()},2742:function(t){"use strict";t.exports=e},6773:function(e){"use strict";e.exports=t},5360:function(e){"use strict";e.exports=o}},a={};function l(e){var t=a[e];if(void 0!==t)return t.exports;var i=a[e]={id:e,exports:{}};return r[e].call(i.exports,i,i.exports,l),i.exports}l.m=r,l.amdO={},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,{a:t}),t},l.d=function(e,t){for(var i in t)l.o(t,i)&&!l.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},l.f={},l.e=function(e){return Promise.all(Object.keys(l.f).reduce(function(t,i){return l.f[i](e,t),t},[]))},l.u=function(e){return e+".umd.js"},l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s={},n="bpm2:",l.l=function(e,t,i,o){if(s[e])s[e].push(t);else{var r,a;if(void 0!==i)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var p=c[d];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==n+i){r=p;break}}r||(a=!0,(r=document.createElement("script")).charset="utf-8",l.nc&&r.setAttribute("nonce",l.nc),r.setAttribute("data-webpack",n+i),r.src=e),s[e]=[t];var u=function(t,i){r.onerror=r.onload=null,clearTimeout(h);var o=s[e];if(delete s[e],r.parentNode&&r.parentNode.removeChild(r),o&&o.forEach(function(e){return e(i)}),t)return t(i)},h=setTimeout(u.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=u.bind(null,r.onerror),r.onload=u.bind(null,r.onload),a&&document.head.appendChild(r)}},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;l.g.importScripts&&(e=l.g.location+"");var t=l.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");if(i.length)for(var o=i.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=i[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),l.p=e}(),function(){var e={180:0};l.f.j=function(t,i){var o=l.o(e,t)?e[t]:void 0;if(0!==o)if(o)i.push(o[2]);else{var s=new Promise(function(i,s){o=e[t]=[i,s]});i.push(o[2]=s);var n=l.p+l.u(t),r=new Error;l.l(n,function(i){if(l.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var s=i&&("load"===i.type?"missing":i.type),n=i&&i.target&&i.target.src;r.message="Loading chunk "+t+" failed.\n("+s+": "+n+")",r.name="ChunkLoadError",r.type=s,r.request=n,o[1](r)}},"chunk-"+t,t)}};var t=function(t,i){var o,s,n=i[0],r=i[1],a=i[2],c=0;if(n.some(function(t){return 0!==e[t]})){for(o in r)l.o(r,o)&&(l.m[o]=r[o]);a&&a(l)}for(t&&t(i);c<n.length;c++)s=n[c],l.o(e,s)&&e[s]&&e[s][0](),e[s]=0},i=self.webpackChunkbpm2=self.webpackChunkbpm2||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))}();var c={};return function(){"use strict";l.r(c),l.d(c,{default:function(){return R}});var e=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-video",attrs:{value:e.curVal,fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType},on:{change:e.handleChange}},"component",e.$attrs,!1),e.$listeners))};e._withStripped=!0;var t=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"bpm-video-editor"},["dialog"!==e.videoUiType?i("div",{staticStyle:{"margin-top":"12px"}},e._l(e.localList,function(t,o){return i("div",{key:"pv-"+o,staticStyle:{"margin-bottom":"12px"}},[i("bpm-video-player",{attrs:{src:t.src,type:t.type||"auto",poster:t.poster,accessToken:t.access_token,areaDomain:t.area_domain||"",autoplay:e.localConf.autoplay,controls:e.localConf.controls,loop:e.localConf.loop,volume:e.localConf.volume,playsinline:e.localConf.plays_in_line,width:e.localConf.width,height:e.localConf.height,customConfig:e.localConf.customConfig},on:{captureUploaded:function(t){return e.handleCaptureUploaded(o,t)},play:function(t){return e.$emit("play",{index:o})},pause:function(t){return e.$emit("pause",{index:o})},ended:function(t){return e.$emit("ended",{index:o})},error:function(t){return e.$emit("error",{index:o,error:t})},timeupdate:function(t){return e.$emit("timeupdate",{index:o,data:t})},ready:function(t){return e.$emit("ready",{index:o})}}})],1)}),0):["dialog"===e.videoUiType?i("i",{staticClass:"el-icon-video-play",style:{fontSize:"20px",color:e.localList.length>0?"#409EFF":"#909399",cursor:"pointer"},on:{click:function(t){t.stopPropagation(),e.localList.length>0&&(e.viewDialogVisible=!0)}}},[e._v(e._s(e.localList.length>1?e.localList.length:""))]):e._e(),e._v(" "),"dialog"===e.videoUiType&&e.viewDialogVisible?i("el-dialog",{attrs:{title:e.fieldConf.name||e.$z("视频播放","b2.common.video_play"),visible:e.viewDialogVisible,width:e.dialogWidth||"80%","append-to-body":"",fullscreen:e.isFullscreen,"show-close":!e.isFullscreen,"custom-class":e.isFullscreen?"bpm-video-dialog-fullscreen":"bpm-video-dialog-normal"},on:{"update:visible":function(t){e.viewDialogVisible=t},close:e.handleCloseDialog}},[e.isFullscreen?e._e():i("div",{staticClass:"bpm-video-dialog-title",attrs:{slot:"title"},slot:"title"},[i("span",[e._v(e._s(e.fieldConf.name||e.$z("视频播放","b2.common.video_play")))]),e._v(" "),i("button",{staticClass:"el-dialog__headerbtn",staticStyle:{right:"50px"},attrs:{type:"button"},on:{click:e.toggleFullscreen}},[i("i",{staticClass:"el-icon-full-screen"})])]),e._v(" "),i("div",{staticClass:"bpm-video-grid-container",style:e.gridStyle},e._l(e.localList,function(t,o){return i("div",{key:"view-dlg-"+o,staticClass:"bpm-video-grid-item"},[i("bpm-video-player",{attrs:{src:t.src,type:t.type||"auto",poster:t.poster,accessToken:t.access_token,areaDomain:t.area_domain,autoplay:e.localConf.autoplay,controls:e.localConf.controls,loop:e.localConf.loop,volume:e.localConf.volume,playsinline:e.localConf.plays_in_line,width:"100%",height:"100%",customConfig:e.localConf.customConfig},on:{captureUploaded:function(t){return e.handleCaptureUploaded(o,t)},play:function(t){return e.$emit("play",{index:o})},pause:function(t){return e.$emit("pause",{index:o})},ended:function(t){return e.$emit("ended",{index:o})},error:function(t){return e.$emit("error",{index:o,error:t})},timeupdate:function(t){return e.$emit("timeupdate",{index:o,data:t})},ready:function(t){return e.$emit("ready",{index:o})}}})],1)}),0)]):e._e()],e._v(" "),e.readonly?e._e():i("div",{staticClass:"editor-toolbar",staticStyle:{"margin-top":"12px"}},[i("el-button",{attrs:{type:"primary",size:"mini",icon:"el-icon-edit"},on:{click:e.openEditDialog}},[e._v(e._s(e.$z("编辑视频源","b2.common.edit_video_source")))])],1),e._v(" "),i("el-dialog",{attrs:{visible:e.editDialogVisible,title:e.$z("编辑视频源","b2.common.edit_video_source"),width:"60%","append-to-body":""},on:{"update:visible":function(t){e.editDialogVisible=t}}},[i("el-form",{attrs:{"label-width":"120px",size:"small"}},[e._l(e.tempList,function(t,o){return i("div",{key:"card-"+o,staticStyle:{"margin-bottom":"12px"}},[i("el-card",{attrs:{shadow:"never"}},[i("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[i("span",[e._v(e._s(e.$z("视频源","b2.common.video_source"))+" #"+e._s(o+1))]),e._v(" "),i("span",{staticStyle:{float:"right"}},[i("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(t){return e.removeItem(o)}}},[i("span",{staticStyle:{color:"red"}},[i("i",{staticClass:"el-icon-close"})])])],1)]),e._v(" "),i("el-form-item",{attrs:{label:e.$z("视频地址","b2.common.video_url")}},[i("el-input",{attrs:{placeholder:e.$z("例如:ws://... 或 http(s)://... 或 webrtc://...","b2.common.video_url_placeholder")},model:{value:t.src,callback:function(i){e.$set(t,"src",i)},expression:"item.src"}})],1),e._v(" "),i("el-form-item",{attrs:{label:e.$z("封面图","b2.common.poster")}},[i("el-input",{attrs:{placeholder:e.$z("封面图 URL,可选","b2.common.poster_optional")},model:{value:t.poster,callback:function(i){e.$set(t,"poster",i)},expression:"item.poster"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"token"}},[i("el-input",{attrs:{placeholder:"token,可选"},model:{value:t.access_token,callback:function(i){e.$set(t,"access_token",i)},expression:"item.access_token"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"设备环境"}},[i("el-input",{attrs:{placeholder:"设备环境,可选"},model:{value:t.area_domain,callback:function(i){e.$set(t,"area_domain",i)},expression:"item.area_domain"}})],1)],1)],1)}),e._v(" "),i("el-button",{attrs:{type:"primary",size:"mini",icon:"el-icon-plus"},on:{click:e.addItem}},[e._v(e._s(e.$z("添加视频","b2.common.add_video")))])],2),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.editDialogVisible=!1}}},[e._v(e._s(e.$z("取消","c.cancel")))]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.confirmEdit}},[e._v(e._s(e.$z("确认","c.confirm")))])],1)],1)],2)};t._withStripped=!0;var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{style:e.containerStyle},[i("div",{attrs:{id:e.playerId}})])};o._withStripped=!0;var s=l(2742),n=l.n(s),r=l(9795);let a=null,d=null,p=null,u=null,h=null,f=null,m=null,y=!1,g=!1,v=!1,b=!1,w=!1,C=!1,E=!1,$={},x=null,k=0,S=null,P=null;var j={name:"BpmVideoPlayer",props:{src:{type:[String,Object],default(){return""}},type:{type:String,default(){return"auto"}},poster:{type:String,default(){return""}},accessToken:{type:String,default(){return""}},areaDomain:{type:String,default(){return""}},autoplay:{type:Boolean,default(){return!1}},controls:{type:Boolean,default(){return!0}},loop:{type:Boolean,default(){return!1}},width:{type:[String,Number],default(){return"100%"}},height:{type:[String,Number],default(){return"100%"}},volume:{type:Number,default(){return.6}},playsinline:{type:Boolean,default(){return!0}},customConfig:{type:Object,default(){return{}}}},data(){return{player:null,playerId:"bpm-video-"+Math.random().toString(36).slice(2),videoEl:null,captureUploading:!1}},computed:{containerStyle(){return{width:"number"==typeof this.width?this.width+"px":this.width,height:"number"==typeof this.height?this.height+"px":this.height}},resolvedPoster(){const e=this.poster;return e&&"string"==typeof e?/^(https?:)?\/\//i.test(e)||e.startsWith("data:")||e.startsWith("blob:")?e:/^[a-f0-9]{32}$/i.test(e)?(0,r.zC)("/platform/v1/papi/web_file/image_view/",{file_md5:e}):e:""},normalizedUrl(){if("string"==typeof this.src)return this.src;if(Array.isArray(this.src)&&this.src.length>0){const e=this.src[0];if(e)return(e.src&&"string"==typeof e.src?e.src:"")||(e.url&&"string"==typeof e.url?e.url:"")}return this.src&&this.src.url?this.src.url:this.src&&this.src.src?this.src.src:""}},watch:{src(){this.reload()},type(){this.reload()},width(){this.reload()},height(){this.reload()}},mounted(){setTimeout(()=>{this.init()},0)},beforeDestroy(){this.destroy()},methods:{loadScript(e){if($[e])return $[e];const t=Array.from(document.getElementsByTagName("script")).find(t=>t.src&&-1!==t.src.indexOf(e));if(t)return t.dataset&&"true"===t.dataset.loaded?($[e]=Promise.resolve(),$[e]):($[e]=new Promise((e,i)=>{t.addEventListener("load",()=>{t.dataset&&(t.dataset.loaded="true"),e()}),t.addEventListener("error",e=>i(e))}),$[e]);const i=document.createElement("script");return i.src=e,i.async=!0,$[e]=new Promise((e,t)=>{i.onload=()=>{k>0&&(k--,0===k&&(S&&(window.define=S),P&&(window.module=P),S=null,P=null)),i.dataset&&(i.dataset.loaded="true"),e()},i.onerror=e=>{k>0&&(k--,0===k&&(S&&(window.define=S),P&&(window.module=P),S=null,P=null)),t(e)}}),0===k&&("function"==typeof window.define&&window.define.amd&&(S=window.define,window.define=void 0),"object"==typeof window.module&&window.module&&window.module.exports&&(P=window.module,window.module=void 0)),k++,document.head.appendChild(i),$[e]},async ensureDeps(){if(console.log("PlayerCtor:",a),!a){const e=this.customConfig&&this.customConfig.xgplayerJsUrl||"https://cdn.jsdelivr.net/npm/xgplayer@3.0.23/dist/index.min.js";g&&(window.Player||window.xgplayer)||(await this.loadScript(e),g=!0);let t=window.Player||window.xgplayer;console.log("PlayerCtor:",t),t&&t.default&&(t=t.default),a=t}if(!y){const e=this.customConfig&&this.customConfig.xgplayerCssUrl||"https://cdn.jsdelivr.net/npm/xgplayer@3.0.23/dist/index.min.css",t=document.createElement("link");t.rel="stylesheet",t.href=e,document.head.appendChild(t),y=!0}},async ensureMpegts(){if(h)return;const e=this.customConfig&&this.customConfig.mpegtsLibUrl||"https://cdn.jsdelivr.net/npm/mpegts.js@1.7.0/dist/mpegts.min.js";await new Promise((t,i)=>{const o=document.createElement("script");o.src=e,o.async=!0,o.onload=()=>t(),o.onerror=e=>i(e),document.head.appendChild(o)}),h=window.mpegts||window.Mpegts||null},async ensureEzopen(){if(f)return;try{x||(x=l.e(552).then(l.bind(l,4552)));const e=await x,t=e&&e.EZUIKitPlayer||e&&e.default&&e.default.EZUIKitPlayer;if(t)return void(f=t)}catch(e){}const e=this.customConfig&&this.customConfig.ezuikitUrl||"https://cdn.jsdelivr.net/npm/ezuikit-js@8.1.6/ezuikit.js",t=!!window.EZUIKitPlayer||!(!window.EZUIKit||!window.EZUIKit.EZUIKitPlayer)||!!window.EZUIPlayer;C&&t||(await this.loadScript(e),C=!0),f=window.EZUIKitPlayer||window.EZUIKit&&window.EZUIKit.EZUIKitPlayer||window.EZUIPlayer||null},async ensureJsWebRtc(){if(m)return;const e=this.customConfig&&this.customConfig.jsWebRtcUrl||"https://cdn.jsdelivr.net/npm/jswebrtc@1.0.1/dist/jswebrtc.min.js";E&&window.JSWebrtc||(await this.loadScript(e),E=!0),m=window.JSWebrtc},async init(){const e=function(e,t){if(t&&"auto"!==t)return t;if(!e||"string"!=typeof e)return"mp4";const i=e.toLowerCase();return i.startsWith("ezopen://")?"ezopen":i.startsWith("webrtc://")?"webrtc":i.startsWith("rtsp://")?"rtsp":i.startsWith("rtp://")?"rtp":i.startsWith("rtmp://")||i.startsWith("rtmps://")?"rtmp":i.endsWith(".m3u8")?"hls":i.endsWith(".flv")?"flv":i.endsWith(".mpd")?"dash":"mp4"}(this.normalizedUrl,this.type);if(console.log("this.normalizedUrl:"+e),"ezopen"===e)return void await this.initEzopen();if("webrtc"===e)return void await this.initWebRtc();if("ezuikit-flv"===e)return void await this.initEzuikitFlv();if("rtsp"===e||"rtp"===e)return void await this.initRtsp();await this.ensureDeps();const t=[];let i=this.normalizedUrl;if("hls"===e){if(!document.createElement("video").canPlayType("application/vnd.apple.mpegurl")){if(!d){const e=this.customConfig&&this.customConfig.hlsJsPluginUrl||"https://cdn.jsdelivr.net/npm/xgplayer-hls.js@3.0.23/dist/index.min.js";v&&window.HlsJsPlugin||(await this.loadScript(e),v=!0),d=window.HlsJsPlugin,d&&d.default&&(d=d.default)}d&&t.push(d)}}else if("flv"===e||"rtmp"===e){if(window.MediaSource||console.warn("Current browser does not support MediaSource Extensions (MSE), FLV playback may fail."),"rtmp"===e){if(console.log("this.customConfig:",this.customConfig),!this.customConfig||!this.customConfig.flvUrl)return void this.$emit("error",new Error("浏览器不支持 RTMP,请提供 flvUrl (HTTP-FLV/WS-FLV)"));i=this.customConfig.flvUrl}if(!p){const e=this.customConfig&&this.customConfig.flvJsPluginUrl||"https://cdn.jsdelivr.net/npm/xgplayer-flv.js@3.0.23/dist/index.min.js";b&&window.FlvJsPlugin||(await this.loadScript(e),b=!0),p=window.FlvJsPlugin,p&&p.default&&(p=p.default)}p&&t.push(p)}else if("dash"===e){if(!u){const e=this.customConfig&&this.customConfig.dashPluginUrl||"https://cdn.jsdelivr.net/npm/xgplayer-dash@3.0.0/dist/index.min.js";w&&window.DashPlugin||(await this.loadScript(e),w=!0),u=window.DashPlugin,u&&u.default&&(u=u.default)}t.push(u)}const o=Object.assign({id:this.playerId,url:i,poster:this.resolvedPoster,autoplay:this.autoplay,controls:this.controls,loop:this.loop,volume:this.volume,playsinline:this.playsinline,width:this.width,height:this.height,plugins:t},this.customConfig||{});this.player=new a(o),this.bindEvents(),this.$emit("ready")},bindEvents(){this.player&&(this.player.on("play",()=>this.$emit("play")),this.player.on("pause",()=>this.$emit("pause")),this.player.on("ended",()=>this.$emit("ended")),this.player.on("error",e=>this.$emit("error",e)),this.player.on("timeupdate",e=>this.$emit("timeupdate",e)),this.player.on("waiting",()=>this.$emit("waiting")),this.player.on("fullscreenchange",e=>this.$emit("fullscreenChange",e)),this.player.on("definitionchange",e=>this.$emit("definitionChange",e)))},bindVideoEvents(){this.videoEl&&(this.videoEl.addEventListener("play",()=>this.$emit("play")),this.videoEl.addEventListener("pause",()=>this.$emit("pause")),this.videoEl.addEventListener("ended",()=>this.$emit("ended")),this.videoEl.addEventListener("waiting",()=>this.$emit("waiting")),this.videoEl.addEventListener("timeupdate",()=>this.$emit("timeupdate",{currentTime:this.videoEl.currentTime})),this.$emit("ready"))},async initRtsp(){try{await this.ensureMpegts()}catch(e){return void this.$emit("error",e)}const e=document.getElementById(this.playerId);if(!e)return;for(;e.firstChild;)e.removeChild(e.firstChild);const t=document.createElement("video");t.style.width="100%",t.style.height="100%",t.autoplay=!!this.autoplay,t.controls=!!this.controls,t.loop=!!this.loop,t.playsInline=!!this.playsinline,t.muted=!1,this.resolvedPoster&&(t.poster=this.resolvedPoster),e.appendChild(t),this.videoEl=t;const i=(()=>{const e=this.normalizedUrl||"";return/^ws(s)?:\/\//.test(e)||/^http(s)?:\/\//.test(e)?e:this.customConfig&&this.customConfig.mpegtsUrl?this.customConfig.mpegtsUrl:""})();if(!h||!i)return this.bindVideoEvents(),void this.$emit("error",new Error("RTSP/RTP 需要后端转码为 WebSocket/MPEG-TS,请提供 mpegtsUrl"));const o={isLive:!0,type:"mpegts",url:i},s=h.createPlayer(o,this.customConfig&&this.customConfig.mpegtsConfig||{});s.attachMediaElement(t),s.load(),this.player=s,this.bindVideoEvents(),this.autoplay&&Promise.resolve(t.play()).catch(()=>{})},async initWebRtc(){try{await this.ensureJsWebRtc()}catch(e){return void this.$emit("error",e)}if(!m)return void this.$emit("error",new Error("JSWebrtc load failed"));const e=document.getElementById(this.playerId);if(!e)return;for(;e.firstChild;)e.removeChild(e.firstChild);const t=document.createElement("video");t.style.width="100%",t.style.height="100%",t.autoplay=!!this.autoplay,t.controls=!!this.controls,t.loop=!!this.loop,t.playsInline=!!this.playsinline,this.resolvedPoster&&(t.poster=this.resolvedPoster),e.appendChild(t),this.videoEl=t;const i=this.normalizedUrl;this.player=new m.Player(i,{video:t,autoplay:this.autoplay,onPlay:e=>{console.log("JSWebrtc onPlay",e),this.$emit("play")},onPause:e=>{this.$emit("pause")}}),this.bindVideoEvents()},async initEzopen(){if(await this.ensureEzopen(),!f)return console.error("EZUIKitPlayer load failed"),void this.$emit("error",{message:"EZUIKitPlayer load failed"});const e=document.getElementById(this.playerId);if(!e)return;e.innerHTML="";let t=this.accessToken;!t&&"object"==typeof this.src&&this.src.accessToken&&(t=this.src.accessToken);let i=this.width,o=this.height;const s=e.parentElement||e,n=s.clientWidth||s.offsetWidth||e.clientWidth||e.offsetWidth||0,r=s.clientHeight||s.offsetHeight||e.clientHeight||e.offsetHeight||0;console.log("度-parentEl",s),console.log("度-containerHeight",r);const a=(e,t)=>{if("number"==typeof e&&Number.isFinite(e))return e;const i=e.trim();if(!i)return t;if(i.endsWith("px")){const e=parseFloat(i.slice(0,-2));return Number.isFinite(e)?e:t}if(/^\d+(\.\d+)?$/.test(i))return parseFloat(i);if("auto"===i||i.includes("%")||i.includes("vw")||i.includes("vh")||i.includes("rem")||i.includes("em"))return t;const o=parseFloat(i);return Number.isFinite(o)?o:t};i=a(i,n)||600,o=a(o,r)||400,console.log("度-w",i),console.log("度-h",o),console.log("EzuiPlayerCtor",f);const l={id:this.playerId,url:this.normalizedUrl,accessToken:t,template:"pcLive",scaleMode:1,autoplay:this.autoplay,poster:this.resolvedPoster,width:Math.max(1,Math.round(i)),height:Math.max(1,Math.round(o)),handleSuccess:()=>{console.log("EZUIKit play success"),this.$emit("play")},handleError:e=>{console.error("EZUIKit play error",e),this.$emit("error",e)}};console.log("this.areaDomain",this.areaDomain),this.areaDomain&&(l.env={domain:this.areaDomain}),console.log("options",l),this.player=new f(l),console.log("this.player",this.player);const c=this.player&&this.player.eventEmitter,d=f&&f.EVENTS;c&&d&&(d.play&&c.on(d.play,()=>this.$emit("play")),d.pause&&c.on(d.pause,()=>this.$emit("pause")),d.stop&&c.on(d.stop,()=>this.$emit("ended")),d.openSound&&c.on(d.openSound,()=>this.$emit("openSound")),d.closeSound&&c.on(d.closeSound,()=>this.$emit("closeSound")),d.fullscreenChange&&c.on(d.fullscreenChange,e=>this.$emit("fullscreenChange",e))),this.installEzopenCaptureHook(f),this.$emit("ready")},async handleCapturePictureBase64({fileName:e,base64:t}){if(this.captureUploading)return;const i="string"==typeof t?t:"";if(!i)return;let o=i;o.startsWith("data:")||(o="data:image/png;base64,"+i);const s=this.customConfig&&this.customConfig.captureUploadUrl||"/platform/v1/papi/app_file/upload/",r=this.customConfig&&this.customConfig.captureUploadFieldName||"userfile",a="string"==typeof e&&e?e:"capture",l=this.dataUrlToFile(o,a);if(!l)return;const c=new FormData;c.append(r,l);const d=this.customConfig&&this.customConfig.captureUploadExtra;d&&"object"==typeof d&&Object.keys(d).forEach(e=>{void 0!==d[e]&&c.append(e,d[e])}),this.captureUploading=!0;try{const e=await n().post(s,c,{headers:{"Content-Type":"multipart/form-data"}}),t=e&&e.data,i=t&&t.data&&(t.data.file_md5||t.data.md5)||t&&(t.file_md5||t.md5)||"";if(console.log("md5",i),!i)return void this.$emit("captureError",{message:"截图上传成功但未返回 md5",response:t});this.$emit("captureUploaded",{md5:i,poster:i,fileName:a}),this.$emit("update:poster",i)}catch(e){this.$emit("captureError",e)}finally{this.captureUploading=!1}},dataUrlToFile(e,t){if(!e||"string"!=typeof e)return null;const i=e.split(",");if(i.length<2)return null;const o=i[0]||"",s=i[1]||"",n=o.match(/data:([^;]+);base64/i),r=n&&n[1]||"image/png",a=atob(s),l=a.length,c=new Uint8Array(l);for(let e=0;e<l;e++)c[e]=a.charCodeAt(e);const d=r.includes("jpeg")?"jpg":r.split("/")[1]||"png",p=(t||"capture").replace(/[\\/:*?"<>|]+/g,"_");return new File([c],`${p}.${d}`,{type:r})},installEzopenCaptureHook(e){if(console.log("EZUIKitPlayerCtor",e),console.log("this.player",this.player),!this.player||"function"!=typeof this.player.capturePicture)return;if(this._ezopenCaptureHookInstalled)return;this._ezopenCaptureHookInstalled=!0;const t=this.player.capturePicture.bind(this.player);this._ezopenCaptureOriginal=t,this.player.capturePicture=(e,i)=>{console.log("capturePicture_cb",i);const o="string"==typeof e&&e?e:"capture";t(o,e=>{const t=e&&e.base64||e&&e.data&&e.data.base64||("string"==typeof e?e:"");this.handleCapturePictureBase64({fileName:o,base64:t})})}},async initEzuikitFlv(){},async reload(){this.destroy(),setTimeout(()=>{this.init()},0)},destroy(){if(this.player)if(this.player.destroy)try{this.player.destroy()}catch(e){}else if(this.player.stop)try{this.player.stop()}catch(e){}if(this.player=null,this.videoEl&&this.videoEl.parentNode){try{this.videoEl.pause()}catch(e){}this.videoEl.parentNode.removeChild(this.videoEl)}this.videoEl=null},play(){this.videoEl?this.videoEl.play():this.player&&this.player.play&&this.player.play()},pause(){this.videoEl?this.videoEl.pause():this.player&&this.player.pause&&this.player.pause()},seek(e){if(this.videoEl&&"number"==typeof e)try{this.videoEl.currentTime=e}catch(e){}else if(this.player&&"number"==typeof e)try{this.player.currentTime=e}catch(e){}},setVolume(e){this.videoEl&&"number"==typeof e?this.videoEl.volume=Math.max(0,Math.min(1,e)):this.player&&"number"==typeof e&&(this.player.volume=Math.max(0,Math.min(1,e)))},setPlaybackRate(e){this.videoEl&&"number"==typeof e?this.videoEl.playbackRate=e:this.player&&"number"==typeof e&&(this.player.playbackRate=e)}}},U=l(4486),T=(0,U.A)(j,o,[],!1,null,null,null);T.options.__file="components/lib/bpmVideo/src/player.vue";var L={name:"BpmVideoEditor",components:{BpmVideoPlayer:T.exports},props:{value:{type:[String,Object,Array]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"edit"}},readonly:{type:Boolean,default:!1},uiType:{type:String,default(){return"normal"}}},data(){return{editDialogVisible:!1,viewDialogVisible:!1,localList:[],tempList:[],localConf:{type:"auto",autoplay:!0,controls:!0,loop:!1,volume:.6,plays_inline:!0,width:"100%",height:"360px",customConfig:{}},isFullscreen:!1}},computed:{dialogWidth(){return this.fieldConf.style.dialog_width||"80%"},videoUiType(){return"table"===this.uiType?"dialog":this.fieldConf.style.video_ui_type||"normal"},previewSrc(){return this.localList.length>0?this.localList[0].src||"":"string"==typeof this.value?this.value:this.value&&"object"==typeof this.value&&(this.value.src||this.value.url)||""},previewPoster(){return this.localList.length>0?this.localList[0].poster||"":this.value&&"object"==typeof this.value?this.value.poster||"":this.fieldConf&&"string"==typeof this.fieldConf.poster?this.fieldConf.poster:""},gridCols(){const e=this.localList.length;return e<=1?1:e<=4?2:e<=9?3:e<=16?4:5},gridStyle(){return{display:"grid",gridTemplateColumns:`repeat(${this.gridCols}, 1fr)`,gridTemplateRows:`repeat(${this.gridCols}, 1fr)`,gap:"0",width:"100%",height:"100%"}}},watch:{fieldConf:{handler(e){this.mergeConf(e)},immediate:!0,deep:!0},value:{handler(e){Array.isArray(e)?this.localList=e.map(e=>({src:e&&(e.src||e.url)||"",poster:e&&e.poster||"",access_token:e&&e.access_token||"",type:e&&e.type||"auto",area_domain:e&&e.area_domain||""})):this.localList="string"==typeof e?[{src:e,poster:"",access_token:"",type:"auto"}]:e&&"object"==typeof e?[{src:e.src||e.url||"",poster:e.poster||"",access_token:e.access_token||"",type:e.type||"auto",area_domain:e.area_domain||""}]:[]},immediate:!0}},mounted(){document.addEventListener("keydown",this.handleEscKey)},beforeDestroy(){document.removeEventListener("keydown",this.handleEscKey)},methods:{handleCaptureUploaded(e,t){console.log("handleCaptureUploaded",e,t);const i={name:t.name||"capture.jepg",type:"image/jpeg",md5:t.md5||"",create_time:(new Date).getTime()/1e3};this.localList&&this.localList[e]&&(this.localList[e].poster=i),this.editDialogVisible&&this.tempList&&this.tempList[e]&&(this.tempList[e].poster=i),this.emitChange(),this.$emit("posterChange",{index:e,...t})},handleEscKey(e){"Escape"===e.key&&this.isFullscreen&&(this.isFullscreen=!1)},handleCloseDialog(){this.isFullscreen=!1},toggleFullscreen(){this.isFullscreen=!this.isFullscreen},mergeConf(e){console.log("fieldConf",e);const t=e.style||{},i=Object.assign({},this.localConf,t);t&&void 0!==t.width&&(i.width=t.width),t&&void 0!==t.height&&(i.height=t.height),this.localConf=i},openEditDialog(){this.tempList=_.cloneDeep(this.localList),this.editDialogVisible=!0},addItem(){this.tempList.push({src:"",poster:"",access_token:"",type:"auto",area_domain:""})},removeItem(e){this.tempList.splice(e,1)},confirmEdit(){this.localList=_.cloneDeep(this.tempList),this.emitChange(),this.editDialogVisible=!1},emitChange(){const e=this.localList.map(e=>({src:e.src||"",poster:e.poster||"",access_token:e.access_token||"",type:e.type||"auto",area_domain:e.area_domain||""}));this.$emit("input",e),this.$emit("change",e)}}},V=(l(7234),(0,U.A)(L,t,[],!1,null,null,null));V.options.__file="components/lib/bpmVideo/src/part/editor.vue";var z=V.exports,I=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"bpm-video-reader"},[i("bpm-video-editor",e._g({attrs:{value:e.sourcesList,fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType,readonly:!0}},e.$listeners))],1)};I._withStripped=!0;var F={name:"BpmVideoReader",components:{BpmVideoEditor:z},props:{value:{type:[String,Object,Array]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"normal"}}},computed:{sourcesList(){return Array.isArray(this.value)&&this.value.length>0?this.value.map(e=>({src:e&&(e.src||e.url)||"",access_token:e&&e.access_token||"",area_domain:e&&e.area_domain||"",type:e&&e.type||"",poster:e&&e.poster||""})).filter(e=>e.src):this.fieldConf&&Array.isArray(this.fieldConf.src)&&this.fieldConf.src.length>0?this.fieldConf.src.map(e=>({src:e&&(e.src||e.url)||"",poster:e&&e.poster||"",access_token:e&&e.access_token||"",area_domain:e&&e.area_domain||"",type:e&&e.type||""})).filter(e=>e.src):"string"==typeof this.value&&this.value?[{src:this.value,poster:this.fieldConf&&"string"==typeof this.fieldConf.poster?this.fieldConf.poster:"",access_token:i&&i.access_token||"",area_domain:i&&i.area_domain||"",type:i&&i.type||""}]:this.fieldConf&&"string"==typeof this.fieldConf.src&&this.fieldConf.src?[{src:this.fieldConf.src,poster:this.fieldConf&&"string"==typeof this.fieldConf.poster?this.fieldConf.poster:"",access_token:i&&i.access_token||"",area_domain:i&&i.area_domain||"",type:i&&i.type||""}]:this.fieldConf&&this.fieldConf.defaultSrc?[{src:this.fieldConf.defaultSrc,poster:this.fieldConf&&"string"==typeof this.fieldConf.poster?this.fieldConf.poster:"",access_token:i&&i.access_token||"",area_domain:i&&i.area_domain||"",type:i&&i.type||""}]:[]}},vmounted(){console.log("this.fieldConf",this.fieldConf)}},D=(0,U.A)(F,I,[],!1,null,null,null);D.options.__file="components/lib/bpmVideo/src/part/reader.vue";var A=D.exports,W={name:"BpmVideo",components:{editorComponent:z,readerComponent:A},props:{value:{type:[String,Object,Array]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"normal"}}},data(){return{curVal:[]}},computed:{curComponent(){return"view"===this.mode?A:z}},watch:{value(e){if(console.log("video_val",e),Array.isArray(this.value))this.curVal=this.value;else if("string"==typeof this.value&&this.value){const e=this.fieldConf&&"string"==typeof this.fieldConf.poster?this.fieldConf.poster:"";this.curVal=[{src:this.value,poster:e}]}else if(this.value&&"object"==typeof this.value){const e=this.value.src||this.value.url||"",t=this.value.poster||"";this.curVal=e?[{src:e,poster:t}]:[]}else this.curVal=[]}},mounted(){const e=!!this.fieldConf,t=void 0!==this.value?this.value:e&&void 0!==this.fieldConf.src?this.fieldConf.src:e&&this.fieldConf.defaultSrc?this.fieldConf.defaultSrc:"";if(Array.isArray(t))this.curVal=t;else if("string"==typeof t&&t){const i=e&&"string"==typeof this.fieldConf.poster?this.fieldConf.poster:"";this.curVal=[{src:t,poster:i}]}else if(t&&"object"==typeof t){const e=t.src||t.url||"",i=t.poster||"";this.curVal=e?[{src:e,poster:i}]:[]}else this.curVal=[]},methods:{handleChange(e){if(Array.isArray(e))return this.curVal=e,this.$emit("input",this.curVal),void this.$emit("change",this.curVal);if("string"==typeof e){const t=this.fieldConf&&"string"==typeof this.fieldConf.poster?this.fieldConf.poster:"";this.curVal=[{src:e,poster:t}]}else if(e&&"object"==typeof e){const t=e.src||e.url||"",i=e.poster||"";this.curVal=t?[{src:t,poster:i}]:[]}else this.curVal=[];this.$emit("input",this.curVal),this.$emit("change",this.curVal)}}},O=(0,U.A)(W,e,[],!1,null,null,null);O.options.__file="components/lib/bpmVideo/src/main.vue";var M=O.exports;M.install=function(e){e.component(M.name,M)};var R=M}(),c}()});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("axios"),require("lodash"),require("qs")):"function"==typeof define&&define.amd?define(["axios","lodash","qs"],t):"object"==typeof exports?exports.bpm2=t(require("axios"),require("lodash"),require("qs")):e.bpm2=t(e.axios,e.lodash,e.qs)}(self,function(e,t,o){return function(){var n,s,r={9795:function(e,t,i){"use strict";i.d(t,{zC:function(){return a}});var o=i(6773),n=i.n(o),s=i(5360),r=i.n(s);function a(e,t={}){n().isFunction(e)&&(e=e(t));let i=n().get(e.match(/\?([^#]+)/),"1");if(i){let o=r().parse(i);o=function(...e){return n().assignIn({},...e)}(o,t),e=n().replace(e,i,r().stringify(o))}else e=e+"?"+r().stringify(t);return e}},7234:function(e,t,i){"use strict";var o=i(1601),n=i.n(o),s=i(6314);i.n(s)()(n()).push([e.id,".bpm-video-dialog-fullscreen .el-dialog__header {\n display: none !important;\n}\n.bpm-video-dialog-fullscreen .el-dialog__body {\n padding: 0 !important;\n background-color: #000;\n height: 100vh;\n box-sizing: border-box;\n}\n.bpm-video-dialog-normal .el-dialog__body {\n padding: 0 !important;\n background-color: #000;\n height: 60vh;\n /* Default height for normal dialog */\n box-sizing: border-box;\n}\n.bpm-video-grid-item {\n width: 100%;\n height: 100%;\n overflow: hidden;\n position: relative;\n}\n",""])},6314:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var i="",o=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),o&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),o&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i}).join("")},t.i=function(e,i,o,n,s){"string"==typeof e&&(e=[[null,e,void 0]]);var r={};if(o)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(r[l]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);o&&r[d[0]]||(void 0!==s&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=s),i&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=i):d[2]=i),n&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=n):d[4]="".concat(n)),t.push(d))}},t}},1601:function(e){"use strict";e.exports=function(e){return e[1]}},4486:function(e,t,i){"use strict";function o(e,t,i,o,n,s,r,a){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=i,c._compiled=!0),o&&(c.functional=!0),s&&(c._scopeId="data-v-"+s),r?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},c._ssrRegister=l):n&&(l=a?function(){n.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:n),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(e,t){return l.call(t),d(e,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:c}}i.d(t,{A:function(){return o}})},5344:function(e){e.exports=function(){return this.jQuery}()},2742:function(t){"use strict";t.exports=e},6773:function(e){"use strict";e.exports=t},5360:function(e){"use strict";e.exports=o}},a={};function l(e){var t=a[e];if(void 0!==t)return t.exports;var i=a[e]={id:e,exports:{}};return r[e].call(i.exports,i,i.exports,l),i.exports}l.m=r,l.amdO={},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,{a:t}),t},l.d=function(e,t){for(var i in t)l.o(t,i)&&!l.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},l.f={},l.e=function(e){return Promise.all(Object.keys(l.f).reduce(function(t,i){return l.f[i](e,t),t},[]))},l.u=function(e){return e+".umd.js"},l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},s="bpm2:",l.l=function(e,t,i,o){if(n[e])n[e].push(t);else{var r,a;if(void 0!==i)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var p=c[d];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==s+i){r=p;break}}r||(a=!0,(r=document.createElement("script")).charset="utf-8",l.nc&&r.setAttribute("nonce",l.nc),r.setAttribute("data-webpack",s+i),r.src=e),n[e]=[t];var u=function(t,i){r.onerror=r.onload=null,clearTimeout(h);var o=n[e];if(delete n[e],r.parentNode&&r.parentNode.removeChild(r),o&&o.forEach(function(e){return e(i)}),t)return t(i)},h=setTimeout(u.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=u.bind(null,r.onerror),r.onload=u.bind(null,r.onload),a&&document.head.appendChild(r)}},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;l.g.importScripts&&(e=l.g.location+"");var t=l.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");if(i.length)for(var o=i.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=i[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),l.p=e}(),function(){var e={180:0};l.f.j=function(t,i){var o=l.o(e,t)?e[t]:void 0;if(0!==o)if(o)i.push(o[2]);else{var n=new Promise(function(i,n){o=e[t]=[i,n]});i.push(o[2]=n);var s=l.p+l.u(t),r=new Error;l.l(s,function(i){if(l.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var n=i&&("load"===i.type?"missing":i.type),s=i&&i.target&&i.target.src;r.message="Loading chunk "+t+" failed.\n("+n+": "+s+")",r.name="ChunkLoadError",r.type=n,r.request=s,o[1](r)}},"chunk-"+t,t)}};var t=function(t,i){var o,n,s=i[0],r=i[1],a=i[2],c=0;if(s.some(function(t){return 0!==e[t]})){for(o in r)l.o(r,o)&&(l.m[o]=r[o]);a&&a(l)}for(t&&t(i);c<s.length;c++)n=s[c],l.o(e,n)&&e[n]&&e[n][0](),e[n]=0},i=self.webpackChunkbpm2=self.webpackChunkbpm2||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))}();var c={};return function(){"use strict";l.r(c),l.d(c,{default:function(){return N}});var e=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-video",attrs:{value:e.curVal,fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType},on:{change:e.handleChange}},"component",e.$attrs,!1),e.$listeners))};e._withStripped=!0;var t=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"bpm-video-editor"},["dialog"!==e.videoUiType?i("div",{staticStyle:{"margin-top":"12px"}},e._l(e.localList,function(t,o){return i("div",{key:"pv-"+o,staticStyle:{"margin-bottom":"12px"}},[i("bpm-video-player",{attrs:{src:t.src,type:t.type||"auto",poster:t.poster,accessToken:t.access_token,areaDomain:t.area_domain||"",autoplay:e.localConf.autoplay,controls:e.localConf.controls,loop:e.localConf.loop,volume:e.localConf.volume,playsinline:e.localConf.plays_in_line,width:e.localConf.width,height:e.localConf.height,customConfig:e.localConf.customConfig},on:{captureUploaded:function(t){return e.handleCaptureUploaded(o,t)},play:function(t){return e.$emit("play",{index:o})},pause:function(t){return e.$emit("pause",{index:o})},ended:function(t){return e.$emit("ended",{index:o})},error:function(t){return e.$emit("error",{index:o,error:t})},timeupdate:function(t){return e.$emit("timeupdate",{index:o,data:t})},ready:function(t){return e.$emit("ready",{index:o})}}})],1)}),0):["dialog"===e.videoUiType?i("i",{staticClass:"el-icon-video-play",style:{fontSize:"20px",color:e.localList.length>0?"#409EFF":"#909399",cursor:"pointer"},on:{click:function(t){t.stopPropagation(),e.localList.length>0&&(e.viewDialogVisible=!0)}}},[e._v(e._s(e.localList.length>1?e.localList.length:""))]):e._e(),e._v(" "),"dialog"===e.videoUiType&&e.viewDialogVisible?i("el-dialog",{attrs:{title:e.fieldConf.name||e.$z("视频播放","b2.common.video_play"),visible:e.viewDialogVisible,width:e.dialogWidth||"80%","append-to-body":"",fullscreen:e.isFullscreen,"show-close":!e.isFullscreen,"custom-class":e.isFullscreen?"bpm-video-dialog-fullscreen":"bpm-video-dialog-normal"},on:{"update:visible":function(t){e.viewDialogVisible=t},close:e.handleCloseDialog}},[e.isFullscreen?e._e():i("div",{staticClass:"bpm-video-dialog-title",attrs:{slot:"title"},slot:"title"},[i("span",[e._v(e._s(e.fieldConf.name||e.$z("视频播放","b2.common.video_play")))]),e._v(" "),i("button",{staticClass:"el-dialog__headerbtn",staticStyle:{right:"50px"},attrs:{type:"button"},on:{click:e.toggleFullscreen}},[i("i",{staticClass:"el-icon-full-screen"})])]),e._v(" "),i("div",{staticClass:"bpm-video-grid-container",style:e.gridStyle},e._l(e.localList,function(t,o){return i("div",{key:"view-dlg-"+o,staticClass:"bpm-video-grid-item"},[i("bpm-video-player",{attrs:{src:t.src,type:t.type||"auto",poster:t.poster,accessToken:t.access_token,areaDomain:t.area_domain,autoplay:e.localConf.autoplay,controls:e.localConf.controls,loop:e.localConf.loop,volume:e.localConf.volume,playsinline:e.localConf.plays_in_line,width:"100%",height:"100%",customConfig:e.localConf.customConfig},on:{captureUploaded:function(t){return e.handleCaptureUploaded(o,t)},play:function(t){return e.$emit("play",{index:o})},pause:function(t){return e.$emit("pause",{index:o})},ended:function(t){return e.$emit("ended",{index:o})},error:function(t){return e.$emit("error",{index:o,error:t})},timeupdate:function(t){return e.$emit("timeupdate",{index:o,data:t})},ready:function(t){return e.$emit("ready",{index:o})}}})],1)}),0)]):e._e()],e._v(" "),e.readonly?e._e():i("div",{staticClass:"editor-toolbar",staticStyle:{"margin-top":"12px"}},[i("el-button",{attrs:{type:"primary",size:"mini",icon:"el-icon-edit"},on:{click:e.openEditDialog}},[e._v(e._s(e.$z("编辑视频源","b2.common.edit_video_source")))])],1),e._v(" "),i("el-dialog",{attrs:{visible:e.editDialogVisible,title:e.$z("编辑视频源","b2.common.edit_video_source"),width:"60%","append-to-body":""},on:{"update:visible":function(t){e.editDialogVisible=t}}},[i("el-form",{attrs:{"label-width":"120px",size:"small"}},[e._l(e.tempList,function(t,o){return i("div",{key:"card-"+o,staticStyle:{"margin-bottom":"12px"}},[i("el-card",{attrs:{shadow:"never"}},[i("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[i("span",[e._v(e._s(e.$z("视频源","b2.common.video_source"))+" #"+e._s(o+1))]),e._v(" "),i("span",{staticStyle:{float:"right"}},[i("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(t){return e.removeItem(o)}}},[i("span",{staticStyle:{color:"red"}},[i("i",{staticClass:"el-icon-close"})])])],1)]),e._v(" "),i("el-form-item",{attrs:{label:e.$z("视频地址","b2.common.video_url")}},[i("el-input",{attrs:{placeholder:e.$z("例如:ws://... 或 http(s)://... 或 webrtc://...","b2.common.video_url_placeholder")},model:{value:t.src,callback:function(i){e.$set(t,"src",i)},expression:"item.src"}})],1),e._v(" "),i("el-form-item",{attrs:{label:e.$z("封面图","b2.common.poster")}},[i("el-input",{attrs:{placeholder:e.$z("封面图 URL,可选","b2.common.poster_optional")},model:{value:t.poster,callback:function(i){e.$set(t,"poster",i)},expression:"item.poster"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"token"}},[i("el-input",{attrs:{placeholder:"token,可选"},model:{value:t.access_token,callback:function(i){e.$set(t,"access_token",i)},expression:"item.access_token"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"设备环境"}},[i("el-input",{attrs:{placeholder:"设备环境,可选"},model:{value:t.area_domain,callback:function(i){e.$set(t,"area_domain",i)},expression:"item.area_domain"}})],1)],1)],1)}),e._v(" "),i("el-button",{attrs:{type:"primary",size:"mini",icon:"el-icon-plus"},on:{click:e.addItem}},[e._v(e._s(e.$z("添加视频","b2.common.add_video")))])],2),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.editDialogVisible=!1}}},[e._v(e._s(e.$z("取消","c.cancel")))]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.confirmEdit}},[e._v(e._s(e.$z("确认","c.confirm")))])],1)],1)],2)};t._withStripped=!0;var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{style:e.containerStyle},[i("div",{attrs:{id:e.playerId}})])};o._withStripped=!0;var n=l(2742),s=l.n(n),r=l(9795);let a=null,d=null,p=null,u=null,h=null,f=null,m=null,y=!1,g=!1,v=!1,b=!1,C=!1,w=!1,E=!1,$={},z=null,x=0,k=null,S=null;var U={name:"BpmVideoPlayer",props:{src:{type:[String,Object],default(){return""}},type:{type:String,default(){return"auto"}},poster:{type:String,default(){return""}},accessToken:{type:String,default(){return""}},areaDomain:{type:String,default(){return""}},autoplay:{type:Boolean,default(){return!1}},controls:{type:Boolean,default(){return!0}},loop:{type:Boolean,default(){return!1}},width:{type:[String,Number],default(){return"100%"}},height:{type:[String,Number],default(){return"100%"}},volume:{type:Number,default(){return.6}},playsinline:{type:Boolean,default(){return!0}},customConfig:{type:Object,default(){return{}}}},data(){return{player:null,playerId:"bpm-video-"+Math.random().toString(36).slice(2),videoEl:null,captureUploading:!1,ezopenReconnectTimer:null,ezopenReconnectCount:0}},computed:{containerStyle(){return{width:"number"==typeof this.width?this.width+"px":this.width,height:"number"==typeof this.height?this.height+"px":this.height}},resolvedPoster(){const e=this.poster;return e&&"string"==typeof e?/^(https?:)?\/\//i.test(e)||e.startsWith("data:")||e.startsWith("blob:")?e:/^[a-f0-9]{32}$/i.test(e)?(0,r.zC)("/platform/v1/papi/web_file/image_view/",{file_md5:e}):e:""},normalizedUrl(){if("string"==typeof this.src)return this.src;if(Array.isArray(this.src)&&this.src.length>0){const e=this.src[0];if(e)return(e.src&&"string"==typeof e.src?e.src:"")||(e.url&&"string"==typeof e.url?e.url:"")}return this.src&&this.src.url?this.src.url:this.src&&this.src.src?this.src.src:""}},watch:{src(){this.reload()},type(){this.reload()},width(){this.reload()},height(){this.reload()}},mounted(){setTimeout(()=>{this.init()},0)},beforeDestroy(){this.destroy()},methods:{clearEzopenReconnect(){this.ezopenReconnectTimer&&(clearTimeout(this.ezopenReconnectTimer),this.ezopenReconnectTimer=null)},normalizeEzopenDomain(e){if("string"!=typeof e)return"";const t=e.trim();if(!t||"undefined"===t||"null"===t)return"";const i=/^(https?:)?\/\//i.test(t)?t:`https://${t}`;try{return new URL(i).origin}catch(e){return""}},resolveEzopenDomain(){const e=this.normalizeEzopenDomain(this.areaDomain||this.src&&this.src.areaDomain||this.src&&this.src.area_domain||this.customConfig&&this.customConfig.ezopenDomain||"");if(e)return e;const t="string"==typeof this.normalizedUrl?this.normalizedUrl.trim():"";return/^ezopen:\/\/open\.ys7\.com/i.test(t)?"https://open.ys7.com":""},scheduleEzopenReconnect(e){if(this.customConfig&&!1===this.customConfig.ezopenAutoReconnect)return;const t=Number(this.customConfig&&this.customConfig.ezopenMaxRetries)>0?Number(this.customConfig.ezopenMaxRetries):3;if(this.ezopenReconnectCount>=t)return;this.clearEzopenReconnect();const i=Number(this.customConfig&&this.customConfig.ezopenRetryDelay)>0?Number(this.customConfig.ezopenRetryDelay):3e3;this.ezopenReconnectCount+=1,console.warn("[bpm-video] schedule ezopen reconnect",{retryCount:this.ezopenReconnectCount,reason:e}),this.ezopenReconnectTimer=setTimeout(()=>{this.ezopenReconnectTimer=null,this.destroy(),this.initEzopen()},i)},loadScript(e){if($[e])return $[e];const t=Array.from(document.getElementsByTagName("script")).find(t=>t.src&&-1!==t.src.indexOf(e));if(t)return t.dataset&&"true"===t.dataset.loaded?($[e]=Promise.resolve(),$[e]):($[e]=new Promise((e,i)=>{t.addEventListener("load",()=>{t.dataset&&(t.dataset.loaded="true"),e()}),t.addEventListener("error",e=>i(e))}),$[e]);const i=document.createElement("script");return i.src=e,i.async=!0,$[e]=new Promise((e,t)=>{i.onload=()=>{x>0&&(x--,0===x&&(k&&(window.define=k),S&&(window.module=S),k=null,S=null)),i.dataset&&(i.dataset.loaded="true"),e()},i.onerror=e=>{x>0&&(x--,0===x&&(k&&(window.define=k),S&&(window.module=S),k=null,S=null)),t(e)}}),0===x&&("function"==typeof window.define&&window.define.amd&&(k=window.define,window.define=void 0),"object"==typeof window.module&&window.module&&window.module.exports&&(S=window.module,window.module=void 0)),x++,document.head.appendChild(i),$[e]},async ensureDeps(){if(console.log("PlayerCtor:",a),!a){const e=this.customConfig&&this.customConfig.xgplayerJsUrl||"https://cdn.jsdelivr.net/npm/xgplayer@3.0.23/dist/index.min.js";g&&(window.Player||window.xgplayer)||(await this.loadScript(e),g=!0);let t=window.Player||window.xgplayer;console.log("PlayerCtor:",t),t&&t.default&&(t=t.default),a=t}if(!y){const e=this.customConfig&&this.customConfig.xgplayerCssUrl||"https://cdn.jsdelivr.net/npm/xgplayer@3.0.23/dist/index.min.css",t=document.createElement("link");t.rel="stylesheet",t.href=e,document.head.appendChild(t),y=!0}},async ensureMpegts(){if(h)return;const e=this.customConfig&&this.customConfig.mpegtsLibUrl||"https://cdn.jsdelivr.net/npm/mpegts.js@1.7.0/dist/mpegts.min.js";await new Promise((t,i)=>{const o=document.createElement("script");o.src=e,o.async=!0,o.onload=()=>t(),o.onerror=e=>i(e),document.head.appendChild(o)}),h=window.mpegts||window.Mpegts||null},async ensureEzopen(){if(f)return;try{z||(z=l.e(552).then(l.bind(l,4552)));const e=await z,t=e&&e.EZUIKitPlayer||e&&e.default&&e.default.EZUIKitPlayer;if(t)return void(f=t)}catch(e){}const e=this.customConfig&&this.customConfig.ezuikitUrl||"https://cdn.jsdelivr.net/npm/ezuikit-js@8.1.6/ezuikit.js",t=!!window.EZUIKitPlayer||!(!window.EZUIKit||!window.EZUIKit.EZUIKitPlayer)||!!window.EZUIPlayer;w&&t||(await this.loadScript(e),w=!0),f=window.EZUIKitPlayer||window.EZUIKit&&window.EZUIKit.EZUIKitPlayer||window.EZUIPlayer||null},async ensureJsWebRtc(){if(m)return;const e=this.customConfig&&this.customConfig.jsWebRtcUrl||"https://cdn.jsdelivr.net/npm/jswebrtc@1.0.1/dist/jswebrtc.min.js";E&&window.JSWebrtc||(await this.loadScript(e),E=!0),m=window.JSWebrtc},async init(){const e=function(e,t){if(t&&"auto"!==t)return t;if(!e||"string"!=typeof e)return"mp4";const i=e.toLowerCase();return i.startsWith("ezopen://")?"ezopen":i.startsWith("webrtc://")?"webrtc":i.startsWith("rtsp://")?"rtsp":i.startsWith("rtp://")?"rtp":i.startsWith("rtmp://")||i.startsWith("rtmps://")?"rtmp":i.endsWith(".m3u8")?"hls":i.endsWith(".flv")?"flv":i.endsWith(".mpd")?"dash":"mp4"}(this.normalizedUrl,this.type);if(console.log("this.normalizedUrl:"+e),"ezopen"===e)return void await this.initEzopen();if("webrtc"===e)return void await this.initWebRtc();if("ezuikit-flv"===e)return void await this.initEzuikitFlv();if("rtsp"===e||"rtp"===e)return void await this.initRtsp();await this.ensureDeps();const t=[];let i=this.normalizedUrl;if("hls"===e){if(!document.createElement("video").canPlayType("application/vnd.apple.mpegurl")){if(!d){const e=this.customConfig&&this.customConfig.hlsJsPluginUrl||"https://cdn.jsdelivr.net/npm/xgplayer-hls.js@3.0.23/dist/index.min.js";v&&window.HlsJsPlugin||(await this.loadScript(e),v=!0),d=window.HlsJsPlugin,d&&d.default&&(d=d.default)}d&&t.push(d)}}else if("flv"===e||"rtmp"===e){if(window.MediaSource||console.warn("Current browser does not support MediaSource Extensions (MSE), FLV playback may fail."),"rtmp"===e){if(console.log("this.customConfig:",this.customConfig),!this.customConfig||!this.customConfig.flvUrl)return void this.$emit("error",new Error("浏览器不支持 RTMP,请提供 flvUrl (HTTP-FLV/WS-FLV)"));i=this.customConfig.flvUrl}if(!p){const e=this.customConfig&&this.customConfig.flvJsPluginUrl||"https://cdn.jsdelivr.net/npm/xgplayer-flv.js@3.0.23/dist/index.min.js";b&&window.FlvJsPlugin||(await this.loadScript(e),b=!0),p=window.FlvJsPlugin,p&&p.default&&(p=p.default)}p&&t.push(p)}else if("dash"===e){if(!u){const e=this.customConfig&&this.customConfig.dashPluginUrl||"https://cdn.jsdelivr.net/npm/xgplayer-dash@3.0.0/dist/index.min.js";C&&window.DashPlugin||(await this.loadScript(e),C=!0),u=window.DashPlugin,u&&u.default&&(u=u.default)}t.push(u)}const o=Object.assign({id:this.playerId,url:i,poster:this.resolvedPoster,autoplay:this.autoplay,controls:this.controls,loop:this.loop,volume:this.volume,playsinline:this.playsinline,width:this.width,height:this.height,plugins:t},this.customConfig||{});this.player=new a(o),this.bindEvents(),this.$emit("ready")},bindEvents(){this.player&&(this.player.on("play",()=>this.$emit("play")),this.player.on("pause",()=>this.$emit("pause")),this.player.on("ended",()=>this.$emit("ended")),this.player.on("error",e=>this.$emit("error",e)),this.player.on("timeupdate",e=>this.$emit("timeupdate",e)),this.player.on("waiting",()=>this.$emit("waiting")),this.player.on("fullscreenchange",e=>this.$emit("fullscreenChange",e)),this.player.on("definitionchange",e=>this.$emit("definitionChange",e)))},bindVideoEvents(){this.videoEl&&(this.videoEl.addEventListener("play",()=>this.$emit("play")),this.videoEl.addEventListener("pause",()=>this.$emit("pause")),this.videoEl.addEventListener("ended",()=>this.$emit("ended")),this.videoEl.addEventListener("waiting",()=>this.$emit("waiting")),this.videoEl.addEventListener("timeupdate",()=>this.$emit("timeupdate",{currentTime:this.videoEl.currentTime})),this.$emit("ready"))},async initRtsp(){try{await this.ensureMpegts()}catch(e){return void this.$emit("error",e)}const e=document.getElementById(this.playerId);if(!e)return;for(;e.firstChild;)e.removeChild(e.firstChild);const t=document.createElement("video");t.style.width="100%",t.style.height="100%",t.autoplay=!!this.autoplay,t.controls=!!this.controls,t.loop=!!this.loop,t.playsInline=!!this.playsinline,t.muted=!1,this.resolvedPoster&&(t.poster=this.resolvedPoster),e.appendChild(t),this.videoEl=t;const i=(()=>{const e=this.normalizedUrl||"";return/^ws(s)?:\/\//.test(e)||/^http(s)?:\/\//.test(e)?e:this.customConfig&&this.customConfig.mpegtsUrl?this.customConfig.mpegtsUrl:""})();if(!h||!i)return this.bindVideoEvents(),void this.$emit("error",new Error("RTSP/RTP 需要后端转码为 WebSocket/MPEG-TS,请提供 mpegtsUrl"));const o={isLive:!0,type:"mpegts",url:i},n=h.createPlayer(o,this.customConfig&&this.customConfig.mpegtsConfig||{});n.attachMediaElement(t),n.load(),this.player=n,this.bindVideoEvents(),this.autoplay&&Promise.resolve(t.play()).catch(()=>{})},async initWebRtc(){try{await this.ensureJsWebRtc()}catch(e){return void this.$emit("error",e)}if(!m)return void this.$emit("error",new Error("JSWebrtc load failed"));const e=document.getElementById(this.playerId);if(!e)return;for(;e.firstChild;)e.removeChild(e.firstChild);const t=document.createElement("video");t.style.width="100%",t.style.height="100%",t.autoplay=!!this.autoplay,t.controls=!!this.controls,t.loop=!!this.loop,t.playsInline=!!this.playsinline,this.resolvedPoster&&(t.poster=this.resolvedPoster),e.appendChild(t),this.videoEl=t;const i=this.normalizedUrl;this.player=new m.Player(i,{video:t,autoplay:this.autoplay,onPlay:e=>{console.log("JSWebrtc onPlay",e),this.$emit("play")},onPause:e=>{this.$emit("pause")}}),this.bindVideoEvents()},async initEzopen(){if(await this.ensureEzopen(),!f)return console.error("EZUIKitPlayer load failed"),void this.$emit("error",{message:"EZUIKitPlayer load failed"});const e=document.getElementById(this.playerId);if(!e)return;e.innerHTML="";let t=this.accessToken;if(!t&&"object"==typeof this.src&&this.src.accessToken&&(t=this.src.accessToken),!t&&"object"==typeof this.src&&this.src.access_token&&(t=this.src.access_token),t="string"==typeof t?t.trim():"",!t){const e=new Error("EZUIKit 播放失败:缺少 accessToken");return void this.$emit("error",e)}const i=this.resolveEzopenDomain();if(/^ezopen:\/\/open\.ezviz\.com/i.test((this.normalizedUrl||"").trim())&&!i){const e=new Error("EZUIKit 播放失败:海外设备必须配置 areaDomain,例如 https://isgpopen.ezvizlife.com");return void this.$emit("error",e)}let o=this.width,n=this.height;const s=e.parentElement||e,r=s.clientWidth||s.offsetWidth||e.clientWidth||e.offsetWidth||0,a=s.clientHeight||s.offsetHeight||e.clientHeight||e.offsetHeight||0;console.log("度-parentEl",s),console.log("度-containerHeight",a);const l=(e,t)=>{if("number"==typeof e&&Number.isFinite(e))return e;const i=e.trim();if(!i)return t;if(i.endsWith("px")){const e=parseFloat(i.slice(0,-2));return Number.isFinite(e)?e:t}if(/^\d+(\.\d+)?$/.test(i))return parseFloat(i);if("auto"===i||i.includes("%")||i.includes("vw")||i.includes("vh")||i.includes("rem")||i.includes("em"))return t;const o=parseFloat(i);return Number.isFinite(o)?o:t};o=l(o,r)||600,n=l(n,a)||400,console.log("度-w",o),console.log("度-h",n),console.log("EzuiPlayerCtor",f);const c={id:this.playerId,url:this.normalizedUrl,accessToken:t,template:"pcLive",scaleMode:1,autoplay:this.autoplay,poster:this.resolvedPoster,width:Math.max(1,Math.round(o)),height:Math.max(1,Math.round(n)),handleSuccess:()=>{console.log("EZUIKit play success"),this.clearEzopenReconnect(),this.ezopenReconnectCount=0,this.$emit("play")},handleError:e=>{console.error("EZUIKit play error",e),this.$emit("error",e),this.scheduleEzopenReconnect(e)}};console.log("this.areaDomain",this.areaDomain),i&&(c.env={domain:i}),console.log("options",c),this.player=new f(c),console.log("this.player",this.player);const d=this.player&&this.player.eventEmitter,p=f&&f.EVENTS;d&&p&&(p.play&&d.on(p.play,()=>this.$emit("play")),p.pause&&d.on(p.pause,()=>this.$emit("pause")),p.stop&&d.on(p.stop,()=>this.$emit("ended")),p.openSound&&d.on(p.openSound,()=>this.$emit("openSound")),p.closeSound&&d.on(p.closeSound,()=>this.$emit("closeSound")),p.fullscreenChange&&d.on(p.fullscreenChange,e=>this.$emit("fullscreenChange",e))),this.installEzopenCaptureHook(f),this.$emit("ready")},async handleCapturePictureBase64({fileName:e,base64:t}){if(this.captureUploading)return;const i="string"==typeof t?t:"";if(!i)return;let o=i;o.startsWith("data:")||(o="data:image/png;base64,"+i);const n=this.customConfig&&this.customConfig.captureUploadUrl||"/platform/v1/papi/app_file/upload/",r=this.customConfig&&this.customConfig.captureUploadFieldName||"userfile",a="string"==typeof e&&e?e:"capture",l=this.dataUrlToFile(o,a);if(!l)return;const c=new FormData;c.append(r,l);const d=this.customConfig&&this.customConfig.captureUploadExtra;d&&"object"==typeof d&&Object.keys(d).forEach(e=>{void 0!==d[e]&&c.append(e,d[e])}),this.captureUploading=!0;try{const e=await s().post(n,c,{headers:{"Content-Type":"multipart/form-data"}}),t=e&&e.data,i=t&&t.data&&(t.data.file_md5||t.data.md5)||t&&(t.file_md5||t.md5)||"";if(console.log("md5",i),!i)return void this.$emit("captureError",{message:"截图上传成功但未返回 md5",response:t});this.$emit("captureUploaded",{md5:i,poster:i,fileName:a}),this.$emit("update:poster",i)}catch(e){this.$emit("captureError",e)}finally{this.captureUploading=!1}},dataUrlToFile(e,t){if(!e||"string"!=typeof e)return null;const i=e.split(",");if(i.length<2)return null;const o=i[0]||"",n=i[1]||"",s=o.match(/data:([^;]+);base64/i),r=s&&s[1]||"image/png",a=atob(n),l=a.length,c=new Uint8Array(l);for(let e=0;e<l;e++)c[e]=a.charCodeAt(e);const d=r.includes("jpeg")?"jpg":r.split("/")[1]||"png",p=(t||"capture").replace(/[\\/:*?"<>|]+/g,"_");return new File([c],`${p}.${d}`,{type:r})},installEzopenCaptureHook(e){if(console.log("EZUIKitPlayerCtor",e),console.log("this.player",this.player),!this.player||"function"!=typeof this.player.capturePicture)return;const t=this.player.capturePicture.bind(this.player);this._ezopenCaptureOriginal=t,this.player.capturePicture=(e,i)=>{console.log("capturePicture_cb",i);const o="string"==typeof e&&e?e:"capture";t(o,e=>{const t=e&&e.base64||e&&e.data&&e.data.base64||("string"==typeof e?e:"");this.handleCapturePictureBase64({fileName:o,base64:t})})}},async initEzuikitFlv(){},async reload(){this.destroy(),setTimeout(()=>{this.init()},0)},destroy(){if(this.clearEzopenReconnect(),this.player)if(this.player.destroy)try{this.player.destroy()}catch(e){}else if(this.player.stop)try{this.player.stop()}catch(e){}if(this.player=null,this.videoEl&&this.videoEl.parentNode){try{this.videoEl.pause()}catch(e){}this.videoEl.parentNode.removeChild(this.videoEl)}this.videoEl=null},play(){this.videoEl?this.videoEl.play():this.player&&this.player.play&&this.player.play()},pause(){this.videoEl?this.videoEl.pause():this.player&&this.player.pause&&this.player.pause()},seek(e){if(this.videoEl&&"number"==typeof e)try{this.videoEl.currentTime=e}catch(e){}else if(this.player&&"number"==typeof e)try{this.player.currentTime=e}catch(e){}},setVolume(e){this.videoEl&&"number"==typeof e?this.videoEl.volume=Math.max(0,Math.min(1,e)):this.player&&"number"==typeof e&&(this.player.volume=Math.max(0,Math.min(1,e)))},setPlaybackRate(e){this.videoEl&&"number"==typeof e?this.videoEl.playbackRate=e:this.player&&"number"==typeof e&&(this.player.playbackRate=e)}}},P=l(4486),j=(0,P.A)(U,o,[],!1,null,null,null);j.options.__file="components/lib/bpmVideo/src/player.vue";var T={name:"BpmVideoEditor",components:{BpmVideoPlayer:j.exports},props:{value:{type:[String,Object,Array]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"edit"}},readonly:{type:Boolean,default:!1},uiType:{type:String,default(){return"normal"}}},data(){return{editDialogVisible:!1,viewDialogVisible:!1,localList:[],tempList:[],localConf:{type:"auto",autoplay:!0,controls:!0,loop:!1,volume:.6,plays_inline:!0,width:"100%",height:"360px",customConfig:{}},isFullscreen:!1}},computed:{dialogWidth(){return this.fieldConf.style.dialog_width||"80%"},videoUiType(){return"table"===this.uiType?"dialog":this.fieldConf.style.video_ui_type||"normal"},previewSrc(){return this.localList.length>0?this.localList[0].src||"":"string"==typeof this.value?this.value:this.value&&"object"==typeof this.value&&(this.value.src||this.value.url)||""},previewPoster(){return this.localList.length>0?this.localList[0].poster||"":this.value&&"object"==typeof this.value?this.value.poster||"":this.fieldConf&&"string"==typeof this.fieldConf.poster?this.fieldConf.poster:""},gridCols(){const e=this.localList.length;return e<=1?1:e<=4?2:e<=9?3:e<=16?4:5},gridStyle(){return{display:"grid",gridTemplateColumns:`repeat(${this.gridCols}, 1fr)`,gridTemplateRows:`repeat(${this.gridCols}, 1fr)`,gap:"0",width:"100%",height:"100%"}}},watch:{fieldConf:{handler(e){this.mergeConf(e)},immediate:!0,deep:!0},value:{handler(e){Array.isArray(e)?this.localList=e.map(e=>({src:e&&(e.src||e.url)||"",poster:e&&e.poster||"",access_token:e&&e.access_token||"",type:e&&e.type||"auto",area_domain:e&&e.area_domain||""})):this.localList="string"==typeof e?[{src:e,poster:"",access_token:"",type:"auto"}]:e&&"object"==typeof e?[{src:e.src||e.url||"",poster:e.poster||"",access_token:e.access_token||"",type:e.type||"auto",area_domain:e.area_domain||""}]:[]},immediate:!0}},mounted(){document.addEventListener("keydown",this.handleEscKey)},beforeDestroy(){document.removeEventListener("keydown",this.handleEscKey)},methods:{handleCaptureUploaded(e,t){console.log("handleCaptureUploaded",e,t);const i={name:t.name||"capture.jepg",type:"image/jpeg",md5:t.md5||"",create_time:(new Date).getTime()/1e3};this.localList&&this.localList[e]&&(this.localList[e].poster=i),this.editDialogVisible&&this.tempList&&this.tempList[e]&&(this.tempList[e].poster=i),this.emitChange(),this.$emit("posterChange",{index:e,...t})},handleEscKey(e){"Escape"===e.key&&this.isFullscreen&&(this.isFullscreen=!1)},handleCloseDialog(){this.isFullscreen=!1},toggleFullscreen(){this.isFullscreen=!this.isFullscreen},mergeConf(e){console.log("fieldConf",e);const t=e.style||{},i=Object.assign({},this.localConf,t);t&&void 0!==t.width&&(i.width=t.width),t&&void 0!==t.height&&(i.height=t.height),this.localConf=i},openEditDialog(){this.tempList=_.cloneDeep(this.localList),this.editDialogVisible=!0},addItem(){this.tempList.push({src:"",poster:"",access_token:"",type:"auto",area_domain:""})},removeItem(e){this.tempList.splice(e,1)},confirmEdit(){this.localList=_.cloneDeep(this.tempList),this.emitChange(),this.editDialogVisible=!1},emitChange(){const e=this.localList.map(e=>({src:e.src||"",poster:e.poster||"",access_token:e.access_token||"",type:e.type||"auto",area_domain:e.area_domain||""}));this.$emit("input",e),this.$emit("change",e)}}},L=(l(7234),(0,P.A)(T,t,[],!1,null,null,null));L.options.__file="components/lib/bpmVideo/src/part/editor.vue";var V=L.exports,R=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"bpm-video-reader"},[i("bpm-video-editor",e._g({attrs:{value:e.sourcesList,fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType,readonly:!0}},e.$listeners))],1)};R._withStripped=!0;var D={name:"BpmVideoReader",components:{BpmVideoEditor:V},props:{value:{type:[String,Object,Array]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"normal"}}},computed:{sourcesList(){return Array.isArray(this.value)&&this.value.length>0?this.value.map(e=>({src:e&&(e.src||e.url)||"",access_token:e&&e.access_token||"",area_domain:e&&e.area_domain||"",type:e&&e.type||"",poster:e&&e.poster||""})).filter(e=>e.src):this.fieldConf&&Array.isArray(this.fieldConf.src)&&this.fieldConf.src.length>0?this.fieldConf.src.map(e=>({src:e&&(e.src||e.url)||"",poster:e&&e.poster||"",access_token:e&&e.access_token||"",area_domain:e&&e.area_domain||"",type:e&&e.type||""})).filter(e=>e.src):"string"==typeof this.value&&this.value?[{src:this.value,poster:this.fieldConf&&"string"==typeof this.fieldConf.poster?this.fieldConf.poster:"",access_token:i&&i.access_token||"",area_domain:i&&i.area_domain||"",type:i&&i.type||""}]:this.fieldConf&&"string"==typeof this.fieldConf.src&&this.fieldConf.src?[{src:this.fieldConf.src,poster:this.fieldConf&&"string"==typeof this.fieldConf.poster?this.fieldConf.poster:"",access_token:i&&i.access_token||"",area_domain:i&&i.area_domain||"",type:i&&i.type||""}]:this.fieldConf&&this.fieldConf.defaultSrc?[{src:this.fieldConf.defaultSrc,poster:this.fieldConf&&"string"==typeof this.fieldConf.poster?this.fieldConf.poster:"",access_token:i&&i.access_token||"",area_domain:i&&i.area_domain||"",type:i&&i.type||""}]:[]}},vmounted(){console.log("this.fieldConf",this.fieldConf)}},I=(0,P.A)(D,R,[],!1,null,null,null);I.options.__file="components/lib/bpmVideo/src/part/reader.vue";var F=I.exports,A={name:"BpmVideo",components:{editorComponent:V,readerComponent:F},props:{value:{type:[String,Object,Array]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"normal"}}},data(){return{curVal:[]}},computed:{curComponent(){return"view"===this.mode?F:V}},watch:{value(e){if(console.log("video_val",e),Array.isArray(this.value))this.curVal=this.value;else if("string"==typeof this.value&&this.value){const e=this.fieldConf&&"string"==typeof this.fieldConf.poster?this.fieldConf.poster:"";this.curVal=[{src:this.value,poster:e}]}else if(this.value&&"object"==typeof this.value){const e=this.value.src||this.value.url||"",t=this.value.poster||"";this.curVal=e?[{src:e,poster:t}]:[]}else this.curVal=[]}},mounted(){const e=!!this.fieldConf,t=void 0!==this.value?this.value:e&&void 0!==this.fieldConf.src?this.fieldConf.src:e&&this.fieldConf.defaultSrc?this.fieldConf.defaultSrc:"";if(Array.isArray(t))this.curVal=t;else if("string"==typeof t&&t){const i=e&&"string"==typeof this.fieldConf.poster?this.fieldConf.poster:"";this.curVal=[{src:t,poster:i}]}else if(t&&"object"==typeof t){const e=t.src||t.url||"",i=t.poster||"";this.curVal=e?[{src:e,poster:i}]:[]}else this.curVal=[]},methods:{handleChange(e){if(Array.isArray(e))return this.curVal=e,this.$emit("input",this.curVal),void this.$emit("change",this.curVal);if("string"==typeof e){const t=this.fieldConf&&"string"==typeof this.fieldConf.poster?this.fieldConf.poster:"";this.curVal=[{src:e,poster:t}]}else if(e&&"object"==typeof e){const t=e.src||e.url||"",i=e.poster||"";this.curVal=t?[{src:t,poster:i}]:[]}else this.curVal=[];this.$emit("input",this.curVal),this.$emit("change",this.curVal)}}},W=(0,P.A)(A,e,[],!1,null,null,null);W.options.__file="components/lib/bpmVideo/src/main.vue";var M=W.exports;M.install=function(e){e.component(M.name,M)};var N=M}(),c}()});
|
package/dist/css/bpmMulFile.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.bpm-mul-file-edit .no-photo-file-box:hover .overlay,.bpm-mul-file-reader .no-photo-file-box:hover .overlay,.bpm-mul-image-edit .no-photo-file-box:hover .overlay,.bpm-mul-image-reader .no-photo-file-box:hover .overlay{opacity:1}.bpm-mul-file-edit .el-upload-dragger,.bpm-mul-file-reader .el-upload-dragger,.bpm-mul-image-edit .el-upload-dragger,.bpm-mul-image-reader .el-upload-dragger{width:200px;height:80px}.bpm-mul-file-edit .el-upload-dragger .el-icon-upload,.bpm-mul-file-reader .el-upload-dragger .el-icon-upload,.bpm-mul-image-edit .el-upload-dragger .el-icon-upload,.bpm-mul-image-reader .el-upload-dragger .el-icon-upload{font-size:40px;color:#b8bcc4;margin:0;line-height:40px}.bpm-mul-file-edit .el-upload-dragger .el-upload__text,.bpm-mul-file-reader .el-upload-dragger .el-upload__text,.bpm-mul-image-edit .el-upload-dragger .el-upload__text,.bpm-mul-image-reader .el-upload-dragger .el-upload__text{font-size:10px}.bpm-mul-file-edit .file-box,.bpm-mul-file-edit .no-photo-file-box,.bpm-mul-file-reader .file-box,.bpm-mul-file-reader .no-photo-file-box,.bpm-mul-image-edit .file-box,.bpm-mul-image-edit .no-photo-file-box,.bpm-mul-image-reader .file-box,.bpm-mul-image-reader .no-photo-file-box{position:relative}.bpm-mul-file-edit .file-box .file-icon .fa-file-pdf-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-pdf-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-pdf-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-pdf-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-pdf-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-pdf-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-pdf-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-pdf-o{color:#ce1919}.bpm-mul-file-edit .file-box .file-icon .fa-file-word-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-word-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-word-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-word-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-word-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-word-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-word-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-word-o{color:#2C70E4}.bpm-mul-file-edit .file-box .file-icon .fa-file-excel-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-excel-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-excel-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-excel-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-excel-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-excel-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-excel-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-excel-o{color:#5EBE7F}.bpm-mul-file-edit .file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-powerpoint-o{color:#e76846}.bpm-mul-file-edit .file-box .file-icon .fa-file-archive-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-audio-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-code-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-image-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-text-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-video-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-archive-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-audio-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-code-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-image-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-text-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-video-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-archive-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-audio-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-code-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-image-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-text-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-video-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-archive-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-audio-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-code-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-image-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-text-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-video-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-archive-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-audio-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-code-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-image-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-text-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-video-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-archive-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-audio-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-code-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-image-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-text-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-video-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-archive-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-audio-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-code-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-image-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-text-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-video-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-archive-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-audio-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-code-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-image-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-text-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-video-o{color:#666}.bpm-mul-file-edit .file-box .overlay,.bpm-mul-file-edit .no-photo-file-box .overlay,.bpm-mul-file-reader .file-box .overlay,.bpm-mul-file-reader .no-photo-file-box .overlay,.bpm-mul-image-edit .file-box .overlay,.bpm-mul-image-edit .no-photo-file-box .overlay,.bpm-mul-image-reader .file-box .overlay,.bpm-mul-image-reader .no-photo-file-box .overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;opacity:0;z-index:2;transition:opacity .3s ease}.bpm-mul-file-edit .file-box .overlay .overlay-btn,.bpm-mul-file-edit .no-photo-file-box .overlay .overlay-btn,.bpm-mul-file-reader .file-box .overlay .overlay-btn,.bpm-mul-file-reader .no-photo-file-box .overlay .overlay-btn,.bpm-mul-image-edit .file-box .overlay .overlay-btn,.bpm-mul-image-edit .no-photo-file-box .overlay .overlay-btn,.bpm-mul-image-reader .file-box .overlay .overlay-btn,.bpm-mul-image-reader .no-photo-file-box .overlay .overlay-btn{color:#fff;font-size:16px;height:30px;line-height:30px;border-radius:3px;width:30px}.bpm-mul-file-edit .file-box .overlay .overlay-btn:hover,.bpm-mul-file-edit .no-photo-file-box .overlay .overlay-btn:hover,.bpm-mul-file-reader .file-box .overlay .overlay-btn:hover,.bpm-mul-file-reader .no-photo-file-box .overlay .overlay-btn:hover,.bpm-mul-image-edit .file-box .overlay .overlay-btn:hover,.bpm-mul-image-edit .no-photo-file-box .overlay .overlay-btn:hover,.bpm-mul-image-reader .file-box .overlay .overlay-btn:hover,.bpm-mul-image-reader .no-photo-file-box .overlay .overlay-btn:hover{background-color:#01010166}.bpm-mul-file-edit .file-box,.bpm-mul-file-reader .file-box,.bpm-mul-image-edit .file-box,.bpm-mul-image-reader .file-box{overflow:hidden;margin:0 4px 4px;display:flex;align-items:center}.bpm-mul-file-edit .file-box:hover,.bpm-mul-file-reader .file-box:hover,.bpm-mul-image-edit .file-box:hover,.bpm-mul-image-reader .file-box:hover{background:#EFF2F7;border-radius:4px}.bpm-mul-file-edit .file-box>*,.bpm-mul-file-reader .file-box>*,.bpm-mul-image-edit .file-box>*,.bpm-mul-image-reader .file-box>*{float:left}.bpm-mul-file-edit .file-box .file-content,.bpm-mul-file-reader .file-box .file-content,.bpm-mul-image-edit .file-box .file-content,.bpm-mul-image-reader .file-box .file-content{height:auto}.bpm-mul-file-edit .file-box .file-content .preview-image,.bpm-mul-file-reader .file-box .file-content .preview-image,.bpm-mul-image-edit .file-box .file-content .preview-image,.bpm-mul-image-reader .file-box .file-content .preview-image{width:auto;height:90px}.bpm-mul-file-edit .file-box .file-link,.bpm-mul-file-reader .file-box .file-link,.bpm-mul-image-edit .file-box .file-link,.bpm-mul-image-reader .file-box .file-link{margin-top:5px;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bpm-mul-file-edit .file-box .file-icon,.bpm-mul-file-reader .file-box .file-icon,.bpm-mul-image-edit .file-box .file-icon,.bpm-mul-image-reader .file-box .file-icon{font-size:16px}.bpm-mul-file-edit .no-photo-file-box,.bpm-mul-file-reader .no-photo-file-box,.bpm-mul-image-edit .no-photo-file-box,.bpm-mul-image-reader .no-photo-file-box{width:90px;height:90px;background-color:#F1F3FF;display:flex;flex-direction:column;align-items:center;justify-content:center}.bpm-mul-file-edit .no-photo-file-box .file-icon,.bpm-mul-file-reader .no-photo-file-box .file-icon,.bpm-mul-image-edit .no-photo-file-box .file-icon,.bpm-mul-image-reader .no-photo-file-box .file-icon{font-size:35px}.bpm-mul-file-edit .no-photo-file-box .file-name,.bpm-mul-file-reader .no-photo-file-box .file-name,.bpm-mul-image-edit .no-photo-file-box .file-name,.bpm-mul-image-reader .no-photo-file-box .file-name{font-size:10px;width:70px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bpm-mul-file-edit .file-remove,.bpm-mul-file-edit .operation-box,.bpm-mul-file-reader .file-remove,.bpm-mul-file-reader .operation-box,.bpm-mul-image-edit .file-remove,.bpm-mul-image-edit .operation-box,.bpm-mul-image-reader .file-remove,.bpm-mul-image-reader .operation-box{flex-shrink:0;font-weight:400;width:94px;font-size:12px;color:#246AE3;line-height:14px;margin:6px 0 0 20px;cursor:pointer}.bpm-mul-file-reader .text-faded,.bpm-mul-image-reader .text-faded{margin-top:4px}img{display:block;height:100%;width:auto}.viewer-container{z-index:10000!important}.bpm-sub-form-field .el-upload{width:100%}.bpm-sub-form-field .el-upload .el-upload-dragger{width:auto;height:45px}.bpm-sub-form-field .el-upload .el-upload-dragger .el-upload__text{display:none}.bpm-sub-form-field .file-box .file-content .preview-image{height:50px}
|
|
1
|
+
.bpm-mul-file-edit .no-photo-file-box:hover .overlay,.bpm-mul-file-reader .no-photo-file-box:hover .overlay,.bpm-mul-image-edit .no-photo-file-box:hover .overlay,.bpm-mul-image-reader .no-photo-file-box:hover .overlay{opacity:1}.bpm-mul-file-edit .el-upload-dragger,.bpm-mul-file-reader .el-upload-dragger,.bpm-mul-image-edit .el-upload-dragger,.bpm-mul-image-reader .el-upload-dragger{width:200px;height:80px}.bpm-mul-file-edit .el-upload-dragger .el-icon-upload,.bpm-mul-file-reader .el-upload-dragger .el-icon-upload,.bpm-mul-image-edit .el-upload-dragger .el-icon-upload,.bpm-mul-image-reader .el-upload-dragger .el-icon-upload{font-size:40px;color:#b8bcc4;margin:0;line-height:40px}.bpm-mul-file-edit .el-upload-dragger .el-upload__text,.bpm-mul-file-reader .el-upload-dragger .el-upload__text,.bpm-mul-image-edit .el-upload-dragger .el-upload__text,.bpm-mul-image-reader .el-upload-dragger .el-upload__text{font-size:10px}.bpm-mul-file-edit .file-box,.bpm-mul-file-edit .no-photo-file-box,.bpm-mul-file-reader .file-box,.bpm-mul-file-reader .no-photo-file-box,.bpm-mul-image-edit .file-box,.bpm-mul-image-edit .no-photo-file-box,.bpm-mul-image-reader .file-box,.bpm-mul-image-reader .no-photo-file-box{position:relative}.bpm-mul-file-edit .file-box .file-icon .fa-file-pdf-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-pdf-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-pdf-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-pdf-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-pdf-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-pdf-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-pdf-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-pdf-o{color:#ce1919}.bpm-mul-file-edit .file-box .file-icon .fa-file-word-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-word-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-word-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-word-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-word-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-word-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-word-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-word-o{color:#2C70E4}.bpm-mul-file-edit .file-box .file-icon .fa-file-excel-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-excel-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-excel-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-excel-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-excel-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-excel-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-excel-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-excel-o{color:#5EBE7F}.bpm-mul-file-edit .file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-powerpoint-o{color:#e76846}.bpm-mul-file-edit .file-box .file-icon .fa-file-archive-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-audio-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-code-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-image-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-text-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-video-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-archive-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-audio-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-code-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-image-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-text-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-video-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-archive-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-audio-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-code-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-image-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-text-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-video-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-archive-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-audio-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-code-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-image-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-text-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-video-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-archive-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-audio-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-code-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-image-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-text-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-video-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-archive-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-audio-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-code-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-image-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-text-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-video-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-archive-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-audio-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-code-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-image-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-text-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-video-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-archive-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-audio-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-code-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-image-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-text-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-video-o{color:#666}.bpm-mul-file-edit .file-box .overlay,.bpm-mul-file-edit .no-photo-file-box .overlay,.bpm-mul-file-reader .file-box .overlay,.bpm-mul-file-reader .no-photo-file-box .overlay,.bpm-mul-image-edit .file-box .overlay,.bpm-mul-image-edit .no-photo-file-box .overlay,.bpm-mul-image-reader .file-box .overlay,.bpm-mul-image-reader .no-photo-file-box .overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;opacity:0;z-index:2;transition:opacity .3s ease}.bpm-mul-file-edit .file-box .overlay .overlay-btn,.bpm-mul-file-edit .no-photo-file-box .overlay .overlay-btn,.bpm-mul-file-reader .file-box .overlay .overlay-btn,.bpm-mul-file-reader .no-photo-file-box .overlay .overlay-btn,.bpm-mul-image-edit .file-box .overlay .overlay-btn,.bpm-mul-image-edit .no-photo-file-box .overlay .overlay-btn,.bpm-mul-image-reader .file-box .overlay .overlay-btn,.bpm-mul-image-reader .no-photo-file-box .overlay .overlay-btn{color:#fff;font-size:16px;height:30px;line-height:30px;border-radius:3px;width:30px}.bpm-mul-file-edit .file-box .overlay .overlay-btn:hover,.bpm-mul-file-edit .no-photo-file-box .overlay .overlay-btn:hover,.bpm-mul-file-reader .file-box .overlay .overlay-btn:hover,.bpm-mul-file-reader .no-photo-file-box .overlay .overlay-btn:hover,.bpm-mul-image-edit .file-box .overlay .overlay-btn:hover,.bpm-mul-image-edit .no-photo-file-box .overlay .overlay-btn:hover,.bpm-mul-image-reader .file-box .overlay .overlay-btn:hover,.bpm-mul-image-reader .no-photo-file-box .overlay .overlay-btn:hover{background-color:#01010166}.bpm-mul-file-edit .file-box,.bpm-mul-file-reader .file-box,.bpm-mul-image-edit .file-box,.bpm-mul-image-reader .file-box{overflow:hidden;margin:0 4px 4px;display:flex;align-items:center}.bpm-mul-file-edit .file-box:hover,.bpm-mul-file-reader .file-box:hover,.bpm-mul-image-edit .file-box:hover,.bpm-mul-image-reader .file-box:hover{background:#EFF2F7;border-radius:4px}.bpm-mul-file-edit .file-box>*,.bpm-mul-file-reader .file-box>*,.bpm-mul-image-edit .file-box>*,.bpm-mul-image-reader .file-box>*{float:left}.bpm-mul-file-edit .file-box .file-content,.bpm-mul-file-reader .file-box .file-content,.bpm-mul-image-edit .file-box .file-content,.bpm-mul-image-reader .file-box .file-content{height:auto}.bpm-mul-file-edit .file-box .file-content .preview-image,.bpm-mul-file-reader .file-box .file-content .preview-image,.bpm-mul-image-edit .file-box .file-content .preview-image,.bpm-mul-image-reader .file-box .file-content .preview-image{width:auto;height:90px}.bpm-mul-file-edit .file-box .file-link,.bpm-mul-file-reader .file-box .file-link,.bpm-mul-image-edit .file-box .file-link,.bpm-mul-image-reader .file-box .file-link{margin-top:5px;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bpm-mul-file-edit .file-box .file-icon,.bpm-mul-file-reader .file-box .file-icon,.bpm-mul-image-edit .file-box .file-icon,.bpm-mul-image-reader .file-box .file-icon{font-size:16px}.bpm-mul-file-edit .no-photo-file-box,.bpm-mul-file-reader .no-photo-file-box,.bpm-mul-image-edit .no-photo-file-box,.bpm-mul-image-reader .no-photo-file-box{width:90px;height:90px;background-color:#F1F3FF;display:flex;flex-direction:column;align-items:center;justify-content:center}.bpm-mul-file-edit .no-photo-file-box .file-icon,.bpm-mul-file-reader .no-photo-file-box .file-icon,.bpm-mul-image-edit .no-photo-file-box .file-icon,.bpm-mul-image-reader .no-photo-file-box .file-icon{font-size:35px}.bpm-mul-file-edit .no-photo-file-box .file-name,.bpm-mul-file-reader .no-photo-file-box .file-name,.bpm-mul-image-edit .no-photo-file-box .file-name,.bpm-mul-image-reader .no-photo-file-box .file-name{font-size:10px;width:70px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bpm-mul-file-edit .file-remove,.bpm-mul-file-edit .operation-box,.bpm-mul-file-reader .file-remove,.bpm-mul-file-reader .operation-box,.bpm-mul-image-edit .file-remove,.bpm-mul-image-edit .operation-box,.bpm-mul-image-reader .file-remove,.bpm-mul-image-reader .operation-box{flex-shrink:0;font-weight:400;width:94px;font-size:12px;color:#246AE3;line-height:14px;margin:6px 0 0 20px;cursor:pointer}.bpm-mul-file-reader .text-faded,.bpm-mul-image-reader .text-faded{margin-top:4px}img{display:block;height:100%;width:auto}.viewer-container{z-index:10000!important}.bpm-sub-form-field .el-upload{width:100%}.bpm-sub-form-field .el-upload .el-upload-dragger{width:auto;height:45px}.bpm-sub-form-field .el-upload .el-upload-dragger .el-upload__text{display:none}.bpm-sub-form-field .file-box .file-content .preview-image{height:50px}.preview-drawer .el-drawer__header{margin-bottom:13px}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.bpm-select-
|
|
1
|
+
.bpm-select-check-item .bpm-select-check-item-editor__clear,.bpm-select-check-item .bpm-select-check-item-editor__trigger{cursor:pointer}.bpm-select-check-item-dialog .bpm-select-check-item-editor__selected{display:flex;align-items:flex-start;gap:8px;margin-bottom:16px}.bpm-select-check-item-dialog .bpm-select-check-item-editor__selected-title{flex:none;line-height:24px;white-space:nowrap;color:#606266}.bpm-select-check-item-dialog .bpm-select-check-item-editor__selected-tags{display:flex;flex:1;flex-wrap:wrap;gap:8px;min-width:0}.bpm-select-check-item-dialog .bpm-select-check-item-editor__empty{line-height:24px;color:#c0c4cc}.bpm-select-check-item-dialog .bpm-select-check-item-editor__tree-wrapper{max-height:480px;overflow:auto;border:1px solid #ebeef5;border-radius:4px;padding:12px 16px}.bpm-select-check-item-dialog .bpm-select-check-item-editor__tree-node{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
package/dist/css/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
li,ul{margin:0;padding:0}.active{color:#246ae3}.typing_loader{display:inline-block;width:6px;height:6px;border-radius:50%;animation:typing 1s linear infinite alternate}@keyframes typing{0%{background-color:#888;box-shadow:12px 0 0 0 rgba(136,136,136,.2),24px 0 0 0 rgba(136,136,136,.2)}25%{background-color:rgba(136,136,136,.4);box-shadow:12px 0 0 0 #888,24px 0 0 0 rgba(136,136,136,.2)}75%{background-color:rgba(136,136,136,.4);box-shadow:12px 0 0 0 rgba(136,136,136,.2),24px 0 0 0 #888}}.bpm-status_tag-status{color:#fff;font-size:13px;line-height:1.2;padding:5px 8px;border-radius:10px;background:#888;display:inline-block}.m-demo{color:red}.bpm-text-edit .prefab-words{padding-top:10px}.bpm-text-edit .prefab-words li,.bpm-text-edit .prefab-words ul{margin:0;padding:0;list-style:none}.bpm-text-edit .prefab-words ul{overflow:hidden;margin-top:5px}.bpm-text-edit .prefab-words li{float:left;min-height:28px;line-height:28px;cursor:pointer;min-width:50px;font-size:14px;padding:0 10px;margin-right:10px;border:1px solid #DCDCDC;border-radius:100px;color:#666;text-align:center;margin-bottom:5px}.bpm-select-entrance-form .footer .width-button,.dropdown-menu{min-width:150px}.bpm-text-edit .prefab-words li.active{background:#1EAAD0;border:1px solid #1EAAD0;color:#fff}.bpm-text-view.table-text-view.Text-view,.bpm-text-view.table-text-view.TextArea-view{word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical}.TextArea-view{white-space:pre-wrap}.bpm-text-popper{padding:10px!important}.bpm-mul-file-edit .no-photo-file-box:hover .overlay,.bpm-mul-file-reader .no-photo-file-box:hover .overlay,.bpm-mul-image-edit .no-photo-file-box:hover .overlay,.bpm-mul-image-reader .no-photo-file-box:hover .overlay{opacity:1}.bpm-mul-file-edit .el-upload-dragger,.bpm-mul-file-reader .el-upload-dragger,.bpm-mul-image-edit .el-upload-dragger,.bpm-mul-image-reader .el-upload-dragger{width:200px;height:80px}.bpm-mul-file-edit .el-upload-dragger .el-icon-upload,.bpm-mul-file-reader .el-upload-dragger .el-icon-upload,.bpm-mul-image-edit .el-upload-dragger .el-icon-upload,.bpm-mul-image-reader .el-upload-dragger .el-icon-upload{font-size:40px;color:#b8bcc4;margin:0;line-height:40px}.bpm-mul-file-edit .el-upload-dragger .el-upload__text,.bpm-mul-file-reader .el-upload-dragger .el-upload__text,.bpm-mul-image-edit .el-upload-dragger .el-upload__text,.bpm-mul-image-reader .el-upload-dragger .el-upload__text{font-size:10px}.bpm-mul-file-edit .file-box,.bpm-mul-file-edit .no-photo-file-box,.bpm-mul-file-reader .file-box,.bpm-mul-file-reader .no-photo-file-box,.bpm-mul-image-edit .file-box,.bpm-mul-image-edit .no-photo-file-box,.bpm-mul-image-reader .file-box,.bpm-mul-image-reader .no-photo-file-box{position:relative}.bpm-mul-file-edit .file-box .file-icon .fa-file-pdf-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-pdf-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-pdf-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-pdf-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-pdf-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-pdf-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-pdf-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-pdf-o{color:#ce1919}.bpm-mul-file-edit .file-box .file-icon .fa-file-word-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-word-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-word-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-word-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-word-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-word-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-word-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-word-o{color:#2C70E4}.bpm-mul-file-edit .file-box .file-icon .fa-file-excel-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-excel-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-excel-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-excel-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-excel-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-excel-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-excel-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-excel-o{color:#5EBE7F}.bpm-mul-file-edit .file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-powerpoint-o{color:#e76846}.bpm-mul-file-edit .file-box .file-icon .fa-file-archive-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-audio-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-code-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-image-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-text-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-video-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-archive-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-audio-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-code-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-image-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-text-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-video-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-archive-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-audio-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-code-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-image-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-text-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-video-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-archive-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-audio-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-code-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-image-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-text-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-video-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-archive-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-audio-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-code-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-image-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-text-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-video-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-archive-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-audio-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-code-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-image-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-text-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-video-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-archive-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-audio-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-code-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-image-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-text-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-video-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-archive-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-audio-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-code-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-image-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-text-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-video-o{color:#666}.bpm-mul-file-edit .file-box .overlay,.bpm-mul-file-edit .no-photo-file-box .overlay,.bpm-mul-file-reader .file-box .overlay,.bpm-mul-file-reader .no-photo-file-box .overlay,.bpm-mul-image-edit .file-box .overlay,.bpm-mul-image-edit .no-photo-file-box .overlay,.bpm-mul-image-reader .file-box .overlay,.bpm-mul-image-reader .no-photo-file-box .overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;opacity:0;z-index:2;transition:opacity .3s ease}.bpm-mul-file-edit .file-box .overlay .overlay-btn,.bpm-mul-file-edit .no-photo-file-box .overlay .overlay-btn,.bpm-mul-file-reader .file-box .overlay .overlay-btn,.bpm-mul-file-reader .no-photo-file-box .overlay .overlay-btn,.bpm-mul-image-edit .file-box .overlay .overlay-btn,.bpm-mul-image-edit .no-photo-file-box .overlay .overlay-btn,.bpm-mul-image-reader .file-box .overlay .overlay-btn,.bpm-mul-image-reader .no-photo-file-box .overlay .overlay-btn{color:#fff;font-size:16px;height:30px;line-height:30px;border-radius:3px;width:30px}.bpm-mul-file-edit .file-box .overlay .overlay-btn:hover,.bpm-mul-file-edit .no-photo-file-box .overlay .overlay-btn:hover,.bpm-mul-file-reader .file-box .overlay .overlay-btn:hover,.bpm-mul-file-reader .no-photo-file-box .overlay .overlay-btn:hover,.bpm-mul-image-edit .file-box .overlay .overlay-btn:hover,.bpm-mul-image-edit .no-photo-file-box .overlay .overlay-btn:hover,.bpm-mul-image-reader .file-box .overlay .overlay-btn:hover,.bpm-mul-image-reader .no-photo-file-box .overlay .overlay-btn:hover{background-color:#01010166}.bpm-mul-file-edit .file-box,.bpm-mul-file-reader .file-box,.bpm-mul-image-edit .file-box,.bpm-mul-image-reader .file-box{overflow:hidden;margin:0 4px 4px;display:flex;align-items:center}.bpm-mul-file-edit .file-box:hover,.bpm-mul-file-reader .file-box:hover,.bpm-mul-image-edit .file-box:hover,.bpm-mul-image-reader .file-box:hover{background:#EFF2F7;border-radius:4px}.bpm-mul-file-edit .file-box>*,.bpm-mul-file-reader .file-box>*,.bpm-mul-image-edit .file-box>*,.bpm-mul-image-reader .file-box>*{float:left}.bpm-mul-file-edit .file-box .file-content,.bpm-mul-file-reader .file-box .file-content,.bpm-mul-image-edit .file-box .file-content,.bpm-mul-image-reader .file-box .file-content{height:auto}.bpm-mul-file-edit .file-box .file-content .preview-image,.bpm-mul-file-reader .file-box .file-content .preview-image,.bpm-mul-image-edit .file-box .file-content .preview-image,.bpm-mul-image-reader .file-box .file-content .preview-image{width:auto;height:90px}.bpm-mul-file-edit .file-box .file-link,.bpm-mul-file-reader .file-box .file-link,.bpm-mul-image-edit .file-box .file-link,.bpm-mul-image-reader .file-box .file-link{margin-top:5px;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bpm-mul-file-edit .file-box .file-icon,.bpm-mul-file-reader .file-box .file-icon,.bpm-mul-image-edit .file-box .file-icon,.bpm-mul-image-reader .file-box .file-icon{font-size:16px}.bpm-mul-file-edit .no-photo-file-box,.bpm-mul-file-reader .no-photo-file-box,.bpm-mul-image-edit .no-photo-file-box,.bpm-mul-image-reader .no-photo-file-box{width:90px;height:90px;background-color:#F1F3FF;display:flex;flex-direction:column;align-items:center;justify-content:center}.bpm-mul-file-edit .no-photo-file-box .file-icon,.bpm-mul-file-reader .no-photo-file-box .file-icon,.bpm-mul-image-edit .no-photo-file-box .file-icon,.bpm-mul-image-reader .no-photo-file-box .file-icon{font-size:35px}.bpm-mul-file-edit .no-photo-file-box .file-name,.bpm-mul-file-reader .no-photo-file-box .file-name,.bpm-mul-image-edit .no-photo-file-box .file-name,.bpm-mul-image-reader .no-photo-file-box .file-name{font-size:10px;width:70px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bpm-mul-file-edit .file-remove,.bpm-mul-file-edit .operation-box,.bpm-mul-file-reader .file-remove,.bpm-mul-file-reader .operation-box,.bpm-mul-image-edit .file-remove,.bpm-mul-image-edit .operation-box,.bpm-mul-image-reader .file-remove,.bpm-mul-image-reader .operation-box{flex-shrink:0;font-weight:400;width:94px;font-size:12px;color:#246AE3;line-height:14px;margin:6px 0 0 20px;cursor:pointer}.bpm-mul-file-reader .text-faded,.bpm-mul-image-reader .text-faded{margin-top:4px}img{display:block;height:100%;width:auto}.bpm-sub-form-field .el-upload .el-upload-dragger .el-upload__text,.tiptap-editor-container.is-readonly .editor-toolbar,.tiptap-editor-container.is-readonly .toolbar{display:none}.viewer-container{z-index:10000!important}.bpm-sub-form-field .el-upload{width:100%}.bpm-sub-form-field .el-upload .el-upload-dragger{width:auto;height:45px}.bpm-sub-form-field .file-box .file-content .preview-image{height:50px}.bpm-select-entrance-form .main-wrap{position:relative}.bpm-select-entrance-form .search-wrap{position:sticky;top:0;left:0;right:0;margin-bottom:10px;z-index:99;display:flex;align-items:center;justify-content:flex-end}.bpm-select-entrance-form .select-option-card{margin-bottom:10px}.bpm-select-entrance-form .select-option-card .card-body-content{color:#333;font-size:14px}.bpm-select-entrance-form .select-option-card .label{color:#848484;width:120px;display:inline-block}.bpm-select-entrance-form .edit-list .el-checkbox-group{font-size:14px}.bpm-select-entrance-form .edit-list-item{display:flex;align-items:center}.bpm-select-entrance-form .edit-list-item .checkbox{margin-bottom:10px}.bpm-select-entrance-form .edit-list-item .select-option-card{flex:1}.bpm-select-entrance-form .footer{display:flex;justify-content:space-between}.bpm-select-entrance-form .footer .subtext{color:#666;margin-left:16px}.bpm-signature .canvas-box{display:flex;flex-direction:column;width:100%;height:220px;overflow:hidden}.bpm-signature .canvas-box canvas{border:1px dashed #c9c5c5;flex:1;cursor:crosshair}.bpm-signature .canvas-box .signature-reader{height:100%;flex:1}.bpm-signature .action-wrap{padding:6px 0;display:flex;justify-content:space-between}.desktop .bpm-signature .canvas-box{height:320px;max-width:100%}.mobile .bpm-signature .sign-next-use{font-size:12px;margin-bottom:3px}.bpm-audit .aduit-result-title{padding:0 10px;border-radius:8px;overflow:hidden;line-height:25px;height:25px;box-sizing:border-box;display:inline-block;vertical-align:middle}.el-form-item__content [disabled]{opacity:1!important}.bpm-subform-card,.bpm-subform-card.edit .el-form-item{margin-bottom:10px}.bpm-subform-card.view .el-form-item{margin-bottom:0}.bpm-subform-card .btn-delete{position:absolute;top:10px;right:20px}.bpm-subform-card .el-form-item__label{line-height:20px;padding:10px 12px 0 0;word-break:break-word}.bpm-subform-card .el-form--label-top .el-form-item__label{padding-bottom:10px}.bpm-subform-card .el-form-item.no-label>.el-form-item__content{margin-left:0!important}.bpm-subform-table td.el-table__cell>.cell .bpm-text-view{white-space:pre-wrap;overflow:auto;text-overflow:clip;word-wrap:break-word;height:auto;display:inline-block}.bpm-subform-table .table-row-opertaion-btn-grp{display:flex}.bpm-relate-subform-table .el-input__validateIcon{display:none!important}.bpm-subform-list .bpm-subform-list-item .el-form-item{margin-bottom:0!important}.bpm-relate-subform-table .el-table__body-wrapper{overflow-y:auto!important}.bpm-select-edit .el-checkbox,.bpm-select-edit .el-radio{margin-bottom:10px}.bpm-select-edit .el-radio-group{max-width:98%;padding-top:10px}.bpm-select-edit .el-radio-group .el-radio{white-space:normal}.bpm-select-edit .el-radio-group .el-radio .el-checkbox__label{line-height:1.4!important}.bpm-select-edit .el-checkbox__label{vertical-align:text-top;max-width:95%;word-break:break-all;white-space:pre-wrap}.bpm-btn-select{color:#909399;background:0 0;text-align:center;min-width:42px;box-sizing:border-box;border-radius:15px;padding:2px 10px;font-size:13px;line-height:1.2;display:inline-block}.bpm-select-view .bpm-select-view-tag{margin-top:8px;height:auto;max-width:100vh;white-space:normal}.el-select-dropdown .el-scrollbar .el-select-dropdown__item{max-width:100vh}.bpm-field.bpm-select-edit .auto-width-select{min-width:250px}.bpm-field.bpm-select-edit .auto-width-select .el-input__inner{text-align:left;padding-left:15px;padding-right:25px}.bpm-field.bpm-select-edit .auto-width-select .el-icon-arrow-up:before{content:"\e78f";color:#000}.bpm-field.bpm-select-edit .auto-width-select .el-input__suffix{top:-2px;right:0}.bpm-field.bpm-select-edit .auto-width-select .el-input__prefix{position:relative;left:0;box-sizing:border-box;width:auto;padding:0 50px 0 0;height:32px;line-height:35px;white-space:nowrap;word-break:keep-all}.bpm-field.bpm-select-edit .auto-width-select input{position:absolute}.bpm-field.bpm-select-edit .el-input{width:auto!important}.bpm-select-edit-option-tooltip{max-width:800px;z-index:99999!important}.bpm-area .select-area-editor .subcategory-tree-box .subcategory-tree{max-height:550px;overflow:auto}.area-elevation .area-elevation-select-box .area-elevation-select-item{float:left;margin-right:5px;margin-top:4px}.bpm-spliter{margin:10px 0 10px -15px}.bpm-spliter .bpm-spliter-content{padding:8px 15px;background-color:#F7F7F7;align-items:center;display:flex}.bpm-spliter .bpm-spliter-content .horization{width:4px;border-radius:2px;background:#246ae3;height:18px;margin-left:10px;margin-right:10px}.bpm-spliter .bpm-spliter-content .label-title{font-weight:700;font-size:14px}.bpm-spliter .bpm-spliter-content .tip-title{color:#666}.bpm-spliter .bpm-spliter-content .desc{color:#999;font-size:12px;line-height:14px;text-indent:10px;height:12px}.tiptap-editor-container{border:1px solid #dcdfe6;border-radius:4px;overflow:hidden;position:relative}.tiptap-editor-container.is-fullscreen{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999;background-color:#fff;color:#333;display:flex;flex-direction:column;border:none;border-radius:0}.tiptap-editor-container.is-fullscreen .editor-content{flex:1;overflow:hidden}.tiptap-editor-container.is-fullscreen .editor-content .ProseMirror{height:100%;max-height:none!important;border:none;background-color:#fff;color:#333}.tiptap-editor-container.is-fullscreen .editor-content .html-source-textarea{height:100%;max-height:none!important}.tiptap-editor-container .editor-toolbar,.tiptap-editor-container .toolbar{border-bottom:1px solid #dcdfe6;padding:5px;background-color:#f5f7fa;display:flex;flex-wrap:wrap;gap:5px}.tiptap-editor-container .editor-content .ProseMirror,.tiptap-editor-container .html-source-textarea{display:block;padding:10px 10px 34px;min-height:150px;max-height:500px;line-height:1.5;outline:0;box-sizing:border-box}.tiptap-editor-container .editor-content .ProseMirror{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:14px;color:#333;overflow-y:auto}.tiptap-editor-container .editor-content .ProseMirror p{margin:0 0 10px}.tiptap-editor-container .editor-content .ProseMirror ol,.tiptap-editor-container .editor-content .ProseMirror ul{margin:0 0 10px 20px;padding:0}.tiptap-editor-container .editor-content .ProseMirror ul{list-style-type:disc}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-dash],.tiptap-editor-container .editor-content .ProseMirror ul[class=list-circle-open],.tiptap-editor-container .editor-content .ProseMirror ul[class=list-square-open],.tiptap-editor-container .editor-content .ProseMirror ul[class=list-box]{list-style-type:none}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-dash]>li{position:relative}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-dash]>li::before{content:'-';position:absolute;left:-1em}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-circle-open]>li{position:relative}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-circle-open]>li::before{content:'○';position:absolute;left:-1em}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-square-open]>li{position:relative}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-square-open]>li::before{content:'□';position:absolute;left:-1em}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-box]>li{position:relative}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-box]>li::before{content:'☐';position:absolute;left:-1em}.tiptap-editor-container .editor-content .ProseMirror ol{list-style-type:decimal}.tiptap-editor-container .editor-content .ProseMirror h1,.tiptap-editor-container .editor-content .ProseMirror h2,.tiptap-editor-container .editor-content .ProseMirror h3,.tiptap-editor-container .editor-content .ProseMirror h4,.tiptap-editor-container .editor-content .ProseMirror h5,.tiptap-editor-container .editor-content .ProseMirror h6{margin:0 0 10px;font-weight:600}.tiptap-editor-container .editor-content .ProseMirror h1{font-size:24px}.tiptap-editor-container .editor-content .ProseMirror h2{font-size:20px}.tiptap-editor-container .editor-content .ProseMirror h3{font-size:18px}.tiptap-editor-container .editor-content .ProseMirror h4{font-size:16px}.tiptap-editor-container .editor-content .ProseMirror blockquote{border-left:3px solid #ccc;margin-left:0;padding-left:1em;color:#666}.tiptap-editor-container .editor-content .ProseMirror table{border-collapse:collapse;table-layout:fixed;width:100%;margin:0 0 10px;overflow:hidden}.tiptap-editor-container .editor-content .ProseMirror table td,.tiptap-editor-container .editor-content .ProseMirror table th{min-width:1em;border:1px solid #ced4da;padding:3px 5px;vertical-align:top;box-sizing:border-box;position:relative}.tiptap-editor-container .editor-content .ProseMirror table th{font-weight:700;text-align:left;background-color:#f1f3f5}.tiptap-editor-container .editor-content .ProseMirror table .selectedCell:after{z-index:2;position:absolute;content:"";left:0;right:0;top:0;bottom:0;background:rgba(200,200,255,.4);pointer-events:none}.tiptap-editor-container .editor-content .ProseMirror table .column-resize-handle{position:absolute;right:-2px;top:0;bottom:0;width:4px;background-color:#adf;pointer-events:none}.tiptap-editor-container .editor-content .ProseMirror code{background-color:#f1f3f5;padding:2px 4px;border-radius:3px;font-family:'Courier New',Courier,monospace;font-size:12px}.tiptap-editor-container .editor-content .ProseMirror a{color:#409eff;text-decoration:none}.tiptap-editor-container .editor-content .ProseMirror a:hover{text-decoration:underline}.tiptap-editor-container .editor-content .ProseMirror .task-list-item{list-style-type:none}.tiptap-editor-container .editor-content .ProseMirror .task-list-item input[type=checkbox]{margin-right:8px}.tiptap-editor-container .editor-content .ProseMirror img{max-width:100%;height:auto}.tiptap-editor-container .editor-content .ProseMirror p.is-editor-empty:first-child::before{color:#adb5bd;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.tiptap-editor-container .html-source-textarea{width:100%;overflow-y:auto;resize:none;border:none;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;font-size:12px;color:#333;background-color:#fff}.tiptap-editor-container .editor-char-count{position:absolute;right:10px;bottom:8px;font-size:12px;color:#909399;user-select:none;line-height:1;padding:2px 4px;background:rgba(255,255,255,.9);border-radius:2px;pointer-events:none;white-space:nowrap}.ml-2{margin-left:8px}.toolbar{display:flex;flex-wrap:wrap;align-items:center;padding:8px;border-bottom:1px solid #e0e0e0;background-color:#fff;gap:4px}.upload-container{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden;padding:20px;transition:border-color .3s}.upload-container:hover{border-color:#409EFF}.toolbar-group{display:flex;align-items:center;gap:2px}.toolbar-separator{width:1px;height:20px;background-color:#e0e0e0;margin:0 8px}.toolbar-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;background:0 0;border-radius:4px;cursor:pointer;color:#333;font-size:14px;transition:background-color .2s}.dropdown-trigger,.toolbar-btn.toolbar-html-toggle{width:auto;padding:0 8px;gap:4px}.toolbar-btn:hover{background-color:#f0f0f0}.toolbar-btn.is-active{background-color:#e8f0fe;color:#1a73e8}.toolbar-btn:disabled{opacity:.5;cursor:not-allowed}.toolbar-html-label{font-size:12px}.dropdown-wrapper{position:relative}.dropdown-menu{position:absolute;top:100%;left:0;background-color:#fff;border:1px solid #e0e0e0;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.15);z-index:1000;padding:4px 0}.color-picker-menu{width:210px;padding:10px}.color-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin-bottom:10px}.color-item{width:30px;height:30px;border-radius:50%;cursor:pointer;border:1px solid #ddd;transition:transform .1s}.color-item:hover{transform:scale(1.1);border-color:#999}.color-item.is-selected{border:2px solid #409EFF}.remove-color{display:flex;align-items:center;justify-content:center;background-color:#f5f5f5;color:#666;font-size:14px}.hex-input-wrapper{display:flex;gap:5px}.hex-input-wrapper input{flex:1;padding:4px 8px;border:1px solid #dcdfe6;border-radius:4px;font-size:12px;outline:0}.hex-input-wrapper input:focus{border-color:#409EFF}.hex-input-wrapper button{padding:4px 10px;background-color:#fff;border:1px solid #dcdfe6;border-radius:4px;cursor:pointer;font-size:12px}.hex-input-wrapper button:hover{color:#409EFF;border-color:#c6e2ff;background-color:#ecf5ff}.dropdown-item{padding:6px 12px;cursor:pointer;font-size:14px}.dropdown-item:hover{background-color:#f5f5f5}.dropdown-item.is-active{color:#1a73e8;background-color:#e8f0fe}.bpm-select-user-edit .select-item-box{background:#fff;border-radius:4px;border:1px solid #ccc;min-height:40px;width:750px;display:flex;flex-wrap:wrap;align-items:center;padding:4px 4px 0}.bpm-select-user-edit .select-item-box .el-tag{margin-right:5px;margin-bottom:5px}.bpm-select-user-edit .select-item-box:focus{border:1px solid #246ae3}.bpm-select-user-edit .placeholder{margin-left:10px;color:#999}.select-user-board-popover .select-user-board{display:flex}.select-user-board-popover .select-user-board .derpartment-select{min-width:200px;border-right:1px solid #E1E3EA}.select-user-board-popover .select-user-board .derpartment-select .title{padding-left:10px;padding-top:10px;font-size:12px;font-weight:700;margin:0 0 10px}.select-user-board-popover .select-user-board .derpartment-select .department-list{margin-top:5px;height:300px;overflow:auto}.select-user-board-popover .select-user-board .derpartment-select .department-list li{height:40px;padding:10px}.select-user-board-popover .select-user-board .derpartment-select .department-list li:hover{background:#eae8e8}.select-user-board-popover .select-user-board .derpartment-select .department-list .is-selected{background:#E4E7ED}.select-user-board-popover .select-user-board .staff-select{padding:10px;min-width:300px}.select-user-board-popover .select-user-board .staff-select .title{font-size:12px;font-weight:700;margin:0 0 10px}.select-user-board-popover .select-user-board .staff-select .staff-select-list{margin-top:10px;height:300px;overflow:auto}.select-user-board-popover .select-user-board .staff-select .staff-select-list .el-checkbox,.select-user-board-popover .select-user-board .staff-select .staff-select-list .el-radio{width:100%;line-height:25px}.appointment-board .date-list{display:flex;overflow:auto;width:100%}.appointment-board .date-list .date-item{display:flex;flex-direction:column;min-width:100px;align-items:center;margin-right:5px}.appointment-board .date-list .date-item .date-title{font-weight:500;margin-bottom:10px}.appointment-board .date-list .date-item .time-range-item{cursor:pointer;margin-bottom:5px;background:#dcf3ff;padding:5px 15px;font-size:12px;height:40px;display:flex;flex-direction:column;align-items:center;justify-content:center}.appointment-board .date-list .date-item .disabled{cursor:not-allowed;background:#f2f2f2}.appointment-board .date-list .date-item .selected{color:#fff;background:#246ae3}.el-dialog__body:has(.create-form-iframe),.el-dialog__body:has(.detail-form-iframe){padding:0}.bpm-video-dialog-fullscreen .el-dialog__header{display:none!important}.bpm-video-dialog-fullscreen .el-dialog__body{padding:0!important;background-color:#000;height:100vh;box-sizing:border-box}.bpm-video-dialog-normal .el-dialog__body{padding:0!important;background-color:#000;height:60vh;box-sizing:border-box}.bpm-video-grid-item{width:100%;height:100%;overflow:hidden;position:relative}.external-from-link-editor .external-from-link-card .external-from-link-card-item{margin-bottom:10px}.external-from-link-editor .external-from-link-card .external-from-link-card-item .del-btn{color:#ff2f7f}.external-from-link-editor .external-from-link-list{font-size:14px}.external-from-link-editor .external-from-link-list .external-from-link-list-item{word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;height:25px;display:flex;align-items:center}.external-from-link-editor .external-from-link-list .external-from-link-list-item .del-btn{color:#ff2f7f;margin-left:10px;visibility:hidden}.external-from-link-editor .external-from-link-list .external-from-link-list-item:hover{height:25px;color:#409EFF}.external-from-link-editor .external-from-link-list .external-from-link-list-item:hover .del-btn{visibility:visible}
|
|
1
|
+
.bpm-mul-file-edit .file-box,.bpm-mul-file-edit .no-photo-file-box,.bpm-mul-file-reader .file-box,.bpm-mul-file-reader .no-photo-file-box,.bpm-mul-image-edit .file-box,.bpm-mul-image-edit .no-photo-file-box,.bpm-mul-image-reader .file-box,.bpm-mul-image-reader .no-photo-file-box,.bpm-select-entrance-form .main-wrap{position:relative}li,ul{margin:0;padding:0}.active{color:#246ae3}.typing_loader{display:inline-block;width:6px;height:6px;border-radius:50%;animation:typing 1s linear infinite alternate}@keyframes typing{0%{background-color:#888;box-shadow:12px 0 0 0 rgba(136,136,136,.2),24px 0 0 0 rgba(136,136,136,.2)}25%{background-color:rgba(136,136,136,.4);box-shadow:12px 0 0 0 #888,24px 0 0 0 rgba(136,136,136,.2)}75%{background-color:rgba(136,136,136,.4);box-shadow:12px 0 0 0 rgba(136,136,136,.2),24px 0 0 0 #888}}.bpm-status_tag-status{color:#fff;font-size:13px;line-height:1.2;padding:5px 8px;border-radius:10px;background:#888;display:inline-block}.m-demo{color:red}.bpm-text-edit .prefab-words{padding-top:10px}.bpm-text-edit .prefab-words li,.bpm-text-edit .prefab-words ul{margin:0;padding:0;list-style:none}.bpm-text-edit .prefab-words ul{overflow:hidden;margin-top:5px}.bpm-text-edit .prefab-words li{float:left;min-height:28px;line-height:28px;cursor:pointer;min-width:50px;font-size:14px;padding:0 10px;margin-right:10px;border:1px solid #DCDCDC;border-radius:100px;color:#666;text-align:center;margin-bottom:5px}.bpm-text-edit .prefab-words li.active{background:#1EAAD0;border:1px solid #1EAAD0;color:#fff}.bpm-text-view.table-text-view.Text-view,.bpm-text-view.table-text-view.TextArea-view{word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical}.TextArea-view{white-space:pre-wrap}.bpm-text-popper{padding:10px!important}.bpm-mul-file-edit .no-photo-file-box:hover .overlay,.bpm-mul-file-reader .no-photo-file-box:hover .overlay,.bpm-mul-image-edit .no-photo-file-box:hover .overlay,.bpm-mul-image-reader .no-photo-file-box:hover .overlay{opacity:1}.bpm-mul-file-edit .el-upload-dragger,.bpm-mul-file-reader .el-upload-dragger,.bpm-mul-image-edit .el-upload-dragger,.bpm-mul-image-reader .el-upload-dragger{width:200px;height:80px}.bpm-mul-file-edit .el-upload-dragger .el-icon-upload,.bpm-mul-file-reader .el-upload-dragger .el-icon-upload,.bpm-mul-image-edit .el-upload-dragger .el-icon-upload,.bpm-mul-image-reader .el-upload-dragger .el-icon-upload{font-size:40px;color:#b8bcc4;margin:0;line-height:40px}.bpm-mul-file-edit .el-upload-dragger .el-upload__text,.bpm-mul-file-reader .el-upload-dragger .el-upload__text,.bpm-mul-image-edit .el-upload-dragger .el-upload__text,.bpm-mul-image-reader .el-upload-dragger .el-upload__text{font-size:10px}.bpm-mul-file-edit .file-box .file-icon .fa-file-pdf-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-pdf-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-pdf-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-pdf-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-pdf-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-pdf-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-pdf-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-pdf-o{color:#ce1919}.bpm-mul-file-edit .file-box .file-icon .fa-file-word-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-word-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-word-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-word-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-word-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-word-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-word-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-word-o{color:#2C70E4}.bpm-mul-file-edit .file-box .file-icon .fa-file-excel-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-excel-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-excel-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-excel-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-excel-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-excel-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-excel-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-excel-o{color:#5EBE7F}.bpm-mul-file-edit .file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-powerpoint-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-powerpoint-o{color:#e76846}.bpm-mul-file-edit .file-box .file-icon .fa-file-archive-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-audio-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-code-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-image-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-text-o,.bpm-mul-file-edit .file-box .file-icon .fa-file-video-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-archive-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-audio-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-code-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-image-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-text-o,.bpm-mul-file-edit .no-photo-file-box .file-icon .fa-file-video-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-archive-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-audio-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-code-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-image-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-text-o,.bpm-mul-file-reader .file-box .file-icon .fa-file-video-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-archive-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-audio-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-code-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-image-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-text-o,.bpm-mul-file-reader .no-photo-file-box .file-icon .fa-file-video-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-archive-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-audio-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-code-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-image-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-text-o,.bpm-mul-image-edit .file-box .file-icon .fa-file-video-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-archive-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-audio-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-code-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-image-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-text-o,.bpm-mul-image-edit .no-photo-file-box .file-icon .fa-file-video-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-archive-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-audio-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-code-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-image-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-text-o,.bpm-mul-image-reader .file-box .file-icon .fa-file-video-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-archive-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-audio-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-code-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-image-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-text-o,.bpm-mul-image-reader .no-photo-file-box .file-icon .fa-file-video-o{color:#666}.bpm-mul-file-edit .file-box .overlay,.bpm-mul-file-edit .no-photo-file-box .overlay,.bpm-mul-file-reader .file-box .overlay,.bpm-mul-file-reader .no-photo-file-box .overlay,.bpm-mul-image-edit .file-box .overlay,.bpm-mul-image-edit .no-photo-file-box .overlay,.bpm-mul-image-reader .file-box .overlay,.bpm-mul-image-reader .no-photo-file-box .overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;opacity:0;z-index:2;transition:opacity .3s ease}.bpm-mul-file-edit .file-box .overlay .overlay-btn,.bpm-mul-file-edit .no-photo-file-box .overlay .overlay-btn,.bpm-mul-file-reader .file-box .overlay .overlay-btn,.bpm-mul-file-reader .no-photo-file-box .overlay .overlay-btn,.bpm-mul-image-edit .file-box .overlay .overlay-btn,.bpm-mul-image-edit .no-photo-file-box .overlay .overlay-btn,.bpm-mul-image-reader .file-box .overlay .overlay-btn,.bpm-mul-image-reader .no-photo-file-box .overlay .overlay-btn{color:#fff;font-size:16px;height:30px;line-height:30px;border-radius:3px;width:30px}.bpm-mul-file-edit .file-box .overlay .overlay-btn:hover,.bpm-mul-file-edit .no-photo-file-box .overlay .overlay-btn:hover,.bpm-mul-file-reader .file-box .overlay .overlay-btn:hover,.bpm-mul-file-reader .no-photo-file-box .overlay .overlay-btn:hover,.bpm-mul-image-edit .file-box .overlay .overlay-btn:hover,.bpm-mul-image-edit .no-photo-file-box .overlay .overlay-btn:hover,.bpm-mul-image-reader .file-box .overlay .overlay-btn:hover,.bpm-mul-image-reader .no-photo-file-box .overlay .overlay-btn:hover{background-color:#01010166}.bpm-mul-file-edit .file-box,.bpm-mul-file-reader .file-box,.bpm-mul-image-edit .file-box,.bpm-mul-image-reader .file-box{overflow:hidden;margin:0 4px 4px;display:flex;align-items:center}.bpm-mul-file-edit .file-box:hover,.bpm-mul-file-reader .file-box:hover,.bpm-mul-image-edit .file-box:hover,.bpm-mul-image-reader .file-box:hover{background:#EFF2F7;border-radius:4px}.bpm-mul-file-edit .file-box>*,.bpm-mul-file-reader .file-box>*,.bpm-mul-image-edit .file-box>*,.bpm-mul-image-reader .file-box>*{float:left}.bpm-mul-file-edit .file-box .file-content,.bpm-mul-file-reader .file-box .file-content,.bpm-mul-image-edit .file-box .file-content,.bpm-mul-image-reader .file-box .file-content{height:auto}.bpm-mul-file-edit .file-box .file-content .preview-image,.bpm-mul-file-reader .file-box .file-content .preview-image,.bpm-mul-image-edit .file-box .file-content .preview-image,.bpm-mul-image-reader .file-box .file-content .preview-image{width:auto;height:90px}.bpm-mul-file-edit .file-box .file-link,.bpm-mul-file-reader .file-box .file-link,.bpm-mul-image-edit .file-box .file-link,.bpm-mul-image-reader .file-box .file-link{margin-top:5px;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bpm-mul-file-edit .file-box .file-icon,.bpm-mul-file-reader .file-box .file-icon,.bpm-mul-image-edit .file-box .file-icon,.bpm-mul-image-reader .file-box .file-icon{font-size:16px}.bpm-mul-file-edit .no-photo-file-box,.bpm-mul-file-reader .no-photo-file-box,.bpm-mul-image-edit .no-photo-file-box,.bpm-mul-image-reader .no-photo-file-box{width:90px;height:90px;background-color:#F1F3FF;display:flex;flex-direction:column;align-items:center;justify-content:center}.bpm-mul-file-edit .no-photo-file-box .file-icon,.bpm-mul-file-reader .no-photo-file-box .file-icon,.bpm-mul-image-edit .no-photo-file-box .file-icon,.bpm-mul-image-reader .no-photo-file-box .file-icon{font-size:35px}.bpm-mul-file-edit .no-photo-file-box .file-name,.bpm-mul-file-reader .no-photo-file-box .file-name,.bpm-mul-image-edit .no-photo-file-box .file-name,.bpm-mul-image-reader .no-photo-file-box .file-name{font-size:10px;width:70px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bpm-mul-file-edit .file-remove,.bpm-mul-file-edit .operation-box,.bpm-mul-file-reader .file-remove,.bpm-mul-file-reader .operation-box,.bpm-mul-image-edit .file-remove,.bpm-mul-image-edit .operation-box,.bpm-mul-image-reader .file-remove,.bpm-mul-image-reader .operation-box{flex-shrink:0;font-weight:400;width:94px;font-size:12px;color:#246AE3;line-height:14px;margin:6px 0 0 20px;cursor:pointer}.bpm-mul-file-reader .text-faded,.bpm-mul-image-reader .text-faded{margin-top:4px}img{display:block;height:100%;width:auto}.bpm-sub-form-field .el-upload .el-upload-dragger .el-upload__text,.tiptap-editor-container.is-readonly .editor-toolbar,.tiptap-editor-container.is-readonly .toolbar{display:none}.viewer-container{z-index:10000!important}.bpm-sub-form-field .el-upload{width:100%}.bpm-sub-form-field .el-upload .el-upload-dragger{width:auto;height:45px}.bpm-sub-form-field .file-box .file-content .preview-image{height:50px}.preview-drawer .el-drawer__header{margin-bottom:13px}.bpm-select-entrance-form .search-wrap{position:sticky;top:0;left:0;right:0;margin-bottom:10px;z-index:99;display:flex;align-items:center;justify-content:flex-end}.bpm-select-entrance-form .select-option-card{margin-bottom:10px}.bpm-select-entrance-form .select-option-card .card-body-content{color:#333;font-size:14px}.bpm-select-entrance-form .select-option-card .label{color:#848484;width:120px;display:inline-block}.bpm-select-entrance-form .edit-list .el-checkbox-group{font-size:14px}.bpm-select-entrance-form .edit-list-item{display:flex;align-items:center}.bpm-select-entrance-form .edit-list-item .checkbox{margin-bottom:10px}.bpm-select-entrance-form .edit-list-item .select-option-card{flex:1}.bpm-select-entrance-form .footer{display:flex;justify-content:space-between}.bpm-select-entrance-form .footer .subtext{color:#666;margin-left:16px}.bpm-select-entrance-form .footer .width-button{min-width:150px}.bpm-signature .canvas-box{display:flex;flex-direction:column;width:100%;height:220px;overflow:hidden}.bpm-signature .canvas-box canvas{border:1px dashed #c9c5c5;flex:1;cursor:crosshair}.bpm-signature .canvas-box .signature-reader{height:100%;flex:1}.bpm-signature .action-wrap{padding:6px 0;display:flex;justify-content:space-between}.desktop .bpm-signature .canvas-box{height:320px;max-width:100%}.mobile .bpm-signature .sign-next-use{font-size:12px;margin-bottom:3px}.bpm-audit .aduit-result-title{padding:0 10px;border-radius:8px;overflow:hidden;line-height:25px;height:25px;box-sizing:border-box;display:inline-block;vertical-align:middle}.el-form-item__content [disabled]{opacity:1!important}.bpm-subform-card,.bpm-subform-card.edit .el-form-item{margin-bottom:10px}.bpm-subform-card.view .el-form-item{margin-bottom:0}.bpm-subform-card .btn-delete{position:absolute;top:10px;right:20px}.bpm-subform-card .el-form-item__label{line-height:20px;padding:10px 12px 0 0;word-break:break-word}.bpm-subform-card .el-form--label-top .el-form-item__label{padding-bottom:10px}.bpm-subform-card .el-form-item.no-label>.el-form-item__content{margin-left:0!important}.bpm-subform-table td.el-table__cell>.cell .bpm-text-view{white-space:pre-wrap;overflow:auto;text-overflow:clip;word-wrap:break-word;height:auto;display:inline-block}.bpm-subform-table .table-row-opertaion-btn-grp{display:flex}.bpm-relate-subform-table .el-input__validateIcon{display:none!important}.bpm-subform-list .bpm-subform-list-item .el-form-item{margin-bottom:0!important}.bpm-relate-subform-table .el-table__body-wrapper{overflow-y:auto!important}.bpm-select-edit .el-checkbox,.bpm-select-edit .el-radio{margin-bottom:10px}.bpm-select-edit .el-radio-group{max-width:98%;padding-top:10px}.bpm-select-edit .el-radio-group .el-radio{white-space:normal}.bpm-select-edit .el-radio-group .el-radio .el-checkbox__label{line-height:1.4!important}.bpm-select-edit .el-checkbox__label{vertical-align:text-top;max-width:95%;word-break:break-all;white-space:pre-wrap}.bpm-btn-select{color:#909399;background:0 0;text-align:center;min-width:42px;box-sizing:border-box;border-radius:15px;padding:2px 10px;font-size:13px;line-height:1.2;display:inline-block}.bpm-select-view .bpm-select-view-tag{margin-top:8px;height:auto;max-width:100vh;white-space:normal}.el-select-dropdown .el-scrollbar .el-select-dropdown__item{max-width:100vh}.bpm-field.bpm-select-edit .auto-width-select{min-width:250px}.bpm-field.bpm-select-edit .auto-width-select .el-input__inner{text-align:left;padding-left:15px;padding-right:25px}.bpm-field.bpm-select-edit .auto-width-select .el-icon-arrow-up:before{content:"\e78f";color:#000}.bpm-field.bpm-select-edit .auto-width-select .el-input__suffix{top:-2px;right:0}.bpm-field.bpm-select-edit .auto-width-select .el-input__prefix{position:relative;left:0;box-sizing:border-box;width:auto;padding:0 50px 0 0;height:32px;line-height:35px;white-space:nowrap;word-break:keep-all}.bpm-field.bpm-select-edit .auto-width-select input{position:absolute}.bpm-field.bpm-select-edit .el-input{width:auto!important}.bpm-select-edit-option-tooltip{max-width:800px;z-index:99999!important}.bpm-area .select-area-editor .subcategory-tree-box .subcategory-tree{max-height:550px;overflow:auto}.area-elevation .area-elevation-select-box .area-elevation-select-item{float:left;margin-right:5px;margin-top:4px}.bpm-spliter{margin:10px 0 10px -15px}.bpm-spliter .bpm-spliter-content{padding:8px 15px;background-color:#F7F7F7;align-items:center;display:flex}.bpm-spliter .bpm-spliter-content .horization{width:4px;border-radius:2px;background:#246ae3;height:18px;margin-left:10px;margin-right:10px}.bpm-spliter .bpm-spliter-content .label-title{font-weight:700;font-size:14px}.bpm-spliter .bpm-spliter-content .tip-title{color:#666}.bpm-spliter .bpm-spliter-content .desc{color:#999;font-size:12px;line-height:14px;text-indent:10px;height:12px}.tiptap-editor-container{border:1px solid #dcdfe6;border-radius:4px;overflow:hidden;position:relative}.tiptap-editor-container.is-fullscreen{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999;background-color:#fff;color:#333;display:flex;flex-direction:column;border:none;border-radius:0}.tiptap-editor-container.is-fullscreen .editor-content{flex:1;overflow:hidden}.tiptap-editor-container.is-fullscreen .editor-content .ProseMirror{height:100%;max-height:none!important;border:none;background-color:#fff;color:#333}.tiptap-editor-container.is-fullscreen .editor-content .html-source-textarea{height:100%;max-height:none!important}.tiptap-editor-container .editor-toolbar,.tiptap-editor-container .toolbar{border-bottom:1px solid #dcdfe6;padding:5px;background-color:#f5f7fa;display:flex;flex-wrap:wrap;gap:5px}.tiptap-editor-container .editor-content .ProseMirror{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:14px;line-height:1.5;color:#333;padding:10px 10px 34px;outline:0;min-height:150px;max-height:500px;overflow-y:auto;display:block;box-sizing:border-box}.tiptap-editor-container .editor-content .ProseMirror p{margin:0 0 10px}.tiptap-editor-container .editor-content .ProseMirror ol,.tiptap-editor-container .editor-content .ProseMirror ul{margin:0 0 10px 20px;padding:0}.tiptap-editor-container .editor-content .ProseMirror ul{list-style-type:disc}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-dash],.tiptap-editor-container .editor-content .ProseMirror ul[class=list-circle-open],.tiptap-editor-container .editor-content .ProseMirror ul[class=list-square-open],.tiptap-editor-container .editor-content .ProseMirror ul[class=list-box]{list-style-type:none}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-dash]>li{position:relative}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-dash]>li::before{content:'-';position:absolute;left:-1em}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-circle-open]>li{position:relative}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-circle-open]>li::before{content:'○';position:absolute;left:-1em}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-square-open]>li{position:relative}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-square-open]>li::before{content:'□';position:absolute;left:-1em}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-box]>li{position:relative}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-box]>li::before{content:'☐';position:absolute;left:-1em}.tiptap-editor-container .editor-content .ProseMirror ol{list-style-type:decimal}.tiptap-editor-container .editor-content .ProseMirror h1,.tiptap-editor-container .editor-content .ProseMirror h2,.tiptap-editor-container .editor-content .ProseMirror h3,.tiptap-editor-container .editor-content .ProseMirror h4,.tiptap-editor-container .editor-content .ProseMirror h5,.tiptap-editor-container .editor-content .ProseMirror h6{margin:0 0 10px;font-weight:600}.tiptap-editor-container .editor-content .ProseMirror h1{font-size:24px}.tiptap-editor-container .editor-content .ProseMirror h2{font-size:20px}.tiptap-editor-container .editor-content .ProseMirror h3{font-size:18px}.tiptap-editor-container .editor-content .ProseMirror h4{font-size:16px}.tiptap-editor-container .editor-content .ProseMirror blockquote{border-left:3px solid #ccc;margin-left:0;padding-left:1em;color:#666}.tiptap-editor-container .editor-content .ProseMirror table{border-collapse:collapse;table-layout:fixed;width:100%;margin:0 0 10px;overflow:hidden}.tiptap-editor-container .editor-content .ProseMirror table td,.tiptap-editor-container .editor-content .ProseMirror table th{min-width:1em;border:1px solid #ced4da;padding:3px 5px;vertical-align:top;box-sizing:border-box;position:relative}.tiptap-editor-container .editor-content .ProseMirror table th{font-weight:700;text-align:left;background-color:#f1f3f5}.tiptap-editor-container .editor-content .ProseMirror table .selectedCell:after{z-index:2;position:absolute;content:"";left:0;right:0;top:0;bottom:0;background:rgba(200,200,255,.4);pointer-events:none}.tiptap-editor-container .editor-content .ProseMirror table .column-resize-handle{position:absolute;right:-2px;top:0;bottom:0;width:4px;background-color:#adf;pointer-events:none}.tiptap-editor-container .editor-content .ProseMirror code{background-color:#f1f3f5;padding:2px 4px;border-radius:3px;font-family:'Courier New',Courier,monospace;font-size:12px}.tiptap-editor-container .editor-content .ProseMirror a{color:#409eff;text-decoration:none}.tiptap-editor-container .editor-content .ProseMirror a:hover{text-decoration:underline}.tiptap-editor-container .editor-content .ProseMirror .task-list-item{list-style-type:none}.tiptap-editor-container .editor-content .ProseMirror .task-list-item input[type=checkbox]{margin-right:8px}.tiptap-editor-container .editor-content .ProseMirror img{max-width:100%;height:auto}.tiptap-editor-container .editor-content .ProseMirror p.is-editor-empty:first-child::before{color:#adb5bd;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.tiptap-editor-container .html-source-textarea{width:100%;display:block;box-sizing:border-box;padding:10px 10px 34px;outline:0;min-height:150px;max-height:500px;overflow-y:auto;resize:none;border:none;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;font-size:12px;line-height:1.5;color:#333;background-color:#fff}.tiptap-editor-container .editor-char-count{position:absolute;right:10px;bottom:8px;font-size:12px;color:#909399;user-select:none;line-height:1;padding:2px 4px;background:rgba(255,255,255,.9);border-radius:2px;pointer-events:none;white-space:nowrap}.ml-2{margin-left:8px}.toolbar{display:flex;flex-wrap:wrap;align-items:center;padding:8px;border-bottom:1px solid #e0e0e0;background-color:#fff;gap:4px}.upload-container{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden;padding:20px;transition:border-color .3s}.toolbar-btn,.toolbar-group{display:flex;align-items:center}.upload-container:hover{border-color:#409EFF}.toolbar-group{gap:2px}.toolbar-separator{width:1px;height:20px;background-color:#e0e0e0;margin:0 8px}.toolbar-btn{justify-content:center;width:28px;height:28px;border:none;background:0 0;border-radius:4px;cursor:pointer;color:#333;font-size:14px;transition:background-color .2s}.dropdown-trigger,.toolbar-btn.toolbar-html-toggle{width:auto;padding:0 8px;gap:4px}.toolbar-btn:hover{background-color:#f0f0f0}.toolbar-btn.is-active{background-color:#e8f0fe;color:#1a73e8}.toolbar-btn:disabled{opacity:.5;cursor:not-allowed}.toolbar-html-label{font-size:12px}.dropdown-wrapper{position:relative}.dropdown-menu{position:absolute;top:100%;left:0;background-color:#fff;border:1px solid #e0e0e0;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.15);z-index:1000;min-width:150px;padding:4px 0}.color-picker-menu{width:210px;padding:10px}.color-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin-bottom:10px}.color-item{width:30px;height:30px;border-radius:50%;cursor:pointer;border:1px solid #ddd;transition:transform .1s}.color-item:hover{transform:scale(1.1);border-color:#999}.color-item.is-selected{border:2px solid #409EFF}.remove-color{display:flex;align-items:center;justify-content:center;background-color:#f5f5f5;color:#666;font-size:14px}.hex-input-wrapper{display:flex;gap:5px}.hex-input-wrapper input{flex:1;padding:4px 8px;border:1px solid #dcdfe6;border-radius:4px;font-size:12px;outline:0}.hex-input-wrapper input:focus{border-color:#409EFF}.hex-input-wrapper button{padding:4px 10px;background-color:#fff;border:1px solid #dcdfe6;border-radius:4px;cursor:pointer;font-size:12px}.hex-input-wrapper button:hover{color:#409EFF;border-color:#c6e2ff;background-color:#ecf5ff}.dropdown-item{padding:6px 12px;cursor:pointer;font-size:14px}.dropdown-item:hover{background-color:#f5f5f5}.dropdown-item.is-active{color:#1a73e8;background-color:#e8f0fe}.bpm-select-user-edit .select-item-box{background:#fff;border-radius:4px;border:1px solid #ccc;min-height:40px;width:750px;display:flex;flex-wrap:wrap;align-items:center;padding:4px 4px 0}.bpm-select-user-edit .select-item-box .el-tag{margin-right:5px;margin-bottom:5px}.bpm-select-user-edit .select-item-box:focus{border:1px solid #246ae3}.bpm-select-user-edit .placeholder{margin-left:10px;color:#999}.select-user-board-popover .select-user-board{display:flex}.select-user-board-popover .select-user-board .derpartment-select{min-width:200px;border-right:1px solid #E1E3EA}.select-user-board-popover .select-user-board .derpartment-select .title{padding-left:10px;padding-top:10px;font-size:12px;font-weight:700;margin:0 0 10px}.select-user-board-popover .select-user-board .derpartment-select .department-list{margin-top:5px;height:300px;overflow:auto}.select-user-board-popover .select-user-board .derpartment-select .department-list li{height:40px;padding:10px}.select-user-board-popover .select-user-board .derpartment-select .department-list li:hover{background:#eae8e8}.select-user-board-popover .select-user-board .derpartment-select .department-list .is-selected{background:#E4E7ED}.select-user-board-popover .select-user-board .staff-select{padding:10px;min-width:300px}.select-user-board-popover .select-user-board .staff-select .title{font-size:12px;font-weight:700;margin:0 0 10px}.select-user-board-popover .select-user-board .staff-select .staff-select-list{margin-top:10px;height:300px;overflow:auto}.select-user-board-popover .select-user-board .staff-select .staff-select-list .el-checkbox,.select-user-board-popover .select-user-board .staff-select .staff-select-list .el-radio{width:100%;line-height:25px}.appointment-board .date-list{display:flex;overflow:auto;width:100%}.appointment-board .date-list .date-item{display:flex;flex-direction:column;min-width:100px;align-items:center;margin-right:5px}.appointment-board .date-list .date-item .date-title{font-weight:500;margin-bottom:10px}.appointment-board .date-list .date-item .time-range-item{cursor:pointer;margin-bottom:5px;background:#dcf3ff;padding:5px 15px;font-size:12px;height:40px;display:flex;flex-direction:column;align-items:center;justify-content:center}.appointment-board .date-list .date-item .disabled{cursor:not-allowed;background:#f2f2f2}.appointment-board .date-list .date-item .selected{color:#fff;background:#246ae3}.el-dialog__body:has(.create-form-iframe),.el-dialog__body:has(.detail-form-iframe){padding:0}.bpm-video-dialog-fullscreen .el-dialog__header{display:none!important}.bpm-video-dialog-fullscreen .el-dialog__body{padding:0!important;background-color:#000;height:100vh;box-sizing:border-box}.bpm-video-dialog-normal .el-dialog__body{padding:0!important;background-color:#000;height:60vh;box-sizing:border-box}.bpm-video-grid-item{width:100%;height:100%;overflow:hidden;position:relative}.external-from-link-editor .external-from-link-card .external-from-link-card-item{margin-bottom:10px}.external-from-link-editor .external-from-link-card .external-from-link-card-item .del-btn{color:#ff2f7f}.external-from-link-editor .external-from-link-list{font-size:14px}.external-from-link-editor .external-from-link-list .external-from-link-list-item{word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;height:25px;display:flex;align-items:center}.external-from-link-editor .external-from-link-list .external-from-link-list-item .del-btn{color:#ff2f7f;margin-left:10px;visibility:hidden}.external-from-link-editor .external-from-link-list .external-from-link-list-item:hover{height:25px;color:#409EFF}.external-from-link-editor .external-from-link-list .external-from-link-list-item:hover .del-btn{visibility:visible}.bpm-select-check-item .bpm-select-check-item-editor__clear,.bpm-select-check-item .bpm-select-check-item-editor__trigger{cursor:pointer}.bpm-select-check-item-dialog .bpm-select-check-item-editor__selected{display:flex;align-items:flex-start;gap:8px;margin-bottom:16px}.bpm-select-check-item-dialog .bpm-select-check-item-editor__selected-title{flex:none;line-height:24px;white-space:nowrap;color:#606266}.bpm-select-check-item-dialog .bpm-select-check-item-editor__selected-tags{display:flex;flex:1;flex-wrap:wrap;gap:8px;min-width:0}.bpm-select-check-item-dialog .bpm-select-check-item-editor__empty{line-height:24px;color:#c0c4cc}.bpm-select-check-item-dialog .bpm-select-check-item-editor__tree-wrapper{max-height:480px;overflow:auto;border:1px solid #ebeef5;border-radius:4px;padding:12px 16px}.bpm-select-check-item-dialog .bpm-select-check-item-editor__tree-node{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|