@quicktvui/quicktvui3 1.0.29 → 1.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/src/index.d.ts +1 -0
- package/dist/src/list-view/core/QTListViewItem.d.ts +2 -0
- package/dist/src/list-view/core/QTListViewItemState.d.ts +7 -0
- package/dist/src/nav-bar/index.vue.d.ts +1 -1
- package/dist/src/seekbar/QTISeekBar.d.ts +133 -133
- package/dist/src/tab/QTTabDataManager.d.ts +3 -0
- package/dist/src/tab/index.vue.d.ts +3 -3
- package/package.json +2 -3
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{ref as e,openBlock as t,createElementBlock as n,renderSlot as o,resolveComponent as a,createBlock as l,defineComponent as i,normalizeStyle as c,normalizeClass as s,createCommentVNode as u,toDisplayString as r,watchEffect as d,onBeforeUnmount as f,withCtx as p,Fragment as g,createVNode as m,createElementVNode as I,pushScopeId as v,popScopeId as h,reactive as T,watch as F,h as b,onMounted as S}from"vue";import{Native as _}from"@extscreen/es3-vue";import{useESToast as y,useES as U,useESLog as P,ESLogLevel as E}from"@extscreen/es3-core";function x(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const L="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const R=()=>{},k=/^on[^a-z]/,A=e=>k.test(e),C=Object.assign,w=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},D=Object.prototype.hasOwnProperty,N=(e,t)=>D.call(e,t),O=Array.isArray,B=e=>"[object Map]"===Q(e),M=e=>"[object Set]"===Q(e),$=e=>"function"==typeof e,z=e=>"string"==typeof e,V=e=>"symbol"==typeof e,W=e=>null!==e&&"object"==typeof e,q=e=>(W(e)||$(e))&&$(e.then)&&$(e.catch),G=Object.prototype.toString,Q=e=>G.call(e),j=e=>Q(e).slice(8,-1),Y=e=>"[object Object]"===Q(e),H=e=>z(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,X=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.charAt(0).toUpperCase()+e.slice(1))),J=(e,t)=>!Object.is(e,t),Z=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let K;const ee=()=>K||(K="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function te(e){if(O(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],a=z(o)?le(o):te(o);if(a)for(const e in a)t[e]=a[e]}return t}if(z(e)||W(e))return e}const ne=/;(?![^(]*\))/g,oe=/:([^]+)/,ae=/\/\*[^]*?\*\//g;function le(e){const t={};return e.replace(ae,"").split(ne).forEach((e=>{if(e){const n=e.split(oe);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function ie(e){let t="";if(z(e))t=e;else if(O(e))for(let n=0;n<e.length;n++){const o=ie(e[n]);o&&(t+=o+" ")}else if(W(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ce(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let se;const ue=e=>{const t=new Set(e);return t.w=0,t.n=0,t},re=e=>(e.w&ge)>0,de=e=>(e.n&ge)>0,fe=new WeakMap;let pe=0,ge=1;const me=30;let Ie;const ve=Symbol("production"!==process.env.NODE_ENV?"iterate":""),he=Symbol("production"!==process.env.NODE_ENV?"Map key iterate":"");class Te{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=se){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=Ie,t=be;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Ie,Ie=this,be=!0,ge=1<<++pe,pe<=me?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ge})(this):Fe(this),this.fn()}finally{pe<=me&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const a=t[o];re(a)&&!de(a)?a.delete(e):t[n++]=a,a.w&=~ge,a.n&=~ge}t.length=n}})(this),ge=1<<--pe,Ie=this.parent,be=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ie===this?this.deferStop=!0:this.active&&(Fe(this),this.onStop&&this.onStop(),this.active=!1)}}function Fe(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let be=!0;const Se=[];function _e(){Se.push(be),be=!1}function ye(){const e=Se.pop();be=void 0===e||e}function Ue(e,t,n){if(be&&Ie){let o=fe.get(e);o||fe.set(e,o=new Map);let a=o.get(n);a||o.set(n,a=ue());!function(e,t){let n=!1;pe<=me?de(e)||(e.n|=ge,n=!re(e)):n=!e.has(Ie);n&&(e.add(Ie),Ie.deps.push(e),"production"!==process.env.NODE_ENV&&Ie.onTrack&&Ie.onTrack(C({effect:Ie},t)))}(a,"production"!==process.env.NODE_ENV?{effect:Ie,target:e,type:t,key:n}:void 0)}}function Pe(e,t,n,o,a,l){const i=fe.get(e);if(!i)return;let c=[];if("clear"===t)c=[...i.values()];else if("length"===n&&O(e)){const e=Number(o);i.forEach(((t,n)=>{("length"===n||!V(n)&&n>=e)&&c.push(t)}))}else switch(void 0!==n&&c.push(i.get(n)),t){case"add":O(e)?H(n)&&c.push(i.get("length")):(c.push(i.get(ve)),B(e)&&c.push(i.get(he)));break;case"delete":O(e)||(c.push(i.get(ve)),B(e)&&c.push(i.get(he)));break;case"set":B(e)&&c.push(i.get(ve))}const s="production"!==process.env.NODE_ENV?{target:e,type:t,key:n,newValue:o,oldValue:a,oldTarget:l}:void 0;if(1===c.length)c[0]&&("production"!==process.env.NODE_ENV?Ee(c[0],s):Ee(c[0]));else{const e=[];for(const t of c)t&&e.push(...t);"production"!==process.env.NODE_ENV?Ee(ue(e),s):Ee(ue(e))}}function Ee(e,t){const n=O(e)?e:[...e];for(const e of n)e.computed&&xe(e,t);for(const e of n)e.computed||xe(e,t)}function xe(e,t){(e!==Ie||e.allowRecurse)&&("production"!==process.env.NODE_ENV&&e.onTrigger&&e.onTrigger(C({effect:e},t)),e.scheduler?e.scheduler():e.run())}const Le=x("__proto__,__v_isRef,__isVue"),Re=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(V)),ke=Ae();function Ae(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Ft(this);for(let e=0,t=this.length;e<t;e++)Ue(n,"get",e+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(Ft)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){_e();const n=Ft(this)[t].apply(this,e);return ye(),n}})),e}function Ce(e){const t=Ft(this);return Ue(t,"has",e),t.hasOwnProperty(e)}class we{constructor(e=!1,t=!1){this._isReadonly=e,this._shallow=t}get(e,t,n){const o=this._isReadonly,a=this._shallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return a;if("__v_raw"===t&&n===(o?a?dt:rt:a?ut:st).get(e))return e;const l=O(e);if(!o){if(l&&N(ke,t))return Reflect.get(ke,t,n);if("hasOwnProperty"===t)return Ce}const i=Reflect.get(e,t,n);return(V(t)?Re.has(t):Le(t))?i:(o||Ue(e,"get",t),a?i:_t(i)?l&&H(t)?i:i.value:W(i)?o?pt(i):ft(i):i)}}class De extends we{constructor(e=!1){super(!1,e)}set(e,t,n,o){let a=e[t];if(vt(a)&&_t(a)&&!_t(n))return!1;if(!this._shallow&&(ht(n)||vt(n)||(a=Ft(a),n=Ft(n)),!O(e)&&_t(a)&&!_t(n)))return a.value=n,!0;const l=O(e)&&H(t)?Number(t)<e.length:N(e,t),i=Reflect.set(e,t,n,o);return e===Ft(o)&&(l?J(n,a)&&Pe(e,"set",t,n,a):Pe(e,"add",t,n)),i}deleteProperty(e,t){const n=N(e,t),o=e[t],a=Reflect.deleteProperty(e,t);return a&&n&&Pe(e,"delete",t,void 0,o),a}has(e,t){const n=Reflect.has(e,t);return V(t)&&Re.has(t)||Ue(e,"has",t),n}ownKeys(e){return Ue(e,"iterate",O(e)?"length":ve),Reflect.ownKeys(e)}}class Ne extends we{constructor(e=!1){super(!0,e)}set(e,t){return"production"!==process.env.NODE_ENV&&ce(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0}deleteProperty(e,t){return"production"!==process.env.NODE_ENV&&ce(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}}const Oe=new De,Be=new Ne,Me=new Ne(!0),$e=e=>e,ze=e=>Reflect.getPrototypeOf(e);function Ve(e,t,n=!1,o=!1){const a=Ft(e=e.__v_raw),l=Ft(t);n||(J(t,l)&&Ue(a,"get",t),Ue(a,"get",l));const{has:i}=ze(a),c=o?$e:n?St:bt;return i.call(a,t)?c(e.get(t)):i.call(a,l)?c(e.get(l)):void(e!==a&&e.get(t))}function We(e,t=!1){const n=this.__v_raw,o=Ft(n),a=Ft(e);return t||(J(e,a)&&Ue(o,"has",e),Ue(o,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function qe(e,t=!1){return e=e.__v_raw,!t&&Ue(Ft(e),"iterate",ve),Reflect.get(e,"size",e)}function Ge(e){e=Ft(e);const t=Ft(this);return ze(t).has.call(t,e)||(t.add(e),Pe(t,"add",e,e)),this}function Qe(e,t){t=Ft(t);const n=Ft(this),{has:o,get:a}=ze(n);let l=o.call(n,e);l?"production"!==process.env.NODE_ENV&&ct(n,o,e):(e=Ft(e),l=o.call(n,e));const i=a.call(n,e);return n.set(e,t),l?J(t,i)&&Pe(n,"set",e,t,i):Pe(n,"add",e,t),this}function je(e){const t=Ft(this),{has:n,get:o}=ze(t);let a=n.call(t,e);a?"production"!==process.env.NODE_ENV&&ct(t,n,e):(e=Ft(e),a=n.call(t,e));const l=o?o.call(t,e):void 0,i=t.delete(e);return a&&Pe(t,"delete",e,void 0,l),i}function Ye(){const e=Ft(this),t=0!==e.size,n="production"!==process.env.NODE_ENV?B(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&Pe(e,"clear",void 0,void 0,n),o}function He(e,t){return function(n,o){const a=this,l=a.__v_raw,i=Ft(l),c=t?$e:e?St:bt;return!e&&Ue(i,"iterate",ve),l.forEach(((e,t)=>n.call(o,c(e),c(t),a)))}}function Xe(e,t,n){return function(...o){const a=this.__v_raw,l=Ft(a),i=B(l),c="entries"===e||e===Symbol.iterator&&i,s="keys"===e&&i,u=a[e](...o),r=n?$e:t?St:bt;return!t&&Ue(l,"iterate",s?he:ve),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[r(e[0]),r(e[1])]:r(e),done:t}},[Symbol.iterator](){return this}}}}function Je(e){return function(...t){if("production"!==process.env.NODE_ENV){const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${X(e)} operation ${n}failed: target is readonly.`,Ft(this))}return"delete"!==e&&this}}function Ze(){const e={get(e){return Ve(this,e)},get size(){return qe(this)},has:We,add:Ge,set:Qe,delete:je,clear:Ye,forEach:He(!1,!1)},t={get(e){return Ve(this,e,!1,!0)},get size(){return qe(this)},has:We,add:Ge,set:Qe,delete:je,clear:Ye,forEach:He(!1,!0)},n={get(e){return Ve(this,e,!0)},get size(){return qe(this,!0)},has(e){return We.call(this,e,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:He(!0,!1)},o={get(e){return Ve(this,e,!0,!0)},get size(){return qe(this,!0)},has(e){return We.call(this,e,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:He(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((a=>{e[a]=Xe(a,!1,!1),n[a]=Xe(a,!0,!1),t[a]=Xe(a,!1,!0),o[a]=Xe(a,!0,!0)})),[e,n,t,o]}const[Ke,et,tt,nt]=Ze();function ot(e,t){const n=t?e?nt:tt:e?et:Ke;return(t,o,a)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(N(n,o)&&o in t?n:t,o,a)}const at={get:ot(!1,!1)},lt={get:ot(!0,!1)},it={get:ot(!0,!0)};function ct(e,t,n){const o=Ft(n);if(o!==n&&t.call(e,o)){const t=j(e);console.warn(`Reactive ${t} contains both the raw and reactive versions of the same object${"Map"===t?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const st=new WeakMap,ut=new WeakMap,rt=new WeakMap,dt=new WeakMap;function ft(e){return vt(e)?e:mt(e,!1,Oe,at,st)}function pt(e){return mt(e,!0,Be,lt,rt)}function gt(e){return mt(e,!0,Me,it,dt)}function mt(e,t,n,o,a){if(!W(e))return"production"!==process.env.NODE_ENV&&console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const l=a.get(e);if(l)return l;const i=(c=e).__v_skip||!Object.isExtensible(c)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(j(c));var c;if(0===i)return e;const s=new Proxy(e,2===i?o:n);return a.set(e,s),s}function It(e){return vt(e)?It(e.__v_raw):!(!e||!e.__v_isReactive)}function vt(e){return!(!e||!e.__v_isReadonly)}function ht(e){return!(!e||!e.__v_isShallow)}function Tt(e){return It(e)||vt(e)}function Ft(e){const t=e&&e.__v_raw;return t?Ft(t):e}const bt=e=>W(e)?ft(e):e,St=e=>W(e)?pt(e):e;function _t(e){return!(!e||!0!==e.__v_isRef)}const yt={get:(e,t,n)=>{return _t(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const a=e[t];return _t(a)&&!_t(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};const Ut=[];function Pt(e,...t){if("production"===process.env.NODE_ENV)return;_e();const n=Ut.length?Ut[Ut.length-1].component:null,o=n&&n.appContext.config.warnHandler,a=function(){let e=Ut[Ut.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)Rt(o,n,11,[e+t.join(""),n&&n.proxy,a.map((({vnode:e})=>`at <${jn(n,e.type)}>`)).join("\n"),a]);else{const n=[`[Vue warn]: ${e}`,...t];a.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=!!e.component&&null==e.component.parent,a=` at <${jn(e.component,e.type,o)}`,l=">"+n;return e.props?[a,...Et(e.props),l]:[a+l]}(e))})),t}(a)),console.warn(...n)}ye()}function Et(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...xt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function xt(e,t,n){return z(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:_t(t)?(t=xt(e,Ft(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):$(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Ft(t),n?t:[`${e}=`,t])}const Lt={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function Rt(e,t,n,o){let a;try{a=o?e(...o):e()}catch(e){At(e,t,n)}return a}function kt(e,t,n,o){if($(e)){const a=Rt(e,t,n,o);return a&&q(a)&&a.catch((e=>{At(e,t,n)})),a}const a=[];for(let l=0;l<e.length;l++)a.push(kt(e[l],t,n,o));return a}function At(e,t,n,o=!0){const a=t?t.vnode:null;if(t){let o=t.parent;const a=t.proxy,l="production"!==process.env.NODE_ENV?Lt[n]:n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,a,l))return;o=o.parent}const i=t.appContext.config.errorHandler;if(i)return void Rt(i,null,10,[e,a,l])}!function(e,t,n,o=!0){if("production"!==process.env.NODE_ENV){const l=Lt[t];if(n&&(a=n,Ut.push(a)),Pt("Unhandled error"+(l?` during execution of ${l}`:"")),n&&Ut.pop(),o)throw e;console.error(e)}else console.error(e);var a}(e,n,a,o)}let Ct=!1,wt=!1;const Dt=[];let Nt=0;const Ot=[];let Bt=null,Mt=0;const $t=Promise.resolve();let zt=null;const Vt=100;function Wt(e){const t=zt||$t;return e?t.then(this?e.bind(this):e):t}function qt(e){Dt.length&&Dt.includes(e,Ct&&e.allowRecurse?Nt+1:Nt)||(null==e.id?Dt.push(e):Dt.splice(function(e){let t=Nt+1,n=Dt.length;for(;t<n;){const o=t+n>>>1,a=Dt[o],l=jt(a);l<e||l===e&&a.pre?t=o+1:n=o}return t}(e.id),0,e),Gt())}function Gt(){Ct||wt||(wt=!0,zt=$t.then(Ht))}function Qt(e){O(e)?Ot.push(...e):Bt&&Bt.includes(e,e.allowRecurse?Mt+1:Mt)||Ot.push(e),Gt()}const jt=e=>null==e.id?1/0:e.id,Yt=(e,t)=>{const n=jt(e)-jt(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ht(e){wt=!1,Ct=!0,"production"!==process.env.NODE_ENV&&(e=e||new Map),Dt.sort(Yt);const t="production"!==process.env.NODE_ENV?t=>Xt(e,t):R;try{for(Nt=0;Nt<Dt.length;Nt++){const e=Dt[Nt];if(e&&!1!==e.active){if("production"!==process.env.NODE_ENV&&t(e))continue;Rt(e,null,14)}}}finally{Nt=0,Dt.length=0,function(e){if(Ot.length){const t=[...new Set(Ot)];if(Ot.length=0,Bt)return void Bt.push(...t);for(Bt=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),Bt.sort(((e,t)=>jt(e)-jt(t))),Mt=0;Mt<Bt.length;Mt++)"production"!==process.env.NODE_ENV&&Xt(e,Bt[Mt])||Bt[Mt]();Bt=null,Mt=0}}(e),Ct=!1,zt=null,(Dt.length||Ot.length)&&Ht(e)}}function Xt(e,t){if(e.has(t)){const n=e.get(t);if(n>Vt){const e=t.ownerInstance,n=e&&Qn(e.type);return Pt(`Maximum recursive updates exceeded${n?` in component <${n}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}e.set(t,n+1)}else e.set(t,1)}const Jt=new Set;"production"!==process.env.NODE_ENV&&(ee().__VUE_HMR_RUNTIME__={createRecord:tn((function(e,t){if(Zt.has(e))return!1;return Zt.set(e,{initialDef:Kt(t),instances:new Set}),!0})),rerender:tn((function(e,t){const n=Zt.get(e);if(!n)return;n.initialDef.render=t,[...n.instances].forEach((e=>{t&&(e.render=t,Kt(e.type).render=t),e.renderCache=[],e.update()}))})),reload:tn((function(e,t){const n=Zt.get(e);if(!n)return;t=Kt(t),en(n.initialDef,t);const o=[...n.instances];for(const e of o){const o=Kt(e.type);Jt.has(o)||(o!==n.initialDef&&en(o,t),Jt.add(o)),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(Jt.add(o),e.ceReload(t.styles),Jt.delete(o)):e.parent?qt(e.parent.update):e.appContext.reload?e.appContext.reload():"undefined"!=typeof window?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Qt((()=>{for(const e of o)Jt.delete(Kt(e.type))}))}))});const Zt=new Map;function Kt(e){return Yn(e)?e.__vccOpts:e}function en(e,t){C(e,t);for(const n in e)"__file"===n||n in t||delete e[n]}function tn(e){return(t,n)=>{try{return e(t,n)}catch(e){console.error(e),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let nn=null,on=null;const an=Symbol.for("v-ndc");const ln={};function cn(e,t,{immediate:n,deep:o,flush:a,onTrack:l,onTrigger:i}=L){var c;"production"===process.env.NODE_ENV||t||(void 0!==n&&Pt('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&Pt('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const s=e=>{Pt("Invalid watch source: ",e,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=se===(null==(c=$n)?void 0:c.scope)?$n:null;let r,d,f=!1,p=!1;if(_t(e)?(r=()=>e.value,f=ht(e)):It(e)?(r=()=>e,o=!0):O(e)?(p=!0,f=e.some((e=>It(e)||ht(e))),r=()=>e.map((e=>_t(e)?e.value:It(e)?un(e):$(e)?Rt(e,u,2):void("production"!==process.env.NODE_ENV&&s(e))))):$(e)?r=t?()=>Rt(e,u,2):()=>{if(!u||!u.isUnmounted)return d&&d(),kt(e,u,3,[g])}:(r=R,"production"!==process.env.NODE_ENV&&s(e)),t&&o){const e=r;r=()=>un(e())}let g=e=>{d=h.onStop=()=>{Rt(e,u,4)}},m=p?new Array(e.length).fill(ln):ln;const I=()=>{if(h.active)if(t){const e=h.run();(o||f||(p?e.some(((e,t)=>J(e,m[t]))):J(e,m)))&&(d&&d(),kt(t,u,3,[e,m===ln?void 0:p&&m[0]===ln?[]:m,g]),m=e)}else h.run()};let v;I.allowRecurse=!!t,"sync"===a?v=I:"post"===a?v=()=>yn(I,u&&u.suspense):(I.pre=!0,u&&(I.id=u.uid),v=()=>qt(I));const h=new Te(r,v);"production"!==process.env.NODE_ENV&&(h.onTrack=l,h.onTrigger=i),t?n?I():m=h.run():"post"===a?yn(h.run.bind(h),u&&u.suspense):h.run();return()=>{h.stop(),u&&u.scope&&w(u.scope.effects,h)}}function sn(e,t,n){const o=this.proxy,a=z(e)?e.includes(".")?function(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}(o,e):()=>o[e]:e.bind(o,o);let l;$(t)?l=t:(l=t.handler,n=t);const i=$n;Vn(this);const c=cn(a,l.bind(o),n);return i?Vn(i):Wn(),c}function un(e,t){if(!W(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),_t(e))un(e.value,t);else if(O(e))for(let n=0;n<e.length;n++)un(e[n],t);else if(M(e)||B(e))e.forEach((e=>{un(e,t)}));else if(Y(e))for(const n in e)un(e[n],t);return e}
|
|
2
|
-
/*! #__NO_SIDE_EFFECTS__ */function rn(e,t){return $(e)?(()=>C({name:e.name},t,{setup:e}))():e}const dn=e=>e?4&e.vnode.shapeFlag?function(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((n=e.exposed,Z(n,"__v_skip",!0),It(t=n)?t:new Proxy(t,yt)),{get:(t,n)=>n in t?t[n]:n in fn?fn[n](e):void 0,has:(e,t)=>t in e||t in fn}));var t;var n}(e)||e.proxy:dn(e.parent):null,fn=C(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?gt(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?gt(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?gt(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?gt(e.refs):e.refs,$parent:e=>dn(e.parent),$root:e=>dn(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?function(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:a,optionsCache:l,config:{optionMergeStrategies:i}}=e.appContext,c=l.get(t);let s;c?s=c:a.length||n||o?(s={},a.length&&a.forEach((e=>vn(s,e,i,!0))),vn(s,t,i)):s=t;W(t)&&l.set(t,s);return s}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>qt(e.update)),$nextTick:e=>e.n||(e.n=Wt.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?sn.bind(e):R}),pn=(e,t)=>e!==L&&!e.__isScriptSetup&&N(e,t),gn={get({_:e},t){const{ctx:n,setupState:o,data:a,props:l,accessCache:i,type:c,appContext:s}=e;if("production"!==process.env.NODE_ENV&&"__isVue"===t)return!0;let u;if("$"!==t[0]){const c=i[t];if(void 0!==c)switch(c){case 1:return o[t];case 2:return a[t];case 4:return n[t];case 3:return l[t]}else{if(pn(o,t))return i[t]=1,o[t];if(a!==L&&N(a,t))return i[t]=2,a[t];if((u=e.propsOptions[0])&&N(u,t))return i[t]=3,l[t];if(n!==L&&N(n,t))return i[t]=4,n[t];__VUE_OPTIONS_API__&&!In||(i[t]=0)}}const r=fn[t];let d,f;return r?("$attrs"===t?(Ue(e,"get",t),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&Ue(e,"get",t),r(e)):(d=c.__cssModules)&&(d=d[t])?d:n!==L&&N(n,t)?(i[t]=4,n[t]):(f=s.config.globalProperties,N(f,t)?f[t]:void("production"===process.env.NODE_ENV||!nn||z(t)&&0===t.indexOf("__v")||(a!==L&&(e=>"_"===e||"$"===e)(t[0])&&N(a,t)?Pt(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===nn&&Pt(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))))},set({_:e},t,n){const{data:o,setupState:a,ctx:l}=e;return pn(a,t)?(a[t]=n,!0):"production"!==process.env.NODE_ENV&&a.__isScriptSetup&&N(a,t)?(Pt(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==L&&N(o,t)?(o[t]=n,!0):N(e.props,t)?("production"!==process.env.NODE_ENV&&Pt(`Attempting to mutate prop "${t}". Props are readonly.`),!1):"$"===t[0]&&t.slice(1)in e?("production"!==process.env.NODE_ENV&&Pt(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):("production"!==process.env.NODE_ENV&&t in e.appContext.config.globalProperties?Object.defineProperty(l,t,{enumerable:!0,configurable:!0,value:n}):l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:a,propsOptions:l}},i){let c;return!!n[i]||e!==L&&N(e,i)||pn(t,i)||(c=l[0])&&N(c,i)||N(o,i)||N(fn,i)||N(a.config.globalProperties,i)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:N(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function mn(e){return O(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}"production"!==process.env.NODE_ENV&&(gn.ownKeys=e=>(Pt("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));let In=!0;function vn(e,t,n,o=!1){const{mixins:a,extends:l}=t;l&&vn(e,l,n,!0),a&&a.forEach((t=>vn(e,t,n,!0)));for(const a in t)if(o&&"expose"===a)"production"!==process.env.NODE_ENV&&Pt('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=hn[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const hn={data:Tn,props:_n,emits:_n,methods:Sn,computed:Sn,beforeCreate:bn,created:bn,beforeMount:bn,mounted:bn,beforeUpdate:bn,updated:bn,beforeDestroy:bn,beforeUnmount:bn,destroyed:bn,unmounted:bn,activated:bn,deactivated:bn,errorCaptured:bn,serverPrefetch:bn,components:Sn,directives:Sn,watch:function(e,t){if(!e)return t;if(!t)return e;const n=C(Object.create(null),e);for(const o in t)n[o]=bn(e[o],t[o]);return n},provide:Tn,inject:function(e,t){return Sn(Fn(e),Fn(t))}};function Tn(e,t){return t?e?function(){return C($(e)?e.call(this,this):e,$(t)?t.call(this,this):t)}:t:e}function Fn(e){if(O(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function bn(e,t){return e?[...new Set([].concat(e,t))]:t}function Sn(e,t){return e?C(Object.create(null),e,t):t}function _n(e,t){return e?O(e)&&O(t)?[...new Set([...e,...t])]:C(Object.create(null),mn(e),mn(null!=t?t:{})):t}const yn=function(e,t){t&&t.pendingBranch?O(e)?t.effects.push(...e):t.effects.push(e):Qt(e)},Un=Symbol.for("v-fgt"),Pn=Symbol.for("v-txt"),En=Symbol.for("v-cmt");let xn=null;const Ln="__vInternal",Rn=({key:e})=>null!=e?e:null,kn=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?z(e)||_t(e)||$(e)?{i:nn,r:e,k:t,f:!!n}:e:null);const An="production"!==process.env.NODE_ENV?(...e)=>Cn(...e):Cn;function Cn(e,t=null,n=null,o=0,a=null,l=!1){if(e&&e!==an||("production"===process.env.NODE_ENV||e||Pt(`Invalid vnode type when creating vnode: ${e}.`),e=En),(i=e)&&!0===i.__v_isVNode){const o=wn(e,t,!0);return n&&On(o,n),!l&&xn&&(6&o.shapeFlag?xn[xn.indexOf(e)]=o:xn.push(o)),o.patchFlag|=-2,o}var i;if(Yn(e)&&(e=e.__vccOpts),t){t=function(e){return e?Tt(e)||Ln in e?C({},e):e:null}(t);let{class:e,style:n}=t;e&&!z(e)&&(t.class=ie(e)),W(n)&&(Tt(n)&&!O(n)&&(n=C({},n)),t.style=te(n))}const c=z(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:W(e)?4:$(e)?2:0;return"production"!==process.env.NODE_ENV&&4&c&&Tt(e)&&Pt("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.","\nComponent that was made reactive: ",e=Ft(e)),function(e,t=null,n=null,o=0,a=null,l=(e===Un?0:1),i=!1,c=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Rn(t),ref:t&&kn(t),scopeId:on,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:o,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:nn};return c?(On(s,n),128&l&&e.normalize(s)):n&&(s.shapeFlag|=z(n)?8:16),"production"!==process.env.NODE_ENV&&s.key!=s.key&&Pt("VNode created with invalid key (NaN). VNode type:",s.type),!i&&xn&&(s.patchFlag>0||6&l)&&32!==s.patchFlag&&xn.push(s),s}(e,t,n,o,a,c,l,!0)}function wn(e,t,n=!1){const{props:o,ref:a,patchFlag:l,children:i}=e,c=t?function(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=ie([t.class,o.class]));else if("style"===e)t.style=te([t.style,o.style]);else if(A(e)){const n=t[e],a=o[e];!a||n===a||O(n)&&n.includes(a)||(t[e]=n?[].concat(n,a):a)}else""!==e&&(t[e]=o[e])}return t}(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Rn(c),ref:t&&t.ref?n&&a?O(a)?a.concat(kn(t)):[a,kn(t)]:kn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===l&&O(i)?i.map(Dn):i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Un?-1===l?16:16|l:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&wn(e.ssContent),ssFallback:e.ssFallback&&wn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Dn(e){const t=wn(e);return O(e.children)&&(t.children=e.children.map(Dn)),t}function Nn(e=" ",t=0){return An(Pn,null,e,t)}function On(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(O(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),On(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Ln in t?3===o&&nn&&(1===nn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=nn}}else $(t)?(t={default:t,_ctx:nn},n=32):(t=String(t),64&o?(n=16,t=[Nn(t)]):n=8);e.children=t,e.shapeFlag|=n}let Bn,Mn,$n=null,zn="__VUE_INSTANCE_SETTERS__";(Mn=ee()[zn])||(Mn=ee()[zn]=[]),Mn.push((e=>$n=e)),Bn=e=>{Mn.length>1?Mn.forEach((t=>t(e))):Mn[0](e)};const Vn=e=>{Bn(e),e.scope.on()},Wn=()=>{$n&&$n.scope.off(),Bn(null)};const qn=/(?:^|[-_])(\w)/g,Gn=e=>e.replace(qn,(e=>e.toUpperCase())).replace(/[-_]/g,"");function Qn(e,t=!0){return $(e)?e.displayName||e.name:e.name||t&&e.__name}function jn(e,t,n=!1){let o=Qn(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?Gn(o):n?"App":"Anonymous"}function Yn(e){return $(e)&&"__vccOpts"in e}var Hn=rn({name:"qt-view",emits:["clearFocus"],setup(t,n){const o=e();return{clearFocus:()=>{_.callUIFunction(o.value,"clearFocus")},requestFocus:()=>{_.callUIFunction(o.value,"requestFocus")},requestFocusDirectly:()=>{_.callUIFunction(o.value,"requestFocusDirectly")},viewRef:o}}});const Xn={clipChildren:!1,ref:"viewRef"};Hn.render=function(e,a,l,i,c,s){return t(),n("div",Xn,[o(e.$slots,"default")],512)},Hn.__file="src/view/index.vue";var Jn=rn({name:"qt-text"});Jn.render=function(e,n,o,i,c,s){const u=a("text-view");return t(),l(u)},Jn.__file="src/text/index.vue";var Zn=rn({name:"qt-image"});const Kn={src:"",alt:"",clipChildren:!1};Zn.render=function(e,o,a,l,i,c){return t(),n("img",Kn)},Zn.__file="src/image/index.vue";var eo=rn({name:"qt-column"});const to={class:"qt-ui-row-css",clipChildren:!1};eo.render=function(e,a,l,i,c,s){return t(),n("div",to,[o(e.$slots,"default")])},eo.__scopeId="data-v-734c04b2",eo.__file="src/column/index.vue";var no=rn({name:"qt-row"});const oo={class:"qt-ui-row-css",clipChildren:!1};no.render=function(e,a,l,i,c,s){return t(),n("div",oo,[o(e.$slots,"default")])},no.__scopeId="data-v-9c454b58",no.__file="src/row/index.vue";var ao=i({name:"qt-button",props:{size:{type:String,default:"default"},itemType:{type:Number,default:2e4},focusBorder:{type:Boolean,default:!1},focusScale:{type:Number,default:1.08},focusable:{type:Boolean,default:!0},enableFlexStyle:{type:Boolean,default:!1},icon:{type:String,default:null},focusIcon:{type:String,default:null},text:{type:String,default:""},gradientFocusBackground:{type:Object,default:()=>{}},gradientSelectedBackground:{type:Object,default:()=>null},gradientBackground:{type:Object,default:()=>null},disabled:Boolean,circle:Boolean,round:Boolean,square:Boolean,buttonStyle:Object,textStyle:Object,iconStyle:Object,focusIconStyle:Object,iconParentStyle:Object},emits:["focus","click"],setup(t,n){const o=e(),a=e(!1);return{focused:a,requestFocus:function(){_.callUIFunction(o.value,"requestFocus",[])},requestFocusDirectly:function(){_.callUIFunction(o.value,"requestFocusDirectly",[])},onFocus:function(e){console.log("--------XXXXXXXXXXXXXXXXX--------------\x3e>>",a.value),a.value=e.isFocused,n.emit("focus",e.isFocused)},onClick:function(e){n.emit("click")}}}});const lo=["focusable","enableFocusBorder","focusScale"],io=["gradientBackground"],co=["gradientBackground"],so=["gradientBackground"],uo=["src"],ro=["src"];function fo(e,t,n=!0){let o=e.length;n?e.map(((e,n)=>{n!==o-1&&(e.decoration={bottom:t})})):e.map(((e,n)=>{n!==o-1&&(e.decoration={right:t})}))}ao.render=function(e,i,d,f,p,g){const m=a("text-view");return t(),n("div",{ref:"buttonRef",clipChildren:!1,focusable:e.focusable,enableFocusBorder:e.focusBorder,focusScale:e.focusScale,onClick:i[0]||(i[0]=(...t)=>e.onClick&&e.onClick(...t)),name:"textButton",eventClick:"",eventFocus:"",onFocus:i[1]||(i[1]=(...t)=>e.onFocus&&e.onFocus(...t)),style:c(e.buttonStyle),class:s(["quick-button--default",e.size?"quick-button--"+e.size:"",{"is-disabled-button":e.disabled,"is-circle":e.circle,"is-round":e.round,"is-square":e.square}])},[u(" gradient "),e.gradientFocusBackground?(t(),n("div",{key:0,class:"button-gradient-background-css",gradientBackground:e.gradientFocusBackground,focusable:!1,showOnState:"focused"},null,8,io)):u("v-if",!0),e.gradientSelectedBackground?(t(),n("div",{key:1,class:"button-gradient-background-css",gradientBackground:e.gradientSelectedBackground,focusable:!1,showOnState:"selected"},null,8,co)):u("v-if",!0),e.gradientBackground?(t(),n("div",{key:2,class:"button-gradient-background-css",gradientBackground:e.gradientBackground,focusable:!1,showOnState:"normal"},null,8,so)):u("v-if",!0),u(" -----------------------------icon--------------------------------- "),!e.icon&&!e.focusIcon||e.$slots.default?u("v-if",!0):(t(),n("div",{key:3,duplicateParentState:!0,style:c(e.iconParentStyle),flexStyle:"${iconParentStyle}",class:s(["quick-button-icon-parent",e.size?"quick-button-icon--parent"+e.size:""])},[e.icon&&!e.$slots.default?(t(),n("img",{key:0,style:c(e.iconStyle),flexStyle:"${iconStyle}",duplicateParentState:!0,class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,src:e.enableFlexStyle?"${"+e.icon+"}":e.icon,showOnState:"normal"},null,14,uo)):u("v-if",!0),e.focusIcon&&!e.$slots.default?(t(),n("img",{key:1,style:c(e.focusIconStyle?e.focusIconStyle:e.iconStyle),flexStyle:"${iconStyle}",class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,duplicateParentState:!0,src:e.enableFlexStyle?"${"+e.focusIcon+"}":e.focusIcon,showOnState:"focused"},null,14,ro)):u("v-if",!0)],6)),u(" ------------------------------------------------------------------- "),u(" text "),e.enableFlexStyle?(t(),l(m,{key:4,style:c(e.textStyle),duplicateParentState:"",class:s([e.size?"quick-button-text--"+e.size:"",{"is-disabled-text":e.disabled,"is-square-text":e.square}]),focusable:!1,text:"${"+e.text+"}",autoWidth:"",autoHeight:""},null,8,["style","class","text"])):e.text&&!e.$slots.default?(t(),n("span",{key:5,style:c(e.textStyle),duplicateParentState:"",class:s([e.size?"quick-button-text--"+e.size:"",{"is-disabled-text":e.disabled,"is-square-text":e.square}]),focusable:!1},r(e.text),7)):u("v-if",!0),o(e.$slots,"default")],46,lo)},ao.__scopeId="data-v-46a594e4",ao.__file="src/button/index.vue";const po=e=>e.map(mo),go=e=>{const t=Object.keys(e),n={};return t.forEach((t=>{n[t]=mo(e[t])})),n};function mo(e){return e?"object"!=typeof e?e:Array.isArray(e)?po(e):go(e):e}var Io=i({name:"qt-grid-view",props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},spanCount:{type:Number,default:0},pageSize:{type:Number},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1},areaWidth:{type:Number,default:1200},blockFocusDirections:{type:Array,default:()=>[]}},emits:["item-click","scroll","item-unbind","scroll-state-changed","item-bind","item-focused"],setup(t,n){y(),U();const o=e();let a=e(2.5),l=[],i=[],c=[],s=[],u="",r=-1,p=!1,g=-1,m=-1,I=-1,v=-1;d((()=>{t.openPage&&(r=1,p=!1,t.loadMore(r))}));const h=e=>{0==l.length&&(l=mo(e),i=e,a.value<2.2?(T(),t.openPage&&t.pageSize&&s.length>=t.pageSize/t.spanCount?o.value.setListData(s.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(s)):t.openPage&&t.pageSize&&l.length>=t.pageSize?o.value.setListData(l.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(l),t.defaultFocus>-1&&(I&&clearTimeout(I),I=setTimeout((()=>{b(t.defaultFocus),S(t.defaultFocus)}),800)));let n={get(e,i,d){if("__ob__"!=i&&"symbol"!=typeof i&&"map"!=i&&"length"!=i&&"constructor"!=i&&"_isVue"!=i&&"valueOf"!=i&&"toString"!=i&&"observeArray"!=i&&"dep"!=i&&"notify"!=i&&"subs"!=i&&"slice"!=i)if(c.push(i),-1!=c.indexOf("push"))u="push";else{if(-1!=c.indexOf("splice"))return u="splice",function(...t){if(e.splice(...t),a.value<2.2)if(T(),1==t.length||2==t.length)o.value.setListData(s);else if(0==t[1])o.value.setListData(s);else{let e=-1,n=0,a=0;for(let o=0;o<s.length;o++){const l=s[o];if("1003"==l.type)e++,t[0]==e&&(n=o),t[0]+t[1]-1==e&&(a=o);else for(let i=0;i<l.list.length;i++)l.list[i],e++,t[0]==e&&(n=o),t[0]+t[1]-1==e&&(a=o)}o.value.updateItemList(n,a-n+1,s.slice(n,a+1))}else 1==t.length?o.value.deleteItem(Number(t[0]),l.length-t[0]):2==t.length?o.value.deleteItem(Number(t[0]),t[1]):t.length>2&&(0==t[1]?a.value>2.29&&P(t[0],t.slice(2)):o.value.updateItemList(t[0],t[1],t.slice(2)));return l.splice(t[0],...t.slice(1)),u="",c=[],Reflect.get(e,i,d)};if(-1!=c.indexOf("pop"))return u="pop",function(){return e.pop(),a.value<2.2?(s[s.length-1].list.length<1&&s.pop(),s[s.length-1].list.pop(),o.value.updateItem(Number(s.length-1),s[s.length-1])):o.value.deleteItem(Number(l.length-1),1),l.pop(),u="",c=[],Reflect.get(e,i,d)};if(-1!=c.indexOf("forEach"))return u="forEach",function(n){return e.forEach((e=>{n(e)})),l=[],l=mo(e),a.value<2.2?(T(),t.openPage&&t.pageSize&&s.length>=t.pageSize&&!p?o.value.setListData(s.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(s)):t.openPage&&t.pageSize&&l.length>=t.pageSize&&!p?o.value.setListData(l.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(l),u="",c=[],Reflect.get(e,i,d)};if(-1!=c.indexOf("concat"))return u="concat",function(f){if("[object Array]"===Object.prototype.toString.call(f))if(e=e.concat(f),l=l.concat(f),a.value<2.2){v&&clearTimeout(v);let e=s.length,n=s.slice(s.length-1)[0];T();let a=s.slice(e);t.openPage&&!p?t.pageSize||2!=r?0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):v=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):o.value.setListData(s)}else v=t.openPage&&!p?t.pageSize||2!=r?setTimeout((()=>{o.value.addListDataWithParams(f.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{o.value.addListData(f.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):setTimeout((()=>{o.value.addListData(f)}),300);else console.log("concat:参数类型必须为数组");return u="",c=[],Reflect.get(e,i,d),new Proxy(e,n)};u=""}const f=Reflect.get(e,i,d);return F(f)&&"__ob__"!=i&&"dep"!=i&&"subs"!=i?h(f):(-1==c.indexOf("push")&&(c=[]),f)},set(e,n,d,f){const g=e[n],m=Reflect.set(e,n,d,f);if((!F(g)&&g!==d||F(g))&&"push"!=u)if(c.push(n),l[c[0]]=i[c[0]],a.value<2.2){let e=c[0],t=-1;for(let n=0;n<s.length;n++){const a=s[n];if("1003"==a.type)t++,t==e&&(s[n]=l[c[0]],o.value.updateItem(Number(n),s[n]));else for(let i=0;i<a.list.length;i++)if(a.list[i],t++,t==e){s[n].list[i]=l[c[0]];let e=s[n].list[i];e.decoration&&(e.decoration.top&&(e.decoration.top=0),e.decoration.bottom&&(e.decoration.bottom=0)),o.value.updateItem(Number(n),s[n])}}}else o.value.updateItem(Number(c[0]),i[c[0]]);if(n&&"push"==u&&g!==d)c.push(n),l.push(d);else{if("push"==u&&c.length>1)if(a.value<2.2){v&&clearTimeout(v);let e=s.length,n=s.slice(s.length-1)[0];T();let a=s.slice(e);t.openPage&&!p?t.pageSize||2!=r?0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):v=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):o.value.setListData(s)}else{let e=l.slice(c[1]);v&&clearTimeout(v),v=t.openPage&&!p?t.pageSize||2!=r?setTimeout((()=>{o.value.addListDataWithParams(e.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{o.value.addListData(e.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):setTimeout((()=>{o.value.addListData(e)}),300)}u="",c=[]}return m}};return new Proxy(e,n)},T=()=>{let e=mo(l);s=[];let n=0,o=[];for(let t=0;t<e.length;t++){let n=e[t];if("1003"==n.type)o.push(n);else if(n.decoration.top&&(n.toCompatibleSaveTopVal=n.decoration.top,n.decoration.top=0),n.decoration.bottom&&(n.toCompatibleSaveBottompVal=n.decoration.bottom,n.decoration.bottom=0),o[o.length-1]&&1==o[o.length-1].type)o[o.length-1].list.push(n);else{let e={type:1,list:[]};e.list.push(n),o.push(e)}}for(let e=0;e<o.length;e++){const a=o[e];if("1003"==a.type)s.push(a);else for(let e=0;e<a.list.length;e+=t.spanCount){const o=a.list[e];let l={top:-1,bottom:-1};o.decoration&&(l.top=o.toCompatibleSaveTopVal?o.toCompatibleSaveTopVal:0,l.bottom=o.toCompatibleSaveBottompVal?o.toCompatibleSaveBottompVal:0);const i={type:1,decoration:l,name:"name"+n,list:a.list.slice(e,e+t.spanCount)};n++,s.push(i)}}},F=e=>null!==e&&"object"==typeof e,b=e=>{if(a.value<2.2){let t=-1;for(let n=0;n<s.length;n++){const a=s[n];if("1003"==a.type)t++,t==e&&o.value.scrollToPosition(n);else for(let l=0;l<a.list.length;l++)a.list[l],t++,t==e&&o.value.scrollToPosition(n)}}else o.value.scrollToPosition(e)},S=e=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<s.length;o++){const l=s[o];if("1003"==l.type)t++;else for(let i=0;i<l.list.length;i++)l.list[i],t++,e==t&&(n=o,a=i)}o.value.dispatchItemFunction(n,"tv_list_inner","requestChildFocus",[a])}else o.value.requestFocus(e)},_=(e,t)=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<s.length;o++){const l=s[o];if("1003"==l.type)t++;else for(let i=0;i<l.list.length;i++)l.list[i],t++,e==t&&(n=o,a=i)}o.value.dispatchItemFunction(n,"tv_list_inner","setSelectChildPosition",[a])}else o.value.setSelectPosition(e,t)},P=(e,t)=>{o.value.addItem(e,t)},E=()=>{o.value.destroy()};return f((()=>{l=[],s=[],i.length=0,p=!1,c=[],r=1,p=!1,u="",E(),g&&clearTimeout(g),v&&clearTimeout(v),m&&clearTimeout(m),I&&clearTimeout(I)})),{tv_list:o,apkVersion:a,init:h,onItemClick:e=>{if(a.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const l=s[a];if("1003"==l.type)t++;else for(let i=0;i<l.list.length;i++)t++,n==i&&o==a&&(e.position=t)}}n.emit("item-click",e)},onItemBind:e=>{a.value<2.2?p||e.position!=s.length-1-t.preloadNo/t.spanCount||(r++,t.loadMore(r)):p||e.position!=l.length-1-t.preloadNo||(r++,t.loadMore(r)),n.emit("item-bind",e)},onItemFocused:e=>{if(a.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const l=s[a];if("1003"==l.type)t++;else for(let i=0;i<l.list.length;i++)t++,n==i&&o==a&&(e.position=t)}}n.emit("item-focused",e)},onItemUnbind:e=>{n.emit("item-unbind",e)},onScroll:e=>{n.emit("scroll",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},stopPage:e=>{m&&clearTimeout(m),m=setTimeout((()=>{a.value<2.2?t.pageSize?t.pageSize/t.spanCount<=s.length&&o.value.deleteItem(s.length,1):r>2&&o.value.deleteItem(s.length,1):t.pageSize?t.pageSize<=l.length&&o.value.deleteItem(l.length,1):r>2&&o.value.deleteItem(l.length,1)}),400),p=!0},scrollToTop:()=>{o.value.scrollToTop()},clearFocus:()=>{o.value.clearFocus()},blockRootFocus:()=>{o.value.blockRootFocus()},unBlockRootFocus:()=>{o.value.unBlockRootFocus()},setDisplay:e=>{o.value.setDisplay(e)},scrollToPosition:b,scrollToIndex:(e,t,n)=>{if(a.value<2.2){let a=-1;for(let l=0;l<s.length;l++){const i=s[l];if("1003"==i.type)a++,a==e&&o.value.scrollToIndex(0,l,t,n);else for(let c=0;c<i.list.length;c++)i.list[c],a++,a==e&&o.value.scrollToIndex(0,l,t,n)}}else o.value.scrollToIndex(0,e,t,n)},setItemFocused:S,scrollToFocused:e=>{b(e),S(e)},setItemSelected:_,scrollToSelected:(e,t)=>{b(e),_(e,t)},updateItemProps:(e,t,n)=>{o.value.updateItemProps(e,t,n)},setInitPosition:e=>{o.value.setInitPosition(e)},setListData:e=>{g&&clearTimeout(g),g=setTimeout((()=>{o.value.setListData(e)}),100)},insertItem:P,clearPostTask:()=>{o.value.clearPostTask()},destroy:E}}});Io.render=function(e,i,s,u,r,d){const f=a("tv-list");return t(),l(f,{class:"tv_list",ref:"tv_list",name:"tv_list",spanCount:e.apkVersion<2.2?"":e.spanCount,onItemBind:e.onItemBind,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemUnbind:e.onItemUnbind,onScroll:e.onScroll,onScrollStateChanged:e.onScrollStateChanged,onSetListData:e.setListData,blockFocusDirections:e.blockFocusDirections},{default:p((()=>[e.apkVersion<2.2?(t(),n(g,{key:0},[o(e.$slots,"header"),m(f,{class:"tv_list_inner",ref:"${name}",list:"${list}",name:"tv_list_inner",type:"1",clipChildren:!1,focusable:!1,horizontal:"",style:c({width:e.areaWidth+"px"}),endHintEnabled:!1,blockFocusDirections:e.blockFocusDirections},{default:p((()=>[o(e.$slots,"default")])),_:3},8,["style","blockFocusDirections"]),o(e.$slots,"footer"),o(e.$slots,"loading")],64)):(t(),n(g,{key:1},[o(e.$slots,"header"),o(e.$slots,"default"),o(e.$slots,"footer"),o(e.$slots,"loading")],64))])),_:3},8,["spanCount","onItemBind","onItemClick","onItemFocused","onItemUnbind","onScroll","onScrollStateChanged","onSetListData","blockFocusDirections"])},Io.__file="src/grid-view/index.vue";var vo=rn({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const ho={class:"absoluteFocusTitleRoot",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},To={class:"absoluteFocusMainBgRoot",duplicateParentState:!0,focusable:!1,showIf:"${title.enable}"};vo.render=function(e,o,l,i,c,s){const r=a("text-view");return t(),n("div",ho,[u(" 浮动标题"),m(r,{duplicateParentState:!0,focusable:!1,fontSize:26,ellipsizeMode:2,lines:1,paddingRect:[16,18,0,0],gradientBackground:"${floatTitle.background}",style:{height:"64px",color:"#ffffff"},flexStyle:"${floatTitle.style}",text:"${floatTitle}",showIf:"${floatTitle.enable}",gravity:"left",postDelay:250}),I("div",To,[u(" 主标题 "),m(r,{duplicateParentState:!0,focusable:!1,fontSize:30,ellipsizeMode:2,autoHeight:"",maxLines:2,gravity:"left",paddingRect:[16,8,12,8],style:{"background-color":"transparent",color:"#000000"},flexStyle:"${title.style}",text:"${title.text}"}),u(" 副标题 "),m(r,{duplicateParentState:!0,focusable:!1,fontSize:24,ellipsizeMode:2,lines:1,autoHeight:"",gravity:"left|top",paddingRect:[16,0,0,16],style:{color:"rgba(0,0,0,.4)","background-color":"transparent"},flexStyle:"${subTitle.style}",text:"${subTitle.text}",visibility:"${subTitle}"})])])},vo.__scopeId="data-v-703673b8",vo.__file="src/poster/qt-poster-focus-title.vue";var Fo=rn({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const bo={class:"cornerRoot",focusable:!1};Fo.render=function(e,o,l,i,c,s){const u=a("text-view");return t(),n("div",bo,[m(u,{duplicateParentState:!0,focusable:!1,textSize:e.fontSize,ellipsizeMode:2,lines:1,typeface:"bold",gravity:"center",postDelay:350,style:{color:"white",padding:"4px 8px",height:"36px",margin:"4px"},gradientBackground:"${corner.background}",autoWidth:"",text:"${corner.text}",showIf:"${corner.enable}"},null,8,["textSize"])])},Fo.__scopeId="data-v-4b767ea2",Fo.__file="src/poster/qt-poster-corner-title.vue";var So=rn({name:"qt-poster",components:{"qt-poster-corner-title":Fo,"qt-poster-focus-title":vo},props:{requestFirstFocus:{type:Boolean,default:!1},loadDelay:{type:Number,default:500},type:{type:Number,default:10001},templateKeyMap:{type:Object,default:()=>null},isFocusable:{type:Boolean,default:!0},enableFocusBorder:{type:Boolean,default:!0}},setup:(e,t)=>({mainTextShowOnState:["normal","selected"]})});const _o=["enableFocusBorder"],yo=["showOnState"],Uo={flexStyle:"${floatTitle.style}",class:"qt-ui-poster-title-css",gradientBackground:{colors:["#e5000000","#00000000"],cornerRadii4:[0,0,8,8],orientation:4},duplicateParentState:!0,focusable:!1,showIf:"${floatTitle.enable}"},Po={flexStyle:"${ripple.style}",class:"qt-ui-poster-ripple-view-root-css",showOnState:"focused",focusable:!1,clipChildren:!1},Eo=(e=>(v("data-v-3c4765e9"),e=e(),h(),e))((()=>I("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${true}",delayLoad:800},null,-1)));So.render=function(e,n,i,c,s,r){const d=a("text-view"),f=a("qt-poster-focus-title"),g=a("ripple-view"),v=a("qt-poster-corner-title"),h=a("item-frame");return t(),l(h,{type:e.type,layout:"${layout}",flexStyle:"${style}",focusable:e.isFocusable,eventClick:"",eventFocus:"",name:"poster",class:"qt-ui-poster-root-css",itemShowShimmer:"${shimmer.enable}",hideShadow:"${shadow.enable}",shimmerSize:"${size}"},{default:p((()=>[u("封面"),I("img",{class:"qt-ui-poster-img-css",duplicateParentState:!0,postDelay:300,focusable:!1,enableFocusBorder:e.enableFocusBorder,flexStyle:"${image.style}",src:"${image.src}"},null,8,_o),m(d,{class:"qt-ui-poster-score-css",duplicateParentState:!0,focusable:!1,flexStyle:"${score.style}",textSize:"${score.style.fontSize}",ellipsizeMode:2,lines:1,gravity:"center",postDelay:350,autoWidth:"",text:"${score.text}"}),u(" 焦点选中时的标题 "),m(f,{focusable:!1,showOnState:"focused"}),I("div",{style:{"flex-direction":"column","background-color":"transparent","z-index":"999"},duplicateParentState:!0,focusable:!1,flexStyle:"${titleStyle}",showOnState:e.mainTextShowOnState},[u(" 浮动标题 "),I("div",Uo,[m(d,{duplicateParentState:!0,focusable:!1,textSize:26,ellipsizeMode:2,enablePostTask:"",postDelay:200,lines:1,gravity:"left",style:{"z-index":"999",height:"50px"},flexStyle:"${floatTitle.style}",text:"${floatTitle.text}"})]),u(" 主标题"),m(d,{duplicateParentState:!0,focusable:!1,textSize:30,ellipsizeMode:2,lines:1,postDelay:200,gravity:"left",paddingRect:[16,8,0,0],gradientBackground:"${title.background}",style:{"z-index":"999",height:"60px"},flexStyle:"${title.style}",text:"${title.text}",showIf:"${title.enable}"})],8,yo),I("div",Po,[m(g,{class:"qt-ui-ripple-view-css",delayLoad:800,focusable:!1,duplicateParentState:!0,color:"#FF4E46",isShowRipple:"${ripple.enable}",rippleVisible:"invisible"}),Eo]),m(v,{focusable:!1,flexStyle:"${corner.style}",style:{"z-index":"1000",position:"absolute"}}),o(e.$slots,"default")])),_:3},8,["type","focusable"])},So.__scopeId="data-v-3c4765e9",So.__file="src/poster/index.vue";var xo=i({name:"qt-nav-bar",props:{textKey:{type:String,default:"text"},itemGap:{type:Number,default:0},horizontal:{type:Boolean,default:!0},initSelect:{type:Number,default:0},size:{type:String,default:"medium"},navs:{type:Array,default:()=>[]}},setup(t,n){const o=e();let a=e("#f5f5f5"),l=T({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),i=-1,c=-1;F((()=>t.navs),(e=>{e.length>0&&s(e)}));const s=e=>{e||(e=[]),e.forEach(((e,n)=>{0!==t.itemGap&&(t.horizontal?e.decoration={right:t.itemGap}:e.decoration={bottom:t.itemGap}),e.type||(e.type=2e4)})),o.value?.setListData(e),clearTimeout(c);let n=t.initSelect;n>-1&&(o.value?.scrollToPosition(n),c=setTimeout((()=>{o.value?.setItemSelected(n,!0),u(n)}),300))},u=e=>{clearTimeout(i),i=setTimeout((()=>{n.emit("tab-select",{position:e})}),300)};return{navList:o,focusColor:a,textColor:l,bgPadding:[10,10],onTabChange:e=>{!0===e.hasFocus&&(n.emit("tab-focus",e),u(e.position))},onTabItemClick:e=>{n.emit("tab-item-click",e.item)},scrollToPosition:e=>{o.value?.scrollToPosition(e)},scrollToTop:()=>{o.value?.scrollToTop()},init:e=>{s(e.data)}}}});const Lo=["stateTextColor","sateBackgroundPadding"],Ro=["stateTextColor","sateBackgroundPadding"];var ko,Ao;xo.render=function(e,n,i,s,u,r){const d=a("text-view"),f=a("qt-list-view");return e.horizontal?(t(),l(f,{key:0,ref:"navList",clipChildren:!1,clipPadding:!1,horizontal:"",class:"qt-ui-nav-bar-root-horizontal",onItemClick:e.onTabItemClick,onItemFocused:e.onTabChange},{default:p((()=>[I("div",{class:"qt-ui-nav-bar-item-css",type:2e4,autoWidth:"",focusable:!0,eventFocus:"",flexStyle:"${style}",clipChildren:!1,style:c({focusBackgroundColor:e.focusColor}),stateTextColor:e.textColor,sateBackgroundPadding:e.bgPadding},[m(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,Lo),o(e.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"])):(t(),l(f,{key:1,ref:"navList",clipChildren:!1,clipPadding:!1,class:"qt-ui-nav-bar-root-vertical",onItemClick:e.onTabItemClick,onItemFocused:e.onTabChange},{default:p((()=>[I("div",{class:"qt-ui-nav-bar-item-css",type:2e4,flexStyle:"${style}",eventFocus:"",autoWidth:"",focusable:!0,stateTextColor:e.textColor,style:c({focusBackgroundColor:e.focusColor}),sateBackgroundPadding:e.bgPadding,clipChildren:!1},[m(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,Ro),o(e.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"]))},xo.__file="src/nav-bar/index.vue",function(e){e[e.QT_WATERFALL_SECTION_TYPE_LOADING=-1]="QT_WATERFALL_SECTION_TYPE_LOADING",e[e.QT_WATERFALL_SECTION_TYPE_TITLE=1e3]="QT_WATERFALL_SECTION_TYPE_TITLE",e[e.QT_WATERFALL_SECTION_TYPE_FLEX=1002]="QT_WATERFALL_SECTION_TYPE_FLEX",e[e.QT_WATERFALL_SECTION_TYPE_LIST=1003]="QT_WATERFALL_SECTION_TYPE_LIST",e[e.QT_WATERFALL_SECTION_TYPE_TAB=1003]="QT_WATERFALL_SECTION_TYPE_TAB",e[e.QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM=1004]="QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM",e[e.QT_WATERFALL_SECTION_TYPE_TAB_LIST=1005]="QT_WATERFALL_SECTION_TYPE_TAB_LIST",e[e.QT_WATERFALL_SECTION_TYPE_CARD=1006]="QT_WATERFALL_SECTION_TYPE_CARD",e[e.QT_WATERFALL_SECTION_TYPE_VUE=1007]="QT_WATERFALL_SECTION_TYPE_VUE",e[e.QT_WATERFALL_SECTION_TYPE_END=-1001]="QT_WATERFALL_SECTION_TYPE_END",e[e.QT_WATERFALL_SECTION_TYPE_BLANK=-1e3]="QT_WATERFALL_SECTION_TYPE_BLANK"}(ko||(ko={})),function(e){e[e.QT_WATERFALL_ITEM_TYPE_POSTER=10001]="QT_WATERFALL_ITEM_TYPE_POSTER",e[e.QT_WATERFALL_ITEM_TYPE_TAB=10002]="QT_WATERFALL_ITEM_TYPE_TAB",e[e.QT_WATERFALL_ITEM_TYPE_CARD=10003]="QT_WATERFALL_ITEM_TYPE_CARD",e[e.QT_WATERFALL_ITEM_TYPE_BLANK=-1e4]="QT_WATERFALL_ITEM_TYPE_BLANK"}(Ao||(Ao={}));var Co=rn({name:"card-item",setup(e,t){const n=P();return{onFocus:function(e){n.isLoggable(E.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});Co.render=function(e,n,o,i,c,s){const u=a("es-card-container");return t(),l(u,{keyName:"_id",clipChildren:!1,clipPadding:!1,autoRecycle:!0,disablePlaceholder:"",layout:"${layout}",flexStyle:"${style}",cardId:"${cardId}",focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",type:10003,onFocus:e.onFocus,class:"qt-ui-waterfall-card-item"},null,8,["onFocus"])},Co.__scopeId="data-v-599898aa",Co.__file="src/waterfall/item/card-item.vue";var wo=rn({name:"standard-section",components:{"card-item":Co},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!1},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:ko.QT_WATERFALL_SECTION_TYPE_FLEX},standItemType:{type:Number,default:Ao.QT_WATERFALL_ITEM_TYPE_POSTER},currentPageIndex:{type:Number,default:-1}},setup(e,t){const n=P();return{onFocus:function(e){n.isLoggable(E.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const Do=["type"];wo.render=function(e,l,i,c,s,r){const d=a("text-view"),f=a("qt-poster"),g=a("card-item"),I=a("tv-flex");return t(),n("div",{class:"standard-section-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.sectionType,focusable:!1,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[m(d,{class:"standard-section-title-text-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),m(I,{class:"standard-section-css",name:"QUICKTVUI_WARTERFALL_LIST",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,bringFocusChildToFront:!0,cachePool:e.cachePool,useDiff:e.useDiff,keyName:"_id",enablePlaceholder:e.enablePlaceholder,focusScrollTarget:"${focusScrollTarget==true}",list:"${itemList}"},{default:p((()=>[u(" poster "),m(f,{"load-delay":500,type:e.standItemType},null,8,["type"]),u(" card "),m(g,{onFocus:e.onFocus},null,8,["onFocus"]),o(e.$slots,"default")])),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,Do)},wo.__scopeId="data-v-227e921e",wo.__file="src/waterfall/section/flex-section.vue";const No="list-section";var Oo=rn({name:"list-section",props:{enablePlaceholder:{type:Boolean,default:!0},isSwitchBgScroll:{type:Boolean,default:!1},standItemType:{type:Number,default:10001},tabItemType:{type:Number,default:10002},sectionType:{type:Number,default:ko.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"}},setup(e,t){const n=P();return{blockDirections:["left","right"],onItemBind:function(e){n.isLoggable(E.DEBUG)&&n.d(No,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){n.isLoggable(E.DEBUG)&&n.d(No,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){n.isLoggable(E.DEBUG)&&n.d(No,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){n.isLoggable(E.DEBUG)&&n.d(No,"----------onItemFocused--------------\x3e>>",e)}}}});const Bo={class:"qt-ui-section-tab-list-root",focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",blockFocusDirections:["right"],clipChildren:!1,useAdvancedFocusSearch:!0,bringFocusChildToFront:!0},Mo=["type"];Oo.render=function(e,n,i,c,s,u){const r=a("text-view"),d=a("qt-poster"),f=a("tv-list"),g=a("tv-item");return t(),l(g,{keyName:"_id",type:e.sectionType,clipPadding:!1,clipChildren:!1,ref:"listSection",class:"tab-list-section-root-css",onItemClick:e.onItemClick,onItemBind:e.onItemBind,onItemUnbind:e.onItemRecycled,onItemFocused:e.onItemFocused},{default:p((()=>[I("div",Bo,[m(r,{class:"tab-list-section-title-text-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),m(f,{list:"${itemList}",horizontal:"",clipChildren:!1,focusable:!1,class:"tab-list-section-list-css",name:"QUICKTVUI_WARTERFALL_LIST",resetOnDetach:!0,enableKeepFocus:"${enableKeepFocus==true}",endHintEnabled:"${enableEndHit}",onScrollEnable:!1,setSelectChildPosition:0,enablePlaceholder:e.enablePlaceholder,cachePoolName:"HorizontalList",blockFocusDirections:e.blockDirections},{default:p((()=>[m(d,{type:e.standItemType},null,8,["type"]),I("div",{type:e.tabItemType,class:"qt-ui-section-tab-list-item",clipChildren:!1,flexStyle:"${style}",style:{"padding-left":"24px","padding-right":"23px","justify-content":"center",height:"50px"},autoWidth:"",name:"QUICKTVUI_TAB_2",focusable:!0,eventClick:"",eventFocus:""},[m(r,{class:"qt-ui-section-tab-list-item-text",autoWidth:"",flexStyle:"${textStyle}",gravity:"center",fontSize:36,lines:1,focusable:!1,duplicateParentState:!0,style:{height:"50px"},text:"${text}"})],8,Mo),o(e.$slots,"default")])),_:3},8,["enablePlaceholder","blockFocusDirections"])])])),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},Oo.__scopeId="data-v-6aa2cfd4",Oo.__file="src/waterfall/section/list-section.vue";var $o=rn({name:"loading-section"});const zo={focusable:!1,type:-1,keyName:"_id",class:"loading-section-css",gradientBackground:"${style.gradientBackground}"};$o.render=function(e,o,l,i,c,s){const u=a("qt-loading-view");return t(),n("div",zo,[m(u,{class:"loading-section-loading-css"})])},$o.__scopeId="data-v-48609f24",$o.__file="src/waterfall/section/loading-section.vue";var Vo=rn({name:"end-section",setup:()=>({})});const Wo={keyName:"_id",type:-1001,focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-waterfall-end-section-css"};Vo.render=function(e,o,l,i,c,s){const u=a("text-view");return t(),n("div",Wo,[m(u,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",textSize:"${titleStyle.fontSize}",text:"${title}"})])},Vo.__scopeId="data-v-70b82c43",Vo.__file="src/waterfall/section/end-section.vue";var qo=rn({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:ko.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const Go=["type"];qo.render=function(e,o,l,i,s,u){const r=a("text-view");return t(),n("div",{class:"section-title-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.type,keyName:"_id",focusable:!1,bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[m(r,{class:"section-title-text-css",postDelay:300,style:c({marginLeft:e.plateTitleLeftMargin+"px"}),focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"},null,8,["style"])],8,Go)},qo.__scopeId="data-v-20428d40",qo.__file="src/waterfall/section/section-title.vue";var Qo=rn({name:"blank-section",setup:()=>({})});const jo={focusable:!1,type:-1e3,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-ui-waterfall-blank-section"};Qo.render=function(e,o,a,l,i,c){return t(),n("div",jo)},Qo.__scopeId="data-v-eeab4d88",Qo.__file="src/waterfall/section/blank-section.vue";var Yo=rn({name:"card-section",setup(e,t){const n=P();return{onFocus:function(e){n.isLoggable(E.DEBUG)&&n.d("card-section","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const Ho={type:1006,class:"qt-ui-waterfall-card-section-css",clipChildren:!1,clipPadding:!1,focusScrollTarget:"${isFocusScrollTarget}",keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0};Yo.render=function(e,o,l,i,c,s){const u=a("text-view"),r=a("es-card-container");return t(),n("div",Ho,[m(u,{class:"qt-ui-waterfall-card-section-title-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),m(r,{cardId:"${cardId}",onFocus:e.onFocus,clipChildren:!1,clipPadding:!1,autoRecycle:!0,focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",flexStyle:"${cardStyle}",class:"qt-ui-waterfall-card-section"},null,8,["onFocus"])])},Yo.__scopeId="data-v-43a44788",Yo.__file="src/waterfall/section/card-section.vue";var Xo=rn({name:"vue-section",props:{blockFocusDirections:{type:Array,default:()=>["left","right"]}},setup:(e,t)=>({onSectionBind:function(){}})});function Jo(e,t){const n=[];if(t&&t.length>0)for(let o=0;o<t.length;o++){let a=Zo(e,t[o]);n.push(a)}return n}function Zo(e,t){let n=0;return t.itemList.length>0&&t.type==ko.QT_WATERFALL_SECTION_TYPE_FLEX&&(n=function(e){const t=e.itemList,n=e.style?.spacing??0,o=e.titleStyle,a=o?.height??0;const l=o?.marginTop??0,i=o?.marginBottom??0;const c=o?.paddingTop??0,s=o?.paddingBottom??0;let u=e.style.height??0,r=e.style.width??0;e.decoration;let d=0,f=0,p=0;for(let e=0;e<t.length;e++){const o=t[e];let a=o?.style.width??0,l=o?.style.height??0;const i=o.style.x,c=o.style.y;if(null!=i&&null!=c)o.layout=[i,c,a,l];else{const e=o.decoration,t=e?.left??0,i=e?.top??0,c=e?.right??0,s=e?.bottom??0;d+a+c>r&&(f+=p+n,p=0,d=0),o.layout||(o.layout=[0,0,a,l]),o.layout[0]=d+t,o.layout[1]=f+i,o.layout[1]+l+s>u&&(u=o.layout[1]+l+s),l+i+s>p&&(p=l+i+s),d+=a+n+t+c}}return u+a+l+i+c+s}(t),t.style.height=n),t}function Ko(){let e=[];function t(e){return e.itemList.length}function n(n,o){console.log("----1--------getRangeSectionListItemCount-----------------\x3e>>>");const a=e.length;if(n<0||n>=a)return 0;console.log("----2--------getRangeSectionListItemCount-----------------\x3e>>>");let l=n+o;n+o>a&&(l=a),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let i=0;for(let o=n;o<l;o++){i+=t(e[o])}return i}function o(){console.log("--------dumpWaterfallData---------\x3e>>>",e)}return{init:function(){},getSectionList:function(){return e},addSectionList:function(a){const l=e.length,i=n(0,l),c=function(e){if(e.length<=0)return 0;let n=0;for(let o=0;o<e.length;o++){n+=t(e[o])}return n}(a);return e.push(...a),o(),{sectionIndex:l,sectionCount:a.length,itemIndex:i,itemCount:c}},deleteSection:function(t,a){const l=n(0,t-1),i=n(t,a);return e.splice(t,a),o(),{sectionIndex:t,sectionCount:a,itemIndex:l,itemCount:i}},updateSection:function(a,l){const i=n(0,a-1),c=t(l);return e.splice(a,1,l),o(),{sectionIndex:a,sectionCount:1,itemIndex:i,itemCount:c}},getSection:function(t){if(!(t<0||t>=e.length||0==e.length))return e[t]},addItemList:function(t,n){const a=e.length;if(t<0||t>=a||n.length<=0)return{sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const l=e[t],i=l.itemList.length;return l.itemList.push(...n),o(),{sectionIndex:t,sectionCount:1,itemIndex:i,itemCount:n.length}},deleteItem:function(t,n,a){return e[t].itemList.splice(n,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},updateItem:function(t,n,a){return e[t].itemList.splice(n,1,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:1}},updateItemList:function(t,n,a,l){return e[t].itemList.splice(n,a,...l),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},getItem:function(t,n){const o=e[t];if(o&&o.itemList.length>0&&n>=0&&n<o.itemList.length){return o.itemList[n]}},destroy:function(){e=[]}}}Xo.render=function(e,n,i,c,s,u){const r=a("tv-item");return t(),l(r,{class:"qt-ui-waterfall-vue-section",type:1007,keyName:"_id",blockFocusDirections:e.blockFocusDirections,clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:e.onSectionBind},{default:p((()=>[o(e.$slots,"default")])),_:3},8,["blockFocusDirections","onItemBind"])},Xo.__scopeId="data-v-f8447724",Xo.__file="src/waterfall/section/vue-section.vue";const ea="qt-waterfall";var ta,na=rn({name:"qt-waterfall",emits:["onScroll","onScrollStateChanged","onItemClick","onItemFocused","onSectionBind","onSectionAttached"],props:{enablePlaceholder:{type:Boolean,default:!0},prevLoadNumber:{type:Number,default:3},backTop:{type:Function,default:()=>{}},isLoadMore:{type:Boolean,default:!0},headBlank:{type:Number,default:90},blockFocusDirections:{type:Array,default:()=>["down"]},vueSectionBlockFocusDirections:{type:Array,default:()=>["left","right"]}},setup(t,n){const o=P(),a={name:"tvList"+Date.now(),size:{20008:10}},l=e();let i;const c=Ko();return{waterfallRef:l,init:function(e){i=e},setAutoFocus:function(e,t){l.value?.setAutoFocus(e,t)},getSectionList:function(){return c.getSectionList()},setSectionList:function(e){if(!i)return;o.isLoggable(E.DEBUG)&&o.d(ea,"-------1---setSectionList--------------\x3e>>"),c.destroy();const t=c.addSectionList(e);o.isLoggable(E.DEBUG)&&o.d(ea,"-------2---setSectionList--------------\x3e>>",t);const n=Jo(i,e);o.isLoggable(E.DEBUG)&&o.d(ea,"----------setSectionList-----最终数据---------\x3e>>",n),l.value?.setListData(n)},addSectionList:function(e){if(!i)return;c.addSectionList(e);const t=Jo(i,e);o.isLoggable(E.DEBUG)&&o.d(ea,"----------addSectionList-----最终数据---------\x3e>>",t),l.value?.addListData(t)},deleteSection:function(e,t){const n=c.deleteSection(e,t);o.isLoggable(E.DEBUG)&&o.d(ea,"----------deleteSection-----最终数据---------\x3e>>",n),l.value?.deleteItem(e,t)},updateSection:function(e,t){c.updateSection(e,t);const n=Zo(0,t);o.isLoggable(E.DEBUG)&&o.d(ea,"----------updateSection-----最终数据---------\x3e>>sectionIndex:",e,"updateSection:",n),l.value?.updateItem(e,n)},updateSectionList:function(e,t,n){const o=[];for(let t=0;t<n.length;t++){const a=n[t];c.updateSection(e+t,a);const l=Zo(0,a);l&&o.push(l)}l.value?.updateItemList(e,t,o)},getSection:function(e){return c.getSection(e)},addItemList:function(e,t){c.addItemList(e,t);const n=c.getSection(e);if(n){const t=Zo(0,n);l.value?.updateItem(e,t)}},deleteItem:function(e,t,n){c.deleteItem(e,t,n);const o=c.getSection(e);if(o){const t=Zo(0,o);l.value?.updateItem(e,t)}},updateItem:function(e,t,n){c.updateItem(e,t,n);const o=c.getSection(e);if(o){const t=Zo(0,o);l.value?.updateItem(e,t)}},updateItemList:function(e,t,n,o){c.updateItemList(e,t,n,o);const a=c.getSection(e);if(a){const t=Zo(0,a);l.value?.updateItem(e,t)}},getItem:function(e,t){return c.getItem(e,t)},cachePool:a,flexCachePool:{name:"tvFlex",size:{1:50}},onScroll:function(e){e.stopPropagation();let t=e.offsetX,o=e.offsetY;n.emit("onScroll",t,o)},onItemClick:function(e){o.isLoggable(E.DEBUG)&&o.d(ea,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),n.emit("onItemClick",e.parentPosition,e.position,e.item)},onItemFocused:function(e){o.isLoggable(E.DEBUG)&&o.d(ea,"----------onItemFocused--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" isFocused:"+e.isFocused+" "),n.emit("onItemFocused",e.parentPosition,e.position,e.isFocused,e.item)},onSectionBind:function(e){if(e){o.isLoggable(E.DEBUG)&&o.d(ea,"----------onSectionBind--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionBind",t,e.position)}},onSectionAttached:function(e){if(e){o.isLoggable(E.DEBUG)&&o.d(ea,"----------onSectionAttached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionAttached",t,e.position)}},onScrollStateChanged:function(e){let t=e.offsetY,o=e.offsetX,a=e.newState;n.emit("onScrollStateChanged",o,t,a)},resumePostTask:function(){l.value?.pausePostTask()},pausePostTask:function(){l.value?.pausePostTask()},clearPostTask:function(){l.value?.clearPostTask()},destroy:function(){l.value?.destroy()},scrollToTop:function(){l.value?.scrollToTop()}}},components:{"flex-section":wo,"list-section":Oo,"section-title":qo,"loading-section":$o,"end-section":Vo,"blank-section":Qo,"card-section":Yo,"vue-section":Xo}});function oa(){const e=new Map,t=new Map;function n(n){const o={index:n,state:ta.QT_TAB_PAGE_STATE_IDLE};e.set(n,o),t.set(n,[])}function o(e){return e.itemList.length}function a(e,t,n){const a=e.length;if(t<0||t>=a)return 0;let l=t+n;t+n>a&&(l=a),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let i=0;for(let n=t;n<l;n++){i+=o(e[n])}return i}function l(){console.log("--------dumpTabWaterfallData---------\x3e>>>",t)}return{initTab:function(e){const t=e.itemList;for(let e=0;e<t.length;e++)n(e)},getTabPageData:function(t){return e.get(t)},setPageData:function(t,n){e.set(t,n)},getSectionList:function(e){return t.get(e)??[]},addSectionList:function(n,i){const c=t.get(n)??[],s=c.length,u=a(c,0,s),r=function(e){if(e.length<=0)return 0;let t=0;for(let n=0;n<e.length;n++){t+=o(e[n])}return t}(i);c.push(...i);const d=e.get(n);return d&&(d.state=ta.QT_TAB_PAGE_STATE_IDLE),l(),{pageIndex:n,sectionIndex:s,sectionCount:i.length,itemIndex:u,itemCount:r}},deleteSection:function(e,n,o){const i=t.get(e)??[],c=a(i,0,n-1),s=a(i,n,o);return i.splice(n,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:o,itemIndex:c,itemCount:s}},updateSection:function(e,n,i){const c=t.get(e)??[],s=a(c,0,n-1),u=o(i);return c.splice(n,1,i),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:u}},updateSectionList:function(e,n){return t.set(e,n),l(),{pageIndex:e,sectionIndex:0,sectionCount:n.length,itemIndex:-1,itemCount:-1}},getSection:function(e,n){const o=t.get(e)??[];if(!(n<0||n>=o.length||0==o.length))return o[n]},addItemList:function(e,n,o){const a=t.get(e)??[],i=a.length;if(n<0||n>=i||o.length<=0)return{pageIndex:e,sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const c=a[n],s=c.itemList.length;return c.itemList.push(...o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:o.length}},deleteItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},updateItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,1,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:1}},updateItemList:function(e,n,o,a,i){return(t.get(e)??[])[n].itemList.splice(o,a,...i),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},getItem:function(e,n,o){const a=(t.get(e)??[])[n];if(a&&a.itemList.length>0&&o>=0&&o<a.itemList.length){return a.itemList[o]}},destroy:function(){t.clear()}}}na.render=function(e,n,i,c,s,r){const d=a("flex-section"),f=a("list-section"),g=a("loading-section"),I=a("end-section"),v=a("blank-section"),h=a("card-section"),T=a("vue-section"),F=a("tv-list");return t(),l(F,{ref:"waterfallRef",class:"qt-waterfall-root-css",keyName:"_id",clipChildren:!1,clipPadding:!1,listenBoundEvent:!0,negativeKeyTime:"30",postContentDelay:"500",onScroll:e.onScroll,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemBind:e.onSectionBind,onItemAttached:e.onSectionAttached,focusMemory:!1,cachePool:e.cachePool,preload:1,checkScrollOffsetOnStateChanged:!0,makeChildVisibleType:"center",scrollThresholdVertical:50,scrollEventThrottle:16,enableSelectOnFocus:!1,advancedFocusSearchSpan:"1",scrollYLesserReferenceValue:30,scrollYGreaterReferenceValue:30,shakePreCheckNumber:"4",blockFocusDirections:e.blockFocusDirections,onScrollStateChanged:e.onScrollStateChanged},{default:p((()=>[u(" 普通版块"),m(d,{"cache-pool":e.flexCachePool,enablePlaceholder:e.enablePlaceholder,onFocus:e.onItemFocused},{default:p((()=>[o(e.$slots,"item")])),_:3},8,["cache-pool","enablePlaceholder","onFocus"]),u("一行滚动 多级tab"),m(f,{enablePlaceholder:e.enablePlaceholder},{default:p((()=>[o(e.$slots,"list-item")])),_:3},8,["enablePlaceholder"]),u(" loading"),m(g),u(" end "),m(I),u(" blank "),m(v),u(" card "),m(h,{onFocus:e.onItemFocused},null,8,["onFocus"]),u(" vue "),m(T,{"block-focus-directions":e.vueSectionBlockFocusDirections},{default:p((()=>[o(e.$slots,"vue-section")])),_:3},8,["block-focus-directions"]),o(e.$slots,"section")])),_:3},8,["onScroll","onItemClick","onItemFocused","onItemBind","onItemAttached","cachePool","blockFocusDirections","onScrollStateChanged"])},na.__file="src/waterfall/index.vue",function(e){e[e.QT_TAB_PAGE_STATE_IDLE=0]="QT_TAB_PAGE_STATE_IDLE",e[e.QT_TAB_PAGE_STATE_BUSY=1]="QT_TAB_PAGE_STATE_BUSY",e[e.QT_TAB_PAGE_STATE_COMPLETE=2]="QT_TAB_PAGE_STATE_COMPLETE",e[e.QT_TAB_PAGE_STATE_ERROR=3]="QT_TAB_PAGE_STATE_ERROR"}(ta||(ta={}));const aa="qt-tabs";var la=rn({name:"qt-tabs",emits:["onTabPageLoadData","onTabPageChanged","onTabEvent","onTabPageItemClick","onTabPageItemFocused","onTabPageSectionAttached","onTabPageScroll","onTabPageScrollStateChanged","onTabMoveToTopStart","onTabMoveToTopEnd","onTabMoveToBottomStart","onTabMoveToBottomEnd","onTabChanged","onTabPageScrollToEnd","onTabPageScrollToStart","onTabItemClick"],props:{enablePlaceholder:{type:Boolean,default:!0},preloadNumber:{type:Number,default:3},tabNavBarClass:{type:String,default:""},tabClass:{type:String,default:""},tabsDataStrategy:{type:String,default:"overTime"},tabPageClass:{type:String,default:""},horizontal:{type:Boolean,default:!0},pageTransform:{type:Boolean,default:!0},hideOnSingleTab:{type:Boolean,default:!0},floatNavBar:{type:Boolean,default:!0},contentNextFocus:{type:Object,default:()=>({up:"tabList",left:"tabList"})},triggerTask:{type:Array,default:()=>[]},blockViewPager:{type:Array,default:()=>[]},blockViewPagerVertical:{type:Array,default:()=>[]},tabContentBlockFocusDirections:{type:Array,default:()=>["down"]},tabContentResumeDelay:{type:Number,default:500},tabContentSwitchDelay:{type:Number,default:300},slidingEnable:{type:Boolean,default:!1},slidingMode:{type:String,default:""},initTranslation:{type:Number,default:0},rightTranslation:{type:Number,default:0},leftTranslation:{type:Number,default:0},duration:{type:Number,default:1e3},interpolatorType:{type:Number,default:1}},setup(t,n){const o=e();e();const a=e(!0),l=e(1),i=P(),c=e(),s=oa();let u,r=-1;function d(e,t){const n=s.getTabPageData(e);n&&(n.state=t,s.setPageData(e,n))}function f(e,o,a){let l=s.getTabPageData(e);if(l&&l.state===ta.QT_TAB_PAGE_STATE_IDLE){a>=s.getSectionList(e).length-t.preloadNumber-1&&(i.isLoggable(E.DEBUG)&&i.d(aa,"----------loadPageData----加载数加载据--\x3e>>> pageIndex:"+e+" sectionIndex:"+a),n.emit("onTabPageLoadData",e,o),d(e,ta.QT_TAB_PAGE_STATE_BUSY))}else i.isLoggable(E.DEBUG)&&i.d(aa,"----------loadPageData--状态不对--\x3e>>>",e)}function p(e,t){i.isLoggable(E.DEBUG)&&i.d(aa,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+t),n.emit("onTabPageScroll",e,t)}function g(e,t,o){i.isLoggable(E.DEBUG)&&i.d(aa,"----------onWaterfallScrollStateChanged----\x3e>>> offsetX:"+e+" scrollY:"+t+" newState:"+o),n.emit("onTabPageScrollStateChanged",e,t,o)}return{tabs:o,ifTabs:a,navBarRef:c,initTab:function(e){let t={defaultIndex:e.defaultIndex,focusIndex:e.defaultFocusIndex,data:e.itemList};s.initTab(e),o.value?.setTabsData(t)},setAutoFocus:function(e,t){o.value?.setAutoFocus(e,t)},initPage:function(e){u=e},setPageSate:d,setPageData:function(e,t){i.isLoggable(E.DEBUG)&&i.d(aa,"----------loadPageData----setPageData--\x3e>>>pageIndex:"+e),s.addSectionList(e,t.data);const n={data:Jo(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};i.isLoggable(E.DEBUG)&&i.d(aa,"------设置数据----setPageData------\x3e>>> pageIndex:"+e+" data:",n),o.value?.setPageData(e,n)},addPageData:function(e,t,n=0){i.isLoggable(E.DEBUG)&&i.d(aa,"----------loadPageData----addPageData--\x3e>>>pageIndex:"+e),s.addSectionList(e,t.data);const a={data:Jo(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};i.isLoggable(E.DEBUG)&&i.d(aa,"----设置数据------addPageData------\x3e>>> pageIndex:"+e+" data:",a," deleteCount:"+n),o.value?.addPageData(e,a,n)},updatePageData:function(e,t){s.updateSectionList(e,t.data);const n={data:Jo(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};o.value?.updatePageData(e,n)},updatePageSection:function(e,t,n){s.updateSection(e,t,n);const a=Zo(0,n);o.value?.updateRootNode(e,t,a)},getPageSection:function(e,t){return s.getSection(e,t)},getPageSectionList:function(e){return s.getSectionList(e)},deletePageSection:function(e,t,n){s.deleteSection(e,t,n),o.value?.invokeContentFunction(e,"deleteItemRange",[t,n])},addPageItemList:function(e,t,n){s.addItemList(e,t,n);const a=s.getSection(e,t);if(a){const n=Zo(0,a);o.value?.updateRootNode(e,t,n)}},getPageItem:function(e,t,n){return s.getItem(e,t,n)},updatePageItem:function(e,t,n,a){s.updateItem(e,t,n,a),o.value?.updateChildNode(e,t,n,a)},deletePageItem:function(e,t,n,a){s.deleteItem(e,t,n,a);const l=s.getSection(e,t);if(l){const n=Zo(0,l);o.value?.updateRootNode(e,t,n)}},blockRootFocus:function(){o.value?.blockRootFocus()},unBlockRootFocus:function(){o.value?.unBlockRootFocus()},focusBackToTop:function(){o.value?.focusBackToTop()},requestNodeFocus:function(e){o.value?.requestNodeFocus(e)},reloadAll:function(e=!0){o.value?.reloadAll(e)},reloadPage:function(e){o.value?.reloadPage(e)},setCurrentPage:function(e){o.value?.setCurrentPage(e)},requestTabFocus:function(e){o.value?.requestTabFocus(e)},invokeContentFunction:function(e,t,n){o.value?.invokeContentFunction(e,t,n)},invokeContentFunctionDirect:function(e,t){o.value?.invokeContentFunctionDirect(e,t)},contentScrollToFocus:function(e){o.value?.contentScrollToFocus(e)},getRootNodeViewState:function(e,t,n){o.value?.getRootNodeViewState(e,t,n)},getChildNodeViewState:function(e,t,n,a,l){o.value?.getChildNodeViewState(e,t,n,a,l)},dispatchUIFunctionOnChildNode:function(e,t,n,a,l){o.value?.dispatchUIFunctionOnChildNode(e,t,n,a,l)},updateItemMatched:function(e="id",t,n){o.value?.updateItemMatched(e,t,n)},updateRootNode:function(e,t,n){o.value?.updateRootNode(e,t,n)},updateChildNode:function(e,t,n,a){o.value?.updateChildNode(e,t,n,a)},destroy:function(){o.value?.destroy()},translationLeft:function(){o.value?.translationLeft()},translationRight:function(){o.value?.translationRight()},rootOpacity:l,onTabPageLoadData:function(e){const t=e.pageIndex,n=e.useDiff;i.isLoggable(E.DEBUG)&&i.d(aa,"----------loadPageData----android--\x3e>>>pageIndex:"+t),f(t,n,0)},onTabPageChanged:function(e){const t=e.pageIndex;r=t;const o=e.data;i.isLoggable(E.DEBUG)&&i.d(aa,"----------onTabPageChanged------\x3e>>> pageIndex:"+t+" data:",o),n.emit("onTabPageChanged",t,o)},onTabEvent:function(e){const t=e.params,o=e.eventName,a=e.params.itemPosition,l=e.params.x,c=e.params.y,s=e.params.contentOffset,u=e.params.state;switch(i.isLoggable(E.DEBUG)&&i.d(aa,"----------onTabEvent------\x3e>>> eventName:"+o+" tabIndex:"+a+" params:",t),n.emit("onTabEvent",a,o,t),o){case"onMoveToTopStart":n.emit("onTabMoveToTopStart",a,o,t);break;case"onMoveToTopEnd":n.emit("onTabMoveToTopEnd",a,o,t);break;case"onMoveToBottomStart":n.emit("onTabMoveToBottomStart",a,o,t);break;case"onMoveToBottomEnd":n.emit("onTabMoveToBottomEnd",a,o,t);break;case"onTabChanged":n.emit("onTabChanged",a,o,t);break;case"onScroll":p(l,c);break;case"onScrollStateChanged":g(s.x,s.y,u.newState)}},onWaterfallItemClick:function(e,t,o){i.isLoggable(E.DEBUG)&&i.d(aa,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" item:",o),n.emit("onTabPageItemClick",r,e,t,o)},onWaterfallItemFocused:function(e,t,o,a){i.isLoggable(E.DEBUG)&&i.d(aa,"-----------onWaterfallItemFocused---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" isFocused:"+o+" item:",a),n.emit("onTabPageItemFocused",r,e,t,o,a)},onWaterfallSectionBind:function(e,t){i.isLoggable(E.DEBUG)&&i.d(aa,"-----------onWaterfallSectionBind---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),e===r&&(i.isLoggable(E.DEBUG)&&i.d(aa,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),f(e,!1,t))},onWaterfallSectionAttached:function(e,t){i.isLoggable(E.DEBUG)&&i.d(aa,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),n.emit("onTabPageSectionAttached",e,t)},onWaterfallScroll:p,onWaterfallScrollStateChanged:g,onTabPageScrollToStart:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToStart",t),i.isLoggable(E.DEBUG)&&i.d(aa,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+t)},onTabPageScrollToEnd:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToEnd",t),i.isLoggable(E.DEBUG)&&i.d(aa,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+t)},onTabChange:function(e){},onTabItemClick:function(e){n.emit("onTabItemClick",e)}}}});la.render=function(e,n,i,c,r,d){const f=a("qt-nav-bar"),g=a("qt-waterfall"),I=a("recycler-view-pager"),v=a("tabs");return e.ifTabs?(t(),l(v,{key:0,ref:"tabs",class:s(["tabs-root-css",e.tabClass]),dataStrategy:e.tabsDataStrategy,hideOnSingleTab:this.hideOnSingleTab,pageSwitchDelay:e.tabContentSwitchDelay,resumeTaskDelay:e.tabContentResumeDelay,suspension:this.floatNavBar,clipChildren:!1,outOfDateTime:3e5,blockFocusDirections:e.tabContentBlockFocusDirections,onScrollToStart:e.onTabPageScrollToStart,onScrollToEnd:e.onTabPageScrollToEnd,onLoadPage:e.onTabPageLoadData,onPageChanged:e.onTabPageChanged,onTabEvent:e.onTabEvent},{default:p((()=>[m(f,{ref:"navBarRef",name:"tabList",focusable:!1,class:s(e.tabNavBarClass),"text-key":"text",onTabFocus:e.onTabChange,onTabItemClick:e.onTabItemClick,clipChldren:!1,horizontal:e.horizontal},{default:p((()=>[o(e.$slots,"tab-item")])),_:3},8,["class","onTabFocus","onTabItemClick","horizontal"]),m(I,{nextFocusName:e.contentNextFocus,ref:"viewPager",class:s(e.tabPageClass),name:"content",loadingItemType:-1,clipChldren:!1,opacity:e.rootOpacity,focusable:!1,enableTransform:e.pageTransform,slidingEnable:e.slidingEnable,slidingMode:e.slidingMode,initTranslation:e.initTranslation,rightTranslation:e.rightTranslation,leftTranslation:e.leftTranslation,duration:e.duration,interpolatorType:e.interpolatorType,triggerTask:e.triggerTask,direction:e.horizontal?"horizontal":"vertical",blockFocusDirections:e.horizontal?e.blockViewPager:e.blockViewPagerVertical},{default:p((()=>[m(g,{keyName:"_id",enablePlaceholder:e.enablePlaceholder,onOnScrollStateChanged:e.onWaterfallScrollStateChanged,onOnScroll:e.onWaterfallScroll,onOnSectionBind:e.onWaterfallSectionBind,onOnSectionAttached:e.onWaterfallSectionAttached,onOnItemFocused:e.onWaterfallItemFocused,onOnItemClick:e.onWaterfallItemClick},{item:p((()=>[o(e.$slots,"waterfall-item")])),"list-item":p((()=>[o(e.$slots,"waterfall-list-item")])),section:p((()=>[o(e.$slots,"waterfall-section")])),"vue-section":p((()=>[o(e.$slots,"waterfall-vue-section")])),_:3},8,["enablePlaceholder","onOnScrollStateChanged","onOnScroll","onOnSectionBind","onOnSectionAttached","onOnItemFocused","onOnItemClick"])])),_:3},8,["nextFocusName","class","opacity","enableTransform","slidingEnable","slidingMode","initTranslation","rightTranslation","leftTranslation","duration","interpolatorType","triggerTask","direction","blockFocusDirections"])])),_:3},8,["dataStrategy","hideOnSingleTab","pageSwitchDelay","resumeTaskDelay","suspension","class","blockFocusDirections","onScrollToStart","onScrollToEnd","onLoadPage","onPageChanged","onTabEvent"])):u("v-if",!0)},la.__file="src/tab/index.vue";var ia=rn({name:"qt-vue-section",setup:(e,t)=>({onSectionBind:function(){}})});ia.render=function(e,n,i,c,s,u){const r=a("tv-item");return t(),l(r,{class:"qt-ui-waterfall-vue-section",clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:e.onSectionBind},{default:p((()=>[o(e.$slots,"default")])),_:3},8,["onItemBind"])},ia.__scopeId="data-v-d02af3c2",ia.__file="src/section/index.vue";var ca=rn({name:"qt-classified-list-view",props:{className:{type:String,default:"content_list_view"},classNavName:{type:String,default:"nav_list_view"},currentFocusIndex:{type:Number,default:0},focusScale:{type:Number,default:1.15},navType:{type:Number,default:10001},yOffest:{type:Number,default:802}},emits:["item-click","item-focused"],setup(t,n){let o=e(1);const a=e(),l=e();let i=[],c=-1,s=-1,u=[];let r=-1;let d=-1,f=-1;return{descendantFocusability:o,content_list_view:a,nav_list_view:l,init:e=>{e.forEach(((n,o)=>{n.mask||(n.mask="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/mask.png"),n.icon||(n.icon="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/playing.png"),n.isPlaying=!1,t.currentFocusIndex==o&&(n.isPlaying=!0);let a=!1;for(let e=0;e<i.length;e++){const t=i[e];n.categoryname==t.categoryname&&(n.navIndex=e,a=!0)}a||(n.navIndex||(n.navIndex=i.length),i.push({type:n.type,decoration:{left:50},categoryname:n.categoryname,startIndex:o,isNeedFocus:!0})),u=e})),Wt((()=>{a.value?.setListData(e),l.value?.setListData(i),setTimeout((()=>{c=t.currentFocusIndex,s=e[t.currentFocusIndex].navIndex,a.value?.scrollToFocused(c),l.value?.scrollToSelected(s,!0)}),300)}))},onItemBind:()=>{},onSItemClick:e=>{n.emit("item-click",e)},onFItemClick:e=>{n.emit("item-click",e)},scrollToIndex:(e,t=!0,n=802)=>{a.value?.scrollToIndex(e,t,n)},scrollToFocused:e=>{o.value=1,setTimeout((()=>{a.value?.scrollToFocused(e)}),300)},setItemFocused:e=>{setTimeout((()=>{o.value=1}),300),a.value?.setItemFocused(e)},scrollToSelected:(e,t=!0)=>{a.value?.scrollToSelected(e,t)},setItemSelected:(e,t=!0)=>{a.value?.setItemSelected(e,!0)},onSItemFocused:e=>{clearTimeout(r),r=setTimeout((()=>{if(e.hasFocus){if(c!=e.position){if(c>-1){let e=u[c];e.isPlaying=!1,a.value?.updateItem(c,e)}let t=u[e.position];t.isPlaying=!0,a.value?.updateItem(e.position,t)}c=e.position,s!=e.item.navIndex&&(s=e.item.navIndex,l.value?.scrollToSelected(e.item.navIndex,!0)),n.emit("item-focused",e)}else s=e.item.navIndex}),300)},onFItemFocused:e=>{clearTimeout(d),clearTimeout(f),e.hasFocus&&s!=e.position&&(o.value=2,s=e.position,u[e.item.startIndex].isNeedFocus?(a.value?.scrollToIndex(e.item.startIndex,!0,t.yOffest),f=setTimeout((()=>{a.value?.setItemSelected(e.item.startIndex,!0),d=setTimeout((()=>{o.value=1}),200)}),400)):(a.value?.scrollToIndex(e.item.startIndex+1,!0,t.yOffest),f=setTimeout((()=>{a.value?.setItemSelected(e.item.startIndex+1,!0),d=setTimeout((()=>{o.value=1}),200)}),400)))},updateItem:(e,t)=>{u[e]=t,u.forEach(((e,t)=>{e.mask||(e.mask="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/mask.png"),e.icon||(e.icon="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/playing.png");for(let t=0;t<i.length;t++){const n=i[t];e.categoryname==n.categoryname&&(e.navIndex=t)}})),a.value?.updateItem(e,u[e])}}}});const sa={focusable:!1,clipChildren:!1},ua=["focusScale"],ra=I("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:300},null,-1),da=I("img",{src:"${mask}",class:"titMask",focusable:!1,postDelay:300,showIf:"${isPlaying}"},null,-1),fa={focusable:!1,class:"clv_item_text_box",showIf:"${isPlaying}"},pa={class:"playMark",focusable:!1},ga=["type"],ma=I("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1),Ia=I("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1),va={class:"nav_item_text",focusable:!1,duplicateParentState:!0};var ha,Ta,Fa,ba,Sa,_a,ya,Ua;ca.render=function(e,l,i,r,d,f){const g=a("play-mark"),v=a("text-view"),h=a("qt-list-view");return t(),n("div",sa,[u(" listview second nav "),m(h,{class:s(e.className),ref:"content_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onSItemClick,horizontal:"",blockFocusDirections:["left","right"],descendantFocusability:e.descendantFocusability,onItemFocused:e.onSItemFocused},{default:p((()=>[I("div",{type:10001,name:"clv_item",class:"clv_item",focusable:!0,enableFocusBorder:!0,clipChildren:!1,eventClick:"",eventFocus:"",focusScale:e.focusScale},[ra,da,I("div",fa,[I("div",pa,[m(g,{style:c([{width:"28px",height:"20px"},{"margin-left":"16px"}]),markColor:"#ffffff",gap:-1,focusable:!1})]),m(v,{focusable:!1,ellipsizeMode:2,fontSize:30,gravity:"centerVertical",lines:1,maxLines:1,class:"clv_item_text",text:"${assetTitle}",paddingRect:[6,0,0,0]})])],8,ua),o(e.$slots,"item")])),_:3},8,["class","onItemClick","descendantFocusability","onItemFocused"]),u(" listview first nav "),m(h,{class:s(e.classNavName),ref:"nav_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onFItemClick,horizontal:"",blockFocusDirections:["left","right"],onItemFocused:e.onFItemFocused},{default:p((()=>[I("div",{type:e.navType,name:"nav_item",class:"nav_item",focusable:!0,enableFocusBorder:!1,focusScale:"1",eventClick:"",eventFocus:"",clipChildren:!1},[ma,Ia,I("div",va,[m(v,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),m(v,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),m(v,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])],8,ga),o(e.$slots,"navItem")])),_:3},8,["class","onItemClick","onItemFocused"])])},ca.__file="src/classified-list-view/index.vue",function(e){e.QT_DIRECTION_UP="up",e.QT_DIRECTION_DOWN="down",e.QT_DIRECTION_RIGHT="right",e.QT_DIRECTION_LEFT="left"}(ha||(ha={})),function(e){e[e.SCROLL_STATE_IDLE=0]="SCROLL_STATE_IDLE",e[e.SCROLL_STATE_DRAGGING=1]="SCROLL_STATE_DRAGGING",e[e.SCROLL_STATE_SETTLING=2]="SCROLL_STATE_SETTLING"}(Ta||(Ta={})),function(e){e[e.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT"}(Fa||(Fa={})),function(e){e[e.QT_TAB_ITEM_TYPE_DEFAULT=2e4]="QT_TAB_ITEM_TYPE_DEFAULT"}(ba||(ba={})),function(e){e[e.QT_ACCELERATE_DECELERATE_INTERPOLATOR=1]="QT_ACCELERATE_DECELERATE_INTERPOLATOR",e[e.QT_ACCELERATE_INTERPOLATOR=2]="QT_ACCELERATE_INTERPOLATOR",e[e.QT_ANTICIPATE_INTERPOLATOR=3]="QT_ANTICIPATE_INTERPOLATOR",e[e.QT_ANTICIPATE_OVERSHOOT_INTERPOLATOR=4]="QT_ANTICIPATE_OVERSHOOT_INTERPOLATOR",e[e.QT_BOUNCE_INTERPOLATOR=5]="QT_BOUNCE_INTERPOLATOR",e[e.QT_CYCLE_INTERPOLATOR=6]="QT_CYCLE_INTERPOLATOR",e[e.QT_DECELERATE_INTERPOLATOR=7]="QT_DECELERATE_INTERPOLATOR",e[e.QT_LINEAR_INTERPOLATOR=8]="QT_LINEAR_INTERPOLATOR",e[e.QT_OVERSHOOT_INTERPOLATOR=9]="QT_OVERSHOOT_INTERPOLATOR",e[e.QT_FAST_OUT_LINEAR_IN_INTERPOLATOR=10]="QT_FAST_OUT_LINEAR_IN_INTERPOLATOR",e[e.QT_FAST_OUT_SLOW_IN_INTERPOLATOR=11]="QT_FAST_OUT_SLOW_IN_INTERPOLATOR",e[e.QT_PATH_INTERPOLATOR=12]="QT_PATH_INTERPOLATOR"}(Sa||(Sa={})),function(e){e.QT_ANIMATION_PROPERTY_NAME_ALPHA="alpha",e.QT_ANIMATION_PROPERTY_NAME_ROTATION="rotation",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_X="rotationX",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_Y="rotationY",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_Z="rotationZ",e.QT_ANIMATION_PROPERTY_NAME_SCALE_X="scaleX",e.QT_ANIMATION_PROPERTY_NAME_SCALE_Y="scaleY",e.QT_ANIMATION_PROPERTY_NAME_SCALE_Z="scaleZ",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X="translationX",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y="translationY",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z="translationZ"}(_a||(_a={})),function(e){e[e.QT_ANIMATION_REPEAT_MODE_RESTART=1]="QT_ANIMATION_REPEAT_MODE_RESTART",e[e.QT_ANIMATION_REPEAT_MODE_REVERSE=2]="QT_ANIMATION_REPEAT_MODE_REVERSE",e[e.QT_ANIMATION_REPEAT_MODE_INFINITE=-1]="QT_ANIMATION_REPEAT_MODE_INFINITE"}(ya||(ya={})),function(e){e.QT_ANIMATION_VALUE_TYPE_INT="ofInt",e.QT_ANIMATION_VALUE_TYPE_FLOAT="ofFloat"}(Ua||(Ua={}));const Pa=[Hn,Jn,Zn,eo,no,ao,Io,So,xo,na,la,ca,ia],Ea=t=>{t.component("qt-loading-view",{setup(t,n){const o=e();return()=>b("LoadingViewComponent",{ref:o})}}),function(t){const n=i({props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1}},emits:["item-click","scroll","item-focused","item-attached","item-detached","item-bind","item-unbind","load-more","scroll-state-changed","focus-search-failed","scrollYGreaterReference","scrollYLesserReference"],setup(t,n){const o=e();U();let a=[],l=[],i=[],c="",s=-1,u=!1,r=-1,p=-1,g=-1,m=-1;d((()=>{t.openPage&&(s=1,u=!1,t.loadMore(s))}));const I=e=>{0==a.length&&(a=mo(e),v(a,-1),l=e,t.openPage?F(a.concat([{_id:"",type:1002,decoration:{top:18,bottom:18,right:30,left:30}}])):F(a),t.defaultFocus>-1&&(g&&clearTimeout(g),g=setTimeout((()=>{A(t.defaultFocus)}),500)));let n={get(e,o,l){if("__ob__"!=o&&"symbol"!=typeof o&&"map"!=o&&"length"!=o&&"constructor"!=o&&"_isVue"!=o&&"valueOf"!=o&&"toString"!=o&&"observeArray"!=o&&"dep"!=o&&"notify"!=o&&"subs"!=o&&"slice"!=o)if(i.push(o),-1!=i.indexOf("push"))c="push";else{if(-1!=i.indexOf("splice"))return c="splice",function(...t){return e.splice(...t),-1!=i.indexOf("list")?(a[i[0]].list.splice(...t),E(Number(i[0]),a[i[0]])):1==t.length?P(Number(t[0]),a.length-t[0]+1):2==t.length?P(Number(t[0]),t[1]):t.length>2&&(0==t[1]?L(t[0],t.slice(2)):x(t[0],t[1],t.slice(2))),a.splice(t[0],...t.slice(1)),c="",i=[],Reflect.get(e,o,l)};if(-1!=i.indexOf("pop"))return c="pop",function(){return e.pop(),-1!=i.lastIndexOf("list")?(a[i[0]].list.pop(),E(Number(i[0]),a[i[0]])):(P(Number(a.length-1),1),a.pop()),c="",i=[],Reflect.get(e,o,l)};if(-1!=i.indexOf("forEach"))return c="forEach",function(n){return e.forEach((e=>{n(e)})),a=[],a=mo(e),t.openPage?F(a.concat([{_id:"",type:1002,decoration:{top:15,left:30}}])):F(a),c="",i=[],Reflect.get(e,o,l)};if(-1!=i.indexOf("concat"))return c="concat",function(s){return e=e.concat(s),-1!=i.lastIndexOf("list")?(a[i[0]].list=a[i[0]].list.concat(s),E(Number(i[0]),a[i[0]])):(a=a.concat(s),t.openPage&&!u?setTimeout((()=>{y(s.concat([{type:"1002",decoration:{bottom:18,right:30,left:30}}]),1)}),300):S(s)),c="",i=[],Reflect.get(e,o,l),new Proxy(e,n)};c=""}const s=Reflect.get(e,o,l);return h(s)&&"__ob__"!=o&&"dep"!=o&&"subs"!=o?I(s):(-1==i.indexOf("push")&&(i=[]),s)},set(e,n,o,s){const r=e[n];T(e,n);const d=Reflect.set(e,n,o,s);if((!h(r)&&r!==o||h(r))&&"push"!=c)if(i.push(n),-1!=i.lastIndexOf("list")){let e=i.lastIndexOf("list"),t=i.lastIndexOf("list")+2,n={};for(let e=0;e<t;e++){let t=i[e];n=n?n[t]:l[t]}n.name="name"+i[e-1]+i[e+1],E(Number(i[0]),l[i[0]]),a[i[0]].list[i[e+1]]=l[i[0]].list[i[e+1]],a[i[0]].list[i[e+1]].name="name"+i[e-1]+i[e+1]}else a[i[0]]=l[i[0]],a[i[0]].name="name"+i[0],E(Number(i[0]),l[i[0]]);if(n&&"push"==c&&r!==o)-1!=i.lastIndexOf("list")?(i.push(n),a[i[0]].list.push(o)):(i.push(n),a.push(o));else{if("push"==c)if(-1!=i.lastIndexOf("list"))E(Number(i[0]),a[i[0]]);else{let e=a.slice(i[1]);m&&clearTimeout(m),m=t.openPage&&!u?setTimeout((()=>{y(e.concat([{_id:"",type:1002,decoration:{bottom:18,right:30,left:30}}]),1)}),300):setTimeout((()=>{S(e)}),300)}c="",i=[]}return d}};return new Proxy(e,n)},v=(e,t)=>{for(let n=0;n<e.length;n++){const o=e[n];o.name=t>=0?"name"+t+n:"name"+n,o.list&&o.list.length>0&&v(o.list,n)}},h=e=>null!==e&&"object"==typeof e,T=(e,t)=>{Object.hasOwnProperty.call(e,t)},F=e=>{r&&clearTimeout(r),r=setTimeout((()=>{_.callUIFunction(o.value,"setListData",e)}),100)},S=e=>{_.callUIFunction(o.value,"addListData",e)},y=(e,t)=>{_.callUIFunction(o.value,"addListDataWithParams",[e,t])},P=(e,t)=>{_.callUIFunction(o.value,"deleteItemRange",[e,t])},E=(e,t)=>{_.callUIFunction(o.value,"updateItem",[e,t])},x=(e,t,n)=>{_.callUIFunction(o.value,"updateItemRange",[e,t,n])},L=(e,t)=>{_.callUIFunction(o.value,"insertItemRange",[e,t])},R=(e,t)=>{_.callUIFunction(o.value,"setSelectChildPosition",[e,t])},k=e=>{_.callUIFunction(o.value,"scrollToPosition",[e])},A=e=>{_.callUIFunction(o.value,"requestChildFocus",[e])};return f((()=>{a=[],l.length=0,i=[],u=!1,s=1,c="",r&&clearTimeout(r),g&&clearTimeout(g),m&&clearTimeout(m),p&&clearTimeout(p)})),n.expose({viewRef:o,init:I,undataItemName:v,hasChanged:(e,t)=>e!==t&&(e==e||t==t),scrollToIndex:(e,t,n)=>{_.callUIFunction(o.value,"scrollToPositionWithOffset",[e,n,t])},updateItem:E,updateItemList:x,hasFocus:e=>{_.callUIFunction(o.value,"hasFocus",(t=>{e(t)}))},updateItemProps:(e,t,n)=>{_.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},setListData:F,insertItem:L,addListData:S,addListDataWithParams:y,dispatchItemFunction:(e,t,n,a)=>{_.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},deleteItem:P,setBlockFocusDirectionsOnFail:e=>{_.callUIFunction(o.value,"setBlockFocusDirectionsOnFail",[e])},setListDataWithParams:(e,t)=>{_.callUIFunction(o.value,"setListDataWithParams",[e,t])},prepareForRecycle:()=>{_.callUIFunction(o.value,"prepareForRecycle",[])},setDisplay:e=>{_.callUIFunction(o.value,"setDisplay",[e])},scrollToTop:()=>{_.callUIFunction(o.value,"scrollToTop",[])},changeDisplayState:(e,t)=>{_.callUIFunction(o.value,"changeDisplayState",[e,t])},notifySaveInstance:()=>{_.callUIFunction(o.value,"notifySaveInstance",[])},notifyRestoreInstance:()=>{_.callUIFunction(o.value,"notifyRestoreInstance",[])},pausePostTask:()=>{_.callUIFunction(o.value,"pausePostTask",[])},resumePostTask:()=>{_.callUIFunction(o.value,"resumePostTask",[])},getScrollOffset:e=>{_.callUIFunction(o.value,"getScrollOffset",[],e)},scrollToPosition:k,scrollToFocused:e=>{k(e),A(e)},scrollToSelected:(e,t)=>{k(e),R(e,t)},scrollToPositionOffset:(e,t,n,a,l)=>{_.callUIFunction(o.value,"scrollToPositionWithOffset",[t,a,n])},destroy:()=>{_.callUIFunction(o.value,"destroy",[])},startScroll:(e,t,n)=>{_.callUIFunction(o.value,"startScroll",[{focusPosition:e,scrollToPosition:t,scrollOffset:n}])},setItemFocused:A,clearPostTask:()=>{_.callUIFunction(o.value,"clearAllPostTask",[])},clearFocus:()=>{_.callUIFunction(o.value,"clearFocus",[])},setItemSelected:R,blockRootFocus:()=>{_.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{_.callUIFunction(o.value,"unBlockRootFocus",[])},setBackgroundColor:e=>{_.callUIFunction(o.value,"setBackgroundColor",[e])},stopPage:()=>{p&&clearTimeout(p),p=setTimeout((()=>{P(a.length,1)}),400),u=!0},setAutoFocus:function(e,t){_.callUIFunction(o.value,"setAutoFocus",[e,t])}}),()=>{const e=n.slots.default&&n.slots.default();return b("FastListView",{ref:o,onItemClick:e=>{n.emit("item-click",e)},onScroll:e=>{n.emit("scroll",e)},onItemFocused:e=>{n.emit("item-focused",e)},onAttachedToWindow:e=>{n.emit("item-attached",e)},onDetachedFromWindow:e=>{n.emit("item-detached",e)},onBindItem:e=>{e.position==a.length-1-t.preloadNo&&(s++,t.loadMore(s)),n.emit("item-bind",e)},onUnbindItem:e=>{n.emit("item-unbind",e)},onLoadMore:e=>{n.emit("load-more",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},onFocusSearchFailed:e=>{n.emit("focus-search-failed",e)},onScrollYGreaterReference:e=>{n.emit("scrollYGreaterReference",e)},onScrollYLesserReference:e=>{n.emit("scrollYLesserReference",e)}},e)}}});t.component("qt-list-view",n)}(t),function(t){const n=i({emits:["item-focused","item-attached","item-detached","item-bind","item-unbind"],setup(t,n){const o=e();return n.expose({viewRef:o,updateItem:(e,t)=>{_.callUIFunction(o.value,"updateItem",[e,t])},dispatchItemFunction:(e,t,n,a)=>{_.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},updateItemProps:(e,t,n)=>{_.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},batch:e=>{_.callUIFunction(o.value,"batch",[e])}}),()=>{const e=n.slots.default&&n.slots.default();return b("FastListView",{ref:o,onBindItem:e=>{n.emit("item-bind",e)},onItemFocused:e=>{n.emit("item-focused",e)},onAttachedToWindow:e=>{n.emit("item-attached",e)},onDetachedFromWindow:e=>{n.emit("item-detached",e)},onItemRecycled:e=>{n.emit("item-unbind",e)}},e)}}});t.component("qt-list-item",n)}(t),function(t){const n=i({name:"WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue"],setup(t,n){const o=e();S((()=>{a(!0),i(!0),r(!0),s(!0),u(!0),c(!0),g(!0),f(!0),d(!0),p(!0),l(1),m(2)}));const a=e=>{_.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},l=e=>{_.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},i=e=>{_.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{_.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{_.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{_.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{_.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{_.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{_.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},p=e=>{_.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},g=e=>{_.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},m=e=>{_.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{_.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>{_.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{}))},canGoBack:()=>{_.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{_.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{_.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{_.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{_.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{_.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{_.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{_.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{_.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{_.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{_.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:l,setJavaScriptCanOpenWindowsAutomatically:i,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{_.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{_.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{_.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{_.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{_.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{_.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{_.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{_.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{_.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{_.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{_.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{_.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{_.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{_.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{_.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{_.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{_.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{_.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:p,setBlockNetworkLoads:e=>{_.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:g,setAppCacheMaxSize:e=>{_.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{_.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:m,setAllowContentAccess:e=>{_.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{_.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{_.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{_.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{_.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{_.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{_.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{_.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{_.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{_.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{_.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{_.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{_.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{_.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{_.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{_.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{_.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{_.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{_.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{_.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))}}),()=>b("ESWebViewComponent",{onPageStarted:e=>{let t=e.url;n.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;n.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;n.emit("onLoadResource",t)},onReceivedSslError:e=>{n.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,o=e.description,a=e.failingUrl;n.emit("onReceivedError",t,o,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;n.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;n.emit("onJs2Vue",t)},ref:o})}});t.component("qt-web-view",n)}(t),function(t){const n=i({name:"X5WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue","onJsRewardCall","onJsFinishGame","onJavascriptReceiveValue"],setup(t,n){const o=e();S((()=>{a(!0),i(!0),r(!0),s(!0),u(!0),c(!0),g(!0),f(!0),d(!0),p(!0),l(1),m(2)}));const a=e=>{_.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},l=e=>{_.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},i=e=>{_.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{_.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{_.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{_.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{_.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{_.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{_.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},p=e=>{_.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},g=e=>{_.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},m=e=>{_.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{_.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>{_.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{n.emit("onJavascriptReceiveValue",e)}))},canGoBack:()=>{_.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{_.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{_.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{_.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{_.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{_.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{_.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{_.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{_.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{_.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{_.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:l,setJavaScriptCanOpenWindowsAutomatically:i,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{_.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{_.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{_.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{_.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{_.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{_.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{_.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{_.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{_.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{_.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{_.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{_.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{_.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{_.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{_.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{_.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{_.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{_.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:p,setBlockNetworkLoads:e=>{_.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:g,setAppCacheMaxSize:e=>{_.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{_.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:m,setAllowContentAccess:e=>{_.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{_.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{_.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{_.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{_.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{_.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{_.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{_.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{_.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{_.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{_.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{_.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{_.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{_.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{_.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{_.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{_.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{_.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{_.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{_.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},initJavaScriptInterface:()=>{_.callUIFunction(o.value,"initJavaScriptInterface",[],(e=>{}))},removeJavaScriptInterface:()=>{_.callUIFunction(o.value,"removeJavaScriptInterface",[],(e=>{}))},initWebViewFocus:(e,t,n)=>{_.callUIFunction(o.value,"initWebViewFocus",[e,t,n],(e=>{}))}}),()=>b("ESX5WebViewComponent",{onPageStarted:e=>{let t=e.url;n.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;n.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;n.emit("onLoadResource",t)},onReceivedSslError:e=>{n.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,o=e.description,a=e.failingUrl;n.emit("onReceivedError",t,o,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;n.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;n.emit("onJs2Vue",t)},onJsRewardCall:e=>{let t=e.jsRewardCallValue;n.emit("onJsRewardCall",t)},onJsFinishGame:e=>{let t=e.jsFinishGameValue;n.emit("onJsFinishGame",t)},ref:o})}});t.component("qt-x5web-view",n)}(t),function(t){t.component("qt-qr-code",{setup(t,n){const o=e();return()=>b("QrCodeComponent",{ref:o})}})}(t),function(t){const n=i({name:"qt-seek-bar",props:{emitEventDelay:{type:Number,default:100},onProgressChanged:{type:Function,default:null}},emits:["focus","onSeekStart","onSeekStop","onFocusChanged","seek-change"],setup(t,n){const o=e(),a=e(!1),l=e(1),i=e(0),c=e(0),s=e(0),u=e(0);function r(e){1===l.value&&(u.value=e,_.callUIFunction(o.value,"setProgress",[e],(e=>{})))}function d(e){1===l.value&&(s.value=e,_.callUIFunction(o.value,"setMaxProgress",[e],(e=>{})))}return n.expose({viewRef:o,isSeekBarFocused:a,seekBarMode:l,seekCount:i,progressCallBackTime:c,maxProgress:s,progress:u,startSeek:function(e){if(a.value){l.value=2,n.emit("onSeekStart",u.value),i.value+=1;let a=1;i.value>20?a=2:i.value>50?a=4:i.value>100&&(a=6);let r=s.value,d=Math.floor(.01*r*a);if(u.value=u.value+(e?d:-d),u.value>r?u.value=r:u.value<0&&(u.value=0),_.callUIFunction(o.value,"setProgress",[u.value],(e=>{})),t.onProgressChanged){let e=(new Date).getTime();e-c.value>t.emitEventDelay&&(t.onProgressChanged(u.value),c.value=e)}}},stopSeek:function(){i.value=0,l.value=1,n.emit("onSeekStop",u.value)},isFocused:function(){return a.value},resetSeekbar:function(){l.value=1,d(0),r(0)},invalidateSeekBar:function(){_.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){_.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){_.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestFocus:function(){_.callUIFunction(o.value,"requestFocus",[],(e=>{}))},requestLayout:function(){_.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){_.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){_.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){_.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){_.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){_.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:r,setRangeProgress:function(e,t){_.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){_.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){_.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){_.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){_.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){_.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){_.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){_.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){_.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){_.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){_.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){_.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){_.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){_.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){_.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){_.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){_.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){_.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){_.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){_.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){_.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){_.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){_.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){_.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){_.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){_.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){_.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){_.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){_.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){_.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){_.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){_.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){_.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){_.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){_.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){_.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){_.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){_.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){_.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){_.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){_.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){_.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){_.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){_.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){_.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){_.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){_.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){_.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){_.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){_.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){_.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){_.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){_.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){_.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){_.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){_.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){_.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){_.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){_.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){_.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){_.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){_.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){_.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){_.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){_.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){_.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){_.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){_.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){_.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){_.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){_.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){_.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){_.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){_.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){_.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){_.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){_.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){_.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){_.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){_.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){_.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){_.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){_.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){_.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){_.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){_.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){_.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){_.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){_.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){_.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){_.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){_.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){_.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){_.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){_.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){_.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){_.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){_.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){_.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){_.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){_.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){_.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){_.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){_.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){_.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){_.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){_.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){_.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){_.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){_.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){_.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){_.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){_.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){_.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){_.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){_.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){_.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:d}),()=>b("TVSeekBarViewComponent",{ref:o,onFocus:e=>{a.value=e.isFocused,n.emit("onFocusChanged",e)},onSeekBarChange:e=>{n.emit("seek-change",e)}})}});t.component("qt-seek-bar",n)}(t),function(t){const n=rn({name:"qt-progress-bar",setup(t,n){const o=e();return n.expose({invalidateSeekBar:function(){_.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){_.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){_.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestFocus:function(){_.callUIFunction(o.value,"requestFocus",[],(e=>{}))},requestLayout:function(){_.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){_.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){_.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){_.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){_.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){_.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:function(e){_.callUIFunction(o.value,"setProgress",[e],(e=>{}))},setRangeProgress:function(e,t){_.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){_.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){_.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){_.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){_.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){_.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){_.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){_.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){_.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){_.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){_.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){_.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){_.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){_.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){_.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){_.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){_.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){_.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){_.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){_.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){_.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){_.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){_.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){_.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){_.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){_.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){_.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){_.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){_.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){_.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){_.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){_.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){_.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){_.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){_.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){_.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){_.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){_.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){_.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){_.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){_.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){_.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){_.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){_.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){_.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){_.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){_.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){_.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){_.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){_.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){_.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){_.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){_.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){_.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){_.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){_.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){_.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){_.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){_.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){_.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){_.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){_.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){_.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){_.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){_.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){_.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){_.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){_.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){_.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){_.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){_.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){_.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){_.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){_.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){_.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){_.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){_.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){_.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){_.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){_.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){_.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){_.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){_.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){_.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){_.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){_.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){_.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){_.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){_.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){_.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){_.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){_.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){_.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){_.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){_.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){_.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){_.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){_.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){_.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){_.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){_.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){_.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){_.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){_.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){_.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){_.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){_.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){_.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){_.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){_.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){_.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){_.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){_.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){_.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){_.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){_.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){_.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:function(e){_.callUIFunction(o.value,"setMaxProgress",[e],(e=>{}))}}),()=>b("TVProgressBarViewComponent",{ref:o,onFocusChange:e=>{n.emit("focus",e)},onSeekBarChange:e=>{n.emit("seek-change",e)}})}});t.component("qt-progress-bar",n)}(t),function(t){const n=i({emits:["onAnimationEnd","onAnimationCancel","onAnimationStart","onAnimationRepeat","onAnimationPause","onAnimationResume","onAnimationUpdate"],setup(t,n){const o=e();return n.expose({setPivotX:function(e){_.callUIFunction(o.value,"setPivotX",[e],(e=>{}))},setPivotY:function(e){_.callUIFunction(o.value,"setPivotY",[e],(e=>{}))},resetPivot:function(){_.callUIFunction(o.value,"resetPivot",[],(e=>{}))},resetAnimators:function(){_.callUIFunction(o.value,"resetAnimators",[],(e=>{}))},animatorSet:function(e,t,n){_.callUIFunction(o.value,"animatorSet",[e,t,n],(e=>{}))},startAnimator:function(e){_.callUIFunction(o.value,"startAnimator",[e],(e=>{}))},startAnimatorDelay:function(e,t){_.callUIFunction(o.value,"startAnimatorDelay",[e,t],(e=>{}))},pauseAnimator:function(e){_.callUIFunction(o.value,"pauseAnimator",[e],(e=>{}))},resumeAnimator:function(e){_.callUIFunction(o.value,"resumeAnimator",[e],(e=>{}))},cancelAnimator:function(e){_.callUIFunction(o.value,"cancelAnimator",[e],(e=>{}))},reverseAnimator:function(e){_.callUIFunction(o.value,"reverseAnimator",[e],(e=>{}))},play:function(e,t){_.callUIFunction(o.value,"play",[e,t],(e=>{}))},playWith:function(e,t){_.callUIFunction(o.value,"with",[e,t],(e=>{}))},playBefore:function(e,t){_.callUIFunction(o.value,"before",[e,t],(e=>{}))},playAfter:function(e,t){_.callUIFunction(o.value,"after",[e,t],(e=>{}))},playAfterDelay:function(e,t){_.callUIFunction(o.value,"afterDelay",[e,t],(e=>{}))},playSequentially1:function(e,t){_.callUIFunction(o.value,"playSequentially1",[e,t],(e=>{}))},playSequentially2:function(e,t,n){_.callUIFunction(o.value,"playSequentially2",[e,t,n],(e=>{}))},playSequentially3:function(e,t,n,a){_.callUIFunction(o.value,"playSequentially3",[e,t,n,a],(e=>{}))},playSequentially4:function(e,t,n,a,l){_.callUIFunction(o.value,"playSequentially4",[e,t,n,a,l],(e=>{}))},playSequentially5:function(e,t,n,a,l,i){_.callUIFunction(o.value,"playSequentially5",[e,t,n,a,l,i],(e=>{}))},playTogether1:function(e,t){_.callUIFunction(o.value,"playTogether1",[e,t],(e=>{}))},playTogether2:function(e,t,n){_.callUIFunction(o.value,"playTogether2",[e,t,n],(e=>{}))},playTogether3:function(e,t,n,a){_.callUIFunction(o.value,"playTogether3",[e,t,n,a],(e=>{}))},playTogether4:function(e,t,n,a,l){_.callUIFunction(o.value,"playTogether4",[e,t,n,a,l],(e=>{}))},playTogether5:function(e,t,n,a,l,i){_.callUIFunction(o.value,"playTogether5",[e,t,n,a,l,i],(e=>{}))},objectAnimator:function(e,t,n,a,l,i,c,s,u){_.callUIFunction(o.value,"objectAnimator",[e,t,n,a,l,i,c,s,u],(e=>{}))},objectAnimator1:function(e,t,n,a,l,i,c,s,u,r){_.callUIFunction(o.value,"objectAnimator1",[e,t,n,a,l,i,c,s,u,r],(e=>{}))},objectAnimator2:function(e,t,n,a,l,i,c,s,u,r,d){_.callUIFunction(o.value,"objectAnimator2",[e,t,n,a,l,i,c,s,u,r,d],(e=>{}))},objectAnimator3:function(e,t,n,a,l,i,c,s,u,r,d,f){_.callUIFunction(o.value,"objectAnimator3",[e,t,n,a,l,i,c,s,u,r,d,f],(e=>{}))},objectAnimator4:function(e,t,n,a,l,i,c,s,u,r,d,f,p){_.callUIFunction(o.value,"objectAnimator4",[e,t,n,a,l,i,c,s,u,r,d,f,p],(e=>{}))},objectAnimator5:function(e,t,n,a,l,i,c,s,u,r,d,f,p,g){_.callUIFunction(o.value,"objectAnimator5",[e,t,n,a,l,i,c,s,u,r,d,f,p,g],(e=>{}))},objectAnimator6:function(e,t,n,a,l,i,c,s,u,r,d,f,p,g,m){_.callUIFunction(o.value,"objectAnimator6",[e,t,n,a,l,i,c,s,u,r,d,f,p,g,m],(e=>{}))},objectAnimator7:function(e,t,n,a,l,i,c,s,u,r,d,f,p,g,m,I){_.callUIFunction(o.value,"objectAnimator7",[e,t,n,a,l,i,c,s,u,r,d,f,p,g,m,I],(e=>{}))},objectAnimator8:function(e,t,n,a,l,i,c,s,u,r,d,f,p,g,m,I,v){_.callUIFunction(o.value,"objectAnimator8",[e,t,n,a,l,i,c,s,u,r,d,f,p,g,m,I,v],(e=>{}))},objectAnimator9:function(e,t,n,a,l,i,c,s,u,r,d,f,p,g,m,I,v,h){_.callUIFunction(o.value,"objectAnimator9",[e,t,n,a,l,i,c,s,u,r,d,f,p,g,m,I,v,h],(e=>{}))},objectAnimator10:function(e,t,n,a,l,i,c,s,u,r,d,f,p,g,m,I,v,h,T){_.callUIFunction(o.value,"objectAnimator10",[e,t,n,a,l,i,c,s,u,r,d,f,p,g,m,I,v,h,T],(e=>{}))}}),()=>{const e=n.slots.default&&n.slots.default();return b("AnimationViewComponent",{ref:o,onAnimationCancel:e=>{let t=e.animationId;n.emit("onAnimationCancel",t)},onAnimationEnd:e=>{let t=e.animationId,o=e.isReverse;n.emit("onAnimationEnd",t,o)},onAnimationRepeat:e=>{let t=e.animationId;n.emit("onAnimationRepeat",t)},onAnimationStart:e=>{let t=e.animationId,o=e.isReverse;n.emit("onAnimationStart",t,o)},onAnimationPause:e=>{let t=e.animationId;n.emit("onAnimationPause",t)},onAnimationResume:e=>{let t=e.animationId;n.emit("onAnimationResume",t)},onAnimationUpdate:e=>{let t=e.animationId,o=e.animatedValue;n.emit("onAnimationUpdate",t,o)}},e)}}});t.component("qt-animation",n)}(t),function(t){t.component("qt-dialog",{setup(t,n){const o=e();return()=>b("Modal",{ref:o})}})}(t);for(let e in Pa)t.component(Pa[e].name,Pa[e])};export{Sa as QTAnimationInterpolatorType,_a as QTAnimationPropertyName,ya as QTAnimationRepeatMode,Ua as QTAnimationValueType,ha as QTDirections,Fa as QTNavBarItemType,Ta as QTScrollState,ba as QTTabItemType,ta as QTTabPageState,Ao as QTWaterfallItemType,ko as QTWaterfallSectionType,Ea as QuickTVUI,fo as arrangeChildren4ListView};
|
|
1
|
+
import{ref as e,openBlock as t,createElementBlock as n,renderSlot as o,resolveComponent as a,createBlock as l,defineComponent as i,normalizeStyle as c,normalizeClass as s,createCommentVNode as u,toDisplayString as r,watchEffect as d,onBeforeUnmount as f,withCtx as p,Fragment as g,createVNode as I,createElementVNode as m,pushScopeId as v,popScopeId as h,reactive as T,watch as F,h as b,onMounted as S}from"vue";import{Native as _}from"@extscreen/es3-vue";import{useESToast as y,useES as U,useESLog as E,ESLogLevel as P}from"@extscreen/es3-core";function L(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const x="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const R=()=>{},A=/^on[^a-z]/,k=e=>A.test(e),C=Object.assign,w=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},D=Object.prototype.hasOwnProperty,N=(e,t)=>D.call(e,t),O=Array.isArray,B=e=>"[object Map]"===Q(e),M=e=>"[object Set]"===Q(e),$=e=>"function"==typeof e,V=e=>"string"==typeof e,z=e=>"symbol"==typeof e,W=e=>null!==e&&"object"==typeof e,q=e=>(W(e)||$(e))&&$(e.then)&&$(e.catch),G=Object.prototype.toString,Q=e=>G.call(e),j=e=>Q(e).slice(8,-1),H=e=>"[object Object]"===Q(e),Y=e=>V(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,X=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.charAt(0).toUpperCase()+e.slice(1))),J=(e,t)=>!Object.is(e,t),Z=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let K;const ee=()=>K||(K="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function te(e){if(O(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],a=V(o)?le(o):te(o);if(a)for(const e in a)t[e]=a[e]}return t}if(V(e)||W(e))return e}const ne=/;(?![^(]*\))/g,oe=/:([^]+)/,ae=/\/\*[^]*?\*\//g;function le(e){const t={};return e.replace(ae,"").split(ne).forEach((e=>{if(e){const n=e.split(oe);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function ie(e){let t="";if(V(e))t=e;else if(O(e))for(let n=0;n<e.length;n++){const o=ie(e[n]);o&&(t+=o+" ")}else if(W(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ce(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let se;const ue=e=>{const t=new Set(e);return t.w=0,t.n=0,t},re=e=>(e.w&ge)>0,de=e=>(e.n&ge)>0,fe=new WeakMap;let pe=0,ge=1;const Ie=30;let me;const ve=Symbol("production"!==process.env.NODE_ENV?"iterate":""),he=Symbol("production"!==process.env.NODE_ENV?"Map key iterate":"");class Te{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=se){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=me,t=be;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=me,me=this,be=!0,ge=1<<++pe,pe<=Ie?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ge})(this):Fe(this),this.fn()}finally{pe<=Ie&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const a=t[o];re(a)&&!de(a)?a.delete(e):t[n++]=a,a.w&=~ge,a.n&=~ge}t.length=n}})(this),ge=1<<--pe,me=this.parent,be=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){me===this?this.deferStop=!0:this.active&&(Fe(this),this.onStop&&this.onStop(),this.active=!1)}}function Fe(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let be=!0;const Se=[];function _e(){Se.push(be),be=!1}function ye(){const e=Se.pop();be=void 0===e||e}function Ue(e,t,n){if(be&&me){let o=fe.get(e);o||fe.set(e,o=new Map);let a=o.get(n);a||o.set(n,a=ue());!function(e,t){let n=!1;pe<=Ie?de(e)||(e.n|=ge,n=!re(e)):n=!e.has(me);n&&(e.add(me),me.deps.push(e),"production"!==process.env.NODE_ENV&&me.onTrack&&me.onTrack(C({effect:me},t)))}(a,"production"!==process.env.NODE_ENV?{effect:me,target:e,type:t,key:n}:void 0)}}function Ee(e,t,n,o,a,l){const i=fe.get(e);if(!i)return;let c=[];if("clear"===t)c=[...i.values()];else if("length"===n&&O(e)){const e=Number(o);i.forEach(((t,n)=>{("length"===n||!z(n)&&n>=e)&&c.push(t)}))}else switch(void 0!==n&&c.push(i.get(n)),t){case"add":O(e)?Y(n)&&c.push(i.get("length")):(c.push(i.get(ve)),B(e)&&c.push(i.get(he)));break;case"delete":O(e)||(c.push(i.get(ve)),B(e)&&c.push(i.get(he)));break;case"set":B(e)&&c.push(i.get(ve))}const s="production"!==process.env.NODE_ENV?{target:e,type:t,key:n,newValue:o,oldValue:a,oldTarget:l}:void 0;if(1===c.length)c[0]&&("production"!==process.env.NODE_ENV?Pe(c[0],s):Pe(c[0]));else{const e=[];for(const t of c)t&&e.push(...t);"production"!==process.env.NODE_ENV?Pe(ue(e),s):Pe(ue(e))}}function Pe(e,t){const n=O(e)?e:[...e];for(const e of n)e.computed&&Le(e,t);for(const e of n)e.computed||Le(e,t)}function Le(e,t){(e!==me||e.allowRecurse)&&("production"!==process.env.NODE_ENV&&e.onTrigger&&e.onTrigger(C({effect:e},t)),e.scheduler?e.scheduler():e.run())}const xe=L("__proto__,__v_isRef,__isVue"),Re=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(z)),Ae=ke();function ke(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Ft(this);for(let e=0,t=this.length;e<t;e++)Ue(n,"get",e+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(Ft)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){_e();const n=Ft(this)[t].apply(this,e);return ye(),n}})),e}function Ce(e){const t=Ft(this);return Ue(t,"has",e),t.hasOwnProperty(e)}class we{constructor(e=!1,t=!1){this._isReadonly=e,this._shallow=t}get(e,t,n){const o=this._isReadonly,a=this._shallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return a;if("__v_raw"===t&&n===(o?a?dt:rt:a?ut:st).get(e))return e;const l=O(e);if(!o){if(l&&N(Ae,t))return Reflect.get(Ae,t,n);if("hasOwnProperty"===t)return Ce}const i=Reflect.get(e,t,n);return(z(t)?Re.has(t):xe(t))?i:(o||Ue(e,"get",t),a?i:_t(i)?l&&Y(t)?i:i.value:W(i)?o?pt(i):ft(i):i)}}class De extends we{constructor(e=!1){super(!1,e)}set(e,t,n,o){let a=e[t];if(vt(a)&&_t(a)&&!_t(n))return!1;if(!this._shallow&&(ht(n)||vt(n)||(a=Ft(a),n=Ft(n)),!O(e)&&_t(a)&&!_t(n)))return a.value=n,!0;const l=O(e)&&Y(t)?Number(t)<e.length:N(e,t),i=Reflect.set(e,t,n,o);return e===Ft(o)&&(l?J(n,a)&&Ee(e,"set",t,n,a):Ee(e,"add",t,n)),i}deleteProperty(e,t){const n=N(e,t),o=e[t],a=Reflect.deleteProperty(e,t);return a&&n&&Ee(e,"delete",t,void 0,o),a}has(e,t){const n=Reflect.has(e,t);return z(t)&&Re.has(t)||Ue(e,"has",t),n}ownKeys(e){return Ue(e,"iterate",O(e)?"length":ve),Reflect.ownKeys(e)}}class Ne extends we{constructor(e=!1){super(!0,e)}set(e,t){return"production"!==process.env.NODE_ENV&&ce(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0}deleteProperty(e,t){return"production"!==process.env.NODE_ENV&&ce(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}}const Oe=new De,Be=new Ne,Me=new Ne(!0),$e=e=>e,Ve=e=>Reflect.getPrototypeOf(e);function ze(e,t,n=!1,o=!1){const a=Ft(e=e.__v_raw),l=Ft(t);n||(J(t,l)&&Ue(a,"get",t),Ue(a,"get",l));const{has:i}=Ve(a),c=o?$e:n?St:bt;return i.call(a,t)?c(e.get(t)):i.call(a,l)?c(e.get(l)):void(e!==a&&e.get(t))}function We(e,t=!1){const n=this.__v_raw,o=Ft(n),a=Ft(e);return t||(J(e,a)&&Ue(o,"has",e),Ue(o,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function qe(e,t=!1){return e=e.__v_raw,!t&&Ue(Ft(e),"iterate",ve),Reflect.get(e,"size",e)}function Ge(e){e=Ft(e);const t=Ft(this);return Ve(t).has.call(t,e)||(t.add(e),Ee(t,"add",e,e)),this}function Qe(e,t){t=Ft(t);const n=Ft(this),{has:o,get:a}=Ve(n);let l=o.call(n,e);l?"production"!==process.env.NODE_ENV&&ct(n,o,e):(e=Ft(e),l=o.call(n,e));const i=a.call(n,e);return n.set(e,t),l?J(t,i)&&Ee(n,"set",e,t,i):Ee(n,"add",e,t),this}function je(e){const t=Ft(this),{has:n,get:o}=Ve(t);let a=n.call(t,e);a?"production"!==process.env.NODE_ENV&&ct(t,n,e):(e=Ft(e),a=n.call(t,e));const l=o?o.call(t,e):void 0,i=t.delete(e);return a&&Ee(t,"delete",e,void 0,l),i}function He(){const e=Ft(this),t=0!==e.size,n="production"!==process.env.NODE_ENV?B(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&Ee(e,"clear",void 0,void 0,n),o}function Ye(e,t){return function(n,o){const a=this,l=a.__v_raw,i=Ft(l),c=t?$e:e?St:bt;return!e&&Ue(i,"iterate",ve),l.forEach(((e,t)=>n.call(o,c(e),c(t),a)))}}function Xe(e,t,n){return function(...o){const a=this.__v_raw,l=Ft(a),i=B(l),c="entries"===e||e===Symbol.iterator&&i,s="keys"===e&&i,u=a[e](...o),r=n?$e:t?St:bt;return!t&&Ue(l,"iterate",s?he:ve),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[r(e[0]),r(e[1])]:r(e),done:t}},[Symbol.iterator](){return this}}}}function Je(e){return function(...t){if("production"!==process.env.NODE_ENV){const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${X(e)} operation ${n}failed: target is readonly.`,Ft(this))}return"delete"!==e&&this}}function Ze(){const e={get(e){return ze(this,e)},get size(){return qe(this)},has:We,add:Ge,set:Qe,delete:je,clear:He,forEach:Ye(!1,!1)},t={get(e){return ze(this,e,!1,!0)},get size(){return qe(this)},has:We,add:Ge,set:Qe,delete:je,clear:He,forEach:Ye(!1,!0)},n={get(e){return ze(this,e,!0)},get size(){return qe(this,!0)},has(e){return We.call(this,e,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:Ye(!0,!1)},o={get(e){return ze(this,e,!0,!0)},get size(){return qe(this,!0)},has(e){return We.call(this,e,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:Ye(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((a=>{e[a]=Xe(a,!1,!1),n[a]=Xe(a,!0,!1),t[a]=Xe(a,!1,!0),o[a]=Xe(a,!0,!0)})),[e,n,t,o]}const[Ke,et,tt,nt]=Ze();function ot(e,t){const n=t?e?nt:tt:e?et:Ke;return(t,o,a)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(N(n,o)&&o in t?n:t,o,a)}const at={get:ot(!1,!1)},lt={get:ot(!0,!1)},it={get:ot(!0,!0)};function ct(e,t,n){const o=Ft(n);if(o!==n&&t.call(e,o)){const t=j(e);console.warn(`Reactive ${t} contains both the raw and reactive versions of the same object${"Map"===t?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const st=new WeakMap,ut=new WeakMap,rt=new WeakMap,dt=new WeakMap;function ft(e){return vt(e)?e:It(e,!1,Oe,at,st)}function pt(e){return It(e,!0,Be,lt,rt)}function gt(e){return It(e,!0,Me,it,dt)}function It(e,t,n,o,a){if(!W(e))return"production"!==process.env.NODE_ENV&&console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const l=a.get(e);if(l)return l;const i=(c=e).__v_skip||!Object.isExtensible(c)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(j(c));var c;if(0===i)return e;const s=new Proxy(e,2===i?o:n);return a.set(e,s),s}function mt(e){return vt(e)?mt(e.__v_raw):!(!e||!e.__v_isReactive)}function vt(e){return!(!e||!e.__v_isReadonly)}function ht(e){return!(!e||!e.__v_isShallow)}function Tt(e){return mt(e)||vt(e)}function Ft(e){const t=e&&e.__v_raw;return t?Ft(t):e}const bt=e=>W(e)?ft(e):e,St=e=>W(e)?pt(e):e;function _t(e){return!(!e||!0!==e.__v_isRef)}const yt={get:(e,t,n)=>{return _t(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const a=e[t];return _t(a)&&!_t(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};const Ut=[];function Et(e,...t){if("production"===process.env.NODE_ENV)return;_e();const n=Ut.length?Ut[Ut.length-1].component:null,o=n&&n.appContext.config.warnHandler,a=function(){let e=Ut[Ut.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)Rt(o,n,11,[e+t.join(""),n&&n.proxy,a.map((({vnode:e})=>`at <${jn(n,e.type)}>`)).join("\n"),a]);else{const n=[`[Vue warn]: ${e}`,...t];a.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=!!e.component&&null==e.component.parent,a=` at <${jn(e.component,e.type,o)}`,l=">"+n;return e.props?[a,...Pt(e.props),l]:[a+l]}(e))})),t}(a)),console.warn(...n)}ye()}function Pt(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...Lt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function Lt(e,t,n){return V(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:_t(t)?(t=Lt(e,Ft(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):$(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Ft(t),n?t:[`${e}=`,t])}const xt={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function Rt(e,t,n,o){let a;try{a=o?e(...o):e()}catch(e){kt(e,t,n)}return a}function At(e,t,n,o){if($(e)){const a=Rt(e,t,n,o);return a&&q(a)&&a.catch((e=>{kt(e,t,n)})),a}const a=[];for(let l=0;l<e.length;l++)a.push(At(e[l],t,n,o));return a}function kt(e,t,n,o=!0){const a=t?t.vnode:null;if(t){let o=t.parent;const a=t.proxy,l="production"!==process.env.NODE_ENV?xt[n]:n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,a,l))return;o=o.parent}const i=t.appContext.config.errorHandler;if(i)return void Rt(i,null,10,[e,a,l])}!function(e,t,n,o=!0){if("production"!==process.env.NODE_ENV){const l=xt[t];if(n&&(a=n,Ut.push(a)),Et("Unhandled error"+(l?` during execution of ${l}`:"")),n&&Ut.pop(),o)throw e;console.error(e)}else console.error(e);var a}(e,n,a,o)}let Ct=!1,wt=!1;const Dt=[];let Nt=0;const Ot=[];let Bt=null,Mt=0;const $t=Promise.resolve();let Vt=null;const zt=100;function Wt(e){const t=Vt||$t;return e?t.then(this?e.bind(this):e):t}function qt(e){Dt.length&&Dt.includes(e,Ct&&e.allowRecurse?Nt+1:Nt)||(null==e.id?Dt.push(e):Dt.splice(function(e){let t=Nt+1,n=Dt.length;for(;t<n;){const o=t+n>>>1,a=Dt[o],l=jt(a);l<e||l===e&&a.pre?t=o+1:n=o}return t}(e.id),0,e),Gt())}function Gt(){Ct||wt||(wt=!0,Vt=$t.then(Yt))}function Qt(e){O(e)?Ot.push(...e):Bt&&Bt.includes(e,e.allowRecurse?Mt+1:Mt)||Ot.push(e),Gt()}const jt=e=>null==e.id?1/0:e.id,Ht=(e,t)=>{const n=jt(e)-jt(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Yt(e){wt=!1,Ct=!0,"production"!==process.env.NODE_ENV&&(e=e||new Map),Dt.sort(Ht);const t="production"!==process.env.NODE_ENV?t=>Xt(e,t):R;try{for(Nt=0;Nt<Dt.length;Nt++){const e=Dt[Nt];if(e&&!1!==e.active){if("production"!==process.env.NODE_ENV&&t(e))continue;Rt(e,null,14)}}}finally{Nt=0,Dt.length=0,function(e){if(Ot.length){const t=[...new Set(Ot)];if(Ot.length=0,Bt)return void Bt.push(...t);for(Bt=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),Bt.sort(((e,t)=>jt(e)-jt(t))),Mt=0;Mt<Bt.length;Mt++)"production"!==process.env.NODE_ENV&&Xt(e,Bt[Mt])||Bt[Mt]();Bt=null,Mt=0}}(e),Ct=!1,Vt=null,(Dt.length||Ot.length)&&Yt(e)}}function Xt(e,t){if(e.has(t)){const n=e.get(t);if(n>zt){const e=t.ownerInstance,n=e&&Qn(e.type);return Et(`Maximum recursive updates exceeded${n?` in component <${n}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}e.set(t,n+1)}else e.set(t,1)}const Jt=new Set;"production"!==process.env.NODE_ENV&&(ee().__VUE_HMR_RUNTIME__={createRecord:tn((function(e,t){if(Zt.has(e))return!1;return Zt.set(e,{initialDef:Kt(t),instances:new Set}),!0})),rerender:tn((function(e,t){const n=Zt.get(e);if(!n)return;n.initialDef.render=t,[...n.instances].forEach((e=>{t&&(e.render=t,Kt(e.type).render=t),e.renderCache=[],e.update()}))})),reload:tn((function(e,t){const n=Zt.get(e);if(!n)return;t=Kt(t),en(n.initialDef,t);const o=[...n.instances];for(const e of o){const o=Kt(e.type);Jt.has(o)||(o!==n.initialDef&&en(o,t),Jt.add(o)),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(Jt.add(o),e.ceReload(t.styles),Jt.delete(o)):e.parent?qt(e.parent.update):e.appContext.reload?e.appContext.reload():"undefined"!=typeof window?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Qt((()=>{for(const e of o)Jt.delete(Kt(e.type))}))}))});const Zt=new Map;function Kt(e){return Hn(e)?e.__vccOpts:e}function en(e,t){C(e,t);for(const n in e)"__file"===n||n in t||delete e[n]}function tn(e){return(t,n)=>{try{return e(t,n)}catch(e){console.error(e),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let nn=null,on=null;const an=Symbol.for("v-ndc");const ln={};function cn(e,t,{immediate:n,deep:o,flush:a,onTrack:l,onTrigger:i}=x){var c;"production"===process.env.NODE_ENV||t||(void 0!==n&&Et('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&Et('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const s=e=>{Et("Invalid watch source: ",e,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=se===(null==(c=$n)?void 0:c.scope)?$n:null;let r,d,f=!1,p=!1;if(_t(e)?(r=()=>e.value,f=ht(e)):mt(e)?(r=()=>e,o=!0):O(e)?(p=!0,f=e.some((e=>mt(e)||ht(e))),r=()=>e.map((e=>_t(e)?e.value:mt(e)?un(e):$(e)?Rt(e,u,2):void("production"!==process.env.NODE_ENV&&s(e))))):$(e)?r=t?()=>Rt(e,u,2):()=>{if(!u||!u.isUnmounted)return d&&d(),At(e,u,3,[g])}:(r=R,"production"!==process.env.NODE_ENV&&s(e)),t&&o){const e=r;r=()=>un(e())}let g=e=>{d=h.onStop=()=>{Rt(e,u,4)}},I=p?new Array(e.length).fill(ln):ln;const m=()=>{if(h.active)if(t){const e=h.run();(o||f||(p?e.some(((e,t)=>J(e,I[t]))):J(e,I)))&&(d&&d(),At(t,u,3,[e,I===ln?void 0:p&&I[0]===ln?[]:I,g]),I=e)}else h.run()};let v;m.allowRecurse=!!t,"sync"===a?v=m:"post"===a?v=()=>yn(m,u&&u.suspense):(m.pre=!0,u&&(m.id=u.uid),v=()=>qt(m));const h=new Te(r,v);"production"!==process.env.NODE_ENV&&(h.onTrack=l,h.onTrigger=i),t?n?m():I=h.run():"post"===a?yn(h.run.bind(h),u&&u.suspense):h.run();return()=>{h.stop(),u&&u.scope&&w(u.scope.effects,h)}}function sn(e,t,n){const o=this.proxy,a=V(e)?e.includes(".")?function(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}(o,e):()=>o[e]:e.bind(o,o);let l;$(t)?l=t:(l=t.handler,n=t);const i=$n;zn(this);const c=cn(a,l.bind(o),n);return i?zn(i):Wn(),c}function un(e,t){if(!W(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),_t(e))un(e.value,t);else if(O(e))for(let n=0;n<e.length;n++)un(e[n],t);else if(M(e)||B(e))e.forEach((e=>{un(e,t)}));else if(H(e))for(const n in e)un(e[n],t);return e}
|
|
2
|
+
/*! #__NO_SIDE_EFFECTS__ */function rn(e,t){return $(e)?(()=>C({name:e.name},t,{setup:e}))():e}const dn=e=>e?4&e.vnode.shapeFlag?function(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((n=e.exposed,Z(n,"__v_skip",!0),mt(t=n)?t:new Proxy(t,yt)),{get:(t,n)=>n in t?t[n]:n in fn?fn[n](e):void 0,has:(e,t)=>t in e||t in fn}));var t;var n}(e)||e.proxy:dn(e.parent):null,fn=C(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?gt(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?gt(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?gt(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?gt(e.refs):e.refs,$parent:e=>dn(e.parent),$root:e=>dn(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?function(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:a,optionsCache:l,config:{optionMergeStrategies:i}}=e.appContext,c=l.get(t);let s;c?s=c:a.length||n||o?(s={},a.length&&a.forEach((e=>vn(s,e,i,!0))),vn(s,t,i)):s=t;W(t)&&l.set(t,s);return s}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>qt(e.update)),$nextTick:e=>e.n||(e.n=Wt.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?sn.bind(e):R}),pn=(e,t)=>e!==x&&!e.__isScriptSetup&&N(e,t),gn={get({_:e},t){const{ctx:n,setupState:o,data:a,props:l,accessCache:i,type:c,appContext:s}=e;if("production"!==process.env.NODE_ENV&&"__isVue"===t)return!0;let u;if("$"!==t[0]){const c=i[t];if(void 0!==c)switch(c){case 1:return o[t];case 2:return a[t];case 4:return n[t];case 3:return l[t]}else{if(pn(o,t))return i[t]=1,o[t];if(a!==x&&N(a,t))return i[t]=2,a[t];if((u=e.propsOptions[0])&&N(u,t))return i[t]=3,l[t];if(n!==x&&N(n,t))return i[t]=4,n[t];__VUE_OPTIONS_API__&&!mn||(i[t]=0)}}const r=fn[t];let d,f;return r?("$attrs"===t?(Ue(e,"get",t),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&Ue(e,"get",t),r(e)):(d=c.__cssModules)&&(d=d[t])?d:n!==x&&N(n,t)?(i[t]=4,n[t]):(f=s.config.globalProperties,N(f,t)?f[t]:void("production"===process.env.NODE_ENV||!nn||V(t)&&0===t.indexOf("__v")||(a!==x&&(e=>"_"===e||"$"===e)(t[0])&&N(a,t)?Et(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===nn&&Et(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))))},set({_:e},t,n){const{data:o,setupState:a,ctx:l}=e;return pn(a,t)?(a[t]=n,!0):"production"!==process.env.NODE_ENV&&a.__isScriptSetup&&N(a,t)?(Et(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==x&&N(o,t)?(o[t]=n,!0):N(e.props,t)?("production"!==process.env.NODE_ENV&&Et(`Attempting to mutate prop "${t}". Props are readonly.`),!1):"$"===t[0]&&t.slice(1)in e?("production"!==process.env.NODE_ENV&&Et(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):("production"!==process.env.NODE_ENV&&t in e.appContext.config.globalProperties?Object.defineProperty(l,t,{enumerable:!0,configurable:!0,value:n}):l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:a,propsOptions:l}},i){let c;return!!n[i]||e!==x&&N(e,i)||pn(t,i)||(c=l[0])&&N(c,i)||N(o,i)||N(fn,i)||N(a.config.globalProperties,i)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:N(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function In(e){return O(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}"production"!==process.env.NODE_ENV&&(gn.ownKeys=e=>(Et("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));let mn=!0;function vn(e,t,n,o=!1){const{mixins:a,extends:l}=t;l&&vn(e,l,n,!0),a&&a.forEach((t=>vn(e,t,n,!0)));for(const a in t)if(o&&"expose"===a)"production"!==process.env.NODE_ENV&&Et('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=hn[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const hn={data:Tn,props:_n,emits:_n,methods:Sn,computed:Sn,beforeCreate:bn,created:bn,beforeMount:bn,mounted:bn,beforeUpdate:bn,updated:bn,beforeDestroy:bn,beforeUnmount:bn,destroyed:bn,unmounted:bn,activated:bn,deactivated:bn,errorCaptured:bn,serverPrefetch:bn,components:Sn,directives:Sn,watch:function(e,t){if(!e)return t;if(!t)return e;const n=C(Object.create(null),e);for(const o in t)n[o]=bn(e[o],t[o]);return n},provide:Tn,inject:function(e,t){return Sn(Fn(e),Fn(t))}};function Tn(e,t){return t?e?function(){return C($(e)?e.call(this,this):e,$(t)?t.call(this,this):t)}:t:e}function Fn(e){if(O(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function bn(e,t){return e?[...new Set([].concat(e,t))]:t}function Sn(e,t){return e?C(Object.create(null),e,t):t}function _n(e,t){return e?O(e)&&O(t)?[...new Set([...e,...t])]:C(Object.create(null),In(e),In(null!=t?t:{})):t}const yn=function(e,t){t&&t.pendingBranch?O(e)?t.effects.push(...e):t.effects.push(e):Qt(e)},Un=Symbol.for("v-fgt"),En=Symbol.for("v-txt"),Pn=Symbol.for("v-cmt");let Ln=null;const xn="__vInternal",Rn=({key:e})=>null!=e?e:null,An=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?V(e)||_t(e)||$(e)?{i:nn,r:e,k:t,f:!!n}:e:null);const kn="production"!==process.env.NODE_ENV?(...e)=>Cn(...e):Cn;function Cn(e,t=null,n=null,o=0,a=null,l=!1){if(e&&e!==an||("production"===process.env.NODE_ENV||e||Et(`Invalid vnode type when creating vnode: ${e}.`),e=Pn),(i=e)&&!0===i.__v_isVNode){const o=wn(e,t,!0);return n&&On(o,n),!l&&Ln&&(6&o.shapeFlag?Ln[Ln.indexOf(e)]=o:Ln.push(o)),o.patchFlag|=-2,o}var i;if(Hn(e)&&(e=e.__vccOpts),t){t=function(e){return e?Tt(e)||xn in e?C({},e):e:null}(t);let{class:e,style:n}=t;e&&!V(e)&&(t.class=ie(e)),W(n)&&(Tt(n)&&!O(n)&&(n=C({},n)),t.style=te(n))}const c=V(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:W(e)?4:$(e)?2:0;return"production"!==process.env.NODE_ENV&&4&c&&Tt(e)&&Et("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.","\nComponent that was made reactive: ",e=Ft(e)),function(e,t=null,n=null,o=0,a=null,l=(e===Un?0:1),i=!1,c=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Rn(t),ref:t&&An(t),scopeId:on,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:o,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:nn};return c?(On(s,n),128&l&&e.normalize(s)):n&&(s.shapeFlag|=V(n)?8:16),"production"!==process.env.NODE_ENV&&s.key!=s.key&&Et("VNode created with invalid key (NaN). VNode type:",s.type),!i&&Ln&&(s.patchFlag>0||6&l)&&32!==s.patchFlag&&Ln.push(s),s}(e,t,n,o,a,c,l,!0)}function wn(e,t,n=!1){const{props:o,ref:a,patchFlag:l,children:i}=e,c=t?function(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=ie([t.class,o.class]));else if("style"===e)t.style=te([t.style,o.style]);else if(k(e)){const n=t[e],a=o[e];!a||n===a||O(n)&&n.includes(a)||(t[e]=n?[].concat(n,a):a)}else""!==e&&(t[e]=o[e])}return t}(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Rn(c),ref:t&&t.ref?n&&a?O(a)?a.concat(An(t)):[a,An(t)]:An(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===l&&O(i)?i.map(Dn):i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Un?-1===l?16:16|l:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&wn(e.ssContent),ssFallback:e.ssFallback&&wn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Dn(e){const t=wn(e);return O(e.children)&&(t.children=e.children.map(Dn)),t}function Nn(e=" ",t=0){return kn(En,null,e,t)}function On(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(O(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),On(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||xn in t?3===o&&nn&&(1===nn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=nn}}else $(t)?(t={default:t,_ctx:nn},n=32):(t=String(t),64&o?(n=16,t=[Nn(t)]):n=8);e.children=t,e.shapeFlag|=n}let Bn,Mn,$n=null,Vn="__VUE_INSTANCE_SETTERS__";(Mn=ee()[Vn])||(Mn=ee()[Vn]=[]),Mn.push((e=>$n=e)),Bn=e=>{Mn.length>1?Mn.forEach((t=>t(e))):Mn[0](e)};const zn=e=>{Bn(e),e.scope.on()},Wn=()=>{$n&&$n.scope.off(),Bn(null)};const qn=/(?:^|[-_])(\w)/g,Gn=e=>e.replace(qn,(e=>e.toUpperCase())).replace(/[-_]/g,"");function Qn(e,t=!0){return $(e)?e.displayName||e.name:e.name||t&&e.__name}function jn(e,t,n=!1){let o=Qn(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?Gn(o):n?"App":"Anonymous"}function Hn(e){return $(e)&&"__vccOpts"in e}var Yn=rn({name:"qt-view",emits:["clearFocus"],setup(t,n){const o=e();return{clearFocus:()=>{_.callUIFunction(o.value,"clearFocus")},requestFocus:()=>{_.callUIFunction(o.value,"requestFocus")},requestFocusDirectly:()=>{_.callUIFunction(o.value,"requestFocusDirectly")},viewRef:o}}});const Xn={clipChildren:!1,ref:"viewRef"};Yn.render=function(e,a,l,i,c,s){return t(),n("div",Xn,[o(e.$slots,"default")],512)},Yn.__file="src/view/index.vue";var Jn=rn({name:"qt-text"});Jn.render=function(e,n,o,i,c,s){const u=a("text-view");return t(),l(u)},Jn.__file="src/text/index.vue";var Zn=rn({name:"qt-image"});const Kn={src:"",alt:"",clipChildren:!1};Zn.render=function(e,o,a,l,i,c){return t(),n("img",Kn)},Zn.__file="src/image/index.vue";var eo=rn({name:"qt-column"});const to={class:"qt-ui-row-css",clipChildren:!1};eo.render=function(e,a,l,i,c,s){return t(),n("div",to,[o(e.$slots,"default")])},eo.__scopeId="data-v-734c04b2",eo.__file="src/column/index.vue";var no=rn({name:"qt-row"});const oo={class:"qt-ui-row-css",clipChildren:!1};no.render=function(e,a,l,i,c,s){return t(),n("div",oo,[o(e.$slots,"default")])},no.__scopeId="data-v-9c454b58",no.__file="src/row/index.vue";var ao=i({name:"qt-button",props:{size:{type:String,default:"default"},itemType:{type:Number,default:2e4},focusBorder:{type:Boolean,default:!1},focusScale:{type:Number,default:1.08},focusable:{type:Boolean,default:!0},enableFlexStyle:{type:Boolean,default:!1},icon:{type:String,default:null},focusIcon:{type:String,default:null},text:{type:String,default:""},gradientFocusBackground:{type:Object,default:()=>{}},gradientSelectedBackground:{type:Object,default:()=>null},gradientBackground:{type:Object,default:()=>null},disabled:Boolean,circle:Boolean,round:Boolean,square:Boolean,buttonStyle:Object,textStyle:Object,iconStyle:Object,focusIconStyle:Object,iconParentStyle:Object},emits:["focus","click"],setup(t,n){const o=e(),a=e(!1);return{focused:a,requestFocus:function(){_.callUIFunction(o.value,"requestFocus",[])},requestFocusDirectly:function(){_.callUIFunction(o.value,"requestFocusDirectly",[])},onFocus:function(e){console.log("--------XXXXXXXXXXXXXXXXX--------------\x3e>>",a.value),a.value=e.isFocused,n.emit("focus",e.isFocused)},onClick:function(e){n.emit("click")}}}});const lo=["focusable","enableFocusBorder","focusScale"],io=["gradientBackground"],co=["gradientBackground"],so=["gradientBackground"],uo=["src"],ro=["src"];function fo(e,t,n=!0){let o=e.length;n?e.map(((e,n)=>{n!==o-1&&(e.decoration={bottom:t})})):e.map(((e,n)=>{n!==o-1&&(e.decoration={right:t})}))}ao.render=function(e,i,d,f,p,g){const I=a("text-view");return t(),n("div",{ref:"buttonRef",clipChildren:!1,focusable:e.focusable,enableFocusBorder:e.focusBorder,focusScale:e.focusScale,onClick:i[0]||(i[0]=(...t)=>e.onClick&&e.onClick(...t)),name:"textButton",eventClick:"",eventFocus:"",onFocus:i[1]||(i[1]=(...t)=>e.onFocus&&e.onFocus(...t)),style:c(e.buttonStyle),class:s(["quick-button--default",e.size?"quick-button--"+e.size:"",{"is-disabled-button":e.disabled,"is-circle":e.circle,"is-round":e.round,"is-square":e.square}])},[u(" gradient "),e.gradientFocusBackground?(t(),n("div",{key:0,class:"button-gradient-background-css",gradientBackground:e.gradientFocusBackground,focusable:!1,showOnState:"focused"},null,8,io)):u("v-if",!0),e.gradientSelectedBackground?(t(),n("div",{key:1,class:"button-gradient-background-css",gradientBackground:e.gradientSelectedBackground,focusable:!1,showOnState:"selected"},null,8,co)):u("v-if",!0),e.gradientBackground?(t(),n("div",{key:2,class:"button-gradient-background-css",gradientBackground:e.gradientBackground,focusable:!1,showOnState:"normal"},null,8,so)):u("v-if",!0),u(" -----------------------------icon--------------------------------- "),!e.icon&&!e.focusIcon||e.$slots.default?u("v-if",!0):(t(),n("div",{key:3,duplicateParentState:!0,style:c(e.iconParentStyle),flexStyle:"${iconParentStyle}",class:s(["quick-button-icon-parent",e.size?"quick-button-icon--parent"+e.size:""])},[e.icon&&!e.$slots.default?(t(),n("img",{key:0,style:c(e.iconStyle),flexStyle:"${iconStyle}",duplicateParentState:!0,class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,src:e.enableFlexStyle?"${"+e.icon+"}":e.icon,showOnState:"normal"},null,14,uo)):u("v-if",!0),e.focusIcon&&!e.$slots.default?(t(),n("img",{key:1,style:c(e.focusIconStyle?e.focusIconStyle:e.iconStyle),flexStyle:"${iconStyle}",class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,duplicateParentState:!0,src:e.enableFlexStyle?"${"+e.focusIcon+"}":e.focusIcon,showOnState:"focused"},null,14,ro)):u("v-if",!0)],6)),u(" ------------------------------------------------------------------- "),u(" text "),e.enableFlexStyle?(t(),l(I,{key:4,style:c(e.textStyle),duplicateParentState:"",class:s([e.size?"quick-button-text--"+e.size:"",{"is-disabled-text":e.disabled,"is-square-text":e.square}]),focusable:!1,text:"${"+e.text+"}",autoWidth:"",autoHeight:""},null,8,["style","class","text"])):e.text&&!e.$slots.default?(t(),n("span",{key:5,style:c(e.textStyle),duplicateParentState:"",class:s([e.size?"quick-button-text--"+e.size:"",{"is-disabled-text":e.disabled,"is-square-text":e.square}]),focusable:!1},r(e.text),7)):u("v-if",!0),o(e.$slots,"default")],46,lo)},ao.__scopeId="data-v-46a594e4",ao.__file="src/button/index.vue";const po=e=>e.map(Io),go=e=>{const t=Object.keys(e),n={};return t.forEach((t=>{n[t]=Io(e[t])})),n};function Io(e){return e?"object"!=typeof e?e:Array.isArray(e)?po(e):go(e):e}var mo=i({name:"qt-grid-view",props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},spanCount:{type:Number,default:0},pageSize:{type:Number},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1},areaWidth:{type:Number,default:1200},blockFocusDirections:{type:Array,default:()=>[]}},emits:["item-click","scroll","item-unbind","scroll-state-changed","item-bind","item-focused"],setup(t,n){y(),U();const o=e();let a=e(2.5),l=[],i=[],c=[],s=[],u="",r=-1,p=!1,g=-1,I=-1,m=-1,v=-1;d((()=>{t.openPage&&(r=1,p=!1,t.loadMore(r))}));const h=e=>{0==l.length&&(l=Io(e),i=e,a.value<2.2?(T(),t.openPage&&t.pageSize&&s.length>=t.pageSize/t.spanCount?o.value.setListData(s.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(s)):t.openPage&&t.pageSize&&l.length>=t.pageSize?o.value.setListData(l.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(l),t.defaultFocus>-1&&(m&&clearTimeout(m),m=setTimeout((()=>{b(t.defaultFocus),S(t.defaultFocus)}),800)));let n={get(e,i,d){if("__ob__"!=i&&"symbol"!=typeof i&&"map"!=i&&"length"!=i&&"constructor"!=i&&"_isVue"!=i&&"valueOf"!=i&&"toString"!=i&&"observeArray"!=i&&"dep"!=i&&"notify"!=i&&"subs"!=i&&"slice"!=i)if(c.push(i),-1!=c.indexOf("push"))u="push";else{if(-1!=c.indexOf("splice"))return u="splice",function(...t){if(e.splice(...t),a.value<2.2)if(T(),1==t.length||2==t.length)o.value.setListData(s);else if(0==t[1])o.value.setListData(s);else{let e=-1,n=0,a=0;for(let o=0;o<s.length;o++){const l=s[o];if("1003"==l.type)e++,t[0]==e&&(n=o),t[0]+t[1]-1==e&&(a=o);else for(let i=0;i<l.list.length;i++)l.list[i],e++,t[0]==e&&(n=o),t[0]+t[1]-1==e&&(a=o)}o.value.updateItemList(n,a-n+1,s.slice(n,a+1))}else 1==t.length?o.value.deleteItem(Number(t[0]),l.length-t[0]):2==t.length?o.value.deleteItem(Number(t[0]),t[1]):t.length>2&&(0==t[1]?a.value>2.29&&E(t[0],t.slice(2)):o.value.updateItemList(t[0],t[1],t.slice(2)));return l.splice(t[0],...t.slice(1)),u="",c=[],Reflect.get(e,i,d)};if(-1!=c.indexOf("pop"))return u="pop",function(){return e.pop(),a.value<2.2?(s[s.length-1].list.length<1&&s.pop(),s[s.length-1].list.pop(),o.value.updateItem(Number(s.length-1),s[s.length-1])):o.value.deleteItem(Number(l.length-1),1),l.pop(),u="",c=[],Reflect.get(e,i,d)};if(-1!=c.indexOf("forEach"))return u="forEach",function(n){return e.forEach((e=>{n(e)})),l=[],l=Io(e),a.value<2.2?(T(),t.openPage&&t.pageSize&&s.length>=t.pageSize&&!p?o.value.setListData(s.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(s)):t.openPage&&t.pageSize&&l.length>=t.pageSize&&!p?o.value.setListData(l.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(l),u="",c=[],Reflect.get(e,i,d)};if(-1!=c.indexOf("concat"))return u="concat",function(f){if("[object Array]"===Object.prototype.toString.call(f))if(e=e.concat(f),l=l.concat(f),a.value<2.2){v&&clearTimeout(v);let e=s.length,n=s.slice(s.length-1)[0];T();let a=s.slice(e);t.openPage&&!p?t.pageSize||2!=r?0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):v=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):o.value.setListData(s)}else v=t.openPage&&!p?t.pageSize||2!=r?setTimeout((()=>{o.value.addListDataWithParams(f.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{o.value.addListData(f.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):setTimeout((()=>{o.value.addListData(f)}),300);else console.log("concat:参数类型必须为数组");return u="",c=[],Reflect.get(e,i,d),new Proxy(e,n)};u=""}const f=Reflect.get(e,i,d);return F(f)&&"__ob__"!=i&&"dep"!=i&&"subs"!=i?h(f):(-1==c.indexOf("push")&&(c=[]),f)},set(e,n,d,f){const g=e[n],I=Reflect.set(e,n,d,f);if((!F(g)&&g!==d||F(g))&&"push"!=u)if(c.push(n),l[c[0]]=i[c[0]],a.value<2.2){let e=c[0],t=-1;for(let n=0;n<s.length;n++){const a=s[n];if("1003"==a.type)t++,t==e&&(s[n]=l[c[0]],o.value.updateItem(Number(n),s[n]));else for(let i=0;i<a.list.length;i++)if(a.list[i],t++,t==e){s[n].list[i]=l[c[0]];let e=s[n].list[i];e.decoration&&(e.decoration.top&&(e.decoration.top=0),e.decoration.bottom&&(e.decoration.bottom=0)),o.value.updateItem(Number(n),s[n])}}}else o.value.updateItem(Number(c[0]),i[c[0]]);if(n&&"push"==u&&g!==d)c.push(n),l.push(d);else{if("push"==u&&c.length>1)if(a.value<2.2){v&&clearTimeout(v);let e=s.length,n=s.slice(s.length-1)[0];T();let a=s.slice(e);t.openPage&&!p?t.pageSize||2!=r?0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):v=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):o.value.setListData(s)}else{let e=l.slice(c[1]);v&&clearTimeout(v),v=t.openPage&&!p?t.pageSize||2!=r?setTimeout((()=>{o.value.addListDataWithParams(e.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{o.value.addListData(e.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):setTimeout((()=>{o.value.addListData(e)}),300)}u="",c=[]}return I}};return new Proxy(e,n)},T=()=>{let e=Io(l);s=[];let n=0,o=[];for(let t=0;t<e.length;t++){let n=e[t];if("1003"==n.type)o.push(n);else if(n.decoration.top&&(n.toCompatibleSaveTopVal=n.decoration.top,n.decoration.top=0),n.decoration.bottom&&(n.toCompatibleSaveBottompVal=n.decoration.bottom,n.decoration.bottom=0),o[o.length-1]&&1==o[o.length-1].type)o[o.length-1].list.push(n);else{let e={type:1,list:[]};e.list.push(n),o.push(e)}}for(let e=0;e<o.length;e++){const a=o[e];if("1003"==a.type)s.push(a);else for(let e=0;e<a.list.length;e+=t.spanCount){const o=a.list[e];let l={top:-1,bottom:-1};o.decoration&&(l.top=o.toCompatibleSaveTopVal?o.toCompatibleSaveTopVal:0,l.bottom=o.toCompatibleSaveBottompVal?o.toCompatibleSaveBottompVal:0);const i={type:1,decoration:l,name:"name"+n,list:a.list.slice(e,e+t.spanCount)};n++,s.push(i)}}},F=e=>null!==e&&"object"==typeof e,b=e=>{if(a.value<2.2){let t=-1;for(let n=0;n<s.length;n++){const a=s[n];if("1003"==a.type)t++,t==e&&o.value.scrollToPosition(n);else for(let l=0;l<a.list.length;l++)a.list[l],t++,t==e&&o.value.scrollToPosition(n)}}else o.value.scrollToPosition(e)},S=e=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<s.length;o++){const l=s[o];if("1003"==l.type)t++;else for(let i=0;i<l.list.length;i++)l.list[i],t++,e==t&&(n=o,a=i)}o.value.dispatchItemFunction(n,"tv_list_inner","requestChildFocus",[a])}else o.value.requestFocus(e)},_=(e,t)=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<s.length;o++){const l=s[o];if("1003"==l.type)t++;else for(let i=0;i<l.list.length;i++)l.list[i],t++,e==t&&(n=o,a=i)}o.value.dispatchItemFunction(n,"tv_list_inner","setSelectChildPosition",[a])}else o.value.setSelectPosition(e,t)},E=(e,t)=>{o.value.addItem(e,t)},P=()=>{o.value.destroy()};return f((()=>{l=[],s=[],i.length=0,p=!1,c=[],r=1,p=!1,u="",P(),g&&clearTimeout(g),v&&clearTimeout(v),I&&clearTimeout(I),m&&clearTimeout(m)})),{tv_list:o,apkVersion:a,init:h,onItemClick:e=>{if(a.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const l=s[a];if("1003"==l.type)t++;else for(let i=0;i<l.list.length;i++)t++,n==i&&o==a&&(e.position=t)}}n.emit("item-click",e)},onItemBind:e=>{a.value<2.2?p||e.position!=s.length-1-t.preloadNo/t.spanCount||(r++,t.loadMore(r)):p||e.position!=l.length-1-t.preloadNo||(r++,t.loadMore(r)),n.emit("item-bind",e)},onItemFocused:e=>{if(a.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const l=s[a];if("1003"==l.type)t++;else for(let i=0;i<l.list.length;i++)t++,n==i&&o==a&&(e.position=t)}}n.emit("item-focused",e)},onItemUnbind:e=>{n.emit("item-unbind",e)},onScroll:e=>{n.emit("scroll",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},stopPage:e=>{I&&clearTimeout(I),I=setTimeout((()=>{a.value<2.2?t.pageSize?t.pageSize/t.spanCount<=s.length&&o.value.deleteItem(s.length,1):r>2&&o.value.deleteItem(s.length,1):t.pageSize?t.pageSize<=l.length&&o.value.deleteItem(l.length,1):r>2&&o.value.deleteItem(l.length,1)}),400),p=!0},scrollToTop:()=>{o.value.scrollToTop()},clearFocus:()=>{o.value.clearFocus()},blockRootFocus:()=>{o.value.blockRootFocus()},unBlockRootFocus:()=>{o.value.unBlockRootFocus()},setDisplay:e=>{o.value.setDisplay(e)},scrollToPosition:b,scrollToIndex:(e,t,n)=>{if(a.value<2.2){let a=-1;for(let l=0;l<s.length;l++){const i=s[l];if("1003"==i.type)a++,a==e&&o.value.scrollToIndex(0,l,t,n);else for(let c=0;c<i.list.length;c++)i.list[c],a++,a==e&&o.value.scrollToIndex(0,l,t,n)}}else o.value.scrollToIndex(0,e,t,n)},setItemFocused:S,scrollToFocused:e=>{b(e),S(e)},setItemSelected:_,scrollToSelected:(e,t)=>{b(e),_(e,t)},updateItemProps:(e,t,n)=>{o.value.updateItemProps(e,t,n)},setInitPosition:e=>{o.value.setInitPosition(e)},setListData:e=>{g&&clearTimeout(g),g=setTimeout((()=>{o.value.setListData(e)}),100)},insertItem:E,clearPostTask:()=>{o.value.clearPostTask()},destroy:P}}});mo.render=function(e,i,s,u,r,d){const f=a("tv-list");return t(),l(f,{class:"tv_list",ref:"tv_list",name:"tv_list",spanCount:e.apkVersion<2.2?"":e.spanCount,onItemBind:e.onItemBind,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemUnbind:e.onItemUnbind,onScroll:e.onScroll,onScrollStateChanged:e.onScrollStateChanged,onSetListData:e.setListData,blockFocusDirections:e.blockFocusDirections},{default:p((()=>[e.apkVersion<2.2?(t(),n(g,{key:0},[o(e.$slots,"header"),I(f,{class:"tv_list_inner",ref:"${name}",list:"${list}",name:"tv_list_inner",type:"1",clipChildren:!1,focusable:!1,horizontal:"",style:c({width:e.areaWidth+"px"}),endHintEnabled:!1,blockFocusDirections:e.blockFocusDirections},{default:p((()=>[o(e.$slots,"default")])),_:3},8,["style","blockFocusDirections"]),o(e.$slots,"footer"),o(e.$slots,"loading")],64)):(t(),n(g,{key:1},[o(e.$slots,"header"),o(e.$slots,"default"),o(e.$slots,"footer"),o(e.$slots,"loading")],64))])),_:3},8,["spanCount","onItemBind","onItemClick","onItemFocused","onItemUnbind","onScroll","onScrollStateChanged","onSetListData","blockFocusDirections"])},mo.__file="src/grid-view/index.vue";var vo=rn({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const ho={class:"absoluteFocusTitleRoot",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},To={class:"absoluteFocusMainBgRoot",duplicateParentState:!0,focusable:!1,showIf:"${title.enable}"};vo.render=function(e,o,l,i,c,s){const r=a("text-view");return t(),n("div",ho,[u(" 浮动标题"),I(r,{duplicateParentState:!0,focusable:!1,fontSize:26,ellipsizeMode:2,lines:1,paddingRect:[16,18,0,0],gradientBackground:"${floatTitle.background}",style:{height:"64px",color:"#ffffff"},flexStyle:"${floatTitle.style}",text:"${floatTitle}",showIf:"${floatTitle.enable}",gravity:"left",postDelay:250}),m("div",To,[u(" 主标题 "),I(r,{duplicateParentState:!0,focusable:!1,fontSize:30,ellipsizeMode:2,autoHeight:"",maxLines:2,gravity:"left",paddingRect:[16,8,12,8],style:{"background-color":"transparent",color:"#000000"},flexStyle:"${title.style}",text:"${title.text}"}),u(" 副标题 "),I(r,{duplicateParentState:!0,focusable:!1,fontSize:24,ellipsizeMode:2,lines:1,autoHeight:"",gravity:"left|top",paddingRect:[16,0,0,16],style:{color:"rgba(0,0,0,.4)","background-color":"transparent"},flexStyle:"${subTitle.style}",text:"${subTitle.text}",visibility:"${subTitle}"})])])},vo.__scopeId="data-v-703673b8",vo.__file="src/poster/qt-poster-focus-title.vue";var Fo=rn({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const bo={class:"cornerRoot",focusable:!1};Fo.render=function(e,o,l,i,c,s){const u=a("text-view");return t(),n("div",bo,[I(u,{duplicateParentState:!0,focusable:!1,textSize:e.fontSize,ellipsizeMode:2,lines:1,typeface:"bold",gravity:"center",postDelay:350,style:{color:"white",padding:"4px 8px",height:"36px",margin:"4px"},gradientBackground:"${corner.background}",autoWidth:"",text:"${corner.text}",showIf:"${corner.enable}"},null,8,["textSize"])])},Fo.__scopeId="data-v-4b767ea2",Fo.__file="src/poster/qt-poster-corner-title.vue";var So=rn({name:"qt-poster",components:{"qt-poster-corner-title":Fo,"qt-poster-focus-title":vo},props:{requestFirstFocus:{type:Boolean,default:!1},loadDelay:{type:Number,default:500},type:{type:Number,default:10001},templateKeyMap:{type:Object,default:()=>null},isFocusable:{type:Boolean,default:!0},enableFocusBorder:{type:Boolean,default:!0}},setup:(e,t)=>({mainTextShowOnState:["normal","selected"]})});const _o=["enableFocusBorder"],yo=["showOnState"],Uo={flexStyle:"${floatTitle.style}",class:"qt-ui-poster-title-css",gradientBackground:{colors:["#e5000000","#00000000"],cornerRadii4:[0,0,8,8],orientation:4},duplicateParentState:!0,focusable:!1,showIf:"${floatTitle.enable}"},Eo={flexStyle:"${ripple.style}",class:"qt-ui-poster-ripple-view-root-css",showOnState:"focused",focusable:!1,clipChildren:!1},Po=(e=>(v("data-v-3c4765e9"),e=e(),h(),e))((()=>m("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${true}",delayLoad:800},null,-1)));So.render=function(e,n,i,c,s,r){const d=a("text-view"),f=a("qt-poster-focus-title"),g=a("ripple-view"),v=a("qt-poster-corner-title"),h=a("item-frame");return t(),l(h,{type:e.type,layout:"${layout}",flexStyle:"${style}",focusable:e.isFocusable,eventClick:"",eventFocus:"",name:"poster",class:"qt-ui-poster-root-css",itemShowShimmer:"${shimmer.enable}",hideShadow:"${shadow.enable}",shimmerSize:"${size}"},{default:p((()=>[u("封面"),m("img",{class:"qt-ui-poster-img-css",duplicateParentState:!0,postDelay:300,focusable:!1,enableFocusBorder:e.enableFocusBorder,flexStyle:"${image.style}",src:"${image.src}"},null,8,_o),I(d,{class:"qt-ui-poster-score-css",duplicateParentState:!0,focusable:!1,flexStyle:"${score.style}",textSize:"${score.style.fontSize}",ellipsizeMode:2,lines:1,gravity:"center",postDelay:350,autoWidth:"",text:"${score.text}"}),u(" 焦点选中时的标题 "),I(f,{focusable:!1,showOnState:"focused"}),m("div",{style:{"flex-direction":"column","background-color":"transparent","z-index":"999"},duplicateParentState:!0,focusable:!1,flexStyle:"${titleStyle}",showOnState:e.mainTextShowOnState},[u(" 浮动标题 "),m("div",Uo,[I(d,{duplicateParentState:!0,focusable:!1,textSize:26,ellipsizeMode:2,enablePostTask:"",postDelay:200,lines:1,gravity:"left",style:{"z-index":"999",height:"50px"},flexStyle:"${floatTitle.style}",text:"${floatTitle.text}"})]),u(" 主标题"),I(d,{duplicateParentState:!0,focusable:!1,textSize:30,ellipsizeMode:2,lines:1,postDelay:200,gravity:"left",paddingRect:[16,8,0,0],gradientBackground:"${title.background}",style:{"z-index":"999",height:"60px"},flexStyle:"${title.style}",text:"${title.text}",showIf:"${title.enable}"})],8,yo),m("div",Eo,[I(g,{class:"qt-ui-ripple-view-css",delayLoad:800,focusable:!1,duplicateParentState:!0,color:"#FF4E46",isShowRipple:"${ripple.enable}",rippleVisible:"invisible"}),Po]),I(v,{focusable:!1,flexStyle:"${corner.style}",style:{"z-index":"1000",position:"absolute"}}),o(e.$slots,"default")])),_:3},8,["type","focusable"])},So.__scopeId="data-v-3c4765e9",So.__file="src/poster/index.vue";var Lo=i({name:"qt-nav-bar",props:{textKey:{type:String,default:"text"},itemGap:{type:Number,default:0},horizontal:{type:Boolean,default:!0},initSelect:{type:Number,default:0},size:{type:String,default:"medium"},navs:{type:Array,default:()=>[]}},setup(t,n){const o=e();let a=e("#f5f5f5"),l=T({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),i=-1,c=-1;F((()=>t.navs),(e=>{e.length>0&&s(e)}));const s=e=>{e||(e=[]),e.forEach(((e,n)=>{0!==t.itemGap&&(t.horizontal?e.decoration={right:t.itemGap}:e.decoration={bottom:t.itemGap}),e.type||(e.type=2e4)})),o.value?.setListData(e),clearTimeout(c);let n=t.initSelect;n>-1&&(o.value?.scrollToPosition(n),c=setTimeout((()=>{o.value?.setItemSelected(n,!0),u(n)}),300))},u=e=>{clearTimeout(i),i=setTimeout((()=>{n.emit("tab-select",{position:e})}),300)};return{navList:o,focusColor:a,textColor:l,bgPadding:[10,10],onTabChange:e=>{!0===e.hasFocus&&(n.emit("tab-focus",e),u(e.position))},onTabClick:e=>{n.emit("tab-click",e.item)},scrollToPosition:e=>{o.value?.scrollToPosition(e)},scrollToTop:()=>{o.value?.scrollToTop()},init:e=>{s(e.data)}}}});const xo=["stateTextColor","sateBackgroundPadding"],Ro=["stateTextColor","sateBackgroundPadding"];var Ao,ko;Lo.render=function(e,n,i,s,u,r){const d=a("text-view"),f=a("qt-list-view");return e.horizontal?(t(),l(f,{key:0,ref:"navList",clipChildren:!1,clipPadding:!1,horizontal:"",class:"qt-ui-nav-bar-root-horizontal",onItemClick:e.onTabClick,onItemFocused:e.onTabChange},{default:p((()=>[m("div",{class:"qt-ui-nav-bar-item-css",type:2e4,autoWidth:"",focusable:!0,eventFocus:"",flexStyle:"${style}",clipChildren:!1,style:c({focusBackgroundColor:e.focusColor}),stateTextColor:e.textColor,sateBackgroundPadding:e.bgPadding},[I(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,xo),o(e.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"])):(t(),l(f,{key:1,ref:"navList",clipChildren:!1,clipPadding:!1,class:"qt-ui-nav-bar-root-vertical",onItemClick:e.onTabClick,onItemFocused:e.onTabChange},{default:p((()=>[m("div",{class:"qt-ui-nav-bar-item-css",type:2e4,flexStyle:"${style}",eventFocus:"",autoWidth:"",focusable:!0,stateTextColor:e.textColor,style:c({focusBackgroundColor:e.focusColor}),sateBackgroundPadding:e.bgPadding,clipChildren:!1},[I(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,Ro),o(e.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"]))},Lo.__file="src/nav-bar/index.vue",function(e){e[e.QT_WATERFALL_SECTION_TYPE_LOADING=-1]="QT_WATERFALL_SECTION_TYPE_LOADING",e[e.QT_WATERFALL_SECTION_TYPE_TITLE=1e3]="QT_WATERFALL_SECTION_TYPE_TITLE",e[e.QT_WATERFALL_SECTION_TYPE_FLEX=1002]="QT_WATERFALL_SECTION_TYPE_FLEX",e[e.QT_WATERFALL_SECTION_TYPE_LIST=1003]="QT_WATERFALL_SECTION_TYPE_LIST",e[e.QT_WATERFALL_SECTION_TYPE_TAB=1003]="QT_WATERFALL_SECTION_TYPE_TAB",e[e.QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM=1004]="QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM",e[e.QT_WATERFALL_SECTION_TYPE_TAB_LIST=1005]="QT_WATERFALL_SECTION_TYPE_TAB_LIST",e[e.QT_WATERFALL_SECTION_TYPE_CARD=1006]="QT_WATERFALL_SECTION_TYPE_CARD",e[e.QT_WATERFALL_SECTION_TYPE_VUE=1007]="QT_WATERFALL_SECTION_TYPE_VUE",e[e.QT_WATERFALL_SECTION_TYPE_END=-1001]="QT_WATERFALL_SECTION_TYPE_END",e[e.QT_WATERFALL_SECTION_TYPE_BLANK=-1e3]="QT_WATERFALL_SECTION_TYPE_BLANK"}(Ao||(Ao={})),function(e){e[e.QT_WATERFALL_ITEM_TYPE_POSTER=10001]="QT_WATERFALL_ITEM_TYPE_POSTER",e[e.QT_WATERFALL_ITEM_TYPE_TAB=10002]="QT_WATERFALL_ITEM_TYPE_TAB",e[e.QT_WATERFALL_ITEM_TYPE_CARD=10003]="QT_WATERFALL_ITEM_TYPE_CARD",e[e.QT_WATERFALL_ITEM_TYPE_BLANK=-1e4]="QT_WATERFALL_ITEM_TYPE_BLANK"}(ko||(ko={}));var Co=rn({name:"card-item",setup(e,t){const n=E();return{onFocus:function(e){n.isLoggable(P.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});Co.render=function(e,n,o,i,c,s){const u=a("es-card-container");return t(),l(u,{keyName:"_id",clipChildren:!1,clipPadding:!1,autoRecycle:!0,disablePlaceholder:"",layout:"${layout}",flexStyle:"${style}",cardId:"${cardId}",focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",type:10003,onFocus:e.onFocus,class:"qt-ui-waterfall-card-item"},null,8,["onFocus"])},Co.__scopeId="data-v-599898aa",Co.__file="src/waterfall/item/card-item.vue";var wo=rn({name:"standard-section",components:{"card-item":Co},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!1},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:Ao.QT_WATERFALL_SECTION_TYPE_FLEX},standItemType:{type:Number,default:ko.QT_WATERFALL_ITEM_TYPE_POSTER},currentPageIndex:{type:Number,default:-1}},setup(e,t){const n=E();return{onFocus:function(e){n.isLoggable(P.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const Do=["type"];wo.render=function(e,l,i,c,s,r){const d=a("text-view"),f=a("qt-poster"),g=a("card-item"),m=a("tv-flex");return t(),n("div",{class:"standard-section-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.sectionType,focusable:!1,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[I(d,{class:"standard-section-title-text-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),I(m,{class:"standard-section-css",name:"QUICKTVUI_WARTERFALL_LIST",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,bringFocusChildToFront:!0,cachePool:e.cachePool,useDiff:e.useDiff,keyName:"_id",enablePlaceholder:e.enablePlaceholder,focusScrollTarget:"${focusScrollTarget==true}",list:"${itemList}"},{default:p((()=>[u(" poster "),I(f,{"load-delay":500,type:e.standItemType},null,8,["type"]),u(" card "),I(g,{onFocus:e.onFocus},null,8,["onFocus"]),o(e.$slots,"default")])),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,Do)},wo.__scopeId="data-v-227e921e",wo.__file="src/waterfall/section/flex-section.vue";const No="list-section";var Oo=rn({name:"list-section",props:{enablePlaceholder:{type:Boolean,default:!0},isSwitchBgScroll:{type:Boolean,default:!1},standItemType:{type:Number,default:10001},tabItemType:{type:Number,default:10002},sectionType:{type:Number,default:Ao.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"}},setup(e,t){const n=E();return{blockDirections:["left","right"],onItemBind:function(e){n.isLoggable(P.DEBUG)&&n.d(No,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){n.isLoggable(P.DEBUG)&&n.d(No,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){n.isLoggable(P.DEBUG)&&n.d(No,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){n.isLoggable(P.DEBUG)&&n.d(No,"----------onItemFocused--------------\x3e>>",e)}}}});const Bo={class:"qt-ui-section-tab-list-root",focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",blockFocusDirections:["right"],clipChildren:!1,useAdvancedFocusSearch:!0,bringFocusChildToFront:!0},Mo=["type"];Oo.render=function(e,n,i,c,s,u){const r=a("text-view"),d=a("qt-poster"),f=a("tv-list"),g=a("tv-item");return t(),l(g,{keyName:"_id",type:e.sectionType,clipPadding:!1,clipChildren:!1,ref:"listSection",class:"tab-list-section-root-css",onItemClick:e.onItemClick,onItemBind:e.onItemBind,onItemUnbind:e.onItemRecycled,onItemFocused:e.onItemFocused},{default:p((()=>[m("div",Bo,[I(r,{class:"tab-list-section-title-text-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),I(f,{list:"${itemList}",horizontal:"",clipChildren:!1,focusable:!1,class:"tab-list-section-list-css",name:"QUICKTVUI_WARTERFALL_LIST",resetOnDetach:!0,enableKeepFocus:"${enableKeepFocus==true}",endHintEnabled:"${enableEndHit}",onScrollEnable:!1,setSelectChildPosition:0,enablePlaceholder:e.enablePlaceholder,cachePoolName:"HorizontalList",blockFocusDirections:e.blockDirections},{default:p((()=>[I(d,{type:e.standItemType},null,8,["type"]),m("div",{type:e.tabItemType,class:"qt-ui-section-tab-list-item",clipChildren:!1,flexStyle:"${style}",style:{"padding-left":"24px","padding-right":"23px","justify-content":"center",height:"50px"},autoWidth:"",name:"QUICKTVUI_TAB_2",focusable:!0,eventClick:"",eventFocus:""},[I(r,{class:"qt-ui-section-tab-list-item-text",autoWidth:"",flexStyle:"${textStyle}",gravity:"center",fontSize:36,lines:1,focusable:!1,duplicateParentState:!0,style:{height:"50px"},text:"${text}"})],8,Mo),o(e.$slots,"default")])),_:3},8,["enablePlaceholder","blockFocusDirections"])])])),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},Oo.__scopeId="data-v-6aa2cfd4",Oo.__file="src/waterfall/section/list-section.vue";var $o=rn({name:"loading-section"});const Vo={focusable:!1,type:-1,keyName:"_id",class:"loading-section-css",gradientBackground:"${style.gradientBackground}"};$o.render=function(e,o,l,i,c,s){const u=a("qt-loading-view");return t(),n("div",Vo,[I(u,{class:"loading-section-loading-css"})])},$o.__scopeId="data-v-48609f24",$o.__file="src/waterfall/section/loading-section.vue";var zo=rn({name:"end-section",setup:()=>({})});const Wo={keyName:"_id",type:-1001,focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-waterfall-end-section-css"};zo.render=function(e,o,l,i,c,s){const u=a("text-view");return t(),n("div",Wo,[I(u,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",textSize:"${titleStyle.fontSize}",text:"${title}"})])},zo.__scopeId="data-v-70b82c43",zo.__file="src/waterfall/section/end-section.vue";var qo=rn({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:Ao.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const Go=["type"];qo.render=function(e,o,l,i,s,u){const r=a("text-view");return t(),n("div",{class:"section-title-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.type,keyName:"_id",focusable:!1,bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[I(r,{class:"section-title-text-css",postDelay:300,style:c({marginLeft:e.plateTitleLeftMargin+"px"}),focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"},null,8,["style"])],8,Go)},qo.__scopeId="data-v-20428d40",qo.__file="src/waterfall/section/section-title.vue";var Qo=rn({name:"blank-section",setup:()=>({})});const jo={focusable:!1,type:-1e3,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-ui-waterfall-blank-section"};Qo.render=function(e,o,a,l,i,c){return t(),n("div",jo)},Qo.__scopeId="data-v-eeab4d88",Qo.__file="src/waterfall/section/blank-section.vue";var Ho=rn({name:"card-section",setup(e,t){const n=E();return{onFocus:function(e){n.isLoggable(P.DEBUG)&&n.d("card-section","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const Yo={type:1006,class:"qt-ui-waterfall-card-section-css",clipChildren:!1,clipPadding:!1,focusScrollTarget:"${isFocusScrollTarget}",keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0};Ho.render=function(e,o,l,i,c,s){const u=a("text-view"),r=a("es-card-container");return t(),n("div",Yo,[I(u,{class:"qt-ui-waterfall-card-section-title-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),I(r,{cardId:"${cardId}",onFocus:e.onFocus,clipChildren:!1,clipPadding:!1,autoRecycle:!0,focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",flexStyle:"${cardStyle}",class:"qt-ui-waterfall-card-section"},null,8,["onFocus"])])},Ho.__scopeId="data-v-43a44788",Ho.__file="src/waterfall/section/card-section.vue";var Xo=rn({name:"vue-section",props:{blockFocusDirections:{type:Array,default:()=>["left","right"]}},setup:(e,t)=>({onSectionBind:function(){}})});function Jo(e,t){const n=[];if(t&&t.length>0)for(let o=0;o<t.length;o++){let a=Zo(e,t[o]);n.push(a)}return n}function Zo(e,t){let n=0;return t.itemList.length>0&&t.type==Ao.QT_WATERFALL_SECTION_TYPE_FLEX&&(n=function(e){const t=e.itemList,n=e.style?.spacing??0,o=e.titleStyle,a=o?.height??0;const l=o?.marginTop??0,i=o?.marginBottom??0;const c=o?.paddingTop??0,s=o?.paddingBottom??0;let u=e.style.height??0,r=e.style.width??0;e.decoration;let d=0,f=0,p=0;for(let e=0;e<t.length;e++){const o=t[e];let a=o?.style.width??0,l=o?.style.height??0;const i=o.style.x,c=o.style.y;if(null!=i&&null!=c)o.layout=[i,c,a,l];else{const e=o.decoration,t=e?.left??0,i=e?.top??0,c=e?.right??0,s=e?.bottom??0;d+a+c>r&&(f+=p+n,p=0,d=0),o.layout||(o.layout=[0,0,a,l]),o.layout[0]=d+t,o.layout[1]=f+i,o.layout[1]+l+s>u&&(u=o.layout[1]+l+s),l+i+s>p&&(p=l+i+s),d+=a+n+t+c}}return u+a+l+i+c+s}(t),t.style.height=n),t}function Ko(){let e=[];function t(e){return e.itemList.length}function n(n,o){console.log("----1--------getRangeSectionListItemCount-----------------\x3e>>>");const a=e.length;if(n<0||n>=a)return 0;console.log("----2--------getRangeSectionListItemCount-----------------\x3e>>>");let l=n+o;n+o>a&&(l=a),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let i=0;for(let o=n;o<l;o++){i+=t(e[o])}return i}function o(){console.log("--------dumpWaterfallData---------\x3e>>>",e)}return{init:function(){},getSectionList:function(){return e},addSectionList:function(a){const l=e.length,i=n(0,l),c=function(e){if(e.length<=0)return 0;let n=0;for(let o=0;o<e.length;o++){n+=t(e[o])}return n}(a);return e.push(...a),o(),{sectionIndex:l,sectionCount:a.length,itemIndex:i,itemCount:c}},deleteSection:function(t,a){const l=n(0,t-1),i=n(t,a);return e.splice(t,a),o(),{sectionIndex:t,sectionCount:a,itemIndex:l,itemCount:i}},updateSection:function(a,l){const i=n(0,a-1),c=t(l);return e.splice(a,1,l),o(),{sectionIndex:a,sectionCount:1,itemIndex:i,itemCount:c}},getSection:function(t){if(!(t<0||t>=e.length||0==e.length))return e[t]},addItemList:function(t,n){const a=e.length;if(t<0||t>=a||n.length<=0)return{sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const l=e[t],i=l.itemList.length;return l.itemList.push(...n),o(),{sectionIndex:t,sectionCount:1,itemIndex:i,itemCount:n.length}},deleteItem:function(t,n,a){return e[t].itemList.splice(n,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},updateItem:function(t,n,a){return e[t].itemList.splice(n,1,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:1}},updateItemList:function(t,n,a,l){return e[t].itemList.splice(n,a,...l),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},getItem:function(t,n){const o=e[t];if(o&&o.itemList.length>0&&n>=0&&n<o.itemList.length){return o.itemList[n]}},destroy:function(){e=[]}}}Xo.render=function(e,n,i,c,s,u){const r=a("tv-item");return t(),l(r,{class:"qt-ui-waterfall-vue-section",type:1007,keyName:"_id",blockFocusDirections:e.blockFocusDirections,clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:e.onSectionBind},{default:p((()=>[o(e.$slots,"default")])),_:3},8,["blockFocusDirections","onItemBind"])},Xo.__scopeId="data-v-f8447724",Xo.__file="src/waterfall/section/vue-section.vue";const ea="qt-waterfall";var ta,na,oa=rn({name:"qt-waterfall",emits:["onScroll","onScrollStateChanged","onItemClick","onItemFocused","onSectionBind","onSectionAttached"],props:{enablePlaceholder:{type:Boolean,default:!0},prevLoadNumber:{type:Number,default:3},backTop:{type:Function,default:()=>{}},isLoadMore:{type:Boolean,default:!0},headBlank:{type:Number,default:90},blockFocusDirections:{type:Array,default:()=>["down"]},vueSectionBlockFocusDirections:{type:Array,default:()=>["left","right"]}},setup(t,n){const o=E(),a={name:"tvList"+Date.now(),size:{20008:10}},l=e();let i;const c=Ko();return{waterfallRef:l,init:function(e){i=e},setAutoFocus:function(e,t){l.value?.setAutoFocus(e,t)},getSectionList:function(){return c.getSectionList()},setSectionList:function(e){if(!i)return;o.isLoggable(P.DEBUG)&&o.d(ea,"-------1---setSectionList--------------\x3e>>"),c.destroy();const t=c.addSectionList(e);o.isLoggable(P.DEBUG)&&o.d(ea,"-------2---setSectionList--------------\x3e>>",t);const n=Jo(i,e);o.isLoggable(P.DEBUG)&&o.d(ea,"----------setSectionList-----最终数据---------\x3e>>",n),l.value?.setListData(n)},addSectionList:function(e){if(!i)return;c.addSectionList(e);const t=Jo(i,e);o.isLoggable(P.DEBUG)&&o.d(ea,"----------addSectionList-----最终数据---------\x3e>>",t),l.value?.addListData(t)},deleteSection:function(e,t){const n=c.deleteSection(e,t);o.isLoggable(P.DEBUG)&&o.d(ea,"----------deleteSection-----最终数据---------\x3e>>",n),l.value?.deleteItem(e,t)},updateSection:function(e,t){c.updateSection(e,t);const n=Zo(0,t);o.isLoggable(P.DEBUG)&&o.d(ea,"----------updateSection-----最终数据---------\x3e>>sectionIndex:",e,"updateSection:",n),l.value?.updateItem(e,n)},updateSectionList:function(e,t,n){const o=[];for(let t=0;t<n.length;t++){const a=n[t];c.updateSection(e+t,a);const l=Zo(0,a);l&&o.push(l)}l.value?.updateItemList(e,t,o)},getSection:function(e){return c.getSection(e)},addItemList:function(e,t){c.addItemList(e,t);const n=c.getSection(e);if(n){const t=Zo(0,n);l.value?.updateItem(e,t)}},deleteItem:function(e,t,n){c.deleteItem(e,t,n);const o=c.getSection(e);if(o){const t=Zo(0,o);l.value?.updateItem(e,t)}},updateItem:function(e,t,n){c.updateItem(e,t,n);const o=c.getSection(e);if(o){const t=Zo(0,o);l.value?.updateItem(e,t)}},updateItemList:function(e,t,n,o){c.updateItemList(e,t,n,o);const a=c.getSection(e);if(a){const t=Zo(0,a);l.value?.updateItem(e,t)}},getItem:function(e,t){return c.getItem(e,t)},cachePool:a,flexCachePool:{name:"tvFlex",size:{1:50}},onScroll:function(e){e.stopPropagation();let t=e.offsetX,o=e.offsetY;n.emit("onScroll",t,o)},onItemClick:function(e){o.isLoggable(P.DEBUG)&&o.d(ea,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),n.emit("onItemClick",e.parentPosition,e.position,e.item)},onItemFocused:function(e){o.isLoggable(P.DEBUG)&&o.d(ea,"----------onItemFocused--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" isFocused:"+e.isFocused+" "),n.emit("onItemFocused",e.parentPosition,e.position,e.isFocused,e.item)},onSectionBind:function(e){if(e){o.isLoggable(P.DEBUG)&&o.d(ea,"----------onSectionBind--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionBind",t,e.position)}},onSectionAttached:function(e){if(e){o.isLoggable(P.DEBUG)&&o.d(ea,"----------onSectionAttached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionAttached",t,e.position)}},onScrollStateChanged:function(e){let t=e.offsetY,o=e.offsetX,a=e.newState;n.emit("onScrollStateChanged",o,t,a)},resumePostTask:function(){l.value?.pausePostTask()},pausePostTask:function(){l.value?.pausePostTask()},clearPostTask:function(){l.value?.clearPostTask()},destroy:function(){l.value?.destroy()},scrollToTop:function(){l.value?.scrollToTop()}}},components:{"flex-section":wo,"list-section":Oo,"section-title":qo,"loading-section":$o,"end-section":zo,"blank-section":Qo,"card-section":Ho,"vue-section":Xo}});function aa(){const e=new Map,t=new Map;function n(n){const o={index:n,state:ta.QT_TAB_PAGE_STATE_IDLE};e.set(n,o),t.set(n,[])}function o(e,n){const o=t.get(e)??[];if(!(n<0||n>=o.length||0==o.length))return o[n]}function a(e){return e.itemList.length}function l(e,t,n){const o=e.length;if(t<0||t>=o)return 0;let l=t+n;t+n>o&&(l=o),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let i=0;for(let n=t;n<l;n++){i+=a(e[n])}return i}function i(){console.log("--------dumpTabWaterfallData---------\x3e>>>",t)}return{initTab:function(e){const t=e.itemList;for(let e=0;e<t.length;e++)n(e)},getTabPageData:function(t){return e.get(t)},setPageData:function(t,n){e.set(t,n)},setSectionState:function(e,t,n){const a=o(e,t);a&&(a.state=n)},getSectionListByState:function(e,n){return(t.get(e)??[]).filter((e=>e.state==n))},getSectionList:function(e){return t.get(e)??[]},addSectionList:function(n,o){const c=t.get(n)??[],s=c.length,u=l(c,0,s),r=function(e){if(e.length<=0)return 0;let t=0;for(let n=0;n<e.length;n++){t+=a(e[n])}return t}(o);c.push(...o);const d=e.get(n);return d&&(d.state=ta.QT_TAB_PAGE_STATE_IDLE),i(),{pageIndex:n,sectionIndex:s,sectionCount:o.length,itemIndex:u,itemCount:r}},deleteSection:function(e,n,o){const a=t.get(e)??[],c=l(a,0,n-1),s=l(a,n,o);return a.splice(n,o),i(),{pageIndex:e,sectionIndex:n,sectionCount:o,itemIndex:c,itemCount:s}},updateSection:function(e,n,o){const c=t.get(e)??[],s=l(c,0,n-1),u=a(o);return c.splice(n,1,o),i(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:u}},updateSectionList:function(e,n){return t.set(e,n),i(),{pageIndex:e,sectionIndex:0,sectionCount:n.length,itemIndex:-1,itemCount:-1}},getSection:o,addItemList:function(e,n,o){const a=t.get(e)??[],l=a.length;if(n<0||n>=l||o.length<=0)return{pageIndex:e,sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const c=a[n],s=c.itemList.length;return c.itemList.push(...o),i(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:o.length}},deleteItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,a),i(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},updateItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,1,a),i(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:1}},updateItemList:function(e,n,o,a,l){return(t.get(e)??[])[n].itemList.splice(o,a,...l),i(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},getItem:function(e,n,o){const a=(t.get(e)??[])[n];if(a&&a.itemList.length>0&&o>=0&&o<a.itemList.length){return a.itemList[o]}},destroy:function(){t.clear()}}}oa.render=function(e,n,i,c,s,r){const d=a("flex-section"),f=a("list-section"),g=a("loading-section"),m=a("end-section"),v=a("blank-section"),h=a("card-section"),T=a("vue-section"),F=a("tv-list");return t(),l(F,{ref:"waterfallRef",class:"qt-waterfall-root-css",keyName:"_id",clipChildren:!1,clipPadding:!1,listenBoundEvent:!0,negativeKeyTime:"30",postContentDelay:"500",onScroll:e.onScroll,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemBind:e.onSectionBind,onItemAttached:e.onSectionAttached,focusMemory:!1,cachePool:e.cachePool,preload:1,checkScrollOffsetOnStateChanged:!0,makeChildVisibleType:"center",scrollThresholdVertical:50,scrollEventThrottle:16,enableSelectOnFocus:!1,advancedFocusSearchSpan:"1",scrollYLesserReferenceValue:30,scrollYGreaterReferenceValue:30,shakePreCheckNumber:"4",blockFocusDirections:e.blockFocusDirections,onScrollStateChanged:e.onScrollStateChanged},{default:p((()=>[u(" 普通版块"),I(d,{"cache-pool":e.flexCachePool,enablePlaceholder:e.enablePlaceholder,onFocus:e.onItemFocused},{default:p((()=>[o(e.$slots,"item")])),_:3},8,["cache-pool","enablePlaceholder","onFocus"]),u("一行滚动 多级tab"),I(f,{enablePlaceholder:e.enablePlaceholder},{default:p((()=>[o(e.$slots,"list-item")])),_:3},8,["enablePlaceholder"]),u(" loading"),I(g),u(" end "),I(m),u(" blank "),I(v),u(" card "),I(h,{onFocus:e.onItemFocused},null,8,["onFocus"]),u(" vue "),I(T,{"block-focus-directions":e.vueSectionBlockFocusDirections},{default:p((()=>[o(e.$slots,"vue-section")])),_:3},8,["block-focus-directions"]),o(e.$slots,"section")])),_:3},8,["onScroll","onItemClick","onItemFocused","onItemBind","onItemAttached","cachePool","blockFocusDirections","onScrollStateChanged"])},oa.__file="src/waterfall/index.vue",function(e){e[e.QT_TAB_PAGE_STATE_IDLE=0]="QT_TAB_PAGE_STATE_IDLE",e[e.QT_TAB_PAGE_STATE_BUSY=1]="QT_TAB_PAGE_STATE_BUSY",e[e.QT_TAB_PAGE_STATE_COMPLETE=2]="QT_TAB_PAGE_STATE_COMPLETE",e[e.QT_TAB_PAGE_STATE_ERROR=3]="QT_TAB_PAGE_STATE_ERROR"}(ta||(ta={})),function(e){e[e.QT_LIST_VIEW_ITEM_STATE_DEFAULT=0]="QT_LIST_VIEW_ITEM_STATE_DEFAULT",e[e.QT_LIST_VIEW_ITEM_STATE_ATTACHED=1]="QT_LIST_VIEW_ITEM_STATE_ATTACHED",e[e.QT_LIST_VIEW_ITEM_STATE_BIND=2]="QT_LIST_VIEW_ITEM_STATE_BIND",e[e.QT_LIST_VIEW_ITEM_STATE_UNBIND=3]="QT_LIST_VIEW_ITEM_STATE_UNBIND",e[e.QT_LIST_VIEW_ITEM_STATE_DETACHED=4]="QT_LIST_VIEW_ITEM_STATE_DETACHED"}(na||(na={}));const la="qt-tabs";var ia=rn({name:"qt-tabs",emits:["onTabPageLoadData","onTabPageChanged","onTabEvent","onTabPageItemClick","onTabPageItemFocused","onTabPageSectionAttached","onTabPageScroll","onTabPageScrollStateChanged","onTabMoveToTopStart","onTabMoveToTopEnd","onTabMoveToBottomStart","onTabMoveToBottomEnd","onTabChanged","onTabPageScrollToEnd","onTabPageScrollToStart","onTabClick"],props:{enablePlaceholder:{type:Boolean,default:!0},preloadNumber:{type:Number,default:3},tabNavBarClass:{type:String,default:""},tabClass:{type:String,default:""},tabsDataStrategy:{type:String,default:"overTime"},tabPageClass:{type:String,default:""},horizontal:{type:Boolean,default:!0},pageTransform:{type:Boolean,default:!0},hideOnSingleTab:{type:Boolean,default:!0},floatNavBar:{type:Boolean,default:!0},contentNextFocus:{type:Object,default:()=>({up:"tabList",left:"tabList"})},triggerTask:{type:Array,default:()=>[]},blockViewPager:{type:Array,default:()=>[]},blockViewPagerVertical:{type:Array,default:()=>[]},tabContentBlockFocusDirections:{type:Array,default:()=>["down"]},tabContentResumeDelay:{type:Number,default:500},tabContentSwitchDelay:{type:Number,default:300},slidingEnable:{type:Boolean,default:!1},slidingMode:{type:String,default:""},initTranslation:{type:Number,default:0},rightTranslation:{type:Number,default:0},leftTranslation:{type:Number,default:0},duration:{type:Number,default:1e3},interpolatorType:{type:Number,default:1}},setup(t,n){const o=e();e();const a=e(!0),l=e(1),i=E(),c=e(),s=aa();let u,r=-1;function d(e,t){const n=s.getTabPageData(e);n&&(n.state=t,s.setPageData(e,n))}function f(e,o,a){let l=s.getTabPageData(e);if(l&&l.state===ta.QT_TAB_PAGE_STATE_IDLE){a>=s.getSectionList(e).length-t.preloadNumber-1&&(i.isLoggable(P.DEBUG)&&i.d(la,"----------loadPageData----加载数加载据--\x3e>>> pageIndex:"+e+" sectionIndex:"+a),n.emit("onTabPageLoadData",e,o),d(e,ta.QT_TAB_PAGE_STATE_BUSY))}else i.isLoggable(P.DEBUG)&&i.d(la,"----------loadPageData--状态不对--\x3e>>>",e)}function p(){const e=s.getSectionListByState(r,na.QT_LIST_VIEW_ITEM_STATE_ATTACHED);i.isLoggable(P.DEBUG)&&i.d(la,"----------notifyTabContentSectionAttached------\x3e>>> pageIndex"+r+" sectionList:",e),n.emit("onTabPageSectionAttached",r,e)}function g(e,t){i.isLoggable(P.DEBUG)&&i.d(la,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+t),n.emit("onTabPageScroll",e,t)}function I(e,t,o){i.isLoggable(P.DEBUG)&&i.d(la,"----------onWaterfallScrollStateChanged----\x3e>>> offsetX:"+e+" scrollY:"+t+" newState:"+o),n.emit("onTabPageScrollStateChanged",e,t,o)}return{tabs:o,ifTabs:a,navBarRef:c,initTab:function(e){let t={defaultIndex:e.defaultIndex,focusIndex:e.defaultFocusIndex,data:e.itemList};s.initTab(e),o.value?.setTabsData(t)},setAutoFocus:function(e,t){o.value?.setAutoFocus(e,t)},initPage:function(e){u=e},setPageSate:d,setPageData:function(e,t){i.isLoggable(P.DEBUG)&&i.d(la,"----------loadPageData----setPageData--\x3e>>>pageIndex:"+e),s.addSectionList(e,t.data);const n={data:Jo(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};i.isLoggable(P.DEBUG)&&i.d(la,"------设置数据----setPageData------\x3e>>> pageIndex:"+e+" data:",n),o.value?.setPageData(e,n)},addPageData:function(e,t,n=0){i.isLoggable(P.DEBUG)&&i.d(la,"----------loadPageData----addPageData--\x3e>>>pageIndex:"+e),s.addSectionList(e,t.data);const a={data:Jo(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};i.isLoggable(P.DEBUG)&&i.d(la,"----设置数据------addPageData------\x3e>>> pageIndex:"+e+" data:",a," deleteCount:"+n),o.value?.addPageData(e,a,n)},updatePageData:function(e,t){s.updateSectionList(e,t.data);const n={data:Jo(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};o.value?.updatePageData(e,n)},updatePageSection:function(e,t,n){s.updateSection(e,t,n);const a=Zo(0,n);o.value?.updateRootNode(e,t,a)},getPageSection:function(e,t){return s.getSection(e,t)},getPageSectionList:function(e){return s.getSectionList(e)},deletePageSection:function(e,t,n){s.deleteSection(e,t,n),o.value?.invokeContentFunction(e,"deleteItemRange",[t,n])},addPageItemList:function(e,t,n){s.addItemList(e,t,n);const a=s.getSection(e,t);if(a){const n=Zo(0,a);o.value?.updateRootNode(e,t,n)}},getPageItem:function(e,t,n){return s.getItem(e,t,n)},updatePageItem:function(e,t,n,a){s.updateItem(e,t,n,a),o.value?.updateChildNode(e,t,n,a)},deletePageItem:function(e,t,n,a){s.deleteItem(e,t,n,a);const l=s.getSection(e,t);if(l){const n=Zo(0,l);o.value?.updateRootNode(e,t,n)}},blockRootFocus:function(){o.value?.blockRootFocus()},unBlockRootFocus:function(){o.value?.unBlockRootFocus()},focusBackToTop:function(){o.value?.focusBackToTop()},requestNodeFocus:function(e){o.value?.requestNodeFocus(e)},reloadAll:function(e=!0){o.value?.reloadAll(e)},reloadPage:function(e){o.value?.reloadPage(e)},setCurrentPage:function(e){o.value?.setCurrentPage(e)},requestTabFocus:function(e){o.value?.requestTabFocus(e)},invokeContentFunction:function(e,t,n){o.value?.invokeContentFunction(e,t,n)},invokeContentFunctionDirect:function(e,t){o.value?.invokeContentFunctionDirect(e,t)},contentScrollToFocus:function(e){o.value?.contentScrollToFocus(e)},getRootNodeViewState:function(e,t,n){o.value?.getRootNodeViewState(e,t,n)},getChildNodeViewState:function(e,t,n,a,l){o.value?.getChildNodeViewState(e,t,n,a,l)},dispatchUIFunctionOnChildNode:function(e,t,n,a,l){o.value?.dispatchUIFunctionOnChildNode(e,t,n,a,l)},updateItemMatched:function(e="id",t,n){o.value?.updateItemMatched(e,t,n)},updateRootNode:function(e,t,n){o.value?.updateRootNode(e,t,n)},updateChildNode:function(e,t,n,a){o.value?.updateChildNode(e,t,n,a)},destroy:function(){o.value?.destroy()},translationLeft:function(){o.value?.translationLeft()},translationRight:function(){o.value?.translationRight()},rootOpacity:l,onTabPageLoadData:function(e){const t=e.pageIndex,n=e.useDiff;i.isLoggable(P.DEBUG)&&i.d(la,"----------loadPageData----android--\x3e>>>pageIndex:"+t),f(t,n,0)},onTabPageChanged:function(e){const t=e.pageIndex;if(r==t)return void(i.isLoggable(P.DEBUG)&&i.d(la,"----------onTabPageChanged---重复发送page-changed事件---\x3e>>> pageIndex:"+t));r=t;const o=e.data;i.isLoggable(P.DEBUG)&&i.d(la,"----------onTabPageChanged------\x3e>>> pageIndex:"+t+" data:",o),n.emit("onTabPageChanged",t,o),p()},onTabEvent:function(e){const t=e.params,o=e.eventName,a=e.params.itemPosition,l=e.params.x,c=e.params.y,s=e.params.contentOffset,u=e.params.state;switch(i.isLoggable(P.DEBUG)&&i.d(la,"----------onTabEvent------\x3e>>> eventName:"+o+" tabIndex:"+a+" params:",t),n.emit("onTabEvent",a,o,t),o){case"onMoveToTopStart":n.emit("onTabMoveToTopStart",a,o,t);break;case"onMoveToTopEnd":n.emit("onTabMoveToTopEnd",a,o,t);break;case"onMoveToBottomStart":n.emit("onTabMoveToBottomStart",a,o,t);break;case"onMoveToBottomEnd":n.emit("onTabMoveToBottomEnd",a,o,t);break;case"onTabChanged":n.emit("onTabChanged",a,o,t);break;case"onScroll":g(l,c);break;case"onScrollStateChanged":I(s.x,s.y,u.newState)}},onWaterfallItemClick:function(e,t,o){i.isLoggable(P.DEBUG)&&i.d(la,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" item:",o),n.emit("onTabPageItemClick",r,e,t,o)},onWaterfallItemFocused:function(e,t,o,a){i.isLoggable(P.DEBUG)&&i.d(la,"-----------onWaterfallItemFocused---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" isFocused:"+o+" item:",a),n.emit("onTabPageItemFocused",r,e,t,o,a)},onWaterfallSectionBind:function(e,t){i.isLoggable(P.DEBUG)&&i.d(la,"-----------onWaterfallSectionBind---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),e===r&&(i.isLoggable(P.DEBUG)&&i.d(la,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),f(e,!1,t))},onWaterfallSectionAttached:function(e,t){i.isLoggable(P.DEBUG)&&i.d(la,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,na.QT_LIST_VIEW_ITEM_STATE_ATTACHED),e==r&&p()},onWaterfallScroll:g,onWaterfallScrollStateChanged:I,onTabPageScrollToStart:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToStart",t),i.isLoggable(P.DEBUG)&&i.d(la,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+t)},onTabPageScrollToEnd:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToEnd",t),i.isLoggable(P.DEBUG)&&i.d(la,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+t)},onTabChange:function(e){},onTabClick:function(e){n.emit("onTabClick",e)}}}});ia.render=function(e,n,i,c,r,d){const f=a("qt-nav-bar"),g=a("qt-waterfall"),m=a("recycler-view-pager"),v=a("tabs");return e.ifTabs?(t(),l(v,{key:0,ref:"tabs",class:s(["tabs-root-css",e.tabClass]),dataStrategy:e.tabsDataStrategy,hideOnSingleTab:this.hideOnSingleTab,pageSwitchDelay:e.tabContentSwitchDelay,resumeTaskDelay:e.tabContentResumeDelay,suspension:this.floatNavBar,clipChildren:!1,outOfDateTime:3e5,blockFocusDirections:e.tabContentBlockFocusDirections,onScrollToStart:e.onTabPageScrollToStart,onScrollToEnd:e.onTabPageScrollToEnd,onLoadPage:e.onTabPageLoadData,onPageChanged:e.onTabPageChanged,onTabEvent:e.onTabEvent},{default:p((()=>[I(f,{ref:"navBarRef",name:"tabList",focusable:!1,class:s(e.tabNavBarClass),"text-key":"text",onTabFocus:e.onTabChange,onTabClick:e.onTabClick,clipChldren:!1,horizontal:e.horizontal},{default:p((()=>[o(e.$slots,"tab-item")])),_:3},8,["class","onTabFocus","onTabClick","horizontal"]),I(m,{nextFocusName:e.contentNextFocus,ref:"viewPager",class:s(e.tabPageClass),name:"content",loadingItemType:-1,clipChldren:!1,opacity:e.rootOpacity,focusable:!1,enableTransform:e.pageTransform,slidingEnable:e.slidingEnable,slidingMode:e.slidingMode,initTranslation:e.initTranslation,rightTranslation:e.rightTranslation,leftTranslation:e.leftTranslation,duration:e.duration,interpolatorType:e.interpolatorType,triggerTask:e.triggerTask,direction:e.horizontal?"horizontal":"vertical",blockFocusDirections:e.horizontal?e.blockViewPager:e.blockViewPagerVertical},{default:p((()=>[I(g,{keyName:"_id",enablePlaceholder:e.enablePlaceholder,onOnScrollStateChanged:e.onWaterfallScrollStateChanged,onOnScroll:e.onWaterfallScroll,onOnSectionBind:e.onWaterfallSectionBind,onOnSectionAttached:e.onWaterfallSectionAttached,onOnItemFocused:e.onWaterfallItemFocused,onOnItemClick:e.onWaterfallItemClick},{item:p((()=>[o(e.$slots,"waterfall-item")])),"list-item":p((()=>[o(e.$slots,"waterfall-list-item")])),section:p((()=>[o(e.$slots,"waterfall-section")])),"vue-section":p((()=>[o(e.$slots,"waterfall-vue-section")])),_:3},8,["enablePlaceholder","onOnScrollStateChanged","onOnScroll","onOnSectionBind","onOnSectionAttached","onOnItemFocused","onOnItemClick"])])),_:3},8,["nextFocusName","class","opacity","enableTransform","slidingEnable","slidingMode","initTranslation","rightTranslation","leftTranslation","duration","interpolatorType","triggerTask","direction","blockFocusDirections"])])),_:3},8,["dataStrategy","hideOnSingleTab","pageSwitchDelay","resumeTaskDelay","suspension","class","blockFocusDirections","onScrollToStart","onScrollToEnd","onLoadPage","onPageChanged","onTabEvent"])):u("v-if",!0)},ia.__file="src/tab/index.vue";var ca=rn({name:"qt-vue-section",setup:(e,t)=>({onSectionBind:function(){}})});ca.render=function(e,n,i,c,s,u){const r=a("tv-item");return t(),l(r,{class:"qt-ui-waterfall-vue-section",clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:e.onSectionBind},{default:p((()=>[o(e.$slots,"default")])),_:3},8,["onItemBind"])},ca.__scopeId="data-v-d02af3c2",ca.__file="src/section/index.vue";var sa=rn({name:"qt-classified-list-view",props:{className:{type:String,default:"content_list_view"},classNavName:{type:String,default:"nav_list_view"},currentFocusIndex:{type:Number,default:0},focusScale:{type:Number,default:1.15},navType:{type:Number,default:10001},yOffest:{type:Number,default:802}},emits:["item-click","item-focused"],setup(t,n){let o=e(1);const a=e(),l=e();let i=[],c=-1,s=-1,u=[];let r=-1;let d=-1,f=-1;return{descendantFocusability:o,content_list_view:a,nav_list_view:l,init:e=>{e.forEach(((n,o)=>{n.mask||(n.mask="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/mask.png"),n.icon||(n.icon="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/playing.png"),n.isPlaying=!1,t.currentFocusIndex==o&&(n.isPlaying=!0);let a=!1;for(let e=0;e<i.length;e++){const t=i[e];n.categoryname==t.categoryname&&(n.navIndex=e,a=!0)}a||(n.navIndex||(n.navIndex=i.length),i.push({type:n.type,decoration:{left:50},categoryname:n.categoryname,startIndex:o,isNeedFocus:!0})),u=e})),Wt((()=>{a.value?.setListData(e),l.value?.setListData(i),setTimeout((()=>{c=t.currentFocusIndex,s=e[t.currentFocusIndex].navIndex,a.value?.scrollToFocused(c),l.value?.scrollToSelected(s,!0)}),300)}))},onItemBind:()=>{},onSItemClick:e=>{n.emit("item-click",e)},onFItemClick:e=>{n.emit("item-click",e)},scrollToIndex:(e,t=!0,n=802)=>{a.value?.scrollToIndex(e,t,n)},scrollToFocused:e=>{o.value=1,setTimeout((()=>{a.value?.scrollToFocused(e)}),300)},setItemFocused:e=>{setTimeout((()=>{o.value=1}),300),a.value?.setItemFocused(e)},scrollToSelected:(e,t=!0)=>{a.value?.scrollToSelected(e,t)},setItemSelected:(e,t=!0)=>{a.value?.setItemSelected(e,!0)},onSItemFocused:e=>{clearTimeout(r),r=setTimeout((()=>{if(e.hasFocus){if(c!=e.position){if(c>-1){let e=u[c];e.isPlaying=!1,a.value?.updateItem(c,e)}let t=u[e.position];t.isPlaying=!0,a.value?.updateItem(e.position,t)}c=e.position,s!=e.item.navIndex&&(s=e.item.navIndex,l.value?.scrollToSelected(e.item.navIndex,!0)),n.emit("item-focused",e)}else s=e.item.navIndex}),300)},onFItemFocused:e=>{clearTimeout(d),clearTimeout(f),e.hasFocus&&s!=e.position&&(o.value=2,s=e.position,u[e.item.startIndex].isNeedFocus?(a.value?.scrollToIndex(e.item.startIndex,!0,t.yOffest),f=setTimeout((()=>{a.value?.setItemSelected(e.item.startIndex,!0),d=setTimeout((()=>{o.value=1}),200)}),400)):(a.value?.scrollToIndex(e.item.startIndex+1,!0,t.yOffest),f=setTimeout((()=>{a.value?.setItemSelected(e.item.startIndex+1,!0),d=setTimeout((()=>{o.value=1}),200)}),400)))},updateItem:(e,t)=>{u[e]=t,u.forEach(((e,t)=>{e.mask||(e.mask="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/mask.png"),e.icon||(e.icon="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/playing.png");for(let t=0;t<i.length;t++){const n=i[t];e.categoryname==n.categoryname&&(e.navIndex=t)}})),a.value?.updateItem(e,u[e])}}}});const ua={focusable:!1,clipChildren:!1},ra=["focusScale"],da=m("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:300},null,-1),fa=m("img",{src:"${mask}",class:"titMask",focusable:!1,postDelay:300,showIf:"${isPlaying}"},null,-1),pa={focusable:!1,class:"clv_item_text_box",showIf:"${isPlaying}"},ga={class:"playMark",focusable:!1},Ia=["type"],ma=m("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1),va=m("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1),ha={class:"nav_item_text",focusable:!1,duplicateParentState:!0};var Ta,Fa,ba,Sa,_a,ya,Ua,Ea;sa.render=function(e,l,i,r,d,f){const g=a("play-mark"),v=a("text-view"),h=a("qt-list-view");return t(),n("div",ua,[u(" listview second nav "),I(h,{class:s(e.className),ref:"content_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onSItemClick,horizontal:"",blockFocusDirections:["left","right"],descendantFocusability:e.descendantFocusability,onItemFocused:e.onSItemFocused},{default:p((()=>[m("div",{type:10001,name:"clv_item",class:"clv_item",focusable:!0,enableFocusBorder:!0,clipChildren:!1,eventClick:"",eventFocus:"",focusScale:e.focusScale},[da,fa,m("div",pa,[m("div",ga,[I(g,{style:c([{width:"28px",height:"20px"},{"margin-left":"16px"}]),markColor:"#ffffff",gap:-1,focusable:!1})]),I(v,{focusable:!1,ellipsizeMode:2,fontSize:30,gravity:"centerVertical",lines:1,maxLines:1,class:"clv_item_text",text:"${assetTitle}",paddingRect:[6,0,0,0]})])],8,ra),o(e.$slots,"item")])),_:3},8,["class","onItemClick","descendantFocusability","onItemFocused"]),u(" listview first nav "),I(h,{class:s(e.classNavName),ref:"nav_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onFItemClick,horizontal:"",blockFocusDirections:["left","right"],onItemFocused:e.onFItemFocused},{default:p((()=>[m("div",{type:e.navType,name:"nav_item",class:"nav_item",focusable:!0,enableFocusBorder:!1,focusScale:"1",eventClick:"",eventFocus:"",clipChildren:!1},[ma,va,m("div",ha,[I(v,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),I(v,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),I(v,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])],8,Ia),o(e.$slots,"navItem")])),_:3},8,["class","onItemClick","onItemFocused"])])},sa.__file="src/classified-list-view/index.vue",function(e){e.QT_DIRECTION_UP="up",e.QT_DIRECTION_DOWN="down",e.QT_DIRECTION_RIGHT="right",e.QT_DIRECTION_LEFT="left"}(Ta||(Ta={})),function(e){e[e.SCROLL_STATE_IDLE=0]="SCROLL_STATE_IDLE",e[e.SCROLL_STATE_DRAGGING=1]="SCROLL_STATE_DRAGGING",e[e.SCROLL_STATE_SETTLING=2]="SCROLL_STATE_SETTLING"}(Fa||(Fa={})),function(e){e[e.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT"}(ba||(ba={})),function(e){e[e.QT_TAB_ITEM_TYPE_DEFAULT=2e4]="QT_TAB_ITEM_TYPE_DEFAULT"}(Sa||(Sa={})),function(e){e[e.QT_ACCELERATE_DECELERATE_INTERPOLATOR=1]="QT_ACCELERATE_DECELERATE_INTERPOLATOR",e[e.QT_ACCELERATE_INTERPOLATOR=2]="QT_ACCELERATE_INTERPOLATOR",e[e.QT_ANTICIPATE_INTERPOLATOR=3]="QT_ANTICIPATE_INTERPOLATOR",e[e.QT_ANTICIPATE_OVERSHOOT_INTERPOLATOR=4]="QT_ANTICIPATE_OVERSHOOT_INTERPOLATOR",e[e.QT_BOUNCE_INTERPOLATOR=5]="QT_BOUNCE_INTERPOLATOR",e[e.QT_CYCLE_INTERPOLATOR=6]="QT_CYCLE_INTERPOLATOR",e[e.QT_DECELERATE_INTERPOLATOR=7]="QT_DECELERATE_INTERPOLATOR",e[e.QT_LINEAR_INTERPOLATOR=8]="QT_LINEAR_INTERPOLATOR",e[e.QT_OVERSHOOT_INTERPOLATOR=9]="QT_OVERSHOOT_INTERPOLATOR",e[e.QT_FAST_OUT_LINEAR_IN_INTERPOLATOR=10]="QT_FAST_OUT_LINEAR_IN_INTERPOLATOR",e[e.QT_FAST_OUT_SLOW_IN_INTERPOLATOR=11]="QT_FAST_OUT_SLOW_IN_INTERPOLATOR",e[e.QT_PATH_INTERPOLATOR=12]="QT_PATH_INTERPOLATOR"}(_a||(_a={})),function(e){e.QT_ANIMATION_PROPERTY_NAME_ALPHA="alpha",e.QT_ANIMATION_PROPERTY_NAME_ROTATION="rotation",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_X="rotationX",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_Y="rotationY",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_Z="rotationZ",e.QT_ANIMATION_PROPERTY_NAME_SCALE_X="scaleX",e.QT_ANIMATION_PROPERTY_NAME_SCALE_Y="scaleY",e.QT_ANIMATION_PROPERTY_NAME_SCALE_Z="scaleZ",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X="translationX",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y="translationY",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z="translationZ"}(ya||(ya={})),function(e){e[e.QT_ANIMATION_REPEAT_MODE_RESTART=1]="QT_ANIMATION_REPEAT_MODE_RESTART",e[e.QT_ANIMATION_REPEAT_MODE_REVERSE=2]="QT_ANIMATION_REPEAT_MODE_REVERSE",e[e.QT_ANIMATION_REPEAT_MODE_INFINITE=-1]="QT_ANIMATION_REPEAT_MODE_INFINITE"}(Ua||(Ua={})),function(e){e.QT_ANIMATION_VALUE_TYPE_INT="ofInt",e.QT_ANIMATION_VALUE_TYPE_FLOAT="ofFloat"}(Ea||(Ea={}));const Pa=[Yn,Jn,Zn,eo,no,ao,mo,So,Lo,oa,ia,sa,ca],La=t=>{t.component("qt-loading-view",{setup(t,n){const o=e();return()=>b("LoadingViewComponent",{ref:o})}}),function(t){const n=i({props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1}},emits:["item-click","scroll","item-focused","item-attached","item-detached","item-bind","item-unbind","load-more","scroll-state-changed","focus-search-failed","scrollYGreaterReference","scrollYLesserReference"],setup(t,n){const o=e();U();let a=[],l=[],i=[],c="",s=-1,u=!1,r=-1,p=-1,g=-1,I=-1;d((()=>{t.openPage&&(s=1,u=!1,t.loadMore(s))}));const m=e=>{0==a.length&&(a=Io(e),v(a,-1),l=e,t.openPage?F(a.concat([{_id:"",type:1002,decoration:{top:18,bottom:18,right:30,left:30}}])):F(a),t.defaultFocus>-1&&(g&&clearTimeout(g),g=setTimeout((()=>{k(t.defaultFocus)}),500)));let n={get(e,o,l){if("__ob__"!=o&&"symbol"!=typeof o&&"map"!=o&&"length"!=o&&"constructor"!=o&&"_isVue"!=o&&"valueOf"!=o&&"toString"!=o&&"observeArray"!=o&&"dep"!=o&&"notify"!=o&&"subs"!=o&&"slice"!=o)if(i.push(o),-1!=i.indexOf("push"))c="push";else{if(-1!=i.indexOf("splice"))return c="splice",function(...t){return e.splice(...t),-1!=i.indexOf("list")?(a[i[0]].list.splice(...t),P(Number(i[0]),a[i[0]])):1==t.length?E(Number(t[0]),a.length-t[0]+1):2==t.length?E(Number(t[0]),t[1]):t.length>2&&(0==t[1]?x(t[0],t.slice(2)):L(t[0],t[1],t.slice(2))),a.splice(t[0],...t.slice(1)),c="",i=[],Reflect.get(e,o,l)};if(-1!=i.indexOf("pop"))return c="pop",function(){return e.pop(),-1!=i.lastIndexOf("list")?(a[i[0]].list.pop(),P(Number(i[0]),a[i[0]])):(E(Number(a.length-1),1),a.pop()),c="",i=[],Reflect.get(e,o,l)};if(-1!=i.indexOf("forEach"))return c="forEach",function(n){return e.forEach((e=>{n(e)})),a=[],a=Io(e),t.openPage?F(a.concat([{_id:"",type:1002,decoration:{top:15,left:30}}])):F(a),c="",i=[],Reflect.get(e,o,l)};if(-1!=i.indexOf("concat"))return c="concat",function(s){return e=e.concat(s),-1!=i.lastIndexOf("list")?(a[i[0]].list=a[i[0]].list.concat(s),P(Number(i[0]),a[i[0]])):(a=a.concat(s),t.openPage&&!u?setTimeout((()=>{y(s.concat([{type:"1002",decoration:{bottom:18,right:30,left:30}}]),1)}),300):S(s)),c="",i=[],Reflect.get(e,o,l),new Proxy(e,n)};c=""}const s=Reflect.get(e,o,l);return h(s)&&"__ob__"!=o&&"dep"!=o&&"subs"!=o?m(s):(-1==i.indexOf("push")&&(i=[]),s)},set(e,n,o,s){const r=e[n];T(e,n);const d=Reflect.set(e,n,o,s);if((!h(r)&&r!==o||h(r))&&"push"!=c)if(i.push(n),-1!=i.lastIndexOf("list")){let e=i.lastIndexOf("list"),t=i.lastIndexOf("list")+2,n={};for(let e=0;e<t;e++){let t=i[e];n=n?n[t]:l[t]}n.name="name"+i[e-1]+i[e+1],P(Number(i[0]),l[i[0]]),a[i[0]].list[i[e+1]]=l[i[0]].list[i[e+1]],a[i[0]].list[i[e+1]].name="name"+i[e-1]+i[e+1]}else a[i[0]]=l[i[0]],a[i[0]].name="name"+i[0],P(Number(i[0]),l[i[0]]);if(n&&"push"==c&&r!==o)-1!=i.lastIndexOf("list")?(i.push(n),a[i[0]].list.push(o)):(i.push(n),a.push(o));else{if("push"==c)if(-1!=i.lastIndexOf("list"))P(Number(i[0]),a[i[0]]);else{let e=a.slice(i[1]);I&&clearTimeout(I),I=t.openPage&&!u?setTimeout((()=>{y(e.concat([{_id:"",type:1002,decoration:{bottom:18,right:30,left:30}}]),1)}),300):setTimeout((()=>{S(e)}),300)}c="",i=[]}return d}};return new Proxy(e,n)},v=(e,t)=>{for(let n=0;n<e.length;n++){const o=e[n];o.name=t>=0?"name"+t+n:"name"+n,o.list&&o.list.length>0&&v(o.list,n)}},h=e=>null!==e&&"object"==typeof e,T=(e,t)=>{Object.hasOwnProperty.call(e,t)},F=e=>{r&&clearTimeout(r),r=setTimeout((()=>{_.callUIFunction(o.value,"setListData",e)}),100)},S=e=>{_.callUIFunction(o.value,"addListData",e)},y=(e,t)=>{_.callUIFunction(o.value,"addListDataWithParams",[e,t])},E=(e,t)=>{_.callUIFunction(o.value,"deleteItemRange",[e,t])},P=(e,t)=>{_.callUIFunction(o.value,"updateItem",[e,t])},L=(e,t,n)=>{_.callUIFunction(o.value,"updateItemRange",[e,t,n])},x=(e,t)=>{_.callUIFunction(o.value,"insertItemRange",[e,t])},R=(e,t)=>{_.callUIFunction(o.value,"setSelectChildPosition",[e,t])},A=e=>{_.callUIFunction(o.value,"scrollToPosition",[e])},k=e=>{_.callUIFunction(o.value,"requestChildFocus",[e])};return f((()=>{a=[],l.length=0,i=[],u=!1,s=1,c="",r&&clearTimeout(r),g&&clearTimeout(g),I&&clearTimeout(I),p&&clearTimeout(p)})),n.expose({viewRef:o,init:m,undataItemName:v,hasChanged:(e,t)=>e!==t&&(e==e||t==t),scrollToIndex:(e,t,n)=>{_.callUIFunction(o.value,"scrollToPositionWithOffset",[e,n,t])},updateItem:P,updateItemList:L,hasFocus:e=>{_.callUIFunction(o.value,"hasFocus",(t=>{e(t)}))},updateItemProps:(e,t,n)=>{_.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},setListData:F,insertItem:x,addListData:S,addListDataWithParams:y,dispatchItemFunction:(e,t,n,a)=>{_.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},deleteItem:E,setBlockFocusDirectionsOnFail:e=>{_.callUIFunction(o.value,"setBlockFocusDirectionsOnFail",[e])},setListDataWithParams:(e,t)=>{_.callUIFunction(o.value,"setListDataWithParams",[e,t])},prepareForRecycle:()=>{_.callUIFunction(o.value,"prepareForRecycle",[])},setDisplay:e=>{_.callUIFunction(o.value,"setDisplay",[e])},scrollToTop:()=>{_.callUIFunction(o.value,"scrollToTop",[])},changeDisplayState:(e,t)=>{_.callUIFunction(o.value,"changeDisplayState",[e,t])},notifySaveInstance:()=>{_.callUIFunction(o.value,"notifySaveInstance",[])},notifyRestoreInstance:()=>{_.callUIFunction(o.value,"notifyRestoreInstance",[])},pausePostTask:()=>{_.callUIFunction(o.value,"pausePostTask",[])},resumePostTask:()=>{_.callUIFunction(o.value,"resumePostTask",[])},getScrollOffset:e=>{_.callUIFunction(o.value,"getScrollOffset",[],e)},scrollToPosition:A,scrollToFocused:e=>{A(e),k(e)},scrollToSelected:(e,t)=>{A(e),R(e,t)},scrollToPositionOffset:(e,t,n,a,l)=>{_.callUIFunction(o.value,"scrollToPositionWithOffset",[t,a,n])},destroy:()=>{_.callUIFunction(o.value,"destroy",[])},startScroll:(e,t,n)=>{_.callUIFunction(o.value,"startScroll",[{focusPosition:e,scrollToPosition:t,scrollOffset:n}])},setItemFocused:k,clearPostTask:()=>{_.callUIFunction(o.value,"clearAllPostTask",[])},clearFocus:()=>{_.callUIFunction(o.value,"clearFocus",[])},setItemSelected:R,blockRootFocus:()=>{_.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{_.callUIFunction(o.value,"unBlockRootFocus",[])},setBackgroundColor:e=>{_.callUIFunction(o.value,"setBackgroundColor",[e])},stopPage:()=>{p&&clearTimeout(p),p=setTimeout((()=>{E(a.length,1)}),400),u=!0},setAutoFocus:function(e,t){_.callUIFunction(o.value,"setAutoFocus",[e,t])}}),()=>{const e=n.slots.default&&n.slots.default();return b("FastListView",{ref:o,onItemClick:e=>{n.emit("item-click",e)},onScroll:e=>{n.emit("scroll",e)},onItemFocused:e=>{n.emit("item-focused",e)},onAttachedToWindow:e=>{n.emit("item-attached",e)},onDetachedFromWindow:e=>{n.emit("item-detached",e)},onBindItem:e=>{e.position==a.length-1-t.preloadNo&&(s++,t.loadMore(s)),n.emit("item-bind",e)},onUnbindItem:e=>{n.emit("item-unbind",e)},onLoadMore:e=>{n.emit("load-more",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},onFocusSearchFailed:e=>{n.emit("focus-search-failed",e)},onScrollYGreaterReference:e=>{n.emit("scrollYGreaterReference",e)},onScrollYLesserReference:e=>{n.emit("scrollYLesserReference",e)}},e)}}});t.component("qt-list-view",n)}(t),function(t){const n=i({emits:["item-focused","item-attached","item-detached","item-bind","item-unbind"],setup(t,n){const o=e();return n.expose({viewRef:o,updateItem:(e,t)=>{_.callUIFunction(o.value,"updateItem",[e,t])},dispatchItemFunction:(e,t,n,a)=>{_.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},updateItemProps:(e,t,n)=>{_.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},batch:e=>{_.callUIFunction(o.value,"batch",[e])}}),()=>{const e=n.slots.default&&n.slots.default();return b("FastListView",{ref:o,onBindItem:e=>{n.emit("item-bind",e)},onItemFocused:e=>{n.emit("item-focused",e)},onAttachedToWindow:e=>{n.emit("item-attached",e)},onDetachedFromWindow:e=>{n.emit("item-detached",e)},onItemRecycled:e=>{n.emit("item-unbind",e)}},e)}}});t.component("qt-list-item",n)}(t),function(t){const n=i({name:"WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue"],setup(t,n){const o=e();S((()=>{a(!0),i(!0),r(!0),s(!0),u(!0),c(!0),g(!0),f(!0),d(!0),p(!0),l(1),I(2)}));const a=e=>{_.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},l=e=>{_.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},i=e=>{_.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{_.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{_.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{_.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{_.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{_.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{_.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},p=e=>{_.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},g=e=>{_.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},I=e=>{_.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{_.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>{_.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{}))},canGoBack:()=>{_.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{_.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{_.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{_.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{_.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{_.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{_.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{_.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{_.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{_.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{_.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:l,setJavaScriptCanOpenWindowsAutomatically:i,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{_.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{_.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{_.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{_.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{_.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{_.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{_.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{_.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{_.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{_.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{_.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{_.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{_.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{_.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{_.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{_.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{_.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{_.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:p,setBlockNetworkLoads:e=>{_.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:g,setAppCacheMaxSize:e=>{_.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{_.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:I,setAllowContentAccess:e=>{_.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{_.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{_.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{_.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{_.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{_.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{_.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{_.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{_.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{_.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{_.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{_.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{_.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{_.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{_.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{_.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{_.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{_.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{_.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{_.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))}}),()=>b("ESWebViewComponent",{onPageStarted:e=>{let t=e.url;n.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;n.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;n.emit("onLoadResource",t)},onReceivedSslError:e=>{n.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,o=e.description,a=e.failingUrl;n.emit("onReceivedError",t,o,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;n.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;n.emit("onJs2Vue",t)},ref:o})}});t.component("qt-web-view",n)}(t),function(t){const n=i({name:"X5WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue","onJsRewardCall","onJsFinishGame","onJavascriptReceiveValue"],setup(t,n){const o=e();S((()=>{a(!0),i(!0),r(!0),s(!0),u(!0),c(!0),g(!0),f(!0),d(!0),p(!0),l(1),I(2)}));const a=e=>{_.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},l=e=>{_.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},i=e=>{_.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{_.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{_.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{_.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{_.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{_.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{_.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},p=e=>{_.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},g=e=>{_.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},I=e=>{_.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{_.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>{_.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{n.emit("onJavascriptReceiveValue",e)}))},canGoBack:()=>{_.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{_.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{_.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{_.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{_.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{_.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{_.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{_.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{_.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{_.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{_.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:l,setJavaScriptCanOpenWindowsAutomatically:i,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{_.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{_.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{_.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{_.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{_.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{_.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{_.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{_.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{_.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{_.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{_.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{_.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{_.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{_.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{_.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{_.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{_.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{_.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:p,setBlockNetworkLoads:e=>{_.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:g,setAppCacheMaxSize:e=>{_.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{_.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:I,setAllowContentAccess:e=>{_.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{_.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{_.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{_.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{_.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{_.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{_.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{_.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{_.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{_.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{_.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{_.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{_.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{_.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{_.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{_.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{_.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{_.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{_.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{_.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},initJavaScriptInterface:()=>{_.callUIFunction(o.value,"initJavaScriptInterface",[],(e=>{}))},removeJavaScriptInterface:()=>{_.callUIFunction(o.value,"removeJavaScriptInterface",[],(e=>{}))},initWebViewFocus:(e,t,n)=>{_.callUIFunction(o.value,"initWebViewFocus",[e,t,n],(e=>{}))}}),()=>b("ESX5WebViewComponent",{onPageStarted:e=>{let t=e.url;n.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;n.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;n.emit("onLoadResource",t)},onReceivedSslError:e=>{n.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,o=e.description,a=e.failingUrl;n.emit("onReceivedError",t,o,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;n.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;n.emit("onJs2Vue",t)},onJsRewardCall:e=>{let t=e.jsRewardCallValue;n.emit("onJsRewardCall",t)},onJsFinishGame:e=>{let t=e.jsFinishGameValue;n.emit("onJsFinishGame",t)},ref:o})}});t.component("qt-x5web-view",n)}(t),function(t){t.component("qt-qr-code",{setup(t,n){const o=e();return()=>b("QrCodeComponent",{ref:o})}})}(t),function(t){const n=i({name:"qt-seek-bar",props:{emitEventDelay:{type:Number,default:100},onProgressChanged:{type:Function,default:null}},emits:["focus","onSeekStart","onSeekStop","onFocusChanged","seek-change"],setup(t,n){const o=e(),a=e(!1),l=e(1),i=e(0),c=e(0),s=e(0),u=e(0);function r(e){1===l.value&&(u.value=e,_.callUIFunction(o.value,"setProgress",[e],(e=>{})))}function d(e){1===l.value&&(s.value=e,_.callUIFunction(o.value,"setMaxProgress",[e],(e=>{})))}return n.expose({viewRef:o,isSeekBarFocused:a,seekBarMode:l,seekCount:i,progressCallBackTime:c,maxProgress:s,progress:u,startSeek:function(e){if(a.value){l.value=2,n.emit("onSeekStart",u.value),i.value+=1;let a=1;i.value>20?a=2:i.value>50?a=4:i.value>100&&(a=6);let r=s.value,d=Math.floor(.01*r*a);if(u.value=u.value+(e?d:-d),u.value>r?u.value=r:u.value<0&&(u.value=0),_.callUIFunction(o.value,"setProgress",[u.value],(e=>{})),t.onProgressChanged){let e=(new Date).getTime();e-c.value>t.emitEventDelay&&(t.onProgressChanged(u.value),c.value=e)}}},stopSeek:function(){i.value=0,l.value=1,n.emit("onSeekStop",u.value)},isFocused:function(){return a.value},resetSeekbar:function(){l.value=1,d(0),r(0)},invalidateSeekBar:function(){_.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){_.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){_.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestFocus:function(){_.callUIFunction(o.value,"requestFocus",[],(e=>{}))},requestLayout:function(){_.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){_.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){_.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){_.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){_.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){_.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:r,setRangeProgress:function(e,t){_.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){_.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){_.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){_.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){_.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){_.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){_.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){_.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){_.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){_.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){_.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){_.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){_.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){_.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){_.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){_.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){_.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){_.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){_.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){_.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){_.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){_.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){_.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){_.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){_.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){_.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){_.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){_.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){_.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){_.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){_.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){_.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){_.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){_.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){_.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){_.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){_.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){_.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){_.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){_.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){_.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){_.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){_.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){_.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){_.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){_.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){_.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){_.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){_.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){_.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){_.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){_.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){_.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){_.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){_.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){_.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){_.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){_.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){_.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){_.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){_.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){_.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){_.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){_.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){_.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){_.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){_.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){_.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){_.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){_.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){_.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){_.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){_.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){_.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){_.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){_.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){_.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){_.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){_.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){_.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){_.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){_.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){_.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){_.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){_.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){_.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){_.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){_.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){_.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){_.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){_.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){_.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){_.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){_.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){_.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){_.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){_.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){_.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){_.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){_.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){_.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){_.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){_.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){_.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){_.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){_.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){_.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){_.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){_.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){_.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){_.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){_.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){_.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){_.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){_.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){_.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){_.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:d}),()=>b("TVSeekBarViewComponent",{ref:o,onFocus:e=>{a.value=e.isFocused,n.emit("onFocusChanged",e)},onSeekBarChange:e=>{n.emit("seek-change",e)}})}});t.component("qt-seek-bar",n)}(t),function(t){const n=rn({name:"qt-progress-bar",setup(t,n){const o=e();return n.expose({invalidateSeekBar:function(){_.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){_.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){_.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestFocus:function(){_.callUIFunction(o.value,"requestFocus",[],(e=>{}))},requestLayout:function(){_.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){_.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){_.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){_.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){_.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){_.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:function(e){_.callUIFunction(o.value,"setProgress",[e],(e=>{}))},setRangeProgress:function(e,t){_.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){_.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){_.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){_.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){_.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){_.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){_.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){_.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){_.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){_.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){_.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){_.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){_.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){_.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){_.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){_.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){_.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){_.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){_.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){_.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){_.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){_.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){_.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){_.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){_.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){_.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){_.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){_.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){_.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){_.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){_.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){_.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){_.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){_.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){_.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){_.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){_.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){_.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){_.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){_.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){_.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){_.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){_.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){_.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){_.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){_.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){_.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){_.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){_.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){_.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){_.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){_.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){_.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){_.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){_.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){_.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){_.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){_.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){_.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){_.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){_.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){_.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){_.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){_.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){_.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){_.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){_.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){_.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){_.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){_.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){_.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){_.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){_.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){_.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){_.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){_.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){_.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){_.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){_.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){_.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){_.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){_.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){_.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){_.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){_.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){_.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){_.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){_.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){_.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){_.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){_.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){_.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){_.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){_.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){_.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){_.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){_.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){_.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){_.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){_.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){_.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){_.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){_.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){_.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){_.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){_.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){_.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){_.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){_.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){_.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){_.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){_.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){_.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){_.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){_.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){_.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){_.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:function(e){_.callUIFunction(o.value,"setMaxProgress",[e],(e=>{}))}}),()=>b("TVProgressBarViewComponent",{ref:o,onFocusChange:e=>{n.emit("focus",e)},onSeekBarChange:e=>{n.emit("seek-change",e)}})}});t.component("qt-progress-bar",n)}(t),function(t){const n=i({emits:["onAnimationEnd","onAnimationCancel","onAnimationStart","onAnimationRepeat","onAnimationPause","onAnimationResume","onAnimationUpdate"],setup(t,n){const o=e();return n.expose({setPivotX:function(e){_.callUIFunction(o.value,"setPivotX",[e],(e=>{}))},setPivotY:function(e){_.callUIFunction(o.value,"setPivotY",[e],(e=>{}))},resetPivot:function(){_.callUIFunction(o.value,"resetPivot",[],(e=>{}))},resetAnimators:function(){_.callUIFunction(o.value,"resetAnimators",[],(e=>{}))},animatorSet:function(e,t,n){_.callUIFunction(o.value,"animatorSet",[e,t,n],(e=>{}))},startAnimator:function(e){_.callUIFunction(o.value,"startAnimator",[e],(e=>{}))},startAnimatorDelay:function(e,t){_.callUIFunction(o.value,"startAnimatorDelay",[e,t],(e=>{}))},pauseAnimator:function(e){_.callUIFunction(o.value,"pauseAnimator",[e],(e=>{}))},resumeAnimator:function(e){_.callUIFunction(o.value,"resumeAnimator",[e],(e=>{}))},cancelAnimator:function(e){_.callUIFunction(o.value,"cancelAnimator",[e],(e=>{}))},reverseAnimator:function(e){_.callUIFunction(o.value,"reverseAnimator",[e],(e=>{}))},play:function(e,t){_.callUIFunction(o.value,"play",[e,t],(e=>{}))},playWith:function(e,t){_.callUIFunction(o.value,"with",[e,t],(e=>{}))},playBefore:function(e,t){_.callUIFunction(o.value,"before",[e,t],(e=>{}))},playAfter:function(e,t){_.callUIFunction(o.value,"after",[e,t],(e=>{}))},playAfterDelay:function(e,t){_.callUIFunction(o.value,"afterDelay",[e,t],(e=>{}))},playSequentially1:function(e,t){_.callUIFunction(o.value,"playSequentially1",[e,t],(e=>{}))},playSequentially2:function(e,t,n){_.callUIFunction(o.value,"playSequentially2",[e,t,n],(e=>{}))},playSequentially3:function(e,t,n,a){_.callUIFunction(o.value,"playSequentially3",[e,t,n,a],(e=>{}))},playSequentially4:function(e,t,n,a,l){_.callUIFunction(o.value,"playSequentially4",[e,t,n,a,l],(e=>{}))},playSequentially5:function(e,t,n,a,l,i){_.callUIFunction(o.value,"playSequentially5",[e,t,n,a,l,i],(e=>{}))},playTogether1:function(e,t){_.callUIFunction(o.value,"playTogether1",[e,t],(e=>{}))},playTogether2:function(e,t,n){_.callUIFunction(o.value,"playTogether2",[e,t,n],(e=>{}))},playTogether3:function(e,t,n,a){_.callUIFunction(o.value,"playTogether3",[e,t,n,a],(e=>{}))},playTogether4:function(e,t,n,a,l){_.callUIFunction(o.value,"playTogether4",[e,t,n,a,l],(e=>{}))},playTogether5:function(e,t,n,a,l,i){_.callUIFunction(o.value,"playTogether5",[e,t,n,a,l,i],(e=>{}))},objectAnimator:function(e,t,n,a,l,i,c,s,u){_.callUIFunction(o.value,"objectAnimator",[e,t,n,a,l,i,c,s,u],(e=>{}))},objectAnimator1:function(e,t,n,a,l,i,c,s,u,r){_.callUIFunction(o.value,"objectAnimator1",[e,t,n,a,l,i,c,s,u,r],(e=>{}))},objectAnimator2:function(e,t,n,a,l,i,c,s,u,r,d){_.callUIFunction(o.value,"objectAnimator2",[e,t,n,a,l,i,c,s,u,r,d],(e=>{}))},objectAnimator3:function(e,t,n,a,l,i,c,s,u,r,d,f){_.callUIFunction(o.value,"objectAnimator3",[e,t,n,a,l,i,c,s,u,r,d,f],(e=>{}))},objectAnimator4:function(e,t,n,a,l,i,c,s,u,r,d,f,p){_.callUIFunction(o.value,"objectAnimator4",[e,t,n,a,l,i,c,s,u,r,d,f,p],(e=>{}))},objectAnimator5:function(e,t,n,a,l,i,c,s,u,r,d,f,p,g){_.callUIFunction(o.value,"objectAnimator5",[e,t,n,a,l,i,c,s,u,r,d,f,p,g],(e=>{}))},objectAnimator6:function(e,t,n,a,l,i,c,s,u,r,d,f,p,g,I){_.callUIFunction(o.value,"objectAnimator6",[e,t,n,a,l,i,c,s,u,r,d,f,p,g,I],(e=>{}))},objectAnimator7:function(e,t,n,a,l,i,c,s,u,r,d,f,p,g,I,m){_.callUIFunction(o.value,"objectAnimator7",[e,t,n,a,l,i,c,s,u,r,d,f,p,g,I,m],(e=>{}))},objectAnimator8:function(e,t,n,a,l,i,c,s,u,r,d,f,p,g,I,m,v){_.callUIFunction(o.value,"objectAnimator8",[e,t,n,a,l,i,c,s,u,r,d,f,p,g,I,m,v],(e=>{}))},objectAnimator9:function(e,t,n,a,l,i,c,s,u,r,d,f,p,g,I,m,v,h){_.callUIFunction(o.value,"objectAnimator9",[e,t,n,a,l,i,c,s,u,r,d,f,p,g,I,m,v,h],(e=>{}))},objectAnimator10:function(e,t,n,a,l,i,c,s,u,r,d,f,p,g,I,m,v,h,T){_.callUIFunction(o.value,"objectAnimator10",[e,t,n,a,l,i,c,s,u,r,d,f,p,g,I,m,v,h,T],(e=>{}))}}),()=>{const e=n.slots.default&&n.slots.default();return b("AnimationViewComponent",{ref:o,onAnimationCancel:e=>{let t=e.animationId;n.emit("onAnimationCancel",t)},onAnimationEnd:e=>{let t=e.animationId,o=e.isReverse;n.emit("onAnimationEnd",t,o)},onAnimationRepeat:e=>{let t=e.animationId;n.emit("onAnimationRepeat",t)},onAnimationStart:e=>{let t=e.animationId,o=e.isReverse;n.emit("onAnimationStart",t,o)},onAnimationPause:e=>{let t=e.animationId;n.emit("onAnimationPause",t)},onAnimationResume:e=>{let t=e.animationId;n.emit("onAnimationResume",t)},onAnimationUpdate:e=>{let t=e.animationId,o=e.animatedValue;n.emit("onAnimationUpdate",t,o)}},e)}}});t.component("qt-animation",n)}(t),function(t){t.component("qt-dialog",{setup(t,n){const o=e();return()=>b("Modal",{ref:o})}})}(t);for(let e in Pa)t.component(Pa[e].name,Pa[e])};export{_a as QTAnimationInterpolatorType,ya as QTAnimationPropertyName,Ua as QTAnimationRepeatMode,Ea as QTAnimationValueType,Ta as QTDirections,ba as QTNavBarItemType,Fa as QTScrollState,Sa as QTTabItemType,ta as QTTabPageState,ko as QTWaterfallItemType,Ao as QTWaterfallSectionType,La as QuickTVUI,fo as arrangeChildren4ListView};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ export type { QTWaterfallCardPlaceHolder } from './waterfall/core/QTWaterfallCar
|
|
|
37
37
|
export type { QTListViewItem } from './list-view/core/QTListViewItem';
|
|
38
38
|
export type { QTListViewItemDecoration } from './list-view/core/QTListViewItemDecoration';
|
|
39
39
|
export type { QTListViewItemFunctionParams } from './list-view/core/QTListViewItemFunctionParams';
|
|
40
|
+
export type { QTListViewItemState } from './list-view/core/QTListViewItemState';
|
|
40
41
|
export type { QTGridViewItem } from './grid-view/core/QTGridViewItem';
|
|
41
42
|
export type { QTGridViewItemDecoration } from './grid-view/core/QTGridViewItemDecoration';
|
|
42
43
|
export type { QTGridViewItemFunctionParams } from './grid-view/core/QTGridViewItemFunctionParams';
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { QTListViewItemDecoration } from "./QTListViewItemDecoration";
|
|
2
|
+
import { QTListViewItemState } from "./QTListViewItemState";
|
|
2
3
|
export interface QTListViewItem {
|
|
3
4
|
_id?: string;
|
|
4
5
|
type: number;
|
|
5
6
|
decoration?: QTListViewItemDecoration;
|
|
7
|
+
state?: QTListViewItemState;
|
|
6
8
|
[prop: string]: any;
|
|
7
9
|
}
|
|
@@ -35,7 +35,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
35
|
};
|
|
36
36
|
bgPadding: number[];
|
|
37
37
|
onTabChange: (e: any) => void;
|
|
38
|
-
|
|
38
|
+
onTabClick: (e: any) => void;
|
|
39
39
|
scrollToPosition: (index: any) => void;
|
|
40
40
|
scrollToTop: () => void;
|
|
41
41
|
init: (navBar: QTNavBar) => void;
|
|
@@ -1,136 +1,136 @@
|
|
|
1
1
|
import { ESGradient } from "@extscreen/es3-component";
|
|
2
2
|
export interface QTISeekBar {
|
|
3
|
-
setProgress(p: number):
|
|
4
|
-
setMaxProgress(value: number):
|
|
5
|
-
resetSeekbar():
|
|
6
|
-
startSeek(forward:
|
|
7
|
-
stopSeek():
|
|
8
|
-
isFocused():
|
|
9
|
-
invalidateSeekBar():
|
|
10
|
-
setFocusable(focusable: boolean):
|
|
11
|
-
setClickable(clickable: boolean):
|
|
12
|
-
requestFocus():
|
|
13
|
-
requestLayout():
|
|
14
|
-
invalidate():
|
|
15
|
-
setVisible(visible: boolean):
|
|
16
|
-
setLeftSeekBarVisible(visible: boolean):
|
|
17
|
-
setRightSeekBarVisible(visible: boolean):
|
|
18
|
-
setSeekBarMode(mode: number):
|
|
19
|
-
setRangeProgress(leftValue: number, rightValue: number):
|
|
20
|
-
getProgress():
|
|
21
|
-
getLeftProgress():
|
|
22
|
-
getRightProgress():
|
|
23
|
-
setRange(min: number, max: number, minInterval: number):
|
|
24
|
-
setGravity(gravity: number):
|
|
25
|
-
setProgressWidth(progressWidth: number):
|
|
26
|
-
setProgressHeight(progressHeight: number):
|
|
27
|
-
setProgressRadius(progressRadius: number):
|
|
28
|
-
setProgressColor(progressColor: number):
|
|
29
|
-
setProgressDefaultColor(defaultProgressColor: number):
|
|
30
|
-
setProgressDrawable(progressDrawable: ESGradient):
|
|
31
|
-
setProgressDefaultDrawable(progressDefaultDrawable: ESGradient):
|
|
32
|
-
setProgressUrl(progressUrl: string):
|
|
33
|
-
setProgressDefaultUrl(progressDefaultUrl: string):
|
|
34
|
-
showIndicator(showIndicator: boolean):
|
|
35
|
-
showLeftIndicator(showLeftIndicator: boolean):
|
|
36
|
-
showRightIndicator(showRightIndicator: boolean):
|
|
37
|
-
setIndicatorShowMode(indicatorShowMode: number):
|
|
38
|
-
setLeftIndicatorShowMode(indicatorShowMode: number):
|
|
39
|
-
setRightIndicatorShowMode(indicatorShowMode: number):
|
|
40
|
-
setIndicatorWidth(indicatorWidth: number):
|
|
41
|
-
setLeftIndicatorWidth(indicatorWidth: number):
|
|
42
|
-
setRightIndicatorWidth(indicatorWidth: number):
|
|
43
|
-
setIndicatorHeight(indicatorHeight: number):
|
|
44
|
-
setLeftIndicatorHeight(indicatorHeight: number):
|
|
45
|
-
setRightIndicatorHeight(indicatorHeight: number):
|
|
46
|
-
setIndicatorTextDecimalFormat(formatPattern: string):
|
|
47
|
-
setLeftIndicatorTextDecimalFormat(formatPattern: string):
|
|
48
|
-
setRightIndicatorTextDecimalFormat(formatPattern: string):
|
|
49
|
-
setIndicatorTextStringFormat(formatPattern: string):
|
|
50
|
-
setLeftIndicatorTextStringFormat(formatPattern: string):
|
|
51
|
-
setRightIndicatorTextStringFormat(formatPattern: string):
|
|
52
|
-
setIndicatorMargin(indicatorMargin: number):
|
|
53
|
-
setLeftIndicatorMargin(indicatorMargin: number):
|
|
54
|
-
setRightIndicatorMargin(indicatorMargin: number):
|
|
55
|
-
setIndicatorPaddingBottom(indicatorPaddingBottom: number):
|
|
56
|
-
setLeftIndicatorPaddingBottom(indicatorPaddingBottom: number):
|
|
57
|
-
setRightIndicatorPaddingBottom(indicatorPaddingBottom: number):
|
|
58
|
-
setIndicatorPaddingTop(indicatorPaddingTop: number):
|
|
59
|
-
setLeftIndicatorPaddingTop(indicatorPaddingTop: number):
|
|
60
|
-
setRightIndicatorPaddingTop(indicatorPaddingTop: number):
|
|
61
|
-
setIndicatorPaddingLeft(indicatorPaddingLeft: number):
|
|
62
|
-
setLeftIndicatorPaddingLeft(indicatorPaddingLeft: number):
|
|
63
|
-
setRightIndicatorPaddingLeft(indicatorPaddingLeft: number):
|
|
64
|
-
setIndicatorPaddingRight(indicatorPaddingRight: number):
|
|
65
|
-
setLeftIndicatorPaddingRight(indicatorPaddingRight: number):
|
|
66
|
-
setRightIndicatorPaddingRight(indicatorPaddingRight: number):
|
|
67
|
-
setIndicatorBackgroundColor(indicatorBackgroundColor: number):
|
|
68
|
-
setLeftIndicatorBackgroundColor(indicatorBackgroundColor: number):
|
|
69
|
-
setRightIndicatorBackgroundColor(indicatorBackgroundColor: number):
|
|
70
|
-
setIndicatorRadius(indicatorRadius: number):
|
|
71
|
-
setLeftIndicatorRadius(indicatorRadius: number):
|
|
72
|
-
setRightIndicatorRadius(indicatorRadius: number):
|
|
73
|
-
setIndicatorTextSize(indicatorTextSize: number):
|
|
74
|
-
setLeftIndicatorTextSize(indicatorTextSize: number):
|
|
75
|
-
setRightIndicatorTextSize(indicatorTextSize: number):
|
|
76
|
-
setIndicatorTextColor(indicatorTextColor: number):
|
|
77
|
-
setLeftIndicatorTextColor(indicatorTextColor: number):
|
|
78
|
-
setRightIndicatorTextColor(indicatorTextColor: number):
|
|
79
|
-
setIndicatorArrowSize(indicatorArrowSize: number):
|
|
80
|
-
setLeftIndicatorArrowSize(indicatorArrowSize: number):
|
|
81
|
-
setRightIndicatorArrowSize(indicatorArrowSize: number):
|
|
82
|
-
setIndicatorDrawable(indicatorDrawable: ESGradient):
|
|
83
|
-
setLeftIndicatorDrawable(leftIndicatorDrawable: ESGradient):
|
|
84
|
-
setRightIndicatorDrawable(rightIndicatorDrawable: ESGradient):
|
|
85
|
-
setIndicatorUrl(indicatorUrl: string):
|
|
86
|
-
setLeftIndicatorUrl(leftIndicatorUrl: string):
|
|
87
|
-
setRightIndicatorUrl(rightIndicatorUrl: string):
|
|
88
|
-
setThumbWidth(thumbWidth: number):
|
|
89
|
-
setLeftThumbWidth(thumbWidth: number):
|
|
90
|
-
setRightThumbWidth(thumbWidth: number):
|
|
91
|
-
setThumbHeight(thumbHeight: number):
|
|
92
|
-
setLeftThumbHeight(thumbHeight: number):
|
|
93
|
-
setRightThumbHeight(thumbHeight: number):
|
|
94
|
-
scaleThumb():
|
|
95
|
-
scaleLeftThumb():
|
|
96
|
-
scaleRightThumb():
|
|
97
|
-
resetThumb():
|
|
98
|
-
resetLeftThumb():
|
|
99
|
-
resetRightThumb():
|
|
100
|
-
setThumbScaleRatio(thumbScaleRatio: number):
|
|
101
|
-
setLeftThumbScaleRatio(thumbScaleRatio: number):
|
|
102
|
-
setRightThumbScaleRatio(thumbScaleRatio: number):
|
|
103
|
-
setThumbActivate(activate: boolean):
|
|
104
|
-
setLeftThumbActivate(activate: boolean):
|
|
105
|
-
setRightThumbActivate(activate: boolean):
|
|
106
|
-
setThumbDrawable(drawable: ESGradient):
|
|
107
|
-
setLeftThumbDrawable(drawable: ESGradient):
|
|
108
|
-
setRightThumbDrawable(drawable: ESGradient):
|
|
109
|
-
setThumbUrl(url: string):
|
|
110
|
-
setLeftThumbUrl(url: string):
|
|
111
|
-
setRightThumbUrl(url: string):
|
|
112
|
-
setThumbInactivatedDrawable(drawable: ESGradient):
|
|
113
|
-
setLeftThumbInactivatedDrawable(drawable: ESGradient):
|
|
114
|
-
setRightThumbInactivatedDrawable(drawable: ESGradient):
|
|
115
|
-
setThumbInactivatedUrl(url: string):
|
|
116
|
-
setLeftThumbInactivatedUrl(url: string):
|
|
117
|
-
setRightThumbInactivatedUrl(url: string):
|
|
118
|
-
setTickMarkMode(tickMarkMode: number):
|
|
119
|
-
setTickMarkGravity(tickMarkGravity: number):
|
|
120
|
-
setTickMarkLayoutGravity(tickMarkLayoutGravity: number):
|
|
121
|
-
setTickMarkTextArray(tickMarkTextArray: Array<string>):
|
|
122
|
-
setTickMarkTextMargin(tickMarkTextMargin: number):
|
|
123
|
-
setTickMarkTextSize(tickMarkTextSize: number):
|
|
124
|
-
setTickMarkTextColor(tickMarkTextColor: number):
|
|
125
|
-
setTickMarkInRangeTextColor(tickMarkInRangeTextColor: number):
|
|
126
|
-
setSteps(steps: number):
|
|
127
|
-
setStepsWidth(stepsWidth: number):
|
|
128
|
-
setStepsHeight(stepsHeight: number):
|
|
129
|
-
setStepsRadius(stepsRadius: number):
|
|
130
|
-
setStepsColor(stepsColor: number):
|
|
131
|
-
setStepsAutoBonding(stepsAutoBonding: boolean):
|
|
132
|
-
setStepsDrawable(drawableArray: Array<ESGradient>):
|
|
133
|
-
setStepsUrl(urlArray: Array<string>):
|
|
134
|
-
setSecondProgress(progress: number):
|
|
135
|
-
show(value: boolean):
|
|
3
|
+
setProgress(p: number): void;
|
|
4
|
+
setMaxProgress(value: number): void;
|
|
5
|
+
resetSeekbar(): void;
|
|
6
|
+
startSeek(forward: boolean): void;
|
|
7
|
+
stopSeek(): void;
|
|
8
|
+
isFocused(): void;
|
|
9
|
+
invalidateSeekBar(): void;
|
|
10
|
+
setFocusable(focusable: boolean): void;
|
|
11
|
+
setClickable(clickable: boolean): void;
|
|
12
|
+
requestFocus(): void;
|
|
13
|
+
requestLayout(): void;
|
|
14
|
+
invalidate(): void;
|
|
15
|
+
setVisible(visible: boolean): void;
|
|
16
|
+
setLeftSeekBarVisible(visible: boolean): void;
|
|
17
|
+
setRightSeekBarVisible(visible: boolean): void;
|
|
18
|
+
setSeekBarMode(mode: number): void;
|
|
19
|
+
setRangeProgress(leftValue: number, rightValue: number): void;
|
|
20
|
+
getProgress(): void;
|
|
21
|
+
getLeftProgress(): void;
|
|
22
|
+
getRightProgress(): void;
|
|
23
|
+
setRange(min: number, max: number, minInterval: number): void;
|
|
24
|
+
setGravity(gravity: number): void;
|
|
25
|
+
setProgressWidth(progressWidth: number): void;
|
|
26
|
+
setProgressHeight(progressHeight: number): void;
|
|
27
|
+
setProgressRadius(progressRadius: number): void;
|
|
28
|
+
setProgressColor(progressColor: number): void;
|
|
29
|
+
setProgressDefaultColor(defaultProgressColor: number): void;
|
|
30
|
+
setProgressDrawable(progressDrawable: ESGradient): void;
|
|
31
|
+
setProgressDefaultDrawable(progressDefaultDrawable: ESGradient): void;
|
|
32
|
+
setProgressUrl(progressUrl: string): void;
|
|
33
|
+
setProgressDefaultUrl(progressDefaultUrl: string): void;
|
|
34
|
+
showIndicator(showIndicator: boolean): void;
|
|
35
|
+
showLeftIndicator(showLeftIndicator: boolean): void;
|
|
36
|
+
showRightIndicator(showRightIndicator: boolean): void;
|
|
37
|
+
setIndicatorShowMode(indicatorShowMode: number): void;
|
|
38
|
+
setLeftIndicatorShowMode(indicatorShowMode: number): void;
|
|
39
|
+
setRightIndicatorShowMode(indicatorShowMode: number): void;
|
|
40
|
+
setIndicatorWidth(indicatorWidth: number): void;
|
|
41
|
+
setLeftIndicatorWidth(indicatorWidth: number): void;
|
|
42
|
+
setRightIndicatorWidth(indicatorWidth: number): void;
|
|
43
|
+
setIndicatorHeight(indicatorHeight: number): void;
|
|
44
|
+
setLeftIndicatorHeight(indicatorHeight: number): void;
|
|
45
|
+
setRightIndicatorHeight(indicatorHeight: number): void;
|
|
46
|
+
setIndicatorTextDecimalFormat(formatPattern: string): void;
|
|
47
|
+
setLeftIndicatorTextDecimalFormat(formatPattern: string): void;
|
|
48
|
+
setRightIndicatorTextDecimalFormat(formatPattern: string): void;
|
|
49
|
+
setIndicatorTextStringFormat(formatPattern: string): void;
|
|
50
|
+
setLeftIndicatorTextStringFormat(formatPattern: string): void;
|
|
51
|
+
setRightIndicatorTextStringFormat(formatPattern: string): void;
|
|
52
|
+
setIndicatorMargin(indicatorMargin: number): void;
|
|
53
|
+
setLeftIndicatorMargin(indicatorMargin: number): void;
|
|
54
|
+
setRightIndicatorMargin(indicatorMargin: number): void;
|
|
55
|
+
setIndicatorPaddingBottom(indicatorPaddingBottom: number): void;
|
|
56
|
+
setLeftIndicatorPaddingBottom(indicatorPaddingBottom: number): void;
|
|
57
|
+
setRightIndicatorPaddingBottom(indicatorPaddingBottom: number): void;
|
|
58
|
+
setIndicatorPaddingTop(indicatorPaddingTop: number): void;
|
|
59
|
+
setLeftIndicatorPaddingTop(indicatorPaddingTop: number): void;
|
|
60
|
+
setRightIndicatorPaddingTop(indicatorPaddingTop: number): void;
|
|
61
|
+
setIndicatorPaddingLeft(indicatorPaddingLeft: number): void;
|
|
62
|
+
setLeftIndicatorPaddingLeft(indicatorPaddingLeft: number): void;
|
|
63
|
+
setRightIndicatorPaddingLeft(indicatorPaddingLeft: number): void;
|
|
64
|
+
setIndicatorPaddingRight(indicatorPaddingRight: number): void;
|
|
65
|
+
setLeftIndicatorPaddingRight(indicatorPaddingRight: number): void;
|
|
66
|
+
setRightIndicatorPaddingRight(indicatorPaddingRight: number): void;
|
|
67
|
+
setIndicatorBackgroundColor(indicatorBackgroundColor: number): void;
|
|
68
|
+
setLeftIndicatorBackgroundColor(indicatorBackgroundColor: number): void;
|
|
69
|
+
setRightIndicatorBackgroundColor(indicatorBackgroundColor: number): void;
|
|
70
|
+
setIndicatorRadius(indicatorRadius: number): void;
|
|
71
|
+
setLeftIndicatorRadius(indicatorRadius: number): void;
|
|
72
|
+
setRightIndicatorRadius(indicatorRadius: number): void;
|
|
73
|
+
setIndicatorTextSize(indicatorTextSize: number): void;
|
|
74
|
+
setLeftIndicatorTextSize(indicatorTextSize: number): void;
|
|
75
|
+
setRightIndicatorTextSize(indicatorTextSize: number): void;
|
|
76
|
+
setIndicatorTextColor(indicatorTextColor: number): void;
|
|
77
|
+
setLeftIndicatorTextColor(indicatorTextColor: number): void;
|
|
78
|
+
setRightIndicatorTextColor(indicatorTextColor: number): void;
|
|
79
|
+
setIndicatorArrowSize(indicatorArrowSize: number): void;
|
|
80
|
+
setLeftIndicatorArrowSize(indicatorArrowSize: number): void;
|
|
81
|
+
setRightIndicatorArrowSize(indicatorArrowSize: number): void;
|
|
82
|
+
setIndicatorDrawable(indicatorDrawable: ESGradient): void;
|
|
83
|
+
setLeftIndicatorDrawable(leftIndicatorDrawable: ESGradient): void;
|
|
84
|
+
setRightIndicatorDrawable(rightIndicatorDrawable: ESGradient): void;
|
|
85
|
+
setIndicatorUrl(indicatorUrl: string): void;
|
|
86
|
+
setLeftIndicatorUrl(leftIndicatorUrl: string): void;
|
|
87
|
+
setRightIndicatorUrl(rightIndicatorUrl: string): void;
|
|
88
|
+
setThumbWidth(thumbWidth: number): void;
|
|
89
|
+
setLeftThumbWidth(thumbWidth: number): void;
|
|
90
|
+
setRightThumbWidth(thumbWidth: number): void;
|
|
91
|
+
setThumbHeight(thumbHeight: number): void;
|
|
92
|
+
setLeftThumbHeight(thumbHeight: number): void;
|
|
93
|
+
setRightThumbHeight(thumbHeight: number): void;
|
|
94
|
+
scaleThumb(): void;
|
|
95
|
+
scaleLeftThumb(): void;
|
|
96
|
+
scaleRightThumb(): void;
|
|
97
|
+
resetThumb(): void;
|
|
98
|
+
resetLeftThumb(): void;
|
|
99
|
+
resetRightThumb(): void;
|
|
100
|
+
setThumbScaleRatio(thumbScaleRatio: number): void;
|
|
101
|
+
setLeftThumbScaleRatio(thumbScaleRatio: number): void;
|
|
102
|
+
setRightThumbScaleRatio(thumbScaleRatio: number): void;
|
|
103
|
+
setThumbActivate(activate: boolean): void;
|
|
104
|
+
setLeftThumbActivate(activate: boolean): void;
|
|
105
|
+
setRightThumbActivate(activate: boolean): void;
|
|
106
|
+
setThumbDrawable(drawable: ESGradient): void;
|
|
107
|
+
setLeftThumbDrawable(drawable: ESGradient): void;
|
|
108
|
+
setRightThumbDrawable(drawable: ESGradient): void;
|
|
109
|
+
setThumbUrl(url: string): void;
|
|
110
|
+
setLeftThumbUrl(url: string): void;
|
|
111
|
+
setRightThumbUrl(url: string): void;
|
|
112
|
+
setThumbInactivatedDrawable(drawable: ESGradient): void;
|
|
113
|
+
setLeftThumbInactivatedDrawable(drawable: ESGradient): void;
|
|
114
|
+
setRightThumbInactivatedDrawable(drawable: ESGradient): void;
|
|
115
|
+
setThumbInactivatedUrl(url: string): void;
|
|
116
|
+
setLeftThumbInactivatedUrl(url: string): void;
|
|
117
|
+
setRightThumbInactivatedUrl(url: string): void;
|
|
118
|
+
setTickMarkMode(tickMarkMode: number): void;
|
|
119
|
+
setTickMarkGravity(tickMarkGravity: number): void;
|
|
120
|
+
setTickMarkLayoutGravity(tickMarkLayoutGravity: number): void;
|
|
121
|
+
setTickMarkTextArray(tickMarkTextArray: Array<string>): void;
|
|
122
|
+
setTickMarkTextMargin(tickMarkTextMargin: number): void;
|
|
123
|
+
setTickMarkTextSize(tickMarkTextSize: number): void;
|
|
124
|
+
setTickMarkTextColor(tickMarkTextColor: number): void;
|
|
125
|
+
setTickMarkInRangeTextColor(tickMarkInRangeTextColor: number): void;
|
|
126
|
+
setSteps(steps: number): void;
|
|
127
|
+
setStepsWidth(stepsWidth: number): void;
|
|
128
|
+
setStepsHeight(stepsHeight: number): void;
|
|
129
|
+
setStepsRadius(stepsRadius: number): void;
|
|
130
|
+
setStepsColor(stepsColor: number): void;
|
|
131
|
+
setStepsAutoBonding(stepsAutoBonding: boolean): void;
|
|
132
|
+
setStepsDrawable(drawableArray: Array<ESGradient>): void;
|
|
133
|
+
setStepsUrl(urlArray: Array<string>): void;
|
|
134
|
+
setSecondProgress(progress: number): void;
|
|
135
|
+
show(value: boolean): void;
|
|
136
136
|
}
|
|
@@ -3,6 +3,7 @@ import { QTWaterfallItem } from "../waterfall/core/QTWaterfallItem";
|
|
|
3
3
|
import { QTTabIndex } from "./QTTabIndex";
|
|
4
4
|
import { QTTabPageDataState } from "./QTTabPageDataState";
|
|
5
5
|
import { QTTab } from "./QTTab";
|
|
6
|
+
import { QTListViewItemState } from "../list-view/core/QTListViewItemState";
|
|
6
7
|
export interface QTTabDataManager {
|
|
7
8
|
initTab(tab: QTTab): void;
|
|
8
9
|
setPageData(pageIndex: number, page: QTTabPageDataState): void;
|
|
@@ -13,6 +14,8 @@ export interface QTTabDataManager {
|
|
|
13
14
|
updateSectionList(pageIndex: number, sectionList: Array<QTWaterfallSection>): QTTabIndex;
|
|
14
15
|
updateSection(pageIndex: number, sectionIndex: number, section: QTWaterfallSection): QTTabIndex;
|
|
15
16
|
getSection(pageIndex: number, sectionIndex: number): QTWaterfallSection | undefined;
|
|
17
|
+
setSectionState(pageIndex: number, sectionIndex: number, state: QTListViewItemState): void;
|
|
18
|
+
getSectionListByState(pageIndex: number, state: QTListViewItemState): Array<QTWaterfallSection>;
|
|
16
19
|
addItemList(pageIndex: number, sectionIndex: number, itemList: Array<QTWaterfallItem>): QTTabIndex;
|
|
17
20
|
deleteItem(pageIndex: number, sectionIndex: number, itemIndex: number, count: number): QTTabIndex;
|
|
18
21
|
updateItem(pageIndex: number, sectionIndex: number, itemIndex: number, item: QTWaterfallItem): QTTabIndex;
|
|
@@ -160,8 +160,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
160
160
|
onTabPageScrollToStart: (evt: any) => void;
|
|
161
161
|
onTabPageScrollToEnd: (evt: any) => void;
|
|
162
162
|
onTabChange: (e: any) => void;
|
|
163
|
-
|
|
164
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onTabPageLoadData" | "onTabPageChanged" | "onTabEvent" | "onTabPageItemClick" | "onTabPageItemFocused" | "onTabPageSectionAttached" | "onTabPageScroll" | "onTabPageScrollStateChanged" | "onTabMoveToTopStart" | "onTabMoveToTopEnd" | "onTabMoveToBottomStart" | "onTabMoveToBottomEnd" | "onTabChanged" | "onTabPageScrollToEnd" | "onTabPageScrollToStart" | "
|
|
163
|
+
onTabClick: (e: QTTabItem) => void;
|
|
164
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onTabPageLoadData" | "onTabPageChanged" | "onTabEvent" | "onTabPageItemClick" | "onTabPageItemFocused" | "onTabPageSectionAttached" | "onTabPageScroll" | "onTabPageScrollStateChanged" | "onTabMoveToTopStart" | "onTabMoveToTopEnd" | "onTabMoveToBottomStart" | "onTabMoveToBottomEnd" | "onTabChanged" | "onTabPageScrollToEnd" | "onTabPageScrollToStart" | "onTabClick")[], "onTabPageLoadData" | "onTabPageChanged" | "onTabEvent" | "onTabPageItemClick" | "onTabPageItemFocused" | "onTabPageSectionAttached" | "onTabPageScroll" | "onTabPageScrollStateChanged" | "onTabMoveToTopStart" | "onTabMoveToTopEnd" | "onTabMoveToBottomStart" | "onTabMoveToBottomEnd" | "onTabChanged" | "onTabPageScrollToEnd" | "onTabPageScrollToStart" | "onTabClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
165
165
|
enablePlaceholder: {
|
|
166
166
|
type: BooleanConstructor;
|
|
167
167
|
default: boolean;
|
|
@@ -277,7 +277,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
277
277
|
onOnTabChanged?: ((...args: any[]) => any) | undefined;
|
|
278
278
|
onOnTabPageScrollToEnd?: ((...args: any[]) => any) | undefined;
|
|
279
279
|
onOnTabPageScrollToStart?: ((...args: any[]) => any) | undefined;
|
|
280
|
-
|
|
280
|
+
onOnTabClick?: ((...args: any[]) => any) | undefined;
|
|
281
281
|
}, {
|
|
282
282
|
enablePlaceholder: boolean;
|
|
283
283
|
preloadNumber: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quicktvui/quicktvui3",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.31",
|
|
4
4
|
"description": "ExtScreen framework",
|
|
5
5
|
"author": "ExtScreen Team",
|
|
6
6
|
"homepage": "http://extscreen.com",
|
|
@@ -17,6 +17,5 @@
|
|
|
17
17
|
],
|
|
18
18
|
"files": [
|
|
19
19
|
"dist"
|
|
20
|
-
]
|
|
21
|
-
"type": "module"
|
|
20
|
+
]
|
|
22
21
|
}
|