From 510ee6c32686547a727edb752399d204a9b9c7ff Mon Sep 17 00:00:00 2001 From: liufumingren Date: Sat, 19 Sep 2026 17:41:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=9C=9F=E6=9C=BA=E9=80=82=E9=85=8D?= =?UTF-8?q?=E4=B8=8E=E8=B0=83=E8=AF=95=E5=B7=A5=E5=85=B7=E9=93=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复 RK3288 真机 reLaunch 白屏: 新页面 WebView 视口 0×0 导致 CSS vw/vh 归零, renderjs 检测并强制原生重排自愈(公共逻辑 src/render-common/viewport-fix.js) - 移除打包页无效的 lockLandscape(锁屏由 manifest 全局配置承担, setStyle 曾触发 native NPE) - 新增 dev:adb 真机调试热更新脚本: 设备选择/文件监听自动构建重装/真机 console 实时打印 - console 转发 logcat: main.js 接管 uni.__log__ 与 console(UniConsole), 视图层 renderjs 转发(UniViewConsole) - Android 离线包: appid 切换为散单 __UNI__900BDC1 复用其 appKey; prepare.cjs 对齐 compilerVersion 消除版本不一致弹窗 - 新增开机自启 BootReceiver(BOOT_COMPLETED + QUICKBOOT_POWERON) - 启动时将系统音量调至最大(App.vue) - 文档: README 记录白屏踩坑与 dev:adb 用法 --- .gitignore | 4 +- README.md | 65 +++ .../simpleDemo/src/main/AndroidManifest.xml | 12 + .../__UNI__F18BF9C/www/__uniappautomator.js | 16 - .../www/__uniappchooselocation.js | 32 -- .../apps/__UNI__F18BF9C/www/__uniapperror.png | Bin 5842 -> 0 bytes .../www/__uniappopenlocation.js | 32 -- .../apps/__UNI__F18BF9C/www/__uniapppicker.js | 33 -- .../apps/__UNI__F18BF9C/www/__uniappquill.js | 8 - .../www/__uniappquillimageresize.js | 1 - .../apps/__UNI__F18BF9C/www/__uniappscan.js | 32 -- .../__UNI__F18BF9C/www/__uniappsuccess.png | Bin 2021 -> 0 bytes .../apps/__UNI__F18BF9C/www/__uniappview.html | 24 -- .../__UNI__F18BF9C/www/app-config-service.js | 11 - .../apps/__UNI__F18BF9C/www/app-config.js | 1 - .../apps/__UNI__F18BF9C/www/app-service.js | 1 - .../assets/apps/__UNI__F18BF9C/www/app.css | 3 - .../apps/__UNI__F18BF9C/www/manifest.json | 119 ------ .../__UNI__F18BF9C/www/pages/index/index.css | 1 - .../__UNI__F18BF9C/www/pages/login/login.css | 1 - .../__UNI__F18BF9C/www/pages/order/index.css | 1 - .../www/pages/packaging/index.css | 1 - .../www/pages/returns/index.css | 1 - .../www/pages/weighing/index.css | 1 - .../__UNI__F18BF9C/www/static/images/1.png | Bin 84506 -> 0 bytes .../apps/__UNI__F18BF9C/www/static/logo.png | Bin 4023 -> 0 bytes .../__UNI__F18BF9C/www/uni-app-view.umd.js | 7 - .../src/main/assets/data/dcloud_control.xml | 2 +- .../java/com/gztbyc/sandan/BootReceiver.java | 34 ++ android-offline/README.md | 4 +- android-offline/prepare.cjs | 21 + config/README.md | 2 + config/android.example.json | 2 +- package.json | 1 + scripts/dev-adb.cjs | 370 ++++++++++++++++++ src/App.vue | 30 ++ src/api/index.ts | 14 + src/main.js | 41 ++ src/manifest.json | 2 +- src/pages/packaging/index.vue | 39 +- src/render-common/viewport-fix.js | 95 +++++ 41 files changed, 703 insertions(+), 361 deletions(-) delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappautomator.js delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappchooselocation.js delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniapperror.png delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappopenlocation.js delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniapppicker.js delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappquill.js delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappquillimageresize.js delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappscan.js delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappsuccess.png delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappview.html delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/app-config-service.js delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/app-config.js delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/app-service.js delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/app.css delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/manifest.json delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/index/index.css delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/login/login.css delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/order/index.css delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/packaging/index.css delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/returns/index.css delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/weighing/index.css delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/static/images/1.png delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/static/logo.png delete mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/uni-app-view.umd.js create mode 100644 android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/java/com/gztbyc/sandan/BootReceiver.java create mode 100644 scripts/dev-adb.cjs create mode 100644 src/render-common/viewport-fix.js diff --git a/.gitignore b/.gitignore index 6f01ef0..07d3600 100644 --- a/.gitignore +++ b/.gitignore @@ -37,4 +37,6 @@ android-offline/HBuilder-Integrate-AS/**/build/ *.ntvs* *.njsproj *.sln -*.sw? \ No newline at end of file +*.sw? +# 构建注入的 App 资源(由 prepare.cjs 从 dist 拷贝,勿提交) +android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__900BDC1/ diff --git a/README.md b/README.md index e69de29..0d79354 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,65 @@ +# WMS 工作台(wms_worker_station) + +## 真机调试热更新(dev:adb) + +`npm run dev:adb` 一条命令完成真机调试闭环: + +1. 自动列出所有 ADB 设备(多台时交互选择,单台自动选中) +2. 进程常驻,监听 `src/` 与原生工程源码(`simpleDemo/src/main/java`、`AndroidManifest.xml`) +3. 保存文件后自动:`build:app-plus` → 离线打包(gradle 增量) → `adb install -r` → 启动应用(约 20 秒/轮) +4. **真机 console 实时打印到终端**(含视图层 renderjs) + +可选参数: +- `npm run dev:adb -- --no-launch`:重装后不自动启动应用 +- `npm run dev:adb -- --adb=D:\path\to\adb.exe`:自定义 adb 路径(默认自动探测 SDK) + +console 转发原理(release 包 console 默认不进 logcat): +- 逻辑层:`src/main.js` 接管 `console.*` 与 uni-app 内部日志 `uni.__log__`(编译后的 console.log 走它),转发到 logcat tag `UniConsole` +- 视图层:`src/render-common/viewport-fix.js` 的 `installConsoleForward()`,各页 renderjs 调用,tag `UniViewConsole` + +注意:不要 watch `simpleDemo/src/main/assets` 与 `res`(构建注入产物),否则构建自触发死循环(已在脚本中排除)。 + +## ⚠️ 真机坑:登录页 reLaunch 到打包模式白屏(切后台回前台才恢复) + +### 现象 +- 真机(RK3288 工控机 / Android 7.1.2,系统 WebView = Chromium 52)上,从登录页 `uni.reLaunch` 到打包模式页(`/pages/packaging/index`)后**整个页面白屏**; +- 按 Home 退后台再切回前台,页面恢复正常显示; +- 服务层逻辑正常执行(页面 onLoad/onShow/mounted 都跑了,toast/语音也正常),只有渲染层白屏。 + +### 根因 +- reLaunch 创建的新页面 WebView 初始**视口为 0×0**(`window.innerWidth/innerHeight` 都是 0,`document.body` 尺寸 0×0); +- 全局 CSS 的 `html { font-size: min(3.515625vw, 5.2734375vh) }` 依赖视口,视口为 0 时 fontSize 计算为 **0px**; +- 本项目全站用 rem 布局,fontSize=0 → 所有 rem 尺寸归零 → 白屏; +- 切后台回前台时 Activity resume 触发原生重排,视口恢复(961×640 CSS 像素,dpr=2 对应物理 1920×1280),页面随即正常。 + +### 诊断方法(重要,后续排查类似问题照此做) +- **renderjs 的 `console.log` 在 release 包里拿不到**(不会输出到 logcat); +- 必须用原生日志:`plus.android.importClass('android.util.Log').i('TAG', msg)`,然后 `adb logcat | grep TAG`; +- 轮询观察视口:`setInterval` 里打印 `window.innerWidth + 'x' + window.innerHeight` 与 `document.documentElement.style.fontSize / getComputedStyle(...).fontSize`。 + +### 修复(已落地,公共逻辑抽离到 `src/render-common/viewport-fix.js`) +- 在页面 renderjs 的 `mounted` 里 `import { installZeroViewportFix } from '../../render-common/viewport-fix.js'` 并调用一次,检测视口 0×0 时强制原生 Activity 重排自愈; +- 新页面接入示例: + +```js +// 页面 .vue 内的 renderjs 模块 + +``` + +### 后续开发注意 +1. **不要**在页面 renderjs 的 APP 端覆盖 `html` fontSize(真机 rem 统一由 `App.vue` 全局纯 CSS 承担,renderjs 覆盖会导致字号/布局异常); +2. **不要**在新页面 WebView 创建早期(onLoad)调用 `plus.screen.lockOrientation` / `plus.webview.currentWebview().setStyle` 等 native 操作——实测无效且会触发 `AdaUniWebView` 的 `ViewOptions.updateViewData` NPE。横屏由 `manifest.json` 的全局 `screenOrientation` 配置承担,打包页的 lockLandscape 已因此移除; +3. 若新增页面在真机出现同样白屏,按上面的示例接入 `installZeroViewportFix` 即可; +4. 排查白屏类问题先看**视口尺寸**(renderjs 里打 Log),而不是猜字体/样式——0×0 视口下 CSS 的 vw/vh 全部失效是这类白屏的典型特征。 diff --git a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/AndroidManifest.xml b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/AndroidManifest.xml index daa4514..a898f9c 100644 --- a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/AndroidManifest.xml +++ b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/AndroidManifest.xml @@ -1,6 +1,8 @@ + + + + + + + + + \ No newline at end of file diff --git a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappautomator.js b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappautomator.js deleted file mode 100644 index 0f9252f..0000000 --- a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappautomator.js +++ /dev/null @@ -1,16 +0,0 @@ -var n; -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */ -function __spreadArrays(){for(var s=0,i=0,il=arguments.length;in;n++)r(e,e._deferreds[n]);e._deferreds=null}function c(e,n){var t=!1;try{e((function(e){t||(t=!0,i(n,e))}),(function(e){t||(t=!0,f(n,e))}))}catch(o){if(t)return;t=!0,f(n,o)}}var a=setTimeout;o.prototype.catch=function(e){return this.then(null,e)},o.prototype.then=function(e,n){var o=new this.constructor(t);return r(this,new function(e,n,t){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof n?n:null,this.promise=t}(e,n,o)),o},o.prototype.finally=e,o.all=function(e){return new o((function(t,o){function r(e,n){try{if(n&&("object"==typeof n||"function"==typeof n)){var u=n.then;if("function"==typeof u)return void u.call(n,(function(n){r(e,n)}),o)}i[e]=n,0==--f&&t(i)}catch(c){o(c)}}if(!n(e))return o(new TypeError("Promise.all accepts an array"));var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);for(var f=i.length,u=0;i.length>u;u++)r(u,i[u])}))},o.resolve=function(e){return e&&"object"==typeof e&&e.constructor===o?e:new o((function(n){n(e)}))},o.reject=function(e){return new o((function(n,t){t(e)}))},o.race=function(e){return new o((function(t,r){if(!n(e))return r(new TypeError("Promise.race accepts an array"));for(var i=0,f=e.length;f>i;i++)o.resolve(e[i]).then(t,r)}))},o._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){a(e,0)},o._unhandledRejectionFn=function(e){void 0!==console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var l=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw Error("unable to locate global object")}();"Promise"in l?l.Promise.prototype.finally||(l.Promise.prototype.finally=e):l.Promise=o},"object"==typeof exports&&"undefined"!=typeof module?n():"function"==typeof define&&define.amd?define(n):n();var getRandomValues="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),rnds8=new Uint8Array(16);function rng(){if(!getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues(rnds8)}for(var byteToHex=[],i=0;i<256;++i)byteToHex[i]=(i+256).toString(16).substr(1);function v4(options,buf,offset){var i=buf&&offset||0;"string"==typeof options&&(buf="binary"===options?new Array(16):null,options=null);var rnds=(options=options||{}).random||(options.rng||rng)();if(rnds[6]=15&rnds[6]|64,rnds[8]=63&rnds[8]|128,buf)for(var ii=0;ii<16;++ii)buf[i+ii]=rnds[ii];return buf||function(buf,offset){var i=offset||0,bth=byteToHex;return[bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],"-",bth[buf[i++]],bth[buf[i++]],"-",bth[buf[i++]],bth[buf[i++]],"-",bth[buf[i++]],bth[buf[i++]],"-",bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]]].join("")}(rnds)}var hasOwnProperty=Object.prototype.hasOwnProperty,isArray=Array.isArray,PATH_RE=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;function getPaths(path,data){if(isArray(path))return path;if(data&&(val=data,key=path,hasOwnProperty.call(val,key)))return[path];var val,key,res=[];return path.replace(PATH_RE,(function(match,p1,offset,string){return res.push(offset?string.replace(/\\(\\)?/g,"$1"):p1||match),string})),res}function getDataByPath(data,path){var dataPath,paths=getPaths(path,data);for(dataPath=paths.shift();null!=dataPath;){if(null==(data=data[dataPath]))return;dataPath=paths.shift()}return data}var elementMap=new Map;function transEl(el){var _a;if(!function(el){if(el){var tagName=el.tagName;return 0===tagName.indexOf("UNI-")||"BODY"===tagName||0===tagName.indexOf("V-UNI-")||el.__isUniElement}return!1}(el))throw Error("no such element");var element,elementId,elem={elementId:(element=el,elementId=element._id,elementId||(elementId=v4(),element._id=elementId,elementMap.set(elementId,{id:elementId,element:element})),elementId),tagName:el.tagName.toLocaleLowerCase().replace("uni-","")};if(el.__vue__)(vm=el.__vue__)&&(vm.$parent&&vm.$parent.$el===el&&(vm=vm.$parent),vm&&!(null===(_a=vm.$options)||void 0===_a?void 0:_a.isReserved)&&(elem.nodeId=function(vm){if(vm._$weex)return vm._uid;if(vm._$id)return vm._$id;if(vm.uid)return vm.uid;var parent_1=function(vm){for(var parent=vm.$parent;parent;){if(parent._$id)return parent;parent=parent.$parent}}(vm);if(!vm.$parent)return"-1";var vnode=vm.$vnode,context=vnode.context;return context&&context!==parent_1&&context._$id?context._$id+";"+parent_1._$id+","+vnode.data.attrs._i:parent_1._$id+","+vnode.data.attrs._i}(vm)));else var vm;return"video"===elem.tagName&&(elem.videoId=elem.nodeId),elem}function getVm(el){return el.__vue__?{isVue3:!1,vm:el.__vue__}:{isVue3:!0,vm:el.__vueParentComponent}}function getScrollViewMain(el){var _a=getVm(el),isVue3=_a.isVue3,vm=_a.vm;return isVue3?vm.exposed.$getMain():vm.$refs.main}var FUNCTIONS={input:{input:function(el,value){var _a=getVm(el),isVue3=_a.isVue3,vm=_a.vm;isVue3?vm.exposed&&vm.exposed.$triggerInput({value:value}):(vm.valueSync=value,vm.$triggerInput({},{value:value}))}},textarea:{input:function(el,value){var _a=getVm(el),isVue3=_a.isVue3,vm=_a.vm;isVue3?vm.exposed&&vm.exposed.$triggerInput({value:value}):(vm.valueSync=value,vm.$triggerInput({},{value:value}))}},"scroll-view":{scrollTo:function(el,x,y){var main=getScrollViewMain(el);main.scrollLeft=x,main.scrollTop=y},scrollTop:function(el){return getScrollViewMain(el).scrollTop},scrollLeft:function(el){return getScrollViewMain(el).scrollLeft},scrollWidth:function(el){return getScrollViewMain(el).scrollWidth},scrollHeight:function(el){return getScrollViewMain(el).scrollHeight}},swiper:{swipeTo:function(el,index){el.__vue__.current=index}},"movable-view":{moveTo:function(el,x,y){el.__vue__._animationTo(x,y)}},switch:{tap:function(el){el.click()}},slider:{slideTo:function(el,value){var vm=el.__vue__,slider=vm.$refs["uni-slider"],offsetWidth=slider.offsetWidth,boxLeft=slider.getBoundingClientRect().left;vm.value=value,vm._onClick({x:(value-vm.min)*offsetWidth/(vm.max-vm.min)+boxLeft})}}};function createTouchList(touchInits){var _a,touches=touchInits.map((function(touch){return function(touch){if(document.createTouch)return document.createTouch(window,touch.target,touch.identifier,touch.pageX,touch.pageY,touch.screenX,touch.screenY,touch.clientX,touch.clientY);return new Touch(touch)}(touch)}));return document.createTouchList?(_a=document).createTouchList.apply(_a,touches):touches}var WebAdapter={getWindow:function(pageId){return window},getDocument:function(pageId){return document},getEl:function(elementId){var element=elementMap.get(elementId);if(!element)throw Error("element destroyed");return element.element},getOffset:function(node){var rect=node.getBoundingClientRect();return Promise.resolve({left:rect.left+window.pageXOffset,top:rect.top+window.pageYOffset})},querySelector:function(context,selector){return"page"===selector&&(selector="body"),Promise.resolve(transEl(context.querySelector(selector)))},querySelectorAll:function(context,selector){var elements=[],nodeList=document.querySelectorAll(selector);return[].forEach.call(nodeList,(function(node){try{elements.push(transEl(node))}catch(e){}})),Promise.resolve({elements:elements})},queryProperties:function(context,names){return Promise.resolve({properties:names.map((function(name){var value=getDataByPath(context,name.replace(/-([a-z])/g,(function(g){return g[1].toUpperCase()})));return"document.documentElement.scrollTop"===name&&0===value&&(value=getDataByPath(context,"document.body.scrollTop")),value}))})},queryAttributes:function(context,names){return Promise.resolve({attributes:names.map((function(name){return String(context.getAttribute(name))}))})},queryStyles:function(context,names){var style=getComputedStyle(context);return Promise.resolve({styles:names.map((function(name){return style[name]}))})},queryHTML:function(context,type){return Promise.resolve({html:(html="outer"===type?context.outerHTML:context.innerHTML,html.replace(/\n/g,"").replace(/(]*>)(]*>[^<]*<\/span>)(.*?<\/uni-text>)/g,"$1$3").replace(/<\/?[^>]*>/g,(function(replacement){return-1":""===replacement?"":0!==replacement.indexOf(" promise.resolve(callback()).then(() => value), - reason => promise.resolve(callback()).then(() => { - throw reason - }) - ) - } -}; - -if (typeof uni !== 'undefined' && uni && uni.requireGlobal) { - const global = uni.requireGlobal() - ArrayBuffer = global.ArrayBuffer - Int8Array = global.Int8Array - Uint8Array = global.Uint8Array - Uint8ClampedArray = global.Uint8ClampedArray - Int16Array = global.Int16Array - Uint16Array = global.Uint16Array - Int32Array = global.Int32Array - Uint32Array = global.Uint32Array - Float32Array = global.Float32Array - Float64Array = global.Float64Array - BigInt64Array = global.BigInt64Array - BigUint64Array = global.BigUint64Array -}; - - -(()=>{var S=Object.create;var u=Object.defineProperty;var I=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var E=Object.getPrototypeOf,_=Object.prototype.hasOwnProperty;var y=(A,t)=>()=>(t||A((t={exports:{}}).exports,t),t.exports);var G=(A,t,s,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of C(t))!_.call(A,a)&&a!==s&&u(A,a,{get:()=>t[a],enumerable:!(r=I(t,a))||r.enumerable});return A};var k=(A,t,s)=>(s=A!=null?S(E(A)):{},G(t||!A||!A.__esModule?u(s,"default",{value:A,enumerable:!0}):s,A));var B=y((q,D)=>{D.exports=Vue});var Q=Object.prototype.toString,f=A=>Q.call(A),p=A=>f(A).slice(8,-1);function N(){return typeof __channelId__=="string"&&__channelId__}function P(A,t){switch(p(t)){case"Function":return"function() { [native code] }";default:return t}}function j(A,t,s){return N()?(s.push(t.replace("at ","uni-app:///")),console[A].apply(console,s)):s.map(function(a){let o=f(a).toLowerCase();if(["[object object]","[object array]","[object module]"].indexOf(o)!==-1)try{a="---BEGIN:JSON---"+JSON.stringify(a,P)+"---END:JSON---"}catch(i){a=o}else if(a===null)a="---NULL---";else if(a===void 0)a="---UNDEFINED---";else{let i=p(a).toUpperCase();i==="NUMBER"||i==="BOOLEAN"?a="---BEGIN:"+i+"---"+a+"---END:"+i+"---":a=String(a)}return a}).join("---COMMA---")+" "+t}function h(A,t,...s){let r=j(A,t,s);r&&console[A](r)}var m={data(){return{locale:"en",fallbackLocale:"en",localization:{en:{done:"OK",cancel:"Cancel"},zh:{done:"\u5B8C\u6210",cancel:"\u53D6\u6D88"},"zh-hans":{},"zh-hant":{},messages:{}},localizationTemplate:{}}},onLoad(){this.initLocale()},created(){this.initLocale()},methods:{initLocale(){if(this.__initLocale)return;this.__initLocale=!0;let A=(plus.webview.currentWebview().extras||{}).data||{};if(A.messages&&(this.localization.messages=A.messages),A.locale){this.locale=A.locale.toLowerCase();return}let t={chs:"hans",cn:"hans",sg:"hans",cht:"hant",tw:"hant",hk:"hant",mo:"hant"},s=plus.os.language.toLowerCase().split("/")[0].replace("_","-").split("-"),r=s[1];r&&(s[1]=t[r]||r),s.length=s.length>2?2:s.length,this.locale=s.join("-")},localize(A){let t=this.locale,s=t.split("-")[0],r=this.fallbackLocale,a=o=>Object.assign({},this.localization[o],(this.localizationTemplate||{})[o]);return a("messages")[A]||a(t)[A]||a(s)[A]||a(r)[A]||A}}},w={onLoad(){this.initMessage()},methods:{initMessage(){let{from:A,callback:t,runtime:s,data:r={},useGlobalEvent:a}=plus.webview.currentWebview().extras||{};this.__from=A,this.__runtime=s,this.__page=plus.webview.currentWebview().id,this.__useGlobalEvent=a,this.data=JSON.parse(JSON.stringify(r)),plus.key.addEventListener("backbutton",()=>{typeof this.onClose=="function"?this.onClose():plus.webview.currentWebview().close("auto")});let o=this,i=function(n){let l=n.data&&n.data.__message;!l||o.__onMessageCallback&&o.__onMessageCallback(l.data)};if(this.__useGlobalEvent)weex.requireModule("globalEvent").addEventListener("plusMessage",i);else{let n=new BroadcastChannel(this.__page);n.onmessage=i}},postMessage(A={},t=!1){let s=JSON.parse(JSON.stringify({__message:{__page:this.__page,data:A,keep:t}})),r=this.__from;if(this.__runtime==="v8")this.__useGlobalEvent?plus.webview.postMessageToUniNView(s,r):new BroadcastChannel(r).postMessage(s);else{let a=plus.webview.getWebviewById(r);a&&a.evalJS(`__plusMessage&&__plusMessage(${JSON.stringify({data:s})})`)}},onMessage(A){this.__onMessageCallback=A}}};var e=k(B());var b=(A,t)=>{let s=A.__vccOpts||A;for(let[r,a]of t)s[r]=a;return s};var F=Object.defineProperty,T=Object.defineProperties,O=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable,L=(A,t,s)=>t in A?F(A,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):A[t]=s,R=(A,t)=>{for(var s in t||(t={}))M.call(t,s)&&L(A,s,t[s]);if(v)for(var s of v(t))U.call(t,s)&&L(A,s,t[s]);return A},z=(A,t)=>T(A,O(t)),H={map_center_marker_container:{"":{alignItems:"flex-start",width:22,height:70}},map_center_marker:{"":{width:22,height:35}},"unichooselocation-icons":{"":{fontFamily:"unichooselocation",textDecoration:"none",textAlign:"center"}},page:{"":{flex:1,position:"relative"}},"flex-r":{"":{flexDirection:"row",flexWrap:"nowrap"}},"flex-c":{"":{flexDirection:"column",flexWrap:"nowrap"}},"flex-fill":{"":{flex:1}},"a-i-c":{"":{alignItems:"center"}},"j-c-c":{"":{justifyContent:"center"}},"nav-cover":{"":{position:"absolute",left:0,top:0,right:0,height:100,backgroundImage:"linear-gradient(to bottom, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0))"}},statusbar:{"":{height:22}},"title-view":{"":{paddingTop:5,paddingRight:15,paddingBottom:5,paddingLeft:15}},"btn-cancel":{"":{paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0}},"btn-cancel-text":{"":{fontSize:30,color:"#ffffff"}},"btn-done":{"":{backgroundColor:"#007AFF",borderRadius:3,paddingTop:5,paddingRight:12,paddingBottom:5,paddingLeft:12}},"btn-done-disabled":{"":{backgroundColor:"#62abfb"}},"text-done":{"":{color:"#ffffff",fontSize:15,fontWeight:"bold",lineHeight:15,height:15}},"text-done-disabled":{"":{color:"#c0ddfe"}},"map-view":{"":{flex:2,position:"relative"}},map:{"":{width:"750rpx",justifyContent:"center",alignItems:"center"}},"map-location":{"":{position:"absolute",right:20,bottom:25,width:44,height:44,backgroundColor:"#ffffff",borderRadius:40,boxShadow:"0 2px 4px rgba(100, 100, 100, 0.2)"}},"map-location-text":{"":{fontSize:20}},"map-location-text-active":{"":{color:"#007AFF"}},"result-area":{"":{flex:2,position:"relative"}},"search-bar":{"":{paddingTop:12,paddingRight:15,paddingBottom:12,paddingLeft:15,backgroundColor:"#ffffff"}},"search-area":{"":{backgroundColor:"#ebebeb",borderRadius:5,height:30,paddingLeft:8}},"search-text":{"":{fontSize:14,lineHeight:16,color:"#b4b4b4"}},"search-icon":{"":{fontSize:16,color:"#b4b4b4",marginRight:4}},"search-tab":{"":{flexDirection:"row",paddingTop:2,paddingRight:16,paddingBottom:2,paddingLeft:16,marginTop:-10,backgroundColor:"#FFFFFF"}},"search-tab-item":{"":{marginTop:0,marginRight:5,marginBottom:0,marginLeft:5,textAlign:"center",fontSize:14,lineHeight:32,color:"#333333",borderBottomStyle:"solid",borderBottomWidth:2,borderBottomColor:"rgba(0,0,0,0)"}},"search-tab-item-active":{"":{borderBottomColor:"#0079FF"}},"no-data":{"":{color:"#808080"}},"no-data-search":{"":{marginTop:50}},"list-item":{"":{position:"relative",paddingTop:12,paddingRight:15,paddingBottom:12,paddingLeft:15}},"list-line":{"":{position:"absolute",left:15,right:0,bottom:0,height:.5,backgroundColor:"#d3d3d3"}},"list-name":{"":{fontSize:14,lines:1,textOverflow:"ellipsis"}},"list-address":{"":{fontSize:12,color:"#808080",lines:1,textOverflow:"ellipsis",marginTop:5}},"list-icon-area":{"":{paddingLeft:10,paddingRight:10}},"list-selected-icon":{"":{fontSize:20,color:"#007AFF"}},"search-view":{"":{position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"#f6f6f6"}},"searching-area":{"":{flex:5}},"search-input":{"":{fontSize:14,height:30,paddingLeft:6}},"search-cancel":{"":{color:"#0079FF",marginLeft:10}},"loading-view":{"":{paddingTop:15,paddingRight:15,paddingBottom:15,paddingLeft:15}},"loading-icon":{"":{width:28,height:28,color:"#808080"}}},Y=weex.requireModule("dom");Y.addRule("fontFace",{fontFamily:"unichooselocation",src:"url('data:font/truetype;charset=utf-8;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzI8gE4kAAABfAAAAFZjbWFw4nGd6QAAAegAAAGyZ2x5Zn61L/EAAAOoAAACJGhlYWQXJ/zZAAAA4AAAADZoaGVhB94DhgAAALwAAAAkaG10eBQAAAAAAAHUAAAAFGxvY2EBUAGyAAADnAAAAAxtYXhwARMAZgAAARgAAAAgbmFtZWs+cdAAAAXMAAAC2XBvc3SV1XYLAAAIqAAAAE4AAQAAA4D/gABcBAAAAAAABAAAAQAAAAAAAAAAAAAAAAAAAAUAAQAAAAEAAFP+qyxfDzz1AAsEAAAAAADaBFxuAAAAANoEXG4AAP+gBAADYAAAAAgAAgAAAAAAAAABAAAABQBaAAQAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQQAAZAABQAIAokCzAAAAI8CiQLMAAAB6wAyAQgAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA5grsMgOA/4AAXAOAAIAAAAABAAAAAAAABAAAAAQAAAAEAAAABAAAAAQAAAAAAAAFAAAAAwAAACwAAAAEAAABcgABAAAAAABsAAMAAQAAACwAAwAKAAABcgAEAEAAAAAKAAgAAgAC5grmHOZR7DL//wAA5grmHOZR7DL//wAAAAAAAAAAAAEACgAKAAoACgAAAAQAAwACAAEAAAEGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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M+AzhD1RXIIZsl/LoyZmurJHDM7s8lvB2FQ/PmPJ6PseAXP5HGMYAAC7ABbgAF+ACXIALcAEuwAW4ABfgAlyAC3ABLsAFuID/d8Cx4NEt8/byOf0wLnis8zjMq9/Kp7bWw4JOj8u8TlhRl+G/Mp2wpOX48GffvvZ1CyL4B53LAS6zb08EAAAAAElFTkSuQmCC",V={mixins:[w,m],data(){return{positionIcon:x,mapScale:K,userKeyword:"",showLocation:!0,latitude:39.908692,longitude:116.397477,nearList:[],nearSelectedIndex:-1,nearLoading:!1,nearLoadingEnd:!1,noNearData:!1,isUserLocation:!1,statusBarHeight:20,mapHeight:250,markers:[{id:"location",latitude:39.908692,longitude:116.397477,zIndex:"1",iconPath:x,width:26,height:36}],showSearch:!1,searchList:[],searchSelectedIndex:-1,searchLoading:!1,searchEnd:!1,noSearchData:!1,localizationTemplate:{en:{search_tips:"Search for a place",no_found:"No results found",nearby:"Nearby",more:"More"},zh:{search_tips:"\u641C\u7D22\u5730\u70B9",no_found:"\u5BF9\u4E0D\u8D77\uFF0C\u6CA1\u6709\u641C\u7D22\u5230\u76F8\u5173\u6570\u636E",nearby:"\u9644\u8FD1",more:"\u66F4\u591A"}},searchNearFlag:!0,searchMethod:"poiSearchNearBy"}},computed:{disableOK(){return this.nearSelectedIndex<0&&this.searchSelectedIndex<0},searchMethods(){return[{title:this.localize("nearby"),method:"poiSearchNearBy"},{title:this.localize("more"),method:"poiKeywordsSearch"}]}},filters:{distance(A){return A>100?`${A>1e3?(A/1e3).toFixed(1)+"k":A.toFixed(0)}m | `:A>0?"100m\u5185 | ":""}},watch:{searchMethod(){this._searchPageIndex=1,this.searchEnd=!1,this.searchList=[],this._searchKeyword&&this.search()}},onLoad(){this.statusBarHeight=plus.navigator.getStatusbarHeight(),this.mapHeight=plus.screen.resolutionHeight/2;let A=this.data;this.userKeyword=A.keyword||"",this._searchInputTimer=null,this._searchPageIndex=1,this._searchKeyword="",this._nearPageIndex=1,this._hasUserLocation=!1,this._userLatitude=0,this._userLongitude=0},onReady(){this.mapContext=this.$refs.map1,this.data.latitude&&this.data.longitude?(this._hasUserLocation=!0,this.moveToCenter({latitude:this.data.latitude,longitude:this.data.longitude})):this.getUserLocation()},onUnload(){this.clearSearchTimer()},methods:{cancelClick(){this.postMessage({event:"cancel"})},doneClick(){if(this.disableOK)return;let A=this.showSearch&&this.searchSelectedIndex>=0?this.searchList[this.searchSelectedIndex]:this.nearList[this.nearSelectedIndex],t={name:A.name,address:A.address,latitude:A.location.latitude,longitude:A.location.longitude};this.postMessage({event:"selected",detail:t})},getUserLocation(){plus.geolocation.getCurrentPosition(({coordsType:A,coords:t})=>{false?this.wgs84togcjo2(t,s=>{this.getUserLocationSuccess(s)}):this.getUserLocationSuccess(t)},A=>{this._hasUserLocation=!0,h("log","at template/__uniappchooselocation.nvue:292","Gelocation Error: code - "+A.code+"; message - "+A.message)},{geocode:!1,coordsType:"gcj02"})},getUserLocationSuccess(A){this._userLatitude=A.latitude,this._userLongitude=A.longitude,this._hasUserLocation=!0,this.moveToCenter({latitude:A.latitude,longitude:A.longitude})},searchclick(A){this.showSearch=A,A===!1&&plus.key.hideSoftKeybord()},showSearchView(){this.searchList=[],this.showSearch=!0},hideSearchView(){this.showSearch=!1,plus.key.hideSoftKeybord(),this.noSearchData=!1,this.searchSelectedIndex=-1,this._searchKeyword=""},onregionchange(A){var t=A.detail,s=t.type||A.type,r=t.causedBy||A.causedBy;r!=="drag"||s!=="end"||this.mapContext.getCenterLocation(a=>{if(!this.searchNearFlag){this.searchNearFlag=!this.searchNearFlag;return}this.moveToCenter({latitude:a.latitude,longitude:a.longitude})})},onItemClick(A,t){this.searchNearFlag=!1,t.stopPropagation&&t.stopPropagation(),this.nearSelectedIndex!==A&&(this.nearSelectedIndex=A),this.moveToLocation(this.nearList[A]&&this.nearList[A].location)},moveToCenter(A){this.latitude===A.latitude&&this.longitude===A.longitude||(this.latitude=A.latitude,this.longitude=A.longitude,this.updateCenter(A),this.moveToLocation(A),this.isUserLocation=this._userLatitude===A.latitude&&this._userLongitude===A.longitude)},updateCenter(A){this.nearSelectedIndex=-1,this.nearList=[],this._hasUserLocation&&(this._nearPageIndex=1,this.nearLoadingEnd=!1,this.reverseGeocode(A),this.searchNearByPoint(A),this.onItemClick(0,{stopPropagation:()=>{this.searchNearFlag=!0}}),this.$refs.nearListLoadmore.resetLoadmore())},searchNear(){this.nearLoadingEnd||this.searchNearByPoint({latitude:this.latitude,longitude:this.longitude})},searchNearByPoint(A){this.noNearData=!1,this.nearLoading=!0,d.poiSearchNearBy({point:{latitude:A.latitude,longitude:A.longitude},key:this.userKeyword,sortrule:1,index:this._nearPageIndex,radius:1e3},t=>{this.nearLoading=!1,this._nearPageIndex=t.pageIndex+1,this.nearLoadingEnd=t.pageIndex===t.pageNumber,t.poiList&&t.poiList.length?(this.fixPois(t.poiList),this.nearList=this.nearList.concat(t.poiList),this.fixNearList()):this.noNearData=this.nearList.length===0})},moveToLocation(A){!A||this.mapContext.moveToLocation(z(R({},A),{fail:t=>{h("error","at template/__uniappchooselocation.nvue:419","chooseLocation_moveToLocation",t)}}))},reverseGeocode(A){d.reverseGeocode({point:A},t=>{t.type==="success"&&this._nearPageIndex<=2&&(this.nearList.splice(0,0,{code:t.code,location:A,name:"\u5730\u56FE\u4F4D\u7F6E",address:t.address||""}),this.fixNearList())})},fixNearList(){let A=this.nearList;if(A.length>=2&&A[0].name==="\u5730\u56FE\u4F4D\u7F6E"){let t=this.getAddressStart(A[1]),s=A[0].address;s.startsWith(t)&&(A[0].name=s.substring(t.length))}},onsearchinput(A){var t=A.detail.value.replace(/^\s+|\s+$/g,"");this.clearSearchTimer(),this._searchInputTimer=setTimeout(()=>{clearTimeout(this._searchInputTimer),this._searchPageIndex=1,this.searchEnd=!1,this._searchKeyword=t,this.searchList=[],this.search()},300)},clearSearchTimer(){this._searchInputTimer&&clearTimeout(this._searchInputTimer)},search(){this._searchKeyword.length===0||this._searchEnd||this.searchLoading||(this.searchLoading=!0,this.noSearchData=!1,d[this.searchMethod]({point:{latitude:this.latitude,longitude:this.longitude},key:this._searchKeyword,sortrule:1,index:this._searchPageIndex,radius:5e4},A=>{this.searchLoading=!1,this._searchPageIndex=A.pageIndex+1,this.searchEnd=A.pageIndex===A.pageNumber,A.poiList&&A.poiList.length?(this.fixPois(A.poiList),this.searchList=this.searchList.concat(A.poiList)):this.noSearchData=this.searchList.length===0}))},onSearchListTouchStart(){plus.key.hideSoftKeybord()},onSearchItemClick(A,t){t.stopPropagation(),this.searchSelectedIndex!==A&&(this.searchSelectedIndex=A),this.moveToLocation(this.searchList[A]&&this.searchList[A].location)},getAddressStart(A){let t=A.addressOrigin||A.address;return A.province+(A.province===A.city?"":A.city)+(/^\d+$/.test(A.district)||t.startsWith(A.district)?"":A.district)},fixPois(A){for(var t=0;t{if(a.ok){let o=a.data.detail.points[0];t({latitude:o.lat,longitude:o.lng})}})},formatDistance(A){return A>100?`${A>1e3?(A/1e3).toFixed(1)+"k":A.toFixed(0)}m | `:A>0?"100m\u5185 | ":""}}};function Z(A,t,s,r,a,o){return(0,e.openBlock)(),(0,e.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true",style:{flexDirection:"column"}},[(0,e.createElementVNode)("view",{class:"page flex-c"},[(0,e.createElementVNode)("view",{class:"flex-r map-view"},[(0,e.createElementVNode)("map",{class:"map flex-fill",ref:"map1",scale:a.mapScale,showLocation:a.showLocation,longitude:a.longitude,latitude:a.latitude,onRegionchange:t[0]||(t[0]=(...i)=>o.onregionchange&&o.onregionchange(...i)),style:(0,e.normalizeStyle)("height:"+a.mapHeight+"px")},[(0,e.createElementVNode)("div",{class:"map_center_marker_container"},[(0,e.createElementVNode)("u-image",{class:"map_center_marker",src:a.positionIcon},null,8,["src"])])],44,["scale","showLocation","longitude","latitude"]),(0,e.createElementVNode)("view",{class:"map-location flex-c a-i-c j-c-c",onClick:t[1]||(t[1]=i=>o.getUserLocation())},[(0,e.createElementVNode)("u-text",{class:(0,e.normalizeClass)(["unichooselocation-icons map-location-text",{"map-location-text-active":a.isUserLocation}])},"\uEC32",2)]),(0,e.createElementVNode)("view",{class:"nav-cover"},[(0,e.createElementVNode)("view",{class:"statusbar",style:(0,e.normalizeStyle)("height:"+a.statusBarHeight+"px")},null,4),(0,e.createElementVNode)("view",{class:"title-view flex-r"},[(0,e.createElementVNode)("view",{class:"btn-cancel",onClick:t[2]||(t[2]=(...i)=>o.cancelClick&&o.cancelClick(...i))},[(0,e.createElementVNode)("u-text",{class:"unichooselocation-icons btn-cancel-text"},"\uE61C")]),(0,e.createElementVNode)("view",{class:"flex-fill"}),(0,e.createElementVNode)("view",{class:(0,e.normalizeClass)(["btn-done flex-r a-i-c j-c-c",{"btn-done-disabled":o.disableOK}]),onClick:t[3]||(t[3]=(...i)=>o.doneClick&&o.doneClick(...i))},[(0,e.createElementVNode)("u-text",{class:(0,e.normalizeClass)(["text-done",{"text-done-disabled":o.disableOK}])},(0,e.toDisplayString)(A.localize("done")),3)],2)])])]),(0,e.createElementVNode)("view",{class:(0,e.normalizeClass)(["flex-c result-area",{"searching-area":a.showSearch}])},[(0,e.createElementVNode)("view",{class:"search-bar"},[(0,e.createElementVNode)("view",{class:"search-area flex-r a-i-c",onClick:t[4]||(t[4]=(...i)=>o.showSearchView&&o.showSearchView(...i))},[(0,e.createElementVNode)("u-text",{class:"search-icon unichooselocation-icons"},"\uE60A"),(0,e.createElementVNode)("u-text",{class:"search-text"},(0,e.toDisplayString)(A.localize("search_tips")),1)])]),a.noNearData?(0,e.createCommentVNode)("v-if",!0):((0,e.openBlock)(),(0,e.createElementBlock)("list",{key:0,ref:"nearListLoadmore",class:"flex-fill list-view",loadmoreoffset:"5",scrollY:!0,onLoadmore:t[5]||(t[5]=i=>o.searchNear())},[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(a.nearList,(i,n)=>((0,e.openBlock)(),(0,e.createElementBlock)("cell",{key:i.uid},[(0,e.createElementVNode)("view",{class:"list-item",onClick:l=>o.onItemClick(n,l)},[(0,e.createElementVNode)("view",{class:"flex-r"},[(0,e.createElementVNode)("view",{class:"list-text-area flex-fill flex-c"},[(0,e.createElementVNode)("u-text",{class:"list-name"},(0,e.toDisplayString)(i.name),1),(0,e.createElementVNode)("u-text",{class:"list-address"},(0,e.toDisplayString)(o.formatDistance(i.distance))+(0,e.toDisplayString)(i.address),1)]),n===a.nearSelectedIndex?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:0,class:"list-icon-area flex-r a-i-c j-c-c"},[(0,e.createElementVNode)("u-text",{class:"unichooselocation-icons list-selected-icon"},"\uE651")])):(0,e.createCommentVNode)("v-if",!0)]),(0,e.createElementVNode)("view",{class:"list-line"})],8,["onClick"])]))),128)),a.nearLoading?((0,e.openBlock)(),(0,e.createElementBlock)("cell",{key:0},[(0,e.createElementVNode)("view",{class:"loading-view flex-c a-i-c j-c-c"},[(0,e.createElementVNode)("loading-indicator",{class:"loading-icon",animating:!0,arrow:"false"})])])):(0,e.createCommentVNode)("v-if",!0)],544)),a.noNearData?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:1,class:"flex-fill flex-r a-i-c j-c-c"},[(0,e.createElementVNode)("u-text",{class:"no-data"},(0,e.toDisplayString)(A.localize("no_found")),1)])):(0,e.createCommentVNode)("v-if",!0),a.showSearch?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:2,class:"search-view flex-c"},[(0,e.createElementVNode)("view",{class:"search-bar flex-r a-i-c"},[(0,e.createElementVNode)("view",{class:"search-area flex-fill flex-r"},[(0,e.createElementVNode)("u-input",{focus:!0,onInput:t[6]||(t[6]=(...i)=>o.onsearchinput&&o.onsearchinput(...i)),class:"search-input flex-fill",placeholder:A.localize("search_tips")},null,40,["placeholder"])]),(0,e.createElementVNode)("u-text",{class:"search-cancel",onClick:t[7]||(t[7]=(...i)=>o.hideSearchView&&o.hideSearchView(...i))},(0,e.toDisplayString)(A.localize("cancel")),1)]),(0,e.createElementVNode)("view",{class:"search-tab"},[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(o.searchMethods,(i,n)=>((0,e.openBlock)(),(0,e.createElementBlock)("u-text",{onClick:l=>a.searchMethod=a.searchLoading?a.searchMethod:i.method,key:n,class:(0,e.normalizeClass)([{"search-tab-item-active":i.method===a.searchMethod},"search-tab-item"])},(0,e.toDisplayString)(i.title),11,["onClick"]))),128))]),a.noSearchData?(0,e.createCommentVNode)("v-if",!0):((0,e.openBlock)(),(0,e.createElementBlock)("list",{key:0,class:"flex-fill list-view",enableBackToTop:!0,scrollY:!0,onLoadmore:t[8]||(t[8]=i=>o.search()),onTouchstart:t[9]||(t[9]=(...i)=>o.onSearchListTouchStart&&o.onSearchListTouchStart(...i))},[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(a.searchList,(i,n)=>((0,e.openBlock)(),(0,e.createElementBlock)("cell",{key:i.uid},[(0,e.createElementVNode)("view",{class:"list-item",onClick:l=>o.onSearchItemClick(n,l)},[(0,e.createElementVNode)("view",{class:"flex-r"},[(0,e.createElementVNode)("view",{class:"list-text-area flex-fill flex-c"},[(0,e.createElementVNode)("u-text",{class:"list-name"},(0,e.toDisplayString)(i.name),1),(0,e.createElementVNode)("u-text",{class:"list-address"},(0,e.toDisplayString)(o.formatDistance(i.distance))+(0,e.toDisplayString)(i.address),1)]),n===a.searchSelectedIndex?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:0,class:"list-icon-area flex-r a-i-c j-c-c"},[(0,e.createElementVNode)("u-text",{class:"unichooselocation-icons list-selected-icon"},"\uE651")])):(0,e.createCommentVNode)("v-if",!0)]),(0,e.createElementVNode)("view",{class:"list-line"})],8,["onClick"])]))),128)),a.searchLoading?((0,e.openBlock)(),(0,e.createElementBlock)("cell",{key:0},[(0,e.createElementVNode)("view",{class:"loading-view flex-c a-i-c j-c-c"},[(0,e.createElementVNode)("loading-indicator",{class:"loading-icon",animating:!0})])])):(0,e.createCommentVNode)("v-if",!0)],32)),a.noSearchData?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:1,class:"flex-fill flex-r j-c-c"},[(0,e.createElementVNode)("u-text",{class:"no-data no-data-search"},(0,e.toDisplayString)(A.localize("no_found")),1)])):(0,e.createCommentVNode)("v-if",!0)])):(0,e.createCommentVNode)("v-if",!0)],2)])])}var c=b(V,[["render",Z],["styles",[H]]]);var g=plus.webview.currentWebview();if(g){let A=parseInt(g.id),t="template/__uniappchooselocation",s={};try{s=JSON.parse(g.__query__)}catch(a){}c.mpType="page";let r=Vue.createPageApp(c,{$store:getApp({allowDefault:!0}).$store,__pageId:A,__pagePath:t,__pageQuery:s});r.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...c.styles||[]])),r.mount("#root")}})(); diff --git a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniapperror.png b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniapperror.png deleted file mode 100644 index 4743b25e1284270fee6ba8fefdb5265f6c451a93..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5842 zcmX9?cRW@9|3CM-bnO|Hb#aWWs3fy%--{?^UMqX=O>!%tjO!T5{Dd^PcH~;OGDB9f zrR;Kzt4Kz_+xPd!Ip^^>=kb2NUeDJ)ucT`x2CPhHm;eA^#bR{LXwRO17m|T?Ct6h& z0s!w5tghD02zyEa^I_~me?s;@f;rE@tf6>(C z!@8|ReKNh-b~I|u7nmFW70DhqZqAZ7btn#uhu?N19NzZg*elA4V+OzCMArQ8a#+Bs z&jSZLo7~zL*Zz2L^j`(sCK48PuCh7u{0YMI*y>@0861mJrIt^BWB%KW%H{`b^{I0r zg+^jJ;rO3qSx<9-KYoy!Vw<$A7TKvgvQLQlZ(pRo-GC4CMjy&%y*t4{_M)_hSQ~hp zJ3;ECVm`0x2>4Xci+ZM4W;wNrw56&f9QPY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/__uniappopenlocation.js b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappopenlocation.js deleted file mode 100644 index cd98190..0000000 --- a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappopenlocation.js +++ /dev/null @@ -1,32 +0,0 @@ -"use weex:vue"; - -if (typeof Promise !== 'undefined' && !Promise.prototype.finally) { - Promise.prototype.finally = function(callback) { - const promise = this.constructor - return this.then( - value => promise.resolve(callback()).then(() => value), - reason => promise.resolve(callback()).then(() => { - throw reason - }) - ) - } -}; - -if (typeof uni !== 'undefined' && uni && uni.requireGlobal) { - const global = uni.requireGlobal() - ArrayBuffer = global.ArrayBuffer - Int8Array = global.Int8Array - Uint8Array = global.Uint8Array - Uint8ClampedArray = global.Uint8ClampedArray - Int16Array = global.Int16Array - Uint16Array = global.Uint16Array - Int32Array = global.Int32Array - Uint32Array = global.Uint32Array - Float32Array = global.Float32Array - Float64Array = global.Float64Array - BigInt64Array = global.BigInt64Array - BigUint64Array = global.BigUint64Array -}; - - -(()=>{var B=Object.create;var m=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var P=Object.getPrototypeOf,Q=Object.prototype.hasOwnProperty;var I=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var E=(e,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of w(t))!Q.call(e,o)&&o!==a&&m(e,o,{get:()=>t[o],enumerable:!(n=b(t,o))||n.enumerable});return e};var O=(e,t,a)=>(a=e!=null?B(P(e)):{},E(t||!e||!e.__esModule?m(a,"default",{value:e,enumerable:!0}):a,e));var f=I((L,C)=>{C.exports=Vue});var d={data(){return{locale:"en",fallbackLocale:"en",localization:{en:{done:"OK",cancel:"Cancel"},zh:{done:"\u5B8C\u6210",cancel:"\u53D6\u6D88"},"zh-hans":{},"zh-hant":{},messages:{}},localizationTemplate:{}}},onLoad(){this.initLocale()},created(){this.initLocale()},methods:{initLocale(){if(this.__initLocale)return;this.__initLocale=!0;let e=(plus.webview.currentWebview().extras||{}).data||{};if(e.messages&&(this.localization.messages=e.messages),e.locale){this.locale=e.locale.toLowerCase();return}let t={chs:"hans",cn:"hans",sg:"hans",cht:"hant",tw:"hant",hk:"hant",mo:"hant"},a=plus.os.language.toLowerCase().split("/")[0].replace("_","-").split("-"),n=a[1];n&&(a[1]=t[n]||n),a.length=a.length>2?2:a.length,this.locale=a.join("-")},localize(e){let t=this.locale,a=t.split("-")[0],n=this.fallbackLocale,o=s=>Object.assign({},this.localization[s],(this.localizationTemplate||{})[s]);return o("messages")[e]||o(t)[e]||o(a)[e]||o(n)[e]||e}}},h={onLoad(){this.initMessage()},methods:{initMessage(){let{from:e,callback:t,runtime:a,data:n={},useGlobalEvent:o}=plus.webview.currentWebview().extras||{};this.__from=e,this.__runtime=a,this.__page=plus.webview.currentWebview().id,this.__useGlobalEvent=o,this.data=JSON.parse(JSON.stringify(n)),plus.key.addEventListener("backbutton",()=>{typeof this.onClose=="function"?this.onClose():plus.webview.currentWebview().close("auto")});let s=this,r=function(l){let A=l.data&&l.data.__message;!A||s.__onMessageCallback&&s.__onMessageCallback(A.data)};if(this.__useGlobalEvent)weex.requireModule("globalEvent").addEventListener("plusMessage",r);else{let l=new BroadcastChannel(this.__page);l.onmessage=r}},postMessage(e={},t=!1){let a=JSON.parse(JSON.stringify({__message:{__page:this.__page,data:e,keep:t}})),n=this.__from;if(this.__runtime==="v8")this.__useGlobalEvent?plus.webview.postMessageToUniNView(a,n):new BroadcastChannel(n).postMessage(a);else{let o=plus.webview.getWebviewById(n);o&&o.evalJS(`__plusMessage&&__plusMessage(${JSON.stringify({data:a})})`)}},onMessage(e){this.__onMessageCallback=e}}};var i=O(f());var v=(e,t)=>{let a=e.__vccOpts||e;for(let[n,o]of t)a[n]=o;return a};var x={page:{"":{flex:1}},"flex-r":{"":{flexDirection:"row",flexWrap:"nowrap"}},"flex-c":{"":{flexDirection:"column",flexWrap:"nowrap"}},"flex-fill":{"":{flex:1}},"a-i-c":{"":{alignItems:"center"}},"j-c-c":{"":{justifyContent:"center"}},target:{"":{paddingTop:10,paddingBottom:10}},"text-area":{"":{paddingLeft:10,paddingRight:10,flex:1}},name:{"":{fontSize:16,lines:1,textOverflow:"ellipsis"}},address:{"":{fontSize:14,color:"#808080",lines:1,textOverflow:"ellipsis",marginTop:2}},"goto-area":{"":{width:50,height:50,paddingTop:8,paddingRight:8,paddingBottom:8,paddingLeft:8,backgroundColor:"#007aff",borderRadius:50,marginRight:10}},"goto-icon":{"":{width:34,height:34}},"goto-text":{"":{fontSize:14,color:"#FFFFFF"}}},z={mixins:[h,d],data(){return{bottom:"0px",longitude:"",latitude:"",markers:[],name:"",address:"",localizationTemplate:{en:{"map.title.amap":"AutoNavi Maps","map.title.baidu":"Baidu Maps","map.title.tencent":"Tencent Maps","map.title.apple":"Apple Maps","map.title.google":"Google Maps","location.title":"My Location","select.cancel":"Cancel"},zh:{"map.title.amap":"\u9AD8\u5FB7\u5730\u56FE","map.title.baidu":"\u767E\u5EA6\u5730\u56FE","map.title.tencent":"\u817E\u8BAF\u5730\u56FE","map.title.apple":"\u82F9\u679C\u5730\u56FE","map.title.google":"\u8C37\u6B4C\u5730\u56FE","location.title":"\u6211\u7684\u4F4D\u7F6E","select.cancel":"\u53D6\u6D88"}},android:weex.config.env.platform.toLowerCase()==="android"}},onLoad(){let e=this.data;if(this.latitude=e.latitude,this.longitude=e.longitude,this.name=e.name||"",this.address=e.address||"",!this.android){let t=plus.webview.currentWebview().getSafeAreaInsets();this.bottom=t.bottom+"px"}},onReady(){this.mapContext=this.$refs.map1,this.markers=[{id:"location",latitude:this.latitude,longitude:this.longitude,title:this.name,zIndex:"1",iconPath:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAABICAMAAACORiZjAAAByFBMVEUAAAD/PyL/PyL/PyL/PyL/PyL/PyL/PyL/PyL/PiL/PyL/PyL/PyP/P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n42hxdd2BuOnv3Z2d3YO4Y29LCitcQiItcxxH5kcEncRhmc5UiofowuJxqPO5kZjm9rFROC9JWAXqC8HBgciI1AWcRbqj+fgX0emDg+MRif5OglmgJdlIEvzCJ8D5xQjQORhOlJlTKR4qmwD6B6FtOJ012yyMjrHMwuNTCM1jUG2SHDQPoWMMciZxdBR6PQOOtyF0ikEmEfrom5FqH0J7YOh+LUAE1bbolmrqj5SZOwTDxXJTdBFRqCrsBtoHRnAW7hRXThYE3VA7koVjo2CfUK4O2WdHodx7c7FsZ25sNDtotxp4SF++OIrpcHf+6Ojk7BA/X2wwOfRIeLj5wVGNClYJF4K/sY4SrVBJhj323hHXG/ymScEu091PH0HaS5e0MEslGeLuBCt9fqYWKLNXNIpZGcuXfqlqqaHWLhrFrLpWvqpqpU1ixFs9Ll1WY5ZLo19ECUb3X+VXg/y5wEj4qtYVlXCtRdIvErtyZi0nDJc1aLZxCPtrZ3P9PxLIX2Vy8P8zQAxla1xVZlYba6NbYAAi7KIwSxnKKjDHtoAHfOb/qSD/Z1OKEA4XbXHUr8ozq/XOZKOFxgkx4Mv177Jaz4fhQFnWdr8c4283pVhBRSDg4+zLeOYyu9CcCsIBK5T2fF0mXK7JkYaAEaAoY9Mazqw1FdnBRcWFuA/ZGDOd/R7eH7my3m1MA208k60I3ibHozUps/bICe+PQllbUmjrBaxIqaynG5JwT5UrgmW9ubpjrt5kJMOKlMvavIM2o08cVqRcVvONyNw0Y088YVmvPIJeqVUEy9rkmU31imBZ1x7PNV6RelkeD16Relmfbm81VQTLevs2A74iDWXpXzznwwEj9YCszcbCcOqiSY4jYTh1Jx1B04o+/wH6/wOSPFj1xgAAAABJRU5ErkJggg==",width:26,height:36}],this.updateMarker()},methods:{goto(){var e=weex.config.env.platform==="iOS";this.openSysMap(this.latitude,this.longitude,this.name,e)},updateMarker(){this.mapContext.moveToLocation(),this.mapContext.translateMarker({markerId:"location",destination:{latitude:this.latitude,longitude:this.longitude},duration:0},e=>{})},openSysMap(e,t,a,n){let o=weex.requireModule("mapSearch");var s=[{title:this.localize("map.title.tencent"),getUrl:function(){var A;return A="https://apis.map.qq.com/uri/v1/routeplan?type=drive&to="+encodeURIComponent(a)+"&tocoord="+encodeURIComponent(e+","+t)+"&referer=APP",A}},{title:this.localize("map.title.google"),getUrl:function(){var A;return A="https://www.google.com/maps/?daddr="+encodeURIComponent(a)+"&sll="+encodeURIComponent(e+","+t),A}}],r=[{title:this.localize("map.title.amap"),pname:"com.autonavi.minimap",action:n?"iosamap://":"amapuri://",getUrl:function(){var A;return n?A="iosamap://path":A="amapuri://route/plan/",A+="?sourceApplication=APP&dname="+encodeURIComponent(a)+"&dlat="+e+"&dlon="+t+"&dev=0",A}},{title:this.localize("map.title.baidu"),pname:"com.baidu.BaiduMap",action:"baidumap://",getUrl:function(){var A="baidumap://map/direction?destination="+encodeURIComponent("latlng:"+e+","+t+"|name:"+a)+"&mode=driving&src=APP&coord_type=gcj02";return A}},{title:this.localize("map.title.tencent"),pname:"com.tencent.map",action:"qqmap://",getUrl:()=>{var A;return A="qqmap://map/routeplan?type=drive"+(n?"&from="+encodeURIComponent(this.localize("location.title")):"")+"&to="+encodeURIComponent(a)+"&tocoord="+encodeURIComponent(e+","+t)+"&referer=APP",A}},{title:this.localize("map.title.google"),pname:"com.google.android.apps.maps",action:"comgooglemapsurl://",getUrl:function(){var A;return n?A="comgooglemapsurl://maps.google.com/":A="https://www.google.com/maps/",A+="?daddr="+encodeURIComponent(a)+"&sll="+encodeURIComponent(e+","+t),A}}],l=[];r.forEach(function(A){var g=plus.runtime.isApplicationExist({pname:A.pname,action:A.action});g&&l.push(A)}),n&&l.unshift({title:this.localize("map.title.apple"),navigateTo:function(){o.openSystemMapNavigation({longitude:t,latitude:e,name:a})}}),l.length===0&&(l=l.concat(s)),plus.nativeUI.actionSheet({cancel:this.localize("select.cancel"),buttons:l},function(A){var g=A.index,c;g>0&&(c=l[g-1],c.navigateTo?c.navigateTo():plus.runtime.openURL(c.getUrl(),function(){},c.pname))})}}};function R(e,t,a,n,o,s){return(0,i.openBlock)(),(0,i.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true",style:{flexDirection:"column"}},[(0,i.createElementVNode)("view",{class:"page flex-c",style:(0,i.normalizeStyle)({paddingBottom:o.bottom})},[(0,i.createElementVNode)("map",{class:"flex-fill map",ref:"map1",longitude:o.longitude,latitude:o.latitude,markers:o.markers},null,8,["longitude","latitude","markers"]),(0,i.createElementVNode)("view",{class:"flex-r a-i-c target"},[(0,i.createElementVNode)("view",{class:"text-area"},[(0,i.createElementVNode)("u-text",{class:"name"},(0,i.toDisplayString)(o.name),1),(0,i.createElementVNode)("u-text",{class:"address"},(0,i.toDisplayString)(o.address),1)]),(0,i.createElementVNode)("view",{class:"goto-area",onClick:t[0]||(t[0]=(...r)=>s.goto&&s.goto(...r))},[(0,i.createElementVNode)("u-image",{class:"goto-icon",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADIEAYAAAD9yHLdAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAAASAAAAEgARslrPgAADzVJREFUeNrt3WmMFMUfxvGqRREjEhXxIAooUQTFGPGIeLAcshoxRhM1Eu+YjZGIJh4vTIzHC1GJiiCeiUckEkWDVzxQxHgRvNB4LYiigshyxFXYg4Bb/xfPv1YbFpjtnZmq7v5+3vxSs8vOr4vpfqZ6pmeMAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMKwoRtAtjnnnHN77KHR2LGqhx327y8YZ9zSpcYaa+z8+dZaa21LS+i+AQCBKDgmTVJdv96VZN06/+9C9w8AqBId+K1Vfeih0gJjZ/zfsayEASBvksExbVp5gmNrjz5KkABATlQnOAgSAMiNMMFBkABAZsURHAQJAGRGnMFBkABAtLIRH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uDlzQrcBYPsIEMTFGWfcunV67YPvLAdiRoAgLtZYY+fN06kr//0eAGJEgCBC8+eH7gDAzhEgiNCiRaE7ALBzBAgi0tam10CWLAndCYCdI0AQB2eccd9+qyvO/UeXAIgZAYI4WGON9V9NCyALCBBExF95DiALCBDEwRlnHAECZAkBgjhYY41dvz50GwBKR4AgIi0toTsAUDoCBHFwxhnX2hq6DQClI0BQgk2bKn4X1lhj//479JYCKB0BghL8+mtl/77/uPZffgm9pQCAMnPOOec+/9yVW7trd+2ffRZ6+wAAFaID/dlnlz1AnHPOnXVW6O0DAFSYDvhTppRn5XHXXaG3BwBQZUqBK65QbWwsLTVWr1a9/PLQ/QPoPhu6AWSbAqFXL43GjFEdMiT5Ww0NqgsW6Iui2tpC9w0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAyK7/ATO6t9N2I5PTAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTAzLTAxVDExOjQ1OjU1KzA4OjAw5vcxUwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wMy0wMVQxMTo0NTo1NSswODowMJeqie8AAABSdEVYdHN2ZzpiYXNlLXVyaQBmaWxlOi8vL2hvbWUvYWRtaW4vaWNvbi1mb250L3RtcC9pY29uX2lnaGV6d2JubWhiL25hdmlnYXRpb25fbGluZS5zdmc29Ka/AAAAAElFTkSuQmCC"})])])],4)])}var p=v(z,[["render",R],["styles",[x]]]);var u=plus.webview.currentWebview();if(u){let e=parseInt(u.id),t="template/__uniappopenlocation",a={};try{a=JSON.parse(u.__query__)}catch(o){}p.mpType="page";let n=Vue.createPageApp(p,{$store:getApp({allowDefault:!0}).$store,__pageId:e,__pagePath:t,__pageQuery:a});n.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...p.styles||[]])),n.mount("#root")}})(); diff --git a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniapppicker.js b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniapppicker.js deleted file mode 100644 index a654783..0000000 --- a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniapppicker.js +++ /dev/null @@ -1,33 +0,0 @@ -"use weex:vue"; - -if (typeof Promise !== 'undefined' && !Promise.prototype.finally) { - Promise.prototype.finally = function(callback) { - const promise = this.constructor - return this.then( - value => promise.resolve(callback()).then(() => value), - reason => promise.resolve(callback()).then(() => { - throw reason - }) - ) - } -}; - -if (typeof uni !== 'undefined' && uni && uni.requireGlobal) { - const global = uni.requireGlobal() - ArrayBuffer = global.ArrayBuffer - Int8Array = global.Int8Array - Uint8Array = global.Uint8Array - Uint8ClampedArray = global.Uint8ClampedArray - Int16Array = global.Int16Array - Uint16Array = global.Uint16Array - Int32Array = global.Int32Array - Uint32Array = global.Uint32Array - Float32Array = global.Float32Array - Float64Array = global.Float64Array - BigInt64Array = global.BigInt64Array - BigUint64Array = global.BigUint64Array -}; - - -(()=>{var D=Object.create;var b=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var M=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty;var V=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var L=(e,t,a,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of x(t))!I.call(e,r)&&r!==a&&b(e,r,{get:()=>t[r],enumerable:!(i=C(t,r))||i.enumerable});return e};var N=(e,t,a)=>(a=e!=null?D(M(e)):{},L(t||!e||!e.__esModule?b(a,"default",{value:e,enumerable:!0}):a,e));var A=V((U,v)=>{v.exports=Vue});var _={data(){return{locale:"en",fallbackLocale:"en",localization:{en:{done:"OK",cancel:"Cancel"},zh:{done:"\u5B8C\u6210",cancel:"\u53D6\u6D88"},"zh-hans":{},"zh-hant":{},messages:{}},localizationTemplate:{}}},onLoad(){this.initLocale()},created(){this.initLocale()},methods:{initLocale(){if(this.__initLocale)return;this.__initLocale=!0;let e=(plus.webview.currentWebview().extras||{}).data||{};if(e.messages&&(this.localization.messages=e.messages),e.locale){this.locale=e.locale.toLowerCase();return}let t={chs:"hans",cn:"hans",sg:"hans",cht:"hant",tw:"hant",hk:"hant",mo:"hant"},a=plus.os.language.toLowerCase().split("/")[0].replace("_","-").split("-"),i=a[1];i&&(a[1]=t[i]||i),a.length=a.length>2?2:a.length,this.locale=a.join("-")},localize(e){let t=this.locale,a=t.split("-")[0],i=this.fallbackLocale,r=n=>Object.assign({},this.localization[n],(this.localizationTemplate||{})[n]);return r("messages")[e]||r(t)[e]||r(a)[e]||r(i)[e]||e}}},k={onLoad(){this.initMessage()},methods:{initMessage(){let{from:e,callback:t,runtime:a,data:i={},useGlobalEvent:r}=plus.webview.currentWebview().extras||{};this.__from=e,this.__runtime=a,this.__page=plus.webview.currentWebview().id,this.__useGlobalEvent=r,this.data=JSON.parse(JSON.stringify(i)),plus.key.addEventListener("backbutton",()=>{typeof this.onClose=="function"?this.onClose():plus.webview.currentWebview().close("auto")});let n=this,c=function(o){let u=o.data&&o.data.__message;!u||n.__onMessageCallback&&n.__onMessageCallback(u.data)};if(this.__useGlobalEvent)weex.requireModule("globalEvent").addEventListener("plusMessage",c);else{let o=new BroadcastChannel(this.__page);o.onmessage=c}},postMessage(e={},t=!1){let a=JSON.parse(JSON.stringify({__message:{__page:this.__page,data:e,keep:t}})),i=this.__from;if(this.__runtime==="v8")this.__useGlobalEvent?plus.webview.postMessageToUniNView(a,i):new BroadcastChannel(i).postMessage(a);else{let r=plus.webview.getWebviewById(i);r&&r.evalJS(`__plusMessage&&__plusMessage(${JSON.stringify({data:a})})`)}},onMessage(e){this.__onMessageCallback=e}}};var s=N(A());var m=(e,t)=>{let a=e.__vccOpts||e;for(let[i,r]of t)a[i]=r;return a};var d=e=>e>9?e:"0"+e;function w({date:e=new Date,mode:t="date"}){return t==="time"?d(e.getHours())+":"+d(e.getMinutes()):e.getFullYear()+"-"+d(e.getMonth()+1)+"-"+d(e.getDate())}var O={data(){return{darkmode:!1,theme:"light"}},onLoad(){this.initDarkmode()},created(){this.initDarkmode()},computed:{isDark(){return this.theme==="dark"}},methods:{initDarkmode(){if(this.__init)return;this.__init=!0;let e=(plus.webview.currentWebview().extras||{}).data||{};this.darkmode=e.darkmode||!1,this.darkmode&&(this.theme=e.theme||"light")}}},z={data(){return{safeAreaInsets:{left:0,right:0,top:0,bottom:0}}},onLoad(){this.initSafeAreaInsets()},created(){this.initSafeAreaInsets()},methods:{initSafeAreaInsets(){if(this.__initSafeAreaInsets)return;this.__initSafeAreaInsets=!0;let e=plus.webview.currentWebview();e.addEventListener("resize",()=>{setTimeout(()=>{this.updateSafeAreaInsets(e)},20)}),this.updateSafeAreaInsets(e)},updateSafeAreaInsets(e){let t=e.getSafeAreaInsets(),a=this.safeAreaInsets;Object.keys(a).forEach(i=>{a[i]=t[i]})}}},Y={content:{"":{position:"absolute",top:0,left:0,bottom:0,right:0}},"uni-mask":{"":{position:"absolute",top:0,left:0,bottom:0,right:0,backgroundColor:"rgba(0,0,0,0.4)",opacity:0,transitionProperty:"opacity",transitionDuration:200,transitionTimingFunction:"linear"}},"uni-mask-visible":{"":{opacity:1}},"uni-picker":{"":{position:"absolute",left:0,bottom:0,right:0,backgroundColor:"#ffffff",color:"#000000",flexDirection:"column",transform:"translateY(295px)"}},"uni-picker-header":{"":{height:45,borderBottomWidth:.5,borderBottomColor:"#C8C9C9",backgroundColor:"#FFFFFF",fontSize:20}},"uni-picker-action":{"":{position:"absolute",textAlign:"center",top:0,height:45,paddingTop:0,paddingRight:14,paddingBottom:0,paddingLeft:14,fontSize:17,lineHeight:45}},"uni-picker-action-cancel":{"":{left:0,color:"#888888"}},"uni-picker-action-confirm":{"":{right:0,color:"#007aff"}},"uni-picker-content":{"":{flex:1}},"uni-picker-dark":{"":{backgroundColor:"#232323"}},"uni-picker-header-dark":{"":{backgroundColor:"#232323",borderBottomColor:"rgba(255,255,255,0.05)"}},"uni-picker-action-cancel-dark":{"":{color:"rgba(255,255,255,0.8)"}},"@TRANSITION":{"uni-mask":{property:"opacity",duration:200,timingFunction:"linear"}}};function S(){if(this.mode===l.TIME)return"00:00";if(this.mode===l.DATE){let e=new Date().getFullYear()-61;switch(this.fields){case h.YEAR:return e;case h.MONTH:return e+"-01";default:return e+"-01-01"}}return""}function E(){if(this.mode===l.TIME)return"23:59";if(this.mode===l.DATE){let e=new Date().getFullYear()+61;switch(this.fields){case h.YEAR:return e;case h.MONTH:return e+"-12";default:return e+"-12-31"}}return""}function F(e){let t=new Date().getFullYear(),a=t-61,i=t+61;if(e.start){let r=new Date(e.start).getFullYear();!isNaN(r)&&ri&&(i=r)}return{start:a,end:i}}var T=weex.requireModule("animation"),l={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date",REGION:"region"},h={YEAR:"year",MONTH:"month",DAY:"day"},g=!1,R={name:"Picker",mixins:[_,z,O],props:{pageId:{type:Number,default:0},range:{type:Array,default(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:l.SELECTOR},fields:{type:String,default:h.DAY},start:{type:String,default:S},end:{type:String,default:E},disabled:{type:[Boolean,String],default:!1},visible:{type:Boolean,default:!1}},data(){return{valueSync:null,timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],fontSize:16,height:261,android:weex.config.env.platform.toLowerCase()==="android"}},computed:{rangeArray(){var e=this.range;switch(this.mode){case l.SELECTOR:return[e];case l.MULTISELECTOR:return e;case l.TIME:return this.timeArray;case l.DATE:{let t=this.dateArray;switch(this.fields){case h.YEAR:return[t[0]];case h.MONTH:return[t[0],t[1]];default:return[t[0],t[1],t[2]]}}}return[]},startArray(){return this._getDateValueArray(this.start,S.bind(this)())},endArray(){return this._getDateValueArray(this.end,E.bind(this)())},textMaxLength(){return Math.floor(Math.min(weex.config.env.deviceWidth,weex.config.env.deviceHeight)/(this.fontSize*weex.config.env.scale+1)/this.rangeArray.length)},maskStyle(){return{opacity:this.visible?1:0,"background-color":this.android?"rgba(0, 0, 0, 0.6)":"rgba(0, 0, 0, 0.4)"}},pickerViewIndicatorStyle(){return`height: 34px;border-color:${this.isDark?"rgba(255, 255, 255, 0.05)":"#C8C9C9"};border-top-width:0.5px;border-bottom-width:0.5px;`},pickerViewColumnTextStyle(){return{fontSize:this.fontSize+"px","line-height":"34px","text-align":"center",color:this.isDark?"rgba(255, 255, 255, 0.8)":"#000"}},pickerViewMaskTopStyle(){return this.isDark?"background-image: linear-gradient(to bottom, rgba(35, 35, 35, 0.95), rgba(35, 35, 35, 0.6));":""},pickerViewMaskBottomStyle(){return this.isDark?"background-image: linear-gradient(to top,rgba(35, 35, 35, 0.95), rgba(35, 35, 35, 0.6));":""}},watch:{value(){this._setValueSync()},mode(){this._setValueSync()},range(){this._setValueSync()},valueSync(){this._setValueArray(),g=!0},valueArray(e){if(this.mode===l.TIME||this.mode===l.DATE){let t=this.mode===l.TIME?this._getTimeValue:this._getDateValue,a=this.valueArray,i=this.startArray,r=this.endArray;if(this.mode===l.DATE){let n=this.dateArray,c=n[2].length,o=Number(n[2][a[2]])||1,u=new Date(`${n[0][a[0]]}/${n[1][a[1]]}/${o}`).getDate();ut(r)&&this._cloneArray(a,r)}e.forEach((t,a)=>{t!==this.oldValueArray[a]&&(this.oldValueArray[a]=t,this.mode===l.MULTISELECTOR&&this.$emit("columnchange",{column:a,value:t}))})},visible(e){e?setTimeout(()=>{T.transition(this.$refs.picker,{styles:{transform:"translateY(0)"},duration:200})},20):T.transition(this.$refs.picker,{styles:{transform:`translateY(${283+this.safeAreaInsets.bottom}px)`},duration:200})}},created(){this._createTime(),this._createDate(),this._setValueSync()},methods:{getTexts(e,t){let a=this.textMaxLength;return e.map(i=>{let r=String(typeof i=="object"?i[this.rangeKey]||"":this._l10nItem(i,t));if(a>0&&r.length>a){let n=0,c=0;for(let o=0;o127||u===94?n+=1:n+=.65,n<=a-1&&(c=o),n>=a)return o===r.length-1?r:r.substr(0,c+1)+"\u2026"}}return r||" "}).join(` -`)},_createTime(){var e=[],t=[];e.splice(0,e.length);for(let a=0;a<24;a++)e.push((a<10?"0":"")+a);t.splice(0,t.length);for(let a=0;a<60;a++)t.push((a<10?"0":"")+a);this.timeArray.push(e,t)},_createDate(){var e=[],t=F(this);for(let r=t.start,n=t.end;r<=n;r++)e.push(String(r));var a=[];for(let r=1;r<=12;r++)a.push((r<10?"0":"")+r);var i=[];for(let r=1;r<=31;r++)i.push((r<10?"0":"")+r);this.dateArray.push(e,a,i)},_getTimeValue(e){return e[0]*60+e[1]},_getDateValue(e){return e[0]*31*12+(e[1]||0)*31+(e[2]||0)},_cloneArray(e,t){for(let a=0;ac?0:n)}break;case l.TIME:case l.DATE:this.valueSync=String(e);break;default:{let a=Number(e);this.valueSync=a<0?0:a;break}}this.$nextTick(()=>{!g&&this._setValueArray()})},_setValueArray(){g=!0;var e=this.valueSync,t;switch(this.mode){case l.MULTISELECTOR:t=[...e];break;case l.TIME:t=this._getDateValueArray(e,w({mode:l.TIME}));break;case l.DATE:t=this._getDateValueArray(e,w({mode:l.DATE}));break;default:t=[e];break}this.oldValueArray=[...t],this.valueArray=[...t]},_getValue(){var e=this.valueArray;switch(this.mode){case l.SELECTOR:return e[0];case l.MULTISELECTOR:return e.map(t=>t);case l.TIME:return this.valueArray.map((t,a)=>this.timeArray[a][t]).join(":");case l.DATE:return this.valueArray.map((t,a)=>this.dateArray[a][t]).join("-")}},_getDateValueArray(e,t){let a=this.mode===l.DATE?"-":":",i=this.mode===l.DATE?this.dateArray:this.timeArray,r=3;switch(this.fields){case h.YEAR:r=1;break;case h.MONTH:r=2;break}let n=String(e).split(a),c=[];for(let o=0;o=0&&(c=t?this._getDateValueArray(t):c.map(()=>0)),c},_change(){this.$emit("change",{value:this._getValue()})},_cancel(){this.$emit("cancel")},_pickerViewChange(e){this.valueArray=this._l10nColumn(e.detail.value,!0)},_l10nColumn(e,t){if(this.mode===l.DATE){let a=this.locale;if(!a.startsWith("zh"))switch(this.fields){case h.YEAR:return e;case h.MONTH:return[e[1],e[0]];default:switch(a){case"es":case"fr":return[e[2],e[1],e[0]];default:return t?[e[2],e[0],e[1]]:[e[1],e[2],e[0]]}}}return e},_l10nItem(e,t){if(this.mode===l.DATE){let a=this.locale;if(a.startsWith("zh"))return e+["\u5E74","\u6708","\u65E5"][t];if(this.fields!==h.YEAR&&t===(this.fields!==h.MONTH&&(a==="es"||a==="fr")?1:0)){let i;switch(a){case"es":i=["enero","febrero","marzo","abril","mayo","junio","\u200B\u200Bjulio","agosto","septiembre","octubre","noviembre","diciembre"];break;case"fr":i=["janvier","f\xE9vrier","mars","avril","mai","juin","juillet","ao\xFBt","septembre","octobre","novembre","d\xE9cembre"];break;default:i=["January","February","March","April","May","June","July","August","September","October","November","December"];break}return i[Number(e)-1]}}return e}}};function B(e,t,a,i,r,n){let c=(0,s.resolveComponent)("picker-view-column"),o=(0,s.resolveComponent)("picker-view");return(0,s.openBlock)(),(0,s.createElementBlock)("div",{class:(0,s.normalizeClass)(["content",{dark:e.isDark}])},[(0,s.createElementVNode)("div",{ref:"mask",style:(0,s.normalizeStyle)(n.maskStyle),class:"uni-mask",onClick:t[0]||(t[0]=(...u)=>n._cancel&&n._cancel(...u))},null,4),(0,s.createElementVNode)("div",{style:(0,s.normalizeStyle)(`padding-bottom:${e.safeAreaInsets.bottom}px;height:${r.height+e.safeAreaInsets.bottom}px;`),ref:"picker",class:(0,s.normalizeClass)(["uni-picker",{"uni-picker-dark":e.isDark}])},[(0,s.createElementVNode)("div",{class:(0,s.normalizeClass)(["uni-picker-header",{"uni-picker-header-dark":e.isDark}])},[(0,s.createElementVNode)("u-text",{style:(0,s.normalizeStyle)(`left:${e.safeAreaInsets.left}px`),class:(0,s.normalizeClass)(["uni-picker-action uni-picker-action-cancel",{"uni-picker-action-cancel-dark":e.isDark}]),onClick:t[1]||(t[1]=(...u)=>n._cancel&&n._cancel(...u))},(0,s.toDisplayString)(e.localize("cancel")),7),(0,s.createElementVNode)("u-text",{style:(0,s.normalizeStyle)(`right:${e.safeAreaInsets.right}px`),class:"uni-picker-action uni-picker-action-confirm",onClick:t[2]||(t[2]=(...u)=>n._change&&n._change(...u))},(0,s.toDisplayString)(e.localize("done")),5)],2),a.visible?((0,s.openBlock)(),(0,s.createBlock)(o,{key:0,style:(0,s.normalizeStyle)(`margin-left:${e.safeAreaInsets.left}px`),height:"216","indicator-style":n.pickerViewIndicatorStyle,"mask-top-style":n.pickerViewMaskTopStyle,"mask-bottom-style":n.pickerViewMaskBottomStyle,value:n._l10nColumn(r.valueArray),class:"uni-picker-content",onChange:n._pickerViewChange},{default:(0,s.withCtx)(()=>[((0,s.openBlock)(!0),(0,s.createElementBlock)(s.Fragment,null,(0,s.renderList)(n._l10nColumn(n.rangeArray),(u,y)=>((0,s.openBlock)(),(0,s.createBlock)(c,{length:u.length,key:y},{default:(0,s.withCtx)(()=>[(0,s.createCommentVNode)(" iOS\u6E32\u67D3\u901F\u5EA6\u6709\u95EE\u9898\u4F7F\u7528\u5355\u4E2Atext\u4F18\u5316 "),(0,s.createElementVNode)("u-text",{class:"uni-picker-item",style:(0,s.normalizeStyle)(n.pickerViewColumnTextStyle)},(0,s.toDisplayString)(n.getTexts(u,y)),5),(0,s.createCommentVNode)(` {{ typeof item==='object'?item[rangeKey]||'':_l10nItem(item) }} `)]),_:2},1032,["length"]))),128))]),_:1},8,["style","indicator-style","mask-top-style","mask-bottom-style","value","onChange"])):(0,s.createCommentVNode)("v-if",!0)],6)],2)}var j=m(R,[["render",B],["styles",[Y]]]),W={page:{"":{flex:1}}},H={mixins:[k],components:{picker:j},data(){return{range:[],rangeKey:"",value:0,mode:"selector",fields:"day",start:"",end:"",disabled:!1,visible:!1}},onLoad(){this.data===null?this.postMessage({event:"created"},!0):this.showPicker(this.data),this.onMessage(e=>{this.showPicker(e)})},onReady(){this.$nextTick(()=>{this.visible=!0})},methods:{showPicker(e={}){let t=e.column;for(let a in e)a!=="column"&&(typeof t=="number"?this.$set(this.$data[a],t,e[a]):this.$data[a]=e[a])},close(e,{value:t=-1}={}){this.visible=!1,setTimeout(()=>{this.postMessage({event:e,value:t})},210)},onClose(){this.close("cancel")},columnchange({column:e,value:t}){this.$set(this.value,e,t),this.postMessage({event:"columnchange",column:e,value:t},!0)}}};function J(e,t,a,i,r,n){let c=(0,s.resolveComponent)("picker");return(0,s.openBlock)(),(0,s.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true",style:{flexDirection:"column"}},[(0,s.createElementVNode)("view",{class:"page"},[(0,s.createVNode)(c,{range:r.range,rangeKey:r.rangeKey,value:r.value,mode:r.mode,fields:r.fields,start:r.start,end:r.end,disabled:r.disabled,visible:r.visible,onChange:t[0]||(t[0]=o=>n.close("change",o)),onCancel:t[1]||(t[1]=o=>n.close("cancel",o)),onColumnchange:n.columnchange},null,8,["range","rangeKey","value","mode","fields","start","end","disabled","visible","onColumnchange"])])])}var f=m(H,[["render",J],["styles",[W]]]);var p=plus.webview.currentWebview();if(p){let e=parseInt(p.id),t="template/__uniapppicker",a={};try{a=JSON.parse(p.__query__)}catch(r){}f.mpType="page";let i=Vue.createPageApp(f,{$store:getApp({allowDefault:!0}).$store,__pageId:e,__pagePath:t,__pageQuery:a});i.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...f.styles||[]])),i.mount("#root")}})(); diff --git a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappquill.js b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappquill.js deleted file mode 100644 index d9f46b8..0000000 --- a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappquill.js +++ /dev/null @@ -1,8 +0,0 @@ -/*! - * Quill Editor v1.3.7 - * https://quilljs.com/ - * Copyright (c) 2014, Jason Chen - * Copyright (c) 2013, salesforce.com - */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Quill=e():t.Quill=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=45)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(17),o=n(18),i=n(19),l=n(48),a=n(49),s=n(50),u=n(51),c=n(52),f=n(11),h=n(29),p=n(30),d=n(28),y=n(1),v={Scope:y.Scope,create:y.create,find:y.find,query:y.query,register:y.register,Container:r.default,Format:o.default,Leaf:i.default,Embed:u.default,Scroll:l.default,Block:s.default,Inline:a.default,Text:c.default,Attributor:{Attribute:f.default,Class:h.default,Style:p.default,Store:d.default}};e.default=v},function(t,e,n){"use strict";function r(t,e){var n=i(t);if(null==n)throw new s("Unable to create "+t+" blot");var r=n;return new r(t instanceof Node||t.nodeType===Node.TEXT_NODE?t:r.create(e),e)}function o(t,n){return void 0===n&&(n=!1),null==t?null:null!=t[e.DATA_KEY]?t[e.DATA_KEY].blot:n?o(t.parentNode,n):null}function i(t,e){void 0===e&&(e=p.ANY);var n;if("string"==typeof t)n=h[t]||u[t];else if(t instanceof Text||t.nodeType===Node.TEXT_NODE)n=h.text;else if("number"==typeof t)t&p.LEVEL&p.BLOCK?n=h.block:t&p.LEVEL&p.INLINE&&(n=h.inline);else if(t instanceof HTMLElement){var r=(t.getAttribute("class")||"").split(/\s+/);for(var o in r)if(n=c[r[o]])break;n=n||f[t.tagName]}return null==n?null:e&p.LEVEL&n.scope&&e&p.TYPE&n.scope?n:null}function l(){for(var t=[],e=0;e1)return t.map(function(t){return l(t)});var n=t[0];if("string"!=typeof n.blotName&&"string"!=typeof n.attrName)throw new s("Invalid definition");if("abstract"===n.blotName)throw new s("Cannot register abstract class");if(h[n.blotName||n.attrName]=n,"string"==typeof n.keyName)u[n.keyName]=n;else if(null!=n.className&&(c[n.className]=n),null!=n.tagName){Array.isArray(n.tagName)?n.tagName=n.tagName.map(function(t){return t.toUpperCase()}):n.tagName=n.tagName.toUpperCase();var r=Array.isArray(n.tagName)?n.tagName:[n.tagName];r.forEach(function(t){null!=f[t]&&null!=n.className||(f[t]=n)})}return n}var a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(e){var n=this;return e="[Parchment] "+e,n=t.call(this,e)||this,n.message=e,n.name=n.constructor.name,n}return a(e,t),e}(Error);e.ParchmentError=s;var u={},c={},f={},h={};e.DATA_KEY="__blot";var p;!function(t){t[t.TYPE=3]="TYPE",t[t.LEVEL=12]="LEVEL",t[t.ATTRIBUTE=13]="ATTRIBUTE",t[t.BLOT=14]="BLOT",t[t.INLINE=7]="INLINE",t[t.BLOCK=11]="BLOCK",t[t.BLOCK_BLOT=10]="BLOCK_BLOT",t[t.INLINE_BLOT=6]="INLINE_BLOT",t[t.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",t[t.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",t[t.ANY=15]="ANY"}(p=e.Scope||(e.Scope={})),e.create=r,e.find=o,e.query=i,e.register=l},function(t,e){"use strict";var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===r.call(t)},a=function(t){if(!t||"[object Object]"!==r.call(t))return!1;var e=n.call(t,"constructor"),o=t.constructor&&t.constructor.prototype&&n.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!e&&!o)return!1;var i;for(i in t);return void 0===i||n.call(t,i)},s=function(t,e){o&&"__proto__"===e.name?o(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},u=function(t,e){if("__proto__"===e){if(!n.call(t,e))return;if(i)return i(t,e).value}return t[e]};t.exports=function t(){var e,n,r,o,i,c,f=arguments[0],h=1,p=arguments.length,d=!1;for("boolean"==typeof f&&(d=f,f=arguments[1]||{},h=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});h1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:("function"==typeof t.formats&&(e=(0,f.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:a(t.parent,e))}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=void 0;var s=function(){function t(t,e){for(var n=0;n0&&(t1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===t||t>=this.length()-1)){var r=this.clone();return 0===t?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var o=u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"split",this).call(this,t,n);return this.cache={},o}}]),e}(y.default.Block);x.blotName="block",x.tagName="P",x.defaultChild="break",x.allowedChildren=[m.default,y.default.Embed,O.default],e.bubbleFormats=a,e.BlockEmbed=w,e.default=x},function(t,e,n){var r=n(54),o=n(12),i=n(2),l=n(20),a=String.fromCharCode(0),s=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};s.prototype.insert=function(t,e){var n={};return 0===t.length?this:(n.insert=t,null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))},s.prototype.delete=function(t){return t<=0?this:this.push({delete:t})},s.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n)},s.prototype.push=function(t){var e=this.ops.length,n=this.ops[e-1];if(t=i(!0,{},t),"object"==typeof n){if("number"==typeof t.delete&&"number"==typeof n.delete)return this.ops[e-1]={delete:n.delete+t.delete},this;if("number"==typeof n.delete&&null!=t.insert&&(e-=1,"object"!=typeof(n=this.ops[e-1])))return this.ops.unshift(t),this;if(o(t.attributes,n.attributes)){if("string"==typeof t.insert&&"string"==typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"==typeof t.retain&&"number"==typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},s.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},s.prototype.filter=function(t){return this.ops.filter(t)},s.prototype.forEach=function(t){this.ops.forEach(t)},s.prototype.map=function(t){return this.ops.map(t)},s.prototype.partition=function(t){var e=[],n=[];return this.forEach(function(r){(t(r)?e:n).push(r)}),[e,n]},s.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},s.prototype.changeLength=function(){return this.reduce(function(t,e){return e.insert?t+l.length(e):e.delete?t-e.delete:t},0)},s.prototype.length=function(){return this.reduce(function(t,e){return t+l.length(e)},0)},s.prototype.slice=function(t,e){t=t||0,"number"!=typeof e&&(e=1/0);for(var n=[],r=l.iterator(this.ops),o=0;o0&&n.next(i.retain-a)}for(var u=new s(r);e.hasNext()||n.hasNext();)if("insert"===n.peekType())u.push(n.next());else if("delete"===e.peekType())u.push(e.next());else{var c=Math.min(e.peekLength(),n.peekLength()),f=e.next(c),h=n.next(c);if("number"==typeof h.retain){var p={};"number"==typeof f.retain?p.retain=c:p.insert=f.insert;var d=l.attributes.compose(f.attributes,h.attributes,"number"==typeof f.retain);if(d&&(p.attributes=d),u.push(p),!n.hasNext()&&o(u.ops[u.ops.length-1],p)){var y=new s(e.rest());return u.concat(y).chop()}}else"number"==typeof h.delete&&"number"==typeof f.retain&&u.push(h)}return u.chop()},s.prototype.concat=function(t){var e=new s(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},s.prototype.diff=function(t,e){if(this.ops===t.ops)return new s;var n=[this,t].map(function(e){return e.map(function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:a;var r=e===t?"on":"with";throw new Error("diff() called "+r+" non-document")}).join("")}),i=new s,u=r(n[0],n[1],e),c=l.iterator(this.ops),f=l.iterator(t.ops);return u.forEach(function(t){for(var e=t[1].length;e>0;){var n=0;switch(t[0]){case r.INSERT:n=Math.min(f.peekLength(),e),i.push(f.next(n));break;case r.DELETE:n=Math.min(e,c.peekLength()),c.next(n),i.delete(n);break;case r.EQUAL:n=Math.min(c.peekLength(),f.peekLength(),e);var a=c.next(n),s=f.next(n);o(a.insert,s.insert)?i.retain(n,l.attributes.diff(a.attributes,s.attributes)):i.push(s).delete(n)}e-=n}}),i.chop()},s.prototype.eachLine=function(t,e){e=e||"\n";for(var n=l.iterator(this.ops),r=new s,o=0;n.hasNext();){if("insert"!==n.peekType())return;var i=n.peek(),a=l.length(i)-n.peekLength(),u="string"==typeof i.insert?i.insert.indexOf(e,a)-a:-1;if(u<0)r.push(n.next());else if(u>0)r.push(n.next(u));else{if(!1===t(r,n.next(1).attributes||{},o))return;o+=1,r=new s}}r.length()>0&&t(r,{},o)},s.prototype.transform=function(t,e){if(e=!!e,"number"==typeof t)return this.transformPosition(t,e);for(var n=l.iterator(this.ops),r=l.iterator(t.ops),o=new s;n.hasNext()||r.hasNext();)if("insert"!==n.peekType()||!e&&"insert"===r.peekType())if("insert"===r.peekType())o.push(r.next());else{var i=Math.min(n.peekLength(),r.peekLength()),a=n.next(i),u=r.next(i);if(a.delete)continue;u.delete?o.push(u):o.retain(i,l.attributes.transform(a.attributes,u.attributes,e))}else o.retain(l.length(n.next()));return o.chop()},s.prototype.transformPosition=function(t,e){e=!!e;for(var n=l.iterator(this.ops),r=0;n.hasNext()&&r<=t;){var o=n.peekLength(),i=n.peekType();n.next(),"delete"!==i?("insert"===i&&(r0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(t,n){var r=e.order.indexOf(t),o=e.order.indexOf(n);return r>=0||o>=0?r-o:t===n?0:t0){var a,s=[g.default.events.TEXT_CHANGE,l,i,e];if((a=this.emitter).emit.apply(a,[g.default.events.EDITOR_CHANGE].concat(s)),e!==g.default.sources.SILENT){var c;(c=this.emitter).emit.apply(c,s)}}return l}function s(t,e,n,r,o){var i={};return"number"==typeof t.index&&"number"==typeof t.length?"number"!=typeof e?(o=r,r=n,n=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!=typeof e&&(o=r,r=n,n=e,e=0),"object"===(void 0===n?"undefined":c(n))?(i=n,o=r):"string"==typeof n&&(null!=r?i[n]=r:o=n),o=o||g.default.sources.API,[t,e,i,o]}function u(t,e,n,r){if(null==t)return null;var o=void 0,i=void 0;if(e instanceof d.default){var l=[t.index,t.index+t.length].map(function(t){return e.transformPosition(t,r!==g.default.sources.USER)}),a=f(l,2);o=a[0],i=a[1]}else{var s=[t.index,t.index+t.length].map(function(t){return t=0?t+n:Math.max(e,t+n)}),u=f(s,2);o=u[0],i=u[1]}return new x.Range(o,i-o)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),h=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(i(this,t),this.options=l(e,r),this.container=this.options.container,null==this.container)return P.error("Invalid Quill container",e);this.options.debug&&t.debug(this.options.debug);var o=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new g.default,this.scroll=w.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new v.default(this.scroll),this.selection=new k.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(g.default.events.EDITOR_CHANGE,function(t){t===g.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())}),this.emitter.on(g.default.events.SCROLL_UPDATE,function(t,e){var r=n.selection.lastRange,o=r&&0===r.length?r.index:void 0;a.call(n,function(){return n.editor.update(null,e,o)},t)});var s=this.clipboard.convert("
"+o+"


");this.setContents(s),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return h(t,null,[{key:"debug",value:function(t){!0===t&&(t="log"),A.default.level(t)}},{key:"find",value:function(t){return t.__quill||w.default.find(t)}},{key:"import",value:function(t){return null==this.imports[t]&&P.error("Cannot import "+t+". Are you sure it was registered?"),this.imports[t]}},{key:"register",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof t){var o=t.attrName||t.blotName;"string"==typeof o?this.register("formats/"+o,t,e):Object.keys(t).forEach(function(r){n.register(r,t[r],e)})}else null==this.imports[t]||r||P.warn("Overwriting "+t+" with",e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&"abstract"!==e.blotName?w.default.register(e):t.startsWith("modules")&&"function"==typeof e.register&&e.register()}}]),h(t,[{key:"addContainer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof t){var n=t;t=document.createElement("div"),t.classList.add(n)}return this.container.insertBefore(t,e),t}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(t,e,n){var r=this,o=s(t,e,n),i=f(o,4);return t=i[0],e=i[1],n=i[3],a.call(this,function(){return r.editor.deleteText(t,e)},n,t,-1*e)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}},{key:"focus",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:"format",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g.default.sources.API;return a.call(this,function(){var r=n.getSelection(!0),i=new d.default;if(null==r)return i;if(w.default.query(t,w.default.Scope.BLOCK))i=n.editor.formatLine(r.index,r.length,o({},t,e));else{if(0===r.length)return n.selection.format(t,e),i;i=n.editor.formatText(r.index,r.length,o({},t,e))}return n.setSelection(r,g.default.sources.SILENT),i},r)}},{key:"formatLine",value:function(t,e,n,r,o){var i=this,l=void 0,u=s(t,e,n,r,o),c=f(u,4);return t=c[0],e=c[1],l=c[2],o=c[3],a.call(this,function(){return i.editor.formatLine(t,e,l)},o,t,0)}},{key:"formatText",value:function(t,e,n,r,o){var i=this,l=void 0,u=s(t,e,n,r,o),c=f(u,4);return t=c[0],e=c[1],l=c[2],o=c[3],a.call(this,function(){return i.editor.formatText(t,e,l)},o,t,0)}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"==typeof t?this.selection.getBounds(t,e):this.selection.getBounds(t.index,t.length);var r=this.container.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.width}}},{key:"getContents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=s(t,e),r=f(n,2);return t=r[0],e=r[1],this.editor.getContents(t,e)}},{key:"getFormat",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}},{key:"getIndex",value:function(t){return t.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(t){return this.scroll.leaf(t)}},{key:"getLine",value:function(t){return this.scroll.line(t)}},{key:"getLines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:"getModule",value:function(t){return this.theme.modules[t]}},{key:"getSelection",value:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=s(t,e),r=f(n,2);return t=r[0],e=r[1],this.editor.getText(t,e)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(e,n,r){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API;return a.call(this,function(){return o.editor.insertEmbed(e,n,r)},i,e)}},{key:"insertText",value:function(t,e,n,r,o){var i=this,l=void 0,u=s(t,0,n,r,o),c=f(u,4);return t=c[0],l=c[2],o=c[3],a.call(this,function(){return i.editor.insertText(t,e,l)},o,t,e.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(t,e,n){this.clipboard.dangerouslyPasteHTML(t,e,n)}},{key:"removeFormat",value:function(t,e,n){var r=this,o=s(t,e,n),i=f(o,4);return t=i[0],e=i[1],n=i[3],a.call(this,function(){return r.editor.removeFormat(t,e)},n,t)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.default.sources.API;return a.call(this,function(){t=new d.default(t);var n=e.getLength(),r=e.editor.deleteText(0,n),o=e.editor.applyDelta(t),i=o.ops[o.ops.length-1];return null!=i&&"string"==typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),o.delete(1)),r.compose(o)},n)}},{key:"setSelection",value:function(e,n,r){if(null==e)this.selection.setRange(null,n||t.sources.API);else{var o=s(e,n,r),i=f(o,4);e=i[0],n=i[1],r=i[3],this.selection.setRange(new x.Range(e,n),r),r!==g.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.default.sources.API,n=(new d.default).insert(t);return this.setContents(n,e)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.default.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}},{key:"updateContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.default.sources.API;return a.call(this,function(){return t=new d.default(t),e.editor.applyDelta(t,n)},n,!0)}}]),t}();S.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},S.events=g.default.events,S.sources=g.default.sources,S.version="1.3.7",S.imports={delta:d.default,parchment:w.default,"core/module":_.default,"core/theme":T.default},e.expandConfig=l,e.overload=s,e.default=S},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,t),this.quill=e,this.options=n};o.DEFAULTS={},e.default=o},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=n(0),a=function(t){return t&&t.__esModule?t:{default:t}}(l),s=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),e}(a.default.Text);e.default=s},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n1?e-1:0),r=1;r1?n-1:0),o=1;o-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""},t}();e.default=o},function(t,e,n){function r(t){return null===t||void 0===t}function o(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length)&&("function"==typeof t.copy&&"function"==typeof t.slice&&!(t.length>0&&"number"!=typeof t[0]))}function i(t,e,n){var i,c;if(r(t)||r(e))return!1;if(t.prototype!==e.prototype)return!1;if(s(t))return!!s(e)&&(t=l.call(t),e=l.call(e),u(t,e,n));if(o(t)){if(!o(e))return!1;if(t.length!==e.length)return!1;for(i=0;i=0;i--)if(f[i]!=h[i])return!1;for(i=f.length-1;i>=0;i--)if(c=f[i],!u(t[c],e[c],n))return!1;return typeof t==typeof e}var l=Array.prototype.slice,a=n(55),s=n(56),u=t.exports=function(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?n.strict?t===e:t==e:i(t,e,n))}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var a=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function t(t,e){for(var n=0;n=t+n)){var l=this.newlineIndex(t,!0)+1,a=i-l+1,s=this.isolate(l,a),u=s.next;s.format(r,o),u instanceof e&&u.formatAt(0,t-l+n-a,r,o)}}}},{key:"insertAt",value:function(t,e,n){if(null==n){var r=this.descendant(m.default,t),o=a(r,2),i=o[0],l=o[1];i.insertAt(l,e)}}},{key:"length",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?t:t+1}},{key:"newlineIndex",value:function(t){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,t).lastIndexOf("\n");var e=this.domNode.textContent.slice(t).indexOf("\n");return e>-1?t+e:-1}},{key:"optimize",value:function(t){this.domNode.textContent.endsWith("\n")||this.appendChild(p.default.create("text","\n")),u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(t),n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(t){var e=p.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof p.default.Embed?e.remove():e.unwrap()})}}],[{key:"create",value:function(t){var n=u(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),e}(y.default);O.blotName="code-block",O.tagName="PRE",O.TAB=" ",e.Code=_,e.default=O},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n-1}Object.defineProperty(e,"__esModule",{value:!0}),e.sanitize=e.default=void 0;var a=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(t!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":l(Event))){var r=document.createEvent("Event");r.initEvent("change",!0,!0),this.select.dispatchEvent(r)}this.close()}}},{key:"update",value:function(){var t=void 0;if(this.select.selectedIndex>-1){var e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var n=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),t}();e.default=p},function(t,e,n){"use strict";function r(t){var e=a.find(t);if(null==e)try{e=a.create(t)}catch(n){e=a.create(a.Scope.INLINE),[].slice.call(t.childNodes).forEach(function(t){e.domNode.appendChild(t)}),t.parentNode&&t.parentNode.replaceChild(e.domNode,t),e.attach()}return e}var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(47),l=n(27),a=n(1),s=function(t){function e(e){var n=t.call(this,e)||this;return n.build(),n}return o(e,t),e.prototype.appendChild=function(t){this.insertBefore(t)},e.prototype.attach=function(){t.prototype.attach.call(this),this.children.forEach(function(t){t.attach()})},e.prototype.build=function(){var t=this;this.children=new i.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(e){try{var n=r(e);t.insertBefore(n,t.children.head||void 0)}catch(t){if(t instanceof a.ParchmentError)return;throw t}})},e.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,function(t,e,n){t.deleteAt(e,n)})},e.prototype.descendant=function(t,n){var r=this.children.find(n),o=r[0],i=r[1];return null==t.blotName&&t(o)||null!=t.blotName&&o instanceof t?[o,i]:o instanceof e?o.descendant(t,i):[null,-1]},e.prototype.descendants=function(t,n,r){void 0===n&&(n=0),void 0===r&&(r=Number.MAX_VALUE);var o=[],i=r;return this.children.forEachAt(n,r,function(n,r,l){(null==t.blotName&&t(n)||null!=t.blotName&&n instanceof t)&&o.push(n),n instanceof e&&(o=o.concat(n.descendants(t,r,i))),i-=l}),o},e.prototype.detach=function(){this.children.forEach(function(t){t.detach()}),t.prototype.detach.call(this)},e.prototype.formatAt=function(t,e,n,r){this.children.forEachAt(t,e,function(t,e,o){t.formatAt(e,o,n,r)})},e.prototype.insertAt=function(t,e,n){var r=this.children.find(t),o=r[0],i=r[1];if(o)o.insertAt(i,e,n);else{var l=null==n?a.create("text",e):a.create(e,n);this.appendChild(l)}},e.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some(function(e){return t instanceof e}))throw new a.ParchmentError("Cannot insert "+t.statics.blotName+" into "+this.statics.blotName);t.insertInto(this,e)},e.prototype.length=function(){return this.children.reduce(function(t,e){return t+e.length()},0)},e.prototype.moveChildren=function(t,e){this.children.forEach(function(n){t.insertBefore(n,e)})},e.prototype.optimize=function(e){if(t.prototype.optimize.call(this,e),0===this.children.length)if(null!=this.statics.defaultChild){var n=a.create(this.statics.defaultChild);this.appendChild(n),n.optimize(e)}else this.remove()},e.prototype.path=function(t,n){void 0===n&&(n=!1);var r=this.children.find(t,n),o=r[0],i=r[1],l=[[this,t]];return o instanceof e?l.concat(o.path(i,n)):(null!=o&&l.push([o,i]),l)},e.prototype.removeChild=function(t){this.children.remove(t)},e.prototype.replace=function(n){n instanceof e&&n.moveChildren(this),t.prototype.replace.call(this,n)},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(t,this.length(),function(t,r,o){t=t.split(r,e),n.appendChild(t)}),n},e.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},e.prototype.update=function(t,e){var n=this,o=[],i=[];t.forEach(function(t){t.target===n.domNode&&"childList"===t.type&&(o.push.apply(o,t.addedNodes),i.push.apply(i,t.removedNodes))}),i.forEach(function(t){if(!(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var e=a.find(t);null!=e&&(null!=e.domNode.parentNode&&e.domNode.parentNode!==n.domNode||e.detach())}}),o.filter(function(t){return t.parentNode==n.domNode}).sort(function(t,e){return t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1}).forEach(function(t){var e=null;null!=t.nextSibling&&(e=a.find(t.nextSibling));var o=r(t);o.next==e&&null!=o.next||(null!=o.parent&&o.parent.removeChild(n),n.insertBefore(o,e||void 0))})},e}(l.default);e.default=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(11),i=n(28),l=n(17),a=n(1),s=function(t){function e(e){var n=t.call(this,e)||this;return n.attributes=new i.default(n.domNode),n}return r(e,t),e.formats=function(t){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?t.tagName.toLowerCase():void 0)},e.prototype.format=function(t,e){var n=a.query(t);n instanceof o.default?this.attributes.attribute(n,e):e&&(null==n||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},e.prototype.formats=function(){var t=this.attributes.values(),e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},e.prototype.replaceWith=function(e,n){var r=t.prototype.replaceWith.call(this,e,n);return this.attributes.copy(r),r},e.prototype.update=function(e,n){var r=this;t.prototype.update.call(this,e,n),e.some(function(t){return t.target===r.domNode&&"attributes"===t.type})&&this.attributes.build()},e.prototype.wrap=function(n,r){var o=t.prototype.wrap.call(this,n,r);return o instanceof e&&o.statics.scope===this.statics.scope&&this.attributes.move(o),o},e}(l.default);e.default=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(27),i=n(1),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.value=function(t){return!0},e.prototype.index=function(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1},e.prototype.position=function(t,e){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return t>0&&(n+=1),[this.parent.domNode,n]},e.prototype.value=function(){var t;return t={},t[this.statics.blotName]=this.statics.value(this.domNode)||!0,t},e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=l},function(t,e,n){function r(t){this.ops=t,this.index=0,this.offset=0}var o=n(12),i=n(2),l={attributes:{compose:function(t,e,n){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var r=i(!0,{},e);n||(r=Object.keys(r).reduce(function(t,e){return null!=r[e]&&(t[e]=r[e]),t},{}));for(var o in t)void 0!==t[o]&&void 0===e[o]&&(r[o]=t[o]);return Object.keys(r).length>0?r:void 0},diff:function(t,e){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var n=Object.keys(t).concat(Object.keys(e)).reduce(function(n,r){return o(t[r],e[r])||(n[r]=void 0===e[r]?null:e[r]),n},{});return Object.keys(n).length>0?n:void 0},transform:function(t,e,n){if("object"!=typeof t)return e;if("object"==typeof e){if(!n)return e;var r=Object.keys(e).reduce(function(n,r){return void 0===t[r]&&(n[r]=e[r]),n},{});return Object.keys(r).length>0?r:void 0}}},iterator:function(t){return new r(t)},length:function(t){return"number"==typeof t.delete?t.delete:"number"==typeof t.retain?t.retain:"string"==typeof t.insert?t.insert.length:1}};r.prototype.hasNext=function(){return this.peekLength()<1/0},r.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var n=this.offset,r=l.length(e);if(t>=r-n?(t=r-n,this.index+=1,this.offset=0):this.offset+=t,"number"==typeof e.delete)return{delete:t};var o={};return e.attributes&&(o.attributes=e.attributes),"number"==typeof e.retain?o.retain=t:"string"==typeof e.insert?o.insert=e.insert.substr(n,t):o.insert=e.insert,o}return{retain:1/0}},r.prototype.peek=function(){return this.ops[this.index]},r.prototype.peekLength=function(){return this.ops[this.index]?l.length(this.ops[this.index])-this.offset:1/0},r.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},r.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var t=this.offset,e=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=t,this.index=e,[n].concat(r)}return[]},t.exports=l},function(t,e){var n=function(){"use strict";function t(t,e){return null!=e&&t instanceof e}function e(n,r,o,i,c){function f(n,o){if(null===n)return null;if(0===o)return n;var y,v;if("object"!=typeof n)return n;if(t(n,a))y=new a;else if(t(n,s))y=new s;else if(t(n,u))y=new u(function(t,e){n.then(function(e){t(f(e,o-1))},function(t){e(f(t,o-1))})});else if(e.__isArray(n))y=[];else if(e.__isRegExp(n))y=new RegExp(n.source,l(n)),n.lastIndex&&(y.lastIndex=n.lastIndex);else if(e.__isDate(n))y=new Date(n.getTime());else{if(d&&Buffer.isBuffer(n))return y=Buffer.allocUnsafe?Buffer.allocUnsafe(n.length):new Buffer(n.length),n.copy(y),y;t(n,Error)?y=Object.create(n):void 0===i?(v=Object.getPrototypeOf(n),y=Object.create(v)):(y=Object.create(i),v=i)}if(r){var b=h.indexOf(n);if(-1!=b)return p[b];h.push(n),p.push(y)}t(n,a)&&n.forEach(function(t,e){var n=f(e,o-1),r=f(t,o-1);y.set(n,r)}),t(n,s)&&n.forEach(function(t){var e=f(t,o-1);y.add(e)});for(var g in n){var m;v&&(m=Object.getOwnPropertyDescriptor(v,g)),m&&null==m.set||(y[g]=f(n[g],o-1))}if(Object.getOwnPropertySymbols)for(var _=Object.getOwnPropertySymbols(n),g=0;g<_.length;g++){var O=_[g],w=Object.getOwnPropertyDescriptor(n,O);(!w||w.enumerable||c)&&(y[O]=f(n[O],o-1),w.enumerable||Object.defineProperty(y,O,{enumerable:!1}))}if(c)for(var x=Object.getOwnPropertyNames(n),g=0;g1&&void 0!==arguments[1]?arguments[1]:0;i(this,t),this.index=e,this.length=n},O=function(){function t(e,n){var r=this;i(this,t),this.emitter=n,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=c.default.create("cursor",this),this.lastRange=this.savedRange=new _(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){r.mouseDown||setTimeout(r.update.bind(r,v.default.sources.USER),1)}),this.emitter.on(v.default.events.EDITOR_CHANGE,function(t,e){t===v.default.events.TEXT_CHANGE&&e.length()>0&&r.update(v.default.sources.SILENT)}),this.emitter.on(v.default.events.SCROLL_BEFORE_UPDATE,function(){if(r.hasFocus()){var t=r.getNativeRange();null!=t&&t.start.node!==r.cursor.textNode&&r.emitter.once(v.default.events.SCROLL_UPDATE,function(){try{r.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(t){}})}}),this.emitter.on(v.default.events.SCROLL_OPTIMIZE,function(t,e){if(e.range){var n=e.range,o=n.startNode,i=n.startOffset,l=n.endNode,a=n.endOffset;r.setNativeRange(o,i,l,a)}}),this.update(v.default.sources.SILENT)}return s(t,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",function(){t.composing=!0}),this.root.addEventListener("compositionend",function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout(function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)},1)}})}},{key:"handleDragging",value:function(){var t=this;this.emitter.listenDOM("mousedown",document.body,function(){t.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){t.mouseDown=!1,t.update(v.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!c.default.query(t,c.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=c.default.find(n.start.node,!1);if(null==r)return;if(r instanceof c.default.Leaf){var o=r.split(n.start.offset);r.parent.insertBefore(this.cursor,o)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();t=Math.min(t,n-1),e=Math.min(t+e,n-1)-t;var r=void 0,o=this.scroll.leaf(t),i=a(o,2),l=i[0],s=i[1];if(null==l)return null;var u=l.position(s,!0),c=a(u,2);r=c[0],s=c[1];var f=document.createRange();if(e>0){f.setStart(r,s);var h=this.scroll.leaf(t+e),p=a(h,2);if(l=p[0],s=p[1],null==l)return null;var d=l.position(s,!0),y=a(d,2);return r=y[0],s=y[1],f.setEnd(r,s),f.getBoundingClientRect()}var v="left",b=void 0;return r instanceof Text?(s0&&(v="right")),{bottom:b.top+b.height,height:b.height,left:b[v],right:b[v],top:b.top,width:0}}},{key:"getNativeRange",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var n=this.normalizeNative(e);return m.info("getNativeRange",n),n}},{key:"getRange",value:function(){var t=this.getNativeRange();return null==t?[null,null]:[this.normalizedToRange(t),t]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(t){var e=this,n=[[t.start.node,t.start.offset]];t.native.collapsed||n.push([t.end.node,t.end.offset]);var r=n.map(function(t){var n=a(t,2),r=n[0],o=n[1],i=c.default.find(r,!0),l=i.offset(e.scroll);return 0===o?l:i instanceof c.default.Container?l+i.length():l+i.index(r,o)}),i=Math.min(Math.max.apply(Math,o(r)),this.scroll.length()-1),l=Math.min.apply(Math,[i].concat(o(r)));return new _(l,i-l)}},{key:"normalizeNative",value:function(t){if(!l(this.root,t.startContainer)||!t.collapsed&&!l(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach(function(t){for(var e=t.node,n=t.offset;!(e instanceof Text)&&e.childNodes.length>0;)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;e=e.lastChild,n=e instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=n}),e}},{key:"rangeToNative",value:function(t){var e=this,n=t.collapsed?[t.index]:[t.index,t.index+t.length],r=[],o=this.scroll.length();return n.forEach(function(t,n){t=Math.min(o-1,t);var i=void 0,l=e.scroll.leaf(t),s=a(l,2),u=s[0],c=s[1],f=u.position(c,0!==n),h=a(f,2);i=h[0],c=h[1],r.push(i,c)}),r.length<2&&(r=r.concat(r)),r}},{key:"scrollIntoView",value:function(t){var e=this.lastRange;if(null!=e){var n=this.getBounds(e.index,e.length);if(null!=n){var r=this.scroll.length()-1,o=this.scroll.line(Math.min(e.index,r)),i=a(o,1),l=i[0],s=l;if(e.length>0){var u=this.scroll.line(Math.min(e.index+e.length,r));s=a(u,1)[0]}if(null!=l&&null!=s){var c=t.getBoundingClientRect();n.topc.bottom&&(t.scrollTop+=n.bottom-c.bottom)}}}}},{key:"setNativeRange",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(m.info("setNativeRange",t,e,n,r),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=n.parentNode){var i=document.getSelection();if(null!=i)if(null!=t){this.hasFocus()||this.root.focus();var l=(this.getNativeRange()||{}).native;if(null==l||o||t!==l.startContainer||e!==l.startOffset||n!==l.endContainer||r!==l.endOffset){"BR"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),"BR"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var a=document.createRange();a.setStart(t,e),a.setEnd(n,r),i.removeAllRanges(),i.addRange(a)}}else i.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v.default.sources.API;if("string"==typeof e&&(n=e,e=!1),m.info("setRange",t),null!=t){var r=this.rangeToNative(t);this.setNativeRange.apply(this,o(r).concat([e]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v.default.sources.USER,e=this.lastRange,n=this.getRange(),r=a(n,2),o=r[0],i=r[1];if(this.lastRange=o,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,d.default)(e,this.lastRange)){var l;!this.composing&&null!=i&&i.native.collapsed&&i.start.node!==this.cursor.textNode&&this.cursor.restore();var s=[v.default.events.SELECTION_CHANGE,(0,h.default)(this.lastRange),(0,h.default)(e),t];if((l=this.emitter).emit.apply(l,[v.default.events.EDITOR_CHANGE].concat(s)),t!==v.default.sources.SILENT){var u;(u=this.emitter).emit.apply(u,s)}}}}]),t}();e.Range=_,e.default=O},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),s=r(a),u=n(3),c=r(u),f=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),e}(s.default.Container);f.allowedChildren=[c.default,u.BlockEmbed,f],e.default=f},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;var l=function(){function t(t,e){for(var n=0;n1){var u=o.formats(),c=this.quill.getFormat(t.index-1,1);i=A.default.attributes.diff(u,c)||{}}}var f=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-f,f,S.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(t.index-f,f,i,S.default.sources.USER),this.quill.focus()}}function c(t,e){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-n)){var r={},o=0,i=this.quill.getLine(t.index),l=b(i,1),a=l[0];if(e.offset>=a.length()-1){var s=this.quill.getLine(t.index+1),u=b(s,1),c=u[0];if(c){var f=a.formats(),h=this.quill.getFormat(t.index,1);r=A.default.attributes.diff(f,h)||{},o=c.length()}}this.quill.deleteText(t.index,n,S.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(t.index+o-1,n,r,S.default.sources.USER)}}function f(t){var e=this.quill.getLines(t),n={};if(e.length>1){var r=e[0].formats(),o=e[e.length-1].formats();n=A.default.attributes.diff(o,r)||{}}this.quill.deleteText(t,S.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index,1,n,S.default.sources.USER),this.quill.setSelection(t.index,S.default.sources.SILENT),this.quill.focus()}function h(t,e){var n=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var r=Object.keys(e.format).reduce(function(t,n){return T.default.query(n,T.default.Scope.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t},{});this.quill.insertText(t.index,"\n",r,S.default.sources.USER),this.quill.setSelection(t.index+1,S.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach(function(t){null==r[t]&&(Array.isArray(e.format[t])||"link"!==t&&n.quill.format(t,e.format[t],S.default.sources.USER))})}function p(t){return{key:D.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function(e){var n=T.default.query("code-block"),r=e.index,o=e.length,i=this.quill.scroll.descendant(n,r),l=b(i,2),a=l[0],s=l[1];if(null!=a){var u=this.quill.getIndex(a),c=a.newlineIndex(s,!0)+1,f=a.newlineIndex(u+s+o),h=a.domNode.textContent.slice(c,f).split("\n");s=0,h.forEach(function(e,i){t?(a.insertAt(c+s,n.TAB),s+=n.TAB.length,0===i?r+=n.TAB.length:o+=n.TAB.length):e.startsWith(n.TAB)&&(a.deleteAt(c+s,n.TAB.length),s-=n.TAB.length,0===i?r-=n.TAB.length:o-=n.TAB.length),s+=e.length+1}),this.quill.update(S.default.sources.USER),this.quill.setSelection(r,o,S.default.sources.SILENT)}}}}function d(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,n){this.quill.format(t,!n.format[t],S.default.sources.USER)}}}function y(t){if("string"==typeof t||"number"==typeof t)return y({key:t});if("object"===(void 0===t?"undefined":v(t))&&(t=(0,_.default)(t,!1)),"string"==typeof t.key)if(null!=D.keys[t.key.toUpperCase()])t.key=D.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[B]=t.shortKey,delete t.shortKey),t}Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 0;var v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),g=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=y(t);if(null==r||null==r.key)return I.warn("Attempted to add invalid keyboard binding",r);"function"==typeof e&&(e={handler:e}),"function"==typeof n&&(n={handler:n}),r=(0,k.default)(r,e,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:"listen",value:function(){var t=this;this.quill.root.addEventListener("keydown",function(n){if(!n.defaultPrevented){var r=n.which||n.keyCode,o=(t.bindings[r]||[]).filter(function(t){return e.match(n,t)});if(0!==o.length){var i=t.quill.getSelection();if(null!=i&&t.quill.hasFocus()){var l=t.quill.getLine(i.index),a=b(l,2),s=a[0],u=a[1],c=t.quill.getLeaf(i.index),f=b(c,2),h=f[0],p=f[1],d=0===i.length?[h,p]:t.quill.getLeaf(i.index+i.length),y=b(d,2),g=y[0],m=y[1],_=h instanceof T.default.Text?h.value().slice(0,p):"",O=g instanceof T.default.Text?g.value().slice(m):"",x={collapsed:0===i.length,empty:0===i.length&&s.length()<=1,format:t.quill.getFormat(i),offset:u,prefix:_,suffix:O};o.some(function(e){if(null!=e.collapsed&&e.collapsed!==x.collapsed)return!1;if(null!=e.empty&&e.empty!==x.empty)return!1;if(null!=e.offset&&e.offset!==x.offset)return!1;if(Array.isArray(e.format)){if(e.format.every(function(t){return null==x.format[t]}))return!1}else if("object"===v(e.format)&&!Object.keys(e.format).every(function(t){return!0===e.format[t]?null!=x.format[t]:!1===e.format[t]?null==x.format[t]:(0,w.default)(e.format[t],x.format[t])}))return!1;return!(null!=e.prefix&&!e.prefix.test(x.prefix))&&(!(null!=e.suffix&&!e.suffix.test(x.suffix))&&!0!==e.handler.call(t,i,x))})&&n.preventDefault()}}}})}}]),e}(R.default);D.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},D.DEFAULTS={bindings:{bold:d("bold"),italic:d("italic"),underline:d("underline"),indent:{key:D.keys.TAB,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","+1",S.default.sources.USER)}},outdent:{key:D.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","-1",S.default.sources.USER)}},"outdent backspace":{key:D.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format("indent","-1",S.default.sources.USER):null!=e.format.list&&this.quill.format("list",!1,S.default.sources.USER)}},"indent code-block":p(!0),"outdent code-block":p(!1),"remove tab":{key:D.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(t){this.quill.deleteText(t.index-1,1,S.default.sources.USER)}},tab:{key:D.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new N.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(e,S.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,S.default.sources.SILENT)}},"list empty enter":{key:D.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(t,e){this.quill.format("list",!1,S.default.sources.USER),e.format.indent&&this.quill.format("indent",!1,S.default.sources.USER)}},"checklist enter":{key:D.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(t){var e=this.quill.getLine(t.index),n=b(e,2),r=n[0],o=n[1],i=(0,k.default)({},r.formats(),{list:"checked"}),l=(new N.default).retain(t.index).insert("\n",i).retain(r.length()-o-1).retain(1,{list:"unchecked"});this.quill.updateContents(l,S.default.sources.USER),this.quill.setSelection(t.index+1,S.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:D.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(t,e){var n=this.quill.getLine(t.index),r=b(n,2),o=r[0],i=r[1],l=(new N.default).retain(t.index).insert("\n",e.format).retain(o.length()-i-1).retain(1,{header:null});this.quill.updateContents(l,S.default.sources.USER),this.quill.setSelection(t.index+1,S.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(t,e){var n=e.prefix.length,r=this.quill.getLine(t.index),o=b(r,2),i=o[0],l=o[1];if(l>n)return!0;var a=void 0;switch(e.prefix.trim()){case"[]":case"[ ]":a="unchecked";break;case"[x]":a="checked";break;case"-":case"*":a="bullet";break;default:a="ordered"}this.quill.insertText(t.index," ",S.default.sources.USER),this.quill.history.cutoff();var s=(new N.default).retain(t.index-l).delete(n+1).retain(i.length()-2-l).retain(1,{list:a});this.quill.updateContents(s,S.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,S.default.sources.SILENT)}},"code exit":{key:D.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(t){var e=this.quill.getLine(t.index),n=b(e,2),r=n[0],o=n[1],i=(new N.default).retain(t.index+r.length()-o-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(i,S.default.sources.USER)}},"embed left":s(D.keys.LEFT,!1),"embed left shift":s(D.keys.LEFT,!0),"embed right":s(D.keys.RIGHT,!1),"embed right shift":s(D.keys.RIGHT,!0)}},e.default=D,e.SHORTKEY=B},function(t,e,n){"use strict";t.exports={align:{"":n(75),center:n(76),right:n(77),justify:n(78)},background:n(79),blockquote:n(80),bold:n(81),clean:n(82),code:n(40),"code-block":n(40),color:n(83),direction:{"":n(84),rtl:n(85)},float:{center:n(86),full:n(87),left:n(88),right:n(89)},formula:n(90),header:{1:n(91),2:n(92)},italic:n(93),image:n(94),indent:{"+1":n(95),"-1":n(96)},link:n(97),list:{ordered:n(98),bullet:n(99),check:n(100)},script:{sub:n(101),super:n(102)},strike:n(103),underline:n(104),video:n(105)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=function(){function t(t){this.domNode=t,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");var e;return Array.isArray(this.tagName)?("string"==typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e="number"==typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return r.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},t.prototype.deleteAt=function(t,e){this.isolate(t,e).remove()},t.prototype.formatAt=function(t,e,n,o){var i=this.isolate(t,e);if(null!=r.query(n,r.Scope.BLOT)&&o)i.wrap(n,o);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var l=r.create(this.statics.scope);i.wrap(l),l.format(n,o)}},t.prototype.insertAt=function(t,e,n){var o=null==n?r.create("text",e):r.create(e,n),i=this.split(t);this.parent.insertBefore(o,i)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var n=null;t.children.insertBefore(this,e),null!=e&&(n=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==n||t.domNode.insertBefore(this.domNode,n),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var n=this.split(t);return n.split(e),n},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var n="string"==typeof t?r.create(t,e):t;return n.replace(this),n},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var n="string"==typeof t?r.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},t.blotName="abstract",t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(11),o=n(29),i=n(30),l=n(1),a=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=r.default.keys(this.domNode),n=o.default.keys(this.domNode),a=i.default.keys(this.domNode);e.concat(n).concat(a).forEach(function(e){var n=l.query(e,l.Scope.ATTRIBUTE);n instanceof r.default&&(t.attributes[n.attrName]=n)})},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach(function(n){var r=e.attributes[n].value(e.domNode);t.format(n,r)})},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach(function(t){e.attributes[t].remove(e.domNode)}),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce(function(e,n){return e[n]=t.attributes[n].value(t.domNode),e},{})},t}();e.default=a},function(t,e,n){"use strict";function r(t,e){return(t.getAttribute("class")||"").split(/\s+/).filter(function(t){return 0===t.indexOf(e+"-")})}var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(11),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map(function(t){return t.split("-").slice(0,-1).join("-")})},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+"-"+e),!0)},e.prototype.remove=function(t){r(t,this.keyName).forEach(function(e){t.classList.remove(e)}),0===t.classList.length&&t.removeAttribute("class")},e.prototype.value=function(t){var e=r(t,this.keyName)[0]||"",n=e.slice(this.keyName.length+1);return this.canAdd(t,n)?n:""},e}(i.default);e.default=l},function(t,e,n){"use strict";function r(t){var e=t.split("-"),n=e.slice(1).map(function(t){return t[0].toUpperCase()+t.slice(1)}).join("");return e[0]+n}var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(11),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.keys=function(t){return(t.getAttribute("style")||"").split(";").map(function(t){return t.split(":")[0].trim()})},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[r(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[r(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},e.prototype.value=function(t){var e=t.style[r(this.keyName)];return this.canAdd(t,e)?e:""},e}(i.default);e.default=l},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=function(){function t(t,e){for(var n=0;n '},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;nr.right&&(i=r.right-o.right,this.root.style.left=e+i+"px"),o.leftr.bottom){var l=o.bottom-o.top,a=t.bottom-t.top+l;this.root.style.top=n-a+"px",this.root.classList.add("ql-flip")}return i}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t}();e.default=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){var e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0":(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/":t}function s(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach(function(e){var r=document.createElement("option");e===n?r.setAttribute("selected","selected"):r.setAttribute("value",e),t.appendChild(r)})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=void 0;var u=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+t)||""),this.root.setAttribute("data-mode",t)}},{key:"restoreFocus",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function(){var t=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var e=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,v.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,v.default.sources.USER)),this.quill.root.scrollTop=e;break;case"video":t=a(t);case"formula":if(!t)break;var n=this.quill.getSelection(!0);if(null!=n){var r=n.index+n.length;this.quill.insertEmbed(r,this.root.getAttribute("data-mode"),t,v.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(r+1," ",v.default.sources.USER),this.quill.setSelection(r+2,v.default.sources.USER)}}this.textbox.value="",this.hide()}}]),e}(A.default);e.BaseTooltip=M,e.default=L},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(46),i=r(o),l=n(34),a=n(36),s=n(62),u=n(63),c=r(u),f=n(64),h=r(f),p=n(65),d=r(p),y=n(35),v=n(24),b=n(37),g=n(38),m=n(39),_=r(m),O=n(66),w=r(O),x=n(15),k=r(x),E=n(67),N=r(E),j=n(68),A=r(j),q=n(69),T=r(q),P=n(70),S=r(P),C=n(71),L=r(C),M=n(13),R=r(M),I=n(72),B=r(I),D=n(73),U=r(D),F=n(74),H=r(F),K=n(26),z=r(K),V=n(16),Z=r(V),W=n(41),G=r(W),Y=n(42),X=r(Y),$=n(43),Q=r($),J=n(107),tt=r(J),et=n(108),nt=r(et);i.default.register({"attributors/attribute/direction":a.DirectionAttribute,"attributors/class/align":l.AlignClass,"attributors/class/background":y.BackgroundClass,"attributors/class/color":v.ColorClass,"attributors/class/direction":a.DirectionClass,"attributors/class/font":b.FontClass,"attributors/class/size":g.SizeClass,"attributors/style/align":l.AlignStyle,"attributors/style/background":y.BackgroundStyle,"attributors/style/color":v.ColorStyle,"attributors/style/direction":a.DirectionStyle,"attributors/style/font":b.FontStyle,"attributors/style/size":g.SizeStyle},!0),i.default.register({"formats/align":l.AlignClass,"formats/direction":a.DirectionClass,"formats/indent":s.IndentClass,"formats/background":y.BackgroundStyle,"formats/color":v.ColorStyle,"formats/font":b.FontClass,"formats/size":g.SizeClass,"formats/blockquote":c.default,"formats/code-block":R.default,"formats/header":h.default,"formats/list":d.default,"formats/bold":_.default,"formats/code":M.Code,"formats/italic":w.default,"formats/link":k.default,"formats/script":N.default,"formats/strike":A.default,"formats/underline":T.default,"formats/image":S.default,"formats/video":L.default,"formats/list/item":p.ListItem,"modules/formula":B.default,"modules/syntax":U.default,"modules/toolbar":H.default,"themes/bubble":tt.default,"themes/snow":nt.default,"ui/icons":z.default,"ui/picker":Z.default,"ui/icon-picker":X.default,"ui/color-picker":G.default,"ui/tooltip":Q.default},!0),e.default=i.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),i=r(o),l=n(6),a=r(l),s=n(3),u=r(s),c=n(14),f=r(c),h=n(23),p=r(h),d=n(31),y=r(d),v=n(33),b=r(v),g=n(5),m=r(g),_=n(59),O=r(_),w=n(8),x=r(w),k=n(60),E=r(k),N=n(61),j=r(N),A=n(25),q=r(A);a.default.register({"blots/block":u.default,"blots/block/embed":s.BlockEmbed,"blots/break":f.default,"blots/container":p.default,"blots/cursor":y.default,"blots/embed":b.default,"blots/inline":m.default,"blots/scroll":O.default,"blots/text":x.default,"modules/clipboard":E.default,"modules/history":j.default,"modules/keyboard":q.default}),i.default.register(u.default,f.default,y.default,m.default,O.default,x.default),e.default=a.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){for(var e,n=this.iterator();e=n();)if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){for(var e=0,n=this.head;null!=n;){if(n===t)return e;e+=n.length(),n=n.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);for(var n,r=this.iterator();n=r();){var o=n.length();if(ta?n(r,t-a,Math.min(e,a+u-t)):n(r,0,Math.min(u,t+e-a)),a+=u}},t.prototype.map=function(t){return this.reduce(function(e,n){return e.push(t(n)),e},[])},t.prototype.reduce=function(t,e){for(var n,r=this.iterator();n=r();)e=t(e,n);return e},t}();e.default=r},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(17),i=n(1),l={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},a=function(t){function e(e){var n=t.call(this,e)||this;return n.scroll=n,n.observer=new MutationObserver(function(t){n.update(t)}),n.observer.observe(n.domNode,l),n.attach(),n}return r(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,n){this.update(),0===e&&n===this.length()?this.children.forEach(function(t){t.remove()}):t.prototype.deleteAt.call(this,e,n)},e.prototype.formatAt=function(e,n,r,o){this.update(),t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.insertAt=function(e,n,r){this.update(),t.prototype.insertAt.call(this,e,n,r)},e.prototype.optimize=function(e,n){var r=this;void 0===e&&(e=[]),void 0===n&&(n={}),t.prototype.optimize.call(this,n);for(var l=[].slice.call(this.observer.takeRecords());l.length>0;)e.push(l.pop());for(var a=function(t,e){void 0===e&&(e=!0),null!=t&&t!==r&&null!=t.domNode.parentNode&&(null==t.domNode[i.DATA_KEY].mutations&&(t.domNode[i.DATA_KEY].mutations=[]),e&&a(t.parent))},s=function(t){null!=t.domNode[i.DATA_KEY]&&null!=t.domNode[i.DATA_KEY].mutations&&(t instanceof o.default&&t.children.forEach(s),t.optimize(n))},u=e,c=0;u.length>0;c+=1){if(c>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(u.forEach(function(t){var e=i.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(a(i.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,function(t){var e=i.find(t,!1);a(e,!1),e instanceof o.default&&e.children.forEach(function(t){a(t,!1)})})):"attributes"===t.type&&a(e.prev)),a(e))}),this.children.forEach(s),u=[].slice.call(this.observer.takeRecords()),l=u.slice();l.length>0;)e.push(l.pop())}},e.prototype.update=function(e,n){var r=this;void 0===n&&(n={}),e=e||this.observer.takeRecords(),e.map(function(t){var e=i.find(t.target,!0);return null==e?null:null==e.domNode[i.DATA_KEY].mutations?(e.domNode[i.DATA_KEY].mutations=[t],e):(e.domNode[i.DATA_KEY].mutations.push(t),null)}).forEach(function(t){null!=t&&t!==r&&null!=t.domNode[i.DATA_KEY]&&t.update(t.domNode[i.DATA_KEY].mutations||[],n)}),null!=this.domNode[i.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[i.DATA_KEY].mutations,n),this.optimize(e,n)},e.blotName="scroll",e.defaultChild="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="DIV",e}(o.default);e.default=a},function(t,e,n){"use strict";function r(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(18),l=n(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.formats=function(n){if(n.tagName!==e.tagName)return t.formats.call(this,n)},e.prototype.format=function(n,r){var o=this;n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):(this.children.forEach(function(t){t instanceof i.default||(t=t.wrap(e.blotName,!0)),o.attributes.copy(t)}),this.unwrap())},e.prototype.formatAt=function(e,n,r,o){if(null!=this.formats()[r]||l.query(r,l.Scope.ATTRIBUTE)){this.isolate(e,n).format(r,o)}else t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n);var o=this.formats();if(0===Object.keys(o).length)return this.unwrap();var i=this.next;i instanceof e&&i.prev===this&&r(o,i.formats())&&(i.moveChildren(this),i.remove())},e.blotName="inline",e.scope=l.Scope.INLINE_BLOT,e.tagName="SPAN",e}(i.default);e.default=a},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(18),i=n(1),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){var r=i.query(e.blotName).tagName;if(n.tagName!==r)return t.formats.call(this,n)},e.prototype.format=function(n,r){null!=i.query(n,i.Scope.BLOCK)&&(n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,n,r,o){null!=i.query(r,i.Scope.BLOCK)?this.format(r,o):t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.insertAt=function(e,n,r){if(null==r||null!=i.query(n,i.Scope.INLINE))t.prototype.insertAt.call(this,e,n,r);else{var o=this.split(e),l=i.create(n,r);o.parent.insertBefore(l,o)}},e.prototype.update=function(e,n){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,n)},e.blotName="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="P",e}(o.default);e.default=l},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(19),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(t){},e.prototype.format=function(e,n){t.prototype.formatAt.call(this,0,this.length(),e,n)},e.prototype.formatAt=function(e,n,r,o){0===e&&n===this.length()?this.format(r,o):t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(o.default);e.default=i},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(19),i=n(1),l=function(t){function e(e){var n=t.call(this,e)||this;return n.text=n.statics.value(n.domNode),n}return r(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e.normalize&&(e=e.normalize()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,n,r){null==r?(this.text=this.text.slice(0,e)+n+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,n,r)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return void 0===e&&(e=!1),[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=i.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},e.prototype.update=function(t,e){var n=this;t.some(function(t){return"characterData"===t.type&&t.target===n.domNode})&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName="text",e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=l},function(t,e,n){"use strict";var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)==!e?e:o.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length),e-=t.length;var r=n.indexOf(t,e);return-1!==r&&r===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),r=n.length>>>0,o=arguments[1],i=0;ie.length?t:e,l=t.length>e.length?e:t,a=i.indexOf(l);if(-1!=a)return r=[[y,i.substring(0,a)],[v,l],[y,i.substring(a+l.length)]],t.length>e.length&&(r[0][0]=r[2][0]=d),r;if(1==l.length)return[[d,t],[y,e]];var u=s(t,e);if(u){var c=u[0],f=u[1],h=u[2],p=u[3],b=u[4],g=n(c,h),m=n(f,p);return g.concat([[v,b]],m)}return o(t,e)}function o(t,e){for(var n=t.length,r=e.length,o=Math.ceil((n+r)/2),l=o,a=2*o,s=new Array(a),u=new Array(a),c=0;cn)v+=2;else if(x>r)p+=2;else if(h){var k=l+f-_;if(k>=0&&k=E)return i(t,e,O,x)}}}for(var N=-m+b;N<=m-g;N+=2){var E,k=l+N;E=N==-m||N!=m&&u[k-1]n)g+=2;else if(j>r)b+=2;else if(!h){var w=l+f-N;if(w>=0&&w=E)return i(t,e,O,x)}}}}return[[d,t],[y,e]]}function i(t,e,r,o){var i=t.substring(0,r),l=e.substring(0,o),a=t.substring(r),s=e.substring(o),u=n(i,l),c=n(a,s);return u.concat(c)}function l(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,r=Math.min(t.length,e.length),o=r,i=0;n=t.length?[r,o,i,s,f]:null}var r=t.length>e.length?t:e,o=t.length>e.length?e:t;if(r.length<4||2*o.lengthu[4].length?s:u:s;var c,f,h,p;return t.length>e.length?(c=i[0],f=i[1],h=i[2],p=i[3]):(h=i[0],p=i[1],c=i[2],f=i[3]),[c,f,h,p,i[4]]}function u(t){t.push([v,""]);for(var e,n=0,r=0,o=0,i="",s="";n1?(0!==r&&0!==o&&(e=l(s,i),0!==e&&(n-r-o>0&&t[n-r-o-1][0]==v?t[n-r-o-1][1]+=s.substring(0,e):(t.splice(0,0,[v,s.substring(0,e)]),n++),s=s.substring(e),i=i.substring(e)),0!==(e=a(s,i))&&(t[n][1]=s.substring(s.length-e)+t[n][1],s=s.substring(0,s.length-e),i=i.substring(0,i.length-e))),0===r?t.splice(n-o,r+o,[y,s]):0===o?t.splice(n-r,r+o,[d,i]):t.splice(n-r-o,r+o,[d,i],[y,s]),n=n-r-o+(r?1:0)+(o?1:0)+1):0!==n&&t[n-1][0]==v?(t[n-1][1]+=t[n][1],t.splice(n,1)):n++,o=0,r=0,i="",s=""}""===t[t.length-1][1]&&t.pop();var c=!1;for(n=1;n0&&r.splice(o+2,0,[l[0],a]),p(r,o,3)}return t}function h(t){for(var e=!1,n=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},r=2;r=55296&&t.charCodeAt(t.length-1)<=56319}(t[r-2][1])&&t[r-1][0]===d&&n(t[r-1][1])&&t[r][0]===y&&n(t[r][1])&&(e=!0,t[r-1][1]=t[r-2][1].slice(-1)+t[r-1][1],t[r][1]=t[r-2][1].slice(-1)+t[r][1],t[r-2][1]=t[r-2][1].slice(0,-1));if(!e)return t;for(var o=[],r=0;r0&&o.push(t[r]);return o}function p(t,e,n){for(var r=e+n-1;r>=0&&r>=e-1;r--)if(r+1=r&&!a.endsWith("\n")&&(n=!0),e.scroll.insertAt(t,a);var c=e.scroll.line(t),f=u(c,2),h=f[0],p=f[1],y=(0,T.default)({},(0,O.bubbleFormats)(h));if(h instanceof w.default){var b=h.descendant(v.default.Leaf,p),g=u(b,1),m=g[0];y=(0,T.default)(y,(0,O.bubbleFormats)(m))}l=d.default.attributes.diff(y,l)||{}}else if("object"===s(o.insert)){var _=Object.keys(o.insert)[0];if(null==_)return t;e.scroll.insertAt(t,_,o.insert[_])}r+=i}return Object.keys(l).forEach(function(n){e.scroll.formatAt(t,i,n,l[n])}),t+i},0),t.reduce(function(t,n){return"number"==typeof n.delete?(e.scroll.deleteAt(t,n.delete),t):t+(n.retain||n.insert.length||1)},0),this.scroll.batchEnd(),this.update(t)}},{key:"deleteText",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new h.default).retain(t).delete(e))}},{key:"formatLine",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach(function(o){if(null==n.scroll.whitelist||n.scroll.whitelist[o]){var i=n.scroll.lines(t,Math.max(e,1)),l=e;i.forEach(function(e){var i=e.length();if(e instanceof g.default){var a=t-e.offset(n.scroll),s=e.newlineIndex(a+l)-a+1;e.formatAt(a,s,o,r[o])}else e.format(o,r[o]);l-=i})}}),this.scroll.optimize(),this.update((new h.default).retain(t).retain(e,(0,N.default)(r)))}},{key:"formatText",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach(function(o){n.scroll.formatAt(t,e,o,r[o])}),this.update((new h.default).retain(t).retain(e,(0,N.default)(r)))}},{key:"getContents",value:function(t,e){return this.delta.slice(t,t+e)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(t,e){return t.concat(e.delta())},new h.default)}},{key:"getFormat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===e?this.scroll.path(t).forEach(function(t){var e=u(t,1),o=e[0];o instanceof w.default?n.push(o):o instanceof v.default.Leaf&&r.push(o)}):(n=this.scroll.lines(t,e),r=this.scroll.descendants(v.default.Leaf,t,e));var o=[n,r].map(function(t){if(0===t.length)return{};for(var e=(0,O.bubbleFormats)(t.shift());Object.keys(e).length>0;){var n=t.shift();if(null==n)return e;e=l((0,O.bubbleFormats)(n),e)}return e});return T.default.apply(T.default,o)}},{key:"getText",value:function(t,e){return this.getContents(t,e).filter(function(t){return"string"==typeof t.insert}).map(function(t){return t.insert}).join("")}},{key:"insertEmbed",value:function(t,e,n){return this.scroll.insertAt(t,e,n),this.update((new h.default).retain(t).insert(o({},e,n)))}},{key:"insertText",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(r).forEach(function(o){n.scroll.formatAt(t,e.length,o,r[o])}),this.update((new h.default).retain(t).insert(e,(0,N.default)(r)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===w.default.blotName&&(!(t.children.length>1)&&t.children.head instanceof k.default)}},{key:"removeFormat",value:function(t,e){var n=this.getText(t,e),r=this.scroll.line(t+e),o=u(r,2),i=o[0],l=o[1],a=0,s=new h.default;null!=i&&(a=i instanceof g.default?i.newlineIndex(l)-l+1:i.length()-l,s=i.delta().slice(l,l+a-1).insert("\n"));var c=this.getContents(t,e+a),f=c.diff((new h.default).insert(n).concat(s)),p=(new h.default).retain(t).concat(f);return this.applyDelta(p)}},{key:"update",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(P)&&v.default.find(e[0].target)){var o=v.default.find(e[0].target),i=(0,O.bubbleFormats)(o),l=o.offset(this.scroll),a=e[0].oldValue.replace(_.default.CONTENTS,""),s=(new h.default).insert(a),u=(new h.default).insert(o.value());t=(new h.default).retain(l).concat(s.diff(u,n)).reduce(function(t,e){return e.insert?t.insert(e.insert,i):t.push(e)},new h.default),this.delta=r.compose(t)}else this.delta=this.getDelta(),t&&(0,A.default)(r.compose(t),this.delta)||(t=r.diff(this.delta,n));return t}}]),t}();e.default=S},function(t,e){"use strict";function n(){}function r(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function o(){this._events=new n,this._eventsCount=0}var i=Object.prototype.hasOwnProperty,l="~";Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(l=!1)),o.prototype.eventNames=function(){var t,e,n=[];if(0===this._eventsCount)return n;for(e in t=this._events)i.call(t,e)&&n.push(l?e.slice(1):e);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(t)):n},o.prototype.listeners=function(t,e){var n=l?l+t:t,r=this._events[n];if(e)return!!r;if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o0){if(i instanceof y.BlockEmbed||f instanceof y.BlockEmbed)return void this.optimize();if(i instanceof _.default){var h=i.newlineIndex(i.length(),!0);if(h>-1&&(i=i.split(h+1))===f)return void this.optimize()}else if(f instanceof _.default){var p=f.newlineIndex(0);p>-1&&f.split(p+1)}var d=f.children.head instanceof g.default?null:f.children.head;i.moveChildren(f,d),i.remove()}this.optimize()}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t)}},{key:"formatAt",value:function(t,n,r,o){(null==this.whitelist||this.whitelist[r])&&(c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,r,o),this.optimize())}},{key:"insertAt",value:function(t,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(t>=this.length())if(null==r||null==h.default.query(n,h.default.Scope.BLOCK)){var o=h.default.create(this.statics.defaultChild);this.appendChild(o),null==r&&n.endsWith("\n")&&(n=n.slice(0,-1)),o.insertAt(0,n,r)}else{var i=h.default.create(n,r);this.appendChild(i)}else c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r);this.optimize()}}},{key:"insertBefore",value:function(t,n){if(t.statics.scope===h.default.Scope.INLINE_BLOT){var r=h.default.create(this.statics.defaultChild);r.appendChild(t),t=r}c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n)}},{key:"leaf",value:function(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function(t){return t===this.length()?this.line(t-1):this.descendant(a,t)}},{key:"lines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return function t(e,n,r){var o=[],i=r;return e.children.forEachAt(n,r,function(e,n,r){a(e)?o.push(e):e instanceof h.default.Container&&(o=o.concat(t(e,n,i))),i-=r}),o}(this,t,e)}},{key:"optimize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t,n),t.length>0&&this.emitter.emit(d.default.events.SCROLL_OPTIMIZE,t,n))}},{key:"path",value:function(t){return c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t).slice(1)}},{key:"update",value:function(t){if(!0!==this.batch){var n=d.default.sources.USER;"string"==typeof t&&(n=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(d.default.events.SCROLL_BEFORE_UPDATE,n,t),c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"update",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(d.default.events.SCROLL_UPDATE,n,t)}}}]),e}(h.default.Scroll);x.blotName="scroll",x.className="ql-editor",x.tagName="DIV",x.defaultChild="block",x.allowedChildren=[v.default,y.BlockEmbed,w.default],e.default=x},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t,e,n){return"object"===(void 0===e?"undefined":x(e))?Object.keys(e).reduce(function(t,n){return s(t,n,e[n])},t):t.reduce(function(t,r){return r.attributes&&r.attributes[e]?t.push(r):t.insert(r.insert,(0,j.default)({},o({},e,n),r.attributes))},new q.default)}function u(t){if(t.nodeType!==Node.ELEMENT_NODE)return{};return t["__ql-computed-style"]||(t["__ql-computed-style"]=window.getComputedStyle(t))}function c(t,e){for(var n="",r=t.ops.length-1;r>=0&&n.length-1}function h(t,e,n){return t.nodeType===t.TEXT_NODE?n.reduce(function(e,n){return n(t,e)},new q.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],function(r,o){var i=h(o,e,n);return o.nodeType===t.ELEMENT_NODE&&(i=e.reduce(function(t,e){return e(o,t)},i),i=(o[W]||[]).reduce(function(t,e){return e(o,t)},i)),r.concat(i)},new q.default):new q.default}function p(t,e,n){return s(n,t,!0)}function d(t,e){var n=P.default.Attributor.Attribute.keys(t),r=P.default.Attributor.Class.keys(t),o=P.default.Attributor.Style.keys(t),i={};return n.concat(r).concat(o).forEach(function(e){var n=P.default.query(e,P.default.Scope.ATTRIBUTE);null!=n&&(i[n.attrName]=n.value(t),i[n.attrName])||(n=Y[e],null==n||n.attrName!==e&&n.keyName!==e||(i[n.attrName]=n.value(t)||void 0),null==(n=X[e])||n.attrName!==e&&n.keyName!==e||(n=X[e],i[n.attrName]=n.value(t)||void 0))}),Object.keys(i).length>0&&(e=s(e,i)),e}function y(t,e){var n=P.default.query(t);if(null==n)return e;if(n.prototype instanceof P.default.Embed){var r={},o=n.value(t);null!=o&&(r[n.blotName]=o,e=(new q.default).insert(r,n.formats(t)))}else"function"==typeof n.formats&&(e=s(e,n.blotName,n.formats(t)));return e}function v(t,e){return c(e,"\n")||e.insert("\n"),e}function b(){return new q.default}function g(t,e){var n=P.default.query(t);if(null==n||"list-item"!==n.blotName||!c(e,"\n"))return e;for(var r=-1,o=t.parentNode;!o.classList.contains("ql-clipboard");)"list"===(P.default.query(o)||{}).blotName&&(r+=1),o=o.parentNode;return r<=0?e:e.compose((new q.default).retain(e.length()-1).retain(1,{indent:r}))}function m(t,e){return c(e,"\n")||(f(t)||e.length()>0&&t.nextSibling&&f(t.nextSibling))&&e.insert("\n"),e}function _(t,e){if(f(t)&&null!=t.nextElementSibling&&!c(e,"\n\n")){var n=t.offsetHeight+parseFloat(u(t).marginTop)+parseFloat(u(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*n&&e.insert("\n")}return e}function O(t,e){var n={},r=t.style||{};return r.fontStyle&&"italic"===u(t).fontStyle&&(n.italic=!0),r.fontWeight&&(u(t).fontWeight.startsWith("bold")||parseInt(u(t).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(e=s(e,n)),parseFloat(r.textIndent||0)>0&&(e=(new q.default).insert("\t").concat(e)),e}function w(t,e){var n=t.data;if("O:P"===t.parentNode.tagName)return e.insert(n.trim());if(0===n.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!u(t.parentNode).whiteSpace.startsWith("pre")){var r=function(t,e){return e=e.replace(/[^\u00a0]/g,""),e.length<1&&t?" ":e};n=n.replace(/\r\n/g," ").replace(/\n/g," "),n=n.replace(/\s\s+/g,r.bind(r,!0)),(null==t.previousSibling&&f(t.parentNode)||null!=t.previousSibling&&f(t.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==t.nextSibling&&f(t.parentNode)||null!=t.nextSibling&&f(t.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return e.insert(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},k=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),E=function(){function t(t,e){for(var n=0;n\r?\n +\<"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[F.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new q.default).insert(n,o({},F.default.blotName,e[F.default.blotName]))}var r=this.prepareMatching(),i=k(r,2),l=i[0],a=i[1],s=h(this.container,l,a);return c(s,"\n")&&null==s.ops[s.ops.length-1].attributes&&(s=s.compose((new q.default).retain(s.length()-1).delete(1))),Z.log("convert",this.container.innerHTML,s),this.container.innerHTML="",s}},{key:"dangerouslyPasteHTML",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C.default.sources.API;if("string"==typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,C.default.sources.SILENT);else{var r=this.convert(e);this.quill.updateContents((new q.default).retain(t).concat(r),n),this.quill.setSelection(t+r.length(),C.default.sources.SILENT)}}},{key:"onPaste",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new q.default).retain(n.index),o=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(C.default.sources.SILENT),setTimeout(function(){r=r.concat(e.convert()).delete(n.length),e.quill.updateContents(r,C.default.sources.USER),e.quill.setSelection(r.length()-n.length,C.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=o,e.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var t=this,e=[],n=[];return this.matchers.forEach(function(r){var o=k(r,2),i=o[0],l=o[1];switch(i){case Node.TEXT_NODE:n.push(l);break;case Node.ELEMENT_NODE:e.push(l);break;default:[].forEach.call(t.container.querySelectorAll(i),function(t){t[W]=t[W]||[],t[W].push(l)})}}),[e,n]}}]),e}(I.default);$.DEFAULTS={matchers:[],matchVisual:!0},e.default=$,e.matchAttributor=d,e.matchBlot=y,e.matchNewline=m,e.matchSpacing=_,e.matchText=w},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?"string"==typeof e.insert&&e.insert.endsWith("\n"):null!=e.attributes&&Object.keys(e.attributes).some(function(t){return null!=f.default.query(t,f.default.Scope.BLOCK)}))}function s(t){var e=t.reduce(function(t,e){return t+=e.delete||0},0),n=t.length()-e;return a(t)&&(n-=1),n}Object.defineProperty(e,"__esModule",{value:!0}),e.getLastChangeIndex=e.default=void 0;var u=function(){function t(t,e){for(var n=0;nr&&this.stack.undo.length>0){var o=this.stack.undo.pop();n=n.compose(o.undo),t=o.redo.compose(t)}else this.lastRecorded=r;this.stack.undo.push({redo:t,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}),this.stack.redo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),e}(y.default);v.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=v,e.getLastChangeIndex=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;var l=function(){function t(t,e){for(var n=0;n0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return o({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(t,n){if(t instanceof v)u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n);else{var r=null==n?this.length():n.offset(this),o=this.split(r);o.parent.insertBefore(t,o)}}},{key:"optimize",value:function(t){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var n=f.default.create(this.statics.defaultChild);t.moveChildren(n),this.appendChild(n)}u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t)}}]),e}(y.default);b.blotName="list",b.scope=f.default.Scope.BLOCK_BLOT,b.tagName=["OL","UL"],b.defaultChild="list-item",b.allowedChildren=[v],e.ListItem=v,e.default=b},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=n(39),a=function(t){return t&&t.__esModule?t:{default:t}}(l),s=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),e}(a.default);s.blotName="italic",s.tagName=["EM","I"],e.default=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"==typeof t&&n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return f.reduce(function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e},{})}},{key:"match",value:function(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function(t){return(0,c.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(u.default.Embed);h.blotName="image",h.tagName="IMG",e.default=h},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return f.reduce(function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e},{})}},{key:"sanitize",value:function(t){return c.default.sanitize(t)}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(s.BlockEmbed);h.blotName="video",h.className="ql-video",h.tagName="IFRAME",e.default=h},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=void 0;var a=function(){function t(t,e){for(var n=0;n0||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),e}(v.default);b.className="ql-syntax";var g=new c.default.Attributor.Class("token","hljs",{scope:c.default.Scope.INLINE}),m=function(t){function e(t,n){o(this,e);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if("function"!=typeof r.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var l=null;return r.quill.on(h.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(l),l=setTimeout(function(){r.highlight(),l=null},r.options.interval)}),r.highlight(),r}return l(e,t),a(e,null,[{key:"register",value:function(){h.default.register(g,!0),h.default.register(b,!0)}}]),a(e,[{key:"highlight",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(h.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(b).forEach(function(e){e.highlight(t.options.highlight)}),this.quill.update(h.default.sources.SILENT),null!=e&&this.quill.setSelection(e,h.default.sources.SILENT)}}}]),e}(d.default);m.DEFAULTS={highlight:function(){return null==window.hljs?null:function(t){return window.hljs.highlightAuto(t).value}}(),interval:1e3},e.CodeBlock=b,e.CodeToken=g,e.default=m},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t,e,n){var r=document.createElement("button");r.setAttribute("type","button"),r.classList.add("ql-"+e),null!=n&&(r.value=n),t.appendChild(r)}function u(t,e){Array.isArray(e[0])||(e=[e]),e.forEach(function(e){var n=document.createElement("span");n.classList.add("ql-formats"),e.forEach(function(t){if("string"==typeof t)s(n,t);else{var e=Object.keys(t)[0],r=t[e];Array.isArray(r)?c(n,e,r):s(n,e,r)}}),t.appendChild(n)})}function c(t,e,n){var r=document.createElement("select");r.classList.add("ql-"+e),n.forEach(function(t){var e=document.createElement("option");!1!==t?e.setAttribute("value",t):e.setAttribute("selected","selected"),r.appendChild(e)}),t.appendChild(r)}Object.defineProperty(e,"__esModule",{value:!0}),e.addControls=e.default=void 0;var f=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),h=function(){function t(t,e){for(var n=0;n '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=function(){function t(t,e){for(var n=0;n0&&o===h.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var i=r.quill.getLines(e.index,e.length);if(1===i.length)r.position(r.quill.getBounds(e));else{var l=i[i.length-1],a=r.quill.getIndex(l),s=Math.min(l.length()-1,e.index+e.length-a),u=r.quill.getBounds(new y.Range(a,s));r.position(u)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()}),r}return l(e,t),s(e,[{key:"listen",value:function(){var t=this;a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){t.root.classList.remove("ql-editing")}),this.quill.on(h.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!t.root.classList.contains("ql-hidden")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(t){var n=a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,t),r=this.root.querySelector(".ql-tooltip-arrow");if(r.style.marginLeft="",0===n)return n;r.style.marginLeft=-1*n-r.offsetWidth/2+"px"}}]),e}(p.BaseTooltip);_.TEMPLATE=['','
','','',"
"].join(""),e.BubbleTooltip=_,e.default=m},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=function(){function t(t,e){for(var n=0;n','','',''].join(""),e.default=w}]).default}); -//# sourceMappingURL=quill.min.js.map \ No newline at end of file diff --git a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappquillimageresize.js b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappquillimageresize.js deleted file mode 100644 index 725289b..0000000 --- a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappquillimageresize.js +++ /dev/null @@ -1 +0,0 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ImageResize=e():t.ImageResize=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=39)}([function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){var o=n(22),r="object"==typeof self&&self&&self.Object===Object&&self,i=o||r||Function("return this")();t.exports=i},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e,n){function o(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t-1&&t%1==0&&t<=o}var o=9007199254740991;t.exports=n},function(t,e,n){var o=n(50),r=n(55),i=n(87),u=i&&i.isTypedArray,c=u?r(u):o;t.exports=c},function(t,e,n){function o(t){return u(t)?r(t,!0):i(t)}var r=n(44),i=n(51),u=n(12);t.exports=o},function(t,e,n){"use strict";e.a={modules:["DisplaySize","Toolbar","Resize"]}},function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}n.d(e,"a",function(){return c});var u=n(9),c=function(t){function e(){var t,n,i,u;o(this,e);for(var c=arguments.length,a=Array(c),s=0;s1&&void 0!==arguments[1]?arguments[1]:{};o(this,t),this.initializeModules=function(){n.removeModules(),n.modules=n.moduleClasses.map(function(t){return new(f[t]||t)(n)}),n.modules.forEach(function(t){t.onCreate()}),n.onUpdate()},this.onUpdate=function(){n.repositionElements(),n.modules.forEach(function(t){t.onUpdate()})},this.removeModules=function(){n.modules.forEach(function(t){t.onDestroy()}),n.modules=[]},this.handleClick=function(t){if(t.target&&t.target.tagName&&"IMG"===t.target.tagName.toUpperCase()){if(n.img===t.target)return;n.img&&n.hide(),n.show(t.target)}else n.img&&n.hide()},this.show=function(t){n.img=t,n.showOverlay(),n.initializeModules()},this.showOverlay=function(){n.overlay&&n.hideOverlay(),n.quill.setSelection(null),n.setUserSelect("none"),document.addEventListener("keyup",n.checkImage,!0),n.quill.root.addEventListener("input",n.checkImage,!0),n.overlay=document.createElement("div"),n.overlay.classList.add("ql-image-overlay"),n.quill.root.parentNode.appendChild(n.overlay),n.repositionElements()},this.hideOverlay=function(){n.overlay&&(n.quill.root.parentNode.removeChild(n.overlay),n.overlay=void 0,document.removeEventListener("keyup",n.checkImage),n.quill.root.removeEventListener("input",n.checkImage),n.setUserSelect(""))},this.repositionElements=function(){if(n.overlay&&n.img){var t=n.quill.root.parentNode,e=n.img.getBoundingClientRect(),o=t.getBoundingClientRect();Object.assign(n.overlay.style,{left:e.left-o.left-1+t.scrollLeft+"px",top:e.top-o.top+t.scrollTop+"px",width:e.width+"px",height:e.height+"px"})}},this.hide=function(){n.hideOverlay(),n.removeModules(),n.img=void 0},this.setUserSelect=function(t){["userSelect","mozUserSelect","webkitUserSelect","msUserSelect"].forEach(function(e){n.quill.root.style[e]=t,document.documentElement.style[e]=t})},this.checkImage=function(t){n.img&&(46!=t.keyCode&&8!=t.keyCode||window.Quill.find(n.img).deleteAt(0),n.hide())},this.quill=e;var c=!1;r.modules&&(c=r.modules.slice()),this.options=i()({},r,u.a),!1!==c&&(this.options.modules=c),document.execCommand("enableObjectResizing",!1,"false"),this.quill.root.addEventListener("click",this.handleClick,!1),this.quill.root.parentNode.style.position=this.quill.root.parentNode.style.position||"relative",this.moduleClasses=this.options.modules,this.modules=[]};e.default=p,window.Quill&&window.Quill.register("modules/imageResize",p)},function(t,e,n){function o(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e1?n[r-1]:void 0,c=r>2?n[2]:void 0;for(u=t.length>3&&"function"==typeof u?(r--,u):void 0,c&&i(n[0],n[1],c)&&(u=r<3?void 0:u,r=1),e=Object(e);++o-1}var r=n(4);t.exports=o},function(t,e,n){function o(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}var r=n(4);t.exports=o},function(t,e,n){function o(){this.size=0,this.__data__={hash:new r,map:new(u||i),string:new r}}var r=n(40),i=n(3),u=n(15);t.exports=o},function(t,e,n){function o(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}var r=n(6);t.exports=o},function(t,e,n){function o(t){return r(this,t).get(t)}var r=n(6);t.exports=o},function(t,e,n){function o(t){return r(this,t).has(t)}var r=n(6);t.exports=o},function(t,e,n){function o(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}var r=n(6);t.exports=o},function(t,e){function n(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}t.exports=n},function(t,e,n){(function(t){var o=n(22),r="object"==typeof e&&e&&!e.nodeType&&e,i=r&&"object"==typeof t&&t&&!t.nodeType&&t,u=i&&i.exports===r,c=u&&o.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||c&&c.binding&&c.binding("util")}catch(t){}}();t.exports=a}).call(e,n(14)(t))},function(t,e){function n(t){return r.call(t)}var o=Object.prototype,r=o.toString;t.exports=n},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){function o(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,u=-1,c=i(o.length-e,0),a=Array(c);++u0){if(++e>=o)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var o=800,r=16,i=Date.now;t.exports=n},function(t,e,n){function o(){this.__data__=new r,this.size=0}var r=n(3);t.exports=o},function(t,e){function n(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}t.exports=n},function(t,e){function n(t){return this.__data__.get(t)}t.exports=n},function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},function(t,e,n){function o(t,e){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!i||o.length promise.resolve(callback()).then(() => value), - reason => promise.resolve(callback()).then(() => { - throw reason - }) - ) - } -}; - -if (typeof uni !== 'undefined' && uni && uni.requireGlobal) { - const global = uni.requireGlobal() - ArrayBuffer = global.ArrayBuffer - Int8Array = global.Int8Array - Uint8Array = global.Uint8Array - Uint8ClampedArray = global.Uint8ClampedArray - Int16Array = global.Int16Array - Uint16Array = global.Uint16Array - Int32Array = global.Int32Array - Uint32Array = global.Uint32Array - Float32Array = global.Float32Array - Float64Array = global.Float64Array - BigInt64Array = global.BigInt64Array - BigUint64Array = global.BigUint64Array -}; - - -(()=>{var E=Object.create;var g=Object.defineProperty;var _=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var w=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty;var y=(e,a)=>()=>(a||e((a={exports:{}}).exports,a),a.exports);var S=(e,a,s,o)=>{if(a&&typeof a=="object"||typeof a=="function")for(let l of D(a))!v.call(e,l)&&l!==s&&g(e,l,{get:()=>a[l],enumerable:!(o=_(a,l))||o.enumerable});return e};var B=(e,a,s)=>(s=e!=null?E(w(e)):{},S(a||!e||!e.__esModule?g(s,"default",{value:e,enumerable:!0}):s,e));var b=y((N,m)=>{m.exports=Vue});var d={data(){return{locale:"en",fallbackLocale:"en",localization:{en:{done:"OK",cancel:"Cancel"},zh:{done:"\u5B8C\u6210",cancel:"\u53D6\u6D88"},"zh-hans":{},"zh-hant":{},messages:{}},localizationTemplate:{}}},onLoad(){this.initLocale()},created(){this.initLocale()},methods:{initLocale(){if(this.__initLocale)return;this.__initLocale=!0;let e=(plus.webview.currentWebview().extras||{}).data||{};if(e.messages&&(this.localization.messages=e.messages),e.locale){this.locale=e.locale.toLowerCase();return}let a={chs:"hans",cn:"hans",sg:"hans",cht:"hant",tw:"hant",hk:"hant",mo:"hant"},s=plus.os.language.toLowerCase().split("/")[0].replace("_","-").split("-"),o=s[1];o&&(s[1]=a[o]||o),s.length=s.length>2?2:s.length,this.locale=s.join("-")},localize(e){let a=this.locale,s=a.split("-")[0],o=this.fallbackLocale,l=n=>Object.assign({},this.localization[n],(this.localizationTemplate||{})[n]);return l("messages")[e]||l(a)[e]||l(s)[e]||l(o)[e]||e}}},p={onLoad(){this.initMessage()},methods:{initMessage(){let{from:e,callback:a,runtime:s,data:o={},useGlobalEvent:l}=plus.webview.currentWebview().extras||{};this.__from=e,this.__runtime=s,this.__page=plus.webview.currentWebview().id,this.__useGlobalEvent=l,this.data=JSON.parse(JSON.stringify(o)),plus.key.addEventListener("backbutton",()=>{typeof this.onClose=="function"?this.onClose():plus.webview.currentWebview().close("auto")});let n=this,r=function(c){let f=c.data&&c.data.__message;!f||n.__onMessageCallback&&n.__onMessageCallback(f.data)};if(this.__useGlobalEvent)weex.requireModule("globalEvent").addEventListener("plusMessage",r);else{let c=new BroadcastChannel(this.__page);c.onmessage=r}},postMessage(e={},a=!1){let s=JSON.parse(JSON.stringify({__message:{__page:this.__page,data:e,keep:a}})),o=this.__from;if(this.__runtime==="v8")this.__useGlobalEvent?plus.webview.postMessageToUniNView(s,o):new BroadcastChannel(o).postMessage(s);else{let l=plus.webview.getWebviewById(o);l&&l.evalJS(`__plusMessage&&__plusMessage(${JSON.stringify({data:s})})`)}},onMessage(e){this.__onMessageCallback=e}}};var i=B(b());var C=(e,a)=>{let s=e.__vccOpts||e;for(let[o,l]of a)s[o]=l;return s};var k={content:{"":{flex:1,alignItems:"center",justifyContent:"center",backgroundColor:"#000000"}},barcode:{"":{position:"absolute",left:0,top:0,right:0,bottom:0,zIndex:1}},"set-flash":{"":{alignItems:"center",justifyContent:"center",transform:"translateY(80px)",zIndex:2}},"image-flash":{"":{width:26,height:26,marginBottom:2}},"image-flash-text":{"":{fontSize:10,color:"#FFFFFF"}}},t=plus.barcode,A={qrCode:[t.QR,t.AZTEC,t.MAXICODE],barCode:[t.EAN13,t.EAN8,t.UPCA,t.UPCE,t.CODABAR,t.CODE128,t.CODE39,t.CODE93,t.ITF,t.RSS14,t.RSSEXPANDED],datamatrix:[t.DATAMATRIX],pdf417:[t.PDF417]},O={[t.QR]:"QR_CODE",[t.EAN13]:"EAN_13",[t.EAN8]:"EAN_8",[t.DATAMATRIX]:"DATA_MATRIX",[t.UPCA]:"UPC_A",[t.UPCE]:"UPC_E",[t.CODABAR]:"CODABAR",[t.CODE39]:"CODE_39",[t.CODE93]:"CODE_93",[t.CODE128]:"CODE_128",[t.ITF]:"CODE_25",[t.PDF417]:"PDF_417",[t.AZTEC]:"AZTEC",[t.RSS14]:"RSS_14",[t.RSSEXPANDED]:"RSSEXPANDED"},M={mixins:[p,d],data:{filters:[0,2,1],backgroud:"#000000",frameColor:"#118ce9",scanbarColor:"#118ce9",enabledFlash:!1,flashImage0:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAABjklEQVRoQ+1ZbVHEQAx9TwE4ABTcOQAknANQAKcAUAAOAAXgAHAACsDCKQiTmbYDzJZtNt2bFrJ/m6+Xl2yyU2LmhzOPH/8PgIjcADirxNyapNoffMwMiMgzgMPBHmyCLySPLCoBwJKtAbJbYaBmD1yRvBwAtBMxl5DF+DZkiwCIyBLAzsgBbki+Wm2WAlCaL6zOMvKnJO+sNksB7ALQbO1ZHfbIv5FUVs2nCIB6EZETALdmj2mFY5I6X8ynGEADQllYmL1+VzBfnV/VvQB0aj45ARyQ/Ci14QLQsOBZLe5JaikWnzEA7AN4L4hgA2Dpyb76dANwsOCq/TZhASAYKGie0a7R1lDPI0ebtF0NUi+4yfdAtxr3PEMnD6BbD0QkNfACQO05EAwMuaBqDrIVycdmTpwDuP4R0OR7QFftVRP0g+49cwOQq4DJMxAAchmofY3m/EcJBQOZbTRKKJeBKKEoIePvpFRJ1VzmciUccyCa+C81cerBkuuB7sGTE/zt+yhN7AnAqxsAvBn06n8CkyPwMZKwm+UAAAAASUVORK5CYII=",flashImage1:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUAAAA3kvI3lfY2k/VAl+43k/U3k/Q4k/M3kvI3k/M4k/Q4lPU2lPU2k/Vdq843k/WWSpNKAAAAD3RSTlMAwD+QINCAcPBgUDDgoBAE044kAAAAdklEQVQ4y2OgOrD/DwffUSTkERIfyZXAtOMbca7iVoKDDSgSbAijJqBI8J2HiX9FM2s+TOITmgQrTEIATYIJJuEA5mJ68S+Gg/0hEi0YEoxQK2gs0WyPQyKBGYeEAhPtJRaw45AIccXpwVEJekuwQyQWMFAfAACeDBJY9aXa3QAAAABJRU5ErkJggg==",autoDecodeCharSet:!1,autoZoom:!0,localizationTemplate:{en:{fail:"Recognition failure","flash.on":"Tap to turn light on","flash.off":"Tap to turn light off"},zh:{fail:"\u8BC6\u522B\u5931\u8D25","flash.on":"\u8F7B\u89E6\u7167\u4EAE","flash.off":"\u8F7B\u89E6\u5173\u95ED"}}},onLoad(){let e=this.data,a=e.scanType;this.autoDecodeCharSet=e.autoDecodeCharSet,this.autoZoom=e.autoZoom;let s=[];Array.isArray(a)&&a.length&&a.forEach(o=>{let l=A[o];l&&(s=s.concat(l))}),s.length||(s=s.concat(A.qrCode).concat(A.barCode).concat(A.datamatrix).concat(A.pdf417)),this.filters=s,this.onMessage(o=>{this.gallery()})},onUnload(){this.cancel()},onReady(){setTimeout(()=>{this.cancel(),this.start()},50)},methods:{start(){this.$refs.barcode.start({sound:this.data.sound})},scan(e){t.scan(e,(a,s,o,l)=>{this.scanSuccess(a,s,o,l)},()=>{plus.nativeUI.toast(this.localize("fail"))},this.filters,this.autoDecodeCharSet)},cancel(){this.$refs.barcode.cancel()},gallery(){plus.gallery.pick(e=>{this.scan(e)},e=>{e.code!==(weex.config.env.platform.toLowerCase()==="android"?12:-2)&&plus.nativeUI.toast(this.localize("fail"))},{multiple:!1,system:!1,filename:"_doc/uniapp_temp/gallery/",permissionAlert:!0})},onmarked(e){var a=e.detail;this.scanSuccess(a.code,a.message,a.file,a.charSet)},scanSuccess(e,a,s,o){this.postMessage({event:"marked",detail:{scanType:O[e],result:a,charSet:o||"utf8",path:s||""}})},onerror(e){this.postMessage({event:"fail",message:JSON.stringify(e)})},setFlash(){this.enabledFlash=!this.enabledFlash,this.$refs.barcode.setFlash(this.enabledFlash)}}};function I(e,a,s,o,l,n){return(0,i.openBlock)(),(0,i.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true",style:{flexDirection:"column"}},[(0,i.createElementVNode)("view",{class:"content"},[(0,i.createElementVNode)("barcode",{class:"barcode",ref:"barcode",autostart:"false",backgroud:e.backgroud,frameColor:e.frameColor,scanbarColor:e.scanbarColor,filters:e.filters,autoDecodeCharset:e.autoDecodeCharSet,autoZoom:e.autoZoom,onMarked:a[0]||(a[0]=(...r)=>n.onmarked&&n.onmarked(...r)),onError:a[1]||(a[1]=(...r)=>n.onerror&&n.onerror(...r))},null,40,["backgroud","frameColor","scanbarColor","filters","autoDecodeCharset","autoZoom"]),(0,i.createElementVNode)("view",{class:"set-flash",onClick:a[2]||(a[2]=(...r)=>n.setFlash&&n.setFlash(...r))},[(0,i.createElementVNode)("u-image",{class:"image-flash",src:e.enabledFlash?e.flashImage1:e.flashImage0,resize:"stretch"},null,8,["src"]),(0,i.createElementVNode)("u-text",{class:"image-flash-text"},(0,i.toDisplayString)(e.enabledFlash?e.localize("flash.off"):e.localize("flash.on")),1)])])])}var h=C(M,[["render",I],["styles",[k]]]);var u=plus.webview.currentWebview();if(u){let e=parseInt(u.id),a="template/__uniappscan",s={};try{s=JSON.parse(u.__query__)}catch(l){}h.mpType="page";let o=Vue.createPageApp(h,{$store:getApp({allowDefault:!0}).$store,__pageId:e,__pagePath:a,__pageQuery:s});o.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...h.styles||[]])),o.mount("#root")}})(); diff --git a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappsuccess.png b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappsuccess.png deleted file mode 100644 index c1f5bd7c5293dcc37284f30b215ff2a3779c316f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2021 zcma)7eK^x=A72+`^OkKEQTWYFlb05qPGRvo!@P{AZ4rsi#PMX`})4zpZoj$T-W{mX8$YD z$3WLi7Y2hF_)^F;%~`R!;OjKI`&ReYFqqC=U$Q6T)awsL2VytvGkt#34vS^CaX2By zU!LB60M@{nNJ2(I##{v@t`wYo%DIgpUOXi*2L7&4%bCRWH#lL<#($tnIrs0AdJkC| zW3M&dh?kyh7?2&wpZPlBHh#Rpwc%J-;XvW=`YaMI+Ie_sE?l)VCd*i>N#Xw$uV^Oo zAIZSL0BP6B&d$zs!nco?%UqnD8~*&+E!bV_nQrUzjE<^0Fxl zus$tw^bH>`Y1Z%>I-MRu^W4_n)6+8`KR7k(N?w^V+NT|*J#YEs1A`J5%0Hp+XY&+Z zJT`;_FR2k+$6wqFwCSVIzmlbXAh46>yDdYizI$BUfXJMz$mg0KJb?ssmLV&gX=zwZ z1Rh+8^^kTl&?tIs|ItLu9S=&9dubX4x@&`>g$+0`(D`y}Y|Df>3;>A9Xi_4?I?n;I z@%LZ%X*35&;pYV)i|{NJvc7}^$`RC~e1s*WU8ZknSX_V`c}13fU|@E8qe=4JXLGq+ zgj=_m7$>pCDGjT1ecSW0(IhG~Sz6zNJZLeRzIqDAT^cPfy_3T1gXx|BM|$ zqf&NiJlcqoy|2KD8eElLQ9x`Cj%9=j_zh7K!g@9y7zanx5euggdV=m$`j70)7f=vI z+VWrHE;l!pAtvh~`i22knX?v{2XL)ein{sj0gueX)^v8}yVdYzP58DV4aTnByH8u} z%ldxQrwmcTC%~*8NE9$ zWQnLN6`?Wa~NMMBV>SjkxQFxKv{C_I8JD0O&%A^|`i7Dr~r$4}^*BTDXZw&+hfU}_CsL&K%Few1B>HpIXct=oZ@PZwQh`HZWy7P0DP%ybKH_~mfL zfk&IabdfC|)@$fREHr&*C$hW!W%Lp!^QmZ;5$mzV0)L>w=LQN0QLYRMx574XLayk|?T<)M*^Qtd2PtA* zKH8H_aJFABw+U7B#J!&wPRLOU6GVwbccZ?%|A2+o=5Bw_ir^p-MGc)P0uh4oiJaV_ z$R9F``Y@M{q?euRfP&CK$c9hXvW%B@_;{@d2e+SnFh3o)cWdoEaD{J^RF5hhCB9qN zfAWPva`hQ?BQm8g<91m`uH#QvKZUwBG!yw62#RzaSWHk6FECdo(%y7#+|<=P&iAlV z#s}yln@z`g9YVjb3fuamkDijT(W}rcPw5=9IH{R6*CwFz9sTOA_dwl2aR`DNJ1wzC zColY>pxR#^rYMp??V8`k66*t_7k8=D*mu;Z!DXYS{8daWFu zg|mhiIuUJYsAFV2t|NbG*;B%w~YK@z>yEk-Y{UUuN_dmQ$CmUVbu?EUR-;rKF!Dv|VJ?AM7Zbw>;thwlP!olCy7b zYxv0S%%O7sZ=vGj23tFLGZE=kw0_}RwW1sLG)XJGiD%Y7Us}jLunlM9BFy9c1P_(u z{LBvh;rT1@NE>^SEvg@9a=6PpE|usGL3gu7Rk0dE`eeN3YS9G_5wOPUdFX%^UX*)Tl}|?50x;OFpp9V| zo#Uqi2y*O=*zgg&Zg+@EhkppBn!bq8UF?Z$djA^ diff --git a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappview.html b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappview.html deleted file mode 100644 index 7751e72..0000000 --- a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/__uniappview.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - View - - - - - - -
- - - - - - diff --git a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/app-config-service.js b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/app-config-service.js deleted file mode 100644 index b0fb61a..0000000 --- a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/app-config-service.js +++ /dev/null @@ -1,11 +0,0 @@ - - ;(function(){ - let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[]; - const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"wms_worker_station","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"WMS工作台","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"5.07","entryPagePath":"pages/login/login","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{},"darkmode":false,"themeConfig":{}}; - const __uniRoutes = [{"path":"pages/login/login","meta":{"isQuit":true,"isEntry":true,"titleNView":false,"navigationBar":{"type":"default","style":"custom"},"isNVue":false}},{"path":"pages/index/index","meta":{"titleNView":false,"navigationBar":{"type":"default","style":"custom"},"isNVue":false}},{"path":"pages/order/index","meta":{"titleNView":false,"navigationBar":{"titleText":"订单复核1","type":"default","style":"custom"},"isNVue":false}},{"path":"pages/weighing/index","meta":{"titleNView":false,"navigationBar":{"titleText":"称重","type":"default","style":"custom"},"isNVue":false}},{"path":"pages/returns/index","meta":{"titleNView":false,"navigationBar":{"titleText":"退件","type":"default","style":"custom"},"isNVue":false}},{"path":"pages/packaging/index","meta":{"titleNView":false,"navigationBar":{"titleText":"打包模式","type":"default","style":"custom"},"isNVue":false}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute)); - __uniConfig.styles=[];//styles - __uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); - __uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); - service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:16})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:u,window:u,document:u,frames:u,self:u,location:u,navigator:u,localStorage:u,history:u,Caches:u,screen:u,alert:u,confirm:u,prompt:u,fetch:u,XMLHttpRequest:u,WebSocket:u,webkit:u,print:u}}}}); - })(); - \ No newline at end of file diff --git a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/app-config.js b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/app-config.js deleted file mode 100644 index c5168cc..0000000 --- a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/app-config.js +++ /dev/null @@ -1 +0,0 @@ -(function(){})(); \ No newline at end of file diff --git a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/app-service.js b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/app-service.js deleted file mode 100644 index 23a1a9c..0000000 --- a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/app-service.js +++ /dev/null @@ -1 +0,0 @@ -if("undefined"==typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(e){const t=this.constructor;return this.then(i=>t.resolve(e()).then(()=>i),i=>t.resolve(e()).then(()=>{throw i}))}),"undefined"!=typeof uni&&uni&&uni.requireGlobal){const e=uni.requireGlobal();ArrayBuffer=e.ArrayBuffer,Int8Array=e.Int8Array,Uint8Array=e.Uint8Array,Uint8ClampedArray=e.Uint8ClampedArray,Int16Array=e.Int16Array,Uint16Array=e.Uint16Array,Int32Array=e.Int32Array,Uint32Array=e.Uint32Array,Float32Array=e.Float32Array,Float64Array=e.Float64Array,BigInt64Array=e.BigInt64Array,BigUint64Array=e.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(Vue,weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),function(e){"use strict";function t(e,t,...i){uni.__log__?uni.__log__(e,t,...i):console[e].apply(console,[...i,t])}const i={accept:"application/json, text/plain, */*","content-type":"application/json",platform:"workerstation",project:"warehouse"};function s(e,t,s){const n=function(e){const t={method:e,v:"1.0",timestamp:String(Date.now())},i=[];for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)){const e=t[s];i.push(`${encodeURIComponent(s)}=${encodeURIComponent(e)}`)}return`http://192.168.11.56:6060/system?${i.join("&")}`}(e),a=(null==s?void 0:s.skipAuth)?{}:function(){const e=uni.getStorageSync("token");return e?{token:String(e),Authorization:`Bearer ${e}`}:{}}();return new Promise((e,o)=>{const r={url:n,method:"POST",header:{...i,...a,...null==s?void 0:s.header},data:t??{},success:t=>{e(t.data)},fail:e=>{o(e)}};null!=(null==s?void 0:s.timeout)&&(r.timeout=s.timeout),uni.request(r)})}const n={device:"workerstation",project:"warehouse"};function a(){return s("user.info",{...n})}const o="/static/images/1.png",r=(e,t)=>{const i=e.__vccOpts||e;for(const[s,n]of t)i[s]=n;return i},l="https://ye4s.wms.gztbyc.com/grcode/build?text=",c="https://api.qrserver.com/v1/create-qr-code/?size=280x280&data=";const d=r({data:()=>({loginMode:"account",showPassword:!1,focusedField:"",scanLoading:!1,scanBadgeSubmitting:!1,scanBadgeLastSubmittedCode:"",scanBadgeLastSubmittedAt:0,scanClientCode:"",scanGlobalKeyBuffer:"",scanGlobalKeyTimer:null,scanGlobalKeyListener:null,scanGlobalKeyTargets:[],scanGlobalKeyStartedAt:0,scanGlobalKeyLastAt:0,scanPlusKeyListener:null,scanPlusKeyBuffer:"",scanPlusKeyTimer:null,scanPlusKeyStartedAt:0,scanPlusKeyLastAt:0,enableHiddenInputCapture:!1,scanInputFocus:!1,scanHiddenValue:"",scanHiddenTimer:null,scanHiddenRefocusTimer:null,scanFocusResumeTimer:null,scanKeyboardSuppressTimers:[],scanHiddenFocused:!1,pageActive:!0,scanCode:"",scanQrImage:"",scanMiniProgramUrl:"",scanStatus:"等待扫码...",scanPollTimer:null,scanPollInterval:1500,scanRequestTimeout:12e4,form:{username:"",password:""},workbenchLoading:!1,workbenchLoggedIn:!1,hasStoredWorkbench:!1,workbenchClientCode:"",workbenchBindCode:"",workbenchQrImage:"",workbenchStatus:"等待绑定...",workbenchPollTimer:null,workbenchPollInterval:1500,workbenchRequestTimeout:12e4,autoEnterPackTimer:null}),onUnload(){this.pageActive=!1,this.stopScanLongPolling(),this.stopWorkbenchLongPolling(),this.removePlusKeyboardListener(),this.removeGlobalKeyboardListener(),this.clearScanFocusResumeTimer(),this.clearKeyboardSuppressTimers(),this.clearHiddenRefocusTimer(),this.clearAutoEnterPackTimer(),this.scanBadgeSubmitting=!1},onReady(){this.pageActive=!0,this.hasStoredWorkbench=!!uni.getStorageSync("workbench_token"),this.setupScanCaptureMode(),this.attachPlusKeyboardListener(),this.attachGlobalKeyboardListener(),this.suppressSoftKeyboardBurst(),this.scheduleScanInputFocus(260)},onShow(){this.pageActive=!0,this.setupScanCaptureMode(),this.attachPlusKeyboardListener(),this.attachGlobalKeyboardListener(),this.suppressSoftKeyboardBurst(),this.scheduleScanInputFocus(320),this.resumeWorkbenchFlow(),this.autoEnterPackMode()},onHide(){this.pageActive=!1,this.stopWorkbenchLongPolling(),this.removePlusKeyboardListener(),this.removeGlobalKeyboardListener(),this.clearScanFocusResumeTimer(),this.clearKeyboardSuppressTimers(),this.clearHiddenScanTimer(),this.clearPlusKeyTimer(),this.clearHiddenRefocusTimer(),this.clearAutoEnterPackTimer(),this.scanHiddenFocused=!1,this.scanInputFocus=!1},methods:{isPageActive(){return!1!==this.pageActive},switchMode(e){this.isPageActive()&&(this.loginMode=e,"scan"!==e&&(this.stopScanLongPolling(),this.scanBadgeSubmitting=!1),"scan"!==e||this.scanCode||this.scanQrImage?"scan"===e&&this.scanClientCode&&this.startScanLongPolling():this.handleScanLogin(),"workbench"!==e&&this.stopWorkbenchLongPolling(),"workbench"===e&&this.resumeWorkbenchFlow(),this.suppressSoftKeyboardBurst(),this.scheduleScanInputFocus(280))},togglePassword(){this.showPassword=!this.showPassword},clearField(e){this.form[e]="",this.focusedField=e},clearGlobalKeyTimer(){this.scanGlobalKeyTimer&&(clearTimeout(this.scanGlobalKeyTimer),this.scanGlobalKeyTimer=null)},clearPlusKeyTimer(){this.scanPlusKeyTimer&&(clearTimeout(this.scanPlusKeyTimer),this.scanPlusKeyTimer=null)},clearHiddenScanTimer(){this.scanHiddenTimer&&(clearTimeout(this.scanHiddenTimer),this.scanHiddenTimer=null)},clearHiddenRefocusTimer(){this.scanHiddenRefocusTimer&&(clearTimeout(this.scanHiddenRefocusTimer),this.scanHiddenRefocusTimer=null)},clearScanFocusResumeTimer(){this.scanFocusResumeTimer&&(clearTimeout(this.scanFocusResumeTimer),this.scanFocusResumeTimer=null)},clearKeyboardSuppressTimers(){Array.isArray(this.scanKeyboardSuppressTimers)?(this.scanKeyboardSuppressTimers.forEach(e=>{clearTimeout(e)}),this.scanKeyboardSuppressTimers=[]):this.scanKeyboardSuppressTimers=[]},logScanDebug(...e){t("log","at pages/login/login.vue:319","[scan-login]",...e)},suppressSoftKeyboardBurst(){var e;this.isPageActive()&&(this.clearKeyboardSuppressTimers(),null==(e=uni.hideKeyboard)||e.call(uni),[80,180,320].forEach(e=>{const t=setTimeout(()=>{var e;this.isPageActive()&&(null==(e=uni.hideKeyboard)||e.call(uni))},e);this.scanKeyboardSuppressTimers.push(t)}))},scheduleScanInputFocus(e=0){this.isPageActive()&&(this.clearScanFocusResumeTimer(),this.scanFocusResumeTimer=setTimeout(()=>{this.isPageActive()&&this.ensureScanInputFocus()},e))},hasPlusKeyboardSupport(){var e;return"undefined"!=typeof plus&&!!(null==(e=null==plus?void 0:plus.key)?void 0:e.addEventListener)},hasDomKeyboardSupport:()=>"undefined"!=typeof window||"undefined"!=typeof document,setupScanCaptureMode(){this.enableHiddenInputCapture=!this.hasDomKeyboardSupport(),this.logScanDebug("scan-capture-mode",{plus:this.hasPlusKeyboardSupport(),dom:this.hasDomKeyboardSupport(),hiddenInput:this.enableHiddenInputCapture})},parsePlusKeyCodeToChar:e=>e>=48&&e<=57||e>=65&&e<=90?String.fromCharCode(e):e>=96&&e<=105?String(e-96):189===e||109===e?"-":190===e||110===e?".":191===e||111===e?"/":"",flushPlusKeyBuffer(e="timer"){if(!this.isPageActive())return;const t=(this.scanPlusKeyBuffer||"").trim(),i=this.scanPlusKeyStartedAt?Math.max(0,(this.scanPlusKeyLastAt||Date.now())-this.scanPlusKeyStartedAt):0;this.scanPlusKeyBuffer="",this.scanPlusKeyStartedAt=0,this.scanPlusKeyLastAt=0,this.clearPlusKeyTimer(),t&&(this.logScanDebug("plus-buffer",{trigger:e,code:t,length:t.length,durationMs:i}),this.handleScanBadgeLogin(t))},attachPlusKeyboardListener(){this.hasPlusKeyboardSupport()&&(this.scanPlusKeyListener||(this.scanPlusKeyListener=e=>{if(!this.isPageActive())return;if("account"!==this.loginMode&&"scan"!==this.loginMode)return;const t=Number((null==e?void 0:e.keyCode)||0),i=13===t||66===t,s=this.parsePlusKeyCodeToChar(t);if(s){const e=Date.now();return this.scanPlusKeyBuffer||(this.scanPlusKeyStartedAt=e),this.scanPlusKeyLastAt=e,this.scanPlusKeyBuffer+=s,this.clearPlusKeyTimer(),void(this.scanPlusKeyTimer=setTimeout(()=>{this.flushPlusKeyBuffer("timer")},420))}i&&this.flushPlusKeyBuffer("enter")},plus.key.addEventListener("keydown",this.scanPlusKeyListener),this.logScanDebug("attach-plus-listener-done")))},removePlusKeyboardListener(){this.clearPlusKeyTimer(),this.scanPlusKeyBuffer="",this.scanPlusKeyStartedAt=0,this.scanPlusKeyLastAt=0,this.scanPlusKeyListener&&(this.hasPlusKeyboardSupport()&&plus.key.removeEventListener("keydown",this.scanPlusKeyListener),this.scanPlusKeyListener=null,this.logScanDebug("remove-plus-listener-done"))},ensureScanInputFocus(){if(this.isPageActive())return this.enableHiddenInputCapture?void("username"!==this.focusedField&&"password"!==this.focusedField&&(this.clearHiddenRefocusTimer(),this.scanInputFocus||(this.scanInputFocus=!0))):(this.scanInputFocus=!1,void this.suppressSoftKeyboardBurst())},processHiddenScanValue(e="timer"){if(!this.isPageActive())return;const t=(this.scanHiddenValue||"").trim();this.clearHiddenScanTimer(),t&&(this.logScanDebug("hidden-input-captured",{trigger:e,code:t,length:t.length}),this.scanHiddenValue="",this.dismissSoftKeyboard(),this.handleScanBadgeLogin(t),this.ensureScanInputFocus())},handleHiddenScanFocus(){this.isPageActive()&&(this.enableHiddenInputCapture?(this.logScanDebug("hidden-input-focus"),this.scanHiddenFocused=!0,this.scanInputFocus=!0,this.clearHiddenRefocusTimer(),this.suppressSoftKeyboardBurst()):this.scanInputFocus=!1)},handleHiddenScanBlur(){this.isPageActive()&&this.enableHiddenInputCapture&&(this.logScanDebug("hidden-input-blur"),this.scanHiddenFocused=!1,this.scanInputFocus=!1,this.clearHiddenRefocusTimer(),"username"!==this.focusedField&&"password"!==this.focusedField&&(this.scanHiddenRefocusTimer=setTimeout(()=>{this.isPageActive()&&(this.scanHiddenFocused||"username"===this.focusedField||"password"===this.focusedField||this.scheduleScanInputFocus(220))},500)))},handleHiddenScanInput(e){var t;this.isPageActive()&&this.enableHiddenInputCapture&&(this.scanHiddenValue=(null==(t=null==e?void 0:e.detail)?void 0:t.value)||"",this.logScanDebug("hidden-input-typing",{length:this.scanHiddenValue.length}),this.clearHiddenScanTimer(),this.scanHiddenTimer=setTimeout(()=>{this.isPageActive()&&this.processHiddenScanValue("timer")},320))},handleHiddenScanConfirm(e){var t;if(!this.isPageActive())return;if(!this.enableHiddenInputCapture)return;const i=(null==(t=null==e?void 0:e.detail)?void 0:t.value)||this.scanHiddenValue||"";this.scanHiddenValue=i,this.processHiddenScanValue("confirm")},dismissSoftKeyboard(){var e,t,i;this.isPageActive()&&(this.focusedField="","undefined"!=typeof document&&(null==(t=null==(e=document.activeElement)?void 0:e.blur)||t.call(e)),null==(i=uni.hideKeyboard)||i.call(uni))},isLikelyScannerCode(e="",t=0,i=!1){const s=(e||"").replace(/\s+/g,"");if(!s||s.length<4)return!1;if(i)return!0;if(!t||t<=0)return s.length>=8;const n=t/Math.max(s.length-1,1);return s.length>=8||t<=1800&&n<=120},flushGlobalScanBuffer(){if(!this.isPageActive())return;const e=(this.scanGlobalKeyBuffer||"").trim(),t=this.scanGlobalKeyStartedAt?Math.max(0,(this.scanGlobalKeyLastAt||Date.now())-this.scanGlobalKeyStartedAt):0;this.scanGlobalKeyBuffer="",this.scanGlobalKeyStartedAt=0,this.scanGlobalKeyLastAt=0,this.clearGlobalKeyTimer(),e&&(this.logScanDebug("flush-buffer",{code:e,length:e.length,durationMs:t}),this.isLikelyScannerCode(e,t)?(this.dismissSoftKeyboard(),this.handleScanBadgeLogin(e)):this.logScanDebug("flush-buffer-skipped",{reason:"not-likely-scanner-code",code:e,length:e.length,durationMs:t}))},attachGlobalKeyboardListener(){if(this.scanGlobalKeyListener)return void this.logScanDebug("attach-listener-skip",{reason:"already-attached"});const e="undefined"!=typeof window,t="undefined"!=typeof document;this.logScanDebug("attach-listener-start",{hasWindow:e,hasDocument:t});const i=[];t?i.push(document):e&&i.push(window),i.length?(this.scanGlobalKeyTargets=i,this.scanGlobalKeyListener=e=>{var t,i;if("account"!==this.loginMode&&"scan"!==this.loginMode)return;const s=(null==e?void 0:e.key)||"",n=1===s.length,a="Enter"===s;if((n||a)&&this.logScanDebug("key-captured",{key:s,loginMode:this.loginMode,focusedField:this.focusedField}),n){const e=Date.now();return this.scanGlobalKeyBuffer||(this.scanGlobalKeyStartedAt=e),this.scanGlobalKeyLastAt=e,this.scanGlobalKeyBuffer+=s,this.clearGlobalKeyTimer(),void(this.scanGlobalKeyTimer=setTimeout(()=>{this.isPageActive()&&this.flushGlobalScanBuffer()},380))}if(a){const s=(this.scanGlobalKeyBuffer||"").trim(),n=this.scanGlobalKeyStartedAt?Math.max(0,(this.scanGlobalKeyLastAt||Date.now())-this.scanGlobalKeyStartedAt):0;if(this.scanGlobalKeyBuffer="",this.scanGlobalKeyStartedAt=0,this.scanGlobalKeyLastAt=0,this.clearGlobalKeyTimer(),!s)return;this.logScanDebug("enter-detected",{code:s,length:s.length,durationMs:n}),this.isLikelyScannerCode(s,n,!0)?(null==(t=e.preventDefault)||t.call(e),null==(i=e.stopPropagation)||i.call(e),this.dismissSoftKeyboard(),this.handleScanBadgeLogin(s)):this.logScanDebug("enter-skipped",{reason:"not-likely-scanner-code",code:s,length:s.length,durationMs:n})}},this.scanGlobalKeyTargets.forEach(e=>{e.addEventListener("keydown",this.scanGlobalKeyListener,!0)}),this.logScanDebug("attach-listener-done",{targetCount:this.scanGlobalKeyTargets.length})):this.logScanDebug("attach-listener-failed",{reason:"no-window-or-document"})},removeGlobalKeyboardListener(){if(this.clearGlobalKeyTimer(),this.clearHiddenScanTimer(),this.scanGlobalKeyBuffer="",this.scanGlobalKeyStartedAt=0,this.scanGlobalKeyLastAt=0,this.logScanDebug("remove-listener-start",{targetCount:this.scanGlobalKeyTargets.length,hasListener:!!this.scanGlobalKeyListener}),"undefined"==typeof window||"undefined"==typeof document)return this.scanGlobalKeyListener=null,this.scanGlobalKeyTargets=[],void this.logScanDebug("remove-listener-failed",{reason:"no-window-or-document"});this.scanGlobalKeyListener&&(this.scanGlobalKeyTargets.forEach(e=>{e.removeEventListener("keydown",this.scanGlobalKeyListener,!0)}),this.scanGlobalKeyListener=null),this.scanGlobalKeyTargets=[],this.logScanDebug("remove-listener-done")},handleScanCodeInput(){},handleFocus(e){this.isPageActive()&&(this.focusedField=e,this.clearScanFocusResumeTimer(),this.clearHiddenRefocusTimer(),this.scanInputFocus=!1,this.scanHiddenFocused=!1,this.clearHiddenScanTimer())},handleBlur(){this.isPageActive()&&(this.focusedField="",this.scheduleScanInputFocus(220))},buildMiniProgramUrlByCode:e=>e?"https://ye4s.wms.gztbyc.com/mini/?spm=0.4.${code}.1.4".replace("${code}",e):"",buildQrImageUrlByPageUrl:e=>e?`${l}${encodeURIComponent(e)}`:"",buildFallbackQrImageUrlByPageUrl:e=>e?`${c}${encodeURIComponent(e)}`:"",handleScanImageError(){if(!this.isPageActive())return;const e=this.buildFallbackQrImageUrlByPageUrl(this.scanMiniProgramUrl);e&&this.scanQrImage!==e?this.scanQrImage=e:this.scanStatus="二维码加载失败,请重试"},startScanLongPolling(){this.isPageActive()&&this.scanClientCode&&(this.stopScanLongPolling(),this.scanPollTimer=setTimeout(()=>{this.isPageActive()&&this.handleScanLogin(!0)},this.scanPollInterval))},stopScanLongPolling(){this.scanPollTimer&&(clearTimeout(this.scanPollTimer),this.scanPollTimer=null)},startWorkbenchLongPolling(){this.isPageActive()&&this.workbenchClientCode&&(this.workbenchLoading||(this.stopWorkbenchLongPolling(),this.workbenchPollTimer=setTimeout(()=>{this.isPageActive()&&this.handleWorkbenchBind(!0)},this.workbenchPollInterval)))},stopWorkbenchLongPolling(){this.workbenchPollTimer&&(clearTimeout(this.workbenchPollTimer),this.workbenchPollTimer=null)},resumeWorkbenchFlow(){this.isPageActive()&&"workbench"===this.loginMode&&(this.hasStoredWorkbench||this.workbenchLoggedIn||this.workbenchLoading||(this.workbenchBindCode&&this.workbenchClientCode?this.startWorkbenchLongPolling():this.handleWorkbenchBind(!1)))},buildWorkbenchQrImageUrl:e=>e?`${l}${encodeURIComponent(e)}`:"",buildFallbackWorkbenchQrImageUrl:e=>e?`${c}${encodeURIComponent(e)}`:"",handleWorkbenchQrError(){if(!this.isPageActive())return;const e=this.buildFallbackWorkbenchQrImageUrl(this.workbenchBindCode);e&&this.workbenchQrImage!==e?this.workbenchQrImage=e:(this.workbenchQrImage="",this.workbenchStatus="二维码加载失败,请使用下方绑定码")},handleWorkbenchRefresh(){this.isPageActive()&&(this.workbenchLoading||(this.workbenchClientCode="",this.workbenchBindCode="",this.workbenchQrImage="",this.workbenchStatus="正在刷新绑定码...",this.stopWorkbenchLongPolling(),this.handleWorkbenchBind(!1)))},handleWorkbenchBind(e=!1){if(!this.isPageActive())return;if(this.workbenchLoading)return;e||(this.stopWorkbenchLongPolling(),this.workbenchStatus=this.workbenchBindCode?"正在刷新绑定码...":"正在获取绑定码..."),this.workbenchLoading=!0;(function(e={},t){return s("index.getWorkbenchBindCode",e,{skipAuth:!0,...t})})(this.workbenchClientCode?{clientCode:this.workbenchClientCode}:{},{timeout:this.workbenchRequestTimeout}).then(e=>{if(!this.isPageActive())return;const t=(null==e?void 0:e.data)||(null==e?void 0:e.result)||e,i=(null==t?void 0:t.client_code)||(null==t?void 0:t.clientCode)||(null==e?void 0:e.client_code)||(null==e?void 0:e.clientCode)||"",s=(null==t?void 0:t.code)||(null==e?void 0:e.code)||"",n=(null==t?void 0:t.status)||(null==e?void 0:e.status)||"",a=(null==t?void 0:t.token)||(null==e?void 0:e.token)||"",o=(null==t?void 0:t.workbench_id)??(null==t?void 0:t.workbenchId)??(null==e?void 0:e.workbench_id)??(null==e?void 0:e.workbenchId)??null;i&&(this.workbenchClientCode=i),s&&(this.workbenchBindCode=s,this.workbenchQrImage=this.buildWorkbenchQrImageUrl(s)),"bound"===n&&a?this.finishWorkbenchLogin(a,o):this.workbenchStatus=s?"等待绑定...":(null==e?void 0:e.message)||(null==e?void 0:e.msg)||"绑定码获取失败"}).catch(e=>{if(!this.isPageActive())return;const t=(null==e?void 0:e.errMsg)||"";t.includes("timeout")||t.includes("abort")||t.includes("cancel")?this.workbenchStatus=this.workbenchBindCode?"等待绑定...":"请求超时,正在重试...":this.workbenchStatus="网络异常,请稍后重试"}).finally(()=>{this.workbenchLoading=!1,this.isPageActive()&&"workbench"===this.loginMode&&this.workbenchClientCode&&!this.workbenchLoggedIn&&this.startWorkbenchLongPolling()})},finishWorkbenchLogin(e,t){this.isPageActive()&&(this.workbenchLoggedIn=!0,this.stopWorkbenchLongPolling(),this.workbenchStatus="绑定成功,正在登录...",this.scanInputFocus=!1,this.clearScanFocusResumeTimer(),this.clearHiddenRefocusTimer(),this.clearHiddenScanTimer(),this.suppressSoftKeyboardBurst(),uni.setStorageSync("token",e),uni.setStorageSync("workbench_token",e),null!=t&&""!==t&&uni.setStorageSync("workbench_id",t),uni.showToast({title:"登录成功",icon:"success"}),setTimeout(()=>{this.isPageActive()&&uni.reLaunch({url:"/pages/packaging/index"})},300))},clearAutoEnterPackTimer(){this.autoEnterPackTimer&&(clearTimeout(this.autoEnterPackTimer),this.autoEnterPackTimer=null)},autoEnterPackMode(){if(!this.isPageActive())return;if(this.workbenchLoggedIn)return;uni.getStorageSync("workbench_token")&&(this.hasStoredWorkbench=!0,this.clearAutoEnterPackTimer(),this.autoEnterPackTimer=setTimeout(()=>{if(this.autoEnterPackTimer=null,!this.isPageActive())return;const e=uni.getStorageSync("workbench_token");e?this.doEnterPackMode(e):this.hasStoredWorkbench=!1},500))},doEnterPackMode(e){if(this.isPageActive()){if(!e)return this.hasStoredWorkbench=!1,void this.chooseRebindWorkbench();this.workbenchLoggedIn=!0,this.stopWorkbenchLongPolling(),this.workbenchStatus="正在进入打包模式...",this.scanInputFocus=!1,this.clearScanFocusResumeTimer(),this.clearHiddenRefocusTimer(),this.clearHiddenScanTimer(),this.suppressSoftKeyboardBurst(),uni.setStorageSync("token",e),uni.showToast({title:"正在进入打包模式",icon:"none"}),setTimeout(()=>{this.isPageActive()&&uni.reLaunch({url:"/pages/packaging/index"})},250)}},enterStoredWorkbench(){if(!this.isPageActive())return;const e=uni.getStorageSync("workbench_token");this.doEnterPackMode(e)},chooseRebindWorkbench(){this.isPageActive()&&(uni.removeStorageSync("workbench_token"),this.hasStoredWorkbench=!1,this.stopWorkbenchLongPolling(),this.workbenchBindCode="",this.workbenchQrImage="",this.workbenchClientCode="",this.workbenchStatus="正在获取绑定码...",this.handleWorkbenchBind(!1))},handleScanLogin(e=!1){if(!this.isPageActive())return;if(this.scanLoading)return;e||this.stopScanLongPolling(),this.scanLoading=!0,e||(this.scanStatus="正在获取二维码...");(function(e={},t){return s("user.getLoginWechatCode",e,{skipAuth:!0,...t})})(this.scanClientCode?{clientCode:this.scanClientCode}:{},{timeout:this.scanRequestTimeout}).then(e=>{var t;if(!this.isPageActive())return;const i=(null==e?void 0:e.data)||(null==e?void 0:e.result)||e,s=(null==i?void 0:i.clientCode)||(null==i?void 0:i.client_code)||(null==(t=null==i?void 0:i.client)?void 0:t.code)||(null==e?void 0:e.clientCode)||(null==e?void 0:e.client_code)||"",n=(null==i?void 0:i.qrCodeUrl)||(null==i?void 0:i.qrcodeUrl)||(null==i?void 0:i.codeUrl)||(null==i?void 0:i.wechatCodeUrl)||(null==i?void 0:i.image)||"",a=(null==i?void 0:i.loginWechatCode)||(null==i?void 0:i.wechatCode)||(null==i?void 0:i.qrCode)||(null==i?void 0:i.code)||"",o=this.buildMiniProgramUrlByCode(a),r=this.buildQrImageUrlByPageUrl(o);s&&(this.scanClientCode=s),this.scanMiniProgramUrl=o||"",this.scanQrImage=r||n||"",this.scanCode=a||"",this.scanQrImage||this.scanCode?this.scanStatus="等待扫码...":this.scanStatus=(null==e?void 0:e.message)||(null==e?void 0:e.msg)||"二维码获取失败"}).catch(e=>{if(!this.isPageActive())return;const t=(null==e?void 0:e.errMsg)||"";t.includes("timeout")||t.includes("abort")||t.includes("cancel")?this.scanStatus="请求超时,正在继续轮询...":this.scanStatus="网络异常,请稍后重试"}).finally(()=>{this.isPageActive()&&(this.scanLoading=!1,"scan"===this.loginMode&&this.scanClientCode&&this.startScanLongPolling())})},handleScanBadgeLogin(e=""){if(!this.isPageActive())return;const t=(e||"").trim();if(!t)return void this.logScanDebug("scan-login-abort",{reason:"empty-code"});const i=Date.now();this.scanBadgeSubmitting||this.scanBadgeLastSubmittedCode===t&&i-this.scanBadgeLastSubmittedAt<1200?this.logScanDebug("scan-login-skipped",{reason:this.scanBadgeSubmitting?"submitting":"duplicate-in-1200ms",code:t}):(this.scanBadgeSubmitting=!0,this.scanBadgeLastSubmittedCode=t,this.scanBadgeLastSubmittedAt=i,this.logScanDebug("scan-login-request-send",{api:"loginByCode",code:t}),function(e){return s("user.loginByCode",{code:e},{skipAuth:!0})}(t).then(e=>{var i,s;if(!this.isPageActive())return;this.logScanDebug("scan-login-response",{ok:!0,code:t,body:e});const n=(null==e?void 0:e.token)||(null==(i=null==e?void 0:e.data)?void 0:i.token)||(null==(s=null==e?void 0:e.result)?void 0:s.token);if(n)return this.scanInputFocus=!1,this.clearScanFocusResumeTimer(),this.clearHiddenRefocusTimer(),this.clearHiddenScanTimer(),this.suppressSoftKeyboardBurst(),uni.setStorageSync("token",n),uni.showToast({title:"登录成功",icon:"success"}),void setTimeout(()=>{this.isPageActive()&&uni.reLaunch({url:"/pages/index/index"})},300);this.dismissSoftKeyboard(),uni.showToast({title:(null==e?void 0:e.msg)||(null==e?void 0:e.message)||"工牌登录失败",icon:"none"})}).catch(e=>{this.isPageActive()&&(this.logScanDebug("scan-login-response",{ok:!1,code:t,err:e}),this.dismissSoftKeyboard(),uni.showToast({title:"网络异常,请稍后重试",icon:"none"}))}).finally(()=>{this.isPageActive()&&(this.scanBadgeSubmitting=!1)}))},handleAccountLogin(){var e,t;this.isPageActive()&&(this.form.username&&this.form.password?(e=this.form.username,t=this.form.password,s("user.login",{username:e,password:t},{skipAuth:!0})).then(e=>{var t,i;if(!this.isPageActive())return;const s=(null==e?void 0:e.token)||(null==(t=null==e?void 0:e.data)?void 0:t.token)||(null==(i=null==e?void 0:e.result)?void 0:i.token);if(s)return this.scanInputFocus=!1,this.clearScanFocusResumeTimer(),this.clearHiddenRefocusTimer(),this.clearHiddenScanTimer(),this.suppressSoftKeyboardBurst(),uni.setStorageSync("token",s),uni.showToast({title:"登录成功",icon:"success"}),void setTimeout(()=>{this.isPageActive()&&uni.reLaunch({url:"/pages/index/index"})},300);uni.showToast({title:(null==e?void 0:e.msg)||(null==e?void 0:e.message)||"登录失败",icon:"none"})}).catch(()=>{this.isPageActive()&&uni.showToast({title:"网络异常,请稍后重试",icon:"none"})}):uni.showToast({title:"请输入账号和密码",icon:"none"}))}}},[["render",function(t,i,s,n,a,r){return e.openBlock(),e.createElementBlock("view",{class:"page"},[e.createElementVNode("view",{class:"login-card"},[e.createElementVNode("view",{class:"visual-side"},[e.createElementVNode("image",{class:"visual-logo",src:o,mode:"widthFix"}),e.createElementVNode("text",{class:"visual-desc"},"仓库管理系统工作台")]),e.createElementVNode("view",{class:"form-side"},[e.createElementVNode("view",{class:"header"},[e.createElementVNode("text",{class:"title"},"登录"),e.createElementVNode("text",{class:"scan-hint"},"支持扫描工牌登录"),e.createElementVNode("text",{class:"subtitle"},"欢迎回来,请登录您的账户")]),e.createElementVNode("view",{class:"switch-tabs"},[e.createElementVNode("view",{class:e.normalizeClass(["tab-item","account"===a.loginMode?"tab-item--active":""]),onClick:i[0]||(i[0]=e=>r.switchMode("account"))}," 账号登录 ",2),e.createElementVNode("view",{class:e.normalizeClass(["tab-item","scan"===a.loginMode?"tab-item--active":""]),onClick:i[1]||(i[1]=e=>r.switchMode("scan"))}," 扫码登录 ",2),e.createElementVNode("view",{class:e.normalizeClass(["tab-item","workbench"===a.loginMode?"tab-item--active":""]),onClick:i[2]||(i[2]=e=>r.switchMode("workbench"))}," 工作台 ",2)]),e.createElementVNode("view",{class:"panel-stage"},[e.withDirectives(e.createElementVNode("view",{class:"panel panel--scan panel--mode"},[e.createElementVNode("text",{class:"scan-tip-top"},"打开微信,扫描二维码登录"),e.createElementVNode("view",{class:"scan-box"},[a.scanQrImage?(e.openBlock(),e.createElementBlock("image",{key:0,class:"scan-image",src:a.scanQrImage,mode:"aspectFit",onError:i[3]||(i[3]=(...e)=>r.handleScanImageError&&r.handleScanImageError(...e))},null,40,["src"])):(e.openBlock(),e.createElementBlock("text",{key:1,class:"scan-placeholder"},e.toDisplayString(a.scanCode||"二维码区域"),1))]),e.createElementVNode("text",{class:"scan-tip-bottom"},e.toDisplayString(a.scanStatus),1)],512),[[e.vShow,"scan"===a.loginMode]]),e.withDirectives(e.createElementVNode("view",{class:"panel panel--account panel--mode"},[e.createElementVNode("view",{class:e.normalizeClass(["input-wrap","username"===a.focusedField?"input-wrap--focused":""])},[e.withDirectives(e.createElementVNode("input",{class:"input input--with-clear","onUpdate:modelValue":i[4]||(i[4]=e=>a.form.username=e),placeholder:"请输入账号",onFocus:i[5]||(i[5]=e=>r.handleFocus("username")),onBlur:i[6]||(i[6]=(...e)=>r.handleBlur&&r.handleBlur(...e))},null,544),[[e.vModelText,a.form.username]]),a.form.username?(e.openBlock(),e.createElementBlock("view",{key:0,class:"clear-trigger",onClick:i[7]||(i[7]=e=>r.clearField("username"))},[e.createElementVNode("text",{class:"clear-trigger__icon"},"×")])):e.createCommentVNode("",!0)],2),e.createElementVNode("view",{class:e.normalizeClass(["password-wrap","password"===a.focusedField?"input-wrap--focused":""])},[e.withDirectives(e.createElementVNode("input",{class:"input password-input","onUpdate:modelValue":i[8]||(i[8]=e=>a.form.password=e),placeholder:"请输入密码",password:!a.showPassword,onFocus:i[9]||(i[9]=e=>r.handleFocus("password")),onBlur:i[10]||(i[10]=(...e)=>r.handleBlur&&r.handleBlur(...e))},null,40,["password"]),[[e.vModelText,a.form.password]]),a.form.password?(e.openBlock(),e.createElementBlock("view",{key:0,class:"clear-trigger clear-trigger--password",onClick:i[11]||(i[11]=e=>r.clearField("password"))},[e.createElementVNode("text",{class:"clear-trigger__icon"},"×")])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"toggle-password",onClick:i[12]||(i[12]=(...e)=>r.togglePassword&&r.togglePassword(...e))},[e.createElementVNode("view",{class:e.normalizeClass(["eye-icon",a.showPassword?"eye-icon--open":"eye-icon--closed"])},[e.createElementVNode("view",{class:"eye-pupil"}),e.createElementVNode("view",{class:"eye-lid"})],2)])],2),e.createElementVNode("button",{class:"primary-btn",type:"primary",onClick:i[13]||(i[13]=(...e)=>r.handleAccountLogin&&r.handleAccountLogin(...e))},"登录")],512),[[e.vShow,"account"===a.loginMode]]),e.withDirectives(e.createElementVNode("view",{class:"panel panel--workbench panel--mode"},[a.hasStoredWorkbench?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("text",{class:"wb-tip-top"},"本机已保存工作台绑定,可直接进入打包模式"),e.createElementVNode("view",{class:"wb-quick-box"},[e.createElementVNode("text",{class:"wb-quick-title"},"工作台会话"),e.createElementVNode("text",{class:"wb-quick-desc"},"退出后仍可一键恢复进入,无需重新绑定")]),e.createElementVNode("button",{class:"primary-btn wb-enter-btn",type:"primary",onClick:i[14]||(i[14]=(...e)=>r.enterStoredWorkbench&&r.enterStoredWorkbench(...e))}," 进入打包模式 "),e.createElementVNode("view",{class:"wb-rebind-link",onClick:i[15]||(i[15]=(...e)=>r.chooseRebindWorkbench&&r.chooseRebindWorkbench(...e))},[e.createElementVNode("text",null,"重新绑定其他工作台")])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("text",{class:"wb-tip-top"},"工作台尚未绑定,请在PDA使用绑定工作台界面扫码绑定"),e.createElementVNode("view",{class:"wb-code-box"},[a.workbenchQrImage?(e.openBlock(),e.createElementBlock("image",{key:0,class:"wb-qr-image",src:a.workbenchQrImage,mode:"aspectFit",onError:i[16]||(i[16]=(...e)=>r.handleWorkbenchQrError&&r.handleWorkbenchQrError(...e))},null,40,["src"])):a.workbenchBindCode?(e.openBlock(),e.createElementBlock("text",{key:1,class:"wb-code"},e.toDisplayString(a.workbenchBindCode),1)):(e.openBlock(),e.createElementBlock("text",{key:2,class:"wb-code-placeholder"},"绑定码生成中..."))]),a.workbenchBindCode?(e.openBlock(),e.createElementBlock("text",{key:0,class:"wb-code-text"},"绑定码:"+e.toDisplayString(a.workbenchBindCode),1)):e.createCommentVNode("",!0),e.createElementVNode("text",{class:"wb-tip-bottom"},e.toDisplayString(a.workbenchStatus),1),e.createElementVNode("button",{class:"wb-refresh-btn",disabled:a.workbenchLoading,onClick:i[17]||(i[17]=(...e)=>r.handleWorkbenchRefresh&&r.handleWorkbenchRefresh(...e))}," 刷新绑定码 ",8,["disabled"])],64))],512),[[e.vShow,"workbench"===a.loginMode]])])])]),a.enableHiddenInputCapture?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,class:"scan-hidden-input","onUpdate:modelValue":i[18]||(i[18]=e=>a.scanHiddenValue=e),focus:a.scanInputFocus,"adjust-position":!1,"confirm-type":"done",onFocus:i[19]||(i[19]=(...e)=>r.handleHiddenScanFocus&&r.handleHiddenScanFocus(...e)),onInput:i[20]||(i[20]=(...e)=>r.handleHiddenScanInput&&r.handleHiddenScanInput(...e)),onConfirm:i[21]||(i[21]=(...e)=>r.handleHiddenScanConfirm&&r.handleHiddenScanConfirm(...e)),onBlur:i[22]||(i[22]=(...e)=>r.handleHiddenScanBlur&&r.handleHiddenScanBlur(...e))},null,40,["focus"])),[[e.vModelText,a.scanHiddenValue]]):e.createCommentVNode("",!0)])}]]);const u=r({name:"TopNav",props:{menus:{type:Array,default:()=>[]},activePath:{type:String,default:""},useRedirect:{type:Boolean,default:!0},userName:{type:String,default:"未登录用户"}},data:()=>({activeIndex:0,showMinePopup:!1,isNavigating:!1,lastMenuClickAt:0,routeSyncTimer:null,lastRoutePath:"",switchMaskVisible:!1,switchMaskActive:!1,switchMaskTimer:null,switchMaskFadeTimer:null,switchMaskStartedAt:0,currentUser:null,defaultMenus:[{title:"订单复核1",path:"/pages/order/index"},{title:"称重",path:"/pages/weighing/index"},{title:"退件",path:"/pages/returns/index"}]}),computed:{displayMenus(){return(Array.isArray(this.menus)&&this.menus.length?this.menus:this.defaultMenus).map((e,t)=>{const i=this.normalizePath(null==e?void 0:e.path);return{raw:e,key:(null==e?void 0:e.path)||(null==e?void 0:e.name)||String(t),path:i,title:this.getMenuTitle(e)}}).filter(e=>!!e.path)}},watch:{activePath(){this.syncActiveIndex()},menus:{deep:!0,handler(){this.syncActiveIndex()}}},created(){this.syncActiveIndex(),this.loadCurrentUserInfo()},mounted(){this.lastRoutePath=this.getCurrentRoutePath(),this.useRedirect&&!this.activePath&&(this.routeSyncTimer=setInterval(()=>{const e=this.getCurrentRoutePath();e&&e!==this.lastRoutePath&&(this.lastRoutePath=e,this.syncActiveByRoute())},120))},beforeDestroy(){this.routeSyncTimer&&(clearInterval(this.routeSyncTimer),this.routeSyncTimer=null),this.switchMaskTimer&&(clearTimeout(this.switchMaskTimer),this.switchMaskTimer=null),this.switchMaskFadeTimer&&(clearTimeout(this.switchMaskFadeTimer),this.switchMaskFadeTimer=null)},methods:{normalizePath(e){const t=String(e||"").trim();return t?t.startsWith("/")?t:`/${t}`:""},getMenuTitle(e){var t;return(null==(t=null==e?void 0:e.meta)?void 0:t.title)||(null==e?void 0:e.title)||(null==e?void 0:e.name)||"未命名菜单"},syncActiveIndex(){const e=this.normalizePath(this.activePath);if(e){const t=this.displayMenus.findIndex(t=>t.path===e);return void(this.activeIndex=t>=0?t:0)}this.syncActiveByRoute()},syncActiveByRoute(){const e=getCurrentPages(),t=e[e.length-1],i=(null==t?void 0:t.route)?`/${t.route}`:"",s=this.displayMenus.findIndex(e=>e.path===i);this.activeIndex=s>=0?s:0},getCurrentRoutePath(){const e=getCurrentPages(),t=e[e.length-1];return(null==t?void 0:t.route)?`/${t.route}`:""},showNavigationMask(){this.switchMaskStartedAt=Date.now(),this.switchMaskTimer&&(clearTimeout(this.switchMaskTimer),this.switchMaskTimer=null),this.switchMaskFadeTimer&&(clearTimeout(this.switchMaskFadeTimer),this.switchMaskFadeTimer=null),this.switchMaskActive=!1,this.switchMaskVisible=!0,this.$nextTick(()=>{this.switchMaskActive=!0})},hideNavigationMask(){const e=Date.now()-this.switchMaskStartedAt,t=e>=180?0:180-e;this.switchMaskTimer&&clearTimeout(this.switchMaskTimer),this.switchMaskTimer=setTimeout(()=>{this.switchMaskTimer=null,this.switchMaskActive=!1,this.switchMaskFadeTimer&&clearTimeout(this.switchMaskFadeTimer),this.switchMaskFadeTimer=setTimeout(()=>{this.switchMaskFadeTimer=null,this.switchMaskVisible=!1},200)},t)},navigateToMenu(e){const t=getCurrentPages(),i=t.length-1,s=e.replace(/^\//,""),n=t.map(e=>null==e?void 0:e.route).lastIndexOf(s),a=()=>{this.hideNavigationMask(),setTimeout(()=>{this.isNavigating=!1},60)};n>=0&&i>n?uni.navigateBack({delta:i-n,animationType:"none",animationDuration:0,complete:a}):uni.navigateTo({url:e,animationType:"none",animationDuration:0,success:a,fail:()=>{uni.redirectTo({url:e,animationType:"none",animationDuration:0,complete:a})}})},handleMenuClick(e,t){const i=Date.now();if(i-this.lastMenuClickAt<150)return;if(this.lastMenuClickAt=i,this.isNavigating)return;const s=this.normalizePath(null==e?void 0:e.path);if(!s)return;const n=this.getCurrentRoutePath();if(this.useRedirect&&n===s)return this.syncActiveByRoute(),void this.closeMinePopup();this.useRedirect||(this.activeIndex=t),this.$emit("menu-click",e.raw),this.useRedirect&&(this.isNavigating=!0,this.showNavigationMask(),this.navigateToMenu(s)),this.closeMinePopup()},getTopNavRealName(){var e,t,i;const s=(null==(e=this.currentUser)?void 0:e.employees)||[];return s.length&&(null==(t=s[0])?void 0:t.real_name)?s[0].real_name:this.userName&&"未登录用户"!==this.userName?this.userName:(null==(i=this.currentUser)?void 0:i.real_name)||"未命名用户"},isCurrentRole:e=>1===Number(null==e?void 0:e.is_primary),openMinePopup(){this.showMinePopup=!0},closeMinePopup(){this.showMinePopup=!1},loadCurrentUserInfo(){a().then(e=>{this.currentUser=(null==e?void 0:e.data)||(null==e?void 0:e.result)||e||null}).catch(()=>{this.currentUser=null})},handleChangeRole(e){const t=null==e?void 0:e.id,i=uni.getStorageSync("token");var a;t&&i&&(a=t,s("user.changeRole",{roleId:a,...n})).then(e=>{0===(null==e?void 0:e.code)||!0===(null==e?void 0:e.success)||1===(null==e?void 0:e.status)||!(null==e?void 0:e.msg)&&!(null==e?void 0:e.message)?(this.loadCurrentUserInfo(),this.closeMinePopup(),uni.showToast({title:"角色切换成功",icon:"success"})):uni.showToast({title:(null==e?void 0:e.msg)||(null==e?void 0:e.message),icon:"none"})}).catch(()=>{uni.showToast({title:"角色切换失败",icon:"none"})})},finishLogout(){uni.removeStorageSync("token"),uni.showToast({title:"已退出登录",icon:"none"}),setTimeout(()=>{uni.reLaunch({url:"/pages/login/login"})},200)},handleLogout(){uni.getStorageSync("token")?s("user.logout",{}).finally(()=>{this.finishLogout()}):this.finishLogout()}}},[["render",function(t,i,s,n,a,r){return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:"top-nav",onClick:i[5]||(i[5]=(...e)=>r.closeMinePopup&&r.closeMinePopup(...e))},[e.createElementVNode("image",{class:"top-nav-logo",src:o,mode:"heightFix"}),e.createElementVNode("view",{class:"top-nav-menu-wrap"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.displayMenus,(t,i)=>(e.openBlock(),e.createElementBlock("view",{key:t.key,class:e.normalizeClass(["top-nav-menu-item",a.activeIndex===i?"top-nav-menu-item--active":""]),onClick:e=>r.handleMenuClick(t,i)},[e.createElementVNode("text",{class:"top-nav-menu-text"},e.toDisplayString(t.title),1)],10,["onClick"]))),128))]),e.createElementVNode("view",{class:"top-nav-right",onClick:i[4]||(i[4]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("view",{class:"top-nav-user",onClick:i[0]||(i[0]=(...e)=>r.openMinePopup&&r.openMinePopup(...e))},[e.createElementVNode("view",{class:"top-nav-mine-icon","aria-hidden":"true"},[e.createElementVNode("view",{class:"top-nav-mine-icon-head"}),e.createElementVNode("view",{class:"top-nav-mine-icon-body"})]),e.createElementVNode("text",{class:"top-nav-user-name"},e.toDisplayString(r.getTopNavRealName()),1)]),a.showMinePopup?(e.openBlock(),e.createElementBlock("view",{key:0,class:"popup-card",onClick:i[3]||(i[3]=e.withModifiers(()=>{},["stop"]))},[a.currentUser&&a.currentUser.employees&&a.currentUser.employees.length?(e.openBlock(),e.createElementBlock("view",{key:0,class:"popup-user-info"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.currentUser.employees,t=>(e.openBlock(),e.createElementBlock("view",{key:t.id,class:e.normalizeClass(["popup-user-item",r.isCurrentRole(t)?"popup-user-item--current":""]),onClick:e=>r.handleChangeRole(t)},[e.createElementVNode("text",{class:"popup-user-text"},e.toDisplayString(t.store_name)+" | "+e.toDisplayString(t.real_name),1)],10,["onClick"]))),128))])):e.createCommentVNode("",!0),e.createElementVNode("button",{class:"logout-btn",type:"warn",onClick:i[1]||(i[1]=(...e)=>r.handleLogout&&r.handleLogout(...e))},"退出登录"),e.createElementVNode("button",{class:"close-btn",onClick:i[2]||(i[2]=(...e)=>r.closeMinePopup&&r.closeMinePopup(...e))},"关闭")])):e.createCommentVNode("",!0)])]),e.withDirectives(e.createElementVNode("view",{class:e.normalizeClass(["switch-mask",a.switchMaskActive?"switch-mask--active":""])},null,2),[[e.vShow,a.switchMaskVisible]])])}],["__scopeId","data-v-a0b04150"]]),h={device:"workerstation",project:"warehouse"};function p(e={},t){return s("order.recheckOrder.scanOrder",{...h,...e},t)}const m="orderSettingBindPackage",g="orderSettingPmKeyboard",v="orderSettingShipMode",w="orderSettingReviewProcess",y="orderSettingWeigh";const k=r({name:"OrderReviewOnePage",components:{TopNav:u},props:{embedded:{type:Boolean,default:!1}},data:()=>({keyword:"",activeKeyword:"",searchFocus:!1,searchFocused:!1,scanTimer:null,lastScanKeyTime:0,scanBurstConfirmed:!1,pageActive:!0,plusKeyListener:null,plusKeyBuffer:"",plusKeyTimer:null,plusKeyStartedAt:0,plusKeyLastAt:0,globalKeyListener:null,globalKeyTargets:[],enableHiddenInputCapture:!1,scanInputFocus:!1,scanHiddenValue:"",scanHiddenTimer:null,scanHiddenRefocusTimer:null,scanFocusResumeTimer:null,scanKeyboardSuppressTimers:[],scanHiddenFocused:!1,lastSubmittedScan:{code:"",at:0},currentTaskId:null,scanQty:1,detailColWidths:{},resizingCol:null,scanActive:!1,scanListType:"",currentPickMode:null,scanOrderList:[],reviewedKeepList:[],selectedWaveKey:"",selectedOrderNo:"",selectedItemsWeight:null,selectedWaveNo:"",selectedWaveIndex:"",selectedPackageMaterial:null,selectedPackageMaterialInfo:null,displayOrders:[],selectedPendingOrderKey:"",currentOrderHeader:null,currentWaybillInfo:null,selectedPrinter:"",selectedPrinterId:"",printerOpened:!1,printerList:[],warehouseId:"",printRequestCode:"",printSending:!1,selectedReviewProcess:"先打印后复核",selectedWeigh:"不称重",weighDialogVisible:!1,weighReviewMode:!1,weighInputValue:"",packageMaterialDialogVisible:!1,packageMaterialInput:"",pmBindWaybill:"",pmSearchList:[],pmSearching:!1,pmSearched:!1,pmBinding:!1,pmSelectedMaterial:null,pmPendingWeigh:!1,pmAutoRecheck:!1,pmAfterReviewWeighWaybill:"",pmAfterReviewReviewKey:"",pmPostReviewWeighPending:!1,noBarcodeReviewVisible:!1,noBarcodeReviewTarget:null,confirmReviewVisible:!1,confirmReviewOrderNo:"",batchReviewVisible:!1,batchReviewInput:"",batchReviewError:"",batchResultDone:!1,batchResultTab:"success",batchSuccessList:[],batchFailedList:[],interceptMode:!1,interceptLocked:!1,interceptTarget:null,pickerName:"",storeRemark:"",waveTotalOrders:0,waveUnreviewedCount:0,scannedCount:0,totalCount:0,settingsVisible:!1,settingBindPackage:!0,settingPmKeyboard:!1,settingShipMode:"auto"}),computed:{hasSelection(){return!(!this.selectedPendingOrderKey&&!this.selectedWaveKey)},weighDialogTitle(){return this.weighReviewMode?"称重(复核前)":"称重"},searchPlaceholder(){return this.hasSelection?"扫描商品条码(全部扫完后回车确认)":"输入运单号/车号,回车查询"},totalQuantity(){return this.displayOrders.reduce((e,t)=>e+(Number(t.quantity)||0),0)},printerOptions(){return this.printerList.map(e=>(null==e?void 0:e.name)||((null==e?void 0:e.id)?`打印台${e.id}`:"未命名打印台"))},reviewLocked(){return!!this.currentOrderHeader&&"已复核"===this.getWaveReviewStatus(this.currentOrderHeader)},noBarcodeReviewScanned(){return this.noBarcodeReviewTarget&&Number(this.noBarcodeReviewTarget.scannedQty)||0},noBarcodeReviewTotal(){return this.noBarcodeReviewTarget&&Number(this.noBarcodeReviewTarget.quantity)||0},allProductsScanned(){const e=this.displayOrders||[];return 0!==e.length&&e.every(e=>{const t=Number(null==e?void 0:e.quantity)||0,i=Number(null==e?void 0:e.scannedQty)||0;return t<=0||i>=t})},showBasketColumn(){return"single"===this.scanListType&&3===Number(this.currentPickMode)},recommendedPackageMaterialName(){const e=this.selectedPackageMaterialInfo;return e&&"object"==typeof e?e.name||e.code||"":this.selectedPackageMaterial||""},anyDialogOpen(){return!!(this.weighDialogVisible||this.noBarcodeReviewVisible||this.confirmReviewVisible||this.batchReviewVisible||this.packageMaterialDialogVisible||this.settingsVisible)},batchParsedCount(){return this.parseBatchOrderIds(this.batchReviewInput).length},batchFillableCount(){return"group"===this.scanListType?this.collectCurrentUnreviewedWaves().length:this.collectCurrentUnreviewedOrders().length},batchResultSuccessCount(){return this.batchSuccessList.length},batchResultFailedCount(){return this.batchFailedList.length},currentBatchResultRows(){return"failed"===this.batchResultTab?this.batchFailedList:this.batchSuccessList}},watch:{hasSelection(e){e&&!this.enableHiddenInputCapture&&this.activateSearchInput()},batchReviewInput(){this.batchReviewError&&(this.batchReviewError=""),this.batchResultDone&&this.resetBatchResult()}},methods:{getRowValue(e,t=[]){for(const i of t){const t=null==e?void 0:e[i];if(null!=t&&""!==t)return t}return""},normalizeOrderRow(e){const t=this.getRowValue(e,["barcode","bar_code","goods_barcode","sku_barcode","barcodes"]),i=Array.isArray(t)?t[0]||"":t,s=this.getRowValue(e,["images","image","image_url","imageUrl"]),n=Array.isArray(s)?s[0]||"":s;return{blueNo:this.getRowValue(e,["blueNo","blue_no","lanhao","lan_hao","blue_no_code","stock_id","item_code"]),quantity:this.getRowValue(e,["plan_qty","quantity","qty","num","count"]),scanMark:this.getRowValue(e,["scanMark","scan_mark","scanStatus","scan_status"]),barcode:i,productName:this.getRowValue(e,["productName","product_name","goods_name","sku_name","item_name"]),color:this.getRowValue(e,["color","color_name"]),spec:this.getRowValue(e,["sku_property","spec","spec_name","size","sku_spec"]),image:n,packingRequirements:this.getRowValue(e,["packing_requirements","packingRequirements","pack_requirements"]),basketNo:this.getRowValue(e,["box_no","boxNo","basket_no","basketNo","seed_no","seedNo"]),scannedQty:this.getRowValue(e,["scanned_qty","scannedQty","scan_qty","scanQty","scanned_count","scannedCount"])||0}},parseItemSnapshot(e){if(!e)return{};if("string"==typeof e)try{const t=JSON.parse(e);return"object"==typeof t&&t?t:{}}catch(t){return{}}return"object"==typeof e?e:{}},normalizeOrderDetailItem(e){const t=this.parseItemSnapshot(this.getRowValue(e,["item_snapshot","itemSnapshot"]));return this.normalizeOrderRow({...e,...t})},handleConfirm(){this.scanBurstConfirmed=!1,this.hasSelection?this.handleBarcodeMatch():this.handleSearch()},handleSearchFocus(){this.searchFocused=!0},handleSearchBlur(){this.searchFocused=!1,this.searchFocus=!1},activateSearchInput(){this.searchFocus=!0},handleGlobalKeydown(e){if(!this.isPageActive())return;const t=e.key,i="undefined"!=typeof document?document.activeElement:null;if(!(!i||"INPUT"!==i.tagName&&"TEXTAREA"!==i.tagName))return void this.touchScanInput();if(this.enableHiddenInputCapture)return;if(e.ctrlKey||e.altKey||e.metaKey)return;const s=!!t&&1===t.length;(s||("Tab"===t||"Enter"===t))&&(e.preventDefault(),s&&(this.keyword=(this.keyword||"")+t),this.searchFocus=!0,"Enter"===t&&(this.keyword||"").trim()&&this.handleConfirm(),this.touchScanInput())},touchScanInput(){const e=Date.now(),t=e-this.lastScanKeyTime;this.lastScanKeyTime>0&&t>100?this.scanBurstConfirmed=!1:(this.keyword||"").trim().length>=2&&(this.scanBurstConfirmed=!0),this.lastScanKeyTime=e,this.scanTimer&&clearTimeout(this.scanTimer),this.scanTimer=setTimeout(()=>this.checkScanIdle(),300)},checkScanIdle(){if(this.scanTimer=null,this.anyDialogOpen)return void(this.scanBurstConfirmed=!1);const e=Date.now()-this.lastScanKeyTime,t=(this.keyword||"").trim();this.scanBurstConfirmed&&e>=300&&t.length>=2&&this.handleConfirm()},isPageActive(){return!1!==this.pageActive},isAppPlus:()=>!0,hasPlusKeyboardSupport(){var e;return"undefined"!=typeof plus&&!!(null==(e=null==plus?void 0:plus.key)?void 0:e.addEventListener)},hasDomKeyboardSupport:()=>"undefined"!=typeof window||"undefined"!=typeof document,setupScanCaptureMode(){this.enableHiddenInputCapture=this.isRealDevice()},isRealDevice:()=>!0,isMobileBrowser(){try{const e="undefined"!=typeof uni&&uni.getSystemInfoSync?uni.getSystemInfoSync():null;if(e&&e.platform){const t=String(e.platform).toLowerCase();if("android"===t||"ios"===t)return!0}}catch(e){}try{if("undefined"!=typeof navigator&&navigator.userAgent)return/Android|iPhone|iPad|iPod|Mobile|Tablet/i.test(navigator.userAgent)}catch(e){}return!1},attachGlobalKeyboardListener(){if(this.globalKeyListener)return;const e="undefined"!=typeof window,t=[];"undefined"!=typeof document?t.push(document):e&&t.push(window),t.length&&(this.globalKeyTargets=t,this.globalKeyListener=this.handleGlobalKeydown,this.globalKeyTargets.forEach(e=>{e.addEventListener("keydown",this.globalKeyListener,!0)}))},removeGlobalKeyboardListener(){this.globalKeyTargets&&this.globalKeyListener&&(this.globalKeyTargets.forEach(e=>{e.removeEventListener("keydown",this.globalKeyListener,!0)}),this.globalKeyTargets=[],this.globalKeyListener=null)},parsePlusKeyCodeToChar:e=>e>=48&&e<=57||e>=65&&e<=90?String.fromCharCode(e):e>=96&&e<=105?String(e-96):189===e||109===e?"-":190===e||110===e?".":191===e||111===e?"/":"",attachPlusKeyboardListener(){this.hasPlusKeyboardSupport()&&(this.plusKeyListener||(this.plusKeyListener=e=>{if(!this.isPageActive())return;const t=Number((null==e?void 0:e.keyCode)||0),i=13===t||66===t,s=this.parsePlusKeyCodeToChar(t);if(s){const e=Date.now();return this.plusKeyBuffer||(this.plusKeyStartedAt=e),this.plusKeyLastAt=e,this.plusKeyBuffer+=s,this.clearPlusKeyTimer(),void(this.plusKeyTimer=setTimeout(()=>this.flushPlusKeyBuffer("timer"),420))}i&&this.flushPlusKeyBuffer("enter")},plus.key.addEventListener("keydown",this.plusKeyListener)))},removePlusKeyboardListener(){this.clearPlusKeyTimer(),this.plusKeyBuffer="",this.plusKeyStartedAt=0,this.plusKeyLastAt=0,this.plusKeyListener&&(this.hasPlusKeyboardSupport()&&plus.key.removeEventListener("keydown",this.plusKeyListener),this.plusKeyListener=null)},flushPlusKeyBuffer(e="timer"){if(!this.isPageActive())return;const t=(this.plusKeyBuffer||"").trim();this.plusKeyBuffer="",this.plusKeyStartedAt=0,this.plusKeyLastAt=0,this.clearPlusKeyTimer(),t&&this.submitScanCode(t,"plus")},handleHiddenScanFocus(){this.isPageActive()&&this.enableHiddenInputCapture&&(this.scanHiddenFocused=!0,this.scanInputFocus=!0,this.clearHiddenRefocusTimer(),this.suppressSoftKeyboardBurst())},handleHiddenScanBlur(){this.isPageActive()&&this.enableHiddenInputCapture&&(this.scanHiddenFocused=!1,this.scanInputFocus=!1,this.clearHiddenRefocusTimer(),this.scanHiddenRefocusTimer=setTimeout(()=>{if(!this.isPageActive()||!this.enableHiddenInputCapture)return;const e="undefined"!=typeof document?document.activeElement:null;(!e||"INPUT"!==e.tagName&&"TEXTAREA"!==e.tagName)&&(this.scanHiddenFocused||this.scheduleScanInputFocus(220))},500))},handleHiddenScanInput(e){var t;if(!this.isPageActive()||!this.enableHiddenInputCapture)return;const i=(null==(t=null==e?void 0:e.detail)?void 0:t.value)||"";this.scanHiddenValue=i,this.keyword=i,this.clearHiddenScanTimer(),this.scanHiddenTimer=setTimeout(()=>{this.isPageActive()&&this.enableHiddenInputCapture&&this.processHiddenScanValue("timer")},320)},handleHiddenScanConfirm(e){var t;if(!this.isPageActive()||!this.enableHiddenInputCapture)return;const i=(null==(t=null==e?void 0:e.detail)?void 0:t.value)||this.scanHiddenValue||"";this.scanHiddenValue=i,this.processHiddenScanValue("confirm")},processHiddenScanValue(e="timer"){if(!this.isPageActive()||!this.enableHiddenInputCapture)return;const t=(this.scanHiddenValue||"").trim();this.clearHiddenScanTimer(),t&&(this.scanHiddenValue="",this.dismissSoftKeyboard(),this.submitScanCode(t,"hidden"),this.ensureScanInputFocus())},ensureScanInputFocus(){if(this.isPageActive())return this.enableHiddenInputCapture?void(this.scanInputFocus||(this.scanInputFocus=!0)):(this.scanInputFocus=!1,void this.suppressSoftKeyboardBurst())},scheduleScanInputFocus(e=0){this.isPageActive()&&(this.clearScanFocusResumeTimer(),this.scanFocusResumeTimer=setTimeout(()=>{this.isPageActive()&&this.ensureScanInputFocus()},e))},suppressSoftKeyboardBurst(){var e;this.isPageActive()&&(this.clearKeyboardSuppressTimers(),null==(e=uni.hideKeyboard)||e.call(uni),[80,180,320].forEach(e=>{const t=setTimeout(()=>{var e;this.isPageActive()&&(null==(e=uni.hideKeyboard)||e.call(uni))},e);this.scanKeyboardSuppressTimers.push(t)}))},dismissSoftKeyboard(){var e,t,i;this.isPageActive()&&("undefined"!=typeof document&&(null==(t=null==(e=document.activeElement)?void 0:e.blur)||t.call(e)),null==(i=uni.hideKeyboard)||i.call(uni))},submitScanCode(e,t){if(!this.isPageActive())return;const i=(e||"").trim();if(!i)return;const s=Date.now();this.lastSubmittedScan&&this.lastSubmittedScan.code===i&&s-this.lastSubmittedScan.at<600||(this.lastSubmittedScan={code:i,at:s},this.keyword=i,this.handleConfirm())},clearPlusKeyTimer(){this.plusKeyTimer&&(clearTimeout(this.plusKeyTimer),this.plusKeyTimer=null)},clearHiddenScanTimer(){this.scanHiddenTimer&&(clearTimeout(this.scanHiddenTimer),this.scanHiddenTimer=null)},clearHiddenRefocusTimer(){this.scanHiddenRefocusTimer&&(clearTimeout(this.scanHiddenRefocusTimer),this.scanHiddenRefocusTimer=null)},clearScanFocusResumeTimer(){this.scanFocusResumeTimer&&(clearTimeout(this.scanFocusResumeTimer),this.scanFocusResumeTimer=null)},clearKeyboardSuppressTimers(){Array.isArray(this.scanKeyboardSuppressTimers)?(this.scanKeyboardSuppressTimers.forEach(e=>{clearTimeout(e)}),this.scanKeyboardSuppressTimers=[]):this.scanKeyboardSuppressTimers=[]},handleBarcodeMatch(){const e=this.keyword.trim();if(!e)return;const t=this.displayOrders.find(t=>t.barcode===e);t?(t.scannedQty=(Number(t.scannedQty)||0)+1,this.syncDetailStats(this.currentOrderHeader,this.displayOrders),this.keyword="",uni.showToast({title:"匹配成功",icon:"none"}),this.autoOpenWeighAfterScan()):uni.showToast({title:"未找到该条码",icon:"none"})},handleScanQtyPlus(){this.scanQty=(Number(this.scanQty)||0)+1},handleScanQtyMinus(){const e=Number(this.scanQty)||0;this.scanQty=e>1?e-1:1},getColStyle(e){const t=this.detailColWidths[e];return t?{width:`${t}px`,flex:"none"}:{}},startResize(e,t){const i=this.$refs[`detail-header-${e}`],s=i&&i.$el?i.$el:i,n=s&&s.getBoundingClientRect?s.getBoundingClientRect().width:0;this.resizingCol={key:e,startX:t.clientX,startWidth:n},"undefined"!=typeof document&&(document.addEventListener("mousemove",this.onResizeMove),document.addEventListener("mouseup",this.onResizeEnd))},onResizeMove(e){if(!this.resizingCol)return;const{key:t,startX:i,startWidth:s}=this.resizingCol,n=Math.max(60,Math.round(s+(e.clientX-i)));this.detailColWidths={...this.detailColWidths,[t]:n}},onResizeEnd(){this.resizingCol=null,"undefined"!=typeof document&&(document.removeEventListener("mousemove",this.onResizeMove),document.removeEventListener("mouseup",this.onResizeEnd))},async handleSearch(){const e=this.keyword.trim();if(!e)return this.scanActive=!1,this.scanOrderList=[],this.reviewedKeepList=[],void this.clearSelection();try{this.reviewedKeepList=[];const t=await p({keyword:e}),i=(null==t?void 0:t.data)||(null==t?void 0:t.result)||t||{};this.applyScanResult(i),this.activeKeyword=e,this.keyword=""}catch(t){uni.showToast({title:"查询失败",icon:"none"})}},applyScanResult(e){const t=Array.isArray(null==e?void 0:e.list)?e.list:[];0===t.length&&uni.showToast({title:(null==e?void 0:e.msg)||(null==e?void 0:e.message)||"未找到对应订单",icon:"none"}),this.scanActive=!0,this.scanListType=(null==e?void 0:e.list_type)||"",this.scanOrderList=this.mergeReviewedKeptItems(t),this.pickerName=this.getRowValue(e,["picker_name","pickerName"])||"";const i=this.getRowValue(e,["warehouse_id","warehouseId"]);""!==i&&(this.warehouseId=i);const s=this.getRowValue(e,["total_orders"]);this.waveTotalOrders=""!==s?s:t.reduce((e,t)=>e+(Number(null==t?void 0:t.total_orders)||0),0),this.waveUnreviewedCount=this.countUnreviewedExcludingIntercepted(t),this.clearSelection();const n=this.getRowValue(e,["pick_mode","pickMode"]),a=t.length>0?this.getRowValue(t[0],["pick_mode","pickMode"]):"";this.currentPickMode=""!==n?n:a,this.currentTaskId=this.extractTaskId(e,t)},mergeReviewedKeptItems(e){const t=Array.isArray(e)?e:[],i=Array.isArray(this.reviewedKeepList)?this.reviewedKeepList:[];if(0===i.length)return t;const s=new Set;for(const o of t){const e=this.getReviewKeepKey(o);""!==e&&s.add(e)}const n=i.filter(e=>{const t=this.getReviewKeepKey(e.item);return""!==t&&!s.has(t)}).sort((e,t)=>e.index-t.index);if(0===n.length)return t;const a=t.slice();for(const o of n){const e=Math.min(o.index,a.length);a.splice(e,0,o.item)}return a},clearSelection(){this.interceptMode=!1,this.interceptLocked=!1,this.interceptTarget=null,this.selectedPendingOrderKey="",this.selectedWaveKey="",this.selectedOrderNo="",this.selectedItemsWeight=null,this.selectedWaveNo="",this.selectedWaveIndex="",this.selectedPackageMaterial=null,this.selectedPackageMaterialInfo=null,this.displayOrders=[],this.currentOrderHeader=null,this.currentWaybillInfo=null,this.storeRemark="",this.scannedCount=0,this.totalCount=0,this.currentTaskId=null,this.currentPickMode=null,this.weighReviewMode=!1,this.clearPostReviewWeighState()},extractTaskId(e,t){const i=this.getRowValue(e,["task_id","taskId","pick_task_id","pickTaskId"]);if(""!==i)return i;const s=Array.isArray(t)?t:[];for(const n of s){const e=this.getRowValue(n,["task_id","taskId","pick_task_id","pickTaskId"]);if(""!==e)return e;if(n&&Array.isArray(n.orders))for(const t of n.orders){const e=this.getRowValue(t,["task_id","taskId","pick_task_id","pickTaskId"]);if(""!==e)return e}}return null},syncDetailStats(e,t){const i=Array.isArray(t)?t:[];this.scannedCount=i.reduce((e,t)=>e+(Number(null==t?void 0:t.scannedQty)||0),0),this.totalCount=i.reduce((e,t)=>e+(Number(null==t?void 0:t.quantity)||0),0),this.storeRemark=this.getRowValue(e,["store_remark","storeRemark"])||""},handleConfirmReview(){var e;if(this.reviewLocked)uni.showToast({title:"该订单已复核,无需重复操作",icon:"none"});else if(this.interceptLocked)uni.showToast({title:"该订单已拦截,无需重复操作",icon:"none"});else{if(this.interceptMode){const t=(null==(e=this.interceptTarget)?void 0:e.orderNo)||this.selectedOrderNo||"";return void uni.showModal({title:"确认拦截",content:`确认对订单「${t}」执行拦截操作?`,confirmText:"确定",cancelText:"取消",success:e=>{e.confirm&&this.doConfirmIntercept()}})}this.allProductsScanned?(this.confirmReviewOrderNo=this.selectedOrderNo||this.getScanOrderNo(this.currentOrderHeader)||"",this.confirmReviewVisible=!0):uni.showToast({title:"请先扫完所有商品,再进行复核",icon:"none"})}},closeConfirmReview(){this.confirmReviewVisible=!1,this.confirmReviewOrderNo="",this.scheduleScanInputFocus(150)},confirmReviewConfirm(){this.confirmReviewVisible=!1,this.confirmReviewOrderNo="",this.doConfirmRecheck(),this.scheduleScanInputFocus(150)},async doConfirmRecheck(e=!0){let t;if("group"===this.scanListType){const e=this.getRowValue(this.currentOrderHeader,["wave_id","waveId"]);if(""===e)return uni.showToast({title:"未找到波次ID,无法复核",icon:"none"}),!1;t={wave_id:e}}else{const e=this.getScanOrderId(this.currentOrderHeader);if(""===e)return uni.showToast({title:"未找到订单ID,无法复核",icon:"none"}),!1;t={order_id:e}}try{const i=await function(e,t){return s("order.recheckOrder.confirmRecheck",{...h,...e},t)}(t),n=(null==i?void 0:i.data)||(null==i?void 0:i.result)||i||{},a="success"===(null==i?void 0:i.flag)||"success"===(null==n?void 0:n.flag),o=1===(null==i?void 0:i.code)||"1"===(null==i?void 0:i.code)||1===(null==n?void 0:n.code)||"1"===(null==n?void 0:n.code);if(!a||!o){const e=(null==i?void 0:i.message)||(null==i?void 0:i.msg)||(null==n?void 0:n.message)||(null==n?void 0:n.msg)||"复核失败";return uni.showModal({title:"复核失败",content:String(e),showCancel:!1,confirmText:"确定"}),!1}uni.showToast({title:"确认复核成功",icon:"success"}),this.keepReviewedItem(),this.refreshWaveSummary();const r=this.getReviewKeepKey(this.currentOrderHeader);return e&&this.autoSelectNextPendingOrder(r),!0}catch(i){return uni.showToast({title:"复核失败,请重试",icon:"none"}),!1}},autoSelectNextPendingOrder(e=""){const t=Array.isArray(this.scanOrderList)?this.scanOrderList:[];if(0===t.length)return;const i=e=>"未复核"===this.getWaveReviewStatus(e)&&("group"===this.scanListType||!this.isInterceptExcluded(e)),s=e?t.findIndex(t=>this.getReviewKeepKey(t)===e):-1,n=s>=0?s+1:0;let a=null;for(let o=n;o{e.is_reviewed=!0})):(n.is_reviewed=!0,n.review_status="reviewed",n.unreviewed_count=0,n.reviewed_count=1);this.reviewedKeepList.some(e=>this.getReviewKeepKey(e.item)===t)||this.reviewedKeepList.push({item:i,index:s>=0?s:this.scanOrderList.length})},getReviewKeepKey(e){return e&&"object"==typeof e?"group"===this.scanListType?`wave:${this.getRowValue(e,["wave_id","waveId"])}`:`order:${this.getScanOrderId(e)}`:""},clearPostReviewWeighState(){this.pmPostReviewWeighPending=!1,this.pmAfterReviewWeighWaybill="",this.pmAfterReviewReviewKey=""},reselectReviewedWave(){const e=this.pmAfterReviewReviewKey;if(!e)return;const t=Array.isArray(this.scanOrderList)?this.scanOrderList:[],i=t.findIndex(t=>this.getReviewKeepKey(t)===e);i>=0?this.handleWaveClick(t[i]):this.clearPostReviewWeighState()},async doConfirmIntercept(){var e,t;(null==(e=this.interceptTarget)?void 0:e.orderNo)||this.selectedOrderNo;const i=(null==(t=this.interceptTarget)?void 0:t.orderId)??"";var n,a;if(""!==i&&null!=i)try{const e=await(n={ids:[i]},s("order.recheckOrder.confirmIntercept",{...h,...n},a)),t=(null==e?void 0:e.data)||(null==e?void 0:e.result)||e||{},o=Array.isArray(null==t?void 0:t.success)?t.success:[],r=Array.isArray(null==t?void 0:t.failed)?t.failed:[],l=null!=(null==t?void 0:t.success_count)?Number(t.success_count):o.length,c=null!=(null==t?void 0:t.failed_count)?Number(t.failed_count):r.length;if(c>0){const e=r.map(e=>{const t=(null==e?void 0:e.order_id)??(null==e?void 0:e.orderId)??(null==e?void 0:e.id)??"",i=(null==e?void 0:e.reason)??(null==e?void 0:e.msg)??(null==e?void 0:e.message)??"";return`订单${t}${i?`:${i}`:""}`}).join("\n");uni.showModal({title:"拦截结果",content:`成功 ${l} 单,失败 ${c} 单${e?`\n失败原因:\n${e}`:""}`,showCancel:!1,confirmText:"确定"})}else uni.showToast({title:`拦截成功:${l} 单`,icon:"none"});if(this.interceptMode=!1,this.interceptLocked=!1,this.interceptTarget=null,l>0){const e=o.map(e=>(null==e?void 0:e.order_id)??(null==e?void 0:e.orderId)??(null==e?void 0:e.id)??"").filter(e=>""!==e);(e.length>0?e:[i]).forEach(e=>this.markRowIntercepted(e)),this.handleRefresh(!1)}}catch(o){uni.showToast({title:"拦截失败,请重试",icon:"none"})}else uni.showToast({title:"订单ID为空,无法拦截",icon:"none"})},handleClear(){this.scanOrderList=[],this.activeKeyword="",this.keyword="",this.reviewedKeepList=[],this.clearSelection(),uni.showToast({title:"已清空",icon:"none"})},handleRefresh(e=!0){const t=t=>{e&&uni.showToast({title:t,icon:"none"})},i=this.currentTaskId;if(null!=i&&""!==i)return(n={task_id:Number(i)},s("order.recheckOrder.scanTask",{...h,...n},a)).then(e=>{const i=(null==e?void 0:e.data)||(null==e?void 0:e.result)||e||{};this.applyScanResult(i),t("刷新成功")}).catch(()=>{t("刷新失败")});var n,a;const o=(this.activeKeyword||this.keyword).trim();return o?p({keyword:o}).then(e=>{const i=(null==e?void 0:e.data)||(null==e?void 0:e.result)||e||{};this.applyScanResult(i),t("刷新成功")}).catch(()=>{t("刷新失败")}):(t("请输入关键词"),Promise.resolve())},handleBatchQuickReview(){this.batchReviewInput="",this.batchReviewError="",this.resetBatchResult(),this.batchReviewVisible=!0},closeBatchReview(){this.batchReviewVisible=!1,this.batchReviewInput="",this.batchReviewError="",this.resetBatchResult(),this.scheduleScanInputFocus(150)},resetBatchResult(){this.batchResultDone=!1,this.batchResultTab="success",this.batchSuccessList=[],this.batchFailedList=[]},parseBatchOrderIds(e){const t=String(e||"").trim();if(!t)return[];const i=t.split(/[,,\s;;]+/),s=[];for(const n of i){const e=n.trim();e&&!s.includes(e)&&s.push(e)}return s},collectCurrentUnreviewedOrders(){const e=Array.isArray(this.scanOrderList)?this.scanOrderList:[],t=[],i=e=>{if("未复核"===this.getWaveReviewStatus(e)&&!this.isInterceptExcluded(e)){const i=this.getScanOrderId(e);""===i||t.includes(String(i))||t.push(String(i))}};for(const s of e)if("group"===this.scanListType){const e=Array.isArray(null==s?void 0:s.orders)?s.orders:[];e.length>0&&e.forEach(i)}else i(s);return t},fillBatchUnreviewedOrders(){"group"===this.scanListType?this.batchReviewInput=this.collectCurrentUnreviewedWaves().join(","):this.batchReviewInput=this.collectCurrentUnreviewedOrders().join(","),this.batchReviewError=""},collectCurrentUnreviewedWaves(){const e=Array.isArray(this.scanOrderList)?this.scanOrderList:[],t=[];for(const i of e)if("未复核"===this.getWaveReviewStatus(i)){const e=this.getRowValue(i,["wave_id","waveId"]);""===e||t.includes(String(e))||t.push(String(e))}return t},confirmBatchReview(){const e=this.parseBatchOrderIds(this.batchReviewInput);0!==e.length?this.doBatchQuickRecheck(e):this.batchReviewError="group"===this.scanListType?"请至少输入一个有效波次 ID":"请至少输入一个有效订单 ID"},async doBatchQuickRecheck(e){var t,i;if(e&&0!==e.length)try{const n="group"===this.scanListType?await(t={wave_ids:e.join(",")},s("order.recheckOrder.batchQuickRecheckByWave",{...h,...t},i)):await function(e,t){return s("order.recheckOrder.batchQuickRecheck",{...h,...e},t)}({ids:e.join(",")}),a=(null==n?void 0:n.data)||(null==n?void 0:n.result)||n||{},o=Array.isArray(null==a?void 0:a.success)?a.success:[],r=Array.isArray(null==a?void 0:a.failed)?a.failed:[],l=null!=(null==a?void 0:a.success_count)?Number(a.success_count):o.length,c=(null!=(null==a?void 0:a.failed_count)?Number(a.failed_count):r.length,(e,t)=>({order_id:(null==e?void 0:e.order_id)??(null==e?void 0:e.orderId)??(null==e?void 0:e.id)??"",waybill_no:(null==e?void 0:e.delivery_order_code)??(null==e?void 0:e.waybill_no)??(null==e?void 0:e.waybillNo)??"",reason:(null==e?void 0:e.reason)??("success"===t?"":(null==e?void 0:e.msg)??(null==e?void 0:e.message)??""),note:(null==e?void 0:e.note)??(null==e?void 0:e.remark)??(null==e?void 0:e.description)??("success"===t?"复核成功":"")}));this.batchSuccessList=o.map(e=>c(e,"success")),this.batchFailedList=r.map(e=>c(e,"failed"));const d=o.map(e=>(null==e?void 0:e.order_id)??(null==e?void 0:e.orderId)??(null==e?void 0:e.id)??"").filter(e=>""!==e);d.length>0&&(d.forEach(e=>this.markReviewedByOrderId(e)),"group"===this.scanListType&&this.finalizeBatchGroupReview(),await this.handleRefresh(!1)),this.batchResultTab=l>0?"success":"failed",this.batchResultDone=!0,this.batchReviewError=""}catch(n){uni.showToast({title:"批量复核失败,请重试",icon:"none"})}},finalizeBatchGroupReview(){(Array.isArray(this.scanOrderList)?this.scanOrderList:[]).forEach((e,t)=>{const i=Array.isArray(null==e?void 0:e.orders)?e.orders:[];if(0===i.length)return;if(!i.every(e=>{const t=this.getScanOrderSource(e);return!(!t||!0!==t.is_reviewed&&"已复核"!==this.getWaveReviewStatus(e))})||"已复核"===this.getWaveReviewStatus(e))return;const s=this.getScanOrderSource(e);s&&"object"==typeof s&&(s.unreviewed_count=0,s.reviewed_count=Number(s.total_orders)||Number(s.order_count)||i.length,s.review_status="reviewed");const n=this.getReviewKeepKey(e);if(""!==n){this.reviewedKeepList.some(e=>this.getReviewKeepKey(e.item)===n)||this.reviewedKeepList.push({item:e,index:t})}})},markReviewedByOrderId(e){if(""===e||null==e)return;const t=String(e),i=Array.isArray(this.scanOrderList)?this.scanOrderList:[];for(let s=0;sthis.getReviewKeepKey(e.item)===i)||this.reviewedKeepList.push({item:e,index:s})}return}if(Array.isArray(null==e?void 0:e.orders)){const i=e.orders.find(e=>String(this.getScanOrderId(e))===t);if(i){const e=this.getScanOrderSource(i);return void(e&&"object"==typeof e&&(e.is_reviewed=!0,e.review_status="reviewed"))}}}},handleSingleReviewList(){uni.showToast({title:"散单复核列表",icon:"none"})},async handleRePrintLabel(){if(this.hasSelection)if(this.selectedPrinterId){if(!this.printSending){this.printSending=!0,uni.showLoading({title:"补打处理中..."});try{let i=[];if("group"===this.scanListType)i=await this.fetchGroupWavePrintData(this.currentOrderHeader);else{const n=this.getScanOrderId(this.currentOrderHeader);if(""===n)throw new Error("未找到订单ID,无法补打");const a=await(e={order_ids:[Number(n)]},s("order.print.getOrderPrintData",{...h,...e},t)),o=this.extractPrintPayload(a);i=this.normalizeWaveGroups(o)}if(!i.length)throw new Error("未获取到可打印数据");this.printRequestCode=this.buildPrintRequestCode();const n=await function(e,t){return s("print.send",{...h,...e},t)}({type:"express",printStationId:this.selectedPrinterId,requestCode:this.printRequestCode,data:{waveGroups:i}});if(!("failure"!==(null==n?void 0:n.flag)&&"500"!==(null==n?void 0:n.code)&&500!==(null==n?void 0:n.code)&&1001!==(null==n?void 0:n.code)&&504!==(null==n?void 0:n.code)))throw new Error((null==n?void 0:n.message)||(null==n?void 0:n.msg)||"打印发送失败");uni.hideLoading(),uni.showToast({title:"面单补打已发送",icon:"success"}),this.handleRefresh(!1)}catch(i){uni.hideLoading();const e=String((null==i?void 0:i.message)||(null==i?void 0:i.msg)||(null==i?void 0:i.errMsg)||"补打失败");uni.showToast({title:e,icon:"none"})}finally{this.printSending=!1,this.scheduleScanInputFocus(150)}var e,t}}else uni.showToast({title:"未选择打印台,无法补打",icon:"none"});else uni.showToast({title:"请先在左侧选择订单",icon:"none"})},buildPrintRequestCode:()=>`PRINT_${Date.now().toString(36)}_${Math.random().toString(36).slice(2,10)}`,resolveWarehouseId(){const e=[this.warehouseId,uni.getStorageSync("warehouse_id"),uni.getStorageSync("warehouseId"),uni.getStorageSync("store_id"),uni.getStorageSync("storeId")];for(const t of e){const e=Number(t);if(Number.isFinite(e)&&e>0)return e}return 0},extractPrintPayload(e){var t;const i=[null==(t=null==e?void 0:e.data)?void 0:t.data,null==e?void 0:e.data,null==e?void 0:e.result,e];for(const s of i)if(s&&"object"==typeof s)return s;return{}},normalizeWaveGroups:e=>(Array.isArray(null==e?void 0:e.waveGroups)?e.waveGroups:[]).map(e=>e&&"object"==typeof e?e:null).filter(e=>!!e),extractLockedWaveGroups:e=>(Array.isArray(null==e?void 0:e.locked_wave_groups)?e.locked_wave_groups:[]).map(e=>e&&"object"==typeof e?e:null).filter(e=>!!e),buildUnlockGroups(e){const t=[];return(Array.isArray(e)?e:[]).forEach(e=>{const i=(null==e?void 0:e.wave_id)??(null==e?void 0:e.waveId)??(null==e?void 0:e.id)??"",s=Array.isArray(null==e?void 0:e.platforms)?e.platforms:[];s.length?s.forEach(e=>{t.push({wave_id:i,platform:(null==e?void 0:e.platform)??(null==e?void 0:e.platform_code)??"",sys_logistics_code:(null==e?void 0:e.sys_logistics_code)??(null==e?void 0:e.sysLogisticsCode)??(null==e?void 0:e.logistics_code)??"",order_ids:Array.isArray(null==e?void 0:e.order_ids)?e.order_ids:[]})}):""!==i&&null!=i&&t.push({wave_id:i,platform:"",sys_logistics_code:"",order_ids:[]})}),t.filter(e=>""!==e.wave_id&&null!=e.wave_id)},async unlockGroupWavePrintLock(e){const t=this.resolveWarehouseId();if(!t)throw new Error("缺少仓库ID");const i=this.buildUnlockGroups(e);if(!i.length)throw new Error("缺少可解锁的分组条件");const n=Array.from(new Set(i.map(e=>e.wave_id).filter(e=>""!==e&&null!=e)));return a={warehouse_id:t,wave_ids:n,group_type:"platform_express",unlock_scope:"group",groups:i},s("order.print.unlockWavePlatformPrintDataByGroup",{...h,...a},o);var a,o},async fetchGroupWavePrintData(e){const t=this.resolveWarehouseId();if(!t)throw new Error("缺少仓库ID");const i=String(this.getRowValue(e,["wave_id","waveId","id"])||"").trim();if(!i)throw new Error("未找到波次ID");const n=async()=>{const e=await(n={warehouse_id:t,wave_ids:[i]},s("order.print.getWavePlatformPrintData",{...h,...n},a));var n,a;return this.extractPrintPayload(e)};let a=await n(),o=this.normalizeWaveGroups(a);const r=this.extractLockedWaveGroups(a);if(!o.length&&r.length){try{await this.unlockGroupWavePrintLock(r)}catch(l){throw new Error(`解锁打印锁失败:${String((null==l?void 0:l.message)||(null==l?void 0:l.msg)||(null==l?void 0:l.errMsg)||"请稍后重试")}`)}a=await n(),o=this.normalizeWaveGroups(a)}return o},autoOpenWeighAfterScan(){if(("group"===this.scanListType||"称重"===this.selectedWeigh)&&!(this.weighDialogVisible||this.confirmReviewVisible||this.noBarcodeReviewVisible||this.batchReviewVisible)&&this.hasSelection&&!this.reviewLocked&&!this.interceptLocked&&this.allProductsScanned){if("group"===this.scanListType&&this.settingBindPackage){const e=this.getWaveRepresentWaybill(this.currentOrderHeader);if(e){const t="auto"===this.settingShipMode;this.pmPendingWeigh=!t,this.pmAutoRecheck=t,this.pmBindWaybill=e,this.resetPackageMaterialSearch();const i=this.recommendedAsMaterial();return i&&(this.pmSelectedMaterial=i),void(this.packageMaterialDialogVisible=!0)}}this.weighReviewMode=!0,this.weighInputValue="",this.weighDialogVisible=!0}},handleWeigh(){this.hasSelection?(this.weighReviewMode=!1,this.weighInputValue="",this.weighDialogVisible=!0):uni.showToast({title:"请先在左侧选择订单",icon:"none"})},closeWeighDialog(){if(this.weighDialogVisible=!1,this.weighReviewMode=!1,this.pmPostReviewWeighPending)return this.reselectReviewedWave(),void this.scheduleScanInputFocus(150);this.pmAfterReviewWeighWaybill="",this.pmAfterReviewReviewKey="",this.pmPostReviewWeighPending=!1,this.scheduleScanInputFocus(150)},handleAddPackageMaterial(){if(!this.hasSelection)return void uni.showToast({title:"请先在左侧选择订单",icon:"none"});if("group"!==this.scanListType)return void uni.showToast({title:"仅团购波次支持包材绑定",icon:"none"});const e=this.getWaveRepresentWaybill(this.currentOrderHeader);if(!e)return void uni.showToast({title:"未找到波次运单号,无法绑定包材",icon:"none"});this.pmBindWaybill=e,this.pmPendingWeigh=!1,this.pmAutoRecheck=!1,this.resetPackageMaterialSearch();const t=this.recommendedAsMaterial();t&&(this.pmSelectedMaterial=t),this.packageMaterialDialogVisible=!0},recommendedAsMaterial(){const e=this.selectedPackageMaterialInfo;if(!e||"object"!=typeof e)return null;const t=e.id??e.package_material_id;return null==t||""===t?null:{id:t,material_code:e.code||e.material_code||"",material_name:e.name||e.material_name||"",material_type:e.type||e.material_type||"",spec:e.spec||""}},resetPackageMaterialSearch(){this.packageMaterialInput="",this.pmSearchList=[],this.pmSearching=!1,this.pmSearched=!1,this.pmBinding=!1,this.pmSelectedMaterial=null},resetPackageMaterialDialog(){this.packageMaterialDialogVisible=!1,this.pmBindWaybill="",this.resetPackageMaterialSearch()},closePackageMaterialDialog(){this.resetPackageMaterialDialog(),this.pmPendingWeigh=!1,this.pmAutoRecheck=!1,this.scheduleScanInputFocus(150)},async handlePackageMaterialSearch(){const e=(this.packageMaterialInput||"").trim();if(""!==e){if(!this.pmSearching){this.pmSearching=!0,this.pmSearched=!1;try{const t=await function(e={},t){return s("setting.packageMaterial.search",{...h,...e},t)}({keyword:e}),i=(null==t?void 0:t.data)||(null==t?void 0:t.result)||t||{},n=Array.isArray(i)?i:i.list||i.data||[],a=Array.isArray(n)?n:[];if(this.pmSearchList=a,this.pmSearched=!0,1===a.length){const t=a[0];this.pmSelectedMaterial=t,this.packageMaterialInput=t.material_name||t.material_code||e,this.pmSearchList=[],this.pmSearched=!1}else a.length>1?(this.pmSelectedMaterial=null,uni.showToast({title:`命中 ${a.length} 条,请选择`,icon:"none"})):(this.pmSelectedMaterial=null,uni.showToast({title:"未找到匹配的包材",icon:"none"}))}catch(t){uni.showToast({title:"包材搜索失败,请重试",icon:"none"})}finally{this.pmSearching=!1}}}else uni.showToast({title:"请扫描或输入包材条码",icon:"none"})},handlePackageMaterialSelect(e){e&&(this.pmSelectedMaterial=e,this.packageMaterialInput=e.material_name||e.material_code||"",this.pmSearchList=[],this.pmSearched=!1)},async confirmPackageMaterial(){if(this.pmBinding)return;if("group"!==this.scanListType)return void uni.showToast({title:"仅团购波次支持包材绑定",icon:"none"});const e=this.pmBindWaybill||this.getWaveRepresentWaybill(this.currentOrderHeader);if(!e)return void uni.showToast({title:"未找到波次运单号,无法绑定包材",icon:"none"});let t=this.pmSelectedMaterial;t||1!==this.pmSearchList.length||(t=this.pmSearchList[0]),t||(t=this.recommendedAsMaterial());const i=(null==t?void 0:t.id)??(null==t?void 0:t.package_material_id);if(null!=i&&""!==i){this.pmBinding=!0;try{const o=await(n={waybill_code:e,package_material_id:i},s("order.bindExpressPackageMaterialByWaybill",{...h,...n},a)),r=(null==o?void 0:o.data)||(null==o?void 0:o.result)||o||{},l="success"===(null==o?void 0:o.flag)||"success"===(null==r?void 0:r.flag),c=(null==o?void 0:o.code)??(null==r?void 0:r.code),d=200===c||"200"===c||1===c||"1"===c,u=!!(null==o?void 0:o.data)||!!(null==r?void 0:r.data)||!!((null==o?void 0:o.order_id)??(null==r?void 0:r.order_id));if(!l||!d&&!u){const e=(null==o?void 0:o.message)||(null==o?void 0:o.msg)||(null==r?void 0:r.message)||(null==r?void 0:r.msg)||"包材绑定失败";return void uni.showModal({title:"包材绑定失败",content:String(e),showCancel:!1,confirmText:"确定"})}const p=r.package_material_name_snapshot||(null==t?void 0:t.material_name)||(null==t?void 0:t.material_code)||"";uni.showToast({title:p?`绑定成功:${p}`:"包材绑定成功",icon:"none"});const m=this.pmAutoRecheck,g=this.pmPendingWeigh;if(this.resetPackageMaterialDialog(),m){this.pmAutoRecheck=!1,this.pmPendingWeigh=!1;const e=this.getWaveRepresentWaybill(this.currentOrderHeader)||"",t=this.getReviewKeepKey(this.currentOrderHeader);return await this.doConfirmRecheck(!1)?void(e?(this.pmAfterReviewWeighWaybill=e,this.pmAfterReviewReviewKey=t,this.pmPostReviewWeighPending=!0,this.weighReviewMode=!1,this.weighInputValue="",this.weighDialogVisible=!0):this.scheduleScanInputFocus(150)):void this.scheduleScanInputFocus(150)}g?(this.pmPendingWeigh=!1,this.weighReviewMode=!0,this.weighInputValue="",this.weighDialogVisible=!0):this.scheduleScanInputFocus(150)}catch(o){uni.showToast({title:"包材绑定失败,请重试",icon:"none"})}finally{this.pmBinding=!1}var n,a}else uni.showToast({title:"请先扫描并选择包材",icon:"none"})},handleWeighPlus(){this.weighInputValue=String((Number(this.weighInputValue)||0)+1)},openSettingsDialog(){this.settingsVisible=!0},closeSettingsDialog(){this.settingsVisible=!1,this.scheduleScanInputFocus(150)},loadSettings(){const e=uni.getStorageSync(m),t=uni.getStorageSync(g),i=uni.getStorageSync(v),s=uni.getStorageSync(w),n=uni.getStorageSync(y);"on"!==e&&"off"!==e||(this.settingBindPackage="on"===e),"on"!==t&&"off"!==t||(this.settingPmKeyboard="on"===t),"auto"!==i&&"manual"!==i||(this.settingShipMode=i),"先打印后复核"!==s&&"先复核后打印"!==s&&"不打印"!==s||(this.selectedReviewProcess=s),"不称重"!==n&&"称重"!==n||(this.selectedWeigh=n)},setSettingBindPackage(e){this.settingBindPackage=!!e,uni.setStorageSync(m,this.settingBindPackage?"on":"off")},setSettingPmKeyboard(e){this.settingPmKeyboard=!!e,uni.setStorageSync(g,this.settingPmKeyboard?"on":"off")},setSettingShipMode(e){this.settingShipMode="auto"===e?"auto":"manual",uni.setStorageSync(v,this.settingShipMode)},setReviewProcess(e){this.selectedReviewProcess="先复核后打印"===e||"不打印"===e?e:"先打印后复核",uni.setStorageSync(w,this.selectedReviewProcess)},setWeighSetting(e){this.selectedWeigh="称重"===e?"称重":"不称重",uni.setStorageSync(y,this.selectedWeigh)},handleWeighMinus(){const e=Number(this.weighInputValue)||0;this.weighInputValue=String(Math.max(0,e-1))},async confirmWeigh(){const e=(this.weighInputValue||"").trim();if(""===e)return void uni.showToast({title:"请输入称重重量",icon:"none"});const t=Number(e);if(!Number.isInteger(t)||t<=0)return void uni.showToast({title:"重量必须为正整数(g)",icon:"none"});let i;if("group"===this.scanListType){const e=this.pmAfterReviewWeighWaybill||this.getWaveRepresentWaybill(this.currentOrderHeader);if(!e)return void uni.showToast({title:"未找到波次运单号,无法称重",icon:"none"});i={order_id:0,waybill_code:e,weighing_weight:t}}else{const e=this.getScanOrderId(this.currentOrderHeader);if(""===e)return void uni.showToast({title:"未找到订单ID,无法称重",icon:"none"});i={order_id:e,weighing_weight:t}}try{const e=await function(e,t){return s("order.updateExpressWeighingWeight",{...h,...e},t)}(i),n=(null==e?void 0:e.data)||(null==e?void 0:e.result)||e||{},a="success"===(null==e?void 0:e.flag)||"success"===(null==n?void 0:n.flag),o=200===(null==e?void 0:e.code)||"200"===(null==e?void 0:e.code)||200===(null==n?void 0:n.code)||"200"===(null==n?void 0:n.code);if(!a||!o){const t=(null==e?void 0:e.message)||(null==e?void 0:e.msg)||(null==n?void 0:n.message)||(null==n?void 0:n.msg)||"称重保存失败";return void uni.showModal({title:"称重失败",content:String(t),showCancel:!1,confirmText:"确定"})}uni.showToast({title:`保存成功:${t} g`,icon:"none"}),this.weighDialogVisible=!1;const r=this.weighReviewMode;this.weighReviewMode=!1;const l=this.pmAfterReviewReviewKey;if(this.pmAfterReviewWeighWaybill="",this.pmAfterReviewReviewKey="",this.pmPostReviewWeighPending=!1,r)return void(await this.doConfirmRecheck());l&&this.autoSelectNextPendingOrder(l),this.scheduleScanInputFocus(150)}catch(n){uni.showToast({title:"保存失败,请重试",icon:"none"})}},handleProductRowClick(e){if(e)return this.pmPostReviewWeighPending?(this.weighReviewMode=!1,this.weighInputValue="",void(this.weighDialogVisible=!0)):void this.autoOpenWeighAfterScan()},handleLongPressProduct(e){e&&(this.reviewLocked?uni.showToast({title:"该订单已复核,无法无条码复核",icon:"none"}):this.isProductScanned(e)?uni.showToast({title:"该商品已全部复核",icon:"none"}):(this.noBarcodeReviewTarget=e,this.noBarcodeReviewVisible=!0))},isProductScanned(e){const t=Number(null==e?void 0:e.quantity)||0,i=Number(null==e?void 0:e.scannedQty)||0;return t>0&&i>=t},closeNoBarcodeReview(){this.noBarcodeReviewVisible=!1,this.noBarcodeReviewTarget=null,this.scheduleScanInputFocus(150)},confirmNoBarcodeReview(){const e=this.noBarcodeReviewTarget;if(!e)return void this.closeNoBarcodeReview();const t=Number(e.quantity)||0,i=Number(e.scannedQty)||0;if(t<=0)uni.showToast({title:"该商品无数量,无法标记",icon:"none"});else{if(i>=t)return uni.showToast({title:"该商品已全部复核",icon:"none"}),void this.closeNoBarcodeReview();e.scannedQty=t,this.syncDetailStats(this.currentOrderHeader,this.displayOrders),uni.showToast({title:`已将「${e.productName||""}」标记为已复核`,icon:"none"}),this.closeNoBarcodeReview(),this.autoOpenWeighAfterScan()}},handlePrinterSelectStart(){0===this.printerList.length&&this.loadPrinters(),this.printerOpened=!0},handlePrinterPickStart(){this.printerOpened=!0},handlePrinterPickEnd(){this.printerOpened=!1},handlePrinterChange(e){const t=this.printerList[Number(e.detail.value)]||null;this.selectedPrinter=t?this.getPrinterName(t):"",this.selectedPrinterId=t?this.getPrinterId(t):"",this.printerOpened=!1},handlePrinterCancel(){this.printerOpened=!1},getPrinterId:e=>(null==e?void 0:e.id)??(null==e?void 0:e.printer_id)??"",getPrinterName:e=>(null==e?void 0:e.name)||(null==e?void 0:e.printer_name)||"",async loadPrinters(){try{const e=await function(e={},t){return s("print.getList",{...h,...e},t)}({page:1,pageSize:100}),t=(null==e?void 0:e.data)||(null==e?void 0:e.result)||e||{},i=Array.isArray(null==t?void 0:t.list)?t.list:[];this.printerList=i}catch(e){}},getScanOrderSource:e=>e&&"object"==typeof e&&e.detail&&"object"==typeof e.detail?e.detail:e||{},getScanOrderNo(e){const t=this.getScanOrderSource(e);return this.getRowValue(t,["waybill_no"])},getWaveIndex(e){const t=this.getScanOrderSource(e);return this.getRowValue(t,["wave_index","waveIndex"])},formatWaveIndex(e){const t=this.getWaveIndex(e);return""!==t?`[${t}]`:"-"},getScanOrderId(e){const t=this.getScanOrderSource(e);return this.getRowValue(t,["id","order_id","orderId"])},getScanOrderKey(e){return this.getScanOrderNo(e)||this.getScanOrderId(e)||""},formatWeight:e=>null==e||""===e?"-":String(e),getWavePrintStatus(e){const t=this.getRowValue(e,["printed_count","printedCount"]),i=this.getRowValue(e,["unprinted_count","unprintedCount"]);if(""!==i)return 0===Number(i)?"已打印":"未打印";if(""!==t)return Number(t)>0?"已打印":"未打印";const s=this.getRowValue(e,["print_status","printStatus","is_printed","isPrinted"]);return!0===s||1===s||"1"===s||"是"===s?"已打印":!1===s||0===s||"0"===s||"否"===s?"未打印":"-"},getWaveReviewStatus(e){const t=this.getRowValue(e,["reviewed_count","reviewedCount"]),i=this.getRowValue(e,["unreviewed_count","unreviewedCount"]);if(""!==i)return 0===Number(i)?"已复核":"未复核";if(""!==t)return Number(t)>0?"已复核":"未复核";const s=this.getRowValue(e,["is_reviewed","isReviewed"]);return!0===s||1===s||"1"===s||"是"===s||"Y"===s||"yes"===s?"已复核":!1===s||0===s||"0"===s||"否"===s||"N"===s||"no"===s?"未复核":this.getRowValue(e,["review_status","reviewStatus","wave_status","waveStatus"])||"-"},getInterceptStatus(e){const t=this.getScanOrderSource(e);return this.getRowValue(t,["intercept_status","interceptStatus"])||""},isIntercepted(e){return"requested"===this.getInterceptStatus(e)},isInterceptedDone(e){const t=this.getInterceptStatus(e);return"intercepted_at_warehouse"===t||"intercepted"===t},getWaveInterceptCount(e){const t=Array.isArray(null==e?void 0:e.orders)?e.orders:[];let i=0,s=0;for(const n of t)this.isIntercepted(n)?i+=1:this.isInterceptedDone(n)&&(s+=1);return{intercept:i,intercepted:s}},getWaveInterceptLabel(e){const{intercept:t,intercepted:i}=this.getWaveInterceptCount(e);return i>0?"已拦截":t>0?"拦截":""},getWaveRepresentWaybill(e){if(!e||"object"!=typeof e)return"";const t=this.getRowValue(e,["first_waybill_no","firstWaybillNo"]);return""!==t?t:this.getScanOrderNo(e)},markRowIntercepted(e){if(""===e||null==e)return;const t=String(e),i=e=>{const i=this.getScanOrderId(e);if(""!==i&&String(i)===t){const t=this.getScanOrderSource(e);return t&&"object"==typeof t&&(t.intercept_status="intercepted_at_warehouse"),!0}return!1};for(const s of this.scanOrderList){if(i(s))return;if(s&&Array.isArray(s.orders))for(const e of s.orders)if(i(e))return}},isInterceptExcluded(e){const t=this.getInterceptStatus(e);return"requested"===t||"intercepted_at_warehouse"===t||"intercepted"===t},countUnreviewedExcludingIntercepted(e){const t=Array.isArray(e)?e:[];let i=0;for(const s of t){const e=Array.isArray(null==s?void 0:s.orders)?s.orders:[];if(e.length>0){const t=Number(this.getRowValue(s,["unreviewed_count","unreviewedCount"]))||0,n=e.filter(e=>this.isInterceptExcluded(e)&&"未复核"===this.getWaveReviewStatus(e)).length;i+=Math.max(0,t-n);continue}this.isInterceptExcluded(s)||"未复核"===this.getWaveReviewStatus(s)&&(i+=1)}return i},refreshWaveSummary(){const e=Array.isArray(this.scanOrderList)?this.scanOrderList:[];this.waveUnreviewedCount=this.countUnreviewedExcludingIntercepted(e)},handleScanOrderClick(e){this.interceptMode=!1,this.interceptLocked=!1,this.interceptTarget=null;const t=this.getScanOrderSource(e);this.selectedPendingOrderKey=this.getScanOrderKey(e),this.selectedOrderNo=this.getScanOrderNo(e),this.selectedItemsWeight=this.getRowValue(e,["items_weight","itemsWeight"]),this.selectedWaveNo=this.getRowValue(e,["wave_no","waveNo"]),this.selectedWaveIndex=this.getRowValue(e,["wave_index","waveIndex"]);const i=this.getRowValue(e,["suggested_package_material","suggestedPackageMaterial"]);this.selectedPackageMaterial=i?this.formatPackageMaterial(i):null,this.selectedPackageMaterialInfo=i&&"object"==typeof i?i:null;const s=this.getRowValue(e,["detail"]),n=Array.isArray(null==e?void 0:e.items)?e.items:Array.isArray(null==e?void 0:e.stock)?e.stock:Array.isArray(null==e?void 0:e.stocks)?e.stocks:s&&Array.isArray(s.items)?s.items:null;if(this.currentOrderHeader=t,this.currentWaybillInfo=null,this.displayOrders=(n||[]).map(e=>this.normalizeOrderDetailItem(e)),this.syncDetailStats(t,this.displayOrders),this.isIntercepted(e)){const i=this.getScanOrderNo(e)||this.getRowValue(t,["order_id","orderId"]);return this.interceptMode=!0,this.interceptLocked=!1,this.interceptTarget={orderNo:i,orderId:this.getScanOrderId(e)},void uni.showToast({title:`已进入拦截确认:${i}`,icon:"none"})}if(this.isInterceptedDone(e)){const i=this.getScanOrderNo(e)||this.getRowValue(t,["order_id","orderId"]);this.interceptMode=!0,this.interceptLocked=!0,this.interceptTarget={orderNo:i,orderId:this.getScanOrderId(e)},uni.showToast({title:`订单「${i}」已拦截`,icon:"none"})}},getWaveKey(e){return String(this.getRowValue(e,["wave_id","waveId","wave_no","waveNo"])||"")},formatPackageMaterial(e){if(!e)return null;if("object"==typeof e){const t=e.name||e.code||"",i=e.type?`(${e.type})`:"";return t?`${t}${i}`:String(e)}return String(e)},handleWaveClick(e){this.interceptMode=!1,this.interceptLocked=!1,this.interceptTarget=null,this.selectedWaveKey=this.getWaveKey(e),this.pmPostReviewWeighPending&&this.getReviewKeepKey(e)!==this.pmAfterReviewReviewKey&&this.clearPostReviewWeighState(),this.selectedPendingOrderKey="",this.selectedOrderNo=this.getRowValue(e,["wave_no","waveNo"])||"",this.selectedItemsWeight=this.getRowValue(e,["items_weight","itemsWeight"]);const t=this.getRowValue(e,["suggested_package_material","suggestedPackageMaterial"]);this.selectedPackageMaterial=t?this.formatPackageMaterial(t):null,this.selectedPackageMaterialInfo=t&&"object"==typeof t?t:null,this.currentOrderHeader=e,this.currentWaybillInfo=null;const i=Array.isArray(e.stocks)?e.stocks:Array.isArray(e.orders)?e.orders:[];this.displayOrders=i.map(e=>this.normalizeOrderDetailItem(e)),this.syncDetailStats(e,this.displayOrders),"已复核"===this.getWaveReviewStatus(e)&&this.markAllProductsScanned()},markAllProductsScanned(){const e=this.displayOrders||[];e.forEach(e=>{const t=Number(null==e?void 0:e.quantity)||0;t>0&&(e.scannedQty=t)}),e.length>0&&this.syncDetailStats(this.currentOrderHeader,e)}},mounted(){this.loadPrinters(),this.loadSettings(),this.setupScanCaptureMode(),this.attachPlusKeyboardListener(),this.attachGlobalKeyboardListener(),this.suppressSoftKeyboardBurst(),this.scheduleScanInputFocus(260),this.$nextTick(()=>{this.enableHiddenInputCapture||this.activateSearchInput()})},activated(){this.pageActive=!0,this.setupScanCaptureMode(),this.attachPlusKeyboardListener(),this.attachGlobalKeyboardListener(),this.suppressSoftKeyboardBurst(),this.scheduleScanInputFocus(260)},deactivated(){this.pageActive=!1,this.removePlusKeyboardListener(),this.removeGlobalKeyboardListener(),this.clearScanFocusResumeTimer(),this.clearKeyboardSuppressTimers(),this.clearHiddenScanTimer(),this.clearPlusKeyTimer(),this.clearHiddenRefocusTimer(),this.scanHiddenFocused=!1,this.scanInputFocus=!1},beforeUnmount(){this.pageActive=!1,this.onResizeEnd(),this.removePlusKeyboardListener(),this.removeGlobalKeyboardListener(),this.clearScanFocusResumeTimer(),this.clearKeyboardSuppressTimers(),this.clearHiddenScanTimer(),this.clearPlusKeyTimer(),this.clearHiddenRefocusTimer(),this.scanTimer&&(clearTimeout(this.scanTimer),this.scanTimer=null)}},[["render",function(t,i,s,n,a,o){var r;const l=e.resolveComponent("top-nav");return e.openBlock(),e.createElementBlock("view",{class:"page"},[s.embedded?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(l,{key:0})),e.createElementVNode("view",{class:"page-main order-review-one"},[e.createElementVNode("view",{class:"container container--compact-top"},[e.createElementVNode("view",{class:"content-panel"},[e.createElementVNode("view",{class:"panel-left"},[o.hasSelection?(e.openBlock(),e.createElementBlock("view",{key:0,class:"scan-qty-bar"},[e.createElementVNode("view",{class:"scan-qty-label"},"复核扫描"),e.createElementVNode("view",{class:"scan-qty-stepper"},[e.createElementVNode("text",{class:"scan-qty-text"},"数量"),e.createElementVNode("view",{class:"scan-qty-btn",onClick:i[0]||(i[0]=(...e)=>o.handleScanQtyMinus&&o.handleScanQtyMinus(...e))},"−"),e.withDirectives(e.createElementVNode("input",{class:"scan-qty-input","onUpdate:modelValue":i[1]||(i[1]=e=>a.scanQty=e),type:"number"},null,512),[[e.vModelText,a.scanQty]]),e.createElementVNode("view",{class:"scan-qty-btn",onClick:i[2]||(i[2]=(...e)=>o.handleScanQtyPlus&&o.handleScanQtyPlus(...e))},"+")])])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"search-bar"},[e.withDirectives(e.createElementVNode("input",{class:"search-input","onUpdate:modelValue":i[3]||(i[3]=e=>a.keyword=e),placeholder:o.searchPlaceholder,focus:a.searchFocus,"adjust-position":!1,"confirm-type":"search",onConfirm:i[4]||(i[4]=(...e)=>o.handleConfirm&&o.handleConfirm(...e)),onFocus:i[5]||(i[5]=(...e)=>o.handleSearchFocus&&o.handleSearchFocus(...e)),onBlur:i[6]||(i[6]=(...e)=>o.handleSearchBlur&&o.handleSearchBlur(...e))},null,40,["placeholder","focus"]),[[e.vModelText,a.keyword]])]),a.scanActive?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},["single"===a.scanListType&&a.scanOrderList.length>0?(e.openBlock(),e.createElementBlock("view",{key:0,class:"table-wrap table-wrap--current-wave table-wrap--current-wave-sticky"},[e.createElementVNode("scroll-view",{class:"left-reviewed-list left-reviewed-list--current-wave left-reviewed-list--current-wave-body","scroll-y":""},[e.createElementVNode("view",{class:"table-body"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.scanOrderList,(t,i)=>(e.openBlock(),e.createElementBlock("view",{key:`scan-${i}`,class:e.normalizeClass(["table-row","scan-row",i%2==1?"table-row--alt":"",a.selectedPendingOrderKey===o.getScanOrderKey(t)?"table-row--selected":"","已复核"===o.getWaveReviewStatus(t)?"scan-row--reviewed":"",o.isIntercepted(t)||o.isInterceptedDone(t)?"scan-row--intercept":""]),onClick:e=>o.handleScanOrderClick(t)},[e.createElementVNode("text",{class:e.normalizeClass(["table-cell","cell-review-status","未复核"===o.getWaveReviewStatus(t)?"cell-review-status--unreviewed":""])},e.toDisplayString(o.getWaveReviewStatus(t)),3),e.createElementVNode("text",{class:"table-cell cell-wave-index"},e.toDisplayString(o.formatWaveIndex(t)),1),e.createElementVNode("text",{class:"table-cell cell-wave-no"},e.toDisplayString(o.getScanOrderNo(t)),1),e.createElementVNode("text",{class:e.normalizeClass(["table-cell","cell-print-status","未打印"===o.getWavePrintStatus(t)?"cell-print-status--unprinted":""])},e.toDisplayString(o.getWavePrintStatus(t)),3),o.isIntercepted(t)?(e.openBlock(),e.createElementBlock("view",{key:0,class:"cell-intercept"},"拦截")):o.isInterceptedDone(t)?(e.openBlock(),e.createElementBlock("view",{key:1,class:"cell-intercept cell-intercept--done"},"已拦截")):e.createCommentVNode("",!0)],10,["onClick"]))),128))])])])):"single"===a.scanListType?(e.openBlock(),e.createElementBlock("view",{key:1,class:"empty-panel empty-panel--left"},"暂无匹配订单")):"group"===a.scanListType&&a.scanOrderList.length>0?(e.openBlock(),e.createElementBlock("view",{key:2,class:"table-wrap table-wrap--current-wave table-wrap--current-wave-sticky"},[e.createElementVNode("scroll-view",{class:"left-reviewed-list left-reviewed-list--current-wave left-reviewed-list--current-wave-body","scroll-y":""},[e.createElementVNode("view",{class:"table-body"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.scanOrderList,(t,i)=>(e.openBlock(),e.createElementBlock("view",{key:`wave-${t.wave_id||i}`,class:e.normalizeClass(["table-row","wave-group-header",i%2==1?"table-row--alt":"",a.selectedWaveKey===o.getWaveKey(t)?"table-row--selected":"","已复核"===o.getWaveReviewStatus(t)?"scan-row--reviewed":"",o.getWaveInterceptLabel(t)?"scan-row--intercept":""]),onClick:e=>o.handleWaveClick(t)},[e.createElementVNode("text",{class:e.normalizeClass(["table-cell","cell-review-status","未复核"===o.getWaveReviewStatus(t)?"cell-review-status--unreviewed":""])},e.toDisplayString(o.getWaveReviewStatus(t)),3),e.createElementVNode("text",{class:"table-cell cell-wave-no"},e.toDisplayString(t.wave_no||t.wave_id||"-"),1),e.createElementVNode("text",{class:e.normalizeClass(["table-cell","cell-print-status","未打印"===o.getWavePrintStatus(t)?"cell-print-status--unprinted":""])},e.toDisplayString(o.getWavePrintStatus(t)),3),o.getWaveInterceptLabel(t)?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["cell-intercept","已拦截"===o.getWaveInterceptLabel(t)?"cell-intercept--done":""])},e.toDisplayString(o.getWaveInterceptLabel(t)),3)):e.createCommentVNode("",!0)],10,["onClick"]))),128))])])])):"group"===a.scanListType?(e.openBlock(),e.createElementBlock("view",{key:3,class:"empty-panel empty-panel--left"},"暂无匹配波次")):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock("view",{key:2,class:"empty-panel empty-panel--left"},"请输入关键词查询")),a.scanActive&&a.scanOrderList.length>0?(e.openBlock(),e.createElementBlock("view",{key:3,class:"left-summary-bar"},[e.createElementVNode("text",{class:"left-summary-text"},[e.createTextVNode("波次总单数:"),e.createElementVNode("text",{class:"left-summary-num"},e.toDisplayString(a.waveTotalOrders),1)]),e.createElementVNode("text",{class:"left-summary-sep"},"|"),e.createElementVNode("text",{class:"left-summary-text"},[e.createTextVNode("剩余未复核:"),e.createElementVNode("text",{class:"left-summary-num left-summary-num--orange"},e.toDisplayString(a.waveUnreviewedCount),1)]),e.createElementVNode("button",{class:"left-summary-refresh",onClick:i[7]||(i[7]=(...e)=>o.handleRefresh&&o.handleRefresh(...e))},"刷新")])):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"panel-right"},[e.createElementVNode("view",{class:"review-toolbar"},[e.createElementVNode("button",{class:"tool-btn tool-btn--blue",onClick:i[8]||(i[8]=(...e)=>o.openSettingsDialog&&o.openSettingsDialog(...e))},"设置"),e.createElementVNode("button",{class:e.normalizeClass(["tool-btn",a.interceptMode?"tool-btn--intercept":"tool-btn--confirm"]),disabled:!o.hasSelection||a.interceptLocked||o.reviewLocked||!a.interceptMode&&!o.allProductsScanned,onClick:i[9]||(i[9]=(...e)=>o.handleConfirmReview&&o.handleConfirmReview(...e))},e.toDisplayString(a.interceptMode?"确认拦截":"确认复核"),11,["disabled"]),e.createElementVNode("button",{class:"tool-btn",onClick:i[10]||(i[10]=(...e)=>o.handleClear&&o.handleClear(...e))},"清空"),e.createElementVNode("button",{class:"tool-btn tool-btn--blue-outline",onClick:i[11]||(i[11]=(...e)=>o.handleBatchQuickReview&&o.handleBatchQuickReview(...e))},"批量快捷复核"),e.createElementVNode("button",{class:"tool-btn tool-btn--blue-outline",onClick:i[12]||(i[12]=(...e)=>o.handleSingleReviewList&&o.handleSingleReviewList(...e))},"散单复核列表"),e.createElementVNode("button",{class:"tool-btn tool-btn--orange",disabled:!o.hasSelection,onClick:i[13]||(i[13]=(...e)=>o.handleRePrintLabel&&o.handleRePrintLabel(...e))},"面单补打",8,["disabled"]),"group"===a.scanListType?(e.openBlock(),e.createElementBlock("button",{key:0,class:"tool-btn tool-btn--blue",disabled:!o.hasSelection,onClick:i[14]||(i[14]=(...e)=>o.handleAddPackageMaterial&&o.handleAddPackageMaterial(...e))},"包材",8,["disabled"])):e.createCommentVNode("",!0),e.createElementVNode("button",{class:"tool-btn tool-btn--blue",disabled:!o.hasSelection,onClick:i[15]||(i[15]=(...e)=>o.handleWeigh&&o.handleWeigh(...e))},"称重",8,["disabled"]),e.createElementVNode("picker",{range:o.printerOptions,onChange:i[17]||(i[17]=(...e)=>o.handlePrinterChange&&o.handlePrinterChange(...e)),onCancel:i[18]||(i[18]=(...e)=>o.handlePrinterCancel&&o.handlePrinterCancel(...e)),onPickstart:i[19]||(i[19]=(...e)=>o.handlePrinterPickStart&&o.handlePrinterPickStart(...e)),onPickend:i[20]||(i[20]=(...e)=>o.handlePrinterPickEnd&&o.handlePrinterPickEnd(...e))},[e.createElementVNode("view",{class:e.normalizeClass(["tool-select","tool-select--printer",a.printerOpened?"tool-select--open":""]),onClick:i[16]||(i[16]=(...e)=>o.handlePrinterSelectStart&&o.handlePrinterSelectStart(...e))},[e.createElementVNode("text",{class:"tool-select-text"},e.toDisplayString(a.selectedPrinter||"选择打印台"),1),e.createElementVNode("view",{class:"tool-select-arrow"},[(e.openBlock(),e.createElementBlock("svg",{class:"tool-select-arrow-icon",viewBox:"0 0 24 24"},[e.createElementVNode("path",{d:"M6 9l6 6 6-6",fill:"none",stroke:"#909399","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"})]))])],2)],40,["range"]),o.hasSelection?(e.openBlock(),e.createElementBlock("text",{key:1,class:"tool-info-text tool-info-text--blue"},"拣货人:"+e.toDisplayString(a.pickerName||"-"),1)):e.createCommentVNode("",!0),o.hasSelection?(e.openBlock(),e.createElementBlock("text",{key:2,class:"tool-info-text tool-info-text--blue"},"货主:"+e.toDisplayString(a.storeRemark||"-"),1)):e.createCommentVNode("",!0),o.hasSelection&&"single"===a.scanListType?(e.openBlock(),e.createElementBlock("text",{key:3,class:"tool-info-text tool-info-text--gray"},"波次:"+e.toDisplayString(a.selectedWaveNo||"-"),1)):e.createCommentVNode("",!0),o.hasSelection&&"single"===a.scanListType?(e.openBlock(),e.createElementBlock("text",{key:4,class:"tool-info-text tool-info-text--orange"},"蓝号:"+e.toDisplayString(a.selectedWaveIndex||"-"),1)):e.createCommentVNode("",!0)]),o.hasSelection?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},["group"===a.scanListType&&o.recommendedPackageMaterialName?(e.openBlock(),e.createElementBlock("view",{key:0,class:"recommend-pack-bar"},[e.createElementVNode("text",{class:"recommend-pack-bar-label"},"推荐包材"),e.createElementVNode("text",{class:"recommend-pack-bar-name"},e.toDisplayString(o.recommendedPackageMaterialName),1)])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"detail-tab"},[e.createElementVNode("text",{class:"detail-tab-text"},"商品明细"),e.createElementVNode("text",{class:"detail-tab-summary"},[e.createTextVNode("已扫"),e.createElementVNode("text",{class:"detail-tab-summary--em"},e.toDisplayString(a.scannedCount),1),e.createTextVNode("/"+e.toDisplayString(a.totalCount)+"件",1)])]),e.createElementVNode("view",{class:"table-wrap table-wrap--detail table-wrap--detail-sticky"},[e.createElementVNode("view",{class:"table-header table-header--sticky"},[o.showBasketColumn?(e.openBlock(),e.createElementBlock("view",{key:0,class:"table-cell cell-basket",style:e.normalizeStyle(o.getColStyle("basket")),ref:"detail-header-basket"},[e.createTextVNode("篮号"),e.createElementVNode("view",{class:"col-resizer",onMousedown:i[21]||(i[21]=e.withModifiers(e=>o.startResize("basket",e),["prevent","stop"]))},null,32)],4)):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"table-cell cell-total",style:e.normalizeStyle(o.getColStyle("total")),ref:"detail-header-total"},[e.createTextVNode("总数"),e.createElementVNode("view",{class:"col-resizer",onMousedown:i[22]||(i[22]=e.withModifiers(e=>o.startResize("total",e),["prevent","stop"]))},null,32)],4),e.createElementVNode("view",{class:"table-cell cell-scanned",style:e.normalizeStyle(o.getColStyle("scanned")),ref:"detail-header-scanned"},[e.createTextVNode("已扫"),e.createElementVNode("view",{class:"col-resizer",onMousedown:i[23]||(i[23]=e.withModifiers(e=>o.startResize("scanned",e),["prevent","stop"]))},null,32)],4),e.createElementVNode("view",{class:"table-cell cell-name",style:e.normalizeStyle(o.getColStyle("name")),ref:"detail-header-name"},[e.createTextVNode("商品名称"),e.createElementVNode("view",{class:"col-resizer",onMousedown:i[24]||(i[24]=e.withModifiers(e=>o.startResize("name",e),["prevent","stop"]))},null,32)],4),e.createElementVNode("view",{class:"table-cell cell-image",style:e.normalizeStyle(o.getColStyle("image")),ref:"detail-header-image"},[e.createTextVNode("图片"),e.createElementVNode("view",{class:"col-resizer",onMousedown:i[25]||(i[25]=e.withModifiers(e=>o.startResize("image",e),["prevent","stop"]))},null,32)],4),e.createElementVNode("view",{class:"table-cell cell-barcode",style:e.normalizeStyle(o.getColStyle("barcode")),ref:"detail-header-barcode"},[e.createTextVNode("条码"),e.createElementVNode("view",{class:"col-resizer",onMousedown:i[26]||(i[26]=e.withModifiers(e=>o.startResize("barcode",e),["prevent","stop"]))},null,32)],4),e.createElementVNode("view",{class:"table-cell cell-spec",style:e.normalizeStyle(o.getColStyle("spec")),ref:"detail-header-spec"},[e.createTextVNode("规格"),e.createElementVNode("view",{class:"col-resizer",onMousedown:i[27]||(i[27]=e.withModifiers(e=>o.startResize("spec",e),["prevent","stop"]))},null,32)],4),e.createElementVNode("view",{class:"table-cell cell-pack",style:e.normalizeStyle(o.getColStyle("pack")),ref:"detail-header-pack"},[e.createTextVNode("打包要求"),e.createElementVNode("view",{class:"col-resizer",onMousedown:i[28]||(i[28]=e.withModifiers(e=>o.startResize("pack",e),["prevent","stop"]))},null,32)],4)]),o.hasSelection&&a.displayOrders.length>0?(e.openBlock(),e.createElementBlock("scroll-view",{key:0,class:"table-scroll table-scroll--detail table-scroll--detail-body","scroll-y":""},[e.createElementVNode("view",{class:"table-body"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.displayOrders,(t,i)=>(e.openBlock(),e.createElementBlock("view",{key:t.barcode||i,class:e.normalizeClass(["table-row",i%2==1?"table-row--alt":"",o.isProductScanned(t)?"detail-row--scanned":""]),onLongpress:e=>o.handleLongPressProduct(t),onClick:e=>o.handleProductRowClick(t)},[o.showBasketColumn?(e.openBlock(),e.createElementBlock("text",{key:0,class:"table-cell cell-basket",style:e.normalizeStyle(o.getColStyle("basket"))},e.toDisplayString(t.basketNo||"-"),5)):e.createCommentVNode("",!0),e.createElementVNode("text",{class:"table-cell cell-total",style:e.normalizeStyle(o.getColStyle("total"))},e.toDisplayString(t.quantity),5),e.createElementVNode("text",{class:"table-cell cell-scanned",style:e.normalizeStyle(o.getColStyle("scanned"))},e.toDisplayString(t.scannedQty),5),e.createElementVNode("text",{class:"table-cell cell-name",style:e.normalizeStyle(o.getColStyle("name"))},e.toDisplayString(t.productName),5),e.createElementVNode("view",{class:"table-cell cell-image",style:e.normalizeStyle(o.getColStyle("image"))},[t.image?(e.openBlock(),e.createElementBlock("image",{key:0,class:"item-image",src:t.image,mode:"aspectFit"},null,8,["src"])):(e.openBlock(),e.createElementBlock("text",{key:1,class:"cell-image-empty"},"-"))],4),e.createElementVNode("text",{class:"table-cell cell-barcode",style:e.normalizeStyle(o.getColStyle("barcode"))},e.toDisplayString(t.barcode),5),e.createElementVNode("text",{class:"table-cell cell-spec",style:e.normalizeStyle(o.getColStyle("spec"))},e.toDisplayString(t.spec),5),e.createElementVNode("text",{class:"table-cell cell-pack",style:e.normalizeStyle(o.getColStyle("pack"))},e.toDisplayString(t.packingRequirements),5)],42,["onLongpress","onClick"]))),128))])])):(e.openBlock(),e.createElementBlock("view",{key:1,class:"empty-panel empty-panel--right-inline"},"暂无匹配数据"))]),e.createElementVNode("view",{class:"detail-total"},[e.createElementVNode("text",{class:"detail-total-text"},[e.createTextVNode("合计 "),e.createElementVNode("text",{class:"detail-total-num"},e.toDisplayString(o.totalQuantity),1)])])],64)):(e.openBlock(),e.createElementBlock("view",{key:1,class:"detail-empty-tip"},"在左侧列表选择订单后,在此查看商品明细"))])])])]),a.weighDialogVisible?(e.openBlock(),e.createElementBlock("view",{key:1,class:"weigh-mask",onClick:i[36]||(i[36]=e.withModifiers((...e)=>o.closeWeighDialog&&o.closeWeighDialog(...e),["self"]))},[e.createElementVNode("view",{class:"weigh-dialog"},[e.createElementVNode("view",{class:"weigh-dialog-header"},[e.createElementVNode("text",{class:"weigh-dialog-title"},e.toDisplayString(o.weighDialogTitle),1),e.createElementVNode("text",{class:"weigh-dialog-close",onClick:i[29]||(i[29]=(...e)=>o.closeWeighDialog&&o.closeWeighDialog(...e))},"✕")]),e.createElementVNode("view",{class:"weigh-dialog-body"},[e.createElementVNode("view",{class:"weigh-stepper"},[e.createElementVNode("view",{class:"weigh-label-inline"},[e.createElementVNode("text",{class:"weigh-required"},"*"),e.createElementVNode("text",{class:"weigh-input-label"},"重量(g)")]),e.createElementVNode("view",{class:"weigh-step-btn",onClick:i[30]||(i[30]=(...e)=>o.handleWeighMinus&&o.handleWeighMinus(...e))},"−"),e.withDirectives(e.createElementVNode("input",{class:"weigh-input","onUpdate:modelValue":i[31]||(i[31]=e=>a.weighInputValue=e),type:"digit","adjust-position":!1,focus:"",placeholder:"请输入重量(g)","placeholder-class":"weigh-input-placeholder","confirm-type":"done",onConfirm:i[32]||(i[32]=(...e)=>o.confirmWeigh&&o.confirmWeigh(...e))},null,544),[[e.vModelText,a.weighInputValue]]),e.createElementVNode("view",{class:"weigh-step-btn",onClick:i[33]||(i[33]=(...e)=>o.handleWeighPlus&&o.handleWeighPlus(...e))},"+")])]),e.createElementVNode("view",{class:"weigh-dialog-footer"},[e.createElementVNode("button",{class:"weigh-btn weigh-btn--cancel",onClick:i[34]||(i[34]=(...e)=>o.closeWeighDialog&&o.closeWeighDialog(...e))},"取消"),e.createElementVNode("button",{class:"weigh-btn weigh-btn--confirm",onClick:i[35]||(i[35]=(...e)=>o.confirmWeigh&&o.confirmWeigh(...e))},"保存")])])])):e.createCommentVNode("",!0),a.packageMaterialDialogVisible?(e.openBlock(),e.createElementBlock("view",{key:2,class:"weigh-mask",onClick:i[42]||(i[42]=e.withModifiers((...e)=>o.closePackageMaterialDialog&&o.closePackageMaterialDialog(...e),["self"]))},[e.createElementVNode("view",{class:"weigh-dialog"},[e.createElementVNode("view",{class:"weigh-dialog-header"},[e.createElementVNode("text",{class:"weigh-dialog-title"},"包材绑定"),e.createElementVNode("text",{class:"weigh-dialog-close",onClick:i[37]||(i[37]=(...e)=>o.closePackageMaterialDialog&&o.closePackageMaterialDialog(...e))},"✕")]),e.createElementVNode("view",{class:"weigh-dialog-body"},[o.recommendedPackageMaterialName?(e.openBlock(),e.createElementBlock("view",{key:0,class:"weigh-info-row"},[e.createElementVNode("text",{class:"weigh-info-label"},"推荐包材"),e.createElementVNode("text",{class:"weigh-info-value"},e.toDisplayString(o.recommendedPackageMaterialName),1)])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"pm-scan-row"},[e.withDirectives(e.createElementVNode("input",{class:"weigh-input","onUpdate:modelValue":i[38]||(i[38]=e=>a.packageMaterialInput=e),"adjust-position":!1,focus:"",placeholder:"扫描/输入包材条码","placeholder-class":"weigh-input-placeholder","confirm-type":"search",onConfirm:i[39]||(i[39]=(...e)=>o.handlePackageMaterialSearch&&o.handlePackageMaterialSearch(...e))},null,544),[[e.vModelText,a.packageMaterialInput]])]),a.pmSearching?(e.openBlock(),e.createElementBlock("view",{key:1,class:"pm-tip"},"搜索中…")):e.createCommentVNode("",!0),a.pmSearchList.length>0?(e.openBlock(),e.createElementBlock("scroll-view",{key:2,class:"pm-result-scroll","scroll-y":""},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.pmSearchList,(t,i)=>{var s,n;return e.openBlock(),e.createElementBlock("view",{key:String(t.id??i),class:e.normalizeClass(["pm-result-item",String(null==(s=a.pmSelectedMaterial)?void 0:s.id)===String(t.id)?"pm-result-item--active":""]),onClick:e=>o.handlePackageMaterialSelect(t)},[e.createElementVNode("view",{class:"pm-result-main"},[e.createElementVNode("text",{class:"pm-result-name"},e.toDisplayString(t.material_name||"未命名包材"),1),e.createElementVNode("text",{class:"pm-result-code"},"编码:"+e.toDisplayString(t.material_code||"-"),1)]),e.createElementVNode("view",{class:"pm-result-meta"},[t.material_type?(e.openBlock(),e.createElementBlock("text",{key:0,class:"pm-result-tag"},e.toDisplayString(t.material_type),1)):e.createCommentVNode("",!0),t.spec?(e.openBlock(),e.createElementBlock("text",{key:1,class:"pm-result-spec"},"规格 "+e.toDisplayString(t.spec),1)):e.createCommentVNode("",!0)]),String(null==(n=a.pmSelectedMaterial)?void 0:n.id)===String(t.id)?(e.openBlock(),e.createElementBlock("text",{key:0,class:"pm-result-check"},"✓")):e.createCommentVNode("",!0)],10,["onClick"])}),128))])):e.createCommentVNode("",!0),a.pmSearched&&!a.pmSearching&&0===a.pmSearchList.length?(e.openBlock(),e.createElementBlock("view",{key:3,class:"pm-tip"},"未找到匹配的包材")):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"weigh-dialog-footer"},[e.createElementVNode("button",{class:"weigh-btn weigh-btn--cancel",onClick:i[40]||(i[40]=(...e)=>o.closePackageMaterialDialog&&o.closePackageMaterialDialog(...e))},"取消"),e.createElementVNode("button",{class:"weigh-btn weigh-btn--confirm",disabled:a.pmBinding,onClick:i[41]||(i[41]=(...e)=>o.confirmPackageMaterial&&o.confirmPackageMaterial(...e))},"保存",8,["disabled"])])])])):e.createCommentVNode("",!0),a.settingsVisible?(e.openBlock(),e.createElementBlock("view",{key:3,class:"weigh-mask",onClick:i[56]||(i[56]=e.withModifiers((...e)=>o.closeSettingsDialog&&o.closeSettingsDialog(...e),["self"]))},[e.createElementVNode("view",{class:"weigh-dialog weigh-dialog--settings"},[e.createElementVNode("view",{class:"weigh-dialog-header"},[e.createElementVNode("text",{class:"weigh-dialog-title"},"复核设置"),e.createElementVNode("text",{class:"weigh-dialog-close",onClick:i[43]||(i[43]=(...e)=>o.closeSettingsDialog&&o.closeSettingsDialog(...e))},"✕")]),e.createElementVNode("view",{class:"weigh-dialog-body"},[e.createElementVNode("view",{class:"setting-row"},[e.createElementVNode("text",{class:"setting-row-label"},"复核流程"),e.createElementVNode("view",{class:"setting-seg setting-seg--nowrap"},[e.createElementVNode("text",{class:e.normalizeClass(["setting-seg-item","先打印后复核"===a.selectedReviewProcess?"setting-seg-item--on":""]),onClick:i[44]||(i[44]=e=>o.setReviewProcess("先打印后复核"))},"先打印后复核",2),e.createElementVNode("text",{class:e.normalizeClass(["setting-seg-item","先复核后打印"===a.selectedReviewProcess?"setting-seg-item--on":""]),onClick:i[45]||(i[45]=e=>o.setReviewProcess("先复核后打印"))},"先复核后打印",2),e.createElementVNode("text",{class:e.normalizeClass(["setting-seg-item","不打印"===a.selectedReviewProcess?"setting-seg-item--on":""]),onClick:i[46]||(i[46]=e=>o.setReviewProcess("不打印"))},"不打印",2)])]),e.createElementVNode("view",{class:"setting-row"},[e.createElementVNode("text",{class:"setting-row-label"},"称重模式"),e.createElementVNode("view",{class:"setting-seg"},[e.createElementVNode("text",{class:e.normalizeClass(["setting-seg-item","称重"===a.selectedWeigh?"setting-seg-item--on":""]),onClick:i[47]||(i[47]=e=>o.setWeighSetting("称重"))},"称重",2),e.createElementVNode("text",{class:e.normalizeClass(["setting-seg-item","不称重"===a.selectedWeigh?"setting-seg-item--on":""]),onClick:i[48]||(i[48]=e=>o.setWeighSetting("不称重"))},"不称重",2)])]),e.createElementVNode("view",{class:"setting-row"},[e.createElementVNode("text",{class:"setting-row-label"},"绑定包材"),e.createElementVNode("view",{class:"setting-seg"},[e.createElementVNode("text",{class:e.normalizeClass(["setting-seg-item",a.settingBindPackage?"setting-seg-item--on":""]),onClick:i[49]||(i[49]=e=>o.setSettingBindPackage(!0))},"开启",2),e.createElementVNode("text",{class:e.normalizeClass(["setting-seg-item",a.settingBindPackage?"":"setting-seg-item--on"]),onClick:i[50]||(i[50]=e=>o.setSettingBindPackage(!1))},"关闭",2)])]),e.createElementVNode("view",{class:"setting-row"},[e.createElementVNode("text",{class:"setting-row-label"},"包材软键盘"),e.createElementVNode("view",{class:"setting-seg"},[e.createElementVNode("text",{class:e.normalizeClass(["setting-seg-item",a.settingPmKeyboard?"setting-seg-item--on":""]),onClick:i[51]||(i[51]=e=>o.setSettingPmKeyboard(!0))},"激活",2),e.createElementVNode("text",{class:e.normalizeClass(["setting-seg-item",a.settingPmKeyboard?"":"setting-seg-item--on"]),onClick:i[52]||(i[52]=e=>o.setSettingPmKeyboard(!1))},"不激活",2)])]),e.createElementVNode("view",{class:"setting-row"},[e.createElementVNode("text",{class:"setting-row-label"},"发货模式"),e.createElementVNode("view",{class:"setting-seg"},[e.createElementVNode("text",{class:e.normalizeClass(["setting-seg-item","auto"===a.settingShipMode?"setting-seg-item--on":""]),onClick:i[53]||(i[53]=e=>o.setSettingShipMode("auto"))},"自动发货",2),e.createElementVNode("text",{class:e.normalizeClass(["setting-seg-item","manual"===a.settingShipMode?"setting-seg-item--on":""]),onClick:i[54]||(i[54]=e=>o.setSettingShipMode("manual"))},"手动发货",2)])])]),e.createElementVNode("view",{class:"weigh-dialog-footer"},[e.createElementVNode("button",{class:"weigh-btn weigh-btn--close",onClick:i[55]||(i[55]=(...e)=>o.closeSettingsDialog&&o.closeSettingsDialog(...e))},"关闭")])])])):e.createCommentVNode("",!0),a.noBarcodeReviewVisible?(e.openBlock(),e.createElementBlock("view",{key:4,class:"weigh-mask",onClick:i[60]||(i[60]=e.withModifiers((...e)=>o.closeNoBarcodeReview&&o.closeNoBarcodeReview(...e),["self"]))},[e.createElementVNode("view",{class:"weigh-dialog"},[e.createElementVNode("view",{class:"weigh-dialog-header"},[e.createElementVNode("text",{class:"weigh-dialog-title"},"无条码复核"),e.createElementVNode("text",{class:"weigh-dialog-close",onClick:i[57]||(i[57]=(...e)=>o.closeNoBarcodeReview&&o.closeNoBarcodeReview(...e))},"✕")]),e.createElementVNode("view",{class:"weigh-dialog-body"},[e.createElementVNode("view",{class:"no-barcode-review-content"},[e.createElementVNode("text",{class:"no-barcode-review-title"},"将商品「"+e.toDisplayString((null==(r=a.noBarcodeReviewTarget)?void 0:r.productName)||"-")+"」标记为已复核?",1),e.createElementVNode("view",{class:"no-barcode-review-count"},[e.createElementVNode("text",{class:"no-barcode-review-count-item"},"已扫 "+e.toDisplayString(o.noBarcodeReviewScanned)+"/"+e.toDisplayString(o.noBarcodeReviewTotal)+" 件",1),e.createElementVNode("text",{class:"no-barcode-review-arrow"},"→"),e.createElementVNode("text",{class:"no-barcode-review-count-item no-barcode-review-count-item--done"},e.toDisplayString(o.noBarcodeReviewTotal)+"/"+e.toDisplayString(o.noBarcodeReviewTotal)+" 件",1)])])]),e.createElementVNode("view",{class:"weigh-dialog-footer"},[e.createElementVNode("button",{class:"weigh-btn weigh-btn--cancel",onClick:i[58]||(i[58]=(...e)=>o.closeNoBarcodeReview&&o.closeNoBarcodeReview(...e))},"取消"),e.createElementVNode("button",{class:"weigh-btn weigh-btn--confirm",onClick:i[59]||(i[59]=(...e)=>o.confirmNoBarcodeReview&&o.confirmNoBarcodeReview(...e))},"确认")])])])):e.createCommentVNode("",!0),a.confirmReviewVisible?(e.openBlock(),e.createElementBlock("view",{key:5,class:"weigh-mask",onClick:i[64]||(i[64]=e.withModifiers((...e)=>o.closeConfirmReview&&o.closeConfirmReview(...e),["self"]))},[e.createElementVNode("view",{class:"weigh-dialog"},[e.createElementVNode("view",{class:"weigh-dialog-header"},[e.createElementVNode("text",{class:"weigh-dialog-title"},"确认复核"),e.createElementVNode("text",{class:"weigh-dialog-close",onClick:i[61]||(i[61]=(...e)=>o.closeConfirmReview&&o.closeConfirmReview(...e))},"✕")]),e.createElementVNode("view",{class:"weigh-dialog-body"},[e.createElementVNode("view",{class:"confirm-review-content"},[e.createElementVNode("text",{class:"confirm-review-text"},e.toDisplayString(a.confirmReviewOrderNo?`确认对「${a.confirmReviewOrderNo}」执行复核操作?`:"确认执行复核操作?"),1)])]),e.createElementVNode("view",{class:"weigh-dialog-footer"},[e.createElementVNode("button",{class:"weigh-btn weigh-btn--cancel",onClick:i[62]||(i[62]=(...e)=>o.closeConfirmReview&&o.closeConfirmReview(...e))},"取消"),e.createElementVNode("button",{class:"weigh-btn weigh-btn--confirm",onClick:i[63]||(i[63]=(...e)=>o.confirmReviewConfirm&&o.confirmReviewConfirm(...e))},"确认")])])])):e.createCommentVNode("",!0),a.batchReviewVisible?(e.openBlock(),e.createElementBlock("view",{key:6,class:"weigh-mask",onClick:i[72]||(i[72]=e.withModifiers((...e)=>o.closeBatchReview&&o.closeBatchReview(...e),["self"]))},[e.createElementVNode("view",{class:"weigh-dialog batch-dialog"},[e.createElementVNode("view",{class:"weigh-dialog-header"},[e.createElementVNode("text",{class:"weigh-dialog-title"},"批量快捷复核"),e.createElementVNode("text",{class:"weigh-dialog-close",onClick:i[65]||(i[65]=(...e)=>o.closeBatchReview&&o.closeBatchReview(...e))},"✕")]),e.createElementVNode("view",{class:"weigh-dialog-body"},[e.createElementVNode("view",{class:"batch-review-desc"},"对每个订单执行前置检查并自动完成拣货(如需)后标记复核;各订单独立事务,支持部分失败。"),e.createElementVNode("view",{class:"batch-review-label"},e.toDisplayString("group"===a.scanListType?"波次 ID":"订单 ID"),1),e.withDirectives(e.createElementVNode("textarea",{class:"batch-review-input","onUpdate:modelValue":i[66]||(i[66]=e=>a.batchReviewInput=e),"adjust-position":!1,placeholder:"group"===a.scanListType?"支持多个波次ID,逗号、空格或换行分隔;也可直接粘贴ID列表":"支持多个订单ID,逗号、空格或换行分隔;也可直接粘贴ID列表","placeholder-class":"batch-review-placeholder"},null,8,["placeholder"]),[[e.vModelText,a.batchReviewInput]]),e.createElementVNode("view",{class:"batch-review-actions"},[e.createElementVNode("view",{class:"batch-review-status"},[e.createTextVNode("已解析 "),e.createElementVNode("text",{class:"batch-review-status-num"},e.toDisplayString(o.batchParsedCount),1),e.createTextVNode(" 个有效ID")]),e.createElementVNode("button",{class:"batch-review-fill",onClick:i[67]||(i[67]=(...e)=>o.fillBatchUnreviewedOrders&&o.fillBatchUnreviewedOrders(...e))},e.toDisplayString("group"===a.scanListType?"填入当前未复核波次":"填入当前未复核订单")+"("+e.toDisplayString(o.batchFillableCount)+")",1)]),a.batchReviewError?(e.openBlock(),e.createElementBlock("view",{key:0,class:"batch-review-error"},e.toDisplayString(a.batchReviewError),1)):e.createCommentVNode("",!0),a.batchResultDone?(e.openBlock(),e.createElementBlock("view",{key:1,class:"batch-result-box"},[e.createElementVNode("view",{class:"batch-result-head"},[e.createElementVNode("text",{class:"batch-result-head-line"}),e.createElementVNode("text",{class:"batch-result-head-text"},"执行结果"),e.createElementVNode("text",{class:"batch-result-head-line"})]),e.createElementVNode("view",{class:"batch-result-tabs"},[e.createElementVNode("text",{class:e.normalizeClass(["batch-result-tab","success"===a.batchResultTab?"batch-result-tab--active":""]),onClick:i[68]||(i[68]=e=>a.batchResultTab="success")},"成功("+e.toDisplayString(o.batchResultSuccessCount)+")",3),e.createElementVNode("text",{class:e.normalizeClass(["batch-result-tab","failed"===a.batchResultTab?"batch-result-tab--active":""]),onClick:i[69]||(i[69]=e=>a.batchResultTab="failed")},"失败("+e.toDisplayString(o.batchResultFailedCount)+")",3)]),e.createElementVNode("view",{class:"batch-result-table"},[e.createElementVNode("view",{class:"batch-result-row batch-result-row--header"},[e.createElementVNode("text",{class:"batch-result-cell batch-result-cell--id"},"订单 ID"),e.createElementVNode("text",{class:"batch-result-cell batch-result-cell--waybill"},"运单号"),e.createElementVNode("text",{class:"batch-result-cell batch-result-cell--reason"},"原因"),e.createElementVNode("text",{class:"batch-result-cell batch-result-cell--note"},"说明")]),o.currentBatchResultRows.length>0?(e.openBlock(),e.createElementBlock("scroll-view",{key:0,class:"batch-result-scroll","scroll-y":""},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.currentBatchResultRows,(t,i)=>(e.openBlock(),e.createElementBlock("view",{key:`br-${i}`,class:e.normalizeClass(["batch-result-row","failed"===a.batchResultTab?"batch-result-row--failed":"batch-result-row--success",i%2==1?"batch-result-row--alt":""])},[e.createElementVNode("text",{class:"batch-result-cell batch-result-cell--id"},e.toDisplayString(t.order_id),1),e.createElementVNode("text",{class:"batch-result-cell batch-result-cell--waybill"},e.toDisplayString(t.waybill_no||"-"),1),e.createElementVNode("text",{class:"batch-result-cell batch-result-cell--reason"},e.toDisplayString(t.reason||"-"),1),e.createElementVNode("text",{class:"batch-result-cell batch-result-cell--note"},e.toDisplayString(t.note),1)],2))),128))])):(e.openBlock(),e.createElementBlock("view",{key:1,class:"batch-result-empty"},"暂无明细"))])])):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"weigh-dialog-footer"},[e.createElementVNode("button",{class:"weigh-btn weigh-btn--cancel",onClick:i[70]||(i[70]=(...e)=>o.closeBatchReview&&o.closeBatchReview(...e))},"取消"),e.createElementVNode("button",{class:"weigh-btn weigh-btn--confirm",onClick:i[71]||(i[71]=(...e)=>o.confirmBatchReview&&o.confirmBatchReview(...e))},"执行复核")])])])):e.createCommentVNode("",!0),a.enableHiddenInputCapture?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:7,class:"scan-hidden-input","onUpdate:modelValue":i[73]||(i[73]=e=>a.scanHiddenValue=e),focus:a.scanInputFocus,"adjust-position":!1,"confirm-type":"done",onFocus:i[74]||(i[74]=(...e)=>o.handleHiddenScanFocus&&o.handleHiddenScanFocus(...e)),onInput:i[75]||(i[75]=(...e)=>o.handleHiddenScanInput&&o.handleHiddenScanInput(...e)),onConfirm:i[76]||(i[76]=(...e)=>o.handleHiddenScanConfirm&&o.handleHiddenScanConfirm(...e)),onBlur:i[77]||(i[77]=(...e)=>o.handleHiddenScanBlur&&o.handleHiddenScanBlur(...e))},null,40,["focus"])),[[e.vModelText,a.scanHiddenValue]]):e.createCommentVNode("",!0)])}]]);const b=r({name:"WeighingPage",components:{TopNav:u},props:{embedded:{type:Boolean,default:!1}}},[["render",function(t,i,s,n,a,o){const r=e.resolveComponent("top-nav");return e.openBlock(),e.createElementBlock("view",{class:"page"},[s.embedded?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(r,{key:0})),e.createElementVNode("view",{class:"page-main"},[e.createElementVNode("view",{class:"dynamic-view dynamic-view--catch-weight"},[e.createElementVNode("view",{class:"module-card"},[e.createElementVNode("text",{class:"module-card-title"},"称重"),e.createElementVNode("text",{class:"module-card-desc"},"称重模块页面(待对接业务接口)")])])])])}]]);const f=r({name:"ReturnsPage",components:{TopNav:u},props:{embedded:{type:Boolean,default:!1}}},[["render",function(t,i,s,n,a,o){const r=e.resolveComponent("top-nav");return e.openBlock(),e.createElementBlock("view",{class:"page"},[s.embedded?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(r,{key:0})),e.createElementVNode("view",{class:"page-main"},[e.createElementVNode("view",{class:"dynamic-view dynamic-view--returns"},[e.createElementVNode("view",{class:"module-card"},[e.createElementVNode("text",{class:"module-card-title"},"退件"),e.createElementVNode("text",{class:"module-card-desc"},"退件模块页面(待对接业务接口)")])])])])}]]);function S(e){const t=String(e||"").trim();return t?t.startsWith("/")?t:`/${t}`:""}const T={"/order":k,"/catchWeight":b,"/returns":f};function N(e){const t=S(e);return t&&T[t]||null}const C=r({components:{TopNav:u},onReady(){var e;null==(e=uni.hideKeyboard)||e.call(uni),[80,180,320,520].forEach(e=>{setTimeout(()=>{var e;null==(e=uni.hideKeyboard)||e.call(uni)},e)})},onShow(){var e;null==(e=uni.hideKeyboard)||e.call(uni),[80,180,320,520].forEach(e=>{setTimeout(()=>{var e;null==(e=uni.hideKeyboard)||e.call(uni)},e)})},onLoad(e){uni.getStorageSync("token")?(this.activeMenuPath=S(null==e?void 0:e.menu),this.loadCurrentUserInfo()):uni.reLaunch({url:"/pages/login/login"})},data:()=>({currentUser:null,activeMenuPath:""}),computed:{topMenus(){var e;const t=null==(e=this.currentUser)?void 0:e.menus;return Array.isArray(t)?t.filter(e=>!(null==e?void 0:e.hidden)):[]},activeViewComponent(){return N(this.activeMenuPath)}},methods:{getMenuTitle(e){var t;return(null==(t=null==e?void 0:e.meta)?void 0:t.title)||(null==e?void 0:e.name)||"未命名菜单"},isMenuActive(e){const t=S(null==e?void 0:e.path);return!!t&&this.activeMenuPath===t},getActiveMenu(){return this.topMenus.find(e=>S(null==e?void 0:e.path)===this.activeMenuPath)},getActiveMenuTitle(){return this.getMenuTitle(this.getActiveMenu())},syncMenuToUrl(e){S(e)},setActiveMenu(e,t={}){const{syncUrl:i=!0}=t,s=S(e);s&&(this.activeMenuPath=s,i&&this.syncMenuToUrl(s))},ensureActiveMenuValid(){var e;const t=this.topMenus;if(!t.length)return void(this.activeMenuPath="");if(t.find(e=>S(null==e?void 0:e.path)===this.activeMenuPath))return;const i=S(null==(e=t[0])?void 0:e.path);i&&this.setActiveMenu(i)},handleMenuClick(e){const t=((null==e?void 0:e.path)||"").trim();if(!t)return void uni.showToast({title:"菜单路径为空",icon:"none"});const i=S(t);this.setActiveMenu(i),N(i)||uni.showToast({title:"该功能页面暂未开放",icon:"none"})},persistUserContext(e){var t,i,s,n;if(!e||"object"!=typeof e)return;const a=(null==e?void 0:e.store_id)??(null==e?void 0:e.storeId)??(null==(t=null==e?void 0:e.store)?void 0:t.id)??(null==(i=null==e?void 0:e.store)?void 0:i.store_id),o=(null==e?void 0:e.warehouse_id)??(null==e?void 0:e.warehouseId)??(null==(s=null==e?void 0:e.warehouse)?void 0:s.id)??(null==(n=null==e?void 0:e.warehouse)?void 0:n.warehouse_id);null!=a&&""!==a&&uni.setStorageSync("store_id",a),null!=o&&""!==o&&uni.setStorageSync("warehouse_id",o)},loadCurrentUserInfo(){a().then(e=>{var t;const i=(null==e?void 0:e.data)||(null==e?void 0:e.result)||e||null;if(this.currentUser=i,this.persistUserContext(i),this.ensureActiveMenuValid(),!this.activeMenuPath&&this.topMenus.length){const e=S(null==(t=this.topMenus[0])?void 0:t.path);e&&this.setActiveMenu(e)}}).catch(()=>{})}}},[["render",function(t,i,s,n,a,o){const r=e.resolveComponent("top-nav");return e.openBlock(),e.createElementBlock("view",{class:"layout-page"},[e.createVNode(r,{menus:o.topMenus,"active-path":a.activeMenuPath,"use-redirect":!1,onMenuClick:o.handleMenuClick},null,8,["menus","active-path","onMenuClick"]),e.createElementVNode("view",{class:"layout-main"},[o.activeViewComponent?(e.openBlock(),e.createBlock(e.KeepAlive,{key:0},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.activeViewComponent),{embedded:!0,"compact-top":""}))],1024)):(e.openBlock(),e.createElementBlock("view",{key:1,class:"module-placeholder"},[e.createElementVNode("text",{class:"module-placeholder-title"},e.toDisplayString(o.getActiveMenuTitle()||"请选择功能菜单"),1),a.activeMenuPath?(e.openBlock(),e.createElementBlock("text",{key:0,class:"module-placeholder-desc"},"该菜单页面尚未配置("+e.toDisplayString(a.activeMenuPath)+")",1)):e.createCommentVNode("",!0)]))])])}]]),V="workbenchMember",E="todayPackStat";const P=r({name:"PackagingPage",data:()=>({workbenchInfo:null,infoLoading:!1,infoError:"",keyword:"",currentWaveNo:"",waveTotalOrders:"",storeRemark:"",packageMaterialName:"",productCount:0,detailList:[],todayOrderCount:0,todayProductCount:0,scanRecords:[],searchFocus:!1,searchFocused:!1,pageActive:!0,scanTimer:null,lastScanKeyTime:0,scanBurstConfirmed:!1,plusKeyListener:null,plusKeyBuffer:"",plusKeyTimer:null,plusKeyStartedAt:0,plusKeyLastAt:0,globalKeyListener:null,globalKeyTargets:[],enableHiddenInputCapture:!1,scanInputFocus:!1,scanHiddenValue:"",scanHiddenTimer:null,scanHiddenRefocusTimer:null,scanFocusResumeTimer:null,scanKeyboardSuppressTimers:[],scanHiddenFocused:!1,scanInputIdleTimer:null,lastSubmittedScan:{code:"",at:0},operatorDialogVisible:!1,operatorInputFocus:!1,operatorCode:"",operatorSearching:!1,operatorSearched:!1,operatorResult:null,operatorBinding:!1,operatorRemoving:!1,workbenchMember:null,operatorSearchTimer:null,removeConfirmVisible:!1,orderQuerying:!1,isSandan:null,noBarcodeReviewVisible:!1,noBarcodeReviewTarget:null,cancelVerifyPopupOpen:!1,logoutConfirmVisible:!1,currentOrderCode:"",currentWaybillCode:"",currentDeliveryOrderCode:"",currentOrderRaw:null,precheckPassed:!1,packStarted:!1,packReporting:!1,packFinishing:!1,imagePreviewVisible:!1,imagePreviewList:[],imagePreviewIndex:0,previewScale:1,previewOffsetX:0,previewOffsetY:0,previewTouchMode:"",previewTouchStartX:0,previewTouchStartY:0,previewTouchOriginX:0,previewTouchOriginY:0,previewPinchStartDistance:0,previewPinchStartScale:1,ttsEngine:null,ttsReady:!1,ttsPendingText:"",voiceAudioContext:null}),computed:{modeTitle(){var e;const t=null==(e=this.workbenchInfo)?void 0:e.name;return t?`打包模式 - ${t}`:"打包模式"},workbenchTypeText(){var e;const t=null==(e=this.workbenchInfo)?void 0:e.type;return"group"===t?"团体工作台":"personal"===t?"个人工作台":t?String(t):"未知类型"},workbenchStatusText(){var e,t,i;const s=Number(null==(e=this.workbenchInfo)?void 0:e.status);return 1===s?"启用":0===s?"禁用":void 0!==(null==(t=this.workbenchInfo)?void 0:t.status)&&""!==(null==(i=this.workbenchInfo)?void 0:i.status)?"未知":"—"},workbenchEnabled(){var e;return 1===Number(null==(e=this.workbenchInfo)?void 0:e.status)},searchPlaceholder(){return this.workbenchMember?"扫描/输入运单号":"扫描/输入操作员登录临时码"},topbarOperatorText(){return this.workbenchMember?this.workbenchMember.user_name||"已绑定":"未绑定"},removeTargetName(){var e;return(null==(e=this.workbenchMember)?void 0:e.user_name)||"该操作员"},previewImageUrl(){return this.imagePreviewList[this.imagePreviewIndex]||""},previewImageStyle(){return{transform:`translate(${this.previewOffsetX}px, ${this.previewOffsetY}px) scale(${this.previewScale})`}},isGroupOrder(){return 0===this.isSandan},scannedKindCount(){return this.detailList.filter(e=>this.isItemScanned(e)).length},totalKindCount(){return this.detailList.length},groupVerifiedCount(){return this.scannedKindCount},hasPackRecord(){return!!(this.currentOrderRaw||this.currentOrderCode||this.detailList.length>0)},orderBlocked(){return this.checkOrderBlocked().blocked},showPackDetail(){return!(!this.workbenchMember||!this.hasPackRecord||this.orderBlocked)},orderBlockReason(){return this.checkOrderBlocked().reason}},watch:{groupVerifiedCount(e){this.isGroupOrder&&this.precheckPassed&&!this.packStarted&&!this.packReporting&&this.totalKindCount>0&&e>=this.totalKindCount&&this.handleSubmitGroupPack()}},onLoad(){uni.getStorageSync("token")?(this.restoreWorkbenchMember(),this.loadTodayPackStat(),this.loadWorkbenchInfo()):uni.reLaunch({url:"/pages/login/login"})},onShow(){this.pageActive=!0,this.attachPlusKeyboardListener(),this.attachGlobalKeyboardListener()},onHide(){this.pageActive=!1,this.removePlusKeyboardListener(),this.removeGlobalKeyboardListener(),this.clearScanTimers()},methods:{handlePackSearch(){const e=this.dedupeRepeatedScan(String(this.keyword||"").trim());if(e)if(t("log","at pages/packaging/index.vue:574","[packaging][scan] handlePackSearch keyword =",e),this.infoLoading||this.infoError)t("log","at pages/packaging/index.vue:577","[packaging][scan] handlePackSearch skip: infoLoading =",this.infoLoading,"infoError =",this.infoError);else{if(!this.workbenchMember)return t("log","at pages/packaging/index.vue:582","[packaging][scan] handlePackSearch -> queryAndBindOperator (未绑定操作员)"),void this.queryAndBindOperator(e);if(this.isGroupOrder&&this.precheckPassed&&this.detailList.length>0)if(0===this.groupVerifiedCount){this.detailList.some(t=>Array.isArray(t.barcodes)&&t.barcodes.includes(e)||t.barcode===e)?this.matchProductBarcode(e):this.queryPackOrderByCode(e)}else this.matchProductBarcode(e);else this.queryPackOrderByCode(e)}},queryPackOrderByCode(e){if(t("log","at pages/packaging/index.vue:610","[packaging][query] queryPackOrderByCode code =",e),!this.workbenchMember)return this.speak("未绑定操作员"),void uni.showToast({title:"请先绑定操作员",icon:"none"});const i=this.getWorkbenchToken();i?this.orderQuerying||(this.orderQuerying=!0,this.addScanRecord(e),function(e,t){return s("workbench.queryOrder",{token:e,barcode:t},{skipAuth:!0})}(String(i),e).then(t=>{this.applyQueryResult(t,e),this.keyword=""}).catch(()=>{uni.showToast({title:"网络异常,请稍后重试",icon:"none"})}).finally(()=>{this.orderQuerying=!1})):uni.showToast({title:"工作台登录已失效",icon:"none"})},applyQueryResult(e,t){const i=(null==e?void 0:e.data)||(null==e?void 0:e.result)||e,s=i&&"object"==typeof i&&!Array.isArray(i)?i:null,n=(null==e?void 0:e.flag)||(null==s?void 0:s.flag)||"",a=(null==e?void 0:e.code)??(null==s?void 0:s.code)??null;if(401===Number(a))return this.speak("无记录"),void this.handleWorkbenchAuthExpired();if("failure"===n)return this.speak("无记录"),void uni.showToast({title:(null==e?void 0:e.message)||(null==e?void 0:e.msg)||"未找到对应订单",icon:"none"});if(403===Number(a))return this.speak("无记录"),void uni.showToast({title:"工作台登录已失效,请重新登录",icon:"none"});const o=(null==s?void 0:s.order)&&"object"==typeof s.order?s.order:{},r=(null==s?void 0:s.express)&&"object"==typeof s.express?s.express:{},l=(null==s?void 0:s.batch)&&"object"==typeof s.batch?s.batch:{},c=Array.isArray(null==s?void 0:s.items)?s.items:[],d=this.pickInfoField(s,{},["isSandan","is_sandan"]);this.isSandan=""===d?null:Number(d),this.currentOrderRaw=s,this.currentOrderCode=t||"",this.packStarted=!1,this.precheckPassed=!1,this.currentWaybillCode=this.pickInfoField(s,{},["waybill_code","waybillCode"])||this.pickInfoField(s,{},["barcode"])||"",this.currentDeliveryOrderCode=this.pickInfoField(o,{},["delivery_order_code","deliveryOrderCode"]),this.currentWaveNo=this.pickInfoField(l,{},["wave_no","waveNo"])||this.pickInfoField(o,{},["wave_no","waveNo"]),this.waveTotalOrders=this.pickInfoField(l,{},["total_orders","totalOrders"]),this.isGroupOrder||this.waveTotalOrders||(this.waveTotalOrders=1),this.storeRemark=this.pickInfoField(s,{},["store_remark","storeRemark"]),this.packageMaterialName=this.pickInfoField(r,{},["package_material_name","packageMaterialName"]);let u=Number(null==o?void 0:o.items_total);u||(u=c.reduce((e,t)=>e+(Number(null==t?void 0:t.plan_qty)||0),0)),this.productCount=u,this.detailList=c.map(e=>{const t=Array.isArray(null==e?void 0:e.barcodes)?e.barcodes:[],i=t.length>0?"object"==typeof t[0]&&null!==t[0]?t[0].barcode||t[0].code||"":String(t[0]):"",s=this.extractImages(e),n=t.map(e=>"object"==typeof e&&null!==e?e.barcode||e.code||"":String(e)).filter(e=>e);return{name:(null==e?void 0:e.item_name)||(null==e?void 0:e.item_code)||"",barcode:i||(null==e?void 0:e.item_code)||"",barcodes:n.length>0?n:i?[i]:[],qty:(null==e?void 0:e.plan_qty)??"",scannedQty:0,image:s[0]||"",imageCount:s.length,images:s}});const h=this.packPrecheck();if(!h.ok)return this.speak(h.speakText),void uni.showToast({title:h.reason,icon:"none"});this.precheckPassed=!0,this.isGroupOrder?0===this.detailList.length&&this.handleSubmitGroupPack():this.startPack()},matchProductBarcode(e){const t=this.detailList.find(t=>Array.isArray(t.barcodes)&&t.barcodes.includes(e)||t.barcode===e);if(t){if(this.isItemScanned(t))return this.keyword="",this.speak("数据一致"),void uni.showToast({title:`${t.name||""} 已核实`,icon:"none"});t.scannedQty=Number(t.qty)||0,this.addScanRecord(e),this.keyword="",this.speak("数据一致"),uni.showToast({title:`${t.name||""} 已核实`,icon:"none"})}else this.speak("无记录"),uni.showToast({title:"条码与待核实商品不匹配",icon:"none"})},isItemScanned(e){const t=Number(null==e?void 0:e.qty)||0,i=Number(null==e?void 0:e.scannedQty)||0;return t>0&&i>=t},handleLongPressProduct(e){e&&this.isGroupOrder&&(this.isItemScanned(e)?uni.showToast({title:"该商品已全部扫码",icon:"none"}):(this.noBarcodeReviewTarget=e,this.noBarcodeReviewVisible=!0))},closeNoBarcodeReview(){this.noBarcodeReviewVisible=!1,this.noBarcodeReviewTarget=null},confirmNoBarcodeReview(){const e=this.noBarcodeReviewTarget;if(!e)return void this.closeNoBarcodeReview();const t=Number(e.qty)||0;if(t<=0)uni.showToast({title:"该商品无数量,无法标记",icon:"none"});else{if((Number(e.scannedQty)||0)>=t)return uni.showToast({title:"该商品已全部扫码",icon:"none"}),void this.closeNoBarcodeReview();e.scannedQty=t,this.speak("数据一致"),uni.showToast({title:`已将「${e.name||""}」标记为已扫`,icon:"none"}),this.closeNoBarcodeReview()}},handleCancelGroupVerify(){this.cancelVerifyPopupOpen=!0},handleCloseCancelVerifyPopup(){this.cancelVerifyPopupOpen=!1},confirmCancelVerify(){this.clearPackState(),this.cancelVerifyPopupOpen=!1,this.speak("已取消核实"),uni.showToast({title:"已取消核实",icon:"none"})},packPrecheck(){const{blocked:e,reason:t,speakText:i}=this.checkOrderBlocked();return e?{ok:!1,reason:t,speakText:i}:{ok:!0}},checkOrderBlocked(){const e=this.currentOrderRaw;if(!e)return{blocked:!1,reason:"",speakText:""};const t=e.order&&"object"==typeof e.order?e.order:{},i=e.batch&&"object"==typeof e.batch?e.batch:{};if(this.isGroupOrder){const e=(null==t?void 0:t.recheck_status)??(null==t?void 0:t.recheckStatus)??"";if(e&&!["fin","finished","1"].includes(String(e)))return{blocked:!0,reason:"订单未复核,禁止打包",speakText:"订单未复核,禁止打包"};const s=(null==t?void 0:t.pack_status)??(null==t?void 0:t.packStatus)??(null==i?void 0:i.pack_status)??(null==i?void 0:i.packStatus)??"";return s&&"none"!==String(s)?{blocked:!0,reason:"订单已打包,禁止打包",speakText:"已打包"}:{blocked:!1,reason:"",speakText:""}}if(1===Number(null==t?void 0:t.intercept_flag))return{blocked:!0,reason:"订单已拦截,禁止打包",speakText:"订单已拦截,禁止打包"};const s=(null==t?void 0:t.recheck_status)??(null==t?void 0:t.recheckStatus)??"";return s&&!["fin","finished","1"].includes(String(s))?{blocked:!0,reason:"订单未复核,禁止打包",speakText:"订单未复核,禁止打包"}:1===Number(null==t?void 0:t.pack_flag)?{blocked:!0,reason:"订单已打包,禁止打包",speakText:"已打包"}:{blocked:!1,reason:"",speakText:""}},reportPackOrder(e=1){const t=this.getWorkbenchToken();if(!t)return Promise.reject(new Error("工作台登录已失效"));const i={token:String(t),delivery_order_code:this.currentDeliveryOrderCode||this.currentOrderCode||this.currentWaveNo||"",status:e,pack_time:Date.now(),wave_no:this.isGroupOrder&&this.currentWaveNo?this.currentWaveNo:void 0,items_count:this.totalKindCount||void 0,items_total:this.productCount||void 0};return(n=i,s("workbench.packOrder",n,{skipAuth:!0})).then(e=>{const t=(null==e?void 0:e.data)||(null==e?void 0:e.result)||e,i=t&&"object"==typeof t&&!Array.isArray(t)?t:null,s=(null==e?void 0:e.flag)||(null==i?void 0:i.flag)||"",n=(null==e?void 0:e.code)??(null==i?void 0:i.code)??null;if(401===Number(n))throw this.handleWorkbenchAuthExpired(),new Error("工作台登录已失效");if("failure"===s)throw new Error((null==e?void 0:e.message)||(null==e?void 0:e.msg)||"打包上报失败");return e});var n},startPack(){this.packReporting||this.packStarted||(this.packReporting=!0,this.reportPackOrder(1).then(()=>{this.packStarted=!0,this.recordTodayPack(),this.speak("开始打包")}).catch(e=>{uni.showToast({title:(null==e?void 0:e.message)||"打包上报失败",icon:"none"})}).finally(()=>{this.packReporting=!1}))},handleSubmitGroupPack(){this.startPack()},async ensurePackFinishedBeforeLeave(){const e=this.getWorkbenchToken();if(e&&this.packStarted&&!this.packFinishing){this.packFinishing=!0;try{await function(e){return s("workbench.finishPack",{token:e},{skipAuth:!0})}(String(e)),this.packStarted=!1}catch(t){}finally{this.packFinishing=!1}}},clearPackState(){this.detailList=[],this.currentWaveNo="",this.waveTotalOrders="",this.storeRemark="",this.packageMaterialName="",this.productCount=0,this.isSandan=null,this.currentOrderCode="",this.currentWaybillCode="",this.currentDeliveryOrderCode="",this.currentOrderRaw=null,this.precheckPassed=!1,this.packStarted=!1},speak(e){t("log","at pages/packaging/index.vue:979","[语音播报] speak 入口:",String(e));const i=String(e||"").trim();i&&this.speakViaHttp(i).then(e=>{t("log","at pages/packaging/index.vue:987","[语音播报] HTTP 语音接口结果:",e),e||this.speakViaTtsOrWebSpeech(i)})},speakViaHttp(e){return new Promise(i=>{let s=!1;const n=e=>{s||(s=!0,i(e))};uni.request({url:"http://tbdata.gztbyc.com/voice/"+encodeURIComponent(e),method:"GET",timeout:3e3,header:{"content-type":"text/xml; charset=utf-8"},success:e=>{var i;try{const s=null==(i=null==e?void 0:e.data)?void 0:i.audio;if(!s)return t("warn","at pages/packaging/index.vue:1015","[语音播报] HTTP 接口未返回 audio 字段:",JSON.stringify((null==e?void 0:e.data)||e)),void n(!1);const a="http://tbdata.gztbyc.com"+s;t("log","at pages/packaging/index.vue:1020","[语音播报] HTTP 音频地址:",a),this.playVoiceAudio(a,n),setTimeout(()=>n(!0),5e3)}catch(s){t("error","at pages/packaging/index.vue:1025","[语音播报] HTTP 接口解析异常:",s),n(!1)}},fail:e=>{t("warn","at pages/packaging/index.vue:1030","[语音播报] HTTP 语音接口请求失败:",e),n(!1)}})})},playVoiceAudio(e,i){try{if(this.voiceAudioContext){try{this.voiceAudioContext.destroy()}catch(s){}this.voiceAudioContext=null}const n=uni.createInnerAudioContext();this.voiceAudioContext=n,n.onError(e=>{t("warn","at pages/packaging/index.vue:1049","[语音播报] 音频播放错误:",e),i(!1)}),n.onEnded(()=>{i(!0)}),n.src=e,n.play(),t("log","at pages/packaging/index.vue:1057","[语音播报] 音频已开始播放")}catch(s){t("error","at pages/packaging/index.vue:1059","[语音播报] 创建音频上下文异常:",s),i(!1)}},destroyVoiceAudio(){if(this.voiceAudioContext){try{this.voiceAudioContext.stop(),this.voiceAudioContext.destroy()}catch(e){}this.voiceAudioContext=null}},speakViaTtsOrWebSpeech(e){const i=String(e);if(t("log","at pages/packaging/index.vue:1077","[语音播报] APP-PLUS 分支:",JSON.stringify({hasEngine:!!this.ttsEngine,ttsReady:this.ttsReady,text:i})),this.ttsEngine)if(this.ttsReady){t("log","at pages/packaging/index.vue:1084","[语音播报] speakNativeTts 返回:",this.speakNativeTts(i))}else this.ttsPendingText=i,t("log","at pages/packaging/index.vue:1088","[语音播报] 引擎未就绪,暂存待播文本:",i);else t("log","at pages/packaging/index.vue:1092","[语音播报] 无 TTS 引擎,回退 Web Speech"),this.speakViaWebSpeech(i)},speakViaWebSpeech(e){t("log","at pages/packaging/index.vue:1097","[语音播报] Web Speech 分支:",JSON.stringify({hasWindow:"undefined"!=typeof window,hasSpeechSynthesis:"undefined"!=typeof window&&!!window.speechSynthesis,text:String(e)}));try{if("undefined"!=typeof window&&window.speechSynthesis){window.speechSynthesis.cancel();const i=new SpeechSynthesisUtterance(String(e));i.lang="zh-CN",window.speechSynthesis.speak(i),t("log","at pages/packaging/index.vue:1111","[语音播报] Web Speech 已调用 speak")}else t("warn","at pages/packaging/index.vue:1113","[语音播报] window.speechSynthesis 不可用,无法用 Web Speech 播报")}catch(i){t("error","at pages/packaging/index.vue:1116","[语音播报] Web Speech 异常:",i)}},initNativeTts(){if(t("log","at pages/packaging/index.vue:1121","[语音播报] initNativeTts 开始:",JSON.stringify({hasPlus:"undefined"!=typeof plus,hasAndroid:!(!plus||!plus.android)})),"undefined"!=typeof plus&&plus.android)try{const e=this,i=plus.android.importClass("android.speech.tts.TextToSpeech"),s=plus.android.importClass("java.util.Locale");t("log","at pages/packaging/index.vue:1133","[语音播报] 已导入 TextToSpeech / Locale 类");const n=plus.android.implements("android.speech.tts.TextToSpeech$OnInitListener",{onInit:function(i){if(t("log","at pages/packaging/index.vue:1138","[语音播报] onInit 回调 status:",i),0!==i||!e.ttsEngine)return e.ttsReady=!1,void t("warn","at pages/packaging/index.vue:1142","[语音播报] TTS 初始化失败或引擎为空:",{status:i,hasEngine:!!e.ttsEngine});const n=e.ttsEngine.setLanguage(s.CHINA);if(t("log","at pages/packaging/index.vue:1147","[语音播报] setLanguage(Locale.CHINA) 返回:",n),n>=0){if(e.ttsReady=!0,t("log","at pages/packaging/index.vue:1150","[语音播报] TTS 就绪,ttsReady=true"),e.ttsPendingText){const i=e.ttsPendingText;e.ttsPendingText="",t("log","at pages/packaging/index.vue:1154","[语音播报] 补播暂存文本:",i),e.speakNativeTts(i)}}else e.ttsReady=!1,t("warn","at pages/packaging/index.vue:1159","[语音播报] 中文语音包不可用(-1缺数据/-2不支持),需安装中文 TTS 语音数据")}});this.ttsEngine=new i(plus.android.runtimeMainActivity(),n),t("log","at pages/packaging/index.vue:1165","[语音播报] TextToSpeech 实例已创建:",!!this.ttsEngine)}catch(e){this.ttsEngine=null,this.ttsReady=!1,t("error","at pages/packaging/index.vue:1169","[语音播报] initNativeTts 异常:",e)}else t("warn","at pages/packaging/index.vue:1126","[语音播报] plus.android 不可用,无法初始化原生 TTS")},speakNativeTts(e){if(t("log","at pages/packaging/index.vue:1175","[语音播报] speakNativeTts 调用:",JSON.stringify({hasEngine:!!this.ttsEngine,ttsReady:this.ttsReady,text:String(e)})),!this.ttsEngine||!this.ttsReady)return t("warn","at pages/packaging/index.vue:1180","[语音播报] speakNativeTts 跳过:引擎未就绪"),!1;try{const i=plus.android.importClass("android.speech.tts.TextToSpeech");return this.ttsEngine.speak(String(e),i.QUEUE_FLUSH,null),t("log","at pages/packaging/index.vue:1187","[语音播报] 原生 TTS speak 已调用"),!0}catch(i){return t("error","at pages/packaging/index.vue:1190","[语音播报] 原生 TTS speak 异常:",i),!1}return!1},shutdownNativeTts(){if(t("log","at pages/packaging/index.vue:1198","[语音播报] shutdownNativeTts:",{hasEngine:!!this.ttsEngine}),this.ttsEngine){try{this.ttsEngine.stop(),this.ttsEngine.shutdown(),t("log","at pages/packaging/index.vue:1203","[语音播报] 原生 TTS 已 stop + shutdown")}catch(e){t("error","at pages/packaging/index.vue:1205","[语音播报] 释放 TTS 异常:",e)}this.ttsEngine=null,this.ttsReady=!1,this.ttsPendingText=""}},previewItemImage(e){const t=Array.isArray(null==e?void 0:e.images)&&e.images.length>0?e.images:(null==e?void 0:e.image)?[e.image]:[];t.length&&(this.imagePreviewList=t,this.imagePreviewIndex=0,this.previewScale=1,this.previewOffsetX=0,this.previewOffsetY=0,this.previewTouchMode="",this.imagePreviewVisible=!0)},closeImagePreview(){this.imagePreviewVisible=!1,this.previewTouchMode="",this.previewScale=1,this.previewOffsetX=0,this.previewOffsetY=0},previewZoomIn(){this.previewScale=Math.min(Number((this.previewScale+.2).toFixed(2)),6)},previewZoomOut(){this.previewScale=Math.max(Number((this.previewScale-.2).toFixed(2)),.2)},previewResetZoom(){this.previewScale=1,this.previewOffsetX=0,this.previewOffsetY=0},previewPrev(){this.imagePreviewList.length<=1||(this.imagePreviewIndex=(this.imagePreviewIndex-1+this.imagePreviewList.length)%this.imagePreviewList.length,this.previewResetZoom())},previewNext(){this.imagePreviewList.length<=1||(this.imagePreviewIndex=(this.imagePreviewIndex+1)%this.imagePreviewList.length,this.previewResetZoom())},previewTouchStart(e){const t=this.getPreviewTouches(e);t.length>=2?(this.previewTouchMode="pinch",this.previewPinchStartDistance=this.getTouchDistance(t),this.previewPinchStartScale=this.previewScale):1===t.length&&(this.previewTouchMode="drag",this.previewTouchStartX=this.getTouchX(t[0]),this.previewTouchStartY=this.getTouchY(t[0]),this.previewTouchOriginX=this.previewOffsetX,this.previewTouchOriginY=this.previewOffsetY)},previewTouchMove(e){const t=this.getPreviewTouches(e);if("pinch"===this.previewTouchMode&&t.length>=2){const e=this.getTouchDistance(t);if(this.previewPinchStartDistance>0){const t=this.previewPinchStartScale*(e/this.previewPinchStartDistance);this.previewScale=Math.min(Math.max(Number(t.toFixed(2)),.2),6)}}else if("drag"===this.previewTouchMode&&t.length>=1){const e=this.getTouchX(t[0]),i=this.getTouchY(t[0]);this.previewOffsetX=this.previewTouchOriginX+(e-this.previewTouchStartX),this.previewOffsetY=this.previewTouchOriginY+(i-this.previewTouchStartY)}},previewTouchEnd(){this.previewTouchMode=""},getPreviewTouches(e){const t=null==e?void 0:e.touches;if(t&&"number"==typeof t.length&&t.length>0)return t;const i=null==e?void 0:e.changedTouches;return i&&"number"==typeof i.length&&i.length>0?i:[]},getTouchX:e=>(null==e?void 0:e.clientX)??(null==e?void 0:e.pageX)??(null==e?void 0:e.x)??0,getTouchY:e=>(null==e?void 0:e.clientY)??(null==e?void 0:e.pageY)??(null==e?void 0:e.y)??0,getTouchDistance(e){const t=e[0],i=e[1];if(!t||!i)return 0;const s=this.getTouchX(t)-this.getTouchX(i),n=this.getTouchY(t)-this.getTouchY(i);return Math.sqrt(s*s+n*n)},handleSearchFocus(){this.searchFocused=!0},handleSearchBlur(){this.searchFocused=!1,this.searchFocus=!1,this.enableHiddenInputCapture&&this.scheduleScanInputFocus(150)},activateSearchInput(){this.searchFocus=!0},handleSearchInput(){if(!this.isPageActive()||!this.isAppPlus())return;const e=String(this.keyword||"").trim();this.clearScanInputIdleTimer(),e&&(this.scanInputIdleTimer=setTimeout(()=>{this.isPageActive()&&String(this.keyword||"").trim()&&this.handlePackSearch()},1e3))},clearKeyword(){this.keyword="",this.scanBurstConfirmed=!1,this.scheduleScanInputFocus(150)},handleGlobalKeydown(e){if(!this.isPageActive())return;const t=e.key,i="undefined"!=typeof document?document.activeElement:null;if(!(!i||"INPUT"!==i.tagName&&"TEXTAREA"!==i.tagName))return void this.touchScanInput();if(this.enableHiddenInputCapture)return;if(e.ctrlKey||e.altKey||e.metaKey)return;const s=!!t&&1===t.length;(s||("Tab"===t||"Enter"===t))&&(e.preventDefault(),this.operatorDialogVisible?this.workbenchMember||(s&&(this.operatorCode=(this.operatorCode||"")+t),this.operatorInputFocus=!0,"Enter"===t&&(this.operatorCode||"").trim()?(this.clearOperatorSearchTimer(),this.handleOperatorSearch()):(this.operatorCode||"").trim()&&this.touchOperatorScan()):(s&&(this.keyword=(this.keyword||"")+t),this.searchFocus=!0,"Enter"===t&&(this.keyword||"").trim()&&this.handlePackSearch(),this.touchScanInput()))},touchScanInput(){const e=Date.now(),t=e-this.lastScanKeyTime;this.lastScanKeyTime>0&&t>100?this.scanBurstConfirmed=!1:(this.keyword||"").trim().length>=2&&(this.scanBurstConfirmed=!0),this.lastScanKeyTime=e,this.scanTimer&&clearTimeout(this.scanTimer),this.scanTimer=setTimeout(()=>this.checkScanIdle(),300)},checkScanIdle(){if(this.scanTimer=null,this.operatorDialogVisible)return void(this.scanBurstConfirmed=!1);const e=Date.now()-this.lastScanKeyTime,t=(this.keyword||"").trim();this.scanBurstConfirmed&&e>=300&&t.length>=2&&this.handlePackSearch()},isPageActive(){return!1!==this.pageActive},isAppPlus:()=>!0,hasPlusKeyboardSupport(){var e;return"undefined"!=typeof plus&&!!(null==(e=null==plus?void 0:plus.key)?void 0:e.addEventListener)},hasDomKeyboardSupport:()=>"undefined"!=typeof window||"undefined"!=typeof document,setupScanCaptureMode(){this.enableHiddenInputCapture=!this.hasDomKeyboardSupport()},isRealDevice:()=>!0,isMobileBrowser(){try{const e="undefined"!=typeof uni&&uni.getSystemInfoSync?uni.getSystemInfoSync():null;if(e&&e.platform){const t=String(e.platform).toLowerCase();if("android"===t||"ios"===t)return!0}}catch(e){}try{if("undefined"!=typeof navigator&&navigator.userAgent)return/Android|iPhone|iPad|iPod|Mobile|Tablet/i.test(navigator.userAgent)}catch(e){}return!1},attachGlobalKeyboardListener(){if(this.globalKeyListener)return;const e="undefined"!=typeof window,t=[];"undefined"!=typeof document?t.push(document):e&&t.push(window),t.length&&(this.globalKeyTargets=t,this.globalKeyListener=this.handleGlobalKeydown,this.globalKeyTargets.forEach(e=>{e.addEventListener("keydown",this.globalKeyListener,!0)}))},removeGlobalKeyboardListener(){this.globalKeyTargets&&this.globalKeyListener&&(this.globalKeyTargets.forEach(e=>{e.removeEventListener("keydown",this.globalKeyListener,!0)}),this.globalKeyTargets=[],this.globalKeyListener=null)},parsePlusKeyCodeToChar:e=>e>=48&&e<=57||e>=65&&e<=90?String.fromCharCode(e):e>=96&&e<=105?String(e-96):189===e||109===e?"-":190===e||110===e?".":191===e||111===e?"/":"",attachPlusKeyboardListener(){this.hasPlusKeyboardSupport()&&(this.plusKeyListener||(this.plusKeyListener=e=>{if(!this.isPageActive())return;const t=Number((null==e?void 0:e.keyCode)||0),i=13===t||66===t,s=this.parsePlusKeyCodeToChar(t);if(s){const e=Date.now();return this.plusKeyBuffer||(this.plusKeyStartedAt=e),this.plusKeyLastAt=e,this.plusKeyBuffer+=s,this.clearPlusKeyTimer(),void(this.plusKeyTimer=setTimeout(()=>this.flushPlusKeyBuffer("timer"),420))}i&&this.flushPlusKeyBuffer("enter")},plus.key.addEventListener("keydown",this.plusKeyListener)))},removePlusKeyboardListener(){this.clearPlusKeyTimer(),this.plusKeyBuffer="",this.plusKeyStartedAt=0,this.plusKeyLastAt=0,this.plusKeyListener&&(this.hasPlusKeyboardSupport()&&plus.key.removeEventListener("keydown",this.plusKeyListener),this.plusKeyListener=null)},flushPlusKeyBuffer(e="timer"){if(!this.isPageActive())return;const t=(this.plusKeyBuffer||"").trim();this.plusKeyBuffer="",this.plusKeyStartedAt=0,this.plusKeyLastAt=0,this.clearPlusKeyTimer(),t&&this.submitScanCode(t,"plus")},handleHiddenScanFocus(){this.isPageActive()&&this.enableHiddenInputCapture&&(this.scanHiddenFocused=!0,this.scanInputFocus=!0,this.clearHiddenRefocusTimer(),this.applyScanInputAttrs(),this.suppressSoftKeyboardBurst())},applyScanInputAttrs(){const e=this.getScanHiddenInputEl();e&&"function"==typeof e.setAttribute&&(e.setAttribute("autocapitalize","off"),e.setAttribute("autocorrect","off"),e.setAttribute("autocomplete","off"),e.setAttribute("spellcheck","false"))},handleHiddenScanBlur(){this.isPageActive()&&this.enableHiddenInputCapture&&(this.scanHiddenFocused=!1,this.scanInputFocus=!1,this.clearHiddenRefocusTimer(),this.scanHiddenRefocusTimer=setTimeout(()=>{if(!this.isPageActive()||!this.enableHiddenInputCapture)return;const e="undefined"!=typeof document?document.activeElement:null;(!e||"INPUT"!==e.tagName&&"TEXTAREA"!==e.tagName)&&(this.scanHiddenFocused||this.scheduleScanInputFocus(220))},500))},handleHiddenScanInput(e){var t;if(!this.isPageActive()||!this.enableHiddenInputCapture)return;const i=(null==(t=null==e?void 0:e.detail)?void 0:t.value)||"";this.keyword=i,this.clearHiddenScanTimer(),this.scanHiddenTimer=setTimeout(()=>{this.isPageActive()&&this.enableHiddenInputCapture&&this.processHiddenScanValue("timer")},320)},handleHiddenScanConfirm(e){var t;if(!this.isPageActive()||!this.enableHiddenInputCapture)return;const i=(null==(t=null==e?void 0:e.detail)?void 0:t.value)||this.scanHiddenValue||"";this.scanHiddenValue=i,this.processHiddenScanValue("confirm")},processHiddenScanValue(e="timer"){if(!this.isPageActive()||!this.enableHiddenInputCapture)return;const t=(this.scanHiddenValue||"").trim();this.clearHiddenScanTimer(),t&&(this.scanHiddenValue="",this.clearScanHiddenInputValue(),this.dismissSoftKeyboard(),this.submitScanCode(t,"hidden"),this.ensureScanInputFocus())},clearScanHiddenInputValue(){const e=this.getScanHiddenInputEl();e&&(e.value="")},getScanHiddenInputEl(){const e=this.$refs.scanHiddenInput;if(!e)return null;const t=e.$el||e;return t?"INPUT"===t.tagName?t:"function"==typeof t.querySelector?t.querySelector("input"):null:null},ensureScanInputFocus(){this.isPageActive()&&(this.enableHiddenInputCapture?(this.scanInputFocus||(this.scanInputFocus=!0),this.focusScanHiddenInput()):this.scanInputFocus=!1)},focusScanHiddenInput(){const e=this.getScanHiddenInputEl();if(e&&"function"==typeof e.focus)try{e.focus()}catch(t){}},scheduleScanInputFocus(e=0){this.isPageActive()&&(this.clearScanFocusResumeTimer(),this.scanFocusResumeTimer=setTimeout(()=>{this.isPageActive()&&this.ensureScanInputFocus()},e))},suppressSoftKeyboardBurst(){var e;this.isPageActive()&&(this.clearKeyboardSuppressTimers(),null==(e=uni.hideKeyboard)||e.call(uni))},dismissSoftKeyboard(){var e;this.isPageActive()&&(null==(e=uni.hideKeyboard)||e.call(uni))},dedupeRepeatedScan(e){const t=String(e||"").trim(),i=t.length;if(i<2)return t;const s=Math.floor(i/2);for(let n=8;n<=s;n++)if(i%n===0){const e=t.slice(0,n);if(e.repeat(i/n)===t)return e}for(let n=8;n<=s;n++){const e=t.slice(0,n);let i=t,s=0;for(;i.length>=n&&i.slice(0,n)===e;)i=i.slice(n),s++;if(s>=2&&i.length>0&&i.length50&&(this.scanRecords=this.scanRecords.slice(0,50))},getTodayKey(){const e=new Date,t=e=>String(e).padStart(2,"0");return`${e.getFullYear()}-${t(e.getMonth()+1)}-${t(e.getDate())}`},loadTodayPackStat(){try{const e=uni.getStorageSync(E),t=this.getTodayKey();if(e&&"object"==typeof e&&e.date===t)return this.todayOrderCount=Number(e.orderCount)||0,void(this.todayProductCount=Number(e.productCount)||0)}catch(e){}this.todayOrderCount=0,this.todayProductCount=0},recordTodayPack(){const e=this.getTodayKey();try{const t=uni.getStorageSync(E);t&&"object"==typeof t&&t.date===e||(this.todayOrderCount=0,this.todayProductCount=0)}catch(t){this.todayOrderCount=0,this.todayProductCount=0}this.todayOrderCount+=1,this.todayProductCount+=Number(this.productCount)||0;try{uni.setStorageSync(E,{date:e,orderCount:this.todayOrderCount,productCount:this.todayProductCount})}catch(t){}},clearPlusKeyTimer(){this.plusKeyTimer&&(clearTimeout(this.plusKeyTimer),this.plusKeyTimer=null)},clearHiddenScanTimer(){this.scanHiddenTimer&&(clearTimeout(this.scanHiddenTimer),this.scanHiddenTimer=null)},clearHiddenRefocusTimer(){this.scanHiddenRefocusTimer&&(clearTimeout(this.scanHiddenRefocusTimer),this.scanHiddenRefocusTimer=null)},clearScanFocusResumeTimer(){this.scanFocusResumeTimer&&(clearTimeout(this.scanFocusResumeTimer),this.scanFocusResumeTimer=null)},clearScanInputIdleTimer(){this.scanInputIdleTimer&&(clearTimeout(this.scanInputIdleTimer),this.scanInputIdleTimer=null)},clearKeyboardSuppressTimers(){this.scanKeyboardSuppressTimers.forEach(e=>clearTimeout(e)),this.scanKeyboardSuppressTimers=[]},clearScanTimers(){this.clearScanFocusResumeTimer(),this.clearKeyboardSuppressTimers(),this.clearHiddenScanTimer(),this.clearPlusKeyTimer(),this.clearHiddenRefocusTimer(),this.clearScanInputIdleTimer(),this.scanTimer&&(clearTimeout(this.scanTimer),this.scanTimer=null),this.clearOperatorSearchTimer()},getWorkbenchToken:()=>uni.getStorageSync("token")||uni.getStorageSync("workbench_token")||"",restoreWorkbenchMember(){try{const e=uni.getStorageSync(V);e&&"object"==typeof e&&(e.id||e.user_name)&&(this.workbenchMember=e)}catch(e){}},handleOperatorClick(){this.workbenchMember?this.handleRemoveOperator():(this.operatorDialogVisible=!0,this.$nextTick(()=>{this.workbenchMember||(this.operatorInputFocus=!0)}))},closeOperatorDialog(){this.operatorDialogVisible=!1,this.operatorInputFocus=!1,this.operatorCode="",this.operatorResult=null,this.operatorSearched=!1,this.clearOperatorSearchTimer(),this.scheduleScanInputFocus(150)},handleOperatorInput(){String(this.operatorCode||"").trim()&&this.touchOperatorScan()},touchOperatorScan(){this.clearOperatorSearchTimer(),this.operatorSearchTimer=setTimeout(()=>{this.handleOperatorSearch()},400)},clearOperatorSearchTimer(){this.operatorSearchTimer&&(clearTimeout(this.operatorSearchTimer),this.operatorSearchTimer=null)},handleOperatorSearch(){const e=String(this.operatorCode||"").trim();e?(t("log","at pages/packaging/index.vue:2009","[packaging][scan] handleOperatorSearch operatorCode =",e),this.operatorSearched=!0,this.operatorResult=null,this.queryAndBindOperator(e)):uni.showToast({title:"请输入/扫描登录临时码",icon:"none"})},queryAndBindOperator(e){var t;this.operatorSearching||(this.operatorSearching=!0,(t=e,s("index.queryUserByToken",{token:t},{skipAuth:!0})).then(e=>{const t=(null==e?void 0:e.data)||(null==e?void 0:e.result)||e,i=t&&"object"==typeof t&&!Array.isArray(t)?t:null,s=(null==e?void 0:e.flag)||(null==i?void 0:i.flag)||"",n=(null==e?void 0:e.code)??(null==i?void 0:i.code)??null;if(401!==Number(n)){if("failure"===s||404===Number(n))return this.operatorResult=null,this.speak("未绑定操作员"),void uni.showToast({title:"未找到该用户",icon:"none"});if(400===Number(n))return this.operatorResult=null,this.speak("未绑定操作员"),void uni.showToast({title:"临时码不能为空",icon:"none"});this.operatorResult={real_name:this.pickInfoField(i,e,["real_name","realName"]),wms_account_id:this.pickInfoField(i,e,["wms_account_id","wmsAccountId"])},this.doBindOperator(this.operatorResult.real_name,this.operatorResult.wms_account_id)}else this.handleWorkbenchAuthExpired()}).catch(()=>{this.operatorResult=null,uni.showToast({title:"网络异常,请稍后重试",icon:"none"})}).finally(()=>{this.operatorSearching=!1}))},handleBindOperator(){this.operatorResult?this.doBindOperator(this.operatorResult.real_name,this.operatorResult.wms_account_id):uni.showToast({title:"请先查询操作员",icon:"none"})},doBindOperator(e,t){const i=this.getWorkbenchToken();if(!i)return void uni.showToast({title:"工作台登录已失效",icon:"none"});if(this.operatorBinding)return;this.operatorBinding=!0;const n=t?Number(t):null;var a;(a={userId:n,userName:e||"",token:String(i)},s("workbench.bindMember",a,{skipAuth:!0})).then(e=>{const t=(null==e?void 0:e.data)||(null==e?void 0:e.result)||e,i=t&&"object"==typeof t&&!Array.isArray(t)?t:null,s=(null==e?void 0:e.flag)||(null==i?void 0:i.flag)||"",n=(null==e?void 0:e.code)??(null==i?void 0:i.code)??null;if(401!==Number(n)){if("failure"===s)return this.speak("绑定失败,请点击绑定重试"),void(403===Number(n)?uni.showToast({title:"工作台不存在或 token 无效",icon:"none"}):uni.showToast({title:(null==e?void 0:e.message)||(null==e?void 0:e.msg)||"绑定失败",icon:"none"}));this.workbenchMember={id:this.pickInfoField(i,e,["id"]),workbench_id:this.pickInfoField(i,e,["workbench_id","workbenchId"]),user_id:(null==i?void 0:i.user_id)??(null==e?void 0:e.user_id)??null,user_name:this.pickInfoField(i,e,["user_name","userName","name"])},uni.setStorageSync(V,this.workbenchMember),this.keyword="",this.speak("绑定成功"),uni.showToast({title:"绑定成功",icon:"none"}),this.closeOperatorDialog()}else this.handleWorkbenchAuthExpired()}).catch(()=>{uni.showToast({title:"网络异常,请稍后重试",icon:"none"})}).finally(()=>{this.operatorBinding=!1})},handleRemoveOperator(){this.workbenchMember&&this.workbenchMember.id&&(this.operatorRemoving||(this.removeConfirmVisible=!0))},closeRemoveConfirm(){this.removeConfirmVisible=!1},confirmRemoveOperator(){this.workbenchMember&&this.workbenchMember.id?this.doRemoveOperator(this.workbenchMember.id):this.removeConfirmVisible=!1},async doRemoveOperator(e,t={}){const{silent:i=!1}=t,n=this.getWorkbenchToken();if(!n)return i||this.exitToLogin("工作台登录已失效,请重新登录"),"expired";if(this.operatorRemoving)return"failed";this.operatorRemoving=!0,i||uni.showLoading({title:"移除中...",mask:!0}),await this.ensurePackFinishedBeforeLeave();try{const t=await(a={ids:[Number(e)],token:String(n)},s("workbench.removeMember",a,{skipAuth:!0})),o=(null==t?void 0:t.data)||(null==t?void 0:t.result)||t,r=o&&"object"==typeof o&&!Array.isArray(o)?o:null,l=(null==t?void 0:t.flag)||(null==r?void 0:r.flag)||"",c=(null==t?void 0:t.code)??(null==r?void 0:r.code)??null;if(401===Number(c))return i||this.handleWorkbenchAuthExpired(),"expired";if("failure"===l)return i||(this.speak("移除失败"),uni.showToast({title:(null==t?void 0:t.message)||(null==t?void 0:t.msg)||"移除失败",icon:"none"})),"failed";return Number((null==r?void 0:r.removed)??(null==t?void 0:t.removed)??0)>0?(this.workbenchMember=null,uni.removeStorageSync(V),this.clearPackState(),this.removeConfirmVisible=!1,this.operatorCode="",this.operatorResult=null,this.operatorSearched=!1,i||(this.speak("移除成功"),uni.showToast({title:"已移除操作员",icon:"none"})),"success"):(i||(this.speak("移除失败"),uni.showToast({title:"未找到可移除的成员",icon:"none"})),"failed")}catch(o){return i||(this.speak("移除失败"),uni.showToast({title:"网络异常,请稍后重试",icon:"none"})),"failed"}finally{this.operatorRemoving=!1,i||uni.hideLoading()}var a},pickInfoField(e,t,i){const s=[e,t];for(const n of s)if(n&&"object"==typeof n)for(const e of i){const t=n[e];if(null!=t&&""!==t)return t}return""},extractImages(e){const t=void 0!==(null==e?void 0:e.images)&&null!==(null==e?void 0:e.images)?e.images:(null==e?void 0:e.image)??(null==e?void 0:e.image_url)??(null==e?void 0:e.imageUrl);let i=[];Array.isArray(t)?i=t:null!=t&&""!==t&&(i=[t]);const s=[];for(const n of i)if("string"==typeof n){const e=n.trim();e&&s.push(e)}else if(n&&"object"==typeof n){const e=n.url||n.image_url||n.imageUrl||n.path||n.src||n.value||"";e&&s.push(String(e))}return s},loadWorkbenchInfo(){if(this.infoLoading)return;const e=uni.getStorageSync("token");e?(this.infoLoading=!0,this.infoError="",function(e){return s("workbench.getWorkbenchInfo",{token:e},{skipAuth:!0})}(String(e)).then(e=>{const t=(null==e?void 0:e.data)||(null==e?void 0:e.result)||e,i=t&&"object"==typeof t&&!Array.isArray(t)?t:null,s=(null==e?void 0:e.flag)||(null==i?void 0:i.flag)||"",n=(null==e?void 0:e.code)??(null==i?void 0:i.code)??null;if("failure"===s||401===Number(n)||403===Number(n))return this.workbenchInfo=null,this.infoError="工作台不存在或 token 无效",void this.exitToLogin("工作台登录已失效,请重新登录");const a={id:this.pickInfoField(i,e,["id"]),warehouseId:this.pickInfoField(i,e,["warehouse_id","warehouseId"]),name:this.pickInfoField(i,e,["name"]),status:this.pickInfoField(i,e,["status"]),type:this.pickInfoField(i,e,["type"]),remark:this.pickInfoField(i,e,["remark"]),deviceIds:this.pickInfoField(i,e,["device_ids","deviceIds"]),createdAt:this.pickInfoField(i,e,["created_at","createdAt"]),updatedAt:this.pickInfoField(i,e,["updated_at","updatedAt"])};if(Array.isArray(a.deviceIds)||(a.deviceIds=[]),!a.id&&!a.name)return this.workbenchInfo=null,void(this.infoError="未获取到工作台信息");this.workbenchInfo=a}).catch(()=>{this.workbenchInfo=null,this.infoError="网络异常,请稍后重试"}).finally(()=>{this.infoLoading=!1})):this.exitToLogin("登录状态已失效,请重新登录")},handleWorkbenchAuthExpired(){this.exitToLogin("工作台登录已失效,请重新登录")},exitToLogin(e){e&&uni.showToast({title:e,icon:"none"});const t=uni.getStorageSync("workbench_token"),i=uni.getStorageSync("token");uni.removeStorageSync("workbench_token"),uni.removeStorageSync("workbench_id"),uni.removeStorageSync(V),this.workbenchMember=null,t&&t===i&&uni.removeStorageSync("token"),setTimeout(()=>{uni.reLaunch({url:"/pages/login/login"})},400)},async finishLogout(){if(await this.ensurePackFinishedBeforeLeave(),this.workbenchMember&&this.workbenchMember.id){if("expired"===await this.doRemoveOperator(this.workbenchMember.id,{silent:!0}))return void this.exitToLogin("工作台登录已失效,请重新登录")}this.exitToLogin("")},handleLogout(){this.logoutConfirmVisible=!0},closeLogoutConfirm(){this.logoutConfirmVisible=!1},confirmLogout(){this.logoutConfirmVisible=!1,this.finishLogout()}},mounted(){this.setupScanCaptureMode(),this.attachPlusKeyboardListener(),this.attachGlobalKeyboardListener(),this.suppressSoftKeyboardBurst(),this.scheduleScanInputFocus(260),this.initNativeTts(),this.$nextTick(()=>{this.enableHiddenInputCapture||this.activateSearchInput()})},beforeUnmount(){this.pageActive=!1,this.shutdownNativeTts(),this.destroyVoiceAudio(),this.removePlusKeyboardListener(),this.removeGlobalKeyboardListener(),this.clearScanTimers()}},[["render",function(t,i,s,n,a,r){return e.openBlock(),e.createElementBlock("view",{class:"page"},[e.createElementVNode("view",{class:"mode-topbar"},[e.createElementVNode("view",{class:"mode-title-wrap"},[e.createElementVNode("image",{class:"mode-logo",src:o,mode:"heightFix"}),e.createElementVNode("view",{class:"mode-title"},e.toDisplayString(r.modeTitle),1)]),e.createElementVNode("view",{class:"topbar-actions"},[e.createElementVNode("button",{class:e.normalizeClass(["operator-btn",a.workbenchMember?"operator-btn--bound":""]),onClick:i[0]||(i[0]=(...e)=>r.handleOperatorClick&&r.handleOperatorClick(...e))},[a.workbenchMember?(e.openBlock(),e.createElementBlock("view",{key:0,class:"operator-user-icon"},[e.createElementVNode("view",{class:"operator-user-icon-head"}),e.createElementVNode("view",{class:"operator-user-icon-body"})])):e.createCommentVNode("",!0),e.createElementVNode("text",null,e.toDisplayString(r.topbarOperatorText),1)],2),e.createElementVNode("button",{class:"logout-btn",type:"warn",onClick:i[1]||(i[1]=(...e)=>r.handleLogout&&r.handleLogout(...e))},"退出")])]),e.createElementVNode("view",{class:"mode-main"},[a.infoLoading?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mode-card mode-card--center"},[e.createElementVNode("text",{class:"mode-card-desc"},"正在获取工作台信息...")])):a.infoError?(e.openBlock(),e.createElementBlock("view",{key:1,class:"mode-card mode-card--center"},[e.createElementVNode("text",{class:"mode-card-desc"},e.toDisplayString(a.infoError||"工作台信息加载失败"),1),a.infoError?(e.openBlock(),e.createElementBlock("button",{key:0,class:"retry-btn",onClick:i[2]||(i[2]=(...e)=>r.loadWorkbenchInfo&&r.loadWorkbenchInfo(...e))},"重试")):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("view",{key:2,class:"pack-layout"},[e.createElementVNode("view",{class:"pack-left"},[e.createElementVNode("view",{class:"pack-search"},[e.withDirectives(e.createElementVNode("input",{class:"pack-search-input","onUpdate:modelValue":i[3]||(i[3]=e=>a.keyword=e),placeholder:r.searchPlaceholder,focus:a.searchFocus,"adjust-position":!1,"confirm-type":"search",onInput:i[4]||(i[4]=(...e)=>r.handleSearchInput&&r.handleSearchInput(...e)),onConfirm:i[5]||(i[5]=(...e)=>r.handlePackSearch&&r.handlePackSearch(...e)),onFocus:i[6]||(i[6]=(...e)=>r.handleSearchFocus&&r.handleSearchFocus(...e)),onBlur:i[7]||(i[7]=(...e)=>r.handleSearchBlur&&r.handleSearchBlur(...e))},null,40,["placeholder","focus"]),[[e.vModelText,a.keyword]]),a.keyword?(e.openBlock(),e.createElementBlock("view",{key:0,class:"pack-search-clear",onClick:i[8]||(i[8]=(...e)=>r.clearKeyword&&r.clearKeyword(...e))},"×")):e.createCommentVNode("",!0)]),r.hasPackRecord?(e.openBlock(),e.createElementBlock("view",{key:0,class:"pack-card pack-wave"},[e.createElementVNode("view",{class:"pack-wave-head"},[e.createElementVNode("text",{class:"pack-card-title"},e.toDisplayString(1===a.isSandan?"运单":"波次"),1),e.createElementVNode("text",{class:"pack-wave-no"},e.toDisplayString(1===a.isSandan?a.currentWaybillCode||"暂无运单":a.currentWaveNo||"暂无波次"),1),e.createElementVNode("text",{class:"pack-wave-count"},"共"+e.toDisplayString(a.waveTotalOrders||0)+"单",1)]),e.createElementVNode("view",{class:"pack-meta-line"},[e.createElementVNode("view",{class:"pack-meta-item"},[e.createElementVNode("text",{class:"pack-meta-label"},"货主"),e.createElementVNode("text",{class:"pack-meta-value"},e.toDisplayString(a.storeRemark||"—"),1)]),e.createElementVNode("view",{class:"pack-meta-item"},[e.createElementVNode("text",{class:"pack-meta-label"},"包材"),e.createElementVNode("text",{class:"pack-meta-value"},e.toDisplayString(a.packageMaterialName||"—"),1)]),e.createElementVNode("view",{class:"pack-meta-item"},[e.createElementVNode("text",{class:"pack-meta-label"},"商品总数"),e.createElementVNode("text",{class:"pack-meta-value"},e.toDisplayString(a.productCount),1)])])])):e.createCommentVNode("",!0),r.showPackDetail?(e.openBlock(),e.createElementBlock("view",{key:1,class:"pack-card pack-detail"},[e.createElementVNode("view",{class:"pack-detail-title"},[e.createElementVNode("text",{class:"pack-card-title"},"商品明细"),null!==a.isSandan?(e.openBlock(),e.createElementBlock("text",{key:0,class:e.normalizeClass(["pack-order-type",r.isGroupOrder?"pack-order-type--group":"pack-order-type--single"])},e.toDisplayString(r.isGroupOrder?"团单":"散单"),3)):e.createCommentVNode("",!0),r.isGroupOrder?(e.openBlock(),e.createElementBlock("text",{key:1,class:"pack-detail-scan-stat"},"已扫 "+e.toDisplayString(r.scannedKindCount)+"/"+e.toDisplayString(r.totalKindCount)+" 种",1)):e.createCommentVNode("",!0),r.isGroupOrder?(e.openBlock(),e.createElementBlock("button",{key:2,class:"pack-verify-cancel-btn",onClick:i[9]||(i[9]=(...e)=>r.handleCancelGroupVerify&&r.handleCancelGroupVerify(...e))},"取消核实")):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"pack-detail-body"},[0===a.detailList.length?(e.openBlock(),e.createElementBlock("view",{key:0,class:"pack-empty"},"暂无商品明细")):(e.openBlock(),e.createElementBlock("scroll-view",{key:1,"scroll-y":"",class:"pack-detail-scroll"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.detailList,(t,i)=>(e.openBlock(),e.createElementBlock("view",{key:i,class:e.normalizeClass(["pack-detail-row",{"pack-detail-row--scanned":r.isGroupOrder&&r.isItemScanned(t)}]),onLongpress:e=>r.handleLongPressProduct(t)},[e.createElementVNode("text",{class:"pack-detail-col pack-detail-col--index"},e.toDisplayString(i+1),1),e.createElementVNode("view",{class:"pack-detail-col pack-detail-col--image"},[e.createElementVNode("view",{class:"pack-item-img-wrap"},[t.image?(e.openBlock(),e.createElementBlock("image",{key:0,class:"pack-item-img",src:t.image,mode:"aspectFit",onClick:e=>r.previewItemImage(t)},null,8,["src","onClick"])):(e.openBlock(),e.createElementBlock("text",{key:1,class:"pack-item-img-empty"},"-")),t.imageCount>1?(e.openBlock(),e.createElementBlock("text",{key:2,class:"pack-item-img-badge"},e.toDisplayString(t.imageCount),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("view",{class:"pack-detail-col pack-detail-col--info"},[e.createElementVNode("text",{class:"pack-detail-info-name"},e.toDisplayString(t.name),1),e.createElementVNode("text",{class:"pack-detail-info-barcode"},"【"+e.toDisplayString(t.barcode)+"】",1)]),e.createElementVNode("text",{class:e.normalizeClass(["pack-detail-col pack-detail-col--qty",{"pack-detail-col--qty-done":r.isGroupOrder&&r.isItemScanned(t)}])},"x"+e.toDisplayString(t.qty),3)],42,["onLongpress"]))),128))]))])])):e.createCommentVNode("",!0),r.orderBlocked?(e.openBlock(),e.createElementBlock("view",{key:2,class:"pack-card pack-blocked"},[e.createElementVNode("text",{class:"pack-blocked-text"},e.toDisplayString(r.orderBlockReason),1)])):e.createCommentVNode("",!0),r.hasPackRecord?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:3,class:"pack-left-empty"},[e.createElementVNode("text",{class:"pack-left-empty-text"},"暂无打包记录"),e.createElementVNode("text",{class:"pack-left-empty-sub"},"扫码运单号开始打包")]))]),e.createElementVNode("view",{class:"pack-right"},[e.createElementVNode("view",{class:"pack-card pack-today"},[e.createElementVNode("text",{class:"pack-card-title"},"今日打包"),e.createElementVNode("view",{class:"pack-today-stats"},[e.createElementVNode("view",{class:"pack-stat"},[e.createElementVNode("text",{class:"pack-stat-num"},e.toDisplayString(a.todayOrderCount),1),e.createElementVNode("text",{class:"pack-stat-label"},"单数")]),e.createElementVNode("view",{class:"pack-stat"},[e.createElementVNode("text",{class:"pack-stat-num"},e.toDisplayString(a.todayProductCount),1),e.createElementVNode("text",{class:"pack-stat-label"},"商品数")])])]),e.createElementVNode("view",{class:"pack-card pack-records"},[e.createElementVNode("view",{class:"pack-records-title"},[e.createElementVNode("text",{class:"pack-records-title-text"},"扫描记录")]),e.createElementVNode("view",{class:"pack-records-body"},[0===a.scanRecords.length?(e.openBlock(),e.createElementBlock("view",{key:0,class:"pack-empty"},"暂无扫描记录")):(e.openBlock(),e.createElementBlock("scroll-view",{key:1,"scroll-y":"",class:"pack-records-scroll"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.scanRecords,(t,i)=>(e.openBlock(),e.createElementBlock("view",{key:i,class:e.normalizeClass(["pack-record-item",{"pack-record-item--even":i%2==0}])},[e.createElementVNode("text",{class:"pack-record-text"},e.toDisplayString(t.text),1),e.createElementVNode("text",{class:"pack-record-time"},e.toDisplayString(t.time),1)],2))),128))]))])])])]))]),a.enableHiddenInputCapture?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,ref:"scanHiddenInput",class:"scan-hidden-input","onUpdate:modelValue":i[10]||(i[10]=e=>a.scanHiddenValue=e),focus:a.scanInputFocus,"adjust-position":!1,"confirm-type":"done",onFocus:i[11]||(i[11]=(...e)=>r.handleHiddenScanFocus&&r.handleHiddenScanFocus(...e)),onInput:i[12]||(i[12]=(...e)=>r.handleHiddenScanInput&&r.handleHiddenScanInput(...e)),onConfirm:i[13]||(i[13]=(...e)=>r.handleHiddenScanConfirm&&r.handleHiddenScanConfirm(...e)),onBlur:i[14]||(i[14]=(...e)=>r.handleHiddenScanBlur&&r.handleHiddenScanBlur(...e))},null,40,["focus"])),[[e.vModelText,a.scanHiddenValue]]):e.createCommentVNode("",!0),a.operatorDialogVisible?(e.openBlock(),e.createElementBlock("view",{key:1,class:"op-mask",onClick:i[23]||(i[23]=(...e)=>r.closeOperatorDialog&&r.closeOperatorDialog(...e))},[e.createElementVNode("view",{class:"op-dialog",onClick:i[22]||(i[22]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("view",{class:"op-dialog-head"},[e.createElementVNode("text",{class:"op-dialog-title"},"绑定操作员"),e.createElementVNode("text",{class:"op-dialog-close",onClick:i[15]||(i[15]=(...e)=>r.closeOperatorDialog&&r.closeOperatorDialog(...e))},"×")]),e.createElementVNode("view",{class:"op-dialog-body"},[a.workbenchMember?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("view",{class:"op-bound-row"},[e.createElementVNode("text",{class:"op-bound-label"},"当前操作员"),e.createElementVNode("text",{class:"op-bound-name"},e.toDisplayString(a.workbenchMember.user_name||"—"),1)]),e.createElementVNode("button",{class:"op-btn op-btn--danger",disabled:a.operatorRemoving,onClick:i[16]||(i[16]=(...e)=>r.handleRemoveOperator&&r.handleRemoveOperator(...e))},e.toDisplayString(a.operatorRemoving?"移除中...":"移除操作员"),9,["disabled"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("view",{class:"op-scan-row"},[e.withDirectives(e.createElementVNode("input",{class:"op-scan-input","onUpdate:modelValue":i[17]||(i[17]=e=>a.operatorCode=e),placeholder:"扫描/输入操作员登录临时码",focus:a.operatorInputFocus,"adjust-position":!1,"confirm-type":"search",onConfirm:i[18]||(i[18]=(...e)=>r.handleOperatorSearch&&r.handleOperatorSearch(...e)),onInput:i[19]||(i[19]=(...e)=>r.handleOperatorInput&&r.handleOperatorInput(...e))},null,40,["focus"]),[[e.vModelText,a.operatorCode]])]),a.operatorResult?(e.openBlock(),e.createElementBlock("view",{key:0,class:"op-result"},[e.createElementVNode("text",{class:"op-result-label"},"查询到用户"),e.createElementVNode("text",{class:"op-result-name"},e.toDisplayString(a.operatorResult.real_name||"未知用户"),1)])):a.operatorSearched&&!a.operatorSearching?(e.openBlock(),e.createElementBlock("view",{key:1,class:"op-result op-result--empty"},[e.createElementVNode("text",{class:"op-result-name"},"未找到该用户,请重新扫描")])):e.createCommentVNode("",!0),e.createElementVNode("button",{class:"op-btn op-btn--primary",disabled:!a.operatorResult||a.operatorBinding,onClick:i[20]||(i[20]=(...e)=>r.handleBindOperator&&r.handleBindOperator(...e))},e.toDisplayString(a.operatorBinding?"绑定中...":"绑定"),9,["disabled"])],64))]),e.createElementVNode("view",{class:"op-dialog-footer"},[e.createElementVNode("button",{class:"op-btn op-btn--cancel",onClick:i[21]||(i[21]=(...e)=>r.closeOperatorDialog&&r.closeOperatorDialog(...e))},"关闭")])])])):e.createCommentVNode("",!0),a.removeConfirmVisible?(e.openBlock(),e.createElementBlock("view",{key:2,class:"op-mask"},[e.createElementVNode("view",{class:"op-dialog op-dialog--confirm",onClick:i[27]||(i[27]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("view",{class:"op-dialog-head"},[e.createElementVNode("text",{class:"op-dialog-title"},"移除操作员"),e.createElementVNode("text",{class:"op-dialog-close",onClick:i[24]||(i[24]=(...e)=>r.closeRemoveConfirm&&r.closeRemoveConfirm(...e))},"×")]),e.createElementVNode("view",{class:"op-confirm-content"},"确认移除操作员「"+e.toDisplayString(r.removeTargetName)+"」?",1),e.createElementVNode("view",{class:"op-confirm-footer op-confirm-footer--equal"},[e.createElementVNode("button",{class:"op-btn op-btn--cancel",onClick:i[25]||(i[25]=(...e)=>r.closeRemoveConfirm&&r.closeRemoveConfirm(...e))},"取消"),e.createElementVNode("button",{class:"op-btn op-btn--danger",disabled:a.operatorRemoving,onClick:i[26]||(i[26]=(...e)=>r.confirmRemoveOperator&&r.confirmRemoveOperator(...e))},e.toDisplayString(a.operatorRemoving?"移除中...":"移除"),9,["disabled"])])])])):e.createCommentVNode("",!0),a.imagePreviewVisible?(e.openBlock(),e.createElementBlock("view",{key:3,class:"img-preview-mask",onClick:i[40]||(i[40]=(...e)=>r.closeImagePreview&&r.closeImagePreview(...e))},[e.createElementVNode("view",{class:"img-preview-toolbar",onClick:i[32]||(i[32]=e.withModifiers(()=>{},["stop"]))},[a.imagePreviewList.length>1?(e.openBlock(),e.createElementBlock("text",{key:0,class:"img-preview-count"},e.toDisplayString(a.imagePreviewIndex+1)+" / "+e.toDisplayString(a.imagePreviewList.length),1)):e.createCommentVNode("",!0),e.createElementVNode("button",{class:"img-preview-btn",onClick:i[28]||(i[28]=(...e)=>r.previewZoomOut&&r.previewZoomOut(...e))},"−"),e.createElementVNode("text",{class:"img-preview-scale"},e.toDisplayString(Math.round(100*a.previewScale))+"%",1),e.createElementVNode("button",{class:"img-preview-btn",onClick:i[29]||(i[29]=(...e)=>r.previewZoomIn&&r.previewZoomIn(...e))},"+"),e.createElementVNode("button",{class:"img-preview-btn",onClick:i[30]||(i[30]=(...e)=>r.previewResetZoom&&r.previewResetZoom(...e))},"重置"),e.createElementVNode("button",{class:"img-preview-btn img-preview-btn--close",onClick:i[31]||(i[31]=(...e)=>r.closeImagePreview&&r.closeImagePreview(...e))},"关闭")]),e.createElementVNode("view",{class:"img-preview-body",onClick:i[35]||(i[35]=e.withModifiers(()=>{},["stop"])),onTouchstart:i[36]||(i[36]=(...e)=>r.previewTouchStart&&r.previewTouchStart(...e)),onTouchmove:i[37]||(i[37]=(...e)=>r.previewTouchMove&&r.previewTouchMove(...e)),onTouchend:i[38]||(i[38]=(...e)=>r.previewTouchEnd&&r.previewTouchEnd(...e)),onTouchcancel:i[39]||(i[39]=(...e)=>r.previewTouchEnd&&r.previewTouchEnd(...e))},[a.imagePreviewList.length>1?(e.openBlock(),e.createElementBlock("view",{key:0,class:"img-preview-arrow img-preview-arrow--prev",onClick:i[33]||(i[33]=e.withModifiers((...e)=>r.previewPrev&&r.previewPrev(...e),["stop"]))},"‹")):e.createCommentVNode("",!0),e.createElementVNode("image",{class:"img-preview-img",src:r.previewImageUrl,mode:"aspectFit",style:e.normalizeStyle(r.previewImageStyle)},null,12,["src"]),a.imagePreviewList.length>1?(e.openBlock(),e.createElementBlock("view",{key:1,class:"img-preview-arrow img-preview-arrow--next",onClick:i[34]||(i[34]=e.withModifiers((...e)=>r.previewNext&&r.previewNext(...e),["stop"]))},"›")):e.createCommentVNode("",!0)],32)])):e.createCommentVNode("",!0),a.noBarcodeReviewVisible?(e.openBlock(),e.createElementBlock("view",{key:4,class:"op-mask"},[e.createElementVNode("view",{class:"op-dialog op-dialog--confirm",onClick:i[44]||(i[44]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("view",{class:"op-dialog-head"},[e.createElementVNode("text",{class:"op-dialog-title"},"无条码复核"),e.createElementVNode("text",{class:"op-dialog-close",onClick:i[41]||(i[41]=(...e)=>r.closeNoBarcodeReview&&r.closeNoBarcodeReview(...e))},"×")]),e.createElementVNode("view",{class:"op-confirm-content"},"将「"+e.toDisplayString(a.noBarcodeReviewTarget&&a.noBarcodeReviewTarget.name||"")+"」标记为已扫?",1),e.createElementVNode("view",{class:"op-confirm-footer op-confirm-footer--equal"},[e.createElementVNode("button",{class:"op-btn op-btn--cancel",onClick:i[42]||(i[42]=(...e)=>r.closeNoBarcodeReview&&r.closeNoBarcodeReview(...e))},"取消"),e.createElementVNode("button",{class:"op-btn op-btn--primary",onClick:i[43]||(i[43]=(...e)=>r.confirmNoBarcodeReview&&r.confirmNoBarcodeReview(...e))},"确认")])])])):e.createCommentVNode("",!0),a.cancelVerifyPopupOpen?(e.openBlock(),e.createElementBlock("view",{key:5,class:"op-mask"},[e.createElementVNode("view",{class:"op-dialog op-dialog--confirm cancel-verify-popup",onClick:i[48]||(i[48]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("view",{class:"op-dialog-head"},[e.createElementVNode("text",{class:"op-dialog-title"},"取消核实"),e.createElementVNode("text",{class:"op-dialog-close",onClick:i[45]||(i[45]=(...e)=>r.handleCloseCancelVerifyPopup&&r.handleCloseCancelVerifyPopup(...e))},"×")]),e.createElementVNode("view",{class:"op-confirm-content"},"确认取消本次核实?将放弃当前订单的商品核实,且不会开始打包。"),e.createElementVNode("view",{class:"op-confirm-footer op-confirm-footer--equal"},[e.createElementVNode("button",{class:"op-btn op-btn--cancel",onClick:i[46]||(i[46]=(...e)=>r.handleCloseCancelVerifyPopup&&r.handleCloseCancelVerifyPopup(...e))},"关闭"),e.createElementVNode("button",{class:"op-btn op-btn--primary",onClick:i[47]||(i[47]=(...e)=>r.confirmCancelVerify&&r.confirmCancelVerify(...e))},"确定")])])])):e.createCommentVNode("",!0),a.logoutConfirmVisible?(e.openBlock(),e.createElementBlock("view",{key:6,class:"op-mask"},[e.createElementVNode("view",{class:"op-dialog op-dialog--confirm logout-dialog",onClick:i[52]||(i[52]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("view",{class:"op-dialog-head"},[e.createElementVNode("text",{class:"op-dialog-title"},"退出工作台模式"),e.createElementVNode("text",{class:"op-dialog-close",onClick:i[49]||(i[49]=(...e)=>r.closeLogoutConfirm&&r.closeLogoutConfirm(...e))},"×")]),e.createElementVNode("view",{class:"op-confirm-content"},"退出后将清除本地工作台登录记录,需要重新扫码登录才能进入打包模式"),e.createElementVNode("view",{class:"op-confirm-footer op-confirm-footer--equal"},[e.createElementVNode("button",{class:"op-btn op-btn--cancel",onClick:i[50]||(i[50]=(...e)=>r.closeLogoutConfirm&&r.closeLogoutConfirm(...e))},"取消"),e.createElementVNode("button",{class:"op-btn op-btn--danger",onClick:i[51]||(i[51]=(...e)=>r.confirmLogout&&r.confirmLogout(...e))},"退出")])])])):e.createCommentVNode("",!0)])}]]);__definePage("pages/login/login",d),__definePage("pages/index/index",C),__definePage("pages/order/index",k),__definePage("pages/weighing/index",b),__definePage("pages/returns/index",f),__definePage("pages/packaging/index",P);const R={onLaunch:function(){t("log","at App.vue:4","App Launch")},onShow:function(){t("log","at App.vue:7","App Show")},onHide:function(){t("log","at App.vue:10","App Hide")}},B={mode:"production",buildTarget:"web",isDev:!1,isProd:!0,isH5:"undefined"!=typeof window,isElectron:"undefined"!=typeof window&&void 0!==window.process&&!!window.process.versions&&!!window.process.versions.electron};const{app:I,Vuex:A,Pinia:x}=function(){const t=e.createVueApp(R);return t.config.globalProperties.$env=B,t.provide("appEnv",B),{app:t}}();uni.Vuex=A,uni.Pinia=x,I.provide("__globalStyles",__uniConfig.styles),I._component.mpType="app",I._component.render=()=>{},I.mount("#app")}(Vue); diff --git a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/app.css b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/app.css deleted file mode 100644 index 84fda56..0000000 --- a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/app.css +++ /dev/null @@ -1,3 +0,0 @@ -*{margin:0;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent}html,body{-webkit-user-select:none;user-select:none;width:100%}html{height:100%;height:100vh;width:100%;width:100vw}body{overflow-x:hidden;background-color:#fff;height:100%;font-size:16px}#app{height:100%}input[type=search]::-webkit-search-cancel-button{display:none}.uni-loading,uni-button[loading]:before{background:transparent url(data:image/svg+xml;base64,\ PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0E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cm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat}.uni-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}@keyframes uni-loading{0%{transform:rotate3d(0,0,1,0)}to{transform:rotate3d(0,0,1,360deg)}}@media (prefers-color-scheme: dark){html{--UI-BG-COLOR-ACTIVE: #373737;--UI-BORDER-COLOR-1: #373737;--UI-BG: #000;--UI-BG-0: #191919;--UI-BG-1: #1f1f1f;--UI-BG-2: #232323;--UI-BG-3: #2f2f2f;--UI-BG-4: #606060;--UI-BG-5: #2c2c2c;--UI-FG: #fff;--UI-FG-0: hsla(0, 0%, 100%, .8);--UI-FG-HALF: hsla(0, 0%, 100%, .6);--UI-FG-1: hsla(0, 0%, 100%, .5);--UI-FG-2: hsla(0, 0%, 100%, .3);--UI-FG-3: hsla(0, 0%, 100%, .05)}body{background-color:var(--UI-BG-0);color:var(--UI-FG-0)}}[nvue] uni-view,[nvue] uni-label,[nvue] uni-swiper-item,[nvue] uni-scroll-view{display:flex;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}[nvue] uni-button{margin:0}[nvue-dir-row] uni-view,[nvue-dir-row] uni-label,[nvue-dir-row] uni-swiper-item{flex-direction:row}[nvue-dir-column] uni-view,[nvue-dir-column] uni-label,[nvue-dir-column] uni-swiper-item{flex-direction:column}[nvue-dir-row-reverse] uni-view,[nvue-dir-row-reverse] uni-label,[nvue-dir-row-reverse] uni-swiper-item{flex-direction:row-reverse}[nvue-dir-column-reverse] uni-view,[nvue-dir-column-reverse] uni-label,[nvue-dir-column-reverse] uni-swiper-item{flex-direction:column-reverse}[nvue] uni-view,[nvue] uni-image,[nvue] uni-input,[nvue] uni-scroll-view,[nvue] uni-swiper,[nvue] uni-swiper-item,[nvue] uni-text,[nvue] uni-textarea,[nvue] uni-video{position:relative;border:0px solid #000000;box-sizing:border-box}[nvue] uni-swiper-item{position:absolute}@keyframes once-show{0%{top:0}}uni-resize-sensor,uni-resize-sensor>div{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden}uni-resize-sensor{display:block;z-index:-1;visibility:hidden;animation:once-show 1ms}uni-resize-sensor>div>div{position:absolute;left:0;top:0}uni-resize-sensor>div:first-child>div{width:100000px;height:100000px}uni-resize-sensor>div:last-child>div{width:200%;height:200%}uni-text[selectable]{cursor:auto;-webkit-user-select:text;user-select:text}uni-text{white-space:pre-line}uni-view{display:block}uni-view[hidden]{display:none}uni-ad .uni-ad-container{width:100%;height:100%;min-height:1px}uni-button{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;box-sizing:border-box;font-size:18px;text-align:center;text-decoration:none;line-height:2.55555556;border-radius:5px;-webkit-tap-highlight-color:transparent;overflow:hidden;color:#000;background-color:#f8f8f8;cursor:pointer}uni-button[hidden]{display:none!important}uni-button:after{content:" ";width:200%;height:200%;position:absolute;top:0;left:0;border:1px solid rgba(0,0,0,.2);transform:scale(.5);transform-origin:0 0;box-sizing:border-box;border-radius:10px}uni-button[native]{padding-left:0;padding-right:0}uni-button[native] .uni-button-cover-view-wrapper{border:inherit;border-color:inherit;border-radius:inherit;background-color:inherit}uni-button[native] .uni-button-cover-view-inner{padding-left:14px;padding-right:14px}uni-button uni-cover-view{line-height:inherit;white-space:inherit}uni-button[type=default]{color:#000;background-color:#f8f8f8}uni-button[type=primary]{color:#fff;background-color:#007aff}uni-button[type=warn]{color:#fff;background-color:#e64340}uni-button[disabled]{color:rgba(255,255,255,.6);cursor:not-allowed}uni-button[disabled][type=default],uni-button[disabled]:not([type]){color:rgba(0,0,0,.3);background-color:#f7f7f7}uni-button[disabled][type=primary]{background-color:rgba(0,122,255,.6)}uni-button[disabled][type=warn]{background-color:#ec8b89}uni-button[type=primary][plain]{color:#007aff;border:1px solid #007aff;background-color:transparent}uni-button[type=primary][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=primary][plain]:after{border-width:0}uni-button[type=default][plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[type=default][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=default][plain]:after{border-width:0}uni-button[plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[plain]:after{border-width:0}uni-button[plain][native] .uni-button-cover-view-inner{padding:0}uni-button[type=warn][plain]{color:#e64340;border:1px solid #e64340;background-color:transparent}uni-button[type=warn][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=warn][plain]:after{border-width:0}uni-button[size=mini]{display:inline-block;line-height:2.3;font-size:13px;padding:0 1.34em}uni-button[size=mini][native]{padding:0}uni-button[size=mini][native] .uni-button-cover-view-inner{padding:0 1.34em}uni-button[loading]:not([disabled]){cursor:progress}uni-button[loading]:before{content:" ";display:inline-block;width:18px;height:18px;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}uni-button[loading][type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}uni-button[loading][type=primary][plain]{color:#007aff;background-color:transparent}uni-button[loading][type=default]{color:rgba(0,0,0,.6);background-color:#dedede}uni-button[loading][type=default][plain]{color:#353535;background-color:transparent}uni-button[loading][type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}uni-button[loading][type=warn][plain]{color:#e64340;background-color:transparent}uni-button[loading][native]:before{content:none}.button-hover{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}.button-hover[type=primary][plain]{color:rgba(0,122,255,.6);border-color:rgba(0,122,255,.6);background-color:transparent}.button-hover[type=default]{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[type=default][plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}.button-hover[type=warn][plain]{color:rgba(230,67,64,.6);border-color:rgba(230,67,64,.6);background-color:transparent}@media (prefers-color-scheme: dark){uni-button,uni-button[type=default]{color:#d6d6d6;background-color:#343434}.button-hover,.button-hover[type=default]{color:#d6d6d6;background-color:rgba(255,255,255,.1)}uni-button[disabled][type=default],uni-button[disabled]:not([type]){color:rgba(255,255,255,.2);background-color:rgba(255,255,255,.08)}uni-button[type=primary][plain][disabled]{color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.2)}uni-button[type=default][plain]{color:#d6d6d6;border:1px solid #d6d6d6}.button-hover[type=default][plain]{color:rgba(150,150,150,.6);border-color:rgba(150,150,150,.6);background-color:rgba(50,50,50,.2)}uni-button[type=default][plain][disabled]{border-color:rgba(255,255,255,.2);color:rgba(255,255,255,.2)}}uni-canvas{width:300px;height:150px;display:block;position:relative}uni-canvas>.uni-canvas-canvas{position:absolute;top:0;left:0;width:100%;height:100%}uni-checkbox{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-checkbox[hidden]{display:none}uni-checkbox[disabled]{cursor:not-allowed}.uni-checkbox-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-checkbox-input{margin-right:5px;-webkit-appearance:none;appearance:none;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:22px;height:22px;position:relative}.uni-checkbox-input svg{color:#007aff;font-size:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}@media (hover: hover){uni-checkbox:not([disabled]) .uni-checkbox-input:hover{border-color:var(--HOVER-BD-COLOR, #007aff)!important}}uni-checkbox-group{display:block}uni-checkbox-group[hidden]{display:none}uni-cover-image{display:block;line-height:1.2;overflow:hidden;height:100%;width:100%;pointer-events:auto}uni-cover-image[hidden]{display:none}uni-cover-image .uni-cover-image{width:100%;height:100%}uni-cover-view{display:block;line-height:1.2;overflow:hidden;white-space:nowrap;pointer-events:auto}uni-cover-view[hidden]{display:none}uni-cover-view .uni-cover-view{width:100%;height:100%;visibility:hidden;text-overflow:inherit;white-space:inherit;align-items:inherit;justify-content:inherit;flex-direction:inherit;flex-wrap:inherit;display:inherit;overflow:inherit}.ql-container{display:block;position:relative;box-sizing:border-box;-webkit-user-select:text;user-select:text;outline:none;overflow:hidden;width:100%;height:200px;min-height:200px}.ql-container[hidden]{display:none}.ql-container .ql-editor{position:relative;font-size:inherit;line-height:inherit;font-family:inherit;min-height:inherit;width:100%;height:100%;padding:0;overflow-x:hidden;overflow-y:auto;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-overflow-scrolling:touch}.ql-container .ql-editor::-webkit-scrollbar{width:0!important}.ql-container .ql-editor.scroll-disabled{overflow:hidden}.ql-container .ql-image-overlay{display:flex;position:absolute;box-sizing:border-box;border:1px dashed #ccc;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none}.ql-container .ql-image-overlay .ql-image-size{position:absolute;padding:4px 8px;text-align:center;background-color:#fff;color:#888;border:1px solid #ccc;box-sizing:border-box;opacity:.8;right:4px;top:4px;font-size:12px;display:inline-block;width:auto}.ql-container .ql-image-overlay .ql-image-toolbar{position:relative;text-align:center;box-sizing:border-box;background:#000;border-radius:5px;color:#fff;font-size:0;min-height:24px;z-index:100}.ql-container .ql-image-overlay .ql-image-toolbar span{display:inline-block;cursor:pointer;padding:5px;font-size:12px;border-right:1px solid #fff}.ql-container .ql-image-overlay .ql-image-toolbar span:last-child{border-right:0}.ql-container .ql-image-overlay .ql-image-toolbar span.triangle-up{padding:0;position:absolute;top:-12px;left:50%;transform:translate(-50%);width:0;height:0;border-width:6px;border-style:solid;border-color:transparent transparent black transparent}.ql-container .ql-image-overlay .ql-image-handle{position:absolute;height:12px;width:12px;border-radius:50%;border:1px solid #ccc;box-sizing:border-box;background:#fff}.ql-container img{display:inline-block;max-width:100%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;height:100%;outline:none;overflow-y:auto;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"•"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"☑"}.ql-editor ul[data-checked=false]>li:before{content:"☐"}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em}.ql-editor li.ql-direction-rtl:before{margin-right:-1.5em}.ql-editor li:before{display:inline-block;white-space:nowrap;width:2em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:2em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:2em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:2em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:4em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:4em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:4em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:6em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:8em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:8em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:8em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:10em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:10em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:10em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:12em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:14em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:14em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:14em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:16em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:16em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:16em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:18em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;pointer-events:none;position:absolute}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}uni-icon{display:inline-block;font-size:0;box-sizing:border-box}uni-icon[hidden]{display:none}uni-image{width:320px;height:240px;display:inline-block;overflow:hidden;position:relative}uni-image[hidden]{display:none}uni-image>div{width:100%;height:100%;background-repeat:no-repeat}uni-image>img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;display:block;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0}uni-image>.uni-image-will-change{will-change:transform}uni-input{display:block;font-size:16px;line-height:1.4em;height:1.4em;min-height:1.4em;overflow:hidden}uni-input[hidden]{display:none}.uni-input-wrapper,.uni-input-placeholder,.uni-input-form,.uni-input-input{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-input-wrapper,.uni-input-form{display:flex;position:relative;width:100%;height:100%;flex-direction:column;justify-content:center}.uni-input-placeholder,.uni-input-input{width:100%}.uni-input-placeholder{position:absolute;top:auto!important;left:0;color:gray;overflow:hidden;text-overflow:clip;white-space:pre;word-break:keep-all;pointer-events:none;line-height:inherit}.uni-input-input{position:relative;display:block;height:100%;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-input-input[type=search]::-webkit-search-cancel-button,.uni-input-input[type=search]::-webkit-search-decoration{display:none}.uni-input-input::-webkit-outer-spin-button,.uni-input-input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}.uni-input-input[type=number]{-moz-appearance:textfield}.uni-input-input:disabled{-webkit-text-fill-color:currentcolor}.uni-label-pointer{cursor:pointer}uni-live-pusher{width:320px;height:240px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-live-pusher[hidden]{display:none}.uni-live-pusher-container{width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden;background-color:#000}.uni-live-pusher-slot{position:absolute;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none}uni-map{width:300px;height:225px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-map[hidden]{display:none}.uni-map-container{width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden;background-color:transparent}.uni-map-slot{position:absolute;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none}uni-map.web{position:relative;width:300px;height:150px;display:block}uni-map.web[hidden]{display:none}uni-map.web .amap-marker-label{padding:0;border:none;background-color:transparent}uni-map.web .amap-marker>.amap-icon>img{left:0!important;top:0!important}uni-map.web .uni-map-control{position:absolute;width:0;height:0;top:0;left:0;z-index:999}uni-map.web .uni-map-control-icon{position:absolute;max-width:initial}.uni-system-choose-location{display:block;position:fixed;left:0;top:0;width:100%;height:100%;background:#f8f8f8;z-index:999}.uni-system-choose-location .map{position:absolute;top:0;left:0;width:100%;height:300px}.uni-system-choose-location .map-location{position:absolute;left:50%;bottom:50%;width:32px;height:52px;margin-left:-16px;cursor:pointer;background-size:100%}.uni-system-choose-location .map-move{position:absolute;bottom:50px;right:10px;width:40px;height:40px;box-sizing:border-box;line-height:40px;background-color:#fff;border-radius:50%;pointer-events:auto;cursor:pointer;box-shadow:0 0 5px 1px rgba(0,0,0,.3)}.uni-system-choose-location .map-move>svg{display:block;width:100%;height:100%;box-sizing:border-box;padding:8px}.uni-system-choose-location .nav{position:absolute;top:0;left:0;width:100%;height:calc(44px + var(--status-bar-height));background-color:transparent;background-image:linear-gradient(to bottom,rgba(0,0,0,.3),rgba(0,0,0,0))}.uni-system-choose-location .nav-btn{position:absolute;box-sizing:border-box;top:var(--status-bar-height);left:0;width:60px;height:44px;padding:6px;line-height:32px;font-size:26px;color:#fff;text-align:center;cursor:pointer}.uni-system-choose-location .nav-btn.confirm{left:auto;right:0}.uni-system-choose-location .nav-btn.disable{opacity:.4}.uni-system-choose-location .nav-btn>svg{display:block;width:100%;height:100%;border-radius:2px;box-sizing:border-box;padding:3px}.uni-system-choose-location .nav-btn.confirm>svg{background-color:#007aff;padding:5px}.uni-system-choose-location .menu{position:absolute;top:300px;left:0;width:100%;bottom:0;background-color:#fff}.uni-system-choose-location .search{display:flex;flex-direction:row;height:50px;padding:8px;line-height:34px;box-sizing:border-box;background-color:#fff}.uni-system-choose-location .search-input{flex:1;height:100%;border-radius:5px;padding:0 5px;background:#ebebeb}.uni-system-choose-location .search-btn{margin-left:5px;color:#007aff;font-size:17px;text-align:center}.uni-system-choose-location .list{position:absolute;top:50px;left:0;width:100%;bottom:0;padding-bottom:10px}.uni-system-choose-location .list-loading{display:flex;height:50px;justify-content:center;align-items:center}.uni-system-choose-location .list-item{position:relative;padding:10px 40px 10px 10px;cursor:pointer}.uni-system-choose-location .list-item>svg{display:none;position:absolute;top:50%;right:10px;width:30px;height:30px;margin-top:-15px;box-sizing:border-box;padding:5px}.uni-system-choose-location .list-item.selected>svg{display:block}.uni-system-choose-location .list-item:not(:last-child):after{position:absolute;content:"";height:1px;left:10px;bottom:0;width:100%;background-color:#d3d3d3}.uni-system-choose-location .list-item-title{font-size:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.uni-system-choose-location .list-item-detail{font-size:12px;color:gray;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media screen and (min-width: 800px){.uni-system-choose-location .map{top:0;height:100%}.uni-system-choose-location .map-move{bottom:10px;right:320px}.uni-system-choose-location .menu{top:calc(54px + var(--status-bar-height));left:auto;right:10px;width:300px;bottom:10px;max-height:600px;box-shadow:0 0 20px 5px rgba(0,0,0,.3)}}.uni-system-open-location{display:block;position:fixed;left:0;top:0;width:100%;height:100%;background:#f8f8f8;z-index:999}.uni-system-open-location .map{position:absolute;top:0;left:0;width:100%;bottom:80px;height:auto}.uni-system-open-location .info{position:absolute;bottom:0;left:0;width:100%;height:80px;background-color:#fff;padding:15px;box-sizing:border-box;line-height:1.5}.uni-system-open-location .info>.name{font-size:17px;color:#111;padding-right:50px}.uni-system-open-location .info>.address{font-size:14px;color:#666}.uni-system-open-location .info>.nav{position:absolute;top:50%;right:15px;width:50px;height:50px;border-radius:50%;margin-top:-25px;background-color:#007aff}.uni-system-open-location .info>.nav>svg{display:block;width:100%;height:100%;padding:10px;box-sizing:border-box}.uni-system-open-location .map-move{position:absolute;bottom:50px;right:10px;width:40px;height:40px;box-sizing:border-box;line-height:40px;background-color:#fff;border-radius:50%;pointer-events:auto;cursor:pointer;box-shadow:0 0 5px 1px rgba(0,0,0,.3)}.uni-system-open-location .map-move>svg{display:block;width:100%;height:100%;box-sizing:border-box;padding:8px}.uni-system-open-location .nav-btn-back{position:absolute;box-sizing:border-box;top:var(--status-bar-height);left:0;width:44px;height:44px;padding:6px;cursor:pointer}.uni-system-open-location .nav-btn-back>svg{display:block;width:100%;height:100%;border-radius:50%;background-color:rgba(0,0,0,.5);padding:3px;box-sizing:border-box}.uni-system-open-location .map-content{position:absolute;left:0;top:0;width:100%;bottom:0;overflow:hidden}.uni-system-open-location .map-content.fix-position{top:-74px;bottom:-44px}.uni-system-open-location .map-content>iframe{width:100%;height:100%;border:none}.uni-system-open-location .actTonav{position:absolute;right:16px;bottom:56px;width:60px;height:60px;border-radius:60px}.uni-system-open-location .nav-view{position:absolute;left:0;top:0;width:100%;height:100%;display:flex;flex-direction:column}.uni-system-open-location .nav-view-top-placeholder{width:100%;height:var(--status-bar-height);background-color:#fff}.uni-system-open-location .nav-view-frame{width:100%;flex:1}uni-movable-area{display:block;position:relative;width:10px;height:10px}uni-movable-area[hidden]{display:none}uni-movable-view{display:inline-block;width:10px;height:10px;top:0;left:0;position:absolute;cursor:grab}uni-movable-view[hidden]{display:none}uni-navigator{height:auto;width:auto;display:block;cursor:pointer}uni-navigator[hidden]{display:none}.navigator-hover{background-color:rgba(0,0,0,.1);opacity:.7}.navigator-wrap,.navigator-wrap:link,.navigator-wrap:visited,.navigator-wrap:hover,.navigator-wrap:active{text-decoration:none;color:inherit;cursor:pointer}uni-picker-view{display:block}.uni-picker-view-wrapper{display:flex;position:relative;overflow:hidden;height:100%}uni-picker-view[hidden]{display:none}uni-picker-view-column{flex:1;position:relative;height:100%;overflow:hidden}uni-picker-view-column[hidden]{display:none}.uni-picker-view-group{height:100%;overflow:hidden}.uni-picker-view-mask{transform:translateZ(0)}.uni-picker-view-indicator,.uni-picker-view-mask{position:absolute;left:0;width:100%;z-index:3;pointer-events:none}.uni-picker-view-mask{top:0;height:100%;margin:0 auto;background-image:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.6)),linear-gradient(0deg,rgba(255,255,255,.95),rgba(255,255,255,.6));background-position:top,bottom;background-size:100% 102px;background-repeat:no-repeat;transform:translateZ(0)}.uni-picker-view-indicator{height:34px;top:50%;transform:translateY(-50%)}.uni-picker-view-content{position:absolute;top:0;left:0;width:100%;will-change:transform;padding:102px 0;cursor:pointer}.uni-picker-view-content>*{height:var(--picker-view-column-indicator-height);overflow:hidden}.uni-picker-view-indicator:before{top:0;border-top:1px solid #e5e5e5;transform-origin:0 0;transform:scaleY(.5)}.uni-picker-view-indicator:after{bottom:0;border-bottom:1px solid #e5e5e5;transform-origin:0 100%;transform:scaleY(.5)}.uni-picker-view-indicator:after,.uni-picker-view-indicator:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#e5e5e5}@media (prefers-color-scheme: dark){.uni-picker-view-indicator:before{border-top-color:var(--UI-FG-3)}.uni-picker-view-indicator:after{border-bottom-color:var(--UI-FG-3)}.uni-picker-view-mask{background-image:linear-gradient(180deg,rgba(35,35,35,.95),rgba(35,35,35,.6)),linear-gradient(0deg,rgba(35,35,35,.95),rgba(35,35,35,.6))}}uni-progress{display:flex;align-items:center}uni-progress[hidden]{display:none}.uni-progress-bar{flex:1}.uni-progress-inner-bar{width:0;height:100%}.uni-progress-info{margin-top:0;margin-bottom:0;min-width:2em;margin-left:15px;font-size:16px}uni-radio{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-radio[hidden]{display:none}uni-radio[disabled]{cursor:not-allowed}.uni-radio-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-radio-input{-webkit-appearance:none;appearance:none;margin-right:5px;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:50%;width:22px;height:22px;position:relative}@media (hover: hover){uni-radio:not([disabled]) .uni-radio-input:hover{border-color:var(--HOVER-BD-COLOR, #007aff)!important}}.uni-radio-input svg{color:#fff;font-size:18px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}.uni-radio-input.uni-radio-input-disabled{background-color:#e1e1e1;border-color:#d1d1d1}.uni-radio-input.uni-radio-input-disabled svg{color:#adadad}uni-radio-group{display:block}uni-radio-group[hidden]{display:none}uni-scroll-view{display:block;width:100%}uni-scroll-view[hidden]{display:none}.uni-scroll-view{position:relative;-webkit-overflow-scrolling:touch;width:100%;height:100%;max-height:inherit}.uni-scroll-view-scrollbar-hidden::-webkit-scrollbar{display:none}.uni-scroll-view-scrollbar-hidden{-moz-scrollbars:none;scrollbar-width:none}.uni-scroll-view-content{width:100%;height:100%}.uni-scroll-view-refresher{position:relative;overflow:hidden;flex-shrink:0}.uni-scroll-view-refresher-container{position:absolute;width:100%;bottom:0;display:flex;flex-direction:column-reverse}.uni-scroll-view-refresh{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:row;justify-content:center;align-items:center}.uni-scroll-view-refresh-inner{display:flex;align-items:center;justify-content:center;line-height:0;width:40px;height:40px;border-radius:50%;background-color:#fff;box-shadow:0 1px 6px rgba(0,0,0,.118),0 1px 4px rgba(0,0,0,.118)}.uni-scroll-view-refresh__spinner{transform-origin:center center;animation:uni-scroll-view-refresh-rotate 2s linear infinite}.uni-scroll-view-refresh__spinner>circle{stroke:currentColor;stroke-linecap:round;animation:uni-scroll-view-refresh-dash 2s linear infinite}@keyframes uni-scroll-view-refresh-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes uni-scroll-view-refresh-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}uni-slider{margin:10px 18px;padding:0;display:block}uni-slider[hidden]{display:none}uni-slider .uni-slider-wrapper{display:flex;align-items:center;min-height:16px}uni-slider .uni-slider-tap-area{flex:1;padding:8px 0}uni-slider .uni-slider-handle-wrapper{position:relative;height:2px;border-radius:5px;background-color:#e9e9e9;cursor:pointer;transition:background-color .3s ease;-webkit-tap-highlight-color:transparent}uni-slider .uni-slider-track{height:100%;border-radius:6px;background-color:#007aff;transition:background-color .3s ease}uni-slider .uni-slider-handle,uni-slider .uni-slider-thumb{position:absolute;left:50%;top:50%;cursor:pointer;border-radius:50%;transition:border-color .3s ease}uni-slider .uni-slider-handle{width:28px;height:28px;margin-top:-14px;margin-left:-14px;background-color:transparent;z-index:3;cursor:grab}uni-slider .uni-slider-thumb{z-index:2;box-shadow:0 0 4px rgba(0,0,0,.2)}uni-slider .uni-slider-step{position:absolute;width:100%;height:2px;background:transparent;z-index:1}uni-slider .uni-slider-value{width:3ch;color:#888;font-size:14px;margin-left:1em}uni-slider .uni-slider-disabled .uni-slider-track{background-color:#ccc}uni-slider .uni-slider-disabled .uni-slider-thumb{background-color:#fff;border-color:#ccc}uni-swiper{display:block;height:150px}uni-swiper[hidden]{display:none}.uni-swiper-wrapper{overflow:hidden;position:relative;width:100%;height:100%;transform:translateZ(0)}.uni-swiper-slides{position:absolute;left:0;top:0;right:0;bottom:0}.uni-swiper-slide-frame{position:absolute;left:0;top:0;width:100%;height:100%;will-change:transform}.uni-swiper-dots{position:absolute;font-size:0}.uni-swiper-dots-horizontal{left:50%;bottom:10px;text-align:center;white-space:nowrap;transform:translate(-50%)}.uni-swiper-dots-horizontal .uni-swiper-dot{margin-right:8px}.uni-swiper-dots-horizontal .uni-swiper-dot:last-child{margin-right:0}.uni-swiper-dots-vertical{right:10px;top:50%;text-align:right;transform:translateY(-50%)}.uni-swiper-dots-vertical .uni-swiper-dot{display:block;margin-bottom:9px}.uni-swiper-dots-vertical .uni-swiper-dot:last-child{margin-bottom:0}.uni-swiper-dot{display:inline-block;width:8px;height:8px;cursor:pointer;transition-property:background-color;transition-timing-function:ease;background:rgba(0,0,0,.3);border-radius:50%}.uni-swiper-dot-active{background-color:#000}.uni-swiper-navigation{width:26px;height:26px;cursor:pointer;position:absolute;top:50%;margin-top:-13px;display:flex;align-items:center;transition:all .2s;border-radius:50%;opacity:1}.uni-swiper-navigation-disabled{opacity:.35;cursor:not-allowed}.uni-swiper-navigation-hide{opacity:0;cursor:auto;pointer-events:none}.uni-swiper-navigation-prev{left:10px}.uni-swiper-navigation-prev svg{margin-left:-1px;left:10px}.uni-swiper-navigation-prev.uni-swiper-navigation-vertical{top:18px;left:50%;margin-left:-13px}.uni-swiper-navigation-prev.uni-swiper-navigation-vertical svg{transform:rotate(90deg);margin-left:auto;margin-top:-2px}.uni-swiper-navigation-next{right:10px}.uni-swiper-navigation-next svg{transform:rotate(180deg)}.uni-swiper-navigation-next.uni-swiper-navigation-vertical{top:auto;bottom:5px;left:50%;margin-left:-13px}.uni-swiper-navigation-next.uni-swiper-navigation-vertical svg{margin-top:2px;transform:rotate(270deg)}uni-swiper-item{display:block;overflow:hidden;will-change:transform;position:absolute;width:100%;height:100%;cursor:grab}uni-swiper-item[hidden]{display:none}uni-switch{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-switch[hidden]{display:none}uni-switch[disabled]{cursor:not-allowed}uni-switch[disabled] .uni-switch-input{opacity:.7}.uni-switch-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-switch-input{-webkit-appearance:none;appearance:none;position:relative;width:52px;height:32px;margin-right:5px;border:1px solid #dfdfdf;outline:0;border-radius:16px;box-sizing:border-box;background-color:#dfdfdf;transition:background-color .1s,border .1s}.uni-switch-input:before{content:" ";position:absolute;top:0;left:0;width:50px;height:30px;border-radius:15px;background-color:#fdfdfd;transition:transform .3s}.uni-switch-input:after{content:" ";position:absolute;top:0;left:0;width:30px;height:30px;border-radius:15px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4);transition:transform .3s}.uni-switch-input.uni-switch-input-checked{border-color:#007aff;background-color:#007aff}.uni-switch-input.uni-switch-input-checked:before{transform:scale(0)}.uni-switch-input.uni-switch-input-checked:after{transform:translate(20px)}uni-switch .uni-checkbox-input{margin-right:5px;-webkit-appearance:none;appearance:none;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:22px;height:22px;position:relative;color:#007aff}uni-switch:not([disabled]) .uni-checkbox-input:hover{border-color:#007aff}uni-switch .uni-checkbox-input svg{fill:#007aff;font-size:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}.uni-checkbox-input.uni-checkbox-input-disabled{background-color:#e1e1e1}.uni-checkbox-input.uni-checkbox-input-disabled:before{color:#adadad}@media (prefers-color-scheme: dark){uni-switch .uni-switch-input{border-color:#3b3b3f}uni-switch .uni-switch-input,uni-switch .uni-switch-input:before{background-color:#3b3b3f}uni-switch .uni-switch-input:after{background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4)}uni-switch .uni-checkbox-input{background-color:#2c2c2c;border:1px solid #656565}}uni-textarea{width:300px;height:150px;display:block;position:relative;font-size:16px;line-height:normal;white-space:pre-wrap;word-break:break-all}uni-textarea[hidden]{display:none}uni-textarea[auto-height=true]{height:-webkit-fit-content!important;height:fit-content!important}.uni-textarea-wrapper,.uni-textarea-placeholder,.uni-textarea-line,.uni-textarea-compute,.uni-textarea-textarea{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-textarea-wrapper{display:block;position:relative;width:100%;height:100%;min-height:inherit;overflow-y:hidden}.uni-textarea-placeholder,.uni-textarea-line,.uni-textarea-compute,.uni-textarea-textarea{position:absolute;width:100%;height:100%;left:0;top:0;white-space:inherit;word-break:inherit}.uni-textarea-placeholder{color:gray;overflow:hidden}.uni-textarea-line,.uni-textarea-compute{visibility:hidden;height:auto}.uni-textarea-line{width:1em}.uni-textarea-compute-auto-height{overflow-wrap:break-word}.uni-textarea-textarea{resize:none;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-textarea-textarea-fix-margin{width:auto;right:0;margin:0 -3px}.uni-textarea-textarea:disabled{-webkit-text-fill-color:currentcolor}uni-video{width:300px;height:225px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-video[hidden]{display:none}.uni-video-container{width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden;background-color:#000}.uni-video-slot{position:absolute;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none}uni-web-view{display:inline-block;position:absolute;left:0;right:0;top:0;bottom:0} - -uni-picker .uni-picker-container .uni-picker-custom,.uni-picker-container .uni-picker-custom.uni-picker-custom{width:8.125rem!important;box-shadow:0 0 20px 5px rgba(0,0,0,.1)!important}uni-picker .uni-picker-container.uni-selector-select .uni-picker-select .uni-picker-item,.uni-picker-container.uni-selector-select .uni-picker-select .uni-picker-item,uni-picker .uni-picker-container .uni-picker-view-content .uni-picker-item,.uni-picker-container .uni-picker-view-content .uni-picker-item{text-align:left;padding-left:.625rem} diff --git a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/manifest.json b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/manifest.json deleted file mode 100644 index 27eb9de..0000000 --- a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/manifest.json +++ /dev/null @@ -1,119 +0,0 @@ -{ - "@platforms": [ - "android", - "iPhone", - "iPad" - ], - "id": "__UNI__F18BF9C", - "name": "WMS工作台", - "version": { - "name": "1.0.1", - "code": "101" - }, - "description": "", - "developer": { - "name": "", - "email": "", - "url": "" - }, - "permissions": { - "UniNView": { - "description": "UniNView原生渲染" - } - }, - "plus": { - "useragent": { - "value": "uni-app", - "concatenate": true - }, - "splashscreen": { - "target": "id:1", - "autoclose": true, - "waiting": true, - "delay": 0 - }, - "popGesture": "close", - "launchwebview": { - "render": "always", - "id": "1", - "kernel": "WKWebview" - }, - "usingComponents": true, - "nvueStyleCompiler": "uni-app", - "compilerVersion": 3, - "distribute": { - "google": { - "permissions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "abiFilters": [ - "x86", - "armeabi-v7a", - "arm64-v8a" - ] - }, - "apple": { - "dSYMs": false - }, - "plugins": { - "audio": { - "mp3": { - "description": "Android平台录音支持MP3格式文件" - } - } - } - }, - "statusbar": { - "immersed": "supportedDevice", - "style": "dark", - "background": "#F8F8F8" - }, - "uniStatistics": { - "enable": false - }, - "allowsInlineMediaPlayback": true, - "uni-app": { - "control": "uni-v3", - "vueVersion": "3", - "compilerVersion": "5.07", - "nvueCompiler": "uni-app", - "renderer": "auto", - "nvue": { - "flex-direction": "column" - }, - "nvueLaunchMode": "normal", - "webView": { - "minUserAgentVersion": "49.0" - } - } - }, - "app-harmony": { - "useragent": { - "value": "uni-app", - "concatenate": true - }, - "uniStatistics": { - "enable": false - } - }, - "screenOrientation": [ - "landscape-primary", - "landscape-secondary" - ], - "launch_path": "__uniappview.html" -} \ No newline at end of file diff --git a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/index/index.css b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/index/index.css deleted file mode 100644 index aa27f43..0000000 --- a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/index/index.css +++ /dev/null @@ -1 +0,0 @@ -.top-nav[data-v-a0b04150]{width:100%;margin-bottom:.75rem;padding:.5625rem .875rem;box-sizing:border-box;background-color:#2f7dff;display:flex;align-items:center;justify-content:space-between}.top-nav-logo[data-v-a0b04150]{width:7.5rem;height:2.8125rem;flex-shrink:0}.top-nav-right[data-v-a0b04150]{position:relative;margin-left:auto}.top-nav-menu-wrap[data-v-a0b04150]{display:flex;align-items:center;margin-left:1.125rem;gap:.4375rem;min-width:0}.top-nav-menu-item[data-v-a0b04150]{padding:.3125rem .5625rem;border-radius:.25rem}.top-nav-menu-item--active[data-v-a0b04150]{background-color:rgba(255,255,255,.24)}.top-nav-menu-text[data-v-a0b04150]{font-size:1rem;color:#fff;font-weight:500}.top-nav-user[data-v-a0b04150]{display:flex;align-items:center;gap:.3125rem;cursor:pointer}.top-nav-user-name[data-v-a0b04150]{color:#fff;font-size:1rem;line-height:1}.top-nav-mine-icon[data-v-a0b04150]{width:1.375rem;height:1.375rem;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:31.21875rem;background-color:rgba(255,255,255,.2);box-sizing:border-box}.top-nav-mine-icon-head[data-v-a0b04150]{width:.375rem;height:.375rem;border:.0625rem solid #fff;border-radius:50%;box-sizing:border-box}.top-nav-mine-icon-body[data-v-a0b04150]{width:.625rem;height:.3125rem;margin-top:.125rem;border:.0625rem solid #fff;border-top:none;border-radius:0 0 .375rem .375rem;box-sizing:border-box}.popup-card[data-v-a0b04150]{position:absolute;right:0;top:2.1875rem;min-width:10.3125rem;background:#fff;border-radius:.375rem;box-shadow:0 .375rem 1rem rgba(0,0,0,.16);padding:.5rem;box-sizing:border-box;z-index:30}.popup-user-info[data-v-a0b04150]{max-height:10rem;overflow-y:auto}.popup-user-item[data-v-a0b04150]{padding:.375rem;border-radius:.25rem}.popup-user-item--current[data-v-a0b04150]{background-color:#edf4ff}.popup-user-text[data-v-a0b04150]{font-size:.875rem;color:#333}.popup-user-item--current .popup-user-text[data-v-a0b04150]{color:#2f7dff}.logout-btn[data-v-a0b04150]{margin-top:.5rem;height:1.875rem;line-height:1.875rem;font-size:.875rem}.close-btn[data-v-a0b04150]{margin-top:.3125rem;height:1.875rem;line-height:1.875rem;font-size:.875rem;background-color:#f5f7fb;color:#333}.switch-mask[data-v-a0b04150]{position:fixed;left:0;top:0;right:0;bottom:0;background-color:#f8f8f8;z-index:9999;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}.switch-mask--active[data-v-a0b04150]{opacity:1;visibility:visible}.page{height:100%;min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;background-color:#f8f8f8}.scan-hidden-input{position:absolute;width:1px;height:1px;opacity:0;left:-9999px;top:-9999px}.page-main{flex:1;min-height:0;overflow-y:auto;padding:.25rem 0 0;box-sizing:border-box;display:flex;flex-direction:column}.page-main.order-review-one{overflow:hidden}.page-main.order-review-one>.container{height:100%;min-height:0;flex:1 1 0;overflow:hidden}.order-review-one{width:100%}.container{background:#f8f8f8;border-radius:.5rem;margin:0;padding:.3125rem;width:100%;min-height:100%;flex:1 1 auto;box-sizing:border-box;display:flex;flex-direction:column}.container--compact-top{padding-top:0}.content-panel{display:flex;align-items:stretch;gap:.625rem;flex:1;min-height:0;background-color:#f8f8f8}.panel-left{width:21.875rem;flex-shrink:0;display:flex;flex-direction:column;border-right:.03125rem solid #e6ebf5;padding-right:.625rem;background-color:#fff}.panel-right{flex:1;min-width:0;background-color:#f8f8f8;display:flex;flex-direction:column}.left-reviewed-list{margin-top:.4375rem;max-height:34.375rem}.left-reviewed-list--current-wave{margin-top:0;flex:1;min-height:0;max-height:none}.left-reviewed-list--current-wave-body{width:100%;min-height:0;height:100%}.search-bar{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem}.scan-qty-bar{display:flex;align-items:center;justify-content:space-between;gap:.375rem;margin-bottom:.5rem;padding:.375rem .5rem;background-color:#fff;border-radius:.3125rem}.scan-qty-text{font-size:.8125rem;color:#333}.scan-qty-label{font-size:.875rem;font-weight:600;color:#fff;background-color:#ff7d00;padding:.25rem .75rem;border-radius:.25rem}.scan-qty-stepper{display:flex;align-items:center;gap:.25rem}.scan-qty-btn{width:1.75rem;height:1.75rem;display:flex;align-items:center;justify-content:center;border:.03125rem solid #d9dde8;border-radius:.25rem;background-color:#fff;color:#333;font-size:1rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.scan-qty-btn:active{background-color:#f0f2f5}.scan-qty-input{width:3.4375rem;height:1.75rem;text-align:center;border:.03125rem solid #d9dde8;border-radius:.25rem;font-size:.875rem;background-color:#fff}.search-input{flex:1;height:2.25rem;border:.03125rem solid #e5e5e5;border-radius:.3125rem;padding:0 .625rem;font-size:.875rem;background-color:#fff}.table-scroll{width:100%}.table-scroll--detail{max-height:none}.table-scroll--detail-body{flex:1;min-height:0;height:100%}.table-wrap{min-width:30.625rem}.table-wrap--current-wave{min-width:19.375rem}.table-wrap--current-wave-sticky{margin-top:.4375rem;flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.table-wrap--current-wave-sticky .table-header{flex-shrink:0}.table-wrap--detail-sticky{flex:1;min-height:0;display:flex;flex-direction:column;overflow-x:auto}.empty-panel{display:flex;align-items:center;justify-content:center;box-sizing:border-box;border:.03125rem solid #e6ebf5;background-color:#fff;color:#999;font-size:.875rem}.empty-panel--left{margin-top:.4375rem;flex:1;min-height:0;align-items:flex-start;padding-top:1.25rem}.left-summary-bar{display:flex;align-items:center;gap:.75rem;margin:.4375rem -.625rem -.3125rem -.3125rem;padding:.4375rem .625rem;background-color:#f6f8fc;border:.03125rem solid #e6ebf5;border-left:none;border-right:none;border-radius:0}.left-summary-text{font-size:.8125rem;color:#333}.left-summary-sep{font-size:.8125rem;color:#d0d5e0}.left-summary-num{font-weight:700;color:#2f7dff}.left-summary-num--orange{color:#ff7d00}.left-summary-refresh{margin:0 0 0 auto;flex-shrink:0;height:1.5rem;line-height:1.5rem;padding:0 .625rem;font-size:.75rem;border-radius:.25rem;background-color:#2f7dff;color:#fff}.left-summary-refresh:after{border:none}.empty-panel--right-inline{flex:1;min-height:0;min-width:30.625rem;border-top:none}.table-wrap--detail-sticky .table-header,.table-wrap--detail-sticky .table-body{min-width:30.625rem}.table-wrap--detail-sticky .table-header{flex-shrink:0}.table-scroll--detail-body{flex:1;min-height:0}.table-wrap--detail .table-cell{align-self:stretch;display:flex;align-items:center;border-right:.03125rem solid #d0d5e0;box-sizing:border-box;position:relative}.col-resizer{position:absolute;top:0;right:-.1875rem;width:.4375rem;height:100%;cursor:col-resize;z-index:3;-webkit-user-select:none;-moz-user-select:none;user-select:none}.table-wrap--detail .table-header,.table-wrap--detail .table-body{border-color:#d0d5e0}.table-wrap--detail .table-row{border-top-color:#d0d5e0}.table-wrap--detail .table-header{border-left:.03125rem solid #d0d5e0}.table-wrap--detail .table-row{border-left:none}.table-wrap--detail .table-body{border-left:.03125rem solid #d0d5e0}.table-wrap--detail .table-cell:last-child{border-right:none}.table-wrap--detail .table-body .table-cell{white-space:normal;overflow:visible;text-overflow:clip;word-break:break-all;line-height:1.4;padding-top:.3125rem;padding-bottom:.3125rem}.table-header,.table-row{display:flex;align-items:center}.table-header{height:2rem;border:.03125rem solid #e6ebf5;border-bottom:none;border-left:.1875rem solid transparent;background-color:#f6f8fc}.table-header .table-cell{font-weight:700;color:#666}.table-header--sticky{position:sticky;top:0;z-index:2}.table-body{border:.03125rem solid #e6ebf5}.table-row{min-height:2.125rem;border-top:.03125rem solid #eef2f8;border-left:.1875rem solid transparent;box-sizing:border-box}.table-row:first-child{border-top:none}.table-row--alt{background-color:#fafafa}.detail-row--scanned{background-color:#67c23a}.detail-row--scanned .table-cell{color:#fff}.table-row--selected{background-color:#d6e8ff;border-left-color:#1f63d3;box-shadow:inset 0 0 0 .0625rem rgba(31,99,211,.22)}.table-cell{padding:0 .375rem;font-size:.875rem;color:#333;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cell-barcode,.cell-name{flex:1;min-width:0}.cell-scanned,.cell-total{width:4.6875rem;justify-content:center;font-weight:700}.cell-basket{width:4.375rem;justify-content:center}.table-wrap--detail .table-body .cell-basket,.table-wrap--detail .table-body .cell-total,.table-wrap--detail .table-body .cell-scanned{font-size:1rem}.cell-spec{flex:.6;min-width:0}.cell-image{width:4.6875rem;justify-content:center}.item-image{width:2.25rem;height:2.25rem;border-radius:.1875rem;background-color:#f2f4f8;margin:.25rem 0}.cell-image-empty{color:#999}.cell-pack{flex:1;min-width:0}.cell-index{width:3.75rem}.cell-pending-order{flex:1;min-width:0}.cell-weight{width:4.0625rem}.cell-review-status{width:3.4375rem}.cell-wave-index{width:2.8125rem}.scan-row .cell-review-status{padding-right:0;margin-right:.25rem}.scan-row .cell-wave-index{padding-left:0;padding-right:0;margin-right:.25rem}.scan-row .cell-wave-no{padding-left:0;min-width:4.375rem;white-space:nowrap;overflow:visible}.scan-row--intercept .cell-wave-no{white-space:normal;overflow:visible;text-overflow:clip;word-break:break-all}.scan-row--reviewed .table-cell{color:#999}.cell-review-status--unreviewed{color:#ff7d00}.cell-wave-no{flex:1;min-width:0;padding-left:.125rem;white-space:nowrap;overflow:visible}.cell-print-status{width:5rem;text-align:right;padding-right:.75rem}.cell-print-status--unprinted{color:#34c759}.cell-intercept{flex-shrink:0;height:1.25rem;line-height:1.25rem;padding:0 .5rem;margin:0 .375rem 0 .125rem;font-size:.75rem;color:#fff;background-color:#e64340;border-radius:.25rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.cell-intercept--done{background-color:#909399}.weigh-mask{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;z-index:998}.weigh-dialog{width:20.9375rem;max-width:92%;background-color:#fff;border-radius:.5rem;box-shadow:0 .25rem 1.25rem rgba(0,0,0,.18);overflow:hidden;display:flex;flex-direction:column}.weigh-dialog--settings{width:26.875rem;max-width:96%}.weigh-dialog-header{display:flex;align-items:center;justify-content:space-between;padding:.875rem 1rem .625rem;border-bottom:.03125rem solid #eef2f8}.weigh-dialog-title{font-size:1rem;font-weight:700;color:#333}.weigh-dialog-close{font-size:.9375rem;color:#999;padding:.25rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.weigh-dialog-body{padding:.75rem 1rem}.weigh-info-row{display:flex;align-items:center;gap:.5rem;padding:.3125rem 0}.weigh-info-label{width:4.375rem;flex-shrink:0;font-size:.8125rem;color:#909399}.weigh-info-value{flex:1;min-width:0;font-size:1.0625rem;color:#333;word-break:break-all}.pm-scan-row{display:flex;margin-top:.625rem}.pm-tip{margin-top:.375rem;font-size:.75rem;color:#909399;text-align:center}.pm-result-scroll{max-height:9.375rem;margin-top:.5rem;border:.03125rem solid #e6ebf5;border-radius:.25rem;box-sizing:border-box}.pm-result-item{display:flex;align-items:center;gap:.375rem;padding:.4375rem .5rem;border-bottom:.03125rem solid #f0f2f6;cursor:pointer}.pm-result-item:last-child{border-bottom:none}.pm-result-item--active{background-color:#eaf2ff}.pm-result-main{display:flex;flex-direction:column;min-width:0;flex:1}.pm-result-name{font-size:.875rem;font-weight:600;color:#333}.pm-result-code{font-size:.6875rem;color:#909399;margin-top:.0625rem}.pm-result-meta{display:flex;align-items:center;gap:.375rem;flex-shrink:0}.pm-result-tag{font-size:.6875rem;color:#ff7d00;background-color:#fff3e6;padding:.0625rem .3125rem;border-radius:.5rem}.pm-result-spec{font-size:.6875rem;color:#909399}.pm-result-check{flex-shrink:0;color:#2f7dff;font-size:.9375rem;font-weight:700}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:.625rem;padding:.5rem .125rem;border-bottom:.03125rem solid #f0f2f6}.setting-row:last-child{border-bottom:none}.setting-row-label{flex-shrink:0;font-size:1rem;color:#333}.setting-seg{display:flex;align-items:center;flex-wrap:wrap;row-gap:.25rem;border:.03125rem solid #d9dde8;border-radius:.25rem;overflow:hidden}.setting-seg-item{padding:.25rem 1rem;font-size:.9375rem;color:#666;background-color:#fff;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-left:.03125rem solid #d9dde8;white-space:nowrap}.setting-seg-item:first-child{border-left:none}.setting-seg-item--on{background-color:#2f7dff;color:#fff}.setting-seg--nowrap{flex-wrap:nowrap;gap:.375rem}.setting-seg--nowrap .setting-seg-item{flex:1;display:flex;align-items:center;justify-content:center;padding:.25rem;text-align:center;border-left:none}.weigh-label-inline{display:flex;align-items:center;gap:.1875rem;flex-shrink:0;margin-right:.25rem}.weigh-required{color:#e64340;font-size:.9375rem;line-height:1}.weigh-input-label{font-size:.875rem;color:#333}.weigh-stepper{display:flex;align-items:center;gap:.25rem}.weigh-step-btn{flex-shrink:0;width:2.25rem;height:2.25rem;display:flex;align-items:center;justify-content:center;border:.03125rem solid #d9dde8;border-radius:.25rem;background-color:#fff;color:#333;font-size:1.125rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.weigh-step-btn:active{background-color:#f0f2f5}.weigh-input{flex:1;min-width:0;height:2.25rem;text-align:center;border:.03125rem solid #d9dde8;border-radius:.25rem;font-size:1.25rem;color:#333;background-color:#fff}.weigh-input-placeholder{font-size:.875rem;color:#999}.weigh-input-unit{flex-shrink:0;font-size:.8125rem;color:#909399}.weigh-dialog-footer{display:flex;align-items:center;justify-content:flex-end;gap:.625rem;padding:.625rem 1rem .875rem;border-top:.03125rem solid #eef2f8}.weigh-btn{height:2rem;line-height:2rem;padding:0 1.125rem;margin:0;font-size:.875rem;border-radius:.25rem}.weigh-btn:after{border:none}.weigh-btn--cancel{background-color:#fff;color:#666;border:.03125rem solid #d9dde8}.weigh-btn--confirm{background-color:#2f7dff;color:#fff}.weigh-btn--close{background-color:#909399;color:#fff}.no-barcode-review-content{padding:.25rem .125rem}.no-barcode-review-title{font-size:.9375rem;color:#333;line-height:1.5;word-break:break-all}.no-barcode-review-count{display:flex;align-items:center;gap:.5rem;margin-top:.625rem;padding:.5rem .625rem;background-color:#f6f8fc;border-radius:.25rem}.no-barcode-review-count-item{font-size:.8125rem;color:#909399}.no-barcode-review-count-item--done{color:#2f7dff;font-weight:700}.no-barcode-review-arrow{font-size:.8125rem;color:#c0c4cc}.confirm-review-content{padding:.25rem .125rem}.confirm-review-text{font-size:.9375rem;color:#333;line-height:1.5;word-break:break-all}.batch-dialog{width:34.375rem;max-width:96%}.batch-review-desc{font-size:.8125rem;color:#666;line-height:1.6}.batch-review-label{margin-top:.625rem;font-size:.875rem;color:#333;font-weight:700}.batch-review-input{margin-top:.375rem;width:100%;box-sizing:border-box;height:6.25rem;border:.03125rem solid #d9dde8;border-radius:.25rem;padding:.5rem;font-size:.8125rem;color:#333;background-color:#fff;line-height:1.5}.batch-review-placeholder{font-size:.75rem;color:#999}.batch-review-status{font-size:.8125rem;color:#909399}.batch-review-actions{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-top:.5rem}.batch-review-status-num{color:#2f7dff;font-weight:700}.batch-review-error{margin-top:.375rem;font-size:.75rem;color:#e64340;line-height:1.4}.batch-review-fill{flex-shrink:0;height:1.75rem;line-height:1.75rem;padding:0 .75rem;margin:0;font-size:.8125rem;border-radius:.25rem;background-color:#ecf5ff;color:#2f7dff;border:.03125rem solid #b3d8ff}.batch-review-fill:after{border:none}.batch-result-table{border:.03125rem solid #d0d5e0;border-radius:.25rem;overflow:hidden}.batch-result-row{display:flex;align-items:center;min-height:1.75rem;border-bottom:.03125rem solid #d0d5e0}.batch-result-row:last-child{border-bottom:none}.batch-result-row--header{background-color:#f6f8fc}.batch-result-row--header .batch-result-cell{font-weight:700;color:#666}.batch-result-row--alt{background-color:#fafafa}.batch-result-cell{display:flex;align-items:center;align-self:stretch;padding:.25rem .375rem;font-size:.8125rem;color:#000;line-height:1.4;white-space:normal;word-break:break-all;border-left:.03125rem solid #d0d5e0}.batch-result-cell:first-child{border-left:none}.batch-result-cell--id{width:6.875rem;flex-shrink:0}.batch-result-cell--waybill{flex:1;min-width:0}.batch-result-cell--reason{width:6.25rem;flex-shrink:0}.batch-result-cell--note{width:9.375rem;flex-shrink:0}.batch-result-scroll{max-height:10rem}.batch-result-empty{padding:.75rem 0;text-align:center;font-size:.8125rem;color:#999}.batch-result-box{margin-top:.5rem}.batch-result-head{display:flex;align-items:center;gap:.5rem;margin:.125rem 0 .375rem}.batch-result-head-line{flex:1;height:.03125rem;background-color:#d9dde8}.batch-result-head-text{font-size:.8125rem;color:#909399;font-weight:700}.batch-result-tabs{display:flex;align-items:center;gap:.375rem;margin-bottom:.25rem}.batch-result-tab{height:1.625rem;line-height:1.625rem;padding:0 .875rem;font-size:.8125rem;border-radius:.25rem;border:.03125rem solid #d9dde8;color:#666;background-color:#fff;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.batch-result-tab--active{color:#2f7dff;border-color:#2f7dff;background-color:#ecf5ff;font-weight:700}.table-wrap--current-wave .table-cell:not(.cell-wave-no){white-space:nowrap;overflow:visible;text-overflow:clip}.wave-group-header{cursor:pointer;background-color:#f6f8fc}.wave-group-header:active{background-color:#d6e8ff}.review-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.625rem;max-width:100%;margin-bottom:.375rem;padding:.375rem .5rem;background-color:#fff;overflow:hidden}.tool-btn{height:1.75rem;line-height:1.75rem;padding:0 .625rem;margin:0;font-size:.8125rem;border:.03125rem solid #d9dde8;border-radius:.25rem;background-color:#fff;color:#333}.tool-btn:after{border:none}.tool-btn--confirm{background-color:#34c759;border-color:#34c759;color:#fff}.tool-btn--blue-outline{color:#2f7dff;border-color:#2f7dff;background-color:#eaf2ff}.tool-btn--orange{background-color:#ff7d00;border-color:#ff7d00;color:#fff}.tool-btn--gray{background-color:#909399;border-color:#909399;color:#fff}.tool-btn--blue{background-color:#2f7dff;border-color:#2f7dff;color:#fff}.tool-btn--intercept{background-color:#e64340;border-color:#e64340;color:#fff}.tool-btn[disabled]{color:#666;background-color:#f2f2f2;border-color:#d9dde8;cursor:not-allowed}.tool-select{display:flex;align-items:center;gap:.1875rem;min-width:4.375rem;max-width:100%;height:1.5rem;padding:0 .375rem;font-size:.75rem;color:#333;border:.03125rem solid #d9dde8;border-radius:.1875rem;background-color:#fff;box-sizing:border-box;overflow:hidden}.tool-select--wide{width:7.5rem;min-width:7.5rem}.tool-select--printer{min-width:8.125rem;justify-content:space-between}.tool-select--open{border-color:#2f7dff}.tool-select-text{display:flex;align-items:center;flex:1;min-width:0;font-size:.75rem;color:#333;line-height:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tool-select-arrow{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.25rem;height:1.25rem}.tool-select-arrow-icon{display:block;width:1.125rem;height:1.125rem;transition:transform .2s ease}.tool-select--open .tool-select-arrow-icon{transform:rotate(180deg)}.tool-info-text{font-size:.8125rem;color:#666;display:inline-flex;align-items:center;padding:.1875rem .4375rem;border-radius:.25rem}.tool-info-text--blue{color:#2f7dff;background-color:#eaf2ff}.tool-info-text--gray{color:#909399;background-color:#f0f2f5}.tool-info-text--orange{color:#ff7d00;background-color:#fff3e6}.recommend-pack-bar{display:flex;align-items:center;gap:.5rem;margin-bottom:.375rem;padding:.375rem .625rem;background-color:#fff8ef;border:.03125rem solid #ffe3c2;border-radius:.25rem;box-sizing:border-box}.recommend-pack-bar-label{flex-shrink:0;font-size:.8125rem;color:#909399}.recommend-pack-bar-name{flex:1;min-width:0;font-size:1rem;font-weight:600;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-tab{display:flex;align-items:center;justify-content:space-between;margin-bottom:.375rem;padding:.25rem .5rem;border-left:.1875rem solid #2f7dff;border-radius:.1875rem;background-color:#f6f8fc}.detail-tab-text{font-size:.875rem;font-weight:600;color:#333}.detail-tab-summary{font-size:.8125rem;color:#555}.detail-tab-summary--em{color:#2f7dff;font-weight:700}.detail-total{display:flex;align-items:center;justify-content:flex-start;margin-top:.75rem;padding:.5rem .75rem;background-color:#f6f8fc;border:.03125rem solid #e6ebf5;border-radius:0}.detail-total-text{font-size:.875rem;color:#333}.detail-total-num{font-weight:700;color:#2f7dff;margin-left:1.25rem}.detail-empty-tip{display:flex;align-items:center;justify-content:center;height:8.125rem;color:#999;font-size:.8125rem;background-color:#fff}.empty{text-align:center;color:#999;font-size:.875rem;padding:.75rem 0}@media screen and (max-width: 1024px){.page{min-width:760px}.page-main{padding:.25rem .625rem .5625rem}.container{padding:.625rem}.content-panel{gap:.4375rem}.panel-left{width:19.375rem}.search-bar{margin-bottom:.5625rem}.table-wrap--detail-sticky{height:14.375rem}}.dynamic-view--catch-weight{width:100%}.page{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;background-color:#f8f8f8}.page-main{flex:1;min-height:0;overflow-y:auto;padding:.25rem 1rem 1rem;box-sizing:border-box}.dynamic-view--returns{width:100%}.module-card{background-color:#fff;border-radius:.5rem;padding:1rem;box-sizing:border-box}.module-card-title{display:block;font-size:1rem;color:#333;font-weight:600;margin-bottom:.375rem}.module-card-desc{display:block;font-size:.8125rem;color:#888;line-height:1.5}.layout-page{min-height:100vh;min-width:960px;box-sizing:border-box;padding:0;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;background-color:#f8f8f8}.layout-main{flex:1;min-height:0;padding:0;box-sizing:border-box;display:flex;flex-direction:column}.module-placeholder{background-color:#fff;border-radius:.5rem;padding:.875rem}.module-placeholder-title{display:block;font-size:.9375rem;color:#333}.module-placeholder-desc{display:block;margin-top:.3125rem;font-size:.75rem;color:#999}@media screen and (max-width: 1024px){.layout-page{min-width:760px}.layout-main{padding:0 .625rem .5625rem}} diff --git a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/login/login.css b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/login/login.css deleted file mode 100644 index 93bd695..0000000 --- a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/login/login.css +++ /dev/null @@ -1 +0,0 @@ -.page{min-height:100vh;min-width:960px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:1.5rem;background-color:#f2f2f2}.login-card{width:100%;max-width:37.5rem;min-width:920px;background-color:#fff;border-radius:.625rem;box-shadow:0 .5625rem 1.375rem rgba(0,0,0,.1),0 .125rem .375rem rgba(0,0,0,.05);transform:translateY(-.09375rem);display:flex;overflow:hidden}.visual-side{width:45%;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;padding:2.5rem 1.75rem;background:linear-gradient(135deg,#2f7dff,#4d97ff);text-align:center}.visual-logo{display:block;width:10rem;max-width:100%;margin:0 auto .75rem}.visual-desc{font-size:1.375rem;font-weight:800;line-height:1.3;letter-spacing:.0625rem;color:#fff}.form-side{width:55%;box-sizing:border-box;padding:2rem 1.75rem;display:flex;flex-direction:column}.header{margin-bottom:1.25rem}.title{display:block;font-size:1.375rem;font-weight:600;color:#333;margin-bottom:.375rem}.subtitle{font-size:.875rem;color:#666}.scan-hint{display:block;font-size:.8125rem;color:#2fbf71;margin-bottom:.3125rem}.switch-tabs{display:flex;background-color:#f5f7fb;border-radius:.375rem;margin-bottom:1rem;overflow:hidden}.tab-item{flex:1;text-align:center;padding:.6875rem 0;font-size:.9375rem;color:#666}.tab-item--active{color:#007aff;font-weight:600;background-color:#eef5ff}.panel{background-color:#fdfdfd;border:.03125rem solid #f0f0f0;border-radius:.375rem;padding:.875rem}.panel-stage{position:relative;min-height:17.5rem}.panel--mode{position:static}.panel--scan{padding:.625rem;display:flex;flex-direction:column;justify-content:center;align-items:center}.panel--account{display:flex;flex-direction:column}.panel--account .primary-btn{margin-top:2.6875rem}.panel--workbench{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:1.25rem .875rem 1.125rem}.wb-tip-top{display:block;text-align:center;font-size:.875rem;line-height:1.5;color:#666;margin-bottom:.875rem}.wb-code-box{width:100%;max-width:13.125rem;box-sizing:border-box;border:.0625rem dashed #bcd7ff;border-radius:.5rem;background:linear-gradient(135deg,#eef5ff,#f8fbff);display:flex;align-items:center;justify-content:center;padding:.625rem;margin-bottom:.5rem}.wb-qr-image{width:8.75rem;height:8.75rem}.wb-code-text{display:block;text-align:center;font-size:1.0625rem;font-weight:700;letter-spacing:.1875rem;text-indent:.1875rem;color:#1f5fd6;font-family:Courier New,Consolas,monospace;margin-bottom:.375rem}.wb-code{font-size:2.25rem;font-weight:800;letter-spacing:.5rem;text-indent:.5rem;color:#1f5fd6;font-family:Courier New,Consolas,monospace}.wb-code-placeholder{font-size:.9375rem;color:#9aa7bd}.wb-tip-bottom{display:block;text-align:center;font-size:.8125rem;color:#2fbf71;margin-bottom:.375rem}.wb-client-hint{display:block;text-align:center;font-size:.75rem;color:#b0b8c6;margin-bottom:.625rem}.wb-refresh-btn{width:7.5rem;height:2.25rem;line-height:2.25rem;box-sizing:border-box;font-size:.875rem;color:#007aff;background-color:#eef5ff;border:.03125rem solid #bcd7ff;border-radius:.375rem;padding:0;margin:0}.wb-refresh-btn:after{border:none}.wb-refresh-btn[disabled]{color:#a9b4c6;background-color:#f2f3f5;border-color:#e5e5e5}.wb-quick-box{width:100%;box-sizing:border-box;border:.03125rem solid #e5e5e5;border-radius:.375rem;background-color:#fafbfc;padding:.875rem;margin-bottom:1rem}.wb-quick-title{display:block;font-size:.9375rem;color:#333;font-weight:600;margin-bottom:.25rem}.wb-quick-desc{display:block;font-size:.75rem;color:#999;line-height:1.5}.wb-enter-btn{margin-top:.25rem}.wb-rebind-link{display:flex;align-items:center;justify-content:center;text-align:center;padding:.75rem 0 0;font-size:.8125rem;color:#2f7dff}.scan-box{width:10rem;height:10rem;border:.0625rem dashed #d9d9d9;border-radius:.375rem;display:flex;align-items:center;justify-content:center;margin:0 auto .5rem}.scan-image{width:8.75rem;height:8.75rem}.scan-tip-top{display:block;text-align:center;font-size:.875rem;color:#666;margin-bottom:.5rem}.scan-tip-bottom{display:block;text-align:center;font-size:.8125rem;color:#999;margin-bottom:.5rem}.scan-hidden-input{position:absolute;width:1px;height:1px;opacity:0;left:-9999px;top:-9999px}.scan-placeholder{color:#999;font-size:.875rem}.input{height:2.75rem;border:.03125rem solid #e5e5e5;border-radius:.25rem;padding:0 .625rem;margin-bottom:.625rem;font-size:.9375rem}.input:focus{border-color:#007aff}.input-wrap,.password-wrap{position:relative;border:.03125rem solid #e5e5e5;border-radius:.25rem;background-color:#fff;transition:border-color .2s ease,box-shadow .2s ease;margin-bottom:.625rem}.input-wrap--focused{border-color:#007aff;box-shadow:0 0 0 .125rem rgba(0,122,255,.08)}.password-wrap{margin-top:.5rem}.password-input{margin-bottom:0;padding-right:4.875rem}.input--with-clear{padding-right:2.625rem}.input-wrap .input,.password-wrap .input{border:none;margin-bottom:0;background-color:transparent}.clear-trigger{position:absolute;right:.6875rem;top:50%;transform:translateY(-50%);width:1.25rem;height:1.25rem;border-radius:50%;border:.03125rem solid #cfd6e4;background-color:transparent;display:flex;align-items:center;justify-content:center}.clear-trigger--password{right:2.75rem}.clear-trigger__icon{font-size:.75rem;line-height:1;color:#a9b4c6}.toggle-password{position:absolute;right:.6875rem;top:50%;transform:translateY(-50%);width:1.75rem;height:1.75rem;display:flex;align-items:center;justify-content:center}.eye-icon{width:1.125rem;height:.75rem;border:.0625rem solid #007aff;border-radius:.625rem;position:relative;box-sizing:border-box}.eye-pupil{width:.3125rem;height:.3125rem;border-radius:50%;background-color:#007aff;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.eye-lid{position:absolute;width:.875rem;height:.0625rem;background-color:#007aff;left:.125rem;top:.34375rem;border-radius:.0625rem;display:none}.eye-icon--closed{height:.5625rem;border-top:.0625rem solid #007aff;border-right:none;border-bottom:none;border-left:none;border-radius:.625rem .625rem 0 0}.eye-icon--closed .eye-pupil{display:none}.eye-icon--closed .eye-lid{display:block}.primary-btn{width:100%;margin-top:.75rem}.scan-login-btn{background-color:#2fbf71;color:#fff}.scan-login-btn:after{border:none}@media screen and (max-width: 1024px){.page{min-width:760px}.login-card{max-width:30.625rem;min-width:720px}.visual-side{width:45%;padding:2rem 1.25rem}.form-side{width:55%;padding:1.75rem 1.25rem}.panel-stage{min-height:16.25rem}} diff --git a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/order/index.css b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/order/index.css deleted file mode 100644 index 9cdf40c..0000000 --- a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/order/index.css +++ /dev/null @@ -1 +0,0 @@ -.top-nav[data-v-a0b04150]{width:100%;margin-bottom:.75rem;padding:.5625rem .875rem;box-sizing:border-box;background-color:#2f7dff;display:flex;align-items:center;justify-content:space-between}.top-nav-logo[data-v-a0b04150]{width:7.5rem;height:2.8125rem;flex-shrink:0}.top-nav-right[data-v-a0b04150]{position:relative;margin-left:auto}.top-nav-menu-wrap[data-v-a0b04150]{display:flex;align-items:center;margin-left:1.125rem;gap:.4375rem;min-width:0}.top-nav-menu-item[data-v-a0b04150]{padding:.3125rem .5625rem;border-radius:.25rem}.top-nav-menu-item--active[data-v-a0b04150]{background-color:rgba(255,255,255,.24)}.top-nav-menu-text[data-v-a0b04150]{font-size:1rem;color:#fff;font-weight:500}.top-nav-user[data-v-a0b04150]{display:flex;align-items:center;gap:.3125rem;cursor:pointer}.top-nav-user-name[data-v-a0b04150]{color:#fff;font-size:1rem;line-height:1}.top-nav-mine-icon[data-v-a0b04150]{width:1.375rem;height:1.375rem;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:31.21875rem;background-color:rgba(255,255,255,.2);box-sizing:border-box}.top-nav-mine-icon-head[data-v-a0b04150]{width:.375rem;height:.375rem;border:.0625rem solid #fff;border-radius:50%;box-sizing:border-box}.top-nav-mine-icon-body[data-v-a0b04150]{width:.625rem;height:.3125rem;margin-top:.125rem;border:.0625rem solid #fff;border-top:none;border-radius:0 0 .375rem .375rem;box-sizing:border-box}.popup-card[data-v-a0b04150]{position:absolute;right:0;top:2.1875rem;min-width:10.3125rem;background:#fff;border-radius:.375rem;box-shadow:0 .375rem 1rem rgba(0,0,0,.16);padding:.5rem;box-sizing:border-box;z-index:30}.popup-user-info[data-v-a0b04150]{max-height:10rem;overflow-y:auto}.popup-user-item[data-v-a0b04150]{padding:.375rem;border-radius:.25rem}.popup-user-item--current[data-v-a0b04150]{background-color:#edf4ff}.popup-user-text[data-v-a0b04150]{font-size:.875rem;color:#333}.popup-user-item--current .popup-user-text[data-v-a0b04150]{color:#2f7dff}.logout-btn[data-v-a0b04150]{margin-top:.5rem;height:1.875rem;line-height:1.875rem;font-size:.875rem}.close-btn[data-v-a0b04150]{margin-top:.3125rem;height:1.875rem;line-height:1.875rem;font-size:.875rem;background-color:#f5f7fb;color:#333}.switch-mask[data-v-a0b04150]{position:fixed;left:0;top:0;right:0;bottom:0;background-color:#f8f8f8;z-index:9999;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}.switch-mask--active[data-v-a0b04150]{opacity:1;visibility:visible}.page{height:100%;min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;background-color:#f8f8f8}.scan-hidden-input{position:absolute;width:1px;height:1px;opacity:0;left:-9999px;top:-9999px}.page-main{flex:1;min-height:0;overflow-y:auto;padding:.25rem 0 0;box-sizing:border-box;display:flex;flex-direction:column}.page-main.order-review-one{overflow:hidden}.page-main.order-review-one>.container{height:100%;min-height:0;flex:1 1 0;overflow:hidden}.order-review-one{width:100%}.container{background:#f8f8f8;border-radius:.5rem;margin:0;padding:.3125rem;width:100%;min-height:100%;flex:1 1 auto;box-sizing:border-box;display:flex;flex-direction:column}.container--compact-top{padding-top:0}.content-panel{display:flex;align-items:stretch;gap:.625rem;flex:1;min-height:0;background-color:#f8f8f8}.panel-left{width:21.875rem;flex-shrink:0;display:flex;flex-direction:column;border-right:.03125rem solid #e6ebf5;padding-right:.625rem;background-color:#fff}.panel-right{flex:1;min-width:0;background-color:#f8f8f8;display:flex;flex-direction:column}.left-reviewed-list{margin-top:.4375rem;max-height:34.375rem}.left-reviewed-list--current-wave{margin-top:0;flex:1;min-height:0;max-height:none}.left-reviewed-list--current-wave-body{width:100%;min-height:0;height:100%}.search-bar{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem}.scan-qty-bar{display:flex;align-items:center;justify-content:space-between;gap:.375rem;margin-bottom:.5rem;padding:.375rem .5rem;background-color:#fff;border-radius:.3125rem}.scan-qty-text{font-size:.8125rem;color:#333}.scan-qty-label{font-size:.875rem;font-weight:600;color:#fff;background-color:#ff7d00;padding:.25rem .75rem;border-radius:.25rem}.scan-qty-stepper{display:flex;align-items:center;gap:.25rem}.scan-qty-btn{width:1.75rem;height:1.75rem;display:flex;align-items:center;justify-content:center;border:.03125rem solid #d9dde8;border-radius:.25rem;background-color:#fff;color:#333;font-size:1rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.scan-qty-btn:active{background-color:#f0f2f5}.scan-qty-input{width:3.4375rem;height:1.75rem;text-align:center;border:.03125rem solid #d9dde8;border-radius:.25rem;font-size:.875rem;background-color:#fff}.search-input{flex:1;height:2.25rem;border:.03125rem solid #e5e5e5;border-radius:.3125rem;padding:0 .625rem;font-size:.875rem;background-color:#fff}.table-scroll{width:100%}.table-scroll--detail{max-height:none}.table-scroll--detail-body{flex:1;min-height:0;height:100%}.table-wrap{min-width:30.625rem}.table-wrap--current-wave{min-width:19.375rem}.table-wrap--current-wave-sticky{margin-top:.4375rem;flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.table-wrap--current-wave-sticky .table-header{flex-shrink:0}.table-wrap--detail-sticky{flex:1;min-height:0;display:flex;flex-direction:column;overflow-x:auto}.empty-panel{display:flex;align-items:center;justify-content:center;box-sizing:border-box;border:.03125rem solid #e6ebf5;background-color:#fff;color:#999;font-size:.875rem}.empty-panel--left{margin-top:.4375rem;flex:1;min-height:0;align-items:flex-start;padding-top:1.25rem}.left-summary-bar{display:flex;align-items:center;gap:.75rem;margin:.4375rem -.625rem -.3125rem -.3125rem;padding:.4375rem .625rem;background-color:#f6f8fc;border:.03125rem solid #e6ebf5;border-left:none;border-right:none;border-radius:0}.left-summary-text{font-size:.8125rem;color:#333}.left-summary-sep{font-size:.8125rem;color:#d0d5e0}.left-summary-num{font-weight:700;color:#2f7dff}.left-summary-num--orange{color:#ff7d00}.left-summary-refresh{margin:0 0 0 auto;flex-shrink:0;height:1.5rem;line-height:1.5rem;padding:0 .625rem;font-size:.75rem;border-radius:.25rem;background-color:#2f7dff;color:#fff}.left-summary-refresh:after{border:none}.empty-panel--right-inline{flex:1;min-height:0;min-width:30.625rem;border-top:none}.table-wrap--detail-sticky .table-header,.table-wrap--detail-sticky .table-body{min-width:30.625rem}.table-wrap--detail-sticky .table-header{flex-shrink:0}.table-scroll--detail-body{flex:1;min-height:0}.table-wrap--detail .table-cell{align-self:stretch;display:flex;align-items:center;border-right:.03125rem solid #d0d5e0;box-sizing:border-box;position:relative}.col-resizer{position:absolute;top:0;right:-.1875rem;width:.4375rem;height:100%;cursor:col-resize;z-index:3;-webkit-user-select:none;-moz-user-select:none;user-select:none}.table-wrap--detail .table-header,.table-wrap--detail .table-body{border-color:#d0d5e0}.table-wrap--detail .table-row{border-top-color:#d0d5e0}.table-wrap--detail .table-header{border-left:.03125rem solid #d0d5e0}.table-wrap--detail .table-row{border-left:none}.table-wrap--detail .table-body{border-left:.03125rem solid #d0d5e0}.table-wrap--detail .table-cell:last-child{border-right:none}.table-wrap--detail .table-body .table-cell{white-space:normal;overflow:visible;text-overflow:clip;word-break:break-all;line-height:1.4;padding-top:.3125rem;padding-bottom:.3125rem}.table-header,.table-row{display:flex;align-items:center}.table-header{height:2rem;border:.03125rem solid #e6ebf5;border-bottom:none;border-left:.1875rem solid transparent;background-color:#f6f8fc}.table-header .table-cell{font-weight:700;color:#666}.table-header--sticky{position:sticky;top:0;z-index:2}.table-body{border:.03125rem solid #e6ebf5}.table-row{min-height:2.125rem;border-top:.03125rem solid #eef2f8;border-left:.1875rem solid transparent;box-sizing:border-box}.table-row:first-child{border-top:none}.table-row--alt{background-color:#fafafa}.detail-row--scanned{background-color:#67c23a}.detail-row--scanned .table-cell{color:#fff}.table-row--selected{background-color:#d6e8ff;border-left-color:#1f63d3;box-shadow:inset 0 0 0 .0625rem rgba(31,99,211,.22)}.table-cell{padding:0 .375rem;font-size:.875rem;color:#333;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cell-barcode,.cell-name{flex:1;min-width:0}.cell-scanned,.cell-total{width:4.6875rem;justify-content:center;font-weight:700}.cell-basket{width:4.375rem;justify-content:center}.table-wrap--detail .table-body .cell-basket,.table-wrap--detail .table-body .cell-total,.table-wrap--detail .table-body .cell-scanned{font-size:1rem}.cell-spec{flex:.6;min-width:0}.cell-image{width:4.6875rem;justify-content:center}.item-image{width:2.25rem;height:2.25rem;border-radius:.1875rem;background-color:#f2f4f8;margin:.25rem 0}.cell-image-empty{color:#999}.cell-pack{flex:1;min-width:0}.cell-index{width:3.75rem}.cell-pending-order{flex:1;min-width:0}.cell-weight{width:4.0625rem}.cell-review-status{width:3.4375rem}.cell-wave-index{width:2.8125rem}.scan-row .cell-review-status{padding-right:0;margin-right:.25rem}.scan-row .cell-wave-index{padding-left:0;padding-right:0;margin-right:.25rem}.scan-row .cell-wave-no{padding-left:0;min-width:4.375rem;white-space:nowrap;overflow:visible}.scan-row--intercept .cell-wave-no{white-space:normal;overflow:visible;text-overflow:clip;word-break:break-all}.scan-row--reviewed .table-cell{color:#999}.cell-review-status--unreviewed{color:#ff7d00}.cell-wave-no{flex:1;min-width:0;padding-left:.125rem;white-space:nowrap;overflow:visible}.cell-print-status{width:5rem;text-align:right;padding-right:.75rem}.cell-print-status--unprinted{color:#34c759}.cell-intercept{flex-shrink:0;height:1.25rem;line-height:1.25rem;padding:0 .5rem;margin:0 .375rem 0 .125rem;font-size:.75rem;color:#fff;background-color:#e64340;border-radius:.25rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.cell-intercept--done{background-color:#909399}.weigh-mask{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;z-index:998}.weigh-dialog{width:20.9375rem;max-width:92%;background-color:#fff;border-radius:.5rem;box-shadow:0 .25rem 1.25rem rgba(0,0,0,.18);overflow:hidden;display:flex;flex-direction:column}.weigh-dialog--settings{width:26.875rem;max-width:96%}.weigh-dialog-header{display:flex;align-items:center;justify-content:space-between;padding:.875rem 1rem .625rem;border-bottom:.03125rem solid #eef2f8}.weigh-dialog-title{font-size:1rem;font-weight:700;color:#333}.weigh-dialog-close{font-size:.9375rem;color:#999;padding:.25rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.weigh-dialog-body{padding:.75rem 1rem}.weigh-info-row{display:flex;align-items:center;gap:.5rem;padding:.3125rem 0}.weigh-info-label{width:4.375rem;flex-shrink:0;font-size:.8125rem;color:#909399}.weigh-info-value{flex:1;min-width:0;font-size:1.0625rem;color:#333;word-break:break-all}.pm-scan-row{display:flex;margin-top:.625rem}.pm-tip{margin-top:.375rem;font-size:.75rem;color:#909399;text-align:center}.pm-result-scroll{max-height:9.375rem;margin-top:.5rem;border:.03125rem solid #e6ebf5;border-radius:.25rem;box-sizing:border-box}.pm-result-item{display:flex;align-items:center;gap:.375rem;padding:.4375rem .5rem;border-bottom:.03125rem solid #f0f2f6;cursor:pointer}.pm-result-item:last-child{border-bottom:none}.pm-result-item--active{background-color:#eaf2ff}.pm-result-main{display:flex;flex-direction:column;min-width:0;flex:1}.pm-result-name{font-size:.875rem;font-weight:600;color:#333}.pm-result-code{font-size:.6875rem;color:#909399;margin-top:.0625rem}.pm-result-meta{display:flex;align-items:center;gap:.375rem;flex-shrink:0}.pm-result-tag{font-size:.6875rem;color:#ff7d00;background-color:#fff3e6;padding:.0625rem .3125rem;border-radius:.5rem}.pm-result-spec{font-size:.6875rem;color:#909399}.pm-result-check{flex-shrink:0;color:#2f7dff;font-size:.9375rem;font-weight:700}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:.625rem;padding:.5rem .125rem;border-bottom:.03125rem solid #f0f2f6}.setting-row:last-child{border-bottom:none}.setting-row-label{flex-shrink:0;font-size:1rem;color:#333}.setting-seg{display:flex;align-items:center;flex-wrap:wrap;row-gap:.25rem;border:.03125rem solid #d9dde8;border-radius:.25rem;overflow:hidden}.setting-seg-item{padding:.25rem 1rem;font-size:.9375rem;color:#666;background-color:#fff;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-left:.03125rem solid #d9dde8;white-space:nowrap}.setting-seg-item:first-child{border-left:none}.setting-seg-item--on{background-color:#2f7dff;color:#fff}.setting-seg--nowrap{flex-wrap:nowrap;gap:.375rem}.setting-seg--nowrap .setting-seg-item{flex:1;display:flex;align-items:center;justify-content:center;padding:.25rem;text-align:center;border-left:none}.weigh-label-inline{display:flex;align-items:center;gap:.1875rem;flex-shrink:0;margin-right:.25rem}.weigh-required{color:#e64340;font-size:.9375rem;line-height:1}.weigh-input-label{font-size:.875rem;color:#333}.weigh-stepper{display:flex;align-items:center;gap:.25rem}.weigh-step-btn{flex-shrink:0;width:2.25rem;height:2.25rem;display:flex;align-items:center;justify-content:center;border:.03125rem solid #d9dde8;border-radius:.25rem;background-color:#fff;color:#333;font-size:1.125rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.weigh-step-btn:active{background-color:#f0f2f5}.weigh-input{flex:1;min-width:0;height:2.25rem;text-align:center;border:.03125rem solid #d9dde8;border-radius:.25rem;font-size:1.25rem;color:#333;background-color:#fff}.weigh-input-placeholder{font-size:.875rem;color:#999}.weigh-input-unit{flex-shrink:0;font-size:.8125rem;color:#909399}.weigh-dialog-footer{display:flex;align-items:center;justify-content:flex-end;gap:.625rem;padding:.625rem 1rem .875rem;border-top:.03125rem solid #eef2f8}.weigh-btn{height:2rem;line-height:2rem;padding:0 1.125rem;margin:0;font-size:.875rem;border-radius:.25rem}.weigh-btn:after{border:none}.weigh-btn--cancel{background-color:#fff;color:#666;border:.03125rem solid #d9dde8}.weigh-btn--confirm{background-color:#2f7dff;color:#fff}.weigh-btn--close{background-color:#909399;color:#fff}.no-barcode-review-content{padding:.25rem .125rem}.no-barcode-review-title{font-size:.9375rem;color:#333;line-height:1.5;word-break:break-all}.no-barcode-review-count{display:flex;align-items:center;gap:.5rem;margin-top:.625rem;padding:.5rem .625rem;background-color:#f6f8fc;border-radius:.25rem}.no-barcode-review-count-item{font-size:.8125rem;color:#909399}.no-barcode-review-count-item--done{color:#2f7dff;font-weight:700}.no-barcode-review-arrow{font-size:.8125rem;color:#c0c4cc}.confirm-review-content{padding:.25rem .125rem}.confirm-review-text{font-size:.9375rem;color:#333;line-height:1.5;word-break:break-all}.batch-dialog{width:34.375rem;max-width:96%}.batch-review-desc{font-size:.8125rem;color:#666;line-height:1.6}.batch-review-label{margin-top:.625rem;font-size:.875rem;color:#333;font-weight:700}.batch-review-input{margin-top:.375rem;width:100%;box-sizing:border-box;height:6.25rem;border:.03125rem solid #d9dde8;border-radius:.25rem;padding:.5rem;font-size:.8125rem;color:#333;background-color:#fff;line-height:1.5}.batch-review-placeholder{font-size:.75rem;color:#999}.batch-review-status{font-size:.8125rem;color:#909399}.batch-review-actions{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-top:.5rem}.batch-review-status-num{color:#2f7dff;font-weight:700}.batch-review-error{margin-top:.375rem;font-size:.75rem;color:#e64340;line-height:1.4}.batch-review-fill{flex-shrink:0;height:1.75rem;line-height:1.75rem;padding:0 .75rem;margin:0;font-size:.8125rem;border-radius:.25rem;background-color:#ecf5ff;color:#2f7dff;border:.03125rem solid #b3d8ff}.batch-review-fill:after{border:none}.batch-result-table{border:.03125rem solid #d0d5e0;border-radius:.25rem;overflow:hidden}.batch-result-row{display:flex;align-items:center;min-height:1.75rem;border-bottom:.03125rem solid #d0d5e0}.batch-result-row:last-child{border-bottom:none}.batch-result-row--header{background-color:#f6f8fc}.batch-result-row--header .batch-result-cell{font-weight:700;color:#666}.batch-result-row--alt{background-color:#fafafa}.batch-result-cell{display:flex;align-items:center;align-self:stretch;padding:.25rem .375rem;font-size:.8125rem;color:#000;line-height:1.4;white-space:normal;word-break:break-all;border-left:.03125rem solid #d0d5e0}.batch-result-cell:first-child{border-left:none}.batch-result-cell--id{width:6.875rem;flex-shrink:0}.batch-result-cell--waybill{flex:1;min-width:0}.batch-result-cell--reason{width:6.25rem;flex-shrink:0}.batch-result-cell--note{width:9.375rem;flex-shrink:0}.batch-result-scroll{max-height:10rem}.batch-result-empty{padding:.75rem 0;text-align:center;font-size:.8125rem;color:#999}.batch-result-box{margin-top:.5rem}.batch-result-head{display:flex;align-items:center;gap:.5rem;margin:.125rem 0 .375rem}.batch-result-head-line{flex:1;height:.03125rem;background-color:#d9dde8}.batch-result-head-text{font-size:.8125rem;color:#909399;font-weight:700}.batch-result-tabs{display:flex;align-items:center;gap:.375rem;margin-bottom:.25rem}.batch-result-tab{height:1.625rem;line-height:1.625rem;padding:0 .875rem;font-size:.8125rem;border-radius:.25rem;border:.03125rem solid #d9dde8;color:#666;background-color:#fff;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.batch-result-tab--active{color:#2f7dff;border-color:#2f7dff;background-color:#ecf5ff;font-weight:700}.table-wrap--current-wave .table-cell:not(.cell-wave-no){white-space:nowrap;overflow:visible;text-overflow:clip}.wave-group-header{cursor:pointer;background-color:#f6f8fc}.wave-group-header:active{background-color:#d6e8ff}.review-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.625rem;max-width:100%;margin-bottom:.375rem;padding:.375rem .5rem;background-color:#fff;overflow:hidden}.tool-btn{height:1.75rem;line-height:1.75rem;padding:0 .625rem;margin:0;font-size:.8125rem;border:.03125rem solid #d9dde8;border-radius:.25rem;background-color:#fff;color:#333}.tool-btn:after{border:none}.tool-btn--confirm{background-color:#34c759;border-color:#34c759;color:#fff}.tool-btn--blue-outline{color:#2f7dff;border-color:#2f7dff;background-color:#eaf2ff}.tool-btn--orange{background-color:#ff7d00;border-color:#ff7d00;color:#fff}.tool-btn--gray{background-color:#909399;border-color:#909399;color:#fff}.tool-btn--blue{background-color:#2f7dff;border-color:#2f7dff;color:#fff}.tool-btn--intercept{background-color:#e64340;border-color:#e64340;color:#fff}.tool-btn[disabled]{color:#666;background-color:#f2f2f2;border-color:#d9dde8;cursor:not-allowed}.tool-select{display:flex;align-items:center;gap:.1875rem;min-width:4.375rem;max-width:100%;height:1.5rem;padding:0 .375rem;font-size:.75rem;color:#333;border:.03125rem solid #d9dde8;border-radius:.1875rem;background-color:#fff;box-sizing:border-box;overflow:hidden}.tool-select--wide{width:7.5rem;min-width:7.5rem}.tool-select--printer{min-width:8.125rem;justify-content:space-between}.tool-select--open{border-color:#2f7dff}.tool-select-text{display:flex;align-items:center;flex:1;min-width:0;font-size:.75rem;color:#333;line-height:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tool-select-arrow{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.25rem;height:1.25rem}.tool-select-arrow-icon{display:block;width:1.125rem;height:1.125rem;transition:transform .2s ease}.tool-select--open .tool-select-arrow-icon{transform:rotate(180deg)}.tool-info-text{font-size:.8125rem;color:#666;display:inline-flex;align-items:center;padding:.1875rem .4375rem;border-radius:.25rem}.tool-info-text--blue{color:#2f7dff;background-color:#eaf2ff}.tool-info-text--gray{color:#909399;background-color:#f0f2f5}.tool-info-text--orange{color:#ff7d00;background-color:#fff3e6}.recommend-pack-bar{display:flex;align-items:center;gap:.5rem;margin-bottom:.375rem;padding:.375rem .625rem;background-color:#fff8ef;border:.03125rem solid #ffe3c2;border-radius:.25rem;box-sizing:border-box}.recommend-pack-bar-label{flex-shrink:0;font-size:.8125rem;color:#909399}.recommend-pack-bar-name{flex:1;min-width:0;font-size:1rem;font-weight:600;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-tab{display:flex;align-items:center;justify-content:space-between;margin-bottom:.375rem;padding:.25rem .5rem;border-left:.1875rem solid #2f7dff;border-radius:.1875rem;background-color:#f6f8fc}.detail-tab-text{font-size:.875rem;font-weight:600;color:#333}.detail-tab-summary{font-size:.8125rem;color:#555}.detail-tab-summary--em{color:#2f7dff;font-weight:700}.detail-total{display:flex;align-items:center;justify-content:flex-start;margin-top:.75rem;padding:.5rem .75rem;background-color:#f6f8fc;border:.03125rem solid #e6ebf5;border-radius:0}.detail-total-text{font-size:.875rem;color:#333}.detail-total-num{font-weight:700;color:#2f7dff;margin-left:1.25rem}.detail-empty-tip{display:flex;align-items:center;justify-content:center;height:8.125rem;color:#999;font-size:.8125rem;background-color:#fff}.empty{text-align:center;color:#999;font-size:.875rem;padding:.75rem 0}@media screen and (max-width: 1024px){.page{min-width:760px}.page-main{padding:.25rem .625rem .5625rem}.container{padding:.625rem}.content-panel{gap:.4375rem}.panel-left{width:19.375rem}.search-bar{margin-bottom:.5625rem}.table-wrap--detail-sticky{height:14.375rem}} diff --git a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/packaging/index.css b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/packaging/index.css deleted file mode 100644 index a8b988c..0000000 --- a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/packaging/index.css +++ /dev/null @@ -1 +0,0 @@ -.page{height:100vh;min-width:960px;box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;background-color:#e8eaed;overflow:hidden}.mode-topbar{background-color:#2f7dff;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;padding:.625rem 1rem}.mode-title{font-size:1.1875rem;font-weight:600;color:#fff}.mode-title-wrap{display:flex;align-items:center;min-width:0}.mode-logo{width:7.5rem;height:2.8125rem;margin-right:2.1875rem;flex-shrink:0}.logout-btn{width:5rem;height:1.875rem;line-height:1.875rem;font-size:.9375rem;margin:0;padding:0;border-radius:.25rem}.logout-btn:after{border:none}.mode-main{flex:1;min-height:0;box-sizing:border-box;display:flex;flex-direction:column;padding:.5rem;overflow:hidden}.mode-card{background-color:#fff;border-radius:.5rem;padding:1.75rem 1.25rem;box-sizing:border-box;text-align:center}.mode-card-title{display:block;font-size:1.1875rem;color:#333;font-weight:600;margin-bottom:.5rem}.mode-card-desc{display:block;font-size:.9375rem;color:#888;line-height:1.6}.mode-card--center{text-align:center;padding:1.5rem 1.25rem}.mode-card--info{text-align:left;padding:1.25rem}.mode-card--desc{margin-top:.75rem;padding:1rem 1.25rem;text-align:left}.info-stack{display:flex;flex-direction:column;align-items:stretch}.info-head{text-align:center}.info-name{display:block;font-size:1.3125rem;font-weight:600;color:#333;margin-bottom:.5rem}.mode-tags{display:flex;align-items:center;justify-content:center}.mode-tag{display:inline-block;padding:.1875rem .625rem;border-radius:31.21875rem;font-size:.875rem;color:#2f7dff;background-color:#eef5ff;margin:0 .25rem}.mode-tag--on{color:#2fbf71;background-color:#e8f8ef}.mode-tag--off{color:#e64340;background-color:#fdeaea}.info-divider{height:.03125rem;background-color:#f0f0f0;margin:.625rem 0 .25rem}.info-row{display:flex;align-items:flex-start;justify-content:space-between;padding:.5rem 0;border-bottom:.03125rem solid #f4f4f4}.info-row:last-child{border-bottom:none}.info-label{font-size:.9375rem;color:#888;flex-shrink:0}.info-value{font-size:.9375rem;color:#333;text-align:right;word-break:break-all;margin-left:1rem}.retry-btn{width:6.25rem;height:2rem;line-height:2rem;font-size:.9375rem;margin:.875rem auto 0;padding:0;border-radius:.25rem;color:#2f7dff;background-color:#eef5ff;border:.03125rem solid #bcd7ff}.retry-btn:after{border:none}.pack-layout{flex:1;min-height:0;display:flex}.pack-left{flex:7;min-width:0;min-height:0;display:flex;flex-direction:column}.pack-left-empty{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#fff;border:.03125rem solid #dfe3e8;border-radius:.5rem;margin-top:.375rem}.pack-left-empty-text{font-size:1.25rem;color:#bbb}.pack-left-empty-sub{font-size:.875rem;color:#ccc;margin-top:.5rem}.pack-right{flex:3;min-width:0;min-height:0;display:flex;flex-direction:column;margin-left:.375rem}.pack-card{background-color:#fff;border-radius:.5rem;border:.03125rem solid #dfe3e8;padding:.46875rem 1rem .875rem;box-sizing:border-box;display:flex;flex-direction:column}.pack-card-title{font-size:1rem;font-weight:600;color:#333;margin-bottom:.5rem}.pack-search{background-color:#fff;border-radius:.5rem;border:.03125rem solid #dfe3e8;padding:.25rem .75rem;box-sizing:border-box;display:flex;align-items:center}.pack-search-input{flex:1;min-width:0;height:1.5rem;line-height:1.5rem;font-size:1rem;color:#333}.pack-search-clear{flex-shrink:0;width:1.5rem;height:1.5rem;line-height:1.5rem;text-align:center;margin-left:.5rem;font-size:1.125rem;color:#999;background-color:#e8eaed;border-radius:50%}.pack-wave{flex-direction:column;margin-top:.375rem}.pack-wave-head{display:flex;align-items:center;padding:.5rem .75rem;border-radius:.375rem;background-color:#2fbf71}.pack-wave-head .pack-card-title{margin-bottom:0;color:#fff}.pack-wave-no{font-size:2.1875rem;font-weight:600;color:#fff;margin-left:.375rem}.pack-wave-count{font-size:1.5625rem;color:#fff;margin-left:auto}.pack-meta-line{display:flex;align-items:center;margin-top:.625rem}.pack-meta-item{display:flex;flex-direction:row;align-items:center;min-width:0}.pack-meta-item+.pack-meta-item{margin-left:1.5rem}.pack-meta-label{font-size:.875rem;color:#888;line-height:1;flex-shrink:0}.pack-meta-value{font-size:1.40625rem;color:#333;font-weight:600;word-break:break-all;margin-left:.375rem;line-height:1}.pack-detail{flex:1;min-height:0;margin-top:.375rem}.pack-blocked{flex:1;min-height:0;margin-top:.375rem;align-items:center;justify-content:center}.pack-blocked-text{font-size:2rem;color:#e64340;font-weight:600}.pack-detail-title{display:flex;align-items:center;margin-bottom:.5rem}.pack-detail-title .pack-card-title{margin-bottom:0}.pack-order-type{font-size:.75rem;line-height:1;padding:.25rem .625rem;border-radius:31.21875rem;color:#2f7dff;background-color:#eef5ff;margin-left:.5rem}.pack-order-type--group{color:#2fbf71;background-color:#e8f8ef}.pack-order-type--single{color:#2f7dff;background-color:#eef5ff}.pack-detail-scan-stat{margin-left:auto;font-size:.9375rem;color:#2f7dff}.pack-verify-cancel-btn{margin:0 0 0 .5rem;height:1.75rem;line-height:1.75rem;padding:0 .75rem;font-size:.8125rem;border-radius:.25rem;color:#fff;background-color:#e64340;border:.03125rem solid #e64340}.pack-verify-cancel-btn:after{border:none}.pack-detail-body{flex:1;min-height:0;display:flex;flex-direction:column}.pack-empty{flex:1;min-height:6.25rem;display:flex;align-items:center;justify-content:center;font-size:.9375rem;color:#bbb}.pack-detail-scroll{flex:1;min-height:0}.pack-detail-row{display:flex;align-items:center;padding:.25rem 0;border-bottom:.03125rem solid #e0e0e0}.pack-detail-col{font-size:1.40625rem;color:#333;word-break:break-all}.pack-detail-col--index{flex:0 0 1.875rem;text-align:center;color:#2f7dff;font-size:1.25rem}.pack-detail-col--image{flex:0 0 4.6875rem;display:flex;align-items:center;justify-content:center}.pack-detail-col--info{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center}.pack-detail-info-name{font-size:1.40625rem;color:#333;word-break:break-all}.pack-detail-info-barcode{font-size:1.40625rem;color:#ff8c00;word-break:break-all;margin-top:.25rem}.pack-item-img-wrap{position:relative;width:3.75rem;height:3.75rem;flex-shrink:0}.pack-item-img{width:3.75rem;height:3.75rem;border-radius:.25rem;background-color:#f2f4f8;display:block}.pack-item-img-empty{width:3.75rem;height:3.75rem;display:flex;align-items:center;justify-content:center;color:#999;font-size:.875rem;background-color:#f2f4f8;border-radius:.25rem}.pack-item-img-badge{position:absolute;right:-.375rem;top:-.375rem;min-width:1.25rem;height:1.25rem;line-height:1.25rem;padding:0 .3125rem;box-sizing:border-box;border-radius:.625rem;background-color:#e64340;color:#fff;font-size:.625rem;text-align:center}.pack-detail-col--qty{flex:0 0 3.75rem;text-align:center;color:#2f7dff}.pack-detail-col--qty-done{color:#fff!important}.pack-detail-row--scanned{background-color:#2fbf71}.pack-detail-row--scanned .pack-detail-info-name,.pack-detail-row--scanned .pack-detail-col--index,.pack-detail-row--scanned .pack-detail-info-barcode{color:#fff}.pack-today-stats{display:flex;align-items:center;justify-content:space-around;padding:.5rem 0}.pack-stat{display:flex;flex-direction:column;align-items:center}.pack-stat-num{font-size:1.5625rem;font-weight:700;color:#2f7dff}.pack-stat-label{font-size:.875rem;color:#888;margin-top:.25rem}.pack-records{flex:1;min-height:0;margin-top:.375rem;overflow:hidden;padding-left:0;padding-right:0}.pack-records-title{background-color:#2f7dff;margin:-.46875rem 0 .5rem;padding:.3125rem .625rem}.pack-records-title-text{font-size:1rem;font-weight:600;color:#fff}.pack-records-body{flex:1;min-height:0;display:flex;flex-direction:column}.pack-records-scroll{flex:1;min-height:0}.pack-record-item{display:flex;align-items:center;justify-content:space-between;padding:.4375rem .625rem;border-bottom:.03125rem solid #f4f4f4}.pack-record-item--even{background-color:#e6effd}.pack-record-text{flex:1;min-width:0;font-size:1.25rem;color:#333;text-align:left;word-break:break-all}.pack-record-time{flex-shrink:0;margin-left:.5rem;font-size:.875rem;color:#aaa}.scan-hidden-input{position:absolute;width:1px;height:1px;opacity:0;left:-9999px;top:0}.topbar-actions{display:flex;align-items:center}.operator-btn{min-width:5rem;height:1.875rem;font-size:.9375rem;margin:0 .5rem 0 0;padding:0 .75rem;border-radius:.25rem;color:#fff;background-color:#909399;border:.03125rem solid #909399;display:flex;align-items:center;justify-content:center;line-height:1}.operator-btn:after{border:none}.operator-btn--bound{color:#fff;background-color:#2fbf71;border-color:#2fbf71}.operator-user-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-right:.25rem}.operator-user-icon-head{width:.4375rem;height:.4375rem;background-color:#fff;border-radius:50%}.operator-user-icon-body{width:.6875rem;height:.3125rem;margin-top:.09375rem;background-color:#fff;border-radius:.3125rem .3125rem 0 0}.op-mask{position:fixed;left:0;top:0;right:0;bottom:0;background-color:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;z-index:999}.op-dialog{width:17.5rem;background-color:#fff;border-radius:.5rem;padding:1rem;box-sizing:border-box}.op-dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}.op-dialog-title{font-size:1.125rem;font-weight:600;color:#333}.op-dialog-close{font-size:1.375rem;color:#aaa;line-height:1;padding:0 .25rem}.op-dialog-body{display:flex;flex-direction:column}.op-dialog-body>.op-btn{margin-top:.75rem}.op-bound-row{display:flex;align-items:center;justify-content:space-between;padding:.625rem .75rem;background-color:#f7f9fc;border-radius:.375rem}.op-bound-label{font-size:.9375rem;color:#888}.op-bound-name{font-size:1.0625rem;font-weight:600;color:#333}.op-scan-row{background-color:#f7f9fc;border-radius:.375rem;padding:.625rem .75rem}.op-scan-input{height:1.875rem;line-height:1.875rem;font-size:1rem;color:#333}.op-result{padding:.625rem .75rem;background-color:#eef5ff;border-radius:.375rem;display:flex;align-items:center;justify-content:space-between;margin-top:.75rem}.op-result--empty{background-color:#fdeaea}.op-result-label{font-size:.875rem;color:#888}.op-result-name{font-size:1.0625rem;font-weight:600;color:#333}.op-result--empty .op-result-name{font-size:.9375rem;font-weight:400;color:#e64340}.op-dialog-footer{margin-top:1rem;display:flex;justify-content:flex-end}.op-btn{height:2.625rem;line-height:2.625rem;font-size:.9375rem;padding:0 1.25rem;margin:0;border-radius:.25rem;border:none}.op-btn:after{border:none}.op-btn--primary{color:#fff;background-color:#2f7dff}.op-btn--danger{color:#fff;background-color:#e64340}.op-btn--cancel{color:#666;background-color:#f2f2f2}.op-btn[disabled]{opacity:.5}.op-dialog--confirm{width:21.25rem}.logout-dialog{width:28.125rem}.op-confirm-content{font-size:1.25rem;color:#333;line-height:1.6;padding:.5rem .25rem;text-align:center}.op-confirm-footer{margin-top:1rem;display:flex;justify-content:flex-end}.op-confirm-footer>.op-btn+.op-btn{margin-left:.5rem}.op-confirm-footer--equal{justify-content:stretch}.op-confirm-footer--equal .op-btn{flex:1}.img-preview-mask{position:fixed;left:0;top:0;right:0;bottom:0;background-color:rgba(0,0,0,.85);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:1200}.img-preview-toolbar{position:absolute;top:0;left:0;right:0;height:3.125rem;display:flex;align-items:center;justify-content:center;z-index:2}.img-preview-count{font-size:.9375rem;color:#fff;margin-right:.375rem}.img-preview-scale{font-size:.875rem;color:#fff;min-width:3.125rem;text-align:center}.img-preview-btn{width:2.5rem;height:1.875rem;line-height:1.875rem;padding:0;margin:0;font-size:1rem;border-radius:.25rem;color:#fff;background-color:rgba(255,255,255,.16)}.img-preview-btn:after{border:none}.img-preview-btn--close{width:3.75rem}.img-preview-toolbar>*+*{margin-left:.5rem}.img-preview-body{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.img-preview-img{width:90%;height:90%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.img-preview-arrow{position:absolute;top:50%;transform:translateY(-50%);width:2.5rem;height:2.5rem;line-height:2.5rem;text-align:center;font-size:1.875rem;color:#fff;background-color:rgba(0,0,0,.4);border-radius:50%;z-index:2;-webkit-user-select:none;-moz-user-select:none;user-select:none}.img-preview-arrow--prev{left:.75rem}.img-preview-arrow--next{right:.75rem} diff --git a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/returns/index.css b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/returns/index.css deleted file mode 100644 index 9af04d4..0000000 --- a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/returns/index.css +++ /dev/null @@ -1 +0,0 @@ -.top-nav[data-v-a0b04150]{width:100%;margin-bottom:.75rem;padding:.5625rem .875rem;box-sizing:border-box;background-color:#2f7dff;display:flex;align-items:center;justify-content:space-between}.top-nav-logo[data-v-a0b04150]{width:7.5rem;height:2.8125rem;flex-shrink:0}.top-nav-right[data-v-a0b04150]{position:relative;margin-left:auto}.top-nav-menu-wrap[data-v-a0b04150]{display:flex;align-items:center;margin-left:1.125rem;gap:.4375rem;min-width:0}.top-nav-menu-item[data-v-a0b04150]{padding:.3125rem .5625rem;border-radius:.25rem}.top-nav-menu-item--active[data-v-a0b04150]{background-color:rgba(255,255,255,.24)}.top-nav-menu-text[data-v-a0b04150]{font-size:1rem;color:#fff;font-weight:500}.top-nav-user[data-v-a0b04150]{display:flex;align-items:center;gap:.3125rem;cursor:pointer}.top-nav-user-name[data-v-a0b04150]{color:#fff;font-size:1rem;line-height:1}.top-nav-mine-icon[data-v-a0b04150]{width:1.375rem;height:1.375rem;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:31.21875rem;background-color:rgba(255,255,255,.2);box-sizing:border-box}.top-nav-mine-icon-head[data-v-a0b04150]{width:.375rem;height:.375rem;border:.0625rem solid #fff;border-radius:50%;box-sizing:border-box}.top-nav-mine-icon-body[data-v-a0b04150]{width:.625rem;height:.3125rem;margin-top:.125rem;border:.0625rem solid #fff;border-top:none;border-radius:0 0 .375rem .375rem;box-sizing:border-box}.popup-card[data-v-a0b04150]{position:absolute;right:0;top:2.1875rem;min-width:10.3125rem;background:#fff;border-radius:.375rem;box-shadow:0 .375rem 1rem rgba(0,0,0,.16);padding:.5rem;box-sizing:border-box;z-index:30}.popup-user-info[data-v-a0b04150]{max-height:10rem;overflow-y:auto}.popup-user-item[data-v-a0b04150]{padding:.375rem;border-radius:.25rem}.popup-user-item--current[data-v-a0b04150]{background-color:#edf4ff}.popup-user-text[data-v-a0b04150]{font-size:.875rem;color:#333}.popup-user-item--current .popup-user-text[data-v-a0b04150]{color:#2f7dff}.logout-btn[data-v-a0b04150]{margin-top:.5rem;height:1.875rem;line-height:1.875rem;font-size:.875rem}.close-btn[data-v-a0b04150]{margin-top:.3125rem;height:1.875rem;line-height:1.875rem;font-size:.875rem;background-color:#f5f7fb;color:#333}.switch-mask[data-v-a0b04150]{position:fixed;left:0;top:0;right:0;bottom:0;background-color:#f8f8f8;z-index:9999;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}.switch-mask--active[data-v-a0b04150]{opacity:1;visibility:visible}.page{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;background-color:#f8f8f8}.page-main{flex:1;min-height:0;overflow-y:auto;padding:.25rem 1rem 1rem;box-sizing:border-box}.dynamic-view--returns{width:100%}.module-card{background-color:#fff;border-radius:.5rem;padding:1rem;box-sizing:border-box}.module-card-title{display:block;font-size:1rem;color:#333;font-weight:600;margin-bottom:.375rem}.module-card-desc{display:block;font-size:.8125rem;color:#888;line-height:1.5} diff --git a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/weighing/index.css b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/weighing/index.css deleted file mode 100644 index d8d1549..0000000 --- a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/pages/weighing/index.css +++ /dev/null @@ -1 +0,0 @@ -.top-nav[data-v-a0b04150]{width:100%;margin-bottom:.75rem;padding:.5625rem .875rem;box-sizing:border-box;background-color:#2f7dff;display:flex;align-items:center;justify-content:space-between}.top-nav-logo[data-v-a0b04150]{width:7.5rem;height:2.8125rem;flex-shrink:0}.top-nav-right[data-v-a0b04150]{position:relative;margin-left:auto}.top-nav-menu-wrap[data-v-a0b04150]{display:flex;align-items:center;margin-left:1.125rem;gap:.4375rem;min-width:0}.top-nav-menu-item[data-v-a0b04150]{padding:.3125rem .5625rem;border-radius:.25rem}.top-nav-menu-item--active[data-v-a0b04150]{background-color:rgba(255,255,255,.24)}.top-nav-menu-text[data-v-a0b04150]{font-size:1rem;color:#fff;font-weight:500}.top-nav-user[data-v-a0b04150]{display:flex;align-items:center;gap:.3125rem;cursor:pointer}.top-nav-user-name[data-v-a0b04150]{color:#fff;font-size:1rem;line-height:1}.top-nav-mine-icon[data-v-a0b04150]{width:1.375rem;height:1.375rem;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:31.21875rem;background-color:rgba(255,255,255,.2);box-sizing:border-box}.top-nav-mine-icon-head[data-v-a0b04150]{width:.375rem;height:.375rem;border:.0625rem solid #fff;border-radius:50%;box-sizing:border-box}.top-nav-mine-icon-body[data-v-a0b04150]{width:.625rem;height:.3125rem;margin-top:.125rem;border:.0625rem solid #fff;border-top:none;border-radius:0 0 .375rem .375rem;box-sizing:border-box}.popup-card[data-v-a0b04150]{position:absolute;right:0;top:2.1875rem;min-width:10.3125rem;background:#fff;border-radius:.375rem;box-shadow:0 .375rem 1rem rgba(0,0,0,.16);padding:.5rem;box-sizing:border-box;z-index:30}.popup-user-info[data-v-a0b04150]{max-height:10rem;overflow-y:auto}.popup-user-item[data-v-a0b04150]{padding:.375rem;border-radius:.25rem}.popup-user-item--current[data-v-a0b04150]{background-color:#edf4ff}.popup-user-text[data-v-a0b04150]{font-size:.875rem;color:#333}.popup-user-item--current .popup-user-text[data-v-a0b04150]{color:#2f7dff}.logout-btn[data-v-a0b04150]{margin-top:.5rem;height:1.875rem;line-height:1.875rem;font-size:.875rem}.close-btn[data-v-a0b04150]{margin-top:.3125rem;height:1.875rem;line-height:1.875rem;font-size:.875rem;background-color:#f5f7fb;color:#333}.switch-mask[data-v-a0b04150]{position:fixed;left:0;top:0;right:0;bottom:0;background-color:#f8f8f8;z-index:9999;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}.switch-mask--active[data-v-a0b04150]{opacity:1;visibility:visible}.page{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;background-color:#f8f8f8}.page-main{flex:1;min-height:0;overflow-y:auto;padding:.25rem 1rem 1rem;box-sizing:border-box}.dynamic-view--catch-weight{width:100%}.module-card{background-color:#fff;border-radius:.5rem;padding:1rem;box-sizing:border-box}.module-card-title{display:block;font-size:1rem;color:#333;font-weight:600;margin-bottom:.375rem}.module-card-desc{display:block;font-size:.8125rem;color:#888;line-height:1.5} diff --git a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/static/images/1.png b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/static/images/1.png deleted file mode 100644 index 4123c8e0e5186d32d81af9d0dfb1b4ddd475bb88..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 84506 zcmeGEi93|vA3u)Yc9n=EdzK+ejO?;TH1<|&3}a39C9;hYWi7;DVoHl_S&IsTjAWZq zw(M&nvWMh*?vY;a-{<%F1HRYy>Reajp8GuSbDrn%T+j2|(`^$Y-MzcHcS8`g7j;_u zECjI`KoC8FksjQUv8)?`AOQ%at$98GKT}IZ1#V*R{C+;m2tV+z{X^g%0{;;BhrmAs z{vq%Wfqw}6L*O3*{}A|xz&`~3A@Kic1h74oH$F$&3NRA9e{5})TstC1lJmMF^!=Oa zyYe2;jCaNv zN~uM_*Jkxhr$~7`$q?9D3&e9R+?ynT(oV{j zzf*;~;6_M3``&el@|4E8qX&7WhhY#^Mpu{mf?-4`%|x$9_YmbuHd}FZ@|XD)twQh> z%W41jRRj%2`Xrb_fT4jDL|Nfbx`AN4g*`XrIq)IThGv7W-#+dBiKndaj`&U=RLi+7 zjBa+GFGvC{1Q9R)&)AB8#+Ga#g))f&X7Ain`MXfY=0D>;>ic<#GV?o)%)bLiI3job zw4DomJ}OqC2H8w~eSI(dUikg+AYmd8)iq(P0(B`XQ3w3#X57b`e|t!dtBAE_STYs@5`VSTIg?0H7Uu-|MvI8U zfI*Y{rC=%Bjj(63XInpgwP}ukd!M`Wc61Ty--n|Rx_uZk8x*xV47x8DssB~yS3=wB zjOI!|3x<7XZ}S&-U)}B16TM}hg5mDehO+;e5c-<iIM982J-eA5q_}u9~7TFahVC zKkTZcTf)yKSB>G?O7`qLi{1T)Ww&$z(2eDrq{XnM{N>AXdv3_v#UEblp_PQ42Z=xa zJa~y)uyNP|n9L9M4U*UW|6%JMBSkmiC$O&~MB?<#{&LmlbN3Q_pS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a$Lho)98 zE7waneD$QpR*O(1un#soh)e5%Y{FxIj=Z=7JV^xYLNP&{%SAZPdDBZWvL8)noh(Hx zvhpI9wF<&-zWA1tS_Hp!xA`nYO_y-imG|l4@F6{fes3sI6~z6-r-7oVwQf}GL$lJ@ zz~}p4eAI#JUh!r@To+L7Z#G!dstSoFDBkHt0jy6b*|19CY>Yio0d@i6h!11Qn38hy zqL!tB9Z0=jlLR(o6BC>eQyZY#JE>SBo>#(t9^yFmgob|@?!t-diYt^N(~xlj^KKxp zSK<~MV&5nn#QM40YX4$n(QS?J^6@jSFuUKD{`FzsKh?xt|A>=vyX?S zXBxEM!JEB27NSRJ?53f!Cg8E~#ZF_Bgq;zxC5YC;$g}jxD`VFO6^ks3b`DzI8+hfq z(TDO?q>q4xZ|b067_O4tDqh6r^D@IJV2B2WKQ}ugTB8eC4>MlfjjdA5*I|$ogzG4U zMwUrQ`+?Ljb~-J?!3D`1J@ZxXSJY63*BaXs9IjU$FZTt92NM@<9Zs&ktb;u4R=G;{ zLptd*QQGUi2(Y+zozzxjeM0$wj>6>a@)mdW43a^##ff|r{#HR;Gh0quuN5*Hc=dUW zC^O|I+pS30-gloP;|EXVztJr5|15j398btgcg$)~9M5 ziPBAstv3o%A(%515r#y+fUa`TMufIm`G?qvj{=3Jt;_x=Vjz)b1HR2yhYLBEUu9e;t7uWkq)G37L6eeDQz1v)ul15#S=gMSzO{7XdB;Tm=4O z2-KSICL_q2Qy3e|L;tZxxQw|7a1r1lz(s(I!2de}dwvSo%{s@herVChA1>(T7A^w+ cwFuBO&iXHkeO^^&%@Pr_YoATN74G6c0h4>$kpKVy diff --git a/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/static/logo.png b/android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__F18BF9C/www/static/logo.png deleted file mode 100644 index b5771e209bb677e2ebd5ff766ad5ee11790f305a..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hcm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%gW>#P7wTXwk}cZO--qydYul`!3w~l(JgX@=yG7|6z{6kO^>c^P;zI zAmO}-iEA~6%U7@PbJN4EXW!v;|5owjl2$w4ZZqafWPCshmRxS}7Zwlg(*rDz;hg}s SYs}WS&%*SCNx89m_0?xe:we)(e)},ke=Se,Ce=Math.min,Te=Se,Ae=Math.max,Me=Math.min,Ee=Z,Oe=function(e){return e>0?Ce(ke(e),9007199254740991):0},Le=function(e,t){return(e=Te(e))<0?Ae(e+t,0):Me(e,t)},ze=f("keys"),Ne=g,Ie=function(e){return ze[e]||(ze[e]=Ne(e))},Pe=J,De=Z,Be=(me=!1,function(e,t,n){var r,i=Ee(e),a=Oe(i.length),o=Le(n,a);if(me&&t!=t){for(;a>o;)if((r=i[o++])!=r)return!0}else for(;a>o;o++)if((me||o in i)&&i[o]===t)return me||o||0;return!me&&-1}),Re=Ie("IE_PROTO"),Fe="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),qe=function(e,t){var n,r=De(e),i=0,a=[];for(n in r)n!=Re&&Pe(r,n)&&a.push(n);for(;t.length>i;)Pe(r,n=t[i++])&&(~Be(a,n)||a.push(n));return a},je=Fe,Ve=Object.keys||function(e){return qe(e,je)},$e=k,He=A,We=Ve,Ue=E?Object.defineProperties:function(e,t){He(e);for(var n,r=We(t),i=r.length,a=0;i>a;)$e.f(e,n=r[a++],t[n]);return e};var Ye=A,Xe=Ue,Ze=Fe,Ge=Ie("IE_PROTO"),Ke=function(){},Je="prototype",Qe=function(){var e,t=O()("iframe"),n=Ze.length;for(t.style.display="none",function(){if(ye)return _e;ye=1;var e=l.document;return _e=e&&e.documentElement}().appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("