diff --git a/db/TDesign.db b/db/TDesign.db index 6824e9fe..bf491bd5 100644 Binary files a/db/TDesign.db and b/db/TDesign.db differ diff --git a/packages/frontend/_site/assets/index.8bca0f80.js b/packages/frontend/_site/assets/index.a1977b0e.js similarity index 99% rename from packages/frontend/_site/assets/index.8bca0f80.js rename to packages/frontend/_site/assets/index.a1977b0e.js index cade3726..58aeb6fb 100644 --- a/packages/frontend/_site/assets/index.8bca0f80.js +++ b/packages/frontend/_site/assets/index.a1977b0e.js @@ -2231,4 +2231,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho * tdesign v1.11.1 * (c) 2025 tdesign * @license MIT - */function YT(t,e){t._installedPlugins.indexOf(it)===-1&&t.use(it),Object.keys(_c).forEach(function(r){if(_c[r]){if(/directive/i.test(r))return;/plugin/i.test(r)?t.use(_c[r]):t.use(_c[r],e)}})}typeof window!="undefined"&&window.Vue&&YT(window.Vue);var _ne={install:YT,version:"1.11.1"};const xne="modulepreload",Dx={},Ene="/",kx=function(e,r){return!r||r.length===0?e():Promise.all(r.map(n=>{if(n=`${Ene}${n}`,n in Dx)return;Dx[n]=!0;const a=n.endsWith(".css"),i=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${n}"]${i}`))return;const o=document.createElement("link");if(o.rel=a?"stylesheet":xne,a||(o.as="script",o.crossOrigin=""),o.href=n,document.head.appendChild(o),a)return new Promise((l,s)=>{o.addEventListener("load",l),o.addEventListener("error",()=>s(new Error(`Unable to preload CSS for ${n}`)))})})).then(()=>e())},Dne=[{path:"/api_design",component:()=>kx(()=>import("./index.b17e133c.js"),["assets/index.b17e133c.js","assets/index.d2ef5ea3.css"])},{path:"/apis",component:()=>kx(()=>import("./preview.0ab53baa.js"),["assets/preview.0ab53baa.js","assets/index.b17e133c.js","assets/index.d2ef5ea3.css"])},{path:"*",redirect:"/api_design"}];var kne=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("router-view")},jne=[];function Tne(t,e,r,n,a,i,o,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=r,s._compiled=!0),n&&(s.functional=!0),i&&(s._scopeId="data-v-"+i);var u;if(o?(u=function(f){f=f||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!f&&typeof __VUE_SSR_CONTEXT__!="undefined"&&(f=__VUE_SSR_CONTEXT__),a&&a.call(this,f),f&&f._registeredComponents&&f._registeredComponents.add(o)},s._ssrRegister=u):a&&(u=l?function(){a.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:a),u)if(s.functional){s._injectStyles=u;var c=s.render;s.render=function(v,h){return u.call(h),c(v,h)}}else{var d=s.beforeCreate;s.beforeCreate=d?[].concat(d,u):[u]}return{exports:t,options:s}}const Ine={},jx={};var $ne=Tne(Ine,kne,jne,!1,Nne,null,null,null);function Nne(t){for(let e in jx)this[e]=jx[e]}var Fne=function(){return $ne.exports}();ie.use(V1);ie.use(_ne);const Ane=new V1({mode:"history",routes:Dne});ie.config.productionTip=!1;new ie({router:Ane,render:t=>t(Fne)}).$mount("#app");export{Xte as B,Fn as C,vT as D,lW as I,sr as L,xi as O,nne as P,Oj as R,fa as S,ie as V,lt as a,ll as b,wf as c,Mr as d,nn as e,Tf as f,f3 as g,em as h,Tne as n}; + */function YT(t,e){t._installedPlugins.indexOf(it)===-1&&t.use(it),Object.keys(_c).forEach(function(r){if(_c[r]){if(/directive/i.test(r))return;/plugin/i.test(r)?t.use(_c[r]):t.use(_c[r],e)}})}typeof window!="undefined"&&window.Vue&&YT(window.Vue);var _ne={install:YT,version:"1.11.1"};const xne="modulepreload",Dx={},Ene="/",kx=function(e,r){return!r||r.length===0?e():Promise.all(r.map(n=>{if(n=`${Ene}${n}`,n in Dx)return;Dx[n]=!0;const a=n.endsWith(".css"),i=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${n}"]${i}`))return;const o=document.createElement("link");if(o.rel=a?"stylesheet":xne,a||(o.as="script",o.crossOrigin=""),o.href=n,document.head.appendChild(o),a)return new Promise((l,s)=>{o.addEventListener("load",l),o.addEventListener("error",()=>s(new Error(`Unable to preload CSS for ${n}`)))})})).then(()=>e())},Dne=[{path:"/api_design",component:()=>kx(()=>import("./index.b2eb7d93.js"),["assets/index.b2eb7d93.js","assets/index.d2ef5ea3.css"])},{path:"/apis",component:()=>kx(()=>import("./preview.6d635fb9.js"),["assets/preview.6d635fb9.js","assets/index.b2eb7d93.js","assets/index.d2ef5ea3.css"])},{path:"*",redirect:"/api_design"}];var kne=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("router-view")},jne=[];function Tne(t,e,r,n,a,i,o,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=r,s._compiled=!0),n&&(s.functional=!0),i&&(s._scopeId="data-v-"+i);var u;if(o?(u=function(f){f=f||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!f&&typeof __VUE_SSR_CONTEXT__!="undefined"&&(f=__VUE_SSR_CONTEXT__),a&&a.call(this,f),f&&f._registeredComponents&&f._registeredComponents.add(o)},s._ssrRegister=u):a&&(u=l?function(){a.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:a),u)if(s.functional){s._injectStyles=u;var c=s.render;s.render=function(v,h){return u.call(h),c(v,h)}}else{var d=s.beforeCreate;s.beforeCreate=d?[].concat(d,u):[u]}return{exports:t,options:s}}const Ine={},jx={};var $ne=Tne(Ine,kne,jne,!1,Nne,null,null,null);function Nne(t){for(let e in jx)this[e]=jx[e]}var Fne=function(){return $ne.exports}();ie.use(V1);ie.use(_ne);const Ane=new V1({mode:"history",routes:Dne});ie.config.productionTip=!1;new ie({router:Ane,render:t=>t(Fne)}).$mount("#app");export{Xte as B,Fn as C,vT as D,lW as I,sr as L,xi as O,nne as P,Oj as R,fa as S,ie as V,lt as a,ll as b,wf as c,Mr as d,nn as e,Tf as f,f3 as g,em as h,Tne as n}; diff --git a/packages/frontend/_site/assets/index.b17e133c.js b/packages/frontend/_site/assets/index.b2eb7d93.js similarity index 70% rename from packages/frontend/_site/assets/index.b17e133c.js rename to packages/frontend/_site/assets/index.b2eb7d93.js index 57f34b4f..603666f4 100644 --- a/packages/frontend/_site/assets/index.b17e133c.js +++ b/packages/frontend/_site/assets/index.b2eb7d93.js @@ -1,28 +1,28 @@ -import{c as dn,n as Yi,B as r1,a as gg,P as n1,C as vg,b as mg,S as kp,O as Lp,I as i1,d as yg,e as a1,R as o1,f as s1,V as tu,g as l1,h as u1,D as f1,L as c1}from"./index.8bca0f80.js";import p1 from"https://tdesign.gtimg.com/js/prettier%402.8.1-standalone.mjs";import d1 from"https://tdesign.gtimg.com/js/prettier%402.8.1-parser-babel.mjs";var bg={exports:{}},Pp={exports:{}};(function(r,u){(function(a,c){r.exports=c()})(dn,function(){var a=navigator.userAgent,c=navigator.platform,h=/gecko\/\d/i.test(a),y=/MSIE \d/.test(a),S=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(a),x=/Edge\/(\d+)/.exec(a),A=y||S||x,k=A&&(y?document.documentMode||6:+(x||S)[1]),E=!x&&/WebKit\//.test(a),j=E&&/Qt\/\d+\.\d+/.test(a),H=!x&&/Chrome\/(\d+)/.exec(a),Y=H&&+H[1],Q=/Opera\//.test(a),ae=/Apple Computer/.test(navigator.vendor),ie=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(a),re=/PhantomJS/.test(a),N=ae&&(/Mobile\/\w+/.test(a)||navigator.maxTouchPoints>2),B=/Android/.test(a),q=N||B||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(a),J=N||/Mac/.test(c),ne=/\bCrOS\b/.test(a),de=/win/i.test(c),xe=Q&&a.match(/Version\/(\d*\.\d*)/);xe&&(xe=Number(xe[1])),xe&&xe>=15&&(Q=!1,E=!0);var ve=J&&(j||Q&&(xe==null||xe<12.11)),He=h||A&&k>=9;function tt(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var gt=function(e,t){var o=e.className,i=tt(t).exec(o);if(i){var l=o.slice(i.index+i[0].length);e.className=o.slice(0,i.index)+(l?i[1]+l:"")}};function X(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function me(e,t){return X(e).appendChild(t)}function P(e,t,o,i){var l=document.createElement(e);if(o&&(l.className=o),i&&(l.style.cssText=i),typeof t=="string")l.appendChild(document.createTextNode(t));else if(t)for(var p=0;p=t)return d+(t-p);d+=v-p,d+=o-d%o,p=v+1}}var hr=function(){this.id=null,this.f=null,this.time=0,this.handler=$e(this.onTimeout,this)};hr.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},hr.prototype.set=function(e,t){this.f=t;var o=+new Date+e;(!this.id||o=t)return i+Math.min(d,t-l);if(l+=p-i,l+=o-l%o,i=p+1,l>=t)return i}}var gn=[""];function Wa(e){for(;gn.length<=e;)gn.push(je(gn)+" ");return gn[e]}function je(e){return e[e.length-1]}function tr(e,t){for(var o=[],i=0;i"\x80"&&(e.toUpperCase()!=e.toLowerCase()||xi.test(e))}function xr(e,t){return t?t.source.indexOf("\\w")>-1&&ja(e)?!0:t.test(e):ja(e)}function Mn(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var Gr=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Ct(e){return e.charCodeAt(0)>=768&&Gr.test(e)}function vn(e,t,o){for(;(o<0?t>0:to?-1:1;;){if(t==o)return t;var l=(t+o)/2,p=i<0?Math.ceil(l):Math.floor(l);if(p==t)return e(p)?t:o;e(p)?o=p:t=p+i}}function mn(e,t,o,i){if(!e)return i(t,o,"ltr",0);for(var l=!1,p=0;pt||t==o&&d.to==t)&&(i(Math.max(d.from,t),Math.min(d.to,o),d.level==1?"rtl":"ltr",p),l=!0)}l||i(t,o,"ltr")}var In=null;function yn(e,t,o){var i;In=null;for(var l=0;lt)return l;p.to==t&&(p.from!=p.to&&o=="before"?i=l:In=l),p.from==t&&(p.from!=p.to&&o!="before"?i=l:In=l)}return i!=null?i:In}var Ua=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function o(b){return b<=247?e.charAt(b):1424<=b&&b<=1524?"R":1536<=b&&b<=1785?t.charAt(b-1536):1774<=b&&b<=2220?"r":8192<=b&&b<=8203?"w":b==8204?"b":"L"}var i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,l=/[stwN]/,p=/[LRr]/,d=/[Lb1n]/,v=/[1n]/;function m(b,$,O){this.level=b,this.from=$,this.to=O}return function(b,$){var O=$=="ltr"?"L":"R";if(b.length==0||$=="ltr"&&!i.test(b))return!1;for(var R=b.length,I=[],G=0;G-1&&(i[t]=l.slice(0,p).concat(l.slice(p+1)))}}}function ft(e,t){var o=Nn(e,t);if(!!o.length)for(var i=Array.prototype.slice.call(arguments,2),l=0;l0}function qr(e){e.prototype.on=function(t,o){Te(this,t,o)},e.prototype.off=function(t,o){Jt(this,t,o)}}function Zt(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Ji(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function fr(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function Jn(e){Zt(e),Ji(e)}function Si(e){return e.target||e.srcElement}function Vr(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),J&&e.ctrlKey&&t==1&&(t=3),t}var Ha=function(){if(A&&k<9)return!1;var e=P("div");return"draggable"in e||"dragDrop"in e}(),Zi;function Lo(e){if(Zi==null){var t=P("span","\u200B");me(e,P("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(Zi=t.offsetWidth<=1&&t.offsetHeight>2&&!(A&&k<8))}var o=Zi?P("span","\u200B"):P("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return o.setAttribute("cm-text",""),o}var za;function Zn(e){if(za!=null)return za;var t=me(e,document.createTextNode("A\u062EA")),o=vt(t,0,1).getBoundingClientRect(),i=vt(t,1,2).getBoundingClientRect();return X(e),!o||o.left==o.right?!1:za=i.right-o.right<3}var Mr=` +import{c as dn,n as Yi,B as r1,a as gg,P as n1,C as vg,b as mg,S as kp,O as Lp,I as i1,d as yg,e as a1,R as o1,f as s1,V as tu,g as l1,h as u1,D as f1,L as c1}from"./index.a1977b0e.js";import p1 from"https://tdesign.gtimg.com/js/prettier%402.8.1-standalone.mjs";import d1 from"https://tdesign.gtimg.com/js/prettier%402.8.1-parser-babel.mjs";var bg={exports:{}},Pp={exports:{}};(function(r,u){(function(a,c){r.exports=c()})(dn,function(){var a=navigator.userAgent,c=navigator.platform,h=/gecko\/\d/i.test(a),y=/MSIE \d/.test(a),S=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(a),x=/Edge\/(\d+)/.exec(a),A=y||S||x,k=A&&(y?document.documentMode||6:+(x||S)[1]),E=!x&&/WebKit\//.test(a),U=E&&/Qt\/\d+\.\d+/.test(a),H=!x&&/Chrome\/(\d+)/.exec(a),Y=H&&+H[1],Q=/Opera\//.test(a),ae=/Apple Computer/.test(navigator.vendor),ie=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(a),re=/PhantomJS/.test(a),N=ae&&(/Mobile\/\w+/.test(a)||navigator.maxTouchPoints>2),B=/Android/.test(a),q=N||B||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(a),J=N||/Mac/.test(c),ne=/\bCrOS\b/.test(a),de=/win/i.test(c),xe=Q&&a.match(/Version\/(\d*\.\d*)/);xe&&(xe=Number(xe[1])),xe&&xe>=15&&(Q=!1,E=!0);var ve=J&&(U||Q&&(xe==null||xe<12.11)),He=h||A&&k>=9;function tt(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var gt=function(e,t){var o=e.className,i=tt(t).exec(o);if(i){var l=o.slice(i.index+i[0].length);e.className=o.slice(0,i.index)+(l?i[1]+l:"")}};function X(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function me(e,t){return X(e).appendChild(t)}function P(e,t,o,i){var l=document.createElement(e);if(o&&(l.className=o),i&&(l.style.cssText=i),typeof t=="string")l.appendChild(document.createTextNode(t));else if(t)for(var p=0;p=t)return d+(t-p);d+=v-p,d+=o-d%o,p=v+1}}var hr=function(){this.id=null,this.f=null,this.time=0,this.handler=$e(this.onTimeout,this)};hr.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},hr.prototype.set=function(e,t){this.f=t;var o=+new Date+e;(!this.id||o=t)return i+Math.min(d,t-l);if(l+=p-i,l+=o-l%o,i=p+1,l>=t)return i}}var gn=[""];function Wa(e){for(;gn.length<=e;)gn.push(Ue(gn)+" ");return gn[e]}function Ue(e){return e[e.length-1]}function tr(e,t){for(var o=[],i=0;i"\x80"&&(e.toUpperCase()!=e.toLowerCase()||xi.test(e))}function xr(e,t){return t?t.source.indexOf("\\w")>-1&&Ua(e)?!0:t.test(e):Ua(e)}function Mn(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var Gr=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Ct(e){return e.charCodeAt(0)>=768&&Gr.test(e)}function vn(e,t,o){for(;(o<0?t>0:to?-1:1;;){if(t==o)return t;var l=(t+o)/2,p=i<0?Math.ceil(l):Math.floor(l);if(p==t)return e(p)?t:o;e(p)?o=p:t=p+i}}function mn(e,t,o,i){if(!e)return i(t,o,"ltr",0);for(var l=!1,p=0;pt||t==o&&d.to==t)&&(i(Math.max(d.from,t),Math.min(d.to,o),d.level==1?"rtl":"ltr",p),l=!0)}l||i(t,o,"ltr")}var In=null;function yn(e,t,o){var i;In=null;for(var l=0;lt)return l;p.to==t&&(p.from!=p.to&&o=="before"?i=l:In=l),p.from==t&&(p.from!=p.to&&o!="before"?i=l:In=l)}return i!=null?i:In}var ja=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function o(b){return b<=247?e.charAt(b):1424<=b&&b<=1524?"R":1536<=b&&b<=1785?t.charAt(b-1536):1774<=b&&b<=2220?"r":8192<=b&&b<=8203?"w":b==8204?"b":"L"}var i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,l=/[stwN]/,p=/[LRr]/,d=/[Lb1n]/,v=/[1n]/;function m(b,$,O){this.level=b,this.from=$,this.to=O}return function(b,$){var O=$=="ltr"?"L":"R";if(b.length==0||$=="ltr"&&!i.test(b))return!1;for(var R=b.length,I=[],G=0;G-1&&(i[t]=l.slice(0,p).concat(l.slice(p+1)))}}}function ft(e,t){var o=Nn(e,t);if(!!o.length)for(var i=Array.prototype.slice.call(arguments,2),l=0;l0}function qr(e){e.prototype.on=function(t,o){Te(this,t,o)},e.prototype.off=function(t,o){Jt(this,t,o)}}function Zt(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Ji(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function fr(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function Jn(e){Zt(e),Ji(e)}function Si(e){return e.target||e.srcElement}function Vr(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),J&&e.ctrlKey&&t==1&&(t=3),t}var Ha=function(){if(A&&k<9)return!1;var e=P("div");return"draggable"in e||"dragDrop"in e}(),Zi;function Lo(e){if(Zi==null){var t=P("span","\u200B");me(e,P("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(Zi=t.offsetWidth<=1&&t.offsetHeight>2&&!(A&&k<8))}var o=Zi?P("span","\u200B"):P("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return o.setAttribute("cm-text",""),o}var za;function Zn(e){if(za!=null)return za;var t=me(e,document.createTextNode("A\u062EA")),o=vt(t,0,1).getBoundingClientRect(),i=vt(t,1,2).getBoundingClientRect();return X(e),!o||o.left==o.right?!1:za=i.right-o.right<3}var Mr=` b`.split(/\n/).length!=3?function(e){for(var t=0,o=[],i=e.length;t<=i;){var l=e.indexOf(` -`,t);l==-1&&(l=e.length);var p=e.slice(t,e.charAt(l-1)=="\r"?l-1:l),d=p.indexOf("\r");d!=-1?(o.push(p.slice(0,d)),t+=d+1):(o.push(p),t=l+1)}return o}:function(e){return e.split(/\r\n?|\n/)},Xn=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch{return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch{}return!t||t.parentElement()!=e?!1:t.compareEndPoints("StartToEnd",t)!=0},Po=function(){var e=P("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),Kr=null;function Mo(e){if(Kr!=null)return Kr;var t=me(e,P("span","x")),o=t.getBoundingClientRect(),i=vt(t,0,1).getBoundingClientRect();return Kr=Math.abs(o.left-i.left)>1}var Xi={},Yr={};function Jr(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Xi[e]=t}function Ti(e,t){Yr[e]=t}function Qi(e){if(typeof e=="string"&&Yr.hasOwnProperty(e))e=Yr[e];else if(e&&typeof e.name=="string"&&Yr.hasOwnProperty(e.name)){var t=Yr[e.name];typeof t=="string"&&(t={name:t}),e=Do(t,e),e.name=t.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Qi("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Qi("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function ea(e,t){t=Qi(t);var o=Xi[t.name];if(!o)return ea(e,"text/plain");var i=o(e,t);if(Zr.hasOwnProperty(t.name)){var l=Zr[t.name];for(var p in l)!l.hasOwnProperty(p)||(i.hasOwnProperty(p)&&(i["_"+p]=i[p]),i[p]=l[p])}if(i.name=t.name,t.helperType&&(i.helperType=t.helperType),t.modeProps)for(var d in t.modeProps)i[d]=t.modeProps[d];return i}var Zr={};function ta(e,t){var o=Zr.hasOwnProperty(e)?Zr[e]:Zr[e]={};De(t,o)}function Sr(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var o={};for(var i in t){var l=t[i];l instanceof Array&&(l=l.concat([])),o[i]=l}return o}function Ga(e,t){for(var o;e.innerMode&&(o=e.innerMode(t),!(!o||o.mode==e));)t=o.state,e=o.mode;return o||{mode:e,state:t}}function ra(e,t,o){return e.startState?e.startState(t,o):!0}var xt=function(e,t,o){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=o};xt.prototype.eol=function(){return this.pos>=this.string.length},xt.prototype.sol=function(){return this.pos==this.lineStart},xt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},xt.prototype.next=function(){if(this.post},xt.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},xt.prototype.skipToEnd=function(){this.pos=this.string.length},xt.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},xt.prototype.backUp=function(e){this.pos-=e},xt.prototype.column=function(){return this.lastColumnPos0?null:(p&&t!==!1&&(this.pos+=p[0].length),p)}},xt.prototype.current=function(){return this.string.slice(this.start,this.pos)},xt.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},xt.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},xt.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function be(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var o=e;!o.lines;)for(var i=0;;++i){var l=o.children[i],p=l.chunkSize();if(t=e.first&&to?z(o,be(e,o).text.length):ou(t,be(e,t.line).text.length)}function ou(e,t){var o=e.ch;return o==null||o>t?z(e.line,t):o<0?z(e.line,0):e}function qs(e,t){for(var o=[],i=0;ithis.maxLookAhead&&(this.maxLookAhead=e),t},Cn.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},Cn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Cn.fromSaved=function(e,t,o){return t instanceof ia?new Cn(e,Sr(e.mode,t.state),o,t.lookAhead):new Cn(e,Sr(e.mode,t),o)},Cn.prototype.save=function(e){var t=e!==!1?Sr(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ia(t,this.maxLookAhead):t};function Vs(e,t,o,i){var l=[e.state.modeGen],p={};Zs(e,t.text,e.doc.mode,o,function(b,$){return l.push(b,$)},p,i);for(var d=o.state,v=function(b){o.baseTokens=l;var $=e.state.overlays[b],O=1,R=0;o.state=!0,Zs(e,t.text,$.mode,o,function(I,G){for(var Z=O;RI&&l.splice(O,1,I,l[O+1],le),O+=2,R=Math.min(I,le)}if(!!G)if($.opaque)l.splice(Z,O-Z,I,"overlay "+G),O=Z+2;else for(;Ze.options.maxHighlightLength&&Sr(e.doc.mode,i.state),p=Vs(e,t,i);l&&(i.state=l),t.stateAfter=i.save(!l),t.styles=p.styles,p.classes?t.styleClasses=p.classes:t.styleClasses&&(t.styleClasses=null),o===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function wi(e,t,o){var i=e.doc,l=e.display;if(!i.mode.startState)return new Cn(i,!0,t);var p=lu(e,t,o),d=p>i.first&&be(i,p-1).stateAfter,v=d?Cn.fromSaved(i,d,p):new Cn(i,ra(i.mode),p);return i.iter(p,t,function(m){Qn(e,m.text,v);var b=v.line;m.stateAfter=b==t-1||b%5==0||b>=l.viewFrom&&bt.start)return p}throw new Error("Mode "+e.name+" failed to advance stream.")}var su=function(e,t,o){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=o};function Ys(e,t,o,i){var l=e.doc,p=l.mode,d;t=Pe(l,t);var v=be(l,t.line),m=wi(e,t.line,o),b=new xt(v.text,e.options.tabSize,m),$;for(i&&($=[]);(i||b.pose.options.maxHighlightLength?(v=!1,d&&Qn(e,t,i,$.pos),$.pos=t.length,O=null):O=Js(No(o,$,i.state,R),p),R){var I=R[0].name;I&&(O="m-"+(O?I+" "+O:I))}if(!v||b!=O){for(;m<$.start;)m=Math.min($.start,m+5e3),l(m,b);b=O}$.start=$.pos}for(;m<$.pos;){var G=Math.min($.pos,m+5e3);l(G,b),m=G}}function lu(e,t,o){for(var i,l,p=e.doc,d=o?-1:t-(e.doc.mode.innerMode?1e3:100),v=t;v>d;--v){if(v<=p.first)return p.first;var m=be(p,v-1),b=m.stateAfter;if(b&&(!o||v+(b instanceof ia?b.lookAhead:0)<=p.modeFrontier))return v;var $=We(m.text,null,e.options.tabSize);(l==null||i>$)&&(l=v-1,i=$)}return l}function Zf(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiero;i--){var l=be(e,i).stateAfter;if(l&&(!(l instanceof ia)||i+l.lookAhead=t:p.to>t);(i||(i=[])).push(new Ro(d,p.from,m?null:p.to))}}return i}function tc(e,t,o){var i;if(e)for(var l=0;l=t:p.to>t);if(v||p.from==t&&d.type=="bookmark"&&(!o||p.marker.insertLeft)){var m=p.from==null||(d.inclusiveLeft?p.from<=t:p.from0&&v)for(var he=0;he0)){var $=[m,1],O=ce(b.from,v.from),R=ce(b.to,v.to);(O<0||!d.inclusiveLeft&&!O)&&$.push({from:b.from,to:v.from}),(R>0||!d.inclusiveRight&&!R)&&$.push({from:v.to,to:b.to}),l.splice.apply(l,$),m+=$.length-3}}return l}function lt(e){var t=e.markedSpans;if(!!t){for(var o=0;ot)&&(!i||el(i,p.marker)<0)&&(i=p.marker)}return i}function gu(e,t,o,i,l){var p=be(e,t),d=Fn&&p.markedSpans;if(d)for(var v=0;v=0&&O<=0||$<=0&&O>=0)&&($<=0&&(m.marker.inclusiveRight&&l.inclusiveLeft?ce(b.to,o)>=0:ce(b.to,o)>0)||$>=0&&(m.marker.inclusiveRight&&l.inclusiveLeft?ce(b.from,i)<=0:ce(b.from,i)<0)))return!0}}}function st(e){for(var t;t=du(e);)e=t.find(-1,!0).line;return e}function tl(e){for(var t;t=Wo(e);)e=t.find(1,!0).line;return e}function $i(e){for(var t,o;t=Wo(e);)e=t.find(1,!0).line,(o||(o=[])).push(e);return o}function jo(e,t){var o=be(e,t),i=st(o);return o==i?t:_(i)}function Uo(e,t){if(t>e.lastLine())return t;var o=be(e,t),i;if(!jt(e,o))return t;for(;i=Wo(o);)o=i.find(1,!0).line;return _(o)+1}function jt(e,t){var o=Fn&&t.markedSpans;if(o){for(var i=void 0,l=0;lt.maxLineLength&&(t.maxLineLength=l,t.maxLine=i)})}var Ai=function(e,t,o){this.text=e,ot(this,t),this.height=o?o(this):1};Ai.prototype.lineNo=function(){return _(this)},qr(Ai);function vu(e,t,o,i){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),lt(e),ot(e,o);var l=i?i(e):1;l!=e.height&&Tr(e,l)}function wr(e){e.parent=null,lt(e)}var nc={},Ir={};function mu(e,t){if(!e||/^\s*$/.test(e))return null;var o=t.addModeClass?Ir:nc;return o[e]||(o[e]=e.replace(/\S+/g,"cm-$&"))}function rl(e,t){var o=dr("span",null,null,E?"padding-right: .1px":null),i={pre:dr("pre",[o],"CodeMirror-line"),content:o,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var l=0;l<=(t.rest?t.rest.length:0);l++){var p=l?t.rest[l-1]:t.line,d=void 0;i.pos=0,i.addToken=Go,Zn(e.display.measure)&&(d=Re(p,e.doc.direction))&&(i.addToken=ct(i.addToken,d)),i.map=[];var v=t!=e.display.externalMeasured&&_(p);il(p,i,Io(e,p,v)),p.styleClasses&&(p.styleClasses.bgClass&&(i.bgClass=yt(p.styleClasses.bgClass,i.bgClass||"")),p.styleClasses.textClass&&(i.textClass=yt(p.styleClasses.textClass,i.textClass||""))),i.map.length==0&&i.map.push(0,0,i.content.appendChild(Lo(e.display.measure))),l==0?(t.measure.map=i.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(i.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(E){var m=i.content.lastChild;(/\bcm-tab\b/.test(m.className)||m.querySelector&&m.querySelector(".cm-tab"))&&(i.content.className="cm-tab-wrap-hack")}return ft(e,"renderLine",e,t.line,i.pre),i.pre.className&&(i.textClass=yt(i.pre.className,i.textClass||"")),i}function ei(e){var t=P("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Go(e,t,o,i,l,p,d){if(!!t){var v=e.splitSpaces?nl(t,e.trailingSpace):t,m=e.cm.state.specialChars,b=!1,$;if(!m.test(t))e.col+=t.length,$=document.createTextNode(v),e.map.push(e.pos,e.pos+t.length,$),A&&k<9&&(b=!0),e.pos+=t.length;else{$=document.createDocumentFragment();for(var O=0;;){m.lastIndex=O;var R=m.exec(t),I=R?R.index-O:t.length-O;if(I){var G=document.createTextNode(v.slice(O,O+I));A&&k<9?$.appendChild(P("span",[G])):$.appendChild(G),e.map.push(e.pos,e.pos+I,G),e.col+=I,e.pos+=I}if(!R)break;O+=I+1;var Z=void 0;if(R[0]==" "){var le=e.cm.options.tabSize,fe=le-e.col%le;Z=$.appendChild(P("span",Wa(fe),"cm-tab")),Z.setAttribute("role","presentation"),Z.setAttribute("cm-text"," "),e.col+=fe}else R[0]=="\r"||R[0]==` -`?(Z=$.appendChild(P("span",R[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Z.setAttribute("cm-text",R[0]),e.col+=1):(Z=e.cm.options.specialCharPlaceholder(R[0]),Z.setAttribute("cm-text",R[0]),A&&k<9?$.appendChild(P("span",[Z])):$.appendChild(Z),e.col+=1);e.map.push(e.pos,e.pos+1,Z),e.pos++}}if(e.trailingSpace=v.charCodeAt(t.length-1)==32,o||i||l||b||p||d){var pe=o||"";i&&(pe+=i),l&&(pe+=l);var ue=P("span",[$],pe,p);if(d)for(var he in d)d.hasOwnProperty(he)&&he!="style"&&he!="class"&&ue.setAttribute(he,d[he]);return e.content.appendChild(ue)}e.content.appendChild($)}}function nl(e,t){if(e.length>1&&!/ /.test(e))return e;for(var o=t,i="",l=0;lb&&O.from<=b));R++);if(O.to>=$)return e(o,i,l,p,d,v,m);e(o,i.slice(0,O.to-b),l,p,null,v,m),p=null,i=i.slice(O.to-b),b=O.to}}}function Bn(e,t,o,i){var l=!i&&o.widgetNode;l&&e.map.push(e.pos,e.pos+t,l),!i&&e.cm.display.input.needsContentAttribute&&(l||(l=e.content.appendChild(document.createElement("span"))),l.setAttribute("cm-marker",o.id)),l&&(e.cm.display.input.setUneditable(l),e.content.appendChild(l)),e.pos+=t,e.trailingSpace=!1}function il(e,t,o){var i=e.markedSpans,l=e.text,p=0;if(!i){for(var d=1;dm||Ie.collapsed&&Ce.to==m&&Ce.from==m)){if(Ce.to!=null&&Ce.to!=m&&I>Ce.to&&(I=Ce.to,Z=""),Ie.className&&(G+=" "+Ie.className),Ie.css&&(R=(R?R+";":"")+Ie.css),Ie.startStyle&&Ce.from==m&&(le+=" "+Ie.startStyle),Ie.endStyle&&Ce.to==I&&(he||(he=[])).push(Ie.endStyle,Ce.to),Ie.title&&((pe||(pe={})).title=Ie.title),Ie.attributes)for(var rt in Ie.attributes)(pe||(pe={}))[rt]=Ie.attributes[rt];Ie.collapsed&&(!fe||el(fe.marker,Ie)<0)&&(fe=Ce)}else Ce.from>m&&I>Ce.from&&(I=Ce.from)}if(he)for(var Et=0;Et=v)break;for(var Tt=Math.min(v,I);;){if($){var Dt=m+$.length;if(!fe){var kt=Dt>Tt?$.slice(0,Tt-m):$;t.addToken(t,kt,O?O+G:G,le,m+kt.length==I?Z:"",R,pe)}if(Dt>=Tt){$=$.slice(Tt-m),m=Tt;break}m=Dt,le=""}$=l.slice(p,p=o[b++]),O=mu(o[b++],t.cm.options)}}}function yu(e,t,o){this.line=t,this.rest=$i(t),this.size=this.rest?_(je(this.rest))-o+1:1,this.node=this.text=null,this.hidden=jt(e,t)}function aa(e,t,o){for(var i=[],l,p=t;p2&&p.push((m.bottom+b.top)/2-o.top)}}p.push(o.bottom-o.top)}}function xu(e,t,o){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};if(e.rest){for(var i=0;io)return{map:e.measure.maps[l],cache:e.measure.caches[l],before:!0}}}function lc(e,t){t=st(t);var o=_(t),i=e.display.externalMeasured=new yu(e.doc,t,o);i.lineN=o;var l=i.built=rl(e,i);return i.text=l.pre,me(e.display.lineMeasure,l.pre),i}function Ko(e,t,o,i){return Ar(e,$r(e,t),o,i)}function Yo(e,t){if(t>=e.display.viewFrom&&t=o.lineN&&tt)&&(p=m-v,l=p-1,t>=m&&(d="right")),l!=null){if(i=e[b+2],v==m&&o==(i.insertLeft?"left":"right")&&(d=o),o=="left"&&l==0)for(;b&&e[b-2]==e[b-3]&&e[b-1].insertLeft;)i=e[(b-=3)+2],d="left";if(o=="right"&&l==m-v)for(;b=0&&(o=e[l]).left==o.right;l--);return o}function ua(e,t,o,i){var l=Tu(t.map,o,i),p=l.node,d=l.start,v=l.end,m=l.collapse,b;if(p.nodeType==3){for(var $=0;$<4;$++){for(;d&&Ct(t.line.text.charAt(l.coverStart+d));)--d;for(;l.coverStart+v0&&(m=i="right");var O;e.options.lineWrapping&&(O=p.getClientRects()).length>1?b=O[i=="right"?O.length-1:0]:b=p.getBoundingClientRect()}if(A&&k<9&&!d&&(!b||!b.left&&!b.right)){var R=p.parentNode.getClientRects()[0];R?b={left:R.left,right:R.left+Un(e.display),top:R.top,bottom:R.bottom}:b=Su}for(var I=b.top-t.rect.top,G=b.bottom-t.rect.top,Z=(I+G)/2,le=t.view.measure.heights,fe=0;fe=i.text.length?(m=i.text.length,b="before"):m<=0&&(m=0,b="after"),!v)return d(b=="before"?m-1:m,b=="before");function $(G,Z,le){var fe=v[Z],pe=fe.level==1;return d(le?G-1:G,pe!=le)}var O=yn(v,m,b),R=In,I=$(m,O,b=="before");return R!=null&&(I.other=$(m,R,b!="before")),I}function ye(e,t){var o=0;t=Pe(e.doc,t),e.options.lineWrapping||(o=Un(e.display)*t.ch);var i=be(e.doc,t.line),l=_n(i)+Ka(e.display);return{left:o,right:o,top:l,bottom:l+i.height}}function Me(e,t,o,i,l){var p=z(e,t,o);return p.xRel=l,i&&(p.outside=i),p}function Ve(e,t,o){var i=e.doc;if(o+=e.display.viewOffset,o<0)return Me(i.first,0,null,-1,-1);var l=D(i,o),p=i.first+i.size-1;if(l>p)return Me(i.first+i.size-1,be(i,p).text.length,null,1,1);t<0&&(t=0);for(var d=be(i,l);;){var v=fc(e,d,l,t,o),m=hu(d,v.ch+(v.xRel>0||v.outside>0?1:0));if(!m)return v;var b=m.find(1);if(b.line==l)return b;d=be(i,l=b.line)}}function It(e,t,o,i){i-=hl(t);var l=t.text.length,p=Lr(function(d){return Ar(e,o,d-1).bottom<=i},l,0);return l=Lr(function(d){return Ar(e,o,d).top>i},p,l),{begin:p,end:l}}function it(e,t,o,i){o||(o=$r(e,t));var l=jn(e,t,Ar(e,o,i),"line").top;return It(e,t,o,l)}function Ja(e,t,o,i){return e.bottom<=o?!1:e.top>o?!0:(i?e.left:e.right)>t}function fc(e,t,o,i,l){l-=_n(t);var p=$r(e,t),d=hl(t),v=0,m=t.text.length,b=!0,$=Re(t,e.doc.direction);if($){var O=(e.options.lineWrapping?Jo:Nr)(e,t,o,p,$,i,l);b=O.level!=1,v=b?O.from:O.to-1,m=b?O.to:O.from-1}var R=null,I=null,G=Lr(function(_e){var Ce=Ar(e,p,_e);return Ce.top+=d,Ce.bottom+=d,Ja(Ce,i,l,!1)?(Ce.top<=l&&Ce.left<=i&&(R=_e,I=Ce),!0):!1},v,m),Z,le,fe=!1;if(I){var pe=i-I.left=he.bottom?1:0}return G=vn(t.text,G,1),Me(o,G,le,fe,i-Z)}function Nr(e,t,o,i,l,p,d){var v=Lr(function(O){var R=l[O],I=R.level!=1;return Ja(U(e,z(o,I?R.to:R.from,I?"before":"after"),"line",t,i),p,d,!0)},0,l.length-1),m=l[v];if(v>0){var b=m.level!=1,$=U(e,z(o,b?m.from:m.to,b?"after":"before"),"line",t,i);Ja($,p,d,!0)&&$.top>d&&(m=l[v-1])}return m}function Jo(e,t,o,i,l,p,d){var v=It(e,t,i,d),m=v.begin,b=v.end;/\s/.test(t.text.charAt(b-1))&&b--;for(var $=null,O=null,R=0;R=b||I.to<=m)){var G=I.level!=1,Z=Ar(e,i,G?Math.min(b,I.to)-1:Math.max(m,I.from)).right,le=Zle)&&($=I,O=le)}}return $||($=l[l.length-1]),$.fromb&&($={from:$.from,to:b,level:$.level}),$}var Oi;function Qr(e){if(e.cachedTextHeight!=null)return e.cachedTextHeight;if(Oi==null){Oi=P("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)Oi.appendChild(document.createTextNode("x")),Oi.appendChild(P("br"));Oi.appendChild(document.createTextNode("x"))}me(e.measure,Oi);var o=Oi.offsetHeight/50;return o>3&&(e.cachedTextHeight=o),X(e.measure),o||1}function Un(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var t=P("span","xxxxxxxxxx"),o=P("pre",[t],"CodeMirror-line-like");me(e.measure,o);var i=t.getBoundingClientRect(),l=(i.right-i.left)/10;return l>2&&(e.cachedCharWidth=l),l||10}function fa(e){for(var t=e.display,o={},i={},l=t.gutters.clientLeft,p=t.gutters.firstChild,d=0;p;p=p.nextSibling,++d){var v=e.display.gutterSpecs[d].className;o[v]=p.offsetLeft+p.clientLeft+l,i[v]=p.clientWidth}return{fixedPos:Xe(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:o,gutterWidth:i,wrapperWidth:t.wrapper.clientWidth}}function Xe(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Eu(e){var t=Qr(e.display),o=e.options.lineWrapping,i=o&&Math.max(5,e.display.scroller.clientWidth/Un(e.display)-3);return function(l){if(jt(e.doc,l))return 0;var p=0;if(l.widgets)for(var d=0;d0&&(b=be(e.doc,m.line).text).length==m.ch){var $=We(b,b.length,e.options.tabSize)-b.length;m=z(m.line,Math.max(0,Math.round((p-_u(e.display).left)/Un(e.display))-$))}return m}function Di(e,t){if(t>=e.display.viewTo||(t-=e.display.viewFrom,t<0))return null;for(var o=e.display.view,i=0;it)&&(l.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=l.viewTo)Fn&&jo(e.doc,t)l.viewFrom?en(e):(l.viewFrom+=i,l.viewTo+=i);else if(t<=l.viewFrom&&o>=l.viewTo)en(e);else if(t<=l.viewFrom){var p=tn(e,o,o+i,1);p?(l.view=l.view.slice(p.index),l.viewFrom=p.lineN,l.viewTo+=i):en(e)}else if(o>=l.viewTo){var d=tn(e,t,t,-1);d?(l.view=l.view.slice(0,d.index),l.viewTo=d.lineN):en(e)}else{var v=tn(e,t,t,-1),m=tn(e,o,o+i,1);v&&m?(l.view=l.view.slice(0,v.index).concat(aa(e,v.lineN,m.lineN)).concat(l.view.slice(m.index)),l.viewTo+=i):en(e)}var b=l.externalMeasured;b&&(o=l.lineN&&t=i.viewTo)){var p=i.view[Di(e,t)];if(p.node!=null){var d=p.changes||(p.changes=[]);Oe(d,o)==-1&&d.push(o)}}}function en(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function tn(e,t,o,i){var l=Di(e,t),p,d=e.display.view;if(!Fn||o==e.doc.first+e.doc.size)return{index:l,lineN:o};for(var v=e.display.viewFrom,m=0;m0){if(l==d.length-1)return null;p=v+d[l].size-t,l++}else p=v-t;t+=p,o+=p}for(;jo(e.doc,o)!=o;){if(l==(i<0?0:d.length-1))return null;o+=i*d[l-(i<0?1:0)].size,l+=i}return{index:l,lineN:o}}function Xo(e,t,o){var i=e.display,l=i.view;l.length==0||t>=i.viewTo||o<=i.viewFrom?(i.view=aa(e,t,o),i.viewFrom=t):(i.viewFrom>t?i.view=aa(e,t,i.viewFrom).concat(i.view):i.viewFromo&&(i.view=i.view.slice(0,Di(e,o)))),i.viewTo=o}function gl(e){for(var t=e.display.view,o=0,i=0;i=e.display.viewTo||m.to().line0?d:e.defaultCharWidth())+"px"}if(i.other){var v=o.appendChild(P("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));v.style.display="",v.style.left=i.other.left+"px",v.style.top=i.other.top+"px",v.style.height=(i.other.bottom-i.other.top)*.85+"px"}}function ki(e,t){return e.top-t.top||e.left-t.left}function Ou(e,t,o){var i=e.display,l=e.doc,p=document.createDocumentFragment(),d=_u(e.display),v=d.left,m=Math.max(i.sizerWidth,Ei(e)-i.sizer.offsetLeft)-d.right,b=l.direction=="ltr";function $(ue,he,_e,Ce){he<0&&(he=0),he=Math.round(he),Ce=Math.round(Ce),p.appendChild(P("div",null,"CodeMirror-selected","position: absolute; left: "+ue+`px; +`,t);l==-1&&(l=e.length);var p=e.slice(t,e.charAt(l-1)=="\r"?l-1:l),d=p.indexOf("\r");d!=-1?(o.push(p.slice(0,d)),t+=d+1):(o.push(p),t=l+1)}return o}:function(e){return e.split(/\r\n?|\n/)},Xn=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch{return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch{}return!t||t.parentElement()!=e?!1:t.compareEndPoints("StartToEnd",t)!=0},Po=function(){var e=P("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),Kr=null;function Mo(e){if(Kr!=null)return Kr;var t=me(e,P("span","x")),o=t.getBoundingClientRect(),i=vt(t,0,1).getBoundingClientRect();return Kr=Math.abs(o.left-i.left)>1}var Xi={},Yr={};function Jr(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Xi[e]=t}function Ti(e,t){Yr[e]=t}function Qi(e){if(typeof e=="string"&&Yr.hasOwnProperty(e))e=Yr[e];else if(e&&typeof e.name=="string"&&Yr.hasOwnProperty(e.name)){var t=Yr[e.name];typeof t=="string"&&(t={name:t}),e=Do(t,e),e.name=t.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Qi("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Qi("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function ea(e,t){t=Qi(t);var o=Xi[t.name];if(!o)return ea(e,"text/plain");var i=o(e,t);if(Zr.hasOwnProperty(t.name)){var l=Zr[t.name];for(var p in l)!l.hasOwnProperty(p)||(i.hasOwnProperty(p)&&(i["_"+p]=i[p]),i[p]=l[p])}if(i.name=t.name,t.helperType&&(i.helperType=t.helperType),t.modeProps)for(var d in t.modeProps)i[d]=t.modeProps[d];return i}var Zr={};function ta(e,t){var o=Zr.hasOwnProperty(e)?Zr[e]:Zr[e]={};De(t,o)}function Sr(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var o={};for(var i in t){var l=t[i];l instanceof Array&&(l=l.concat([])),o[i]=l}return o}function Ga(e,t){for(var o;e.innerMode&&(o=e.innerMode(t),!(!o||o.mode==e));)t=o.state,e=o.mode;return o||{mode:e,state:t}}function ra(e,t,o){return e.startState?e.startState(t,o):!0}var xt=function(e,t,o){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=o};xt.prototype.eol=function(){return this.pos>=this.string.length},xt.prototype.sol=function(){return this.pos==this.lineStart},xt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},xt.prototype.next=function(){if(this.post},xt.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},xt.prototype.skipToEnd=function(){this.pos=this.string.length},xt.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},xt.prototype.backUp=function(e){this.pos-=e},xt.prototype.column=function(){return this.lastColumnPos0?null:(p&&t!==!1&&(this.pos+=p[0].length),p)}},xt.prototype.current=function(){return this.string.slice(this.start,this.pos)},xt.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},xt.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},xt.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function be(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var o=e;!o.lines;)for(var i=0;;++i){var l=o.children[i],p=l.chunkSize();if(t=e.first&&to?z(o,be(e,o).text.length):ou(t,be(e,t.line).text.length)}function ou(e,t){var o=e.ch;return o==null||o>t?z(e.line,t):o<0?z(e.line,0):e}function qs(e,t){for(var o=[],i=0;ithis.maxLookAhead&&(this.maxLookAhead=e),t},Cn.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},Cn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Cn.fromSaved=function(e,t,o){return t instanceof ia?new Cn(e,Sr(e.mode,t.state),o,t.lookAhead):new Cn(e,Sr(e.mode,t),o)},Cn.prototype.save=function(e){var t=e!==!1?Sr(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ia(t,this.maxLookAhead):t};function Vs(e,t,o,i){var l=[e.state.modeGen],p={};Zs(e,t.text,e.doc.mode,o,function(b,$){return l.push(b,$)},p,i);for(var d=o.state,v=function(b){o.baseTokens=l;var $=e.state.overlays[b],O=1,R=0;o.state=!0,Zs(e,t.text,$.mode,o,function(I,G){for(var Z=O;RI&&l.splice(O,1,I,l[O+1],le),O+=2,R=Math.min(I,le)}if(!!G)if($.opaque)l.splice(Z,O-Z,I,"overlay "+G),O=Z+2;else for(;Ze.options.maxHighlightLength&&Sr(e.doc.mode,i.state),p=Vs(e,t,i);l&&(i.state=l),t.stateAfter=i.save(!l),t.styles=p.styles,p.classes?t.styleClasses=p.classes:t.styleClasses&&(t.styleClasses=null),o===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function wi(e,t,o){var i=e.doc,l=e.display;if(!i.mode.startState)return new Cn(i,!0,t);var p=lu(e,t,o),d=p>i.first&&be(i,p-1).stateAfter,v=d?Cn.fromSaved(i,d,p):new Cn(i,ra(i.mode),p);return i.iter(p,t,function(m){Qn(e,m.text,v);var b=v.line;m.stateAfter=b==t-1||b%5==0||b>=l.viewFrom&&bt.start)return p}throw new Error("Mode "+e.name+" failed to advance stream.")}var su=function(e,t,o){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=o};function Ys(e,t,o,i){var l=e.doc,p=l.mode,d;t=Pe(l,t);var v=be(l,t.line),m=wi(e,t.line,o),b=new xt(v.text,e.options.tabSize,m),$;for(i&&($=[]);(i||b.pose.options.maxHighlightLength?(v=!1,d&&Qn(e,t,i,$.pos),$.pos=t.length,O=null):O=Js(No(o,$,i.state,R),p),R){var I=R[0].name;I&&(O="m-"+(O?I+" "+O:I))}if(!v||b!=O){for(;m<$.start;)m=Math.min($.start,m+5e3),l(m,b);b=O}$.start=$.pos}for(;m<$.pos;){var G=Math.min($.pos,m+5e3);l(G,b),m=G}}function lu(e,t,o){for(var i,l,p=e.doc,d=o?-1:t-(e.doc.mode.innerMode?1e3:100),v=t;v>d;--v){if(v<=p.first)return p.first;var m=be(p,v-1),b=m.stateAfter;if(b&&(!o||v+(b instanceof ia?b.lookAhead:0)<=p.modeFrontier))return v;var $=We(m.text,null,e.options.tabSize);(l==null||i>$)&&(l=v-1,i=$)}return l}function Zf(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiero;i--){var l=be(e,i).stateAfter;if(l&&(!(l instanceof ia)||i+l.lookAhead=t:p.to>t);(i||(i=[])).push(new Ro(d,p.from,m?null:p.to))}}return i}function tc(e,t,o){var i;if(e)for(var l=0;l=t:p.to>t);if(v||p.from==t&&d.type=="bookmark"&&(!o||p.marker.insertLeft)){var m=p.from==null||(d.inclusiveLeft?p.from<=t:p.from0&&v)for(var he=0;he0)){var $=[m,1],O=ce(b.from,v.from),R=ce(b.to,v.to);(O<0||!d.inclusiveLeft&&!O)&&$.push({from:b.from,to:v.from}),(R>0||!d.inclusiveRight&&!R)&&$.push({from:v.to,to:b.to}),l.splice.apply(l,$),m+=$.length-3}}return l}function lt(e){var t=e.markedSpans;if(!!t){for(var o=0;ot)&&(!i||el(i,p.marker)<0)&&(i=p.marker)}return i}function gu(e,t,o,i,l){var p=be(e,t),d=Fn&&p.markedSpans;if(d)for(var v=0;v=0&&O<=0||$<=0&&O>=0)&&($<=0&&(m.marker.inclusiveRight&&l.inclusiveLeft?ce(b.to,o)>=0:ce(b.to,o)>0)||$>=0&&(m.marker.inclusiveRight&&l.inclusiveLeft?ce(b.from,i)<=0:ce(b.from,i)<0)))return!0}}}function st(e){for(var t;t=du(e);)e=t.find(-1,!0).line;return e}function tl(e){for(var t;t=Wo(e);)e=t.find(1,!0).line;return e}function $i(e){for(var t,o;t=Wo(e);)e=t.find(1,!0).line,(o||(o=[])).push(e);return o}function Uo(e,t){var o=be(e,t),i=st(o);return o==i?t:_(i)}function jo(e,t){if(t>e.lastLine())return t;var o=be(e,t),i;if(!Ut(e,o))return t;for(;i=Wo(o);)o=i.find(1,!0).line;return _(o)+1}function Ut(e,t){var o=Fn&&t.markedSpans;if(o){for(var i=void 0,l=0;lt.maxLineLength&&(t.maxLineLength=l,t.maxLine=i)})}var Ai=function(e,t,o){this.text=e,ot(this,t),this.height=o?o(this):1};Ai.prototype.lineNo=function(){return _(this)},qr(Ai);function vu(e,t,o,i){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),lt(e),ot(e,o);var l=i?i(e):1;l!=e.height&&Tr(e,l)}function wr(e){e.parent=null,lt(e)}var nc={},Ir={};function mu(e,t){if(!e||/^\s*$/.test(e))return null;var o=t.addModeClass?Ir:nc;return o[e]||(o[e]=e.replace(/\S+/g,"cm-$&"))}function rl(e,t){var o=dr("span",null,null,E?"padding-right: .1px":null),i={pre:dr("pre",[o],"CodeMirror-line"),content:o,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var l=0;l<=(t.rest?t.rest.length:0);l++){var p=l?t.rest[l-1]:t.line,d=void 0;i.pos=0,i.addToken=Go,Zn(e.display.measure)&&(d=Re(p,e.doc.direction))&&(i.addToken=ct(i.addToken,d)),i.map=[];var v=t!=e.display.externalMeasured&&_(p);il(p,i,Io(e,p,v)),p.styleClasses&&(p.styleClasses.bgClass&&(i.bgClass=yt(p.styleClasses.bgClass,i.bgClass||"")),p.styleClasses.textClass&&(i.textClass=yt(p.styleClasses.textClass,i.textClass||""))),i.map.length==0&&i.map.push(0,0,i.content.appendChild(Lo(e.display.measure))),l==0?(t.measure.map=i.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(i.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(E){var m=i.content.lastChild;(/\bcm-tab\b/.test(m.className)||m.querySelector&&m.querySelector(".cm-tab"))&&(i.content.className="cm-tab-wrap-hack")}return ft(e,"renderLine",e,t.line,i.pre),i.pre.className&&(i.textClass=yt(i.pre.className,i.textClass||"")),i}function ei(e){var t=P("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Go(e,t,o,i,l,p,d){if(!!t){var v=e.splitSpaces?nl(t,e.trailingSpace):t,m=e.cm.state.specialChars,b=!1,$;if(!m.test(t))e.col+=t.length,$=document.createTextNode(v),e.map.push(e.pos,e.pos+t.length,$),A&&k<9&&(b=!0),e.pos+=t.length;else{$=document.createDocumentFragment();for(var O=0;;){m.lastIndex=O;var R=m.exec(t),I=R?R.index-O:t.length-O;if(I){var G=document.createTextNode(v.slice(O,O+I));A&&k<9?$.appendChild(P("span",[G])):$.appendChild(G),e.map.push(e.pos,e.pos+I,G),e.col+=I,e.pos+=I}if(!R)break;O+=I+1;var Z=void 0;if(R[0]==" "){var le=e.cm.options.tabSize,fe=le-e.col%le;Z=$.appendChild(P("span",Wa(fe),"cm-tab")),Z.setAttribute("role","presentation"),Z.setAttribute("cm-text"," "),e.col+=fe}else R[0]=="\r"||R[0]==` +`?(Z=$.appendChild(P("span",R[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Z.setAttribute("cm-text",R[0]),e.col+=1):(Z=e.cm.options.specialCharPlaceholder(R[0]),Z.setAttribute("cm-text",R[0]),A&&k<9?$.appendChild(P("span",[Z])):$.appendChild(Z),e.col+=1);e.map.push(e.pos,e.pos+1,Z),e.pos++}}if(e.trailingSpace=v.charCodeAt(t.length-1)==32,o||i||l||b||p||d){var pe=o||"";i&&(pe+=i),l&&(pe+=l);var ue=P("span",[$],pe,p);if(d)for(var he in d)d.hasOwnProperty(he)&&he!="style"&&he!="class"&&ue.setAttribute(he,d[he]);return e.content.appendChild(ue)}e.content.appendChild($)}}function nl(e,t){if(e.length>1&&!/ /.test(e))return e;for(var o=t,i="",l=0;lb&&O.from<=b));R++);if(O.to>=$)return e(o,i,l,p,d,v,m);e(o,i.slice(0,O.to-b),l,p,null,v,m),p=null,i=i.slice(O.to-b),b=O.to}}}function Bn(e,t,o,i){var l=!i&&o.widgetNode;l&&e.map.push(e.pos,e.pos+t,l),!i&&e.cm.display.input.needsContentAttribute&&(l||(l=e.content.appendChild(document.createElement("span"))),l.setAttribute("cm-marker",o.id)),l&&(e.cm.display.input.setUneditable(l),e.content.appendChild(l)),e.pos+=t,e.trailingSpace=!1}function il(e,t,o){var i=e.markedSpans,l=e.text,p=0;if(!i){for(var d=1;dm||Ie.collapsed&&Ce.to==m&&Ce.from==m)){if(Ce.to!=null&&Ce.to!=m&&I>Ce.to&&(I=Ce.to,Z=""),Ie.className&&(G+=" "+Ie.className),Ie.css&&(R=(R?R+";":"")+Ie.css),Ie.startStyle&&Ce.from==m&&(le+=" "+Ie.startStyle),Ie.endStyle&&Ce.to==I&&(he||(he=[])).push(Ie.endStyle,Ce.to),Ie.title&&((pe||(pe={})).title=Ie.title),Ie.attributes)for(var rt in Ie.attributes)(pe||(pe={}))[rt]=Ie.attributes[rt];Ie.collapsed&&(!fe||el(fe.marker,Ie)<0)&&(fe=Ce)}else Ce.from>m&&I>Ce.from&&(I=Ce.from)}if(he)for(var Et=0;Et=v)break;for(var Tt=Math.min(v,I);;){if($){var Dt=m+$.length;if(!fe){var kt=Dt>Tt?$.slice(0,Tt-m):$;t.addToken(t,kt,O?O+G:G,le,m+kt.length==I?Z:"",R,pe)}if(Dt>=Tt){$=$.slice(Tt-m),m=Tt;break}m=Dt,le=""}$=l.slice(p,p=o[b++]),O=mu(o[b++],t.cm.options)}}}function yu(e,t,o){this.line=t,this.rest=$i(t),this.size=this.rest?_(Ue(this.rest))-o+1:1,this.node=this.text=null,this.hidden=Ut(e,t)}function aa(e,t,o){for(var i=[],l,p=t;p2&&p.push((m.bottom+b.top)/2-o.top)}}p.push(o.bottom-o.top)}}function xu(e,t,o){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};if(e.rest){for(var i=0;io)return{map:e.measure.maps[l],cache:e.measure.caches[l],before:!0}}}function lc(e,t){t=st(t);var o=_(t),i=e.display.externalMeasured=new yu(e.doc,t,o);i.lineN=o;var l=i.built=rl(e,i);return i.text=l.pre,me(e.display.lineMeasure,l.pre),i}function Ko(e,t,o,i){return Ar(e,$r(e,t),o,i)}function Yo(e,t){if(t>=e.display.viewFrom&&t=o.lineN&&tt)&&(p=m-v,l=p-1,t>=m&&(d="right")),l!=null){if(i=e[b+2],v==m&&o==(i.insertLeft?"left":"right")&&(d=o),o=="left"&&l==0)for(;b&&e[b-2]==e[b-3]&&e[b-1].insertLeft;)i=e[(b-=3)+2],d="left";if(o=="right"&&l==m-v)for(;b=0&&(o=e[l]).left==o.right;l--);return o}function ua(e,t,o,i){var l=Tu(t.map,o,i),p=l.node,d=l.start,v=l.end,m=l.collapse,b;if(p.nodeType==3){for(var $=0;$<4;$++){for(;d&&Ct(t.line.text.charAt(l.coverStart+d));)--d;for(;l.coverStart+v0&&(m=i="right");var O;e.options.lineWrapping&&(O=p.getClientRects()).length>1?b=O[i=="right"?O.length-1:0]:b=p.getBoundingClientRect()}if(A&&k<9&&!d&&(!b||!b.left&&!b.right)){var R=p.parentNode.getClientRects()[0];R?b={left:R.left,right:R.left+jn(e.display),top:R.top,bottom:R.bottom}:b=Su}for(var I=b.top-t.rect.top,G=b.bottom-t.rect.top,Z=(I+G)/2,le=t.view.measure.heights,fe=0;fe=i.text.length?(m=i.text.length,b="before"):m<=0&&(m=0,b="after"),!v)return d(b=="before"?m-1:m,b=="before");function $(G,Z,le){var fe=v[Z],pe=fe.level==1;return d(le?G-1:G,pe!=le)}var O=yn(v,m,b),R=In,I=$(m,O,b=="before");return R!=null&&(I.other=$(m,R,b!="before")),I}function ye(e,t){var o=0;t=Pe(e.doc,t),e.options.lineWrapping||(o=jn(e.display)*t.ch);var i=be(e.doc,t.line),l=_n(i)+Ka(e.display);return{left:o,right:o,top:l,bottom:l+i.height}}function Me(e,t,o,i,l){var p=z(e,t,o);return p.xRel=l,i&&(p.outside=i),p}function Ve(e,t,o){var i=e.doc;if(o+=e.display.viewOffset,o<0)return Me(i.first,0,null,-1,-1);var l=D(i,o),p=i.first+i.size-1;if(l>p)return Me(i.first+i.size-1,be(i,p).text.length,null,1,1);t<0&&(t=0);for(var d=be(i,l);;){var v=fc(e,d,l,t,o),m=hu(d,v.ch+(v.xRel>0||v.outside>0?1:0));if(!m)return v;var b=m.find(1);if(b.line==l)return b;d=be(i,l=b.line)}}function It(e,t,o,i){i-=hl(t);var l=t.text.length,p=Lr(function(d){return Ar(e,o,d-1).bottom<=i},l,0);return l=Lr(function(d){return Ar(e,o,d).top>i},p,l),{begin:p,end:l}}function it(e,t,o,i){o||(o=$r(e,t));var l=Un(e,t,Ar(e,o,i),"line").top;return It(e,t,o,l)}function Ja(e,t,o,i){return e.bottom<=o?!1:e.top>o?!0:(i?e.left:e.right)>t}function fc(e,t,o,i,l){l-=_n(t);var p=$r(e,t),d=hl(t),v=0,m=t.text.length,b=!0,$=Re(t,e.doc.direction);if($){var O=(e.options.lineWrapping?Jo:Nr)(e,t,o,p,$,i,l);b=O.level!=1,v=b?O.from:O.to-1,m=b?O.to:O.from-1}var R=null,I=null,G=Lr(function(_e){var Ce=Ar(e,p,_e);return Ce.top+=d,Ce.bottom+=d,Ja(Ce,i,l,!1)?(Ce.top<=l&&Ce.left<=i&&(R=_e,I=Ce),!0):!1},v,m),Z,le,fe=!1;if(I){var pe=i-I.left=he.bottom?1:0}return G=vn(t.text,G,1),Me(o,G,le,fe,i-Z)}function Nr(e,t,o,i,l,p,d){var v=Lr(function(O){var R=l[O],I=R.level!=1;return Ja(j(e,z(o,I?R.to:R.from,I?"before":"after"),"line",t,i),p,d,!0)},0,l.length-1),m=l[v];if(v>0){var b=m.level!=1,$=j(e,z(o,b?m.from:m.to,b?"after":"before"),"line",t,i);Ja($,p,d,!0)&&$.top>d&&(m=l[v-1])}return m}function Jo(e,t,o,i,l,p,d){var v=It(e,t,i,d),m=v.begin,b=v.end;/\s/.test(t.text.charAt(b-1))&&b--;for(var $=null,O=null,R=0;R=b||I.to<=m)){var G=I.level!=1,Z=Ar(e,i,G?Math.min(b,I.to)-1:Math.max(m,I.from)).right,le=Zle)&&($=I,O=le)}}return $||($=l[l.length-1]),$.fromb&&($={from:$.from,to:b,level:$.level}),$}var Oi;function Qr(e){if(e.cachedTextHeight!=null)return e.cachedTextHeight;if(Oi==null){Oi=P("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)Oi.appendChild(document.createTextNode("x")),Oi.appendChild(P("br"));Oi.appendChild(document.createTextNode("x"))}me(e.measure,Oi);var o=Oi.offsetHeight/50;return o>3&&(e.cachedTextHeight=o),X(e.measure),o||1}function jn(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var t=P("span","xxxxxxxxxx"),o=P("pre",[t],"CodeMirror-line-like");me(e.measure,o);var i=t.getBoundingClientRect(),l=(i.right-i.left)/10;return l>2&&(e.cachedCharWidth=l),l||10}function fa(e){for(var t=e.display,o={},i={},l=t.gutters.clientLeft,p=t.gutters.firstChild,d=0;p;p=p.nextSibling,++d){var v=e.display.gutterSpecs[d].className;o[v]=p.offsetLeft+p.clientLeft+l,i[v]=p.clientWidth}return{fixedPos:Xe(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:o,gutterWidth:i,wrapperWidth:t.wrapper.clientWidth}}function Xe(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Eu(e){var t=Qr(e.display),o=e.options.lineWrapping,i=o&&Math.max(5,e.display.scroller.clientWidth/jn(e.display)-3);return function(l){if(Ut(e.doc,l))return 0;var p=0;if(l.widgets)for(var d=0;d0&&(b=be(e.doc,m.line).text).length==m.ch){var $=We(b,b.length,e.options.tabSize)-b.length;m=z(m.line,Math.max(0,Math.round((p-_u(e.display).left)/jn(e.display))-$))}return m}function Di(e,t){if(t>=e.display.viewTo||(t-=e.display.viewFrom,t<0))return null;for(var o=e.display.view,i=0;it)&&(l.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=l.viewTo)Fn&&Uo(e.doc,t)l.viewFrom?en(e):(l.viewFrom+=i,l.viewTo+=i);else if(t<=l.viewFrom&&o>=l.viewTo)en(e);else if(t<=l.viewFrom){var p=tn(e,o,o+i,1);p?(l.view=l.view.slice(p.index),l.viewFrom=p.lineN,l.viewTo+=i):en(e)}else if(o>=l.viewTo){var d=tn(e,t,t,-1);d?(l.view=l.view.slice(0,d.index),l.viewTo=d.lineN):en(e)}else{var v=tn(e,t,t,-1),m=tn(e,o,o+i,1);v&&m?(l.view=l.view.slice(0,v.index).concat(aa(e,v.lineN,m.lineN)).concat(l.view.slice(m.index)),l.viewTo+=i):en(e)}var b=l.externalMeasured;b&&(o=l.lineN&&t=i.viewTo)){var p=i.view[Di(e,t)];if(p.node!=null){var d=p.changes||(p.changes=[]);Oe(d,o)==-1&&d.push(o)}}}function en(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function tn(e,t,o,i){var l=Di(e,t),p,d=e.display.view;if(!Fn||o==e.doc.first+e.doc.size)return{index:l,lineN:o};for(var v=e.display.viewFrom,m=0;m0){if(l==d.length-1)return null;p=v+d[l].size-t,l++}else p=v-t;t+=p,o+=p}for(;Uo(e.doc,o)!=o;){if(l==(i<0?0:d.length-1))return null;o+=i*d[l-(i<0?1:0)].size,l+=i}return{index:l,lineN:o}}function Xo(e,t,o){var i=e.display,l=i.view;l.length==0||t>=i.viewTo||o<=i.viewFrom?(i.view=aa(e,t,o),i.viewFrom=t):(i.viewFrom>t?i.view=aa(e,t,i.viewFrom).concat(i.view):i.viewFromo&&(i.view=i.view.slice(0,Di(e,o)))),i.viewTo=o}function gl(e){for(var t=e.display.view,o=0,i=0;i=e.display.viewTo||m.to().line0?d:e.defaultCharWidth())+"px"}if(i.other){var v=o.appendChild(P("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));v.style.display="",v.style.left=i.other.left+"px",v.style.top=i.other.top+"px",v.style.height=(i.other.bottom-i.other.top)*.85+"px"}}function ki(e,t){return e.top-t.top||e.left-t.left}function Ou(e,t,o){var i=e.display,l=e.doc,p=document.createDocumentFragment(),d=_u(e.display),v=d.left,m=Math.max(i.sizerWidth,Ei(e)-i.sizer.offsetLeft)-d.right,b=l.direction=="ltr";function $(ue,he,_e,Ce){he<0&&(he=0),he=Math.round(he),Ce=Math.round(Ce),p.appendChild(P("div",null,"CodeMirror-selected","position: absolute; left: "+ue+`px; top: `+he+"px; width: "+(_e==null?m-ue:_e)+`px; - height: `+(Ce-he)+"px"))}function O(ue,he,_e){var Ce=be(l,ue),Ie=Ce.text.length,rt,Et;function ut(kt,or){return K(e,z(ue,kt),"div",Ce,or)}function Tt(kt,or,er){var Rt=it(e,Ce,null,kt),Lt=or=="ltr"==(er=="after")?"left":"right",wt=er=="after"?Rt.begin:Rt.end-(/\s/.test(Ce.text.charAt(Rt.end-1))?2:1);return ut(wt,Lt)[Lt]}var Dt=Re(Ce,l.direction);return mn(Dt,he||0,_e==null?Ie:_e,function(kt,or,er,Rt){var Lt=er=="ltr",wt=ut(kt,Lt?"left":"right"),pr=ut(or-1,Lt?"right":"left"),La=he==null&&kt==0,gi=_e==null&&or==Ie,nr=Rt==0,Dn=!Dt||Rt==Dt.length-1;if(pr.top-wt.top<=3){var qt=(b?La:gi)&&nr,ql=(b?gi:La)&&Dn,kn=qt?v:(Lt?wt:pr).left,vi=ql?m:(Lt?pr:wt).right;$(kn,wt.top,vi-kn,wt.bottom)}else{var mi,sr,Pa,Vl;Lt?(mi=b&&La&&nr?v:wt.left,sr=b?m:Tt(kt,er,"before"),Pa=b?v:Tt(or,er,"after"),Vl=b&&gi&&Dn?m:pr.right):(mi=b?Tt(kt,er,"before"):v,sr=!b&&La&&nr?m:wt.right,Pa=!b&&gi&&Dn?v:pr.left,Vl=b?Tt(or,er,"after"):m),$(mi,wt.top,sr-mi,wt.bottom),wt.bottom0?t.blinker=setInterval(function(){e.hasFocus()||pa(e),t.cursorDiv.style.visibility=(o=!o)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function ii(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||ml(e))}function ca(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&pa(e))},100)}function ml(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),e.options.readOnly!="nocursor"&&(e.state.focused||(ft(e,"focus",e,t),e.state.focused=!0,mt(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),E&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),Li(e))}function pa(e,t){e.state.delayingBlurEvent||(e.state.focused&&(ft(e,"blur",e,t),e.state.focused=!1,gt(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function es(e){for(var t=e.display,o=t.lineDiv.offsetTop,i=Math.max(0,t.scroller.getBoundingClientRect().top),l=t.lineDiv.getBoundingClientRect().top,p=0,d=0;d.005||I<-.005)&&(le.display.sizerWidth){var Z=Math.ceil($/Un(e.display));Z>e.display.maxLineLength&&(e.display.maxLineLength=Z,e.display.maxLine=v.line,e.display.maxLineChanged=!0)}}}Math.abs(p)>2&&(t.scroller.scrollTop+=p)}function Za(e){if(e.widgets)for(var t=0;t=d&&(p=D(t,_n(be(t,m))-e.wrapper.clientHeight),d=m)}return{from:p,to:Math.max(d,p+1)}}function yl(e,t){if(!_t(e,"scrollCursorIntoView")){var o=e.display,i=o.sizer.getBoundingClientRect(),l=null,p=o.wrapper.ownerDocument;if(t.top+i.top<0?l=!0:t.bottom+i.top>(p.defaultView.innerHeight||p.documentElement.clientHeight)&&(l=!1),l!=null&&!re){var d=P("div","\u200B",null,`position: absolute; + height: `+(Ce-he)+"px"))}function O(ue,he,_e){var Ce=be(l,ue),Ie=Ce.text.length,rt,Et;function ut(kt,or){return K(e,z(ue,kt),"div",Ce,or)}function Tt(kt,or,er){var Rt=it(e,Ce,null,kt),Lt=or=="ltr"==(er=="after")?"left":"right",wt=er=="after"?Rt.begin:Rt.end-(/\s/.test(Ce.text.charAt(Rt.end-1))?2:1);return ut(wt,Lt)[Lt]}var Dt=Re(Ce,l.direction);return mn(Dt,he||0,_e==null?Ie:_e,function(kt,or,er,Rt){var Lt=er=="ltr",wt=ut(kt,Lt?"left":"right"),pr=ut(or-1,Lt?"right":"left"),La=he==null&&kt==0,gi=_e==null&&or==Ie,nr=Rt==0,Dn=!Dt||Rt==Dt.length-1;if(pr.top-wt.top<=3){var qt=(b?La:gi)&&nr,ql=(b?gi:La)&&Dn,kn=qt?v:(Lt?wt:pr).left,vi=ql?m:(Lt?pr:wt).right;$(kn,wt.top,vi-kn,wt.bottom)}else{var mi,sr,Pa,Vl;Lt?(mi=b&&La&&nr?v:wt.left,sr=b?m:Tt(kt,er,"before"),Pa=b?v:Tt(or,er,"after"),Vl=b&&gi&&Dn?m:pr.right):(mi=b?Tt(kt,er,"before"):v,sr=!b&&La&&nr?m:wt.right,Pa=!b&&gi&&Dn?v:pr.left,Vl=b?Tt(or,er,"after"):m),$(mi,wt.top,sr-mi,wt.bottom),wt.bottom0?t.blinker=setInterval(function(){e.hasFocus()||pa(e),t.cursorDiv.style.visibility=(o=!o)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function ii(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||ml(e))}function ca(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&pa(e))},100)}function ml(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),e.options.readOnly!="nocursor"&&(e.state.focused||(ft(e,"focus",e,t),e.state.focused=!0,mt(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),E&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),Li(e))}function pa(e,t){e.state.delayingBlurEvent||(e.state.focused&&(ft(e,"blur",e,t),e.state.focused=!1,gt(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function es(e){for(var t=e.display,o=t.lineDiv.offsetTop,i=Math.max(0,t.scroller.getBoundingClientRect().top),l=t.lineDiv.getBoundingClientRect().top,p=0,d=0;d.005||I<-.005)&&(le.display.sizerWidth){var Z=Math.ceil($/jn(e.display));Z>e.display.maxLineLength&&(e.display.maxLineLength=Z,e.display.maxLine=v.line,e.display.maxLineChanged=!0)}}}Math.abs(p)>2&&(t.scroller.scrollTop+=p)}function Za(e){if(e.widgets)for(var t=0;t=d&&(p=D(t,_n(be(t,m))-e.wrapper.clientHeight),d=m)}return{from:p,to:Math.max(d,p+1)}}function yl(e,t){if(!_t(e,"scrollCursorIntoView")){var o=e.display,i=o.sizer.getBoundingClientRect(),l=null,p=o.wrapper.ownerDocument;if(t.top+i.top<0?l=!0:t.bottom+i.top>(p.defaultView.innerHeight||p.documentElement.clientHeight)&&(l=!1),l!=null&&!re){var d=P("div","\u200B",null,`position: absolute; top: `+(t.top-o.viewOffset-Ka(e.display))+`px; height: `+(t.bottom-t.top+Sn(e)+o.barHeight)+`px; - left: `+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(d),d.scrollIntoView(l),e.display.lineSpace.removeChild(d)}}}function cc(e,t,o,i){i==null&&(i=0);var l;!e.options.lineWrapping&&t==o&&(o=t.sticky=="before"?z(t.line,t.ch+1,"before"):t,t=t.ch?z(t.line,t.sticky=="before"?t.ch-1:t.ch,"after"):t);for(var p=0;p<5;p++){var d=!1,v=U(e,t),m=!o||o==t?v:U(e,o);l={left:Math.min(v.left,m.left),top:Math.min(v.top,m.top)-i,right:Math.max(v.left,m.left),bottom:Math.max(v.bottom,m.bottom)+i};var b=bl(e,l),$=e.doc.scrollTop,O=e.doc.scrollLeft;if(b.scrollTop!=null&&(Xa(e,b.scrollTop),Math.abs(e.doc.scrollTop-$)>1&&(d=!0)),b.scrollLeft!=null&&(rn(e,b.scrollLeft),Math.abs(e.doc.scrollLeft-O)>1&&(d=!0)),!d)break}return l}function Du(e,t){var o=bl(e,t);o.scrollTop!=null&&Xa(e,o.scrollTop),o.scrollLeft!=null&&rn(e,o.scrollLeft)}function bl(e,t){var o=e.display,i=Qr(e.display);t.top<0&&(t.top=0);var l=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:o.scroller.scrollTop,p=pl(e),d={};t.bottom-t.top>p&&(t.bottom=t.top+p);var v=e.doc.height+cl(o),m=t.topv-i;if(t.topl+p){var $=Math.min(t.top,(b?v:t.bottom)-p);$!=l&&(d.scrollTop=$)}var O=e.options.fixedGutter?0:o.gutters.offsetWidth,R=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:o.scroller.scrollLeft-O,I=Ei(e)-o.gutters.offsetWidth,G=t.right-t.left>I;return G&&(t.right=t.left+I),t.left<10?d.scrollLeft=0:t.leftI+R-3&&(d.scrollLeft=t.right+(G?0:10)-I),d}function Cl(e,t){t!=null&&(ts(e),e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+t)}function dt(e){ts(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Nt(e,t,o){(t!=null||o!=null)&&ts(e),t!=null&&(e.curOp.scrollLeft=t),o!=null&&(e.curOp.scrollTop=o)}function pc(e,t){ts(e),e.curOp.scrollToPos=t}function ts(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var o=ye(e,t.from),i=ye(e,t.to);_l(e,o,i,t.margin)}}function _l(e,t,o,i){var l=bl(e,{left:Math.min(t.left,o.left),top:Math.min(t.top,o.top)-i,right:Math.max(t.right,o.right),bottom:Math.max(t.bottom,o.bottom)+i});Nt(e,l.scrollLeft,l.scrollTop)}function Xa(e,t){Math.abs(e.doc.scrollTop-t)<2||(h||nn(e,{top:t}),rs(e,t,!0),h&&nn(e),to(e,100))}function rs(e,t,o){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),!(e.display.scroller.scrollTop==t&&!o)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function rn(e,t,o,i){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),!((o?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!i)&&(e.doc.scrollLeft=t,Mu(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Mi(e){var t=e.display,o=t.gutters.offsetWidth,i=Math.round(e.doc.height+cl(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?o:0,docHeight:i,scrollHeight:i+Sn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:o}}var Rr=function(e,t,o){this.cm=o;var i=this.vert=P("div",[P("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),l=this.horiz=P("div",[P("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");i.tabIndex=l.tabIndex=-1,e(i),e(l),Te(i,"scroll",function(){i.clientHeight&&t(i.scrollTop,"vertical")}),Te(l,"scroll",function(){l.clientWidth&&t(l.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,A&&k<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Rr.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,o=e.scrollHeight>e.clientHeight+1,i=e.nativeBarWidth;if(o){this.vert.style.display="block",this.vert.style.bottom=t?i+"px":"0";var l=e.viewHeight-(t?i:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+l)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=o?i+"px":"0",this.horiz.style.left=e.barLeft+"px";var p=e.viewWidth-e.barLeft-(o?i:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+p)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(i==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:o?i:0,bottom:t?i:0}},Rr.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Rr.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Rr.prototype.zeroWidthHack=function(){var e=J&&!ie?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new hr,this.disableVert=new hr},Rr.prototype.enableZeroWidthBar=function(e,t,o){e.style.visibility="";function i(){var l=e.getBoundingClientRect(),p=o=="vert"?document.elementFromPoint(l.right-1,(l.top+l.bottom)/2):document.elementFromPoint((l.right+l.left)/2,l.bottom-1);p!=e?e.style.visibility="hidden":t.set(1e3,i)}t.set(1e3,i)},Rr.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Hn=function(){};Hn.prototype.update=function(){return{bottom:0,right:0}},Hn.prototype.setScrollLeft=function(){},Hn.prototype.setScrollTop=function(){},Hn.prototype.clear=function(){};function wn(e,t){t||(t=Mi(e));var o=e.display.barWidth,i=e.display.barHeight;Qa(e,t);for(var l=0;l<4&&o!=e.display.barWidth||i!=e.display.barHeight;l++)o!=e.display.barWidth&&e.options.lineWrapping&&es(e),Qa(e,Mi(e)),o=e.display.barWidth,i=e.display.barHeight}function Qa(e,t){var o=e.display,i=o.scrollbars.update(t);o.sizer.style.paddingRight=(o.barWidth=i.right)+"px",o.sizer.style.paddingBottom=(o.barHeight=i.bottom)+"px",o.heightForcer.style.borderBottom=i.bottom+"px solid transparent",i.right&&i.bottom?(o.scrollbarFiller.style.display="block",o.scrollbarFiller.style.height=i.bottom+"px",o.scrollbarFiller.style.width=i.right+"px"):o.scrollbarFiller.style.display="",i.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(o.gutterFiller.style.display="block",o.gutterFiller.style.height=i.bottom+"px",o.gutterFiller.style.width=t.gutterWidth+"px"):o.gutterFiller.style.display=""}var Ii={native:Rr,null:Hn};function ku(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&>(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Ii[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),Te(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,o){o=="horizontal"?rn(e,t):Xa(e,t)},e),e.display.scrollbars.addClass&&mt(e.display.wrapper,e.display.scrollbars.addClass)}var dc=0;function Ni(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++dc,markArrays:null},ic(e.curOp)}function Ri(e){var t=e.curOp;t&&bu(t,function(o){for(var i=0;i=o.viewTo)||o.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new $n(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function eo(e){e.updatedDisplay=e.mustUpdate&&xl(e.cm,e.update)}function Lu(e){var t=e.cm,o=t.display;e.updatedDisplay&&es(t),e.barMeasure=Mi(t),o.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Ko(t,o.maxLine,o.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(o.scroller.clientWidth,o.sizer.offsetLeft+e.adjustWidthTo+Sn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,o.sizer.offsetLeft+e.adjustWidthTo-Ei(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=o.input.prepareSelection())}function T(e){var t=e.cm;e.adjustWidthTo!=null&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft=e.display.viewTo)){var o=+new Date+e.options.workTime,i=wi(e,t.highlightFrontier),l=[];t.iter(i.line,Math.min(t.first+t.size,e.display.viewTo+500),function(p){if(i.line>=e.display.viewFrom){var d=p.styles,v=p.text.length>e.options.maxHighlightLength?Sr(t.mode,i.state):null,m=Vs(e,p,i,!0);v&&(i.state=v),p.styles=m.styles;var b=p.styleClasses,$=m.classes;$?p.styleClasses=$:b&&(p.styleClasses=null);for(var O=!d||d.length!=p.styles.length||b!=$&&(!b||!$||b.bgClass!=$.bgClass||b.textClass!=$.textClass),R=0;!O&&Ro)return to(e,e.options.workDelay),!0}),t.highlightFrontier=i.line,t.modeFrontier=Math.max(t.modeFrontier,i.line),l.length&&rr(e,function(){for(var p=0;p=o.viewFrom&&t.visible.to<=o.viewTo&&(o.updateLineNumbers==null||o.updateLineNumbers>=o.viewTo)&&o.renderedView==o.view&&gl(e)==0)return!1;Iu(e)&&(en(e),t.dims=fa(e));var l=i.first+i.size,p=Math.max(t.visible.from-e.options.viewportMargin,i.first),d=Math.min(l,t.visible.to+e.options.viewportMargin);o.viewFromd&&o.viewTo-d<20&&(d=Math.min(l,o.viewTo)),Fn&&(p=jo(e.doc,p),d=Uo(e.doc,d));var v=p!=o.viewFrom||d!=o.viewTo||o.lastWrapHeight!=t.wrapperHeight||o.lastWrapWidth!=t.wrapperWidth;Xo(e,p,d),o.viewOffset=_n(be(e.doc,o.viewFrom)),e.display.mover.style.top=o.viewOffset+"px";var m=gl(e);if(!v&&m==0&&!t.force&&o.renderedView==o.view&&(o.updateLineNumbers==null||o.updateLineNumbers>=o.viewTo))return!1;var b=mc(e);return m>4&&(o.lineDiv.style.display="none"),bc(e,o.updateLineNumbers,t.dims),m>4&&(o.lineDiv.style.display=""),o.renderedView=o.view,yc(b),X(o.cursorDiv),X(o.selectionDiv),o.gutters.style.height=o.sizer.style.minHeight=0,v&&(o.lastWrapHeight=t.wrapperHeight,o.lastWrapWidth=t.wrapperWidth,to(e,400)),o.updateLineNumbers=null,!0}function Pu(e,t){for(var o=t.viewport,i=!0;;i=!1){if(!i||!e.options.lineWrapping||t.oldDisplayWidth==Ei(e)){if(o&&o.top!=null&&(o={top:Math.min(e.doc.height+cl(e.display)-pl(e),o.top)}),t.visible=Pi(e.display,e.doc,o),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break}else i&&(t.visible=Pi(e.display,e.doc,o));if(!xl(e,t))break;es(e);var l=Mi(e);ni(e),wn(e,l),Tl(e,l),t.force=!1}t.signal(e,"update",e),(e.display.viewFrom!=e.display.reportedViewFrom||e.display.viewTo!=e.display.reportedViewTo)&&(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function nn(e,t){var o=new $n(e,t);if(xl(e,o)){es(e),Pu(e,o);var i=Mi(e);ni(e),wn(e,i),Tl(e,i),o.finish()}}function bc(e,t,o){var i=e.display,l=e.options.lineNumbers,p=i.lineDiv,d=p.firstChild;function v(G){var Z=G.nextSibling;return E&&J&&e.display.currentWheelTarget==G?G.style.display="none":G.parentNode.removeChild(G),Z}for(var m=i.view,b=i.viewFrom,$=0;$-1&&(I=!1),al(e,O,b,o)),I&&(X(O.lineNumber),O.lineNumber.appendChild(document.createTextNode(se(e.options,b)))),d=O.node.nextSibling}b+=O.size}for(;d;)d=v(d)}function Sl(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",pt(e,"gutterChanged",e)}function Tl(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Sn(e)+"px"}function Mu(e){var t=e.display,o=t.view;if(!(!t.alignWidgets&&(!t.gutters.firstChild||!e.options.fixedGutter))){for(var i=Xe(t)-t.scroller.scrollLeft+e.doc.scrollLeft,l=t.gutters.offsetWidth,p=i+"px",d=0;d=105&&(l.wrapper.style.clipPath="inset(0px)"),l.wrapper.setAttribute("translate","no"),A&&k<8&&(l.gutters.style.zIndex=-1,l.scroller.style.paddingRight=0),!E&&!(h&&q)&&(l.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(l.wrapper):e(l.wrapper)),l.viewFrom=l.viewTo=t.first,l.reportedViewFrom=l.reportedViewTo=t.first,l.view=[],l.renderedView=null,l.externalMeasured=null,l.viewOffset=0,l.lastWrapHeight=l.lastWrapWidth=0,l.updateLineNumbers=null,l.nativeBarWidth=l.barHeight=l.barWidth=0,l.scrollbarsClipped=!1,l.lineNumWidth=l.lineNumInnerWidth=l.lineNumChars=null,l.alignWidgets=!1,l.cachedCharWidth=l.cachedTextHeight=l.cachedPaddingH=null,l.maxLine=null,l.maxLineLength=0,l.maxLineChanged=!1,l.wheelDX=l.wheelDY=l.wheelStartX=l.wheelStartY=null,l.shift=!1,l.selForContextMenu=null,l.activeTouch=null,l.gutterSpecs=an(i.gutters,i.lineNumbers),Nu(l),o.init(l)}var is=0,zn=null;A?zn=-.53:h?zn=15:H?zn=-.7:ae&&(zn=-1/3);function ai(e){var t=e.wheelDeltaX,o=e.wheelDeltaY;return t==null&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),o==null&&e.detail&&e.axis==e.VERTICAL_AXIS?o=e.detail:o==null&&(o=e.wheelDelta),{x:t,y:o}}function _c(e){var t=ai(e);return t.x*=zn,t.y*=zn,t}function Ru(e,t){H&&Y==102&&(e.display.chromeScrollHack==null?e.display.sizer.style.pointerEvents="none":clearTimeout(e.display.chromeScrollHack),e.display.chromeScrollHack=setTimeout(function(){e.display.chromeScrollHack=null,e.display.sizer.style.pointerEvents=""},100));var o=ai(t),i=o.x,l=o.y,p=zn;t.deltaMode===0&&(i=t.deltaX,l=t.deltaY,p=1);var d=e.display,v=d.scroller,m=v.scrollWidth>v.clientWidth,b=v.scrollHeight>v.clientHeight;if(!!(i&&m||l&&b)){if(l&&J&&E){e:for(var $=t.target,O=d.view;$!=v;$=$.parentNode)for(var R=0;R=0&&ce(e,i.to())<=0)return o}return-1};var Je=function(e,t){this.anchor=e,this.head=t};Je.prototype.from=function(){return Rn(this.anchor,this.head)},Je.prototype.to=function(){return ir(this.anchor,this.head)},Je.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function on(e,t,o){var i=e&&e.options.selectionsMayTouch,l=t[o];t.sort(function(R,I){return ce(R.from(),I.from())}),o=Oe(t,l);for(var p=1;p0:m>=0){var b=Rn(v.from(),d.from()),$=ir(v.to(),d.to()),O=v.empty()?d.from()==d.head:v.from()==v.head;p<=o&&--o,t.splice(--p,2,new Je(O?$:b,O?b:$))}}return new St(t,o)}function oi(e,t){return new St([new Je(e,t||e)],0)}function si(e){return e.text?z(e.from.line+e.text.length-1,je(e.text).length+(e.text.length==1?e.from.ch:0)):e.to}function Fu(e,t){if(ce(e,t.from)<0)return e;if(ce(e,t.to)<=0)return si(t);var o=e.line+t.text.length-(t.to.line-t.from.line)-1,i=e.ch;return e.line==t.to.line&&(i+=si(t).ch-t.to.ch),z(o,i)}function as(e,t){for(var o=[],i=0;i1&&e.remove(v.line+1,G-1),e.insert(v.line+1,fe)}pt(e,"change",e,t)}function li(e,t,o){function i(l,p,d){if(l.linked)for(var v=0;v1&&!e.done[e.done.length-2].ranges)return e.done.pop(),je(e.done)}function El(e,t,o,i){var l=e.history;l.undone.length=0;var p=+new Date,d,v;if((l.lastOp==i||l.lastOrigin==t.origin&&t.origin&&(t.origin.charAt(0)=="+"&&l.lastModTime>p-(e.cm?e.cm.options.historyEventDelay:500)||t.origin.charAt(0)=="*"))&&(d=Sc(l,l.lastOp==i)))v=je(d.changes),ce(t.from,t.to)==0&&ce(t.from,v.to)==0?v.to=si(t):d.changes.push(qn(e,t));else{var m=je(l.done);for((!m||!m.ranges)&&sn(e.sel,l.done),d={changes:[qn(e,t)],generation:l.generation},l.done.push(d);l.done.length>l.undoDepth;)l.done.shift(),l.done[0].ranges||l.done.shift()}l.done.push(o),l.generation=++l.maxGeneration,l.lastModTime=l.lastSelTime=p,l.lastOp=l.lastSelOp=i,l.lastOrigin=l.lastSelOrigin=t.origin,v||ft(e,"historyAdded")}function Wu(e,t,o,i){var l=t.charAt(0);return l=="*"||l=="+"&&o.ranges.length==i.ranges.length&&o.somethingSelected()==i.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function no(e,t,o,i){var l=e.history,p=i&&i.origin;o==l.lastSelOp||p&&l.lastSelOrigin==p&&(l.lastModTime==l.lastSelTime&&l.lastOrigin==p||Wu(e,p,je(l.done),t))?l.done[l.done.length-1]=t:sn(t,l.done),l.lastSelTime=+new Date,l.lastSelOrigin=p,l.lastSelOp=o,i&&i.clearRedo!==!1&&Er(l.undone)}function sn(e,t){var o=je(t);o&&o.ranges&&o.equals(e)||t.push(e)}function Ol(e,t,o,i){var l=t["spans_"+e.id],p=0;e.iter(Math.max(e.first,o),Math.min(e.first+e.size,i),function(d){d.markedSpans&&((l||(l=t["spans_"+e.id]={}))[p]=d.markedSpans),++p})}function Tc(e){if(!e)return null;for(var t,o=0;o-1&&(je(v)[O]=b[O],delete b[O])}}return i}function Ht(e,t,o,i){if(i){var l=e.anchor;if(o){var p=ce(t,l)<0;p!=ce(o,l)<0?(l=t,t=o):p!=ce(t,o)<0&&(t=o)}return new Je(l,t)}else return new Je(o||t,t)}function ma(e,t,o,i,l){l==null&&(l=e.cm&&(e.cm.display.shift||e.extend)),Xt(e,new St([Ht(e.sel.primary(),t,o,l)],0),i)}function Dl(e,t,o){for(var i=[],l=e.cm&&(e.cm.display.shift||e.extend),p=0;p=t.ch:v.to>t.ch))){if(l&&(ft(m,"beforeCursorEnter"),m.explicitlyCleared))if(p.markedSpans){--d;continue}else break;if(!m.atomic)continue;if(o){var O=m.find(i<0?1:-1),R=void 0;if((i<0?$:b)&&(O=zu(e,O,-i,O&&O.line==t.line?p:null)),O&&O.line==t.line&&(R=ce(O,o))&&(i<0?R<0:R>0))return ya(e,O,t,i,l)}var I=m.find(i<0?-1:1);return(i<0?b:$)&&(I=zu(e,I,i,I.line==t.line?p:null)),I?ya(e,I,t,i,l):null}}return t}function ba(e,t,o,i,l){var p=i||1,d=ya(e,t,o,p,l)||!l&&ya(e,t,o,p,!0)||ya(e,t,o,-p,l)||!l&&ya(e,t,o,-p,!0);return d||(e.cantEdit=!0,z(e.first,0))}function zu(e,t,o,i){return o<0&&t.ch==0?t.line>e.first?Pe(e,z(t.line-1)):null:o>0&&t.ch==(i||be(e,t.line)).text.length?t.line=0;--l)Gu(e,{from:i[l].from,to:i[l].to,text:l?[""]:t.text,origin:t.origin});else Gu(e,t)}}function Gu(e,t){if(!(t.text.length==1&&t.text[0]==""&&ce(t.from,t.to)==0)){var o=as(e,t);El(e,t,o,e.cm?e.cm.curOp.id:NaN),io(e,t,o,Qs(e,t));var i=[];li(e,function(l,p){!p&&Oe(i,l.history)==-1&&(Yu(l.history,t),i.push(l.history)),io(l,t,null,Qs(l,t))})}}function fi(e,t,o){var i=e.cm&&e.cm.state.suppressEdits;if(!(i&&!o)){for(var l=e.history,p,d=e.sel,v=t=="undo"?l.done:l.undone,m=t=="undo"?l.undone:l.done,b=0;b=0;--I){var G=R(I);if(G)return G.v}}}}function qu(e,t){if(t!=0&&(e.first+=t,e.sel=new St(tr(e.sel.ranges,function(l){return new Je(z(l.anchor.line+t,l.anchor.ch),z(l.head.line+t,l.head.ch))}),e.sel.primIndex),e.cm)){cr(e.cm,e.first,e.first-t,t);for(var o=e.cm.display,i=o.viewFrom;ie.lastLine())){if(t.from.linep&&(t={from:t.from,to:z(p,be(e,p).text.length),text:[t.text[0]],origin:t.origin}),t.removed=bn(e,t.from,t.to),o||(o=as(e,t)),e.cm?Ll(e.cm,t,i):ga(e,t,i),Qt(e,o,bt),e.cantEdit&&ba(e,z(e.firstLine(),0))&&(e.cantEdit=!1)}}function Ll(e,t,o){var i=e.doc,l=e.display,p=t.from,d=t.to,v=!1,m=p.line;e.options.lineWrapping||(m=_(st(be(i,p.line))),i.iter(m,d.line+1,function(I){if(I==l.maxLine)return v=!0,!0})),i.sel.contains(t.from,t.to)>-1&&Pr(e),ga(i,t,o,Eu(e)),e.options.lineWrapping||(i.iter(m,p.line+t.text.length,function(I){var G=Va(I);G>l.maxLineLength&&(l.maxLine=I,l.maxLineLength=G,l.maxLineChanged=!0,v=!1)}),v&&(e.curOp.updateMaxLine=!0)),Zf(i,p.line),to(e,400);var b=t.text.length-(d.line-p.line)-1;t.full?cr(e):p.line==d.line&&t.text.length==1&&!ha(e.doc,t)?ri(e,p.line,"text"):cr(e,p.line,d.line+1,b);var $=vr(e,"changes"),O=vr(e,"change");if(O||$){var R={from:p,to:d,text:t.text,removed:t.removed,origin:t.origin};O&&pt(e,"change",e,R),$&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(R)}e.display.selForContextMenu=null}function Wi(e,t,o,i,l){var p;i||(i=o),ce(i,o)<0&&(p=[i,o],o=p[0],i=p[1]),typeof t=="string"&&(t=e.splitLines(t)),_a(e,{from:o,to:i,text:t,origin:l})}function Vu(e,t,o,i){o1||!(this.children[0]instanceof ji))){var v=[];this.collapse(v),this.children=[new ji(v)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var d=l.lines.length%25+25,v=d;v10);e.parent.maybeSpill()}},iterN:function(e,t,o){for(var i=0;ie.display.maxLineLength&&(e.display.maxLine=b,e.display.maxLineLength=$,e.display.maxLineChanged=!0)}i!=null&&e&&this.collapsed&&cr(e,i,l+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Uu(e.doc)),e&&pt(e,"markerCleared",e,this,i,l),t&&Ri(e),this.parent&&this.parent.clear()}},ln.prototype.find=function(e,t){e==null&&this.type=="bookmark"&&(e=1);for(var o,i,l=0;l0||d==0&&p.clearWhenEmpty!==!1)return p;if(p.replacedWith&&(p.collapsed=!0,p.widgetNode=dr("span",[p.replacedWith],"CodeMirror-widget"),i.handleMouseEvents||p.widgetNode.setAttribute("cm-ignore-events","true"),i.insertLeft&&(p.widgetNode.insertLeft=!0)),p.collapsed){if(gu(e,t.line,t,o,p)||t.line!=o.line&&gu(e,o.line,t,o,p))throw new Error("Inserting collapsed marker partially overlapping an existing one");Xf()}p.addToHistory&&El(e,{from:t,to:o,origin:"markText"},e.sel,NaN);var v=t.line,m=e.cm,b;if(e.iter(v,o.line+1,function(O){m&&p.collapsed&&!m.options.lineWrapping&&st(O)==m.display.maxLine&&(b=!0),p.collapsed&&v!=t.line&&Tr(O,0),Xs(O,new Ro(p,v==t.line?t.ch:null,v==o.line?o.ch:null),e.cm&&e.cm.curOp),++v}),p.collapsed&&e.iter(t.line,o.line+1,function(O){jt(e,O)&&Tr(O,0)}),p.clearOnEnter&&Te(p,"beforeCursorEnter",function(){return p.clear()}),p.readOnly&&(fu(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),p.collapsed&&(p.id=++Ml,p.atomic=!0),m){if(b&&(m.curOp.updateMaxLine=!0),p.collapsed)cr(m,t.line,o.line+1);else if(p.className||p.startStyle||p.endStyle||p.css||p.attributes||p.title)for(var $=t.line;$<=o.line;$++)ri(m,$,"text");p.atomic&&Uu(m.doc),pt(m,"markerAdded",m,p)}return p}var Ta=function(e,t){this.markers=e,this.primary=t;for(var o=0;o=0;m--)_a(this,i[m]);v?ui(this,v):this.cm&&dt(this.cm)}),undo:Ut(function(){fi(this,"undo")}),redo:Ut(function(){fi(this,"redo")}),undoSelection:Ut(function(){fi(this,"undo",!0)}),redoSelection:Ut(function(){fi(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,o=0,i=0;i=e.ch)&&t.push(l.marker.parent||l.marker)}return t},findMarks:function(e,t,o){e=Pe(this,e),t=Pe(this,t);var i=[],l=e.line;return this.iter(e.line,t.line+1,function(p){var d=p.markedSpans;if(d)for(var v=0;v=m.to||m.from==null&&l!=e.line||m.from!=null&&l==t.line&&m.from>=t.ch)&&(!o||o(m.marker))&&i.push(m.marker.parent||m.marker)}++l}),i},getAllMarks:function(){var e=[];return this.iter(function(t){var o=t.markedSpans;if(o)for(var i=0;ie)return t=e,!0;e-=p,++o}),Pe(this,z(o,t))},indexFromPos:function(e){e=Pe(this,e);var t=e.ch;if(e.linet&&(t=e.from),e.to!=null&&e.to-1){t.state.draggingText(e),setTimeout(function(){return t.display.input.focus()},20);return}try{var $=e.dataTransfer.getData("Text");if($){var O;if(t.state.draggingText&&!t.state.draggingText.copy&&(O=t.listSelections()),Qt(t.doc,oi(o,o)),O)for(var R=0;R=0;v--)Wi(e.doc,"",i[v].from,i[v].to,"+delete");dt(e)})}function ps(e,t,o){var i=vn(e.text,t+o,o);return i<0||i>e.text.length?null:i}function uo(e,t,o){var i=ps(e,t.ch,o);return i==null?null:new z(t.line,i,o<0?"after":"before")}function fo(e,t,o,i,l){if(e){t.doc.direction=="rtl"&&(l=-l);var p=Re(o,t.doc.direction);if(p){var d=l<0?je(p):p[0],v=l<0==(d.level==1),m=v?"after":"before",b;if(d.level>0||t.doc.direction=="rtl"){var $=$r(t,o);b=l<0?o.text.length-1:0;var O=Ar(t,$,b).top;b=Lr(function(R){return Ar(t,$,R).top==O},l<0==(d.level==1)?d.from:d.to-1,b),m=="before"&&(b=ps(o,b,1))}else b=l<0?d.to:d.from;return new z(i,b,m)}}return new z(i,l<0?o.text.length:0,l<0?"before":"after")}function pi(e,t,o,i){var l=Re(t,e.doc.direction);if(!l)return uo(t,o,i);o.ch>=t.text.length?(o.ch=t.text.length,o.sticky="before"):o.ch<=0&&(o.ch=0,o.sticky="after");var p=yn(l,o.ch,o.sticky),d=l[p];if(e.doc.direction=="ltr"&&d.level%2==0&&(i>0?d.to>o.ch:d.from=d.from&&R>=$.begin)){var I=O?"before":"after";return new z(o.line,R,I)}}var G=function(fe,pe,ue){for(var he=function(rt,Et){return Et?new z(o.line,v(rt,1),"before"):new z(o.line,rt,"after")};fe>=0&&fe0==(_e.level!=1),Ie=Ce?ue.begin:v(ue.end,-1);if(_e.from<=Ie&&Ie<_e.to||(Ie=Ce?_e.from:v(_e.to,-1),ue.begin<=Ie&&Ie0?$.end:v($.begin,-1);return le!=null&&!(i>0&&le==t.text.length)&&(Z=G(i>0?0:l.length-1,i,b(le)),Z)?Z:null}var co={selectAll:Ca,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),bt)},killLine:function(e){return ci(e,function(t){if(t.empty()){var o=be(e.doc,t.head.line).text.length;return t.head.ch==o&&t.head.line0)l=new z(l.line,l.ch+1),e.replaceRange(p.charAt(l.ch-1)+p.charAt(l.ch-2),z(l.line,l.ch-2),l,"+transpose");else if(l.line>e.doc.first){var d=be(e.doc,l.line-1).text;d&&(l=new z(l.line,1),e.replaceRange(p.charAt(0)+e.doc.lineSeparator()+d.charAt(d.length-1),z(l.line-1,d.length-1),l,"+transpose"))}}o.push(new Je(l,l))}e.setSelections(o)})},newlineAndIndent:function(e){return rr(e,function(){for(var t=e.listSelections(),o=t.length-1;o>=0;o--)e.replaceRange(e.doc.lineSeparator(),t[o].anchor,t[o].head,"+input");t=e.listSelections();for(var i=0;ie&&ce(t,this.pos)==0&&o==this.button};var En,Ea;function sf(e,t){var o=+new Date;return Ea&&Ea.compare(o,e,t)?(En=Ea=null,"triple"):En&&En.compare(o,e,t)?(Ea=new Aa(o,e,t),En=null,"double"):(En=new Aa(o,e,t),Ea=null,"single")}function lf(e){var t=this,o=t.display;if(!(_t(t,e)||o.activeTouch&&o.input.supportsTouch())){if(o.input.ensurePolled(),o.shift=e.shiftKey,xn(o,e)){E||(o.scroller.draggable=!1,setTimeout(function(){return o.scroller.draggable=!0},100));return}if(!Da(t,e)){var i=Tn(t,e),l=Vr(e),p=i?sf(i,l):"single";we(t).focus(),l==1&&t.state.selectingText&&t.state.selectingText(e),!(i&&uf(t,l,i,p,e))&&(l==1?i?ho(t,i,p,e):Si(e)==o.scroller&&Zt(e):l==2?(i&&ma(t.doc,i),setTimeout(function(){return o.input.focus()},20)):l==3&&(He?t.display.input.onContextMenu(e):ca(t)))}}}function uf(e,t,o,i,l){var p="Click";return i=="double"?p="Double"+p:i=="triple"&&(p="Triple"+p),p=(t==1?"Left":t==2?"Middle":"Right")+p,po(e,Rl(p,l),l,function(d){if(typeof d=="string"&&(d=co[d]),!d)return!1;var v=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),v=d(e,o)!=Cr}finally{e.state.suppressEdits=!1}return v})}function Oa(e,t,o){var i=e.getOption("configureMouse"),l=i?i(e,t,o):{};if(l.unit==null){var p=ne?o.shiftKey&&o.metaKey:o.altKey;l.unit=p?"rectangle":t=="single"?"char":t=="double"?"word":"line"}return(l.extend==null||e.doc.extend)&&(l.extend=e.doc.extend||o.shiftKey),l.addNew==null&&(l.addNew=J?o.metaKey:o.ctrlKey),l.moveOnDrag==null&&(l.moveOnDrag=!(J?o.altKey:o.ctrlKey)),l}function ho(e,t,o,i){A?setTimeout($e(ii,e),0):e.curOp.focus=nt(Mt(e));var l=Oa(e,o,i),p=e.doc.sel,d;e.options.dragDrop&&Ha&&!e.isReadOnly()&&o=="single"&&(d=p.contains(t))>-1&&(ce((d=p.ranges[d]).from(),t)<0||t.xRel>0)&&(ce(d.to(),t)>0||t.xRel<0)?Pc(e,i,t,l):ff(e,i,t,l)}function Pc(e,t,o,i){var l=e.display,p=!1,d=et(e,function(b){E&&(l.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:ca(e)),Jt(l.wrapper.ownerDocument,"mouseup",d),Jt(l.wrapper.ownerDocument,"mousemove",v),Jt(l.scroller,"dragstart",m),Jt(l.scroller,"drop",d),p||(Zt(b),i.addNew||ma(e.doc,o,null,null,i.extend),E&&!ae||A&&k==9?setTimeout(function(){l.wrapper.ownerDocument.body.focus({preventScroll:!0}),l.input.focus()},20):l.input.focus())}),v=function(b){p=p||Math.abs(t.clientX-b.clientX)+Math.abs(t.clientY-b.clientY)>=10},m=function(){return p=!0};E&&(l.scroller.draggable=!0),e.state.draggingText=d,d.copy=!i.moveOnDrag,Te(l.wrapper.ownerDocument,"mouseup",d),Te(l.wrapper.ownerDocument,"mousemove",v),Te(l.scroller,"dragstart",m),Te(l.scroller,"drop",d),e.state.delayingBlurEvent=!0,setTimeout(function(){return l.input.focus()},20),l.scroller.dragDrop&&l.scroller.dragDrop()}function Ul(e,t,o){if(o=="char")return new Je(t,t);if(o=="word")return e.findWordAt(t);if(o=="line")return new Je(z(t.line,0),Pe(e.doc,z(t.line+1,0)));var i=o(e,t);return new Je(i.from,i.to)}function ff(e,t,o,i){A&&ca(e);var l=e.display,p=e.doc;Zt(t);var d,v,m=p.sel,b=m.ranges;if(i.addNew&&!i.extend?(v=p.sel.contains(o),v>-1?d=b[v]:d=new Je(o,o)):(d=p.sel.primary(),v=p.sel.primIndex),i.unit=="rectangle")i.addNew||(d=new Je(o,o)),o=Tn(e,t,!0,!0),v=-1;else{var $=Ul(e,o,i.unit);i.extend?d=Ht(d,$.anchor,$.head,i.extend):d=$}i.addNew?v==-1?(v=b.length,Xt(p,on(e,b.concat([d]),v),{scroll:!1,origin:"*mouse"})):b.length>1&&b[v].empty()&&i.unit=="char"&&!i.extend?(Xt(p,on(e,b.slice(0,v).concat(b.slice(v+1)),0),{scroll:!1,origin:"*mouse"}),m=p.sel):Fr(p,v,d,gr):(v=0,Xt(p,new St([d],0),gr),m=p.sel);var O=o;function R(ue){if(ce(O,ue)!=0)if(O=ue,i.unit=="rectangle"){for(var he=[],_e=e.options.tabSize,Ce=We(be(p,o.line).text,o.ch,_e),Ie=We(be(p,ue.line).text,ue.ch,_e),rt=Math.min(Ce,Ie),Et=Math.max(Ce,Ie),ut=Math.min(o.line,ue.line),Tt=Math.min(e.lastLine(),Math.max(o.line,ue.line));ut<=Tt;ut++){var Dt=be(p,ut).text,kt=Yt(Dt,rt,_e);rt==Et?he.push(new Je(z(ut,kt),z(ut,kt))):Dt.length>kt&&he.push(new Je(z(ut,kt),z(ut,Yt(Dt,Et,_e))))}he.length||he.push(new Je(o,o)),Xt(p,on(e,m.ranges.slice(0,v).concat(he),v),{origin:"*mouse",scroll:!1}),e.scrollIntoView(ue)}else{var or=d,er=Ul(e,ue,i.unit),Rt=or.anchor,Lt;ce(er.anchor,Rt)>0?(Lt=er.head,Rt=Rn(or.from(),er.anchor)):(Lt=er.anchor,Rt=ir(or.to(),er.head));var wt=m.ranges.slice(0);wt[v]=hs(e,new Je(Pe(p,Rt),Lt)),Xt(p,on(e,wt,v),gr)}}var I=l.wrapper.getBoundingClientRect(),G=0;function Z(ue){var he=++G,_e=Tn(e,ue,!0,i.unit=="rectangle");if(!!_e)if(ce(_e,O)!=0){e.curOp.focus=nt(Mt(e)),R(_e);var Ce=Pi(l,p);(_e.line>=Ce.to||_e.lineI.bottom?20:0;Ie&&setTimeout(et(e,function(){G==he&&(l.scroller.scrollTop+=Ie,Z(ue))}),50)}}function le(ue){e.state.selectingText=!1,G=1/0,ue&&(Zt(ue),l.input.focus()),Jt(l.wrapper.ownerDocument,"mousemove",fe),Jt(l.wrapper.ownerDocument,"mouseup",pe),p.history.lastSelOrigin=null}var fe=et(e,function(ue){ue.buttons===0||!Vr(ue)?le(ue):Z(ue)}),pe=et(e,le);e.state.selectingText=pe,Te(l.wrapper.ownerDocument,"mousemove",fe),Te(l.wrapper.ownerDocument,"mouseup",pe)}function hs(e,t){var o=t.anchor,i=t.head,l=be(e.doc,o.line);if(ce(o,i)==0&&o.sticky==i.sticky)return t;var p=Re(l);if(!p)return t;var d=yn(p,o.ch,o.sticky),v=p[d];if(v.from!=o.ch&&v.to!=o.ch)return t;var m=d+(v.from==o.ch==(v.level!=1)?0:1);if(m==0||m==p.length)return t;var b;if(i.line!=o.line)b=(i.line-o.line)*(e.doc.direction=="ltr"?1:-1)>0;else{var $=yn(p,i.ch,i.sticky),O=$-d||(i.ch-o.ch)*(v.level==1?-1:1);$==m-1||$==m?b=O<0:b=O>0}var R=p[m+(b?-1:0)],I=b==(R.level==1),G=I?R.from:R.to,Z=I?"after":"before";return o.ch==G&&o.sticky==Z?t:new Je(new z(o.line,G,Z),i)}function Hl(e,t,o,i){var l,p;if(t.touches)l=t.touches[0].clientX,p=t.touches[0].clientY;else try{l=t.clientX,p=t.clientY}catch{return!1}if(l>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;i&&Zt(t);var d=e.display,v=d.lineDiv.getBoundingClientRect();if(p>v.bottom||!vr(e,o))return fr(t);p-=v.top-d.viewOffset;for(var m=0;m=l){var $=D(e.doc,p),O=e.display.gutterSpecs[m];return ft(e,o,e,$,O.className,t),fr(t)}}}function Da(e,t){return Hl(e,t,"gutterClick",!0)}function gs(e,t){xn(e.display,t)||vs(e,t)||_t(e,t,"contextmenu")||He||e.display.input.onContextMenu(t)}function vs(e,t){return vr(e,"gutterContextMenu")?Hl(e,t,"gutterContextMenu",!1):!1}function cf(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Ya(e)}var Gi={toString:function(){return"CodeMirror.Init"}},go={},vo={};function zl(e){var t=e.optionHandlers;function o(i,l,p,d){e.defaults[i]=l,p&&(t[i]=d?function(v,m,b){b!=Gi&&p(v,m,b)}:p)}e.defineOption=o,e.Init=Gi,o("value","",function(i,l){return i.setValue(l)},!0),o("mode",null,function(i,l){i.doc.modeOption=l,$l(i)},!0),o("indentUnit",2,$l,!0),o("indentWithTabs",!1),o("smartIndent",!0),o("tabSize",4,function(i){Fi(i),Ya(i),cr(i)},!0),o("lineSeparator",null,function(i,l){if(i.doc.lineSep=l,!!l){var p=[],d=i.doc.first;i.doc.iter(function(m){for(var b=0;;){var $=m.text.indexOf(l,b);if($==-1)break;b=$+l.length,p.push(z(d,$))}d++});for(var v=p.length-1;v>=0;v--)Wi(i.doc,l,p[v],z(p[v].line,p[v].ch+l.length))}}),o("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(i,l,p){i.state.specialChars=new RegExp(l.source+(l.test(" ")?"":"| "),"g"),p!=Gi&&i.refresh()}),o("specialCharPlaceholder",ei,function(i){return i.refresh()},!0),o("electricChars",!0),o("inputStyle",q?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),o("spellcheck",!1,function(i,l){return i.getInputField().spellcheck=l},!0),o("autocorrect",!1,function(i,l){return i.getInputField().autocorrect=l},!0),o("autocapitalize",!1,function(i,l){return i.getInputField().autocapitalize=l},!0),o("rtlMoveVisually",!de),o("wholeLineUpdateBefore",!0),o("theme","default",function(i){cf(i),ro(i)},!0),o("keyMap","default",function(i,l,p){var d=lo(l),v=p!=Gi&&lo(p);v&&v.detach&&v.detach(i,d),d.attach&&d.attach(i,v||null)}),o("extraKeys",null),o("configureMouse",null),o("lineWrapping",!1,pf,!0),o("gutters",[],function(i,l){i.display.gutterSpecs=an(l,i.options.lineNumbers),ro(i)},!0),o("fixedGutter",!0,function(i,l){i.display.gutters.style.left=l?Xe(i.display)+"px":"0",i.refresh()},!0),o("coverGutterNextToScrollbar",!1,function(i){return wn(i)},!0),o("scrollbarStyle","native",function(i){ku(i),wn(i),i.display.scrollbars.setScrollTop(i.doc.scrollTop),i.display.scrollbars.setScrollLeft(i.doc.scrollLeft)},!0),o("lineNumbers",!1,function(i,l){i.display.gutterSpecs=an(i.options.gutters,l),ro(i)},!0),o("firstLineNumber",1,ro,!0),o("lineNumberFormatter",function(i){return i},ro,!0),o("showCursorWhenSelecting",!1,ni,!0),o("resetSelectionOnContextMenu",!0),o("lineWiseCopyCut",!0),o("pasteLinesPerSelection",!0),o("selectionsMayTouch",!1),o("readOnly",!1,function(i,l){l=="nocursor"&&(pa(i),i.display.input.blur()),i.display.input.readOnlyChanged(l)}),o("screenReaderLabel",null,function(i,l){l=l===""?null:l,i.display.input.screenReaderLabelChanged(l)}),o("disableInput",!1,function(i,l){l||i.display.input.reset()},!0),o("dragDrop",!0,Mc),o("allowDropFileTypes",null),o("cursorBlinkRate",530),o("cursorScrollMargin",0),o("cursorHeight",1,ni,!0),o("singleCursorHeightPerLine",!0,ni,!0),o("workTime",100),o("workDelay",100),o("flattenSpans",!0,Fi,!0),o("addModeClass",!1,Fi,!0),o("pollInterval",100),o("undoDepth",200,function(i,l){return i.doc.history.undoDepth=l}),o("historyEventDelay",1250),o("viewportMargin",10,function(i){return i.refresh()},!0),o("maxHighlightLength",1e4,Fi,!0),o("moveInputWithCursor",!0,function(i,l){l||i.display.input.resetPosition()}),o("tabindex",null,function(i,l){return i.display.input.getField().tabIndex=l||""}),o("autofocus",null),o("direction","ltr",function(i,l){return i.doc.setDirection(l)},!0),o("phrases",null)}function Mc(e,t,o){var i=o&&o!=Gi;if(!t!=!i){var l=e.display.dragFunctions,p=t?Te:Jt;p(e.display.scroller,"dragstart",l.start),p(e.display.scroller,"dragenter",l.enter),p(e.display.scroller,"dragover",l.over),p(e.display.scroller,"dragleave",l.leave),p(e.display.scroller,"drop",l.drop)}}function pf(e){e.options.lineWrapping?(mt(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(gt(e.display.wrapper,"CodeMirror-wrap"),zo(e)),Zo(e),cr(e),Ya(e),setTimeout(function(){return wn(e)},100)}function Ke(e,t){var o=this;if(!(this instanceof Ke))return new Ke(e,t);this.options=t=t?De(t):{},De(go,t,!1);var i=t.value;typeof i=="string"?i=new ar(i,t.mode,null,t.lineSeparator,t.direction):t.mode&&(i.modeOption=t.mode),this.doc=i;var l=new Ke.inputStyles[t.inputStyle](this),p=this.display=new Cc(e,i,l,t);p.wrapper.CodeMirror=this,cf(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),ku(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new hr,keySeq:null,specialChars:null},t.autofocus&&!q&&p.input.focus(),A&&k<11&&setTimeout(function(){return o.display.input.reset(!0)},20),df(this),rf(),Ni(this),this.curOp.forceUpdate=!0,Al(this,i),t.autofocus&&!q||this.hasFocus()?setTimeout(function(){o.hasFocus()&&!o.state.focused&&ml(o)},20):pa(this);for(var d in vo)vo.hasOwnProperty(d)&&vo[d](this,t[d],Gi);Iu(this),t.finishInit&&t.finishInit(this);for(var v=0;v20*20}Te(t.scroller,"touchstart",function(m){if(!_t(e,m)&&!p(m)&&!Da(e,m)){t.input.ensurePolled(),clearTimeout(o);var b=+new Date;t.activeTouch={start:b,moved:!1,prev:b-i.end<=300?i:null},m.touches.length==1&&(t.activeTouch.left=m.touches[0].pageX,t.activeTouch.top=m.touches[0].pageY)}}),Te(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),Te(t.scroller,"touchend",function(m){var b=t.activeTouch;if(b&&!xn(t,m)&&b.left!=null&&!b.moved&&new Date-b.start<300){var $=e.coordsChar(t.activeTouch,"page"),O;!b.prev||d(b,b.prev)?O=new Je($,$):!b.prev.prev||d(b,b.prev.prev)?O=e.findWordAt($):O=new Je(z($.line,0),Pe(e.doc,z($.line+1,0))),e.setSelection(O.anchor,O.head),e.focus(),Zt(m)}l()}),Te(t.scroller,"touchcancel",l),Te(t.scroller,"scroll",function(){t.scroller.clientHeight&&(Xa(e,t.scroller.scrollTop),rn(e,t.scroller.scrollLeft,!0),ft(e,"scroll",e))}),Te(t.scroller,"mousewheel",function(m){return Ru(e,m)}),Te(t.scroller,"DOMMouseScroll",function(m){return Ru(e,m)}),Te(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(m){_t(e,m)||Jn(m)},over:function(m){_t(e,m)||(Fe(e,m),Jn(m))},start:function(m){return Nl(e,m)},drop:et(e,$c),leave:function(m){_t(e,m)||ef(e)}};var v=t.input.getField();Te(v,"keyup",function(m){return un.call(e,m)}),Te(v,"keydown",et(e,jl)),Te(v,"keypress",et(e,of)),Te(v,"focus",function(m){return ml(e,m)}),Te(v,"blur",function(m){return pa(e,m)})}var ms=[];Ke.defineInitHook=function(e){return ms.push(e)};function mo(e,t,o,i){var l=e.doc,p;o==null&&(o="add"),o=="smart"&&(l.mode.indent?p=wi(e,t).state:o="prev");var d=e.options.tabSize,v=be(l,t),m=We(v.text,null,d);v.stateAfter&&(v.stateAfter=null);var b=v.text.match(/^\s*/)[0],$;if(!i&&!/\S/.test(v.text))$=0,o="not";else if(o=="smart"&&($=l.mode.indent(p,v.text.slice(b.length),v.text),$==Cr||$>150)){if(!i)return;o="prev"}o=="prev"?t>l.first?$=We(be(l,t-1).text,null,d):$=0:o=="add"?$=m+e.options.indentUnit:o=="subtract"?$=m-e.options.indentUnit:typeof o=="number"&&($=m+o),$=Math.max(0,$);var O="",R=0;if(e.options.indentWithTabs)for(var I=Math.floor($/d);I;--I)R+=d,O+=" ";if(R<$&&(O+=Wa($-R)),O!=b)return Wi(l,O,z(t,0),z(t,b.length),"+input"),v.stateAfter=null,!0;for(var G=0;Gd,m=Mr(t),b=null;if(v&&i.ranges.length>1)if(Br&&Br.text.join(` -`)==t){if(i.ranges.length%Br.text.length==0){b=[];for(var $=0;$=0;R--){var I=i.ranges[R],G=I.from(),Z=I.to();I.empty()&&(o&&o>0?G=z(G.line,G.ch-o):e.state.overwrite&&!v?Z=z(Z.line,Math.min(be(p,Z.line).text.length,Z.ch+je(m).length)):v&&Br&&Br.lineWise&&Br.text.join(` + left: `+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(d),d.scrollIntoView(l),e.display.lineSpace.removeChild(d)}}}function cc(e,t,o,i){i==null&&(i=0);var l;!e.options.lineWrapping&&t==o&&(o=t.sticky=="before"?z(t.line,t.ch+1,"before"):t,t=t.ch?z(t.line,t.sticky=="before"?t.ch-1:t.ch,"after"):t);for(var p=0;p<5;p++){var d=!1,v=j(e,t),m=!o||o==t?v:j(e,o);l={left:Math.min(v.left,m.left),top:Math.min(v.top,m.top)-i,right:Math.max(v.left,m.left),bottom:Math.max(v.bottom,m.bottom)+i};var b=bl(e,l),$=e.doc.scrollTop,O=e.doc.scrollLeft;if(b.scrollTop!=null&&(Xa(e,b.scrollTop),Math.abs(e.doc.scrollTop-$)>1&&(d=!0)),b.scrollLeft!=null&&(rn(e,b.scrollLeft),Math.abs(e.doc.scrollLeft-O)>1&&(d=!0)),!d)break}return l}function Du(e,t){var o=bl(e,t);o.scrollTop!=null&&Xa(e,o.scrollTop),o.scrollLeft!=null&&rn(e,o.scrollLeft)}function bl(e,t){var o=e.display,i=Qr(e.display);t.top<0&&(t.top=0);var l=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:o.scroller.scrollTop,p=pl(e),d={};t.bottom-t.top>p&&(t.bottom=t.top+p);var v=e.doc.height+cl(o),m=t.topv-i;if(t.topl+p){var $=Math.min(t.top,(b?v:t.bottom)-p);$!=l&&(d.scrollTop=$)}var O=e.options.fixedGutter?0:o.gutters.offsetWidth,R=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:o.scroller.scrollLeft-O,I=Ei(e)-o.gutters.offsetWidth,G=t.right-t.left>I;return G&&(t.right=t.left+I),t.left<10?d.scrollLeft=0:t.leftI+R-3&&(d.scrollLeft=t.right+(G?0:10)-I),d}function Cl(e,t){t!=null&&(ts(e),e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+t)}function dt(e){ts(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Nt(e,t,o){(t!=null||o!=null)&&ts(e),t!=null&&(e.curOp.scrollLeft=t),o!=null&&(e.curOp.scrollTop=o)}function pc(e,t){ts(e),e.curOp.scrollToPos=t}function ts(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var o=ye(e,t.from),i=ye(e,t.to);_l(e,o,i,t.margin)}}function _l(e,t,o,i){var l=bl(e,{left:Math.min(t.left,o.left),top:Math.min(t.top,o.top)-i,right:Math.max(t.right,o.right),bottom:Math.max(t.bottom,o.bottom)+i});Nt(e,l.scrollLeft,l.scrollTop)}function Xa(e,t){Math.abs(e.doc.scrollTop-t)<2||(h||nn(e,{top:t}),rs(e,t,!0),h&&nn(e),to(e,100))}function rs(e,t,o){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),!(e.display.scroller.scrollTop==t&&!o)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function rn(e,t,o,i){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),!((o?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!i)&&(e.doc.scrollLeft=t,Mu(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Mi(e){var t=e.display,o=t.gutters.offsetWidth,i=Math.round(e.doc.height+cl(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?o:0,docHeight:i,scrollHeight:i+Sn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:o}}var Rr=function(e,t,o){this.cm=o;var i=this.vert=P("div",[P("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),l=this.horiz=P("div",[P("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");i.tabIndex=l.tabIndex=-1,e(i),e(l),Te(i,"scroll",function(){i.clientHeight&&t(i.scrollTop,"vertical")}),Te(l,"scroll",function(){l.clientWidth&&t(l.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,A&&k<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Rr.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,o=e.scrollHeight>e.clientHeight+1,i=e.nativeBarWidth;if(o){this.vert.style.display="block",this.vert.style.bottom=t?i+"px":"0";var l=e.viewHeight-(t?i:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+l)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=o?i+"px":"0",this.horiz.style.left=e.barLeft+"px";var p=e.viewWidth-e.barLeft-(o?i:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+p)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(i==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:o?i:0,bottom:t?i:0}},Rr.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Rr.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Rr.prototype.zeroWidthHack=function(){var e=J&&!ie?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new hr,this.disableVert=new hr},Rr.prototype.enableZeroWidthBar=function(e,t,o){e.style.visibility="";function i(){var l=e.getBoundingClientRect(),p=o=="vert"?document.elementFromPoint(l.right-1,(l.top+l.bottom)/2):document.elementFromPoint((l.right+l.left)/2,l.bottom-1);p!=e?e.style.visibility="hidden":t.set(1e3,i)}t.set(1e3,i)},Rr.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Hn=function(){};Hn.prototype.update=function(){return{bottom:0,right:0}},Hn.prototype.setScrollLeft=function(){},Hn.prototype.setScrollTop=function(){},Hn.prototype.clear=function(){};function wn(e,t){t||(t=Mi(e));var o=e.display.barWidth,i=e.display.barHeight;Qa(e,t);for(var l=0;l<4&&o!=e.display.barWidth||i!=e.display.barHeight;l++)o!=e.display.barWidth&&e.options.lineWrapping&&es(e),Qa(e,Mi(e)),o=e.display.barWidth,i=e.display.barHeight}function Qa(e,t){var o=e.display,i=o.scrollbars.update(t);o.sizer.style.paddingRight=(o.barWidth=i.right)+"px",o.sizer.style.paddingBottom=(o.barHeight=i.bottom)+"px",o.heightForcer.style.borderBottom=i.bottom+"px solid transparent",i.right&&i.bottom?(o.scrollbarFiller.style.display="block",o.scrollbarFiller.style.height=i.bottom+"px",o.scrollbarFiller.style.width=i.right+"px"):o.scrollbarFiller.style.display="",i.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(o.gutterFiller.style.display="block",o.gutterFiller.style.height=i.bottom+"px",o.gutterFiller.style.width=t.gutterWidth+"px"):o.gutterFiller.style.display=""}var Ii={native:Rr,null:Hn};function ku(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&>(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Ii[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),Te(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,o){o=="horizontal"?rn(e,t):Xa(e,t)},e),e.display.scrollbars.addClass&&mt(e.display.wrapper,e.display.scrollbars.addClass)}var dc=0;function Ni(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++dc,markArrays:null},ic(e.curOp)}function Ri(e){var t=e.curOp;t&&bu(t,function(o){for(var i=0;i=o.viewTo)||o.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new $n(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function eo(e){e.updatedDisplay=e.mustUpdate&&xl(e.cm,e.update)}function Lu(e){var t=e.cm,o=t.display;e.updatedDisplay&&es(t),e.barMeasure=Mi(t),o.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Ko(t,o.maxLine,o.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(o.scroller.clientWidth,o.sizer.offsetLeft+e.adjustWidthTo+Sn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,o.sizer.offsetLeft+e.adjustWidthTo-Ei(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=o.input.prepareSelection())}function T(e){var t=e.cm;e.adjustWidthTo!=null&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft=e.display.viewTo)){var o=+new Date+e.options.workTime,i=wi(e,t.highlightFrontier),l=[];t.iter(i.line,Math.min(t.first+t.size,e.display.viewTo+500),function(p){if(i.line>=e.display.viewFrom){var d=p.styles,v=p.text.length>e.options.maxHighlightLength?Sr(t.mode,i.state):null,m=Vs(e,p,i,!0);v&&(i.state=v),p.styles=m.styles;var b=p.styleClasses,$=m.classes;$?p.styleClasses=$:b&&(p.styleClasses=null);for(var O=!d||d.length!=p.styles.length||b!=$&&(!b||!$||b.bgClass!=$.bgClass||b.textClass!=$.textClass),R=0;!O&&Ro)return to(e,e.options.workDelay),!0}),t.highlightFrontier=i.line,t.modeFrontier=Math.max(t.modeFrontier,i.line),l.length&&rr(e,function(){for(var p=0;p=o.viewFrom&&t.visible.to<=o.viewTo&&(o.updateLineNumbers==null||o.updateLineNumbers>=o.viewTo)&&o.renderedView==o.view&&gl(e)==0)return!1;Iu(e)&&(en(e),t.dims=fa(e));var l=i.first+i.size,p=Math.max(t.visible.from-e.options.viewportMargin,i.first),d=Math.min(l,t.visible.to+e.options.viewportMargin);o.viewFromd&&o.viewTo-d<20&&(d=Math.min(l,o.viewTo)),Fn&&(p=Uo(e.doc,p),d=jo(e.doc,d));var v=p!=o.viewFrom||d!=o.viewTo||o.lastWrapHeight!=t.wrapperHeight||o.lastWrapWidth!=t.wrapperWidth;Xo(e,p,d),o.viewOffset=_n(be(e.doc,o.viewFrom)),e.display.mover.style.top=o.viewOffset+"px";var m=gl(e);if(!v&&m==0&&!t.force&&o.renderedView==o.view&&(o.updateLineNumbers==null||o.updateLineNumbers>=o.viewTo))return!1;var b=mc(e);return m>4&&(o.lineDiv.style.display="none"),bc(e,o.updateLineNumbers,t.dims),m>4&&(o.lineDiv.style.display=""),o.renderedView=o.view,yc(b),X(o.cursorDiv),X(o.selectionDiv),o.gutters.style.height=o.sizer.style.minHeight=0,v&&(o.lastWrapHeight=t.wrapperHeight,o.lastWrapWidth=t.wrapperWidth,to(e,400)),o.updateLineNumbers=null,!0}function Pu(e,t){for(var o=t.viewport,i=!0;;i=!1){if(!i||!e.options.lineWrapping||t.oldDisplayWidth==Ei(e)){if(o&&o.top!=null&&(o={top:Math.min(e.doc.height+cl(e.display)-pl(e),o.top)}),t.visible=Pi(e.display,e.doc,o),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break}else i&&(t.visible=Pi(e.display,e.doc,o));if(!xl(e,t))break;es(e);var l=Mi(e);ni(e),wn(e,l),Tl(e,l),t.force=!1}t.signal(e,"update",e),(e.display.viewFrom!=e.display.reportedViewFrom||e.display.viewTo!=e.display.reportedViewTo)&&(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function nn(e,t){var o=new $n(e,t);if(xl(e,o)){es(e),Pu(e,o);var i=Mi(e);ni(e),wn(e,i),Tl(e,i),o.finish()}}function bc(e,t,o){var i=e.display,l=e.options.lineNumbers,p=i.lineDiv,d=p.firstChild;function v(G){var Z=G.nextSibling;return E&&J&&e.display.currentWheelTarget==G?G.style.display="none":G.parentNode.removeChild(G),Z}for(var m=i.view,b=i.viewFrom,$=0;$-1&&(I=!1),al(e,O,b,o)),I&&(X(O.lineNumber),O.lineNumber.appendChild(document.createTextNode(se(e.options,b)))),d=O.node.nextSibling}b+=O.size}for(;d;)d=v(d)}function Sl(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",pt(e,"gutterChanged",e)}function Tl(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Sn(e)+"px"}function Mu(e){var t=e.display,o=t.view;if(!(!t.alignWidgets&&(!t.gutters.firstChild||!e.options.fixedGutter))){for(var i=Xe(t)-t.scroller.scrollLeft+e.doc.scrollLeft,l=t.gutters.offsetWidth,p=i+"px",d=0;d=105&&(l.wrapper.style.clipPath="inset(0px)"),l.wrapper.setAttribute("translate","no"),A&&k<8&&(l.gutters.style.zIndex=-1,l.scroller.style.paddingRight=0),!E&&!(h&&q)&&(l.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(l.wrapper):e(l.wrapper)),l.viewFrom=l.viewTo=t.first,l.reportedViewFrom=l.reportedViewTo=t.first,l.view=[],l.renderedView=null,l.externalMeasured=null,l.viewOffset=0,l.lastWrapHeight=l.lastWrapWidth=0,l.updateLineNumbers=null,l.nativeBarWidth=l.barHeight=l.barWidth=0,l.scrollbarsClipped=!1,l.lineNumWidth=l.lineNumInnerWidth=l.lineNumChars=null,l.alignWidgets=!1,l.cachedCharWidth=l.cachedTextHeight=l.cachedPaddingH=null,l.maxLine=null,l.maxLineLength=0,l.maxLineChanged=!1,l.wheelDX=l.wheelDY=l.wheelStartX=l.wheelStartY=null,l.shift=!1,l.selForContextMenu=null,l.activeTouch=null,l.gutterSpecs=an(i.gutters,i.lineNumbers),Nu(l),o.init(l)}var is=0,zn=null;A?zn=-.53:h?zn=15:H?zn=-.7:ae&&(zn=-1/3);function ai(e){var t=e.wheelDeltaX,o=e.wheelDeltaY;return t==null&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),o==null&&e.detail&&e.axis==e.VERTICAL_AXIS?o=e.detail:o==null&&(o=e.wheelDelta),{x:t,y:o}}function _c(e){var t=ai(e);return t.x*=zn,t.y*=zn,t}function Ru(e,t){H&&Y==102&&(e.display.chromeScrollHack==null?e.display.sizer.style.pointerEvents="none":clearTimeout(e.display.chromeScrollHack),e.display.chromeScrollHack=setTimeout(function(){e.display.chromeScrollHack=null,e.display.sizer.style.pointerEvents=""},100));var o=ai(t),i=o.x,l=o.y,p=zn;t.deltaMode===0&&(i=t.deltaX,l=t.deltaY,p=1);var d=e.display,v=d.scroller,m=v.scrollWidth>v.clientWidth,b=v.scrollHeight>v.clientHeight;if(!!(i&&m||l&&b)){if(l&&J&&E){e:for(var $=t.target,O=d.view;$!=v;$=$.parentNode)for(var R=0;R=0&&ce(e,i.to())<=0)return o}return-1};var Je=function(e,t){this.anchor=e,this.head=t};Je.prototype.from=function(){return Rn(this.anchor,this.head)},Je.prototype.to=function(){return ir(this.anchor,this.head)},Je.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function on(e,t,o){var i=e&&e.options.selectionsMayTouch,l=t[o];t.sort(function(R,I){return ce(R.from(),I.from())}),o=Oe(t,l);for(var p=1;p0:m>=0){var b=Rn(v.from(),d.from()),$=ir(v.to(),d.to()),O=v.empty()?d.from()==d.head:v.from()==v.head;p<=o&&--o,t.splice(--p,2,new Je(O?$:b,O?b:$))}}return new St(t,o)}function oi(e,t){return new St([new Je(e,t||e)],0)}function si(e){return e.text?z(e.from.line+e.text.length-1,Ue(e.text).length+(e.text.length==1?e.from.ch:0)):e.to}function Fu(e,t){if(ce(e,t.from)<0)return e;if(ce(e,t.to)<=0)return si(t);var o=e.line+t.text.length-(t.to.line-t.from.line)-1,i=e.ch;return e.line==t.to.line&&(i+=si(t).ch-t.to.ch),z(o,i)}function as(e,t){for(var o=[],i=0;i1&&e.remove(v.line+1,G-1),e.insert(v.line+1,fe)}pt(e,"change",e,t)}function li(e,t,o){function i(l,p,d){if(l.linked)for(var v=0;v1&&!e.done[e.done.length-2].ranges)return e.done.pop(),Ue(e.done)}function El(e,t,o,i){var l=e.history;l.undone.length=0;var p=+new Date,d,v;if((l.lastOp==i||l.lastOrigin==t.origin&&t.origin&&(t.origin.charAt(0)=="+"&&l.lastModTime>p-(e.cm?e.cm.options.historyEventDelay:500)||t.origin.charAt(0)=="*"))&&(d=Sc(l,l.lastOp==i)))v=Ue(d.changes),ce(t.from,t.to)==0&&ce(t.from,v.to)==0?v.to=si(t):d.changes.push(qn(e,t));else{var m=Ue(l.done);for((!m||!m.ranges)&&sn(e.sel,l.done),d={changes:[qn(e,t)],generation:l.generation},l.done.push(d);l.done.length>l.undoDepth;)l.done.shift(),l.done[0].ranges||l.done.shift()}l.done.push(o),l.generation=++l.maxGeneration,l.lastModTime=l.lastSelTime=p,l.lastOp=l.lastSelOp=i,l.lastOrigin=l.lastSelOrigin=t.origin,v||ft(e,"historyAdded")}function Wu(e,t,o,i){var l=t.charAt(0);return l=="*"||l=="+"&&o.ranges.length==i.ranges.length&&o.somethingSelected()==i.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function no(e,t,o,i){var l=e.history,p=i&&i.origin;o==l.lastSelOp||p&&l.lastSelOrigin==p&&(l.lastModTime==l.lastSelTime&&l.lastOrigin==p||Wu(e,p,Ue(l.done),t))?l.done[l.done.length-1]=t:sn(t,l.done),l.lastSelTime=+new Date,l.lastSelOrigin=p,l.lastSelOp=o,i&&i.clearRedo!==!1&&Er(l.undone)}function sn(e,t){var o=Ue(t);o&&o.ranges&&o.equals(e)||t.push(e)}function Ol(e,t,o,i){var l=t["spans_"+e.id],p=0;e.iter(Math.max(e.first,o),Math.min(e.first+e.size,i),function(d){d.markedSpans&&((l||(l=t["spans_"+e.id]={}))[p]=d.markedSpans),++p})}function Tc(e){if(!e)return null;for(var t,o=0;o-1&&(Ue(v)[O]=b[O],delete b[O])}}return i}function Ht(e,t,o,i){if(i){var l=e.anchor;if(o){var p=ce(t,l)<0;p!=ce(o,l)<0?(l=t,t=o):p!=ce(t,o)<0&&(t=o)}return new Je(l,t)}else return new Je(o||t,t)}function ma(e,t,o,i,l){l==null&&(l=e.cm&&(e.cm.display.shift||e.extend)),Xt(e,new St([Ht(e.sel.primary(),t,o,l)],0),i)}function Dl(e,t,o){for(var i=[],l=e.cm&&(e.cm.display.shift||e.extend),p=0;p=t.ch:v.to>t.ch))){if(l&&(ft(m,"beforeCursorEnter"),m.explicitlyCleared))if(p.markedSpans){--d;continue}else break;if(!m.atomic)continue;if(o){var O=m.find(i<0?1:-1),R=void 0;if((i<0?$:b)&&(O=zu(e,O,-i,O&&O.line==t.line?p:null)),O&&O.line==t.line&&(R=ce(O,o))&&(i<0?R<0:R>0))return ya(e,O,t,i,l)}var I=m.find(i<0?-1:1);return(i<0?b:$)&&(I=zu(e,I,i,I.line==t.line?p:null)),I?ya(e,I,t,i,l):null}}return t}function ba(e,t,o,i,l){var p=i||1,d=ya(e,t,o,p,l)||!l&&ya(e,t,o,p,!0)||ya(e,t,o,-p,l)||!l&&ya(e,t,o,-p,!0);return d||(e.cantEdit=!0,z(e.first,0))}function zu(e,t,o,i){return o<0&&t.ch==0?t.line>e.first?Pe(e,z(t.line-1)):null:o>0&&t.ch==(i||be(e,t.line)).text.length?t.line=0;--l)Gu(e,{from:i[l].from,to:i[l].to,text:l?[""]:t.text,origin:t.origin});else Gu(e,t)}}function Gu(e,t){if(!(t.text.length==1&&t.text[0]==""&&ce(t.from,t.to)==0)){var o=as(e,t);El(e,t,o,e.cm?e.cm.curOp.id:NaN),io(e,t,o,Qs(e,t));var i=[];li(e,function(l,p){!p&&Oe(i,l.history)==-1&&(Yu(l.history,t),i.push(l.history)),io(l,t,null,Qs(l,t))})}}function fi(e,t,o){var i=e.cm&&e.cm.state.suppressEdits;if(!(i&&!o)){for(var l=e.history,p,d=e.sel,v=t=="undo"?l.done:l.undone,m=t=="undo"?l.undone:l.done,b=0;b=0;--I){var G=R(I);if(G)return G.v}}}}function qu(e,t){if(t!=0&&(e.first+=t,e.sel=new St(tr(e.sel.ranges,function(l){return new Je(z(l.anchor.line+t,l.anchor.ch),z(l.head.line+t,l.head.ch))}),e.sel.primIndex),e.cm)){cr(e.cm,e.first,e.first-t,t);for(var o=e.cm.display,i=o.viewFrom;ie.lastLine())){if(t.from.linep&&(t={from:t.from,to:z(p,be(e,p).text.length),text:[t.text[0]],origin:t.origin}),t.removed=bn(e,t.from,t.to),o||(o=as(e,t)),e.cm?Ll(e.cm,t,i):ga(e,t,i),Qt(e,o,bt),e.cantEdit&&ba(e,z(e.firstLine(),0))&&(e.cantEdit=!1)}}function Ll(e,t,o){var i=e.doc,l=e.display,p=t.from,d=t.to,v=!1,m=p.line;e.options.lineWrapping||(m=_(st(be(i,p.line))),i.iter(m,d.line+1,function(I){if(I==l.maxLine)return v=!0,!0})),i.sel.contains(t.from,t.to)>-1&&Pr(e),ga(i,t,o,Eu(e)),e.options.lineWrapping||(i.iter(m,p.line+t.text.length,function(I){var G=Va(I);G>l.maxLineLength&&(l.maxLine=I,l.maxLineLength=G,l.maxLineChanged=!0,v=!1)}),v&&(e.curOp.updateMaxLine=!0)),Zf(i,p.line),to(e,400);var b=t.text.length-(d.line-p.line)-1;t.full?cr(e):p.line==d.line&&t.text.length==1&&!ha(e.doc,t)?ri(e,p.line,"text"):cr(e,p.line,d.line+1,b);var $=vr(e,"changes"),O=vr(e,"change");if(O||$){var R={from:p,to:d,text:t.text,removed:t.removed,origin:t.origin};O&&pt(e,"change",e,R),$&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(R)}e.display.selForContextMenu=null}function Wi(e,t,o,i,l){var p;i||(i=o),ce(i,o)<0&&(p=[i,o],o=p[0],i=p[1]),typeof t=="string"&&(t=e.splitLines(t)),_a(e,{from:o,to:i,text:t,origin:l})}function Vu(e,t,o,i){o1||!(this.children[0]instanceof Ui))){var v=[];this.collapse(v),this.children=[new Ui(v)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var d=l.lines.length%25+25,v=d;v10);e.parent.maybeSpill()}},iterN:function(e,t,o){for(var i=0;ie.display.maxLineLength&&(e.display.maxLine=b,e.display.maxLineLength=$,e.display.maxLineChanged=!0)}i!=null&&e&&this.collapsed&&cr(e,i,l+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&ju(e.doc)),e&&pt(e,"markerCleared",e,this,i,l),t&&Ri(e),this.parent&&this.parent.clear()}},ln.prototype.find=function(e,t){e==null&&this.type=="bookmark"&&(e=1);for(var o,i,l=0;l0||d==0&&p.clearWhenEmpty!==!1)return p;if(p.replacedWith&&(p.collapsed=!0,p.widgetNode=dr("span",[p.replacedWith],"CodeMirror-widget"),i.handleMouseEvents||p.widgetNode.setAttribute("cm-ignore-events","true"),i.insertLeft&&(p.widgetNode.insertLeft=!0)),p.collapsed){if(gu(e,t.line,t,o,p)||t.line!=o.line&&gu(e,o.line,t,o,p))throw new Error("Inserting collapsed marker partially overlapping an existing one");Xf()}p.addToHistory&&El(e,{from:t,to:o,origin:"markText"},e.sel,NaN);var v=t.line,m=e.cm,b;if(e.iter(v,o.line+1,function(O){m&&p.collapsed&&!m.options.lineWrapping&&st(O)==m.display.maxLine&&(b=!0),p.collapsed&&v!=t.line&&Tr(O,0),Xs(O,new Ro(p,v==t.line?t.ch:null,v==o.line?o.ch:null),e.cm&&e.cm.curOp),++v}),p.collapsed&&e.iter(t.line,o.line+1,function(O){Ut(e,O)&&Tr(O,0)}),p.clearOnEnter&&Te(p,"beforeCursorEnter",function(){return p.clear()}),p.readOnly&&(fu(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),p.collapsed&&(p.id=++Ml,p.atomic=!0),m){if(b&&(m.curOp.updateMaxLine=!0),p.collapsed)cr(m,t.line,o.line+1);else if(p.className||p.startStyle||p.endStyle||p.css||p.attributes||p.title)for(var $=t.line;$<=o.line;$++)ri(m,$,"text");p.atomic&&ju(m.doc),pt(m,"markerAdded",m,p)}return p}var Ta=function(e,t){this.markers=e,this.primary=t;for(var o=0;o=0;m--)_a(this,i[m]);v?ui(this,v):this.cm&&dt(this.cm)}),undo:jt(function(){fi(this,"undo")}),redo:jt(function(){fi(this,"redo")}),undoSelection:jt(function(){fi(this,"undo",!0)}),redoSelection:jt(function(){fi(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,o=0,i=0;i=e.ch)&&t.push(l.marker.parent||l.marker)}return t},findMarks:function(e,t,o){e=Pe(this,e),t=Pe(this,t);var i=[],l=e.line;return this.iter(e.line,t.line+1,function(p){var d=p.markedSpans;if(d)for(var v=0;v=m.to||m.from==null&&l!=e.line||m.from!=null&&l==t.line&&m.from>=t.ch)&&(!o||o(m.marker))&&i.push(m.marker.parent||m.marker)}++l}),i},getAllMarks:function(){var e=[];return this.iter(function(t){var o=t.markedSpans;if(o)for(var i=0;ie)return t=e,!0;e-=p,++o}),Pe(this,z(o,t))},indexFromPos:function(e){e=Pe(this,e);var t=e.ch;if(e.linet&&(t=e.from),e.to!=null&&e.to-1){t.state.draggingText(e),setTimeout(function(){return t.display.input.focus()},20);return}try{var $=e.dataTransfer.getData("Text");if($){var O;if(t.state.draggingText&&!t.state.draggingText.copy&&(O=t.listSelections()),Qt(t.doc,oi(o,o)),O)for(var R=0;R=0;v--)Wi(e.doc,"",i[v].from,i[v].to,"+delete");dt(e)})}function ps(e,t,o){var i=vn(e.text,t+o,o);return i<0||i>e.text.length?null:i}function uo(e,t,o){var i=ps(e,t.ch,o);return i==null?null:new z(t.line,i,o<0?"after":"before")}function fo(e,t,o,i,l){if(e){t.doc.direction=="rtl"&&(l=-l);var p=Re(o,t.doc.direction);if(p){var d=l<0?Ue(p):p[0],v=l<0==(d.level==1),m=v?"after":"before",b;if(d.level>0||t.doc.direction=="rtl"){var $=$r(t,o);b=l<0?o.text.length-1:0;var O=Ar(t,$,b).top;b=Lr(function(R){return Ar(t,$,R).top==O},l<0==(d.level==1)?d.from:d.to-1,b),m=="before"&&(b=ps(o,b,1))}else b=l<0?d.to:d.from;return new z(i,b,m)}}return new z(i,l<0?o.text.length:0,l<0?"before":"after")}function pi(e,t,o,i){var l=Re(t,e.doc.direction);if(!l)return uo(t,o,i);o.ch>=t.text.length?(o.ch=t.text.length,o.sticky="before"):o.ch<=0&&(o.ch=0,o.sticky="after");var p=yn(l,o.ch,o.sticky),d=l[p];if(e.doc.direction=="ltr"&&d.level%2==0&&(i>0?d.to>o.ch:d.from=d.from&&R>=$.begin)){var I=O?"before":"after";return new z(o.line,R,I)}}var G=function(fe,pe,ue){for(var he=function(rt,Et){return Et?new z(o.line,v(rt,1),"before"):new z(o.line,rt,"after")};fe>=0&&fe0==(_e.level!=1),Ie=Ce?ue.begin:v(ue.end,-1);if(_e.from<=Ie&&Ie<_e.to||(Ie=Ce?_e.from:v(_e.to,-1),ue.begin<=Ie&&Ie0?$.end:v($.begin,-1);return le!=null&&!(i>0&&le==t.text.length)&&(Z=G(i>0?0:l.length-1,i,b(le)),Z)?Z:null}var co={selectAll:Ca,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),bt)},killLine:function(e){return ci(e,function(t){if(t.empty()){var o=be(e.doc,t.head.line).text.length;return t.head.ch==o&&t.head.line0)l=new z(l.line,l.ch+1),e.replaceRange(p.charAt(l.ch-1)+p.charAt(l.ch-2),z(l.line,l.ch-2),l,"+transpose");else if(l.line>e.doc.first){var d=be(e.doc,l.line-1).text;d&&(l=new z(l.line,1),e.replaceRange(p.charAt(0)+e.doc.lineSeparator()+d.charAt(d.length-1),z(l.line-1,d.length-1),l,"+transpose"))}}o.push(new Je(l,l))}e.setSelections(o)})},newlineAndIndent:function(e){return rr(e,function(){for(var t=e.listSelections(),o=t.length-1;o>=0;o--)e.replaceRange(e.doc.lineSeparator(),t[o].anchor,t[o].head,"+input");t=e.listSelections();for(var i=0;ie&&ce(t,this.pos)==0&&o==this.button};var En,Ea;function sf(e,t){var o=+new Date;return Ea&&Ea.compare(o,e,t)?(En=Ea=null,"triple"):En&&En.compare(o,e,t)?(Ea=new Aa(o,e,t),En=null,"double"):(En=new Aa(o,e,t),Ea=null,"single")}function lf(e){var t=this,o=t.display;if(!(_t(t,e)||o.activeTouch&&o.input.supportsTouch())){if(o.input.ensurePolled(),o.shift=e.shiftKey,xn(o,e)){E||(o.scroller.draggable=!1,setTimeout(function(){return o.scroller.draggable=!0},100));return}if(!Da(t,e)){var i=Tn(t,e),l=Vr(e),p=i?sf(i,l):"single";we(t).focus(),l==1&&t.state.selectingText&&t.state.selectingText(e),!(i&&uf(t,l,i,p,e))&&(l==1?i?ho(t,i,p,e):Si(e)==o.scroller&&Zt(e):l==2?(i&&ma(t.doc,i),setTimeout(function(){return o.input.focus()},20)):l==3&&(He?t.display.input.onContextMenu(e):ca(t)))}}}function uf(e,t,o,i,l){var p="Click";return i=="double"?p="Double"+p:i=="triple"&&(p="Triple"+p),p=(t==1?"Left":t==2?"Middle":"Right")+p,po(e,Rl(p,l),l,function(d){if(typeof d=="string"&&(d=co[d]),!d)return!1;var v=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),v=d(e,o)!=Cr}finally{e.state.suppressEdits=!1}return v})}function Oa(e,t,o){var i=e.getOption("configureMouse"),l=i?i(e,t,o):{};if(l.unit==null){var p=ne?o.shiftKey&&o.metaKey:o.altKey;l.unit=p?"rectangle":t=="single"?"char":t=="double"?"word":"line"}return(l.extend==null||e.doc.extend)&&(l.extend=e.doc.extend||o.shiftKey),l.addNew==null&&(l.addNew=J?o.metaKey:o.ctrlKey),l.moveOnDrag==null&&(l.moveOnDrag=!(J?o.altKey:o.ctrlKey)),l}function ho(e,t,o,i){A?setTimeout($e(ii,e),0):e.curOp.focus=nt(Mt(e));var l=Oa(e,o,i),p=e.doc.sel,d;e.options.dragDrop&&Ha&&!e.isReadOnly()&&o=="single"&&(d=p.contains(t))>-1&&(ce((d=p.ranges[d]).from(),t)<0||t.xRel>0)&&(ce(d.to(),t)>0||t.xRel<0)?Pc(e,i,t,l):ff(e,i,t,l)}function Pc(e,t,o,i){var l=e.display,p=!1,d=et(e,function(b){E&&(l.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:ca(e)),Jt(l.wrapper.ownerDocument,"mouseup",d),Jt(l.wrapper.ownerDocument,"mousemove",v),Jt(l.scroller,"dragstart",m),Jt(l.scroller,"drop",d),p||(Zt(b),i.addNew||ma(e.doc,o,null,null,i.extend),E&&!ae||A&&k==9?setTimeout(function(){l.wrapper.ownerDocument.body.focus({preventScroll:!0}),l.input.focus()},20):l.input.focus())}),v=function(b){p=p||Math.abs(t.clientX-b.clientX)+Math.abs(t.clientY-b.clientY)>=10},m=function(){return p=!0};E&&(l.scroller.draggable=!0),e.state.draggingText=d,d.copy=!i.moveOnDrag,Te(l.wrapper.ownerDocument,"mouseup",d),Te(l.wrapper.ownerDocument,"mousemove",v),Te(l.scroller,"dragstart",m),Te(l.scroller,"drop",d),e.state.delayingBlurEvent=!0,setTimeout(function(){return l.input.focus()},20),l.scroller.dragDrop&&l.scroller.dragDrop()}function jl(e,t,o){if(o=="char")return new Je(t,t);if(o=="word")return e.findWordAt(t);if(o=="line")return new Je(z(t.line,0),Pe(e.doc,z(t.line+1,0)));var i=o(e,t);return new Je(i.from,i.to)}function ff(e,t,o,i){A&&ca(e);var l=e.display,p=e.doc;Zt(t);var d,v,m=p.sel,b=m.ranges;if(i.addNew&&!i.extend?(v=p.sel.contains(o),v>-1?d=b[v]:d=new Je(o,o)):(d=p.sel.primary(),v=p.sel.primIndex),i.unit=="rectangle")i.addNew||(d=new Je(o,o)),o=Tn(e,t,!0,!0),v=-1;else{var $=jl(e,o,i.unit);i.extend?d=Ht(d,$.anchor,$.head,i.extend):d=$}i.addNew?v==-1?(v=b.length,Xt(p,on(e,b.concat([d]),v),{scroll:!1,origin:"*mouse"})):b.length>1&&b[v].empty()&&i.unit=="char"&&!i.extend?(Xt(p,on(e,b.slice(0,v).concat(b.slice(v+1)),0),{scroll:!1,origin:"*mouse"}),m=p.sel):Fr(p,v,d,gr):(v=0,Xt(p,new St([d],0),gr),m=p.sel);var O=o;function R(ue){if(ce(O,ue)!=0)if(O=ue,i.unit=="rectangle"){for(var he=[],_e=e.options.tabSize,Ce=We(be(p,o.line).text,o.ch,_e),Ie=We(be(p,ue.line).text,ue.ch,_e),rt=Math.min(Ce,Ie),Et=Math.max(Ce,Ie),ut=Math.min(o.line,ue.line),Tt=Math.min(e.lastLine(),Math.max(o.line,ue.line));ut<=Tt;ut++){var Dt=be(p,ut).text,kt=Yt(Dt,rt,_e);rt==Et?he.push(new Je(z(ut,kt),z(ut,kt))):Dt.length>kt&&he.push(new Je(z(ut,kt),z(ut,Yt(Dt,Et,_e))))}he.length||he.push(new Je(o,o)),Xt(p,on(e,m.ranges.slice(0,v).concat(he),v),{origin:"*mouse",scroll:!1}),e.scrollIntoView(ue)}else{var or=d,er=jl(e,ue,i.unit),Rt=or.anchor,Lt;ce(er.anchor,Rt)>0?(Lt=er.head,Rt=Rn(or.from(),er.anchor)):(Lt=er.anchor,Rt=ir(or.to(),er.head));var wt=m.ranges.slice(0);wt[v]=hs(e,new Je(Pe(p,Rt),Lt)),Xt(p,on(e,wt,v),gr)}}var I=l.wrapper.getBoundingClientRect(),G=0;function Z(ue){var he=++G,_e=Tn(e,ue,!0,i.unit=="rectangle");if(!!_e)if(ce(_e,O)!=0){e.curOp.focus=nt(Mt(e)),R(_e);var Ce=Pi(l,p);(_e.line>=Ce.to||_e.lineI.bottom?20:0;Ie&&setTimeout(et(e,function(){G==he&&(l.scroller.scrollTop+=Ie,Z(ue))}),50)}}function le(ue){e.state.selectingText=!1,G=1/0,ue&&(Zt(ue),l.input.focus()),Jt(l.wrapper.ownerDocument,"mousemove",fe),Jt(l.wrapper.ownerDocument,"mouseup",pe),p.history.lastSelOrigin=null}var fe=et(e,function(ue){ue.buttons===0||!Vr(ue)?le(ue):Z(ue)}),pe=et(e,le);e.state.selectingText=pe,Te(l.wrapper.ownerDocument,"mousemove",fe),Te(l.wrapper.ownerDocument,"mouseup",pe)}function hs(e,t){var o=t.anchor,i=t.head,l=be(e.doc,o.line);if(ce(o,i)==0&&o.sticky==i.sticky)return t;var p=Re(l);if(!p)return t;var d=yn(p,o.ch,o.sticky),v=p[d];if(v.from!=o.ch&&v.to!=o.ch)return t;var m=d+(v.from==o.ch==(v.level!=1)?0:1);if(m==0||m==p.length)return t;var b;if(i.line!=o.line)b=(i.line-o.line)*(e.doc.direction=="ltr"?1:-1)>0;else{var $=yn(p,i.ch,i.sticky),O=$-d||(i.ch-o.ch)*(v.level==1?-1:1);$==m-1||$==m?b=O<0:b=O>0}var R=p[m+(b?-1:0)],I=b==(R.level==1),G=I?R.from:R.to,Z=I?"after":"before";return o.ch==G&&o.sticky==Z?t:new Je(new z(o.line,G,Z),i)}function Hl(e,t,o,i){var l,p;if(t.touches)l=t.touches[0].clientX,p=t.touches[0].clientY;else try{l=t.clientX,p=t.clientY}catch{return!1}if(l>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;i&&Zt(t);var d=e.display,v=d.lineDiv.getBoundingClientRect();if(p>v.bottom||!vr(e,o))return fr(t);p-=v.top-d.viewOffset;for(var m=0;m=l){var $=D(e.doc,p),O=e.display.gutterSpecs[m];return ft(e,o,e,$,O.className,t),fr(t)}}}function Da(e,t){return Hl(e,t,"gutterClick",!0)}function gs(e,t){xn(e.display,t)||vs(e,t)||_t(e,t,"contextmenu")||He||e.display.input.onContextMenu(t)}function vs(e,t){return vr(e,"gutterContextMenu")?Hl(e,t,"gutterContextMenu",!1):!1}function cf(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Ya(e)}var Gi={toString:function(){return"CodeMirror.Init"}},go={},vo={};function zl(e){var t=e.optionHandlers;function o(i,l,p,d){e.defaults[i]=l,p&&(t[i]=d?function(v,m,b){b!=Gi&&p(v,m,b)}:p)}e.defineOption=o,e.Init=Gi,o("value","",function(i,l){return i.setValue(l)},!0),o("mode",null,function(i,l){i.doc.modeOption=l,$l(i)},!0),o("indentUnit",2,$l,!0),o("indentWithTabs",!1),o("smartIndent",!0),o("tabSize",4,function(i){Fi(i),Ya(i),cr(i)},!0),o("lineSeparator",null,function(i,l){if(i.doc.lineSep=l,!!l){var p=[],d=i.doc.first;i.doc.iter(function(m){for(var b=0;;){var $=m.text.indexOf(l,b);if($==-1)break;b=$+l.length,p.push(z(d,$))}d++});for(var v=p.length-1;v>=0;v--)Wi(i.doc,l,p[v],z(p[v].line,p[v].ch+l.length))}}),o("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(i,l,p){i.state.specialChars=new RegExp(l.source+(l.test(" ")?"":"| "),"g"),p!=Gi&&i.refresh()}),o("specialCharPlaceholder",ei,function(i){return i.refresh()},!0),o("electricChars",!0),o("inputStyle",q?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),o("spellcheck",!1,function(i,l){return i.getInputField().spellcheck=l},!0),o("autocorrect",!1,function(i,l){return i.getInputField().autocorrect=l},!0),o("autocapitalize",!1,function(i,l){return i.getInputField().autocapitalize=l},!0),o("rtlMoveVisually",!de),o("wholeLineUpdateBefore",!0),o("theme","default",function(i){cf(i),ro(i)},!0),o("keyMap","default",function(i,l,p){var d=lo(l),v=p!=Gi&&lo(p);v&&v.detach&&v.detach(i,d),d.attach&&d.attach(i,v||null)}),o("extraKeys",null),o("configureMouse",null),o("lineWrapping",!1,pf,!0),o("gutters",[],function(i,l){i.display.gutterSpecs=an(l,i.options.lineNumbers),ro(i)},!0),o("fixedGutter",!0,function(i,l){i.display.gutters.style.left=l?Xe(i.display)+"px":"0",i.refresh()},!0),o("coverGutterNextToScrollbar",!1,function(i){return wn(i)},!0),o("scrollbarStyle","native",function(i){ku(i),wn(i),i.display.scrollbars.setScrollTop(i.doc.scrollTop),i.display.scrollbars.setScrollLeft(i.doc.scrollLeft)},!0),o("lineNumbers",!1,function(i,l){i.display.gutterSpecs=an(i.options.gutters,l),ro(i)},!0),o("firstLineNumber",1,ro,!0),o("lineNumberFormatter",function(i){return i},ro,!0),o("showCursorWhenSelecting",!1,ni,!0),o("resetSelectionOnContextMenu",!0),o("lineWiseCopyCut",!0),o("pasteLinesPerSelection",!0),o("selectionsMayTouch",!1),o("readOnly",!1,function(i,l){l=="nocursor"&&(pa(i),i.display.input.blur()),i.display.input.readOnlyChanged(l)}),o("screenReaderLabel",null,function(i,l){l=l===""?null:l,i.display.input.screenReaderLabelChanged(l)}),o("disableInput",!1,function(i,l){l||i.display.input.reset()},!0),o("dragDrop",!0,Mc),o("allowDropFileTypes",null),o("cursorBlinkRate",530),o("cursorScrollMargin",0),o("cursorHeight",1,ni,!0),o("singleCursorHeightPerLine",!0,ni,!0),o("workTime",100),o("workDelay",100),o("flattenSpans",!0,Fi,!0),o("addModeClass",!1,Fi,!0),o("pollInterval",100),o("undoDepth",200,function(i,l){return i.doc.history.undoDepth=l}),o("historyEventDelay",1250),o("viewportMargin",10,function(i){return i.refresh()},!0),o("maxHighlightLength",1e4,Fi,!0),o("moveInputWithCursor",!0,function(i,l){l||i.display.input.resetPosition()}),o("tabindex",null,function(i,l){return i.display.input.getField().tabIndex=l||""}),o("autofocus",null),o("direction","ltr",function(i,l){return i.doc.setDirection(l)},!0),o("phrases",null)}function Mc(e,t,o){var i=o&&o!=Gi;if(!t!=!i){var l=e.display.dragFunctions,p=t?Te:Jt;p(e.display.scroller,"dragstart",l.start),p(e.display.scroller,"dragenter",l.enter),p(e.display.scroller,"dragover",l.over),p(e.display.scroller,"dragleave",l.leave),p(e.display.scroller,"drop",l.drop)}}function pf(e){e.options.lineWrapping?(mt(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(gt(e.display.wrapper,"CodeMirror-wrap"),zo(e)),Zo(e),cr(e),Ya(e),setTimeout(function(){return wn(e)},100)}function Ke(e,t){var o=this;if(!(this instanceof Ke))return new Ke(e,t);this.options=t=t?De(t):{},De(go,t,!1);var i=t.value;typeof i=="string"?i=new ar(i,t.mode,null,t.lineSeparator,t.direction):t.mode&&(i.modeOption=t.mode),this.doc=i;var l=new Ke.inputStyles[t.inputStyle](this),p=this.display=new Cc(e,i,l,t);p.wrapper.CodeMirror=this,cf(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),ku(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new hr,keySeq:null,specialChars:null},t.autofocus&&!q&&p.input.focus(),A&&k<11&&setTimeout(function(){return o.display.input.reset(!0)},20),df(this),rf(),Ni(this),this.curOp.forceUpdate=!0,Al(this,i),t.autofocus&&!q||this.hasFocus()?setTimeout(function(){o.hasFocus()&&!o.state.focused&&ml(o)},20):pa(this);for(var d in vo)vo.hasOwnProperty(d)&&vo[d](this,t[d],Gi);Iu(this),t.finishInit&&t.finishInit(this);for(var v=0;v20*20}Te(t.scroller,"touchstart",function(m){if(!_t(e,m)&&!p(m)&&!Da(e,m)){t.input.ensurePolled(),clearTimeout(o);var b=+new Date;t.activeTouch={start:b,moved:!1,prev:b-i.end<=300?i:null},m.touches.length==1&&(t.activeTouch.left=m.touches[0].pageX,t.activeTouch.top=m.touches[0].pageY)}}),Te(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),Te(t.scroller,"touchend",function(m){var b=t.activeTouch;if(b&&!xn(t,m)&&b.left!=null&&!b.moved&&new Date-b.start<300){var $=e.coordsChar(t.activeTouch,"page"),O;!b.prev||d(b,b.prev)?O=new Je($,$):!b.prev.prev||d(b,b.prev.prev)?O=e.findWordAt($):O=new Je(z($.line,0),Pe(e.doc,z($.line+1,0))),e.setSelection(O.anchor,O.head),e.focus(),Zt(m)}l()}),Te(t.scroller,"touchcancel",l),Te(t.scroller,"scroll",function(){t.scroller.clientHeight&&(Xa(e,t.scroller.scrollTop),rn(e,t.scroller.scrollLeft,!0),ft(e,"scroll",e))}),Te(t.scroller,"mousewheel",function(m){return Ru(e,m)}),Te(t.scroller,"DOMMouseScroll",function(m){return Ru(e,m)}),Te(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(m){_t(e,m)||Jn(m)},over:function(m){_t(e,m)||(Fe(e,m),Jn(m))},start:function(m){return Nl(e,m)},drop:et(e,$c),leave:function(m){_t(e,m)||ef(e)}};var v=t.input.getField();Te(v,"keyup",function(m){return un.call(e,m)}),Te(v,"keydown",et(e,Ul)),Te(v,"keypress",et(e,of)),Te(v,"focus",function(m){return ml(e,m)}),Te(v,"blur",function(m){return pa(e,m)})}var ms=[];Ke.defineInitHook=function(e){return ms.push(e)};function mo(e,t,o,i){var l=e.doc,p;o==null&&(o="add"),o=="smart"&&(l.mode.indent?p=wi(e,t).state:o="prev");var d=e.options.tabSize,v=be(l,t),m=We(v.text,null,d);v.stateAfter&&(v.stateAfter=null);var b=v.text.match(/^\s*/)[0],$;if(!i&&!/\S/.test(v.text))$=0,o="not";else if(o=="smart"&&($=l.mode.indent(p,v.text.slice(b.length),v.text),$==Cr||$>150)){if(!i)return;o="prev"}o=="prev"?t>l.first?$=We(be(l,t-1).text,null,d):$=0:o=="add"?$=m+e.options.indentUnit:o=="subtract"?$=m-e.options.indentUnit:typeof o=="number"&&($=m+o),$=Math.max(0,$);var O="",R=0;if(e.options.indentWithTabs)for(var I=Math.floor($/d);I;--I)R+=d,O+=" ";if(R<$&&(O+=Wa($-R)),O!=b)return Wi(l,O,z(t,0),z(t,b.length),"+input"),v.stateAfter=null,!0;for(var G=0;Gd,m=Mr(t),b=null;if(v&&i.ranges.length>1)if(Br&&Br.text.join(` +`)==t){if(i.ranges.length%Br.text.length==0){b=[];for(var $=0;$=0;R--){var I=i.ranges[R],G=I.from(),Z=I.to();I.empty()&&(o&&o>0?G=z(G.line,G.ch-o):e.state.overwrite&&!v?Z=z(Z.line,Math.min(be(p,Z.line).text.length,Z.ch+Ue(m).length)):v&&Br&&Br.lineWise&&Br.text.join(` `)==m.join(` -`)&&(G=Z=z(G.line,0)));var le={from:G,to:Z,text:b?b[R%b.length]:m,origin:l||(v?"paste":e.state.cutIncoming>d?"cut":"+input")};_a(e.doc,le),pt(e,"inputRead",e,le)}t&&!v&&bs(e,t),dt(e),e.curOp.updateInput<2&&(e.curOp.updateInput=O),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function On(e,t){var o=e.clipboardData&&e.clipboardData.getData("Text");if(o)return e.preventDefault(),!t.isReadOnly()&&!t.options.disableInput&&t.hasFocus()&&rr(t,function(){return Gl(t,o,0,null,"paste")}),!0}function bs(e,t){if(!(!e.options.electricChars||!e.options.smartIndent))for(var o=e.doc.sel,i=o.ranges.length-1;i>=0;i--){var l=o.ranges[i];if(!(l.head.ch>100||i&&o.ranges[i-1].head.line==l.head.line)){var p=e.getModeAt(l.head),d=!1;if(p.electricChars){for(var v=0;v-1){d=mo(e,l.head.line,"smart");break}}else p.electricInput&&p.electricInput.test(be(e.doc,l.head.line).text.slice(0,l.head.ch))&&(d=mo(e,l.head.line,"smart"));d&&pt(e,"electricInput",e,l.head.line)}}}function Cs(e){for(var t=[],o=[],i=0;ip&&(mo(this,v.head.line,i,!0),p=v.head.line,d==this.doc.sel.primIndex&&dt(this));else{var m=v.from(),b=v.to(),$=Math.max(p,m.line);p=Math.min(this.lastLine(),b.line-(b.ch?0:1))+1;for(var O=$;O0&&Fr(this.doc,d,new Je(m,R[d].to()),bt)}}}),getTokenAt:function(i,l){return Ys(this,i,l)},getLineTokens:function(i,l){return Ys(this,z(i),l,!0)},getTokenTypeAt:function(i){i=Pe(this.doc,i);var l=Io(this,be(this.doc,i.line)),p=0,d=(l.length-1)/2,v=i.ch,m;if(v==0)m=l[2];else for(;;){var b=p+d>>1;if((b?l[b*2-1]:0)>=v)d=b;else if(l[b*2+1]m&&(i=m,d=!0),v=be(this.doc,i)}else v=i;return jn(this,v,{top:0,left:0},l||"page",p||d).top+(d?this.doc.height-_n(v):0)},defaultTextHeight:function(){return Qr(this.display)},defaultCharWidth:function(){return Un(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(i,l,p,d,v){var m=this.display;i=U(this,Pe(this.doc,i));var b=i.bottom,$=i.left;if(l.style.position="absolute",l.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(l),m.sizer.appendChild(l),d=="over")b=i.top;else if(d=="above"||d=="near"){var O=Math.max(m.wrapper.clientHeight,this.doc.height),R=Math.max(m.sizer.clientWidth,m.lineSpace.clientWidth);(d=="above"||i.bottom+l.offsetHeight>O)&&i.top>l.offsetHeight?b=i.top-l.offsetHeight:i.bottom+l.offsetHeight<=O&&(b=i.bottom),$+l.offsetWidth>R&&($=R-l.offsetWidth)}l.style.top=b+"px",l.style.left=l.style.right="",v=="right"?($=m.sizer.clientWidth-l.offsetWidth,l.style.right="0px"):(v=="left"?$=0:v=="middle"&&($=(m.sizer.clientWidth-l.offsetWidth)/2),l.style.left=$+"px"),p&&Du(this,{left:$,top:b,right:$+l.offsetWidth,bottom:b+l.offsetHeight})},triggerOnKeyDown:Ee(jl),triggerOnKeyPress:Ee(of),triggerOnKeyUp:un,triggerOnMouseDown:Ee(lf),execCommand:function(i){if(co.hasOwnProperty(i))return co[i].call(null,this)},triggerElectric:Ee(function(i){bs(this,i)}),findPosH:function(i,l,p,d){var v=1;l<0&&(v=-1,l=-l);for(var m=Pe(this.doc,i),b=0;b0&&$(p.charAt(d-1));)--d;for(;v.5||this.options.lineWrapping)&&Zo(this),ft(this,"refresh",this)}),swapDoc:Ee(function(i){var l=this.doc;return l.cm=null,this.state.selectingText&&this.state.selectingText(),Al(this,i),Ya(this),this.display.input.reset(),Nt(this,i.scrollLeft,i.scrollTop),this.curOp.forceScroll=!0,pt(this,"swapDoc",this,l),l}),phrase:function(i){var l=this.options.phrases;return l&&Object.prototype.hasOwnProperty.call(l,i)?l[i]:i},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},qr(e),e.registerHelper=function(i,l,p){o.hasOwnProperty(i)||(o[i]=e[i]={_global:[]}),o[i][l]=p},e.registerGlobalHelper=function(i,l,p,d){e.registerHelper(i,l,d),o[i]._global.push({pred:p,val:d})}}function Ae(e,t,o,i,l){var p=t,d=o,v=be(e,t.line),m=l&&e.direction=="rtl"?-o:o;function b(){var pe=t.line+m;return pe=e.first+e.size?!1:(t=new z(pe,t.ch,t.sticky),v=be(e,pe))}function $(pe){var ue;if(i=="codepoint"){var he=v.text.charCodeAt(t.ch+(o>0?0:-1));if(isNaN(he))ue=null;else{var _e=o>0?he>=55296&&he<56320:he>=56320&&he<57343;ue=new z(t.line,Math.max(0,Math.min(v.text.length,t.ch+o*(_e?2:1))),-o)}}else l?ue=pi(e.cm,v,t,o):ue=uo(v,t,o);if(ue==null)if(!pe&&b())t=fo(l,e.cm,v,t.line,m);else return!1;else t=ue;return!0}if(i=="char"||i=="codepoint")$();else if(i=="column")$(!0);else if(i=="word"||i=="group")for(var O=null,R=i=="group",I=e.cm&&e.cm.getHelper(t,"wordChars"),G=!0;!(o<0&&!$(!G));G=!1){var Z=v.text.charAt(t.ch)||` +`)&&(G=Z=z(G.line,0)));var le={from:G,to:Z,text:b?b[R%b.length]:m,origin:l||(v?"paste":e.state.cutIncoming>d?"cut":"+input")};_a(e.doc,le),pt(e,"inputRead",e,le)}t&&!v&&bs(e,t),dt(e),e.curOp.updateInput<2&&(e.curOp.updateInput=O),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function On(e,t){var o=e.clipboardData&&e.clipboardData.getData("Text");if(o)return e.preventDefault(),!t.isReadOnly()&&!t.options.disableInput&&t.hasFocus()&&rr(t,function(){return Gl(t,o,0,null,"paste")}),!0}function bs(e,t){if(!(!e.options.electricChars||!e.options.smartIndent))for(var o=e.doc.sel,i=o.ranges.length-1;i>=0;i--){var l=o.ranges[i];if(!(l.head.ch>100||i&&o.ranges[i-1].head.line==l.head.line)){var p=e.getModeAt(l.head),d=!1;if(p.electricChars){for(var v=0;v-1){d=mo(e,l.head.line,"smart");break}}else p.electricInput&&p.electricInput.test(be(e.doc,l.head.line).text.slice(0,l.head.ch))&&(d=mo(e,l.head.line,"smart"));d&&pt(e,"electricInput",e,l.head.line)}}}function Cs(e){for(var t=[],o=[],i=0;ip&&(mo(this,v.head.line,i,!0),p=v.head.line,d==this.doc.sel.primIndex&&dt(this));else{var m=v.from(),b=v.to(),$=Math.max(p,m.line);p=Math.min(this.lastLine(),b.line-(b.ch?0:1))+1;for(var O=$;O0&&Fr(this.doc,d,new Je(m,R[d].to()),bt)}}}),getTokenAt:function(i,l){return Ys(this,i,l)},getLineTokens:function(i,l){return Ys(this,z(i),l,!0)},getTokenTypeAt:function(i){i=Pe(this.doc,i);var l=Io(this,be(this.doc,i.line)),p=0,d=(l.length-1)/2,v=i.ch,m;if(v==0)m=l[2];else for(;;){var b=p+d>>1;if((b?l[b*2-1]:0)>=v)d=b;else if(l[b*2+1]m&&(i=m,d=!0),v=be(this.doc,i)}else v=i;return Un(this,v,{top:0,left:0},l||"page",p||d).top+(d?this.doc.height-_n(v):0)},defaultTextHeight:function(){return Qr(this.display)},defaultCharWidth:function(){return jn(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(i,l,p,d,v){var m=this.display;i=j(this,Pe(this.doc,i));var b=i.bottom,$=i.left;if(l.style.position="absolute",l.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(l),m.sizer.appendChild(l),d=="over")b=i.top;else if(d=="above"||d=="near"){var O=Math.max(m.wrapper.clientHeight,this.doc.height),R=Math.max(m.sizer.clientWidth,m.lineSpace.clientWidth);(d=="above"||i.bottom+l.offsetHeight>O)&&i.top>l.offsetHeight?b=i.top-l.offsetHeight:i.bottom+l.offsetHeight<=O&&(b=i.bottom),$+l.offsetWidth>R&&($=R-l.offsetWidth)}l.style.top=b+"px",l.style.left=l.style.right="",v=="right"?($=m.sizer.clientWidth-l.offsetWidth,l.style.right="0px"):(v=="left"?$=0:v=="middle"&&($=(m.sizer.clientWidth-l.offsetWidth)/2),l.style.left=$+"px"),p&&Du(this,{left:$,top:b,right:$+l.offsetWidth,bottom:b+l.offsetHeight})},triggerOnKeyDown:Ee(Ul),triggerOnKeyPress:Ee(of),triggerOnKeyUp:un,triggerOnMouseDown:Ee(lf),execCommand:function(i){if(co.hasOwnProperty(i))return co[i].call(null,this)},triggerElectric:Ee(function(i){bs(this,i)}),findPosH:function(i,l,p,d){var v=1;l<0&&(v=-1,l=-l);for(var m=Pe(this.doc,i),b=0;b0&&$(p.charAt(d-1));)--d;for(;v.5||this.options.lineWrapping)&&Zo(this),ft(this,"refresh",this)}),swapDoc:Ee(function(i){var l=this.doc;return l.cm=null,this.state.selectingText&&this.state.selectingText(),Al(this,i),Ya(this),this.display.input.reset(),Nt(this,i.scrollLeft,i.scrollTop),this.curOp.forceScroll=!0,pt(this,"swapDoc",this,l),l}),phrase:function(i){var l=this.options.phrases;return l&&Object.prototype.hasOwnProperty.call(l,i)?l[i]:i},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},qr(e),e.registerHelper=function(i,l,p){o.hasOwnProperty(i)||(o[i]=e[i]={_global:[]}),o[i][l]=p},e.registerGlobalHelper=function(i,l,p,d){e.registerHelper(i,l,d),o[i]._global.push({pred:p,val:d})}}function Ae(e,t,o,i,l){var p=t,d=o,v=be(e,t.line),m=l&&e.direction=="rtl"?-o:o;function b(){var pe=t.line+m;return pe=e.first+e.size?!1:(t=new z(pe,t.ch,t.sticky),v=be(e,pe))}function $(pe){var ue;if(i=="codepoint"){var he=v.text.charCodeAt(t.ch+(o>0?0:-1));if(isNaN(he))ue=null;else{var _e=o>0?he>=55296&&he<56320:he>=56320&&he<57343;ue=new z(t.line,Math.max(0,Math.min(v.text.length,t.ch+o*(_e?2:1))),-o)}}else l?ue=pi(e.cm,v,t,o):ue=uo(v,t,o);if(ue==null)if(!pe&&b())t=fo(l,e.cm,v,t.line,m);else return!1;else t=ue;return!0}if(i=="char"||i=="codepoint")$();else if(i=="column")$(!0);else if(i=="word"||i=="group")for(var O=null,R=i=="group",I=e.cm&&e.cm.getHelper(t,"wordChars"),G=!0;!(o<0&&!$(!G));G=!1){var Z=v.text.charAt(t.ch)||` `,le=xr(Z,I)?"w":R&&Z==` `?"n":!R||/\s/.test(Z)?null:"p";if(R&&!G&&!le&&(le="s"),O&&O!=le){o<0&&(o=1,$(),t.sticky="after");break}if(le&&(O=le),o>0&&!$(!G))break}var fe=ba(e,t,p,d,!0);return qe(p,fe)&&(fe.hitSide=!0),fe}function Co(e,t,o,i){var l=e.doc,p=t.left,d;if(i=="page"){var v=Math.min(e.display.wrapper.clientHeight,we(e).innerHeight||l(e).documentElement.clientHeight),m=Math.max(v-.5*Qr(e.display),3);d=(o>0?t.bottom:t.top)+o*m}else i=="line"&&(d=o>0?t.bottom+3:t.top-3);for(var b;b=Ve(e,p,d),!!b.outside;){if(o<0?d<=0:d>=l.height){b.hitSide=!0;break}d+=o*5}return b}var Ze=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new hr,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Ze.prototype.init=function(e){var t=this,o=this,i=o.cm,l=o.div=e.lineDiv;l.contentEditable=!0,yo(l,i.options.spellcheck,i.options.autocorrect,i.options.autocapitalize);function p(v){for(var m=v.target;m;m=m.parentNode){if(m==l)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(m.className))break}return!1}Te(l,"paste",function(v){!p(v)||_t(i,v)||On(v,i)||k<=11&&setTimeout(et(i,function(){return t.updateFromDOM()}),20)}),Te(l,"compositionstart",function(v){t.composing={data:v.data,done:!1}}),Te(l,"compositionupdate",function(v){t.composing||(t.composing={data:v.data,done:!1})}),Te(l,"compositionend",function(v){t.composing&&(v.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),Te(l,"touchstart",function(){return o.forceCompositionEnd()}),Te(l,"input",function(){t.composing||t.readFromDOMSoon()});function d(v){if(!(!p(v)||_t(i,v))){if(i.somethingSelected())ys({lineWise:!1,text:i.getSelections()}),v.type=="cut"&&i.replaceSelection("",null,"cut");else if(i.options.lineWiseCopyCut){var m=Cs(i);ys({lineWise:!0,text:m.text}),v.type=="cut"&&i.operation(function(){i.setSelections(m.ranges,0,bt),i.replaceSelection("",null,"cut")})}else return;if(v.clipboardData){v.clipboardData.clearData();var b=Br.text.join(` `);if(v.clipboardData.setData("Text",b),v.clipboardData.getData("Text")==b){v.preventDefault();return}}var $=bo(),O=$.firstChild;yo(O),i.display.lineSpace.insertBefore($,i.display.lineSpace.firstChild),O.value=Br.text.join(` -`);var R=nt(Qe(l));Bt(O),setTimeout(function(){i.display.lineSpace.removeChild($),R.focus(),R==l&&o.showPrimarySelection()},50)}}Te(l,"copy",d),Te(l,"cut",d)},Ze.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Ze.prototype.prepareSelection=function(){var e=vl(this.cm,!1);return e.focus=nt(Qe(this.div))==this.div,e},Ze.prototype.showSelection=function(e,t){!e||!this.cm.display.view.length||((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Ze.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ze.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,o=t.doc.sel.primary(),i=o.from(),l=o.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||l.line=t.display.viewFrom&&di(t,i)||{node:v[0].measure.map[2],offset:0},b=l.linee.firstLine()&&(i=z(i.line-1,be(e.doc,i.line-1).length)),l.ch==be(e.doc,l.line).text.length&&l.linet.viewTo-1)return!1;var p,d,v;i.line==t.viewFrom||(p=Di(e,i.line))==0?(d=_(t.view[0].line),v=t.view[0].node):(d=_(t.view[p].line),v=t.view[p-1].node.nextSibling);var m=Di(e,l.line),b,$;if(m==t.view.length-1?(b=t.viewTo-1,$=t.lineDiv.lastChild):(b=_(t.view[m+1].line)-1,$=t.view[m+1].node.previousSibling),!v)return!1;for(var O=e.doc.splitLines(hf(e,v,$,d,b)),R=bn(e.doc,z(d,0),z(b,be(e.doc,b).text.length));O.length>1&&R.length>1;)if(je(O)==je(R))O.pop(),R.pop(),b--;else if(O[0]==R[0])O.shift(),R.shift(),d++;else break;for(var I=0,G=0,Z=O[0],le=R[0],fe=Math.min(Z.length,le.length);Ii.ch&&pe.charCodeAt(pe.length-G-1)==ue.charCodeAt(ue.length-G-1);)I--,G++;O[O.length-1]=pe.slice(0,pe.length-G).replace(/^\u200b+/,""),O[0]=O[0].slice(I).replace(/\u200b+$/,"");var _e=z(d,I),Ce=z(b,R.length?je(R).length-G:0);if(O.length>1||O[0]||ce(_e,Ce))return Wi(e.doc,O,_e,Ce,"+input"),!0},Ze.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ze.prototype.reset=function(){this.forceCompositionEnd()},Ze.prototype.forceCompositionEnd=function(){!this.composing||(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ze.prototype.readFromDOMSoon=function(){var e=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing)if(e.composing.done)e.composing=null;else return;e.updateFromDOM()},80))},Ze.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&rr(this.cm,function(){return cr(e.cm)})},Ze.prototype.setUneditable=function(e){e.contentEditable="false"},Ze.prototype.onKeyPress=function(e){e.charCode==0||this.composing||(e.preventDefault(),this.cm.isReadOnly()||et(this.cm,Gl)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0))},Ze.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},Ze.prototype.onContextMenu=function(){},Ze.prototype.resetPosition=function(){},Ze.prototype.needsContentAttribute=!0;function di(e,t){var o=Yo(e,t.line);if(!o||o.hidden)return null;var i=be(e.doc,t.line),l=xu(o,i,t.line),p=Re(i,e.doc.direction),d="left";if(p){var v=yn(p,t.ch);d=v%2?"right":"left"}var m=Tu(l.map,t.ch,d);return m.offset=m.collapse=="right"?m.end:m.start,m}function Ic(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function hi(e,t){return t&&(e.bad=!0),e}function hf(e,t,o,i,l){var p="",d=!1,v=e.doc.lineSeparator(),m=!1;function b(I){return function(G){return G.id==I}}function $(){d&&(p+=v,m&&(p+=v),d=m=!1)}function O(I){I&&($(),p+=I)}function R(I){if(I.nodeType==1){var G=I.getAttribute("cm-text");if(G){O(G);return}var Z=I.getAttribute("cm-marker"),le;if(Z){var fe=e.findMarks(z(i,0),z(l+1,0),b(+Z));fe.length&&(le=fe[0].find(0))&&O(bn(e.doc,le.from,le.to).join(v));return}if(I.getAttribute("contenteditable")=="false")return;var pe=/^(pre|div|p|li|table|br)$/i.test(I.nodeName);if(!/^br$/i.test(I.nodeName)&&I.textContent.length==0)return;pe&&$();for(var ue=0;ue=9&&t.hasSelection&&(t.hasSelection=null),o.poll()}),Te(l,"paste",function(d){_t(i,d)||On(d,i)||(i.state.pasteIncoming=+new Date,o.fastPoll())});function p(d){if(!_t(i,d)){if(i.somethingSelected())ys({lineWise:!1,text:i.getSelections()});else if(i.options.lineWiseCopyCut){var v=Cs(i);ys({lineWise:!0,text:v.text}),d.type=="cut"?i.setSelections(v.ranges,null,bt):(o.prevInput="",l.value=v.text.join(` -`),Bt(l))}else return;d.type=="cut"&&(i.state.cutIncoming=+new Date)}}Te(l,"cut",p),Te(l,"copy",p),Te(e.scroller,"paste",function(d){if(!(xn(e,d)||_t(i,d))){if(!l.dispatchEvent){i.state.pasteIncoming=+new Date,o.focus();return}var v=new Event("paste");v.clipboardData=d.clipboardData,l.dispatchEvent(v)}}),Te(e.lineSpace,"selectstart",function(d){xn(e,d)||Zt(d)}),Te(l,"compositionstart",function(){var d=i.getCursor("from");o.composing&&o.composing.range.clear(),o.composing={start:d,range:i.markText(d,i.getCursor("to"),{className:"CodeMirror-composing"})}}),Te(l,"compositionend",function(){o.composing&&(o.poll(),o.composing.range.clear(),o.composing=null)})},At.prototype.createField=function(e){this.wrapper=bo(),this.textarea=this.wrapper.firstChild;var t=this.cm.options;yo(this.textarea,t.spellcheck,t.autocorrect,t.autocapitalize)},At.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},At.prototype.prepareSelection=function(){var e=this.cm,t=e.display,o=e.doc,i=vl(e);if(e.options.moveInputWithCursor){var l=U(e,o.sel.primary().head,"div"),p=t.wrapper.getBoundingClientRect(),d=t.lineDiv.getBoundingClientRect();i.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,l.top+d.top-p.top)),i.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,l.left+d.left-p.left))}return i},At.prototype.showSelection=function(e){var t=this.cm,o=t.display;me(o.cursorDiv,e.cursors),me(o.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},At.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing&&e)){var t=this.cm;if(this.resetting=!0,t.somethingSelected()){this.prevInput="";var o=t.getSelection();this.textarea.value=o,t.state.focused&&Bt(this.textarea),A&&k>=9&&(this.hasSelection=o)}else e||(this.prevInput=this.textarea.value="",A&&k>=9&&(this.hasSelection=null));this.resetting=!1}},At.prototype.getField=function(){return this.textarea},At.prototype.supportsTouch=function(){return!1},At.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!q||nt(Qe(this.textarea))!=this.textarea))try{this.textarea.focus()}catch{}},At.prototype.blur=function(){this.textarea.blur()},At.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},At.prototype.receivedFocus=function(){this.slowPoll()},At.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},At.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0;function o(){var i=t.poll();!i&&!e?(e=!0,t.polling.set(60,o)):(t.pollingFast=!1,t.slowPoll())}t.polling.set(20,o)},At.prototype.poll=function(){var e=this,t=this.cm,o=this.textarea,i=this.prevInput;if(this.contextMenuPending||this.resetting||!t.state.focused||Xn(o)&&!i&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var l=o.value;if(l==i&&!t.somethingSelected())return!1;if(A&&k>=9&&this.hasSelection===l||J&&/[\uf700-\uf7ff]/.test(l))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var p=l.charCodeAt(0);if(p==8203&&!i&&(i="\u200B"),p==8666)return this.reset(),this.cm.execCommand("undo")}for(var d=0,v=Math.min(i.length,l.length);d1e3||l.indexOf(` +`);var R=nt(Qe(l));Bt(O),setTimeout(function(){i.display.lineSpace.removeChild($),R.focus(),R==l&&o.showPrimarySelection()},50)}}Te(l,"copy",d),Te(l,"cut",d)},Ze.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Ze.prototype.prepareSelection=function(){var e=vl(this.cm,!1);return e.focus=nt(Qe(this.div))==this.div,e},Ze.prototype.showSelection=function(e,t){!e||!this.cm.display.view.length||((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Ze.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ze.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,o=t.doc.sel.primary(),i=o.from(),l=o.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||l.line=t.display.viewFrom&&di(t,i)||{node:v[0].measure.map[2],offset:0},b=l.linee.firstLine()&&(i=z(i.line-1,be(e.doc,i.line-1).length)),l.ch==be(e.doc,l.line).text.length&&l.linet.viewTo-1)return!1;var p,d,v;i.line==t.viewFrom||(p=Di(e,i.line))==0?(d=_(t.view[0].line),v=t.view[0].node):(d=_(t.view[p].line),v=t.view[p-1].node.nextSibling);var m=Di(e,l.line),b,$;if(m==t.view.length-1?(b=t.viewTo-1,$=t.lineDiv.lastChild):(b=_(t.view[m+1].line)-1,$=t.view[m+1].node.previousSibling),!v)return!1;for(var O=e.doc.splitLines(hf(e,v,$,d,b)),R=bn(e.doc,z(d,0),z(b,be(e.doc,b).text.length));O.length>1&&R.length>1;)if(Ue(O)==Ue(R))O.pop(),R.pop(),b--;else if(O[0]==R[0])O.shift(),R.shift(),d++;else break;for(var I=0,G=0,Z=O[0],le=R[0],fe=Math.min(Z.length,le.length);Ii.ch&&pe.charCodeAt(pe.length-G-1)==ue.charCodeAt(ue.length-G-1);)I--,G++;O[O.length-1]=pe.slice(0,pe.length-G).replace(/^\u200b+/,""),O[0]=O[0].slice(I).replace(/\u200b+$/,"");var _e=z(d,I),Ce=z(b,R.length?Ue(R).length-G:0);if(O.length>1||O[0]||ce(_e,Ce))return Wi(e.doc,O,_e,Ce,"+input"),!0},Ze.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ze.prototype.reset=function(){this.forceCompositionEnd()},Ze.prototype.forceCompositionEnd=function(){!this.composing||(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ze.prototype.readFromDOMSoon=function(){var e=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing)if(e.composing.done)e.composing=null;else return;e.updateFromDOM()},80))},Ze.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&rr(this.cm,function(){return cr(e.cm)})},Ze.prototype.setUneditable=function(e){e.contentEditable="false"},Ze.prototype.onKeyPress=function(e){e.charCode==0||this.composing||(e.preventDefault(),this.cm.isReadOnly()||et(this.cm,Gl)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0))},Ze.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},Ze.prototype.onContextMenu=function(){},Ze.prototype.resetPosition=function(){},Ze.prototype.needsContentAttribute=!0;function di(e,t){var o=Yo(e,t.line);if(!o||o.hidden)return null;var i=be(e.doc,t.line),l=xu(o,i,t.line),p=Re(i,e.doc.direction),d="left";if(p){var v=yn(p,t.ch);d=v%2?"right":"left"}var m=Tu(l.map,t.ch,d);return m.offset=m.collapse=="right"?m.end:m.start,m}function Ic(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function hi(e,t){return t&&(e.bad=!0),e}function hf(e,t,o,i,l){var p="",d=!1,v=e.doc.lineSeparator(),m=!1;function b(I){return function(G){return G.id==I}}function $(){d&&(p+=v,m&&(p+=v),d=m=!1)}function O(I){I&&($(),p+=I)}function R(I){if(I.nodeType==1){var G=I.getAttribute("cm-text");if(G){O(G);return}var Z=I.getAttribute("cm-marker"),le;if(Z){var fe=e.findMarks(z(i,0),z(l+1,0),b(+Z));fe.length&&(le=fe[0].find(0))&&O(bn(e.doc,le.from,le.to).join(v));return}if(I.getAttribute("contenteditable")=="false")return;var pe=/^(pre|div|p|li|table|br)$/i.test(I.nodeName);if(!/^br$/i.test(I.nodeName)&&I.textContent.length==0)return;pe&&$();for(var ue=0;ue=9&&t.hasSelection&&(t.hasSelection=null),o.poll()}),Te(l,"paste",function(d){_t(i,d)||On(d,i)||(i.state.pasteIncoming=+new Date,o.fastPoll())});function p(d){if(!_t(i,d)){if(i.somethingSelected())ys({lineWise:!1,text:i.getSelections()});else if(i.options.lineWiseCopyCut){var v=Cs(i);ys({lineWise:!0,text:v.text}),d.type=="cut"?i.setSelections(v.ranges,null,bt):(o.prevInput="",l.value=v.text.join(` +`),Bt(l))}else return;d.type=="cut"&&(i.state.cutIncoming=+new Date)}}Te(l,"cut",p),Te(l,"copy",p),Te(e.scroller,"paste",function(d){if(!(xn(e,d)||_t(i,d))){if(!l.dispatchEvent){i.state.pasteIncoming=+new Date,o.focus();return}var v=new Event("paste");v.clipboardData=d.clipboardData,l.dispatchEvent(v)}}),Te(e.lineSpace,"selectstart",function(d){xn(e,d)||Zt(d)}),Te(l,"compositionstart",function(){var d=i.getCursor("from");o.composing&&o.composing.range.clear(),o.composing={start:d,range:i.markText(d,i.getCursor("to"),{className:"CodeMirror-composing"})}}),Te(l,"compositionend",function(){o.composing&&(o.poll(),o.composing.range.clear(),o.composing=null)})},At.prototype.createField=function(e){this.wrapper=bo(),this.textarea=this.wrapper.firstChild;var t=this.cm.options;yo(this.textarea,t.spellcheck,t.autocorrect,t.autocapitalize)},At.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},At.prototype.prepareSelection=function(){var e=this.cm,t=e.display,o=e.doc,i=vl(e);if(e.options.moveInputWithCursor){var l=j(e,o.sel.primary().head,"div"),p=t.wrapper.getBoundingClientRect(),d=t.lineDiv.getBoundingClientRect();i.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,l.top+d.top-p.top)),i.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,l.left+d.left-p.left))}return i},At.prototype.showSelection=function(e){var t=this.cm,o=t.display;me(o.cursorDiv,e.cursors),me(o.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},At.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing&&e)){var t=this.cm;if(this.resetting=!0,t.somethingSelected()){this.prevInput="";var o=t.getSelection();this.textarea.value=o,t.state.focused&&Bt(this.textarea),A&&k>=9&&(this.hasSelection=o)}else e||(this.prevInput=this.textarea.value="",A&&k>=9&&(this.hasSelection=null));this.resetting=!1}},At.prototype.getField=function(){return this.textarea},At.prototype.supportsTouch=function(){return!1},At.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!q||nt(Qe(this.textarea))!=this.textarea))try{this.textarea.focus()}catch{}},At.prototype.blur=function(){this.textarea.blur()},At.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},At.prototype.receivedFocus=function(){this.slowPoll()},At.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},At.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0;function o(){var i=t.poll();!i&&!e?(e=!0,t.polling.set(60,o)):(t.pollingFast=!1,t.slowPoll())}t.polling.set(20,o)},At.prototype.poll=function(){var e=this,t=this.cm,o=this.textarea,i=this.prevInput;if(this.contextMenuPending||this.resetting||!t.state.focused||Xn(o)&&!i&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var l=o.value;if(l==i&&!t.somethingSelected())return!1;if(A&&k>=9&&this.hasSelection===l||J&&/[\uf700-\uf7ff]/.test(l))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var p=l.charCodeAt(0);if(p==8203&&!i&&(i="\u200B"),p==8666)return this.reset(),this.cm.execCommand("undo")}for(var d=0,v=Math.min(i.length,l.length);d1e3||l.indexOf(` `)>-1?o.value=e.prevInput="":e.prevInput=l,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},At.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},At.prototype.onKeyPress=function(){A&&k>=9&&(this.hasSelection=null),this.fastPoll()},At.prototype.onContextMenu=function(e){var t=this,o=t.cm,i=o.display,l=t.textarea;t.contextMenuPending&&t.contextMenuPending();var p=Tn(o,e),d=i.scroller.scrollTop;if(!p||Q)return;var v=o.options.resetSelectionOnContextMenu;v&&o.doc.sel.contains(p)==-1&&et(o,Xt)(o.doc,oi(p),bt);var m=l.style.cssText,b=t.wrapper.style.cssText,$=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",l.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(e.clientY-$.top-5)+"px; left: "+(e.clientX-$.left-5)+`px; z-index: 1000; background: `+(A?"rgba(255, 255, 255, .05)":"transparent")+`; - outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var O;E&&(O=l.ownerDocument.defaultView.scrollY),i.input.focus(),E&&l.ownerDocument.defaultView.scrollTo(null,O),i.input.reset(),o.somethingSelected()||(l.value=t.prevInput=" "),t.contextMenuPending=I,i.selForContextMenu=o.doc.sel,clearTimeout(i.detectingSelectAll);function R(){if(l.selectionStart!=null){var Z=o.somethingSelected(),le="\u200B"+(Z?l.value:"");l.value="\u21DA",l.value=le,t.prevInput=Z?"":"\u200B",l.selectionStart=1,l.selectionEnd=le.length,i.selForContextMenu=o.doc.sel}}function I(){if(t.contextMenuPending==I&&(t.contextMenuPending=!1,t.wrapper.style.cssText=b,l.style.cssText=m,A&&k<9&&i.scrollbars.setScrollTop(i.scroller.scrollTop=d),l.selectionStart!=null)){(!A||A&&k<9)&&R();var Z=0,le=function(){i.selForContextMenu==o.doc.sel&&l.selectionStart==0&&l.selectionEnd>0&&t.prevInput=="\u200B"?et(o,Ca)(o):Z++<10?i.detectingSelectAll=setTimeout(le,500):(i.selForContextMenu=null,i.input.reset())};i.detectingSelectAll=setTimeout(le,200)}}if(A&&k>=9&&R(),He){Jn(e);var G=function(){Jt(window,"mouseup",G),setTimeout(I,20)};Te(window,"mouseup",G)}else setTimeout(I,50)},At.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},At.prototype.setUneditable=function(){},At.prototype.needsContentAttribute=!1;function gf(e,t){if(t=t?De(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),t.autofocus==null){var o=nt(Qe(e));t.autofocus=o==e||e.getAttribute("autofocus")!=null&&o==document.body}function i(){e.value=v.getValue()}var l;if(e.form&&(Te(e.form,"submit",i),!t.leaveSubmitMethodAlone)){var p=e.form;l=p.submit;try{var d=p.submit=function(){i(),p.submit=l,p.submit(),p.submit=d}}catch{}}t.finishInit=function(m){m.save=i,m.getTextArea=function(){return e},m.toTextArea=function(){m.toTextArea=isNaN,i(),e.parentNode.removeChild(m.getWrapperElement()),e.style.display="",e.form&&(Jt(e.form,"submit",i),!t.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=l))}},e.style.display="none";var v=Ke(function(m){return e.parentNode.insertBefore(m,e.nextSibling)},t);return v}function Rc(e){e.off=Jt,e.on=Te,e.wheelEventPixels=_c,e.Doc=ar,e.splitLines=Mr,e.countColumn=We,e.findColumn=Yt,e.isWordChar=ja,e.Pass=Cr,e.signal=ft,e.Line=Ai,e.changeEnd=si,e.scrollbarModel=Ii,e.Pos=z,e.cmpPos=ce,e.modes=Xi,e.mimeModes=Yr,e.resolveMode=Qi,e.getMode=ea,e.modeExtensions=Zr,e.extendMode=ta,e.copyState=Sr,e.startState=ra,e.innerMode=Ga,e.commands=co,e.keyMap=An,e.keyName=so,e.isModifierKey=cs,e.lookupKey=Dr,e.normalizeKeyMap=Or,e.StringStream=xt,e.SharedTextMarker=Ta,e.TextMarker=ln,e.LineWidget=Ui,e.e_preventDefault=Zt,e.e_stopPropagation=Ji,e.e_stop=Jn,e.addClass=mt,e.contains=ze,e.rmClass=gt,e.keyNames=zt}zl(Ke),ka(Ke);var vf="iter insert remove copy getEditor constructor".split(" ");for(var _s in ar.prototype)ar.prototype.hasOwnProperty(_s)&&Oe(vf,_s)<0&&(Ke.prototype[_s]=function(e){return function(){return e.apply(this.doc,arguments)}}(ar.prototype[_s]));return qr(ar),Ke.inputStyles={textarea:At,contenteditable:Ze},Ke.defineMode=function(e){!Ke.defaults.mode&&e!="null"&&(Ke.defaults.mode=e),Jr.apply(this,arguments)},Ke.defineMIME=Ti,Ke.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Ke.defineMIME("text/plain","null"),Ke.defineExtension=function(e,t){Ke.prototype[e]=t},Ke.defineDocExtension=function(e,t){ar.prototype[e]=t},Ke.fromTextArea=gf,Rc(Ke),Ke.version="5.65.18",Ke})})(Pp);(function(r,u){(function(a,c){r.exports=c(Pp.exports)})(dn,function(a){return function(c){function h(S){if(y[S])return y[S].exports;var x=y[S]={i:S,l:!1,exports:{}};return c[S].call(x.exports,x,x.exports,h),x.l=!0,x.exports}var y={};return h.m=c,h.c=y,h.i=function(S){return S},h.d=function(S,x,A){h.o(S,x)||Object.defineProperty(S,x,{configurable:!1,enumerable:!0,get:A})},h.n=function(S){var x=S&&S.__esModule?function(){return S.default}:function(){return S};return h.d(x,"a",x),x},h.o=function(S,x){return Object.prototype.hasOwnProperty.call(S,x)},h.p="/",h(h.s=3)}([function(c,h){c.exports=a},function(c,h,y){Object.defineProperty(h,"__esModule",{value:!0});var S=y(0),x=function(k){return k&&k.__esModule?k:{default:k}}(S),A=window.CodeMirror||x.default;typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(k,E){if(k==null)throw new TypeError("Cannot convert undefined or null to object");for(var j=Object(k),H=1;H!?|~^@]/,Q=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function ae(_){for(var D=!1,V,se=!1;(V=_.next())!=null;){if(!D){if(V=="/"&&!se)return;V=="["?se=!0:se&&V=="]"&&(se=!1)}D=!D&&V=="\\"}}var ie,re;function N(_,D,V){return ie=_,re=V,D}function B(_,D){var V=_.next();if(V=='"'||V=="'")return D.tokenize=q(V),D.tokenize(_,D);if(V=="."&&_.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return N("number","number");if(V=="."&&_.match(".."))return N("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(V))return N(V);if(V=="="&&_.eat(">"))return N("=>","operator");if(V=="0"&&_.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return N("number","number");if(/\d/.test(V))return _.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),N("number","number");if(V=="/")return _.eat("*")?(D.tokenize=J,J(_,D)):_.eat("/")?(_.skipToEnd(),N("comment","comment")):Tr(_,D,1)?(ae(_),_.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),N("regexp","string-2")):(_.eat("="),N("operator","operator",_.current()));if(V=="`")return D.tokenize=ne,ne(_,D);if(V=="#"&&_.peek()=="!")return _.skipToEnd(),N("meta","meta");if(V=="#"&&_.eatWhile(j))return N("variable","property");if(V=="<"&&_.match("!--")||V=="-"&&_.match("->")&&!/\S/.test(_.string.slice(0,_.start)))return _.skipToEnd(),N("comment","comment");if(Y.test(V))return(V!=">"||!D.lexical||D.lexical.type!=">")&&(_.eat("=")?(V=="!"||V=="=")&&_.eat("="):/[<>*+\-|&?]/.test(V)&&(_.eat(V),V==">"&&_.eat(V))),V=="?"&&_.eat(".")?N("."):N("operator","operator",_.current());if(j.test(V)){_.eatWhile(j);var se=_.current();if(D.lastType!="."){if(H.propertyIsEnumerable(se)){var z=H[se];return N(z.type,z.style,se)}if(se=="async"&&_.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return N("async","keyword",se)}return N("variable","variable",se)}}function q(_){return function(D,V){var se=!1,z;if(x&&D.peek()=="@"&&D.match(Q))return V.tokenize=B,N("jsonld-keyword","meta");for(;(z=D.next())!=null&&!(z==_&&!se);)se=!se&&z=="\\";return se||(V.tokenize=B),N("string","string")}}function J(_,D){for(var V=!1,se;se=_.next();){if(se=="/"&&V){D.tokenize=B;break}V=se=="*"}return N("comment","comment")}function ne(_,D){for(var V=!1,se;(se=_.next())!=null;){if(!V&&(se=="`"||se=="$"&&_.eat("{"))){D.tokenize=B;break}V=!V&&se=="\\"}return N("quasi","string-2",_.current())}var de="([{}])";function xe(_,D){D.fatArrowAt&&(D.fatArrowAt=null);var V=_.string.indexOf("=>",_.start);if(!(V<0)){if(E){var se=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(_.string.slice(_.start,V));se&&(V=se.index)}for(var z=0,ce=!1,qe=V-1;qe>=0;--qe){var Wt=_.string.charAt(qe),ir=de.indexOf(Wt);if(ir>=0&&ir<3){if(!z){++qe;break}if(--z==0){Wt=="("&&(ce=!0);break}}else if(ir>=3&&ir<6)++z;else if(j.test(Wt))ce=!0;else if(/["'\/`]/.test(Wt))for(;;--qe){if(qe==0)return;var Rn=_.string.charAt(qe-1);if(Rn==Wt&&_.string.charAt(qe-2)!="\\"){qe--;break}}else if(ce&&!z){++qe;break}}ce&&!z&&(D.fatArrowAt=qe)}}var ve={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function He(_,D,V,se,z,ce){this.indented=_,this.column=D,this.type=V,this.prev=z,this.info=ce,se!=null&&(this.align=se)}function tt(_,D){if(!k)return!1;for(var V=_.localVars;V;V=V.next)if(V.name==D)return!0;for(var se=_.context;se;se=se.prev)for(var V=se.vars;V;V=V.next)if(V.name==D)return!0}function gt(_,D,V,se,z){var ce=_.cc;for(X.state=_,X.stream=z,X.marked=null,X.cc=ce,X.style=D,_.lexical.hasOwnProperty("align")||(_.lexical.align=!0);;){var qe=ce.length?ce.pop():A?Oe:We;if(qe(V,se)){for(;ce.length&&ce[ce.length-1].lex;)ce.pop()();return X.marked?X.marked:V=="variable"&&tt(_,se)?"variable-2":D}}}var X={state:null,column:null,marked:null,cc:null};function me(){for(var _=arguments.length-1;_>=0;_--)X.cc.push(arguments[_])}function P(){return me.apply(null,arguments),!0}function dr(_,D){for(var V=D;V;V=V.next)if(V.name==_)return!0;return!1}function vt(_){var D=X.state;if(X.marked="def",!!k){if(D.context){if(D.lexical.info=="var"&&D.context&&D.context.block){var V=ze(_,D.context);if(V!=null){D.context=V;return}}else if(!dr(_,D.localVars)){D.localVars=new yt(_,D.localVars);return}}h.globalVars&&!dr(_,D.globalVars)&&(D.globalVars=new yt(_,D.globalVars))}}function ze(_,D){if(D)if(D.block){var V=ze(_,D.prev);return V?V==D.prev?D:new mt(V,D.vars,!0):null}else return dr(_,D.vars)?D:new mt(D.prev,new yt(_,D.vars),!1);else return null}function nt(_){return _=="public"||_=="private"||_=="protected"||_=="abstract"||_=="readonly"}function mt(_,D,V){this.prev=_,this.vars=D,this.block=V}function yt(_,D){this.name=_,this.next=D}var Bt=new yt("this",new yt("arguments",null));function ur(){X.state.context=new mt(X.state.context,X.state.localVars,!1),X.state.localVars=Bt}function Mt(){X.state.context=new mt(X.state.context,X.state.localVars,!0),X.state.localVars=null}ur.lex=Mt.lex=!0;function Qe(){X.state.localVars=X.state.context.vars,X.state.context=X.state.context.prev}Qe.lex=!0;function we(_,D){var V=function(){var se=X.state,z=se.indented;if(se.lexical.type=="stat")z=se.lexical.indented;else for(var ce=se.lexical;ce&&ce.type==")"&&ce.align;ce=ce.prev)z=ce.indented;se.lexical=new He(z,X.stream.column(),_,null,se.lexical,D)};return V.lex=!0,V}function $e(){var _=X.state;_.lexical.prev&&(_.lexical.type==")"&&(_.indented=_.lexical.indented),_.lexical=_.lexical.prev)}$e.lex=!0;function De(_){function D(V){return V==_?P():_==";"||V=="}"||V==")"||V=="]"?me():P(D)}return D}function We(_,D){return _=="var"?P(we("vardef",D),Ji,De(";"),$e):_=="keyword a"?P(we("form"),Cr,We,$e):_=="keyword b"?P(we("form"),We,$e):_=="keyword d"?X.stream.match(/^\s*$/,!1)?P():P(we("stat"),gr,De(";"),$e):_=="debugger"?P(De(";")):_=="{"?P(we("}"),Mt,Lr,$e,Qe):_==";"?P():_=="if"?(X.state.lexical.info=="else"&&X.state.cc[X.state.cc.length-1]==$e&&X.state.cc.pop()(),P(we("form"),Cr,We,$e,Zi)):_=="function"?P(Mr):_=="for"?P(we("form"),Mt,Lo,We,Qe,$e):_=="class"||E&&D=="interface"?(X.marked="keyword",P(we("form",_=="class"?_:D),Xi,$e)):_=="variable"?E&&D=="declare"?(X.marked="keyword",P(We)):E&&(D=="module"||D=="enum"||D=="type")&&X.stream.match(/^\s*\w/,!1)?(X.marked="keyword",D=="enum"?P(be):D=="type"?P(Po,De("operator"),Re,De(";")):P(we("form"),fr,De("{"),we("}"),Lr,$e,$e)):E&&D=="namespace"?(X.marked="keyword",P(we("form"),Oe,We,$e)):E&&D=="abstract"?(X.marked="keyword",P(We)):P(we("stat"),xi):_=="switch"?P(we("form"),Cr,De("{"),we("}","switch"),Mt,Lr,$e,$e,Qe):_=="case"?P(Oe,De(":")):_=="default"?P(De(":")):_=="catch"?P(we("form"),ur,hr,We,$e,Qe):_=="export"?P(we("stat"),Qi,$e):_=="import"?P(we("stat"),Zr,$e):_=="async"?P(We):D=="@"?P(Oe,We):me(we("stat"),Oe,De(";"),$e)}function hr(_){if(_=="(")return P(Kr,De(")"))}function Oe(_,D){return bt(_,D,!1)}function Ot(_,D){return bt(_,D,!0)}function Cr(_){return _!="("?me():P(we(")"),gr,De(")"),$e)}function bt(_,D,V){if(X.state.fatArrowAt==X.stream.start){var se=V?tr:je;if(_=="(")return P(ur,we(")"),Ct(Kr,")"),$e,De("=>"),se,Qe);if(_=="variable")return me(ur,fr,De("=>"),se,Qe)}var z=V?Yt:_r;return ve.hasOwnProperty(_)?P(z):_=="function"?P(Mr,z):_=="class"||E&&D=="interface"?(X.marked="keyword",P(we("form"),Mo,$e)):_=="keyword c"||_=="async"?P(V?Ot:Oe):_=="("?P(we(")"),gr,De(")"),$e,z):_=="operator"||_=="spread"?P(V?Ot:Oe):_=="["?P(we("]"),xt,$e,z):_=="{"?vn(xr,"}",null,z):_=="quasi"?me(gn,z):_=="new"?P(Ci(V)):P()}function gr(_){return _.match(/[;\}\)\],]/)?me():me(Oe)}function _r(_,D){return _==","?P(gr):Yt(_,D,!1)}function Yt(_,D,V){var se=V==!1?_r:Yt,z=V==!1?Oe:Ot;if(_=="=>")return P(ur,V?tr:je,Qe);if(_=="operator")return/\+\+|--/.test(D)||E&&D=="!"?P(se):E&&D=="<"&&X.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?P(we(">"),Ct(Re,">"),$e,se):D=="?"?P(Oe,De(":"),z):P(z);if(_=="quasi")return me(gn,se);if(_!=";"){if(_=="(")return vn(Ot,")","call",se);if(_==".")return P(ja,se);if(_=="[")return P(we("]"),gr,De("]"),$e,se);if(E&&D=="as")return X.marked="keyword",P(Re,se);if(_=="regexp")return X.state.lastType=X.marked="operator",X.stream.backUp(X.stream.pos-X.stream.start-1),P(z)}}function gn(_,D){return _!="quasi"?me():D.slice(D.length-2)!="${"?P(gn):P(gr,Wa)}function Wa(_){if(_=="}")return X.marked="string-2",X.state.tokenize=ne,P(gn)}function je(_){return xe(X.stream,X.state),me(_=="{"?We:Oe)}function tr(_){return xe(X.stream,X.state),me(_=="{"?We:Ot)}function Ci(_){return function(D){return D=="."?P(_?Do:_i):D=="variable"&&E?P(vr,_?Yt:_r):me(_?Ot:Oe)}}function _i(_,D){if(D=="target")return X.marked="keyword",P(_r)}function Do(_,D){if(D=="target")return X.marked="keyword",P(Yt)}function xi(_){return _==":"?P($e,We):me(_r,De(";"),$e)}function ja(_){if(_=="variable")return X.marked="property",P()}function xr(_,D){if(_=="async")return X.marked="property",P(xr);if(_=="variable"||X.style=="keyword"){if(X.marked="property",D=="get"||D=="set")return P(Mn);var V;return E&&X.state.fatArrowAt==X.stream.start&&(V=X.stream.match(/^\s*:\s*/,!1))&&(X.state.fatArrowAt=X.stream.pos+V[0].length),P(Gr)}else{if(_=="number"||_=="string")return X.marked=x?"property":X.style+" property",P(Gr);if(_=="jsonld-keyword")return P(Gr);if(E&&nt(D))return X.marked="keyword",P(xr);if(_=="[")return P(Oe,mn,De("]"),Gr);if(_=="spread")return P(Ot,Gr);if(D=="*")return X.marked="keyword",P(xr);if(_==":")return me(Gr)}}function Mn(_){return _!="variable"?me(Gr):(X.marked="property",P(Mr))}function Gr(_){if(_==":")return P(Ot);if(_=="(")return me(Mr)}function Ct(_,D,V){function se(z,ce){if(V?V.indexOf(z)>-1:z==","){var qe=X.state.lexical;return qe.info=="call"&&(qe.pos=(qe.pos||0)+1),P(function(Wt,ir){return Wt==D||ir==D?me():me(_)},se)}return z==D||ce==D?P():V&&V.indexOf(";")>-1?me(_):P(De(D))}return function(z,ce){return z==D||ce==D?P():me(_,se)}}function vn(_,D,V){for(var se=3;se"),Re);if(_=="quasi")return me(Jt,Pr)}function ko(_){if(_=="=>")return P(Re)}function Te(_){return _.match(/[\}\)\]]/)?P():_==","||_==";"?P(Te):me(Nn,Te)}function Nn(_,D){if(_=="variable"||X.style=="keyword")return X.marked="property",P(Nn);if(D=="?"||_=="number"||_=="string")return P(Nn);if(_==":")return P(Re);if(_=="[")return P(De("variable"),In,De("]"),Nn);if(_=="(")return me(Xn,Nn);if(!_.match(/[;\}\)\],]/))return P()}function Jt(_,D){return _!="quasi"?me():D.slice(D.length-2)!="${"?P(Jt):P(Re,ft)}function ft(_){if(_=="}")return X.marked="string-2",X.state.tokenize=ne,P(Jt)}function _t(_,D){return _=="variable"&&X.stream.match(/^\s*[?:]/,!1)||D=="?"?P(_t):_==":"?P(Re):_=="spread"?P(_t):me(Re)}function Pr(_,D){if(D=="<")return P(we(">"),Ct(Re,">"),$e,Pr);if(D=="|"||_=="."||D=="&")return P(Re);if(_=="[")return P(Re,De("]"),Pr);if(D=="extends"||D=="implements")return X.marked="keyword",P(Re);if(D=="?")return P(Re,De(":"),Re)}function vr(_,D){if(D=="<")return P(we(">"),Ct(Re,">"),$e,Pr)}function qr(){return me(Re,Zt)}function Zt(_,D){if(D=="=")return P(Re)}function Ji(_,D){return D=="enum"?(X.marked="keyword",P(be)):me(fr,mn,Vr,Ha)}function fr(_,D){if(E&&nt(D))return X.marked="keyword",P(fr);if(_=="variable")return vt(D),P();if(_=="spread")return P(fr);if(_=="[")return vn(Si,"]");if(_=="{")return vn(Jn,"}")}function Jn(_,D){return _=="variable"&&!X.stream.match(/^\s*:/,!1)?(vt(D),P(Vr)):(_=="variable"&&(X.marked="property"),_=="spread"?P(fr):_=="}"?me():_=="["?P(Oe,De("]"),De(":"),Jn):P(De(":"),fr,Vr))}function Si(){return me(fr,Vr)}function Vr(_,D){if(D=="=")return P(Ot)}function Ha(_){if(_==",")return P(Ji)}function Zi(_,D){if(_=="keyword b"&&D=="else")return P(we("form","else"),We,$e)}function Lo(_,D){if(D=="await")return P(Lo);if(_=="(")return P(we(")"),za,$e)}function za(_){return _=="var"?P(Ji,Zn):_=="variable"?P(Zn):me(Zn)}function Zn(_,D){return _==")"?P():_==";"?P(Zn):D=="in"||D=="of"?(X.marked="keyword",P(Oe,Zn)):me(Oe,Zn)}function Mr(_,D){if(D=="*")return X.marked="keyword",P(Mr);if(_=="variable")return vt(D),P(Mr);if(_=="(")return P(ur,we(")"),Ct(Kr,")"),$e,yn,We,Qe);if(E&&D=="<")return P(we(">"),Ct(qr,">"),$e,Mr)}function Xn(_,D){if(D=="*")return X.marked="keyword",P(Xn);if(_=="variable")return vt(D),P(Xn);if(_=="(")return P(ur,we(")"),Ct(Kr,")"),$e,yn,Qe);if(E&&D=="<")return P(we(">"),Ct(qr,">"),$e,Xn)}function Po(_,D){if(_=="keyword"||_=="variable")return X.marked="type",P(Po);if(D=="<")return P(we(">"),Ct(qr,">"),$e)}function Kr(_,D){return D=="@"&&P(Oe,Kr),_=="spread"?P(Kr):E&&nt(D)?(X.marked="keyword",P(Kr)):E&&_=="this"?P(mn,Vr):me(fr,mn,Vr)}function Mo(_,D){return _=="variable"?Xi(_,D):Yr(_,D)}function Xi(_,D){if(_=="variable")return vt(D),P(Yr)}function Yr(_,D){if(D=="<")return P(we(">"),Ct(qr,">"),$e,Yr);if(D=="extends"||D=="implements"||E&&_==",")return D=="implements"&&(X.marked="keyword"),P(E?Re:Oe,Yr);if(_=="{")return P(we("}"),Jr,$e)}function Jr(_,D){if(_=="async"||_=="variable"&&(D=="static"||D=="get"||D=="set"||E&&nt(D))&&X.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1))return X.marked="keyword",P(Jr);if(_=="variable"||X.style=="keyword")return X.marked="property",P(Ti,Jr);if(_=="number"||_=="string")return P(Ti,Jr);if(_=="[")return P(Oe,mn,De("]"),Ti,Jr);if(D=="*")return X.marked="keyword",P(Jr);if(E&&_=="(")return me(Xn,Jr);if(_==";"||_==",")return P(Jr);if(_=="}")return P();if(D=="@")return P(Oe,Jr)}function Ti(_,D){if(D=="!"||D=="?")return P(Ti);if(_==":")return P(Re,Vr);if(D=="=")return P(Ot);var V=X.state.lexical.prev,se=V&&V.info=="interface";return me(se?Xn:Mr)}function Qi(_,D){return D=="*"?(X.marked="keyword",P(ra,De(";"))):D=="default"?(X.marked="keyword",P(Oe,De(";"))):_=="{"?P(Ct(ea,"}"),ra,De(";")):me(We)}function ea(_,D){if(D=="as")return X.marked="keyword",P(De("variable"));if(_=="variable")return me(Ot,ea)}function Zr(_){return _=="string"?P():_=="("?me(Oe):_=="."?me(_r):me(ta,Sr,ra)}function ta(_,D){return _=="{"?vn(ta,"}"):(_=="variable"&&vt(D),D=="*"&&(X.marked="keyword"),P(Ga))}function Sr(_){if(_==",")return P(ta,Sr)}function Ga(_,D){if(D=="as")return X.marked="keyword",P(ta)}function ra(_,D){if(D=="from")return X.marked="keyword",P(Oe)}function xt(_){return _=="]"?P():me(Ct(Ot,"]"))}function be(){return me(we("form"),fr,De("{"),we("}"),Ct(bn,"}"),$e,$e)}function bn(){return me(fr,Vr)}function na(_,D){return _.lastType=="operator"||_.lastType==","||Y.test(D.charAt(0))||/[,.]/.test(D.charAt(0))}function Tr(_,D,V){return D.tokenize==B&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(D.lastType)||D.lastType=="quasi"&&/\{\s*$/.test(_.string.slice(0,_.pos-(V||0)))}return{startState:function(_){var D={tokenize:B,lastType:"sof",cc:[],lexical:new He((_||0)-y,0,"block",!1),localVars:h.localVars,context:h.localVars&&new mt(null,null,!1),indented:_||0};return h.globalVars&&typeof h.globalVars=="object"&&(D.globalVars=h.globalVars),D},token:function(_,D){if(_.sol()&&(D.lexical.hasOwnProperty("align")||(D.lexical.align=!1),D.indented=_.indentation(),xe(_,D)),D.tokenize!=J&&_.eatSpace())return null;var V=D.tokenize(_,D);return ie=="comment"?V:(D.lastType=ie=="operator"&&(re=="++"||re=="--")?"incdec":ie,gt(D,V,ie,re,_))},indent:function(_,D){if(_.tokenize==J||_.tokenize==ne)return a.Pass;if(_.tokenize!=B)return 0;var V=D&&D.charAt(0),se=_.lexical,z;if(!/^\s*else\b/.test(D))for(var ce=_.cc.length-1;ce>=0;--ce){var qe=_.cc[ce];if(qe==$e)se=se.prev;else if(qe!=Zi&&qe!=Qe)break}for(;(se.type=="stat"||se.type=="form")&&(V=="}"||(z=_.cc[_.cc.length-1])&&(z==_r||z==Yt)&&!/^[,\.=+\-*:?[\(]/.test(D));)se=se.prev;S&&se.type==")"&&se.prev.type=="stat"&&(se=se.prev);var Wt=se.type,ir=V==Wt;return Wt=="vardef"?se.indented+(_.lastType=="operator"||_.lastType==","?se.info.length+1:0):Wt=="form"&&V=="{"?se.indented:Wt=="form"?se.indented+y:Wt=="stat"?se.indented+(na(_,D)?S||y:0):se.info=="switch"&&!ir&&h.doubleIndentSwitch!=!1?se.indented+(/^(?:case|default)\b/.test(D)?y:2*y):se.align?se.column+(ir?0:1):se.indented+(ir?0:y)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:A?null:"/*",blockCommentEnd:A?null:"*/",blockCommentContinue:A?null:" * ",lineComment:A?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:A?"json":"javascript",jsonldMode:x,jsonMode:A,expressionAllowed:Tr,skipExpression:function(_){gt(_,"atom","atom","true",new a.StringStream("",2,null))}}}),a.registerHelper("wordChars","javascript",/[\w$]/),a.defineMIME("text/javascript","javascript"),a.defineMIME("text/ecmascript","javascript"),a.defineMIME("application/javascript","javascript"),a.defineMIME("application/x-javascript","javascript"),a.defineMIME("application/ecmascript","javascript"),a.defineMIME("application/json",{name:"javascript",json:!0}),a.defineMIME("application/x-json",{name:"javascript",json:!0}),a.defineMIME("application/manifest+json",{name:"javascript",json:!0}),a.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),a.defineMIME("text/typescript",{name:"javascript",typescript:!0}),a.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var Ms={exports:{}};(function(r,u){const a=["ActionSheetConfig","AlertConfig","AnchorConfig","AutoCompleteConfig","CalendarConfig","CascaderConfig","ColorPickerConfig","DatePickerConfig","DateTimePickerConfig","DescriptionsConfig","DialogConfig","DrawerConfig","DropdownMenuConfig","EmptyConfig","FormConfig","GuideConfig","ImageConfig","QRCodeConfig","ImageViewerConfig","InputConfig","ListConfig","MessageConfig","PaginationConfig","PickerConfig","PopconfirmConfig","PullDownRefreshConfig","RateConfig","SelectConfig","StepsConfig","TabBarConfig","TagConfig","TableConfig","TimePickerConfig","TreeConfig","TreeSelectConfig","TransferConfig","TypographyConfig","UploadConfig","UploadConfigDragger","UploadConfigFile","UploadConfigFileList","UploadConfigImage","UploadConfigProgress"].sort((Q,ae)=>Q.localeCompare(ae)),c=["Message","MessageOptions","$Message","$Message.info","$Message.error","$Message.warning","$Message.success","$Message.loading","$Message.question","$Message.close","$Message.closeAll","$Message.config"],h=["Notification","NotificationOptions","$Notification","$Notification.info","$Notification.warning","$Notification.error","$Notification.success","$Notification.close","$Notification.closeAll","$Notification.config"],y=["Table","TableCol","BaseTable","BaseTableCol","PrimaryTable","PrimaryTableCol","EnhancedTable","EnhancedTableCol","TableRowState","TableColumnFilter","TableColumnController","TableEditableCellConfig","TableTreeConfig"],S=["ConfigProvider","GlobalConfigProvider"].concat(a),x=["Vue(Mobile)","React(Mobile)","Miniprogram"],A={Avatar:["Avatar","AvatarGroup"],Checkbox:["Checkbox","CheckboxGroup"],Cell:["Cell","CellGroup"],Radio:["Radio","RadioGroup"],Anchor:["Anchor","AnchorItem","AnchorTarget"],Descriptions:["Descriptions","DescriptionsItem"],Tabs:["Tabs","TabPanel"],TabBar:["TabBar","TabBarItem"],Pagination:["Pagination","PaginationMini"],Form:["Form","FormItem","FormList","FormRule","FormErrorMessage"],Breadcrumb:["Breadcrumb","BreadcrumbItem"],Message:c,Notification:h,Layout:{list:["Layout","Header","Aside","Content","Footer"],includes:["Vue(PC)","VueNext(PC)","React(PC)","Angular(PC)"]},Col:{list:["Col","Row"],includes:["Miniprogram"]},Grid:[{list:["Grid","Row","Col"],includes:["Vue(PC)","VueNext(PC)","React(PC)","Angular(PC)"]}],Icon:["Icon","IconSVG","IconFont"],Select:["Select","Option","OptionGroup","TScroll"],Tag:["Tag","CheckTag","CheckTagGroup"],Collapse:["Collapse","CollapsePanel"],Dropdown:{list:["Dropdown","DropdownItem"],includes:["Vue(PC)","VueNext(PC)","React(PC)","Angular(PC)"]},DropdownMenu:["DropdownMenu","DropdownItem"],Dialog:["DialogCard","Dialog","DialogOptions","DialogInstance","$Dialog","$Dialog.confirm","$Dialog.alert"],Drawer:["Drawer","DrawerOptions","DrawerInstance","$Drawer"],Table:y.concat("TScroll"),Tree:["Tree","TreeNodeState","TreeNodeModel","TScroll"],Breadcrumb:["Breadcrumb","BreadcrumbItem"],Steps:["Steps","StepItem"],Calendar:["Calendar","CalendarController","CalendarCell"],Menu:["Menu","HeadMenu","Submenu","MenuItem","MenuGroup"],Loading:["Loading","$Loading"],Upload:{list:["Upload","UploadFile"],excludes:["Miniprogram"]},List:["List","ListItem","ListItemMeta"],Picker:{list:["Picker","PickerItem"],includes:["Miniprogram"]},TimePicker:["TimePicker","TimeRangePicker","TimePickerPanel","TimeRangePickerPanel"],DateTimePicker:["DateTimePicker"],DatePicker:["DatePicker","DateRangePicker","DatePickerPanel","DateRangePickerPanel"],Swiper:{list:["Swiper","SwiperItem","SwiperNavigation"]},StickyTool:["StickyTool","StickyItem"],ConfigProvider:S,RangeInput:["RangeInput","RangeInputPopup"],Input:["Input","InputGroup"],Watermark:["Watermark","WatermarkText","WatermarkImage"],Timeline:["Timeline","TimelineItem"],Guide:["Guide","GuideStep"],Tooltip:["Tooltip","TooltipLite"],SideBar:["SideBar","SideBarItem"],Indexes:{list:["Indexes","IndexesAnchor"]},Popup:["Popup","$Popup"],Typography:["Typography","Text","Title","Paragraph","TypographyEllipsis","TypographyCopyable"],Toast:{list:["Toast","ToastOptions"],includes:["Vue(Mobile)","React(Mobile)"]},Chat:["Chat","ChatLoading","ChatItem","ChatContent","ChatAction","ChatInput","ChatSender","ChatReasoning"],ColorPicker:{list:["ColorPicker","ColorPickerPanel"],includes:["Vue(PC)","VueNext(PC)","React(PC)","Angular(PC)"]}},k={Layout:{list:["Layout","Row","Col"]},Grid:{list:["Grid","GridItem"]},List:["List"]},E={Swiper:{list:["Swiper","SwiperNav"],includes:["Miniprogram"]}},j={Avatar:{list:["Avatar","AvatarGroup"],excludes:["Miniprogram"]},Checkbox:{list:["Checkbox","CheckboxGroup"],excludes:["Miniprogram"]},Cell:{list:["Cell","CellGroup"],excludes:["Miniprogram"]},Radio:{list:["Radio","RadioGroup"],excludes:["Miniprogram"]},Message:{list:c},Notification:{list:h},Form:{list:["Form","FormItem","FormList","FormRule","FormErrorMessage"]},Select:{list:["Select","Option","OptionGroup"]},Tabs:{list:["Tabs","TabPanel"],excludes:["Miniprogram"]},TabBar:{list:["TabBar","TabBarItem"],excludes:["Miniprogram"]},Pagination:{list:["Pagination","PaginationMini"]},Tag:{list:["Tag","CheckTag","CheckTagGroup"],excludes:["Miniprogram"]},Collapse:{list:["Collapse","CollapsePanel"],excludes:["Miniprogram"]},Grid:[{list:["Grid","Row","Col"],includes:["Vue(PC)","VueNext(PC)","React(PC)","Angular(PC)"]}],Layout:{list:["Layout","Header","Aside","Content","Footer"],includes:["Vue(PC)","VueNext(PC)","React(PC)","Angular(PC)"]},Dropdown:{list:["Dropdown","DropdownItem"],includes:["Vue(PC)","VueNext(PC)","React(PC)","Angular(PC)"]},DropdownMenu:{list:["DropdownMenu","DropdownItem"],excludes:["Miniprogram"]},Dialog:{list:["DialogCard","Dialog","DialogOptions","DialogInstance","$Dialog","$Dialog.confirm","$Dialog.alert"]},Drawer:{list:["Drawer","DrawerOptions","DrawerInstance","$Drawer"]},Tree:{list:["Tree","TreeNodeState","TreeNodeModel"]},Breadcrumb:{list:["Breadcrumb","BreadcrumbItem"]},Steps:{list:["Steps","StepItem"],excludes:["Miniprogram"]},Calendar:{list:["Calendar","CalendarController","CalendarCell"]},Descriptions:{list:["Descriptions","DescriptionsItem"]},Menu:{list:["Menu","HeadMenu","Submenu","MenuItem","MenuGroup"]},Loading:{list:["Loading","$Loading"]},Upload:{list:["Upload","UploadFile"],excludes:["Miniprogram"]},List:{list:["List","ListItem","ListItemMeta"]},Picker:{list:["Picker","PickerItem"],excludes:["Miniprogram"]},TimePicker:{list:["TimePicker","TimeRangePicker","TimePickerPanel","TimeRangePickerPanel"]},DateTimePicker:{list:["DateTimePicker"]},DatePicker:{list:["DatePicker","DateRangePicker","DatePickerPanel","DateRangePickerPanel"]},Swiper:{list:["Swiper","SwiperItem","SwiperNavigation"]},Table:{list:y},Icon:{list:["Icon","IconFont","IconSVG"]},Anchor:{list:["AnchorTarget","AnchorItem"]},StickyTool:{list:["StickyTool","StickyItem"]},ConfigProvider:{list:S},RangeInput:{list:["RangeInput","RangeInputPopup"]},Input:{list:["Input","InputGroup"]},Watermark:{list:["Watermark","WatermarkText","WatermarkImage"]},Timeline:{list:["Timeline","TimelineItem"]},Guide:{list:["Guide","GuideStep"]},Tooltip:{list:["Tooltip","TooltipLite"]},SideBar:{list:["SideBar","SideBarItem"],excludes:["Miniprogram"]},Indexes:{list:["Indexes","IndexesAnchor"],excludes:["Miniprogram"]},Typography:{list:["Typography","Text","Title","Paragraph","TypographyEllipsis","TypographyCopyable"]},Toast:{list:["Toast","ToastOptions"],includes:["Vue(Mobile)","React(Mobile)"]},Chat:["Chat","ChatLoading","ChatItem","ChatContent","ChatAction","ChatInput","ChatSender","ChatReasoning"]},H={Layout:{list:["Layout","Row","Col"],excludes:["Miniprogram"]},Grid:{list:["Grid","GridItem"],excludes:["Miniprogram"]},List:["List"]},Y={Swiper:{list:["Swiper","SwiperNav"],excludes:["Miniprogram"]}};u.GLOBAL_COMPONENTS_CONFIG=a,u.COMPONENT_API_MD_MAP=A,u.TYPES_COMBINE_MAP=j,u.default={COMPONENT_API_MD_MAP:A,MOBILE_COMPONENT_API_MD_MAP:k,TYPES_COMBINE_MAP:j,MOBILE_TYPES_COMBINE_MAP:H,GLOBAL_COMPONENTS_CONFIG:a,MINIPROGRAM_COMPONENT_API_MD_MAP:E,MINIPROGRAM_TYPES_COMBINE_MAP:Y,MOBILE_FRAMES:x},r.exports={COMPONENT_API_MD_MAP:A,MOBILE_COMPONENT_API_MD_MAP:k,TYPES_COMBINE_MAP:j,MOBILE_TYPES_COMBINE_MAP:H,GLOBAL_COMPONENTS_CONFIG:a,MINIPROGRAM_COMPONENT_API_MD_MAP:E,MINIPROGRAM_TYPES_COMBINE_MAP:Y,MOBILE_FRAMES:x},Object.defineProperty(u,"__esModule",{value:!0})})(Ms,Ms.exports);var h1=typeof dn=="object"&&dn&&dn.Object===Object&&dn,Cg=h1,g1=Cg,v1=typeof self=="object"&&self&&self.Object===Object&&self,m1=g1||v1||Function("return this")(),bi=m1,y1=bi,b1=y1.Symbol,ru=b1;function C1(r,u){for(var a=-1,c=r==null?0:r.length,h=Array(c);++ah?0:h+u),a=a>h?h:a,a<0&&(a+=h),h=u>a?0:a-u>>>0,u>>>=0;for(var y=Array(h);++c=c?r:J1(r,u,a)}var X1=Z1,Q1="\\ud800-\\udfff",eC="\\u0300-\\u036f",tC="\\ufe20-\\ufe2f",rC="\\u20d0-\\u20ff",nC=eC+tC+rC,iC="\\ufe0e\\ufe0f",aC="\\u200d",oC=RegExp("["+aC+Q1+nC+iC+"]");function sC(r){return oC.test(r)}var Sg=sC;function lC(r){return r.split("")}var uC=lC,Tg="\\ud800-\\udfff",fC="\\u0300-\\u036f",cC="\\ufe20-\\ufe2f",pC="\\u20d0-\\u20ff",dC=fC+cC+pC,hC="\\ufe0e\\ufe0f",gC="["+Tg+"]",up="["+dC+"]",fp="\\ud83c[\\udffb-\\udfff]",vC="(?:"+up+"|"+fp+")",wg="[^"+Tg+"]",$g="(?:\\ud83c[\\udde6-\\uddff]){2}",Ag="[\\ud800-\\udbff][\\udc00-\\udfff]",mC="\\u200d",Eg=vC+"?",Og="["+hC+"]?",yC="(?:"+mC+"(?:"+[wg,$g,Ag].join("|")+")"+Og+Eg+")*",bC=Og+Eg+yC,CC="(?:"+[wg+up+"?",up,$g,Ag,gC].join("|")+")",_C=RegExp(fp+"(?="+fp+")|"+CC+bC,"g");function xC(r){return r.match(_C)||[]}var SC=xC,TC=uC,wC=Sg,$C=SC;function AC(r){return wC(r)?$C(r):TC(r)}var EC=AC,OC=X1,DC=Sg,kC=EC,LC=iu;function PC(r){return function(u){u=LC(u);var a=DC(u)?kC(u):void 0,c=a?a[0]:u.charAt(0),h=a?OC(a,1).join(""):u.slice(1);return c[r]()+h}}var MC=PC,IC=MC,NC=IC("toUpperCase"),Ip=NC,RC=iu,FC=Ip;function BC(r){return FC(RC(r).toLowerCase())}var WC=BC;function jC(r,u,a,c){var h=-1,y=r==null?0:r.length;for(c&&y&&(a=r[++h]);++h{const h=u[c];h instanceof Array?a[c]=h:typeof h=="object"?(!h.includes&&!h.excludes||h.includes&&h.includes.includes(r)||h.excludes&&!h.excludes.includes(r)||!r)&&(a[c]=h.list):console.warn("COMPONENT_API_MD_MAP \u6570\u636E\u7ED3\u6784\u4E0D\u5BF9\uFF0C\u53EA\u80FD\u662F Array \u6216\u8005 Object \u7C7B\u578B")}),a}function Z_(r,u=Ms.exports.TYPES_COMBINE_MAP){const a={},c=zg(r,u);return Object.keys(c).forEach(h=>{c[h].forEach(y=>{a[y]=h})}),a}function Gg(r,u=Ms.exports.TYPES_COMBINE_MAP){const a={},c=zg(r,u);return Object.keys(c).forEach(h=>{const y=c[h];y.forEach(S=>{a[S]=y})}),a}function zr(r,u=void 0){if(typeof r=="object")return r;try{return JSON.parse(r)}catch{return u}}function X_(r){return`on${Ip(Np(r))}`}function Q_(r){if(document.querySelector(`script[src="${r}"]`))return Promise.resolve();const a=document.createElement("script");return a.src=r,document.body.appendChild(a),new Promise(c=>{a.onload=()=>{c()}})}var Rp={exports:{}},qg=function(u,a){return function(){for(var h=new Array(arguments.length),y=0;y=0)return;c==="set-cookie"?a[c]=(a[c]?a[c]:[]).concat([h]):a[c]=a[c]?a[c]+", "+h:h}}),a},Jd=hn,Mx=Jd.isStandardBrowserEnv()?function(){var u=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a"),c;function h(y){var S=y;return u&&(a.setAttribute("href",S),S=a.href),a.setAttribute("href",S),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:a.pathname.charAt(0)==="/"?a.pathname:"/"+a.pathname}}return c=h(window.location.href),function(S){var x=Jd.isString(S)?h(S):S;return x.protocol===c.protocol&&x.host===c.host}}():function(){return function(){return!0}}(),ws=hn,Ix=wx,Nx=$x,Rx=Yg,Fx=kx,Bx=Px,Wx=Mx,ep=Zg,Zd=function(u){return new Promise(function(c,h){var y=u.data,S=u.headers;ws.isFormData(y)&&delete S["Content-Type"],(ws.isBlob(y)||ws.isFile(y))&&y.type&&delete S["Content-Type"];var x=new XMLHttpRequest;if(u.auth){var A=u.auth.username||"",k=unescape(encodeURIComponent(u.auth.password))||"";S.Authorization="Basic "+btoa(A+":"+k)}var E=Fx(u.baseURL,u.url);if(x.open(u.method.toUpperCase(),Rx(E,u.params,u.paramsSerializer),!0),x.timeout=u.timeout,x.onreadystatechange=function(){if(!(!x||x.readyState!==4)&&!(x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0))){var Y="getAllResponseHeaders"in x?Bx(x.getAllResponseHeaders()):null,Q=!u.responseType||u.responseType==="text"?x.responseText:x.response,ae={data:Q,status:x.status,statusText:x.statusText,headers:Y,config:u,request:x};Ix(c,h,ae),x=null}},x.onabort=function(){!x||(h(ep("Request aborted",u,"ECONNABORTED",x)),x=null)},x.onerror=function(){h(ep("Network Error",u,null,x)),x=null},x.ontimeout=function(){var Y="timeout of "+u.timeout+"ms exceeded";u.timeoutErrorMessage&&(Y=u.timeoutErrorMessage),h(ep(Y,u,"ECONNABORTED",x)),x=null},ws.isStandardBrowserEnv()){var j=(u.withCredentials||Wx(E))&&u.xsrfCookieName?Nx.read(u.xsrfCookieName):void 0;j&&(S[u.xsrfHeaderName]=j)}if("setRequestHeader"in x&&ws.forEach(S,function(Y,Q){typeof y=="undefined"&&Q.toLowerCase()==="content-type"?delete S[Q]:x.setRequestHeader(Q,Y)}),ws.isUndefined(u.withCredentials)||(x.withCredentials=!!u.withCredentials),u.responseType)try{x.responseType=u.responseType}catch(H){if(u.responseType!=="json")throw H}typeof u.onDownloadProgress=="function"&&x.addEventListener("progress",u.onDownloadProgress),typeof u.onUploadProgress=="function"&&x.upload&&x.upload.addEventListener("progress",u.onUploadProgress),u.cancelToken&&u.cancelToken.promise.then(function(Y){!x||(x.abort(),h(Y),x=null)}),y||(y=null),x.send(y)})},Hr=hn,Xd=_x,jx={"Content-Type":"application/x-www-form-urlencoded"};function Qd(r,u){!Hr.isUndefined(r)&&Hr.isUndefined(r["Content-Type"])&&(r["Content-Type"]=u)}function Ux(){var r;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(r=Zd),r}var Wf={adapter:Ux(),transformRequest:[function(u,a){return Xd(a,"Accept"),Xd(a,"Content-Type"),Hr.isFormData(u)||Hr.isArrayBuffer(u)||Hr.isBuffer(u)||Hr.isStream(u)||Hr.isFile(u)||Hr.isBlob(u)?u:Hr.isArrayBufferView(u)?u.buffer:Hr.isURLSearchParams(u)?(Qd(a,"application/x-www-form-urlencoded;charset=utf-8"),u.toString()):Hr.isObject(u)?(Qd(a,"application/json;charset=utf-8"),JSON.stringify(u)):u}],transformResponse:[function(u){if(typeof u=="string")try{u=JSON.parse(u)}catch{}return u}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(u){return u>=200&&u<300}};Wf.headers={common:{Accept:"application/json, text/plain, */*"}};Hr.forEach(["delete","get","head"],function(u){Wf.headers[u]={}});Hr.forEach(["post","put","patch"],function(u){Wf.headers[u]=Hr.merge(jx)});var Xg=Wf,eh=hn,tp=bx,Hx=Jg,zx=Xg;function rp(r){r.cancelToken&&r.cancelToken.throwIfRequested()}var Gx=function(u){rp(u),u.headers=u.headers||{},u.data=tp(u.data,u.headers,u.transformRequest),u.headers=eh.merge(u.headers.common||{},u.headers[u.method]||{},u.headers),eh.forEach(["delete","get","head","post","put","patch","common"],function(h){delete u.headers[h]});var a=u.adapter||zx.adapter;return a(u).then(function(h){return rp(u),h.data=tp(h.data,h.headers,u.transformResponse),h},function(h){return Hx(h)||(rp(u),h&&h.response&&(h.response.data=tp(h.response.data,h.response.headers,u.transformResponse))),Promise.reject(h)})},br=hn,Qg=function(u,a){a=a||{};var c={},h=["url","method","data"],y=["headers","auth","proxy","params"],S=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],x=["validateStatus"];function A(H,Y){return br.isPlainObject(H)&&br.isPlainObject(Y)?br.merge(H,Y):br.isPlainObject(Y)?br.merge({},Y):br.isArray(Y)?Y.slice():Y}function k(H){br.isUndefined(a[H])?br.isUndefined(u[H])||(c[H]=A(void 0,u[H])):c[H]=A(u[H],a[H])}br.forEach(h,function(Y){br.isUndefined(a[Y])||(c[Y]=A(void 0,a[Y]))}),br.forEach(y,k),br.forEach(S,function(Y){br.isUndefined(a[Y])?br.isUndefined(u[Y])||(c[Y]=A(void 0,u[Y])):c[Y]=A(void 0,a[Y])}),br.forEach(x,function(Y){Y in a?c[Y]=A(u[Y],a[Y]):Y in u&&(c[Y]=A(void 0,u[Y]))});var E=h.concat(y).concat(S).concat(x),j=Object.keys(u).concat(Object.keys(a)).filter(function(Y){return E.indexOf(Y)===-1});return br.forEach(j,k),c},ev=hn,qx=Yg,th=mx,Vx=Gx,jf=Qg;function au(r){this.defaults=r,this.interceptors={request:new th,response:new th}}au.prototype.request=function(u){typeof u=="string"?(u=arguments[1]||{},u.url=arguments[0]):u=u||{},u=jf(this.defaults,u),u.method?u.method=u.method.toLowerCase():this.defaults.method?u.method=this.defaults.method.toLowerCase():u.method="get";var a=[Vx,void 0],c=Promise.resolve(u);for(this.interceptors.request.forEach(function(y){a.unshift(y.fulfilled,y.rejected)}),this.interceptors.response.forEach(function(y){a.push(y.fulfilled,y.rejected)});a.length;)c=c.then(a.shift(),a.shift());return c};au.prototype.getUri=function(u){return u=jf(this.defaults,u),qx(u.url,u.params,u.paramsSerializer).replace(/^\?/,"")};ev.forEach(["delete","get","head","options"],function(u){au.prototype[u]=function(a,c){return this.request(jf(c||{},{method:u,url:a}))}});ev.forEach(["post","put","patch"],function(u){au.prototype[u]=function(a,c,h){return this.request(jf(h||{},{method:u,url:a,data:c}))}});var Kx=au;function Wp(r){this.message=r}Wp.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Wp.prototype.__CANCEL__=!0;var tv=Wp,Yx=tv;function Nf(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var u;this.promise=new Promise(function(h){u=h});var a=this;r(function(h){a.reason||(a.reason=new Yx(h),u(a.reason))})}Nf.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};Nf.source=function(){var u,a=new Nf(function(h){u=h});return{token:a,cancel:u}};var Jx=Nf,Zx=function(u){return function(c){return u.apply(null,c)}},rh=hn,Xx=qg,kf=Kx,Qx=Qg,eS=Xg;function rv(r){var u=new kf(r),a=Xx(kf.prototype.request,u);return rh.extend(a,kf.prototype,u),rh.extend(a,u),a}var yi=rv(eS);yi.Axios=kf;yi.create=function(u){return rv(Qx(yi.defaults,u))};yi.Cancel=tv;yi.CancelToken=Jx;yi.isCancel=Jg;yi.all=function(u){return Promise.all(u)};yi.spread=Zx;Rp.exports=yi;Rp.exports.default=yi;var tS=Rp.exports;const Ra=tS.create({baseURL:rS(),headers:{"Access-Control-Allow-Origin":"*"},timeout:1e3});function rS(){return"/"}var nS=function(){var r=this,u=r.$createElement,a=r._self._c||u;return a("div",{staticClass:"API-Preview tdesign-document"},[a("t-table",{attrs:{data:r.list,columns:r.columns,rowKey:"id",tableLayout:"auto",hover:""},scopedSlots:r._u([{key:"component",fn:function(c){var h=c.row,y=h===void 0?{}:h;return[a("div",[a("div",[a("span",{staticStyle:{"padding-right":"8px"}},[r._v(r._s(y.component))]),y.field_category_text?a("t-tag",{attrs:{size:"small",theme:{Props:"primary",Events:"success",Functions:"warning",Return:"default",Extends:"default","":"default"}[y.field_category_text]||"primary",variant:"light"}},[r._v(" "+r._s(y.field_category_text)+" ")]):r._e()],1)])]}},{key:"field_desc_zh",fn:function(c){var h=c.row,y=h===void 0?{}:h;return[a("div",[a("p",[y.deprecated?[r._v("\u5DF2\u5E9F\u5F03\u3002")]:r._e(),y.html_attribute?[r._v("HTML \u539F\u751F\u5C5E\u6027\u3002")]:r._e(),y.field_required?[r._v("\u5FC5\u9700\u3002")]:r._e(),r._v(" "+r._s(y.field_desc_zh)+" ")],2),y.test_description?[a("p",[r._v("Tested\uFF1A "),a("t-space",{attrs:{size:3}},r._l(r.getTested(y.test_description),function(S){return a("t-tag",{key:S,attrs:{variant:"outline",shape:"round",size:"small",theme:"primary"}},[r._v(r._s(S))])}),1)],1)]:r._e(),y.field_enum?[a("p",[r._v("\u53EF\u9009\u503C\uFF1A"+r._s(y.field_enum)+"\u3002")])]:r._e(),y.custom_field_type?[a("p",[r._v("TS \u7C7B\u578B\u5B9A\u4E49\uFF1A"+r._s(y.custom_field_type)+"\u3002")])]:r._e(),y.event_input?[a("p",[r._v(" \u53C2\u6570\uFF1A"+r._s(y.event_input)+" ")])]:r._e(),y.event_output?[a("p",[r._v(" \u8FD4\u56DE\u503C\uFF1A"+r._s(y.event_output)+" ")])]:r._e(),a("p",[y.syntactic_sugar?[r._v(" \u652F\u6301 Vue \u8BED\u6CD5\u7CD6\uFF1A"+r._s(y.syntactic_sugar)+"\u3002 ")]:r._e(),y.support_default_value?[r._v("\u652F\u6301\u975E\u53D7\u63A7\u5C5E\u6027\u3002")]:r._e()],2),a("p",{staticStyle:{"font-size":"12px",color:"#a6a6a6"}},[r._v(" "+r._s(y.platform_framework_text.join(", "))+" ")]),y.version?a("p",{staticStyle:{"font-size":"12px",color:"#a6a6a6"}},[r._v(" \u7248\u672C\u53F7\uFF1A"+r._s(y.version)+" ")]):r._e()],2)]}},{key:"field_type_text",fn:function(c){var h=c.row;return[r._v(" "+r._s(h.field_type_text&&h.field_type_text.join("/"))+" ")]}},{key:"operation",fn:function(c){return[a("div",[a("div",{staticClass:"t-demo-table-btns"},[a("t-button",{attrs:{variant:"text",theme:"primary"},on:{click:function(){return r.onEditClick(c)}}},[r._v("Edit")]),a("t-button",{attrs:{variant:"text",theme:"primary"},on:{click:function(){return r.onTestsEditClick(c)}}},[r._v("Tests")]),a("t-popconfirm",{attrs:{theme:"danger",content:"\u786E\u5B9A\u5220\u9664\u5417\uFF1F",trigger:"click"},on:{confirm:function(){return r.onDeleteConfirm(c)}}},[a("t-button",{staticStyle:{"margin-left":"8px"},attrs:{variant:"text",theme:"danger"}},[r._v("Delete")])],1)],1),a("div",{staticStyle:{"font-size":"12px",color:"#a6a6a6"}},[r._v(" "+r._s(c.row.update_time)+" ")])])]}}])})],1)},iS=[];const aS={name:"ApiList",components:{TTable:r1,TButton:gg,TPopconfirm:n1},props:{list:Array,platformOptions:Array,preview:Boolean},computed:{columns(){return this.getCols()}},watch:{},methods:{getCols(){const r=[{title:"ID",colKey:"id"},{title:"\u7EC4\u4EF6/\u63D2\u4EF6",colKey:"component",fixed:"left",width:200},{title:"\u540D\u79F0",colKey:"field_name"},{title:"\u63CF\u8FF0",colKey:"field_desc_zh"},{title:"\u7C7B\u578B",colKey:"field_type_text"},{title:"\u9ED8\u8BA4\u503C",colKey:"field_default_value",width:90}];return this.preview||r.push({title:"\u64CD\u4F5C",colKey:"operation",fixed:"right"}),r},onCreate(){this.$emit("create-api")},onDeleteConfirm(r){Ra({url:"/cmp/api",method:"delete",data:{id:r.row.id}}).then(()=>{this.$message.info("\u5220\u9664\u6210\u529F\uFF01"),this.$emit("delete-api-success")})},onEditClick(r){this.$emit("click-edit-btn",r)},onTestsEditClick(r){this.$emit("click-test-edit-btn",r)},onCodePreview(r,u){this.$emit("code-preview",r,u)},getTested(r){const u=[];if(!r)return u;const a=zr(r);return a&&(a.PC&&u.push("PC"),a.Mobile&&u.push("Mobile")),u}}},nh={};var oS=Yi(aS,nS,iS,!1,sS,null,null,null);function sS(r){for(let u in nh)this[u]=nh[u]}var lS=function(){return oS.exports}(),uS=function(){var r=this,u=r.$createElement,a=r._self._c||u;return a("div",{staticClass:"tdesign-checkbox-indeterminate"},[a("t-checkbox",{staticClass:"site-check-all",attrs:{checked:r.checkedAll,indeterminate:r.indeterminate},on:{change:r.onCheckedAllChange}},[r._v("\u5168\u90E8")]),a("t-checkbox-group",{attrs:{options:r.options},on:{change:r.onChange},model:{value:r.checkedList,callback:function(c){r.checkedList=c},expression:"checkedList"}})],1)},fS=[];const cS={name:"SiteCheckbox",components:{TCheckbox:vg,TCheckboxGroup:mg},props:{options:Array,value:{}},data(){return{indeterminate:!1,checkedList:[]}},computed:{checkedStr(){return this.checkedList.join()},checkedAll(){const r=this.checkedList,u=this.options?this.options.map(a=>a.value):[];return r.sort().join()===u.sort().join()}},watch:{value:{immediate:!0,handler(r){this.checkedList=r}},checkedStr(){this.$emit("input",this.checkedList)}},methods:{onCheckedAllChange(r){this.indeterminate=!1,this.checkedList=r?this.options.map(u=>u.value):[]},onChange(r){this.indeterminate=!!r.length&&!this.checkedAll}}},ih={};var pS=Yi(cS,uS,fS,!1,dS,null,null,null);function dS(r){for(let u in ih)this[u]=ih[u]}var nv=function(){return pS.exports}(),hS=function(){var r=this,u=r.$createElement,a=r._self._c||u;return a("div",{staticClass:"t-api-tool__multi-operations"},[a("t-button",{attrs:{theme:"primary"},nativeOn:{click:function(c){return r.onCreateApi.apply(null,arguments)}}},[r._v("New API")]),a("t-button",{attrs:{theme:"primary"},nativeOn:{click:function(c){return r.onGenerateDialogShow.apply(null,arguments)}}},[r._v("Generate API Files")]),a("a",{staticClass:"link",attrs:{href:"https://github.com/Tencent/tdesign/wiki/Component-API-Guide",target:"_blank"}},[a("t-button",{staticStyle:{color:"#99999"},attrs:{variant:"text"}},[r._v(" API Design ")])],1),a("t-dialog",{attrs:{header:"\u751F\u6210",width:"830",visible:r.generateFilesVisible},on:{"update:visible":function(c){r.generateFilesVisible=c},confirm:r.onGenerateConfirm}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("form",{staticClass:"t-form api-edit-form",attrs:{onsubmit:"return false"}},[a("div",{staticClass:"t-form-item"},[a("label",[r._v("\u7EC4\u4EF6\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-select",{attrs:{placeholder:"\u8BF7\u9009\u62E9\u7EC4\u4EF6",clearable:"",filterable:"",tips:r.formData.component==="ALL"?r.tips:""},model:{value:r.formData.component,callback:function(c){r.$set(r.formData,"component",c)},expression:"formData.component"}},r._l(r.componentList,function(c,h){return a("t-option",{key:h,attrs:{label:`${c.value} ${c.label}`,value:c.value}})}),1)],1)]),a("div",{staticClass:"t-form-item"},[a("label",{staticStyle:{"vertical-align":"top"}},[r._v("\u6846\u67B6\u5E73\u53F0\uFF1A")]),a("div",{staticClass:"t-form-content platform"},[a("site-checkbox",{attrs:{options:r.frameworkOptions},model:{value:r.formData.platform,callback:function(c){r.$set(r.formData,"platform",c)},expression:"formData.platform"}})],1)]),a("div",{staticClass:"t-form-item"},[a("label",{staticStyle:{"vertical-align":"top"}},[r._v("\u53C2\u6570\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-checkbox",{model:{value:r.formData.finalProject,callback:function(c){r.$set(r.formData,"finalProject",c)},expression:"formData.finalProject"}},[r._v("\u8F93\u51FA\u6587\u4EF6\u5230\u5404\u6846\u67B6\u4ED3\u5E93")]),a("t-tooltip",{attrs:{content:r.paramsTips[0]}},[a("div",{staticClass:"help-icon"},[r._v("?")])]),a("t-checkbox",{model:{value:r.formData.onlyDocs,callback:function(c){r.$set(r.formData,"onlyDocs",c)},expression:"formData.onlyDocs"}},[r._v("\u4EC5\u8F93\u51FA md\u6587\u4EF6")]),a("t-checkbox",{staticStyle:{"margin-right":"20px"},model:{value:r.formData.useDefault,callback:function(c){r.$set(r.formData,"useDefault",c)},expression:"formData.useDefault"}},[r._v("\u8F93\u51FA useDefault/useVModel \u6587\u4EF6(Vue2)")]),a("t-checkbox",{model:{value:r.formData.vitest,callback:function(c){r.$set(r.formData,"vitest",c)},expression:"formData.vitest"}},[r._v("\u8F93\u51FA\u5355\u6D4B\u7528\u4F8B")])],1)]),r.commandLine&&r.commandLine.length?a("div",{staticClass:"t-form-item"},[a("label",[r._v("\u6700\u7EC8\u547D\u4EE4\u884C\uFF1A")]),a("div",{staticClass:"t-form-content",staticStyle:{"vertical-align":"top"}},r._l(r.commandLine,function(c){return a("code",{key:c},[r._v(r._s(c)),a("br")])}),0)]):r._e()])])])],1)},gS=[];const vS={name:"ApiToolOperation",components:{TButton:gg,TSelect:kp,TOption:Lp,SiteCheckbox:nv},props:{map:Object},data(){return{codeType:"",generateFilesVisible:!1,checkedAll:!1,tips:"\u5168\u91CF\u8F93\u51FA\u65F6\u9650\u5236\u4E3A\u53EA\u80FD\u8F93\u51FA\u6587\u6863\uFF0C\u5982\u9700\u8F93\u51FA\u5176\u4ED6\u6587\u4EF6\u8BF7\u9009\u62E9\u5BF9\u5E94\u7EC4\u4EF6",formData:{platform:[],component:"ALL",finalProject:!1},paramsTips:["\u5305\u62EC\uFF1A props.ts\u3001type.ts\u3001md\u6587\u4EF6 \uFF0C\u9ED8\u8BA4\u5404\u7AEF\u6846\u67B6\u4E0E\u5F53\u524D\u9879\u76EE\u5728\u540C\u4E00\u76EE\u5F55\uFF0C\u8DEF\u5F84\u8C03\u6574\u8BF7\u5728\u672C\u5730\u4FEE\u6539 BASE_PATH_URL"]}},computed:{frameworkOptions(){return this.map.platform_framework?[{label:"VueNext(PC)",value:1e3}].concat(this.map.platform_framework):[]},componentList(){return[{label:"\u5168\u90E8",value:"ALL"}].concat(this.map.components).filter(r=>r&&!r.type||["Table"].includes(r==null?void 0:r.value))},commandLine(){if(!this.map||!this.map.platform_framework)return;const r=this.formData.component,u={finalProject:this.formData.finalProject,onlyDocs:this.formData.onlyDocs,useDefault:this.formData.useDefault,vitest:this.formData.vitest,isUseUnitTest:this.formData.isUseUnitTest};r.toLocaleLowerCase()==="all"&&(u.onlyDocs=!0);const a=Object.keys(u).filter(h=>u[h]).join();return this.frameworkOptions.filter(h=>this.formData.platform.includes(h.value)).map(h=>`npm run api:docs ${r} "${h.label}" ${a}`)}},methods:{onCreateApi(){this.$emit("create-dialog-show")},onGenerateDialogShow(){this.generateFilesVisible=!0},onGenerateConfirm(){Ra({method:"post",url:"/cmp/generate-api",data:{commandLines:this.commandLine.map(r=>r.replace("npm run api:docs",""))}}).then(()=>{this.generateFilesVisible=!1})}}},ah={};var mS=Yi(vS,hS,gS,!1,yS,null,null,null);function yS(r){for(let u in ah)this[u]=ah[u]}var bS=function(){return mS.exports}();const dp=1,Lf=2,Pf=4,hp=8,iv=16,av=32,ov=64,CS=256,_S={[dp]:{placeholder:{name:"\u8BF7\u8F93\u5165\u5C5E\u6027\u540D\u79F0\uFF0C\u5982\uFF1Aname/theme/size/disabled"}},[Lf]:{placeholder:{name:"\u4E8B\u4EF6\u540D\u79F0\u5F55\u5165\u65F6\u7EDF\u4E00\u4F7F\u7528\u5C0F\u9A7C\u5CF0\u547D\u540D\uFF0C\u4E14\u4E0D\u5E26on\uFF0C\u5982\uFF1AvisibleChange",inputParams:"\u4E8B\u4EF6\u53C2\u6570\uFF0C\u5982\uFF1A(context: { e: Event, value: string | number })",descZh:"\u8BF7\u8F93\u5165\u4E8B\u4EF6\u63CF\u8FF0\uFF08\u4E2D\u6587\uFF09\uFF0C\u5982\uFF1A\u70B9\u51FB\u786E\u8BA4\u6309\u94AE\u65F6\u89E6\u53D1",descEn:"type event description in English",triggerElements:"\u4E8B\u4EF6\u89E6\u53D1\u5143\u7D20\u63CF\u8FF0\uFF0C\u9ED8\u8BA4\u4E3A MouseEvent"}},[Pf]:{placeholder:{name:"\u7EC4\u4EF6\u5BF9\u5916\u66B4\u9732\u7684\u65B9\u6CD5\u540D\u79F0",inputParams:"\u65B9\u6CD5\u53C2\u6570\uFF0C\u5982\uFF1A(validateRules: RulesObject)",outputParams:"\u65B9\u6CD5\u8FD4\u56DE\u503C\uFF0C\u5982\uFF1A(validateResult: boolean)",descZh:"\u8F93\u5165\u65B9\u6CD5\u63CF\u8FF0\uFF0C\u5982\uFF1A\u4F7F\u7528\u8BE5\u65B9\u6CD5\u8FDB\u884C\u8868\u5355\u6821\u9A8C",descEn:"type function description in English"}},[hp]:{placeholder:{name:"\u7EC4\u4EF6\u63D2\u4EF6\u540D\u79F0\uFF0C\u5982\uFF1Athis.$message.info",inputParams:"\u63D2\u4EF6\u53C2\u6570\uFF0C\u5982\uFF1A(options) => {}",outputParams:"\u63D2\u4EF6\u8FD4\u56DE\u503C\uFF0C\u5982\uFF1A(options) => Promise",descZh:"\u63D2\u4EF6\u63CF\u8FF0\uFF0C\u5982\uFF1A\u4F7F\u7528\u8BE5\u63D2\u4EF6\u5F39\u51FA\u4FE1\u606F\u63D0\u9192",descEn:"type plugin description in English"}},[iv]:{placeholder:{name:"\u8BF7\u8F93\u5165\u7EE7\u627F API \u540D\u79F0"},desc:"React.ButtonHTMLAttributes"},[av]:{placeholder:{name:"\u8BF7\u8F93\u5165\u63D2\u4EF6\u51FD\u6570\u8FD4\u56DE\u503C\u7C7B\u578B"},desc:"Promise;\u3010interface MessageInstance { close: () => void }\u3011 }"},[ov]:{placeholder:{name:"\u8BF7\u8F93\u5165\u6CDB\u578B\u53C2\u6570\uFF0C\u793A\u4F8B\uFF1A"}}},np=1,xS=2,SS=1,TS=8;var Rf={exports:{}},wS=Ba,$S=Mp,AS=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ES=/^\w*$/;function OS(r,u){if(wS(r))return!1;var a=typeof r;return a=="number"||a=="symbol"||a=="boolean"||r==null||$S(r)?!0:ES.test(r)||!AS.test(r)||u!=null&&r in Object(u)}var DS=OS;function kS(r){var u=typeof r;return r!=null&&(u=="object"||u=="function")}var Ns=kS,LS=nu,PS=Ns,MS="[object AsyncFunction]",IS="[object Function]",NS="[object GeneratorFunction]",RS="[object Proxy]";function FS(r){if(!PS(r))return!1;var u=LS(r);return u==IS||u==NS||u==MS||u==RS}var sv=FS,BS=bi,WS=BS["__core-js_shared__"],jS=WS,ip=jS,oh=function(){var r=/[^.]+$/.exec(ip&&ip.keys&&ip.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function US(r){return!!oh&&oh in r}var HS=US,zS=Function.prototype,GS=zS.toString;function qS(r){if(r!=null){try{return GS.call(r)}catch{}try{return r+""}catch{}}return""}var lv=qS,VS=sv,KS=HS,YS=Ns,JS=lv,ZS=/[\\^$.*+?()[\]{}|]/g,XS=/^\[object .+?Constructor\]$/,QS=Function.prototype,eT=Object.prototype,tT=QS.toString,rT=eT.hasOwnProperty,nT=RegExp("^"+tT.call(rT).replace(ZS,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function iT(r){if(!YS(r)||KS(r))return!1;var u=VS(r)?nT:XS;return u.test(JS(r))}var aT=iT;function oT(r,u){return r==null?void 0:r[u]}var sT=oT,lT=aT,uT=sT;function fT(r,u){var a=uT(r,u);return lT(a)?a:void 0}var Oo=fT,cT=Oo,pT=cT(Object,"create"),Uf=pT,sh=Uf;function dT(){this.__data__=sh?sh(null):{},this.size=0}var hT=dT;function gT(r){var u=this.has(r)&&delete this.__data__[r];return this.size-=u?1:0,u}var vT=gT,mT=Uf,yT="__lodash_hash_undefined__",bT=Object.prototype,CT=bT.hasOwnProperty;function _T(r){var u=this.__data__;if(mT){var a=u[r];return a===yT?void 0:a}return CT.call(u,r)?u[r]:void 0}var xT=_T,ST=Uf,TT=Object.prototype,wT=TT.hasOwnProperty;function $T(r){var u=this.__data__;return ST?u[r]!==void 0:wT.call(u,r)}var AT=$T,ET=Uf,OT="__lodash_hash_undefined__";function DT(r,u){var a=this.__data__;return this.size+=this.has(r)?0:1,a[r]=ET&&u===void 0?OT:u,this}var kT=DT,LT=hT,PT=vT,MT=xT,IT=AT,NT=kT;function Rs(r){var u=-1,a=r==null?0:r.length;for(this.clear();++u-1}var QT=XT,ew=Hf;function tw(r,u){var a=this.__data__,c=ew(a,r);return c<0?(++this.size,a.push([r,u])):a[c][1]=u,this}var rw=tw,nw=BT,iw=VT,aw=JT,ow=QT,sw=rw;function Fs(r){var u=-1,a=r==null?0:r.length;for(this.clear();++u-1&&r%1==0&&r-1&&r%1==0&&r<=F$}var Vp=B$,W$=qf,j$=qp,U$=Ba,H$=Gp,z$=Vp,G$=Hp;function q$(r,u,a){u=W$(u,r);for(var c=-1,h=u.length,y=!1;++c0&&a(x)?u>1?gv(x,u-1,a,c,h):sA(h,x):c||(h[h.length]=x)}return h}var uA=gv,fA=uA;function cA(r){var u=r==null?0:r.length;return u?fA(r,1):[]}var pA=cA;function dA(r,u,a){switch(a.length){case 0:return r.call(u);case 1:return r.call(u,a[0]);case 2:return r.call(u,a[0],a[1]);case 3:return r.call(u,a[0],a[1],a[2])}return r.apply(u,a)}var hA=dA,gA=hA,hh=Math.max;function vA(r,u,a){return u=hh(u===void 0?r.length-1:u,0),function(){for(var c=arguments,h=-1,y=hh(c.length-u,0),S=Array(y);++h0){if(++u>=$A)return arguments[0]}else u=0;return r.apply(void 0,arguments)}}var DA=OA,kA=wA,LA=DA,PA=LA(kA),MA=PA,IA=pA,NA=mA,RA=MA;function FA(r){return RA(NA(r,void 0,IA),r+"")}var BA=FA,WA=tA,jA=BA,UA=jA(function(r,u){return r==null?{}:WA(r,u)}),HA=UA;function zA(r,u=""){if(!r||r.indexOf("preSkip")!==-1)return{};try{return JSON.parse(r)}catch{return console.error(u||`${r} is not a JSON.`),{}}}function GA(r,u){const a={};return r[u].forEach(c=>{a[c.label]=c.value}),a}function qA(r){return r?".skip":""}function VA(r,u){const a={};return r.forEach(c=>{u&&!c.platform_framework.includes(u)||(a[c.component]?a[c.component].push(c):a[c.component]=[c])}),Object.keys(a).forEach(c=>{c[0]==="$"&&(a[c]=a[c].sort((h,y)=>h.field_category{if(!c)return;const h=r[c];h instanceof Array?a[c]=h:typeof h=="object"?(!h.includes&&!h.excludes||h.includes&&h.includes.includes(u)||h.excludes&&!h.excludes.includes(u))&&(a[c]=h.list):console.warn("COMPONENT_API_MD_MAP \u6570\u636E\u7ED3\u6784\u4E0D\u5BF9\uFF0C\u53EA\u80FD\u662F Array \u6216\u8005 Object \u7C7B\u578B")}),a}function YA(r,u){const a=Object.entries(r);for(let c=0,h=a.length;c0&&t.prevInput=="\u200B"?et(o,Ca)(o):Z++<10?i.detectingSelectAll=setTimeout(le,500):(i.selForContextMenu=null,i.input.reset())};i.detectingSelectAll=setTimeout(le,200)}}if(A&&k>=9&&R(),He){Jn(e);var G=function(){Jt(window,"mouseup",G),setTimeout(I,20)};Te(window,"mouseup",G)}else setTimeout(I,50)},At.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},At.prototype.setUneditable=function(){},At.prototype.needsContentAttribute=!1;function gf(e,t){if(t=t?De(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),t.autofocus==null){var o=nt(Qe(e));t.autofocus=o==e||e.getAttribute("autofocus")!=null&&o==document.body}function i(){e.value=v.getValue()}var l;if(e.form&&(Te(e.form,"submit",i),!t.leaveSubmitMethodAlone)){var p=e.form;l=p.submit;try{var d=p.submit=function(){i(),p.submit=l,p.submit(),p.submit=d}}catch{}}t.finishInit=function(m){m.save=i,m.getTextArea=function(){return e},m.toTextArea=function(){m.toTextArea=isNaN,i(),e.parentNode.removeChild(m.getWrapperElement()),e.style.display="",e.form&&(Jt(e.form,"submit",i),!t.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=l))}},e.style.display="none";var v=Ke(function(m){return e.parentNode.insertBefore(m,e.nextSibling)},t);return v}function Rc(e){e.off=Jt,e.on=Te,e.wheelEventPixels=_c,e.Doc=ar,e.splitLines=Mr,e.countColumn=We,e.findColumn=Yt,e.isWordChar=Ua,e.Pass=Cr,e.signal=ft,e.Line=Ai,e.changeEnd=si,e.scrollbarModel=Ii,e.Pos=z,e.cmpPos=ce,e.modes=Xi,e.mimeModes=Yr,e.resolveMode=Qi,e.getMode=ea,e.modeExtensions=Zr,e.extendMode=ta,e.copyState=Sr,e.startState=ra,e.innerMode=Ga,e.commands=co,e.keyMap=An,e.keyName=so,e.isModifierKey=cs,e.lookupKey=Dr,e.normalizeKeyMap=Or,e.StringStream=xt,e.SharedTextMarker=Ta,e.TextMarker=ln,e.LineWidget=ji,e.e_preventDefault=Zt,e.e_stopPropagation=Ji,e.e_stop=Jn,e.addClass=mt,e.contains=ze,e.rmClass=gt,e.keyNames=zt}zl(Ke),ka(Ke);var vf="iter insert remove copy getEditor constructor".split(" ");for(var _s in ar.prototype)ar.prototype.hasOwnProperty(_s)&&Oe(vf,_s)<0&&(Ke.prototype[_s]=function(e){return function(){return e.apply(this.doc,arguments)}}(ar.prototype[_s]));return qr(ar),Ke.inputStyles={textarea:At,contenteditable:Ze},Ke.defineMode=function(e){!Ke.defaults.mode&&e!="null"&&(Ke.defaults.mode=e),Jr.apply(this,arguments)},Ke.defineMIME=Ti,Ke.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Ke.defineMIME("text/plain","null"),Ke.defineExtension=function(e,t){Ke.prototype[e]=t},Ke.defineDocExtension=function(e,t){ar.prototype[e]=t},Ke.fromTextArea=gf,Rc(Ke),Ke.version="5.65.18",Ke})})(Pp);(function(r,u){(function(a,c){r.exports=c(Pp.exports)})(dn,function(a){return function(c){function h(S){if(y[S])return y[S].exports;var x=y[S]={i:S,l:!1,exports:{}};return c[S].call(x.exports,x,x.exports,h),x.l=!0,x.exports}var y={};return h.m=c,h.c=y,h.i=function(S){return S},h.d=function(S,x,A){h.o(S,x)||Object.defineProperty(S,x,{configurable:!1,enumerable:!0,get:A})},h.n=function(S){var x=S&&S.__esModule?function(){return S.default}:function(){return S};return h.d(x,"a",x),x},h.o=function(S,x){return Object.prototype.hasOwnProperty.call(S,x)},h.p="/",h(h.s=3)}([function(c,h){c.exports=a},function(c,h,y){Object.defineProperty(h,"__esModule",{value:!0});var S=y(0),x=function(k){return k&&k.__esModule?k:{default:k}}(S),A=window.CodeMirror||x.default;typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(k,E){if(k==null)throw new TypeError("Cannot convert undefined or null to object");for(var U=Object(k),H=1;H!?|~^@]/,Q=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function ae(_){for(var D=!1,V,se=!1;(V=_.next())!=null;){if(!D){if(V=="/"&&!se)return;V=="["?se=!0:se&&V=="]"&&(se=!1)}D=!D&&V=="\\"}}var ie,re;function N(_,D,V){return ie=_,re=V,D}function B(_,D){var V=_.next();if(V=='"'||V=="'")return D.tokenize=q(V),D.tokenize(_,D);if(V=="."&&_.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return N("number","number");if(V=="."&&_.match(".."))return N("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(V))return N(V);if(V=="="&&_.eat(">"))return N("=>","operator");if(V=="0"&&_.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return N("number","number");if(/\d/.test(V))return _.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),N("number","number");if(V=="/")return _.eat("*")?(D.tokenize=J,J(_,D)):_.eat("/")?(_.skipToEnd(),N("comment","comment")):Tr(_,D,1)?(ae(_),_.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),N("regexp","string-2")):(_.eat("="),N("operator","operator",_.current()));if(V=="`")return D.tokenize=ne,ne(_,D);if(V=="#"&&_.peek()=="!")return _.skipToEnd(),N("meta","meta");if(V=="#"&&_.eatWhile(U))return N("variable","property");if(V=="<"&&_.match("!--")||V=="-"&&_.match("->")&&!/\S/.test(_.string.slice(0,_.start)))return _.skipToEnd(),N("comment","comment");if(Y.test(V))return(V!=">"||!D.lexical||D.lexical.type!=">")&&(_.eat("=")?(V=="!"||V=="=")&&_.eat("="):/[<>*+\-|&?]/.test(V)&&(_.eat(V),V==">"&&_.eat(V))),V=="?"&&_.eat(".")?N("."):N("operator","operator",_.current());if(U.test(V)){_.eatWhile(U);var se=_.current();if(D.lastType!="."){if(H.propertyIsEnumerable(se)){var z=H[se];return N(z.type,z.style,se)}if(se=="async"&&_.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return N("async","keyword",se)}return N("variable","variable",se)}}function q(_){return function(D,V){var se=!1,z;if(x&&D.peek()=="@"&&D.match(Q))return V.tokenize=B,N("jsonld-keyword","meta");for(;(z=D.next())!=null&&!(z==_&&!se);)se=!se&&z=="\\";return se||(V.tokenize=B),N("string","string")}}function J(_,D){for(var V=!1,se;se=_.next();){if(se=="/"&&V){D.tokenize=B;break}V=se=="*"}return N("comment","comment")}function ne(_,D){for(var V=!1,se;(se=_.next())!=null;){if(!V&&(se=="`"||se=="$"&&_.eat("{"))){D.tokenize=B;break}V=!V&&se=="\\"}return N("quasi","string-2",_.current())}var de="([{}])";function xe(_,D){D.fatArrowAt&&(D.fatArrowAt=null);var V=_.string.indexOf("=>",_.start);if(!(V<0)){if(E){var se=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(_.string.slice(_.start,V));se&&(V=se.index)}for(var z=0,ce=!1,qe=V-1;qe>=0;--qe){var Wt=_.string.charAt(qe),ir=de.indexOf(Wt);if(ir>=0&&ir<3){if(!z){++qe;break}if(--z==0){Wt=="("&&(ce=!0);break}}else if(ir>=3&&ir<6)++z;else if(U.test(Wt))ce=!0;else if(/["'\/`]/.test(Wt))for(;;--qe){if(qe==0)return;var Rn=_.string.charAt(qe-1);if(Rn==Wt&&_.string.charAt(qe-2)!="\\"){qe--;break}}else if(ce&&!z){++qe;break}}ce&&!z&&(D.fatArrowAt=qe)}}var ve={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function He(_,D,V,se,z,ce){this.indented=_,this.column=D,this.type=V,this.prev=z,this.info=ce,se!=null&&(this.align=se)}function tt(_,D){if(!k)return!1;for(var V=_.localVars;V;V=V.next)if(V.name==D)return!0;for(var se=_.context;se;se=se.prev)for(var V=se.vars;V;V=V.next)if(V.name==D)return!0}function gt(_,D,V,se,z){var ce=_.cc;for(X.state=_,X.stream=z,X.marked=null,X.cc=ce,X.style=D,_.lexical.hasOwnProperty("align")||(_.lexical.align=!0);;){var qe=ce.length?ce.pop():A?Oe:We;if(qe(V,se)){for(;ce.length&&ce[ce.length-1].lex;)ce.pop()();return X.marked?X.marked:V=="variable"&&tt(_,se)?"variable-2":D}}}var X={state:null,column:null,marked:null,cc:null};function me(){for(var _=arguments.length-1;_>=0;_--)X.cc.push(arguments[_])}function P(){return me.apply(null,arguments),!0}function dr(_,D){for(var V=D;V;V=V.next)if(V.name==_)return!0;return!1}function vt(_){var D=X.state;if(X.marked="def",!!k){if(D.context){if(D.lexical.info=="var"&&D.context&&D.context.block){var V=ze(_,D.context);if(V!=null){D.context=V;return}}else if(!dr(_,D.localVars)){D.localVars=new yt(_,D.localVars);return}}h.globalVars&&!dr(_,D.globalVars)&&(D.globalVars=new yt(_,D.globalVars))}}function ze(_,D){if(D)if(D.block){var V=ze(_,D.prev);return V?V==D.prev?D:new mt(V,D.vars,!0):null}else return dr(_,D.vars)?D:new mt(D.prev,new yt(_,D.vars),!1);else return null}function nt(_){return _=="public"||_=="private"||_=="protected"||_=="abstract"||_=="readonly"}function mt(_,D,V){this.prev=_,this.vars=D,this.block=V}function yt(_,D){this.name=_,this.next=D}var Bt=new yt("this",new yt("arguments",null));function ur(){X.state.context=new mt(X.state.context,X.state.localVars,!1),X.state.localVars=Bt}function Mt(){X.state.context=new mt(X.state.context,X.state.localVars,!0),X.state.localVars=null}ur.lex=Mt.lex=!0;function Qe(){X.state.localVars=X.state.context.vars,X.state.context=X.state.context.prev}Qe.lex=!0;function we(_,D){var V=function(){var se=X.state,z=se.indented;if(se.lexical.type=="stat")z=se.lexical.indented;else for(var ce=se.lexical;ce&&ce.type==")"&&ce.align;ce=ce.prev)z=ce.indented;se.lexical=new He(z,X.stream.column(),_,null,se.lexical,D)};return V.lex=!0,V}function $e(){var _=X.state;_.lexical.prev&&(_.lexical.type==")"&&(_.indented=_.lexical.indented),_.lexical=_.lexical.prev)}$e.lex=!0;function De(_){function D(V){return V==_?P():_==";"||V=="}"||V==")"||V=="]"?me():P(D)}return D}function We(_,D){return _=="var"?P(we("vardef",D),Ji,De(";"),$e):_=="keyword a"?P(we("form"),Cr,We,$e):_=="keyword b"?P(we("form"),We,$e):_=="keyword d"?X.stream.match(/^\s*$/,!1)?P():P(we("stat"),gr,De(";"),$e):_=="debugger"?P(De(";")):_=="{"?P(we("}"),Mt,Lr,$e,Qe):_==";"?P():_=="if"?(X.state.lexical.info=="else"&&X.state.cc[X.state.cc.length-1]==$e&&X.state.cc.pop()(),P(we("form"),Cr,We,$e,Zi)):_=="function"?P(Mr):_=="for"?P(we("form"),Mt,Lo,We,Qe,$e):_=="class"||E&&D=="interface"?(X.marked="keyword",P(we("form",_=="class"?_:D),Xi,$e)):_=="variable"?E&&D=="declare"?(X.marked="keyword",P(We)):E&&(D=="module"||D=="enum"||D=="type")&&X.stream.match(/^\s*\w/,!1)?(X.marked="keyword",D=="enum"?P(be):D=="type"?P(Po,De("operator"),Re,De(";")):P(we("form"),fr,De("{"),we("}"),Lr,$e,$e)):E&&D=="namespace"?(X.marked="keyword",P(we("form"),Oe,We,$e)):E&&D=="abstract"?(X.marked="keyword",P(We)):P(we("stat"),xi):_=="switch"?P(we("form"),Cr,De("{"),we("}","switch"),Mt,Lr,$e,$e,Qe):_=="case"?P(Oe,De(":")):_=="default"?P(De(":")):_=="catch"?P(we("form"),ur,hr,We,$e,Qe):_=="export"?P(we("stat"),Qi,$e):_=="import"?P(we("stat"),Zr,$e):_=="async"?P(We):D=="@"?P(Oe,We):me(we("stat"),Oe,De(";"),$e)}function hr(_){if(_=="(")return P(Kr,De(")"))}function Oe(_,D){return bt(_,D,!1)}function Ot(_,D){return bt(_,D,!0)}function Cr(_){return _!="("?me():P(we(")"),gr,De(")"),$e)}function bt(_,D,V){if(X.state.fatArrowAt==X.stream.start){var se=V?tr:Ue;if(_=="(")return P(ur,we(")"),Ct(Kr,")"),$e,De("=>"),se,Qe);if(_=="variable")return me(ur,fr,De("=>"),se,Qe)}var z=V?Yt:_r;return ve.hasOwnProperty(_)?P(z):_=="function"?P(Mr,z):_=="class"||E&&D=="interface"?(X.marked="keyword",P(we("form"),Mo,$e)):_=="keyword c"||_=="async"?P(V?Ot:Oe):_=="("?P(we(")"),gr,De(")"),$e,z):_=="operator"||_=="spread"?P(V?Ot:Oe):_=="["?P(we("]"),xt,$e,z):_=="{"?vn(xr,"}",null,z):_=="quasi"?me(gn,z):_=="new"?P(Ci(V)):P()}function gr(_){return _.match(/[;\}\)\],]/)?me():me(Oe)}function _r(_,D){return _==","?P(gr):Yt(_,D,!1)}function Yt(_,D,V){var se=V==!1?_r:Yt,z=V==!1?Oe:Ot;if(_=="=>")return P(ur,V?tr:Ue,Qe);if(_=="operator")return/\+\+|--/.test(D)||E&&D=="!"?P(se):E&&D=="<"&&X.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?P(we(">"),Ct(Re,">"),$e,se):D=="?"?P(Oe,De(":"),z):P(z);if(_=="quasi")return me(gn,se);if(_!=";"){if(_=="(")return vn(Ot,")","call",se);if(_==".")return P(Ua,se);if(_=="[")return P(we("]"),gr,De("]"),$e,se);if(E&&D=="as")return X.marked="keyword",P(Re,se);if(_=="regexp")return X.state.lastType=X.marked="operator",X.stream.backUp(X.stream.pos-X.stream.start-1),P(z)}}function gn(_,D){return _!="quasi"?me():D.slice(D.length-2)!="${"?P(gn):P(gr,Wa)}function Wa(_){if(_=="}")return X.marked="string-2",X.state.tokenize=ne,P(gn)}function Ue(_){return xe(X.stream,X.state),me(_=="{"?We:Oe)}function tr(_){return xe(X.stream,X.state),me(_=="{"?We:Ot)}function Ci(_){return function(D){return D=="."?P(_?Do:_i):D=="variable"&&E?P(vr,_?Yt:_r):me(_?Ot:Oe)}}function _i(_,D){if(D=="target")return X.marked="keyword",P(_r)}function Do(_,D){if(D=="target")return X.marked="keyword",P(Yt)}function xi(_){return _==":"?P($e,We):me(_r,De(";"),$e)}function Ua(_){if(_=="variable")return X.marked="property",P()}function xr(_,D){if(_=="async")return X.marked="property",P(xr);if(_=="variable"||X.style=="keyword"){if(X.marked="property",D=="get"||D=="set")return P(Mn);var V;return E&&X.state.fatArrowAt==X.stream.start&&(V=X.stream.match(/^\s*:\s*/,!1))&&(X.state.fatArrowAt=X.stream.pos+V[0].length),P(Gr)}else{if(_=="number"||_=="string")return X.marked=x?"property":X.style+" property",P(Gr);if(_=="jsonld-keyword")return P(Gr);if(E&&nt(D))return X.marked="keyword",P(xr);if(_=="[")return P(Oe,mn,De("]"),Gr);if(_=="spread")return P(Ot,Gr);if(D=="*")return X.marked="keyword",P(xr);if(_==":")return me(Gr)}}function Mn(_){return _!="variable"?me(Gr):(X.marked="property",P(Mr))}function Gr(_){if(_==":")return P(Ot);if(_=="(")return me(Mr)}function Ct(_,D,V){function se(z,ce){if(V?V.indexOf(z)>-1:z==","){var qe=X.state.lexical;return qe.info=="call"&&(qe.pos=(qe.pos||0)+1),P(function(Wt,ir){return Wt==D||ir==D?me():me(_)},se)}return z==D||ce==D?P():V&&V.indexOf(";")>-1?me(_):P(De(D))}return function(z,ce){return z==D||ce==D?P():me(_,se)}}function vn(_,D,V){for(var se=3;se"),Re);if(_=="quasi")return me(Jt,Pr)}function ko(_){if(_=="=>")return P(Re)}function Te(_){return _.match(/[\}\)\]]/)?P():_==","||_==";"?P(Te):me(Nn,Te)}function Nn(_,D){if(_=="variable"||X.style=="keyword")return X.marked="property",P(Nn);if(D=="?"||_=="number"||_=="string")return P(Nn);if(_==":")return P(Re);if(_=="[")return P(De("variable"),In,De("]"),Nn);if(_=="(")return me(Xn,Nn);if(!_.match(/[;\}\)\],]/))return P()}function Jt(_,D){return _!="quasi"?me():D.slice(D.length-2)!="${"?P(Jt):P(Re,ft)}function ft(_){if(_=="}")return X.marked="string-2",X.state.tokenize=ne,P(Jt)}function _t(_,D){return _=="variable"&&X.stream.match(/^\s*[?:]/,!1)||D=="?"?P(_t):_==":"?P(Re):_=="spread"?P(_t):me(Re)}function Pr(_,D){if(D=="<")return P(we(">"),Ct(Re,">"),$e,Pr);if(D=="|"||_=="."||D=="&")return P(Re);if(_=="[")return P(Re,De("]"),Pr);if(D=="extends"||D=="implements")return X.marked="keyword",P(Re);if(D=="?")return P(Re,De(":"),Re)}function vr(_,D){if(D=="<")return P(we(">"),Ct(Re,">"),$e,Pr)}function qr(){return me(Re,Zt)}function Zt(_,D){if(D=="=")return P(Re)}function Ji(_,D){return D=="enum"?(X.marked="keyword",P(be)):me(fr,mn,Vr,Ha)}function fr(_,D){if(E&&nt(D))return X.marked="keyword",P(fr);if(_=="variable")return vt(D),P();if(_=="spread")return P(fr);if(_=="[")return vn(Si,"]");if(_=="{")return vn(Jn,"}")}function Jn(_,D){return _=="variable"&&!X.stream.match(/^\s*:/,!1)?(vt(D),P(Vr)):(_=="variable"&&(X.marked="property"),_=="spread"?P(fr):_=="}"?me():_=="["?P(Oe,De("]"),De(":"),Jn):P(De(":"),fr,Vr))}function Si(){return me(fr,Vr)}function Vr(_,D){if(D=="=")return P(Ot)}function Ha(_){if(_==",")return P(Ji)}function Zi(_,D){if(_=="keyword b"&&D=="else")return P(we("form","else"),We,$e)}function Lo(_,D){if(D=="await")return P(Lo);if(_=="(")return P(we(")"),za,$e)}function za(_){return _=="var"?P(Ji,Zn):_=="variable"?P(Zn):me(Zn)}function Zn(_,D){return _==")"?P():_==";"?P(Zn):D=="in"||D=="of"?(X.marked="keyword",P(Oe,Zn)):me(Oe,Zn)}function Mr(_,D){if(D=="*")return X.marked="keyword",P(Mr);if(_=="variable")return vt(D),P(Mr);if(_=="(")return P(ur,we(")"),Ct(Kr,")"),$e,yn,We,Qe);if(E&&D=="<")return P(we(">"),Ct(qr,">"),$e,Mr)}function Xn(_,D){if(D=="*")return X.marked="keyword",P(Xn);if(_=="variable")return vt(D),P(Xn);if(_=="(")return P(ur,we(")"),Ct(Kr,")"),$e,yn,Qe);if(E&&D=="<")return P(we(">"),Ct(qr,">"),$e,Xn)}function Po(_,D){if(_=="keyword"||_=="variable")return X.marked="type",P(Po);if(D=="<")return P(we(">"),Ct(qr,">"),$e)}function Kr(_,D){return D=="@"&&P(Oe,Kr),_=="spread"?P(Kr):E&&nt(D)?(X.marked="keyword",P(Kr)):E&&_=="this"?P(mn,Vr):me(fr,mn,Vr)}function Mo(_,D){return _=="variable"?Xi(_,D):Yr(_,D)}function Xi(_,D){if(_=="variable")return vt(D),P(Yr)}function Yr(_,D){if(D=="<")return P(we(">"),Ct(qr,">"),$e,Yr);if(D=="extends"||D=="implements"||E&&_==",")return D=="implements"&&(X.marked="keyword"),P(E?Re:Oe,Yr);if(_=="{")return P(we("}"),Jr,$e)}function Jr(_,D){if(_=="async"||_=="variable"&&(D=="static"||D=="get"||D=="set"||E&&nt(D))&&X.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1))return X.marked="keyword",P(Jr);if(_=="variable"||X.style=="keyword")return X.marked="property",P(Ti,Jr);if(_=="number"||_=="string")return P(Ti,Jr);if(_=="[")return P(Oe,mn,De("]"),Ti,Jr);if(D=="*")return X.marked="keyword",P(Jr);if(E&&_=="(")return me(Xn,Jr);if(_==";"||_==",")return P(Jr);if(_=="}")return P();if(D=="@")return P(Oe,Jr)}function Ti(_,D){if(D=="!"||D=="?")return P(Ti);if(_==":")return P(Re,Vr);if(D=="=")return P(Ot);var V=X.state.lexical.prev,se=V&&V.info=="interface";return me(se?Xn:Mr)}function Qi(_,D){return D=="*"?(X.marked="keyword",P(ra,De(";"))):D=="default"?(X.marked="keyword",P(Oe,De(";"))):_=="{"?P(Ct(ea,"}"),ra,De(";")):me(We)}function ea(_,D){if(D=="as")return X.marked="keyword",P(De("variable"));if(_=="variable")return me(Ot,ea)}function Zr(_){return _=="string"?P():_=="("?me(Oe):_=="."?me(_r):me(ta,Sr,ra)}function ta(_,D){return _=="{"?vn(ta,"}"):(_=="variable"&&vt(D),D=="*"&&(X.marked="keyword"),P(Ga))}function Sr(_){if(_==",")return P(ta,Sr)}function Ga(_,D){if(D=="as")return X.marked="keyword",P(ta)}function ra(_,D){if(D=="from")return X.marked="keyword",P(Oe)}function xt(_){return _=="]"?P():me(Ct(Ot,"]"))}function be(){return me(we("form"),fr,De("{"),we("}"),Ct(bn,"}"),$e,$e)}function bn(){return me(fr,Vr)}function na(_,D){return _.lastType=="operator"||_.lastType==","||Y.test(D.charAt(0))||/[,.]/.test(D.charAt(0))}function Tr(_,D,V){return D.tokenize==B&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(D.lastType)||D.lastType=="quasi"&&/\{\s*$/.test(_.string.slice(0,_.pos-(V||0)))}return{startState:function(_){var D={tokenize:B,lastType:"sof",cc:[],lexical:new He((_||0)-y,0,"block",!1),localVars:h.localVars,context:h.localVars&&new mt(null,null,!1),indented:_||0};return h.globalVars&&typeof h.globalVars=="object"&&(D.globalVars=h.globalVars),D},token:function(_,D){if(_.sol()&&(D.lexical.hasOwnProperty("align")||(D.lexical.align=!1),D.indented=_.indentation(),xe(_,D)),D.tokenize!=J&&_.eatSpace())return null;var V=D.tokenize(_,D);return ie=="comment"?V:(D.lastType=ie=="operator"&&(re=="++"||re=="--")?"incdec":ie,gt(D,V,ie,re,_))},indent:function(_,D){if(_.tokenize==J||_.tokenize==ne)return a.Pass;if(_.tokenize!=B)return 0;var V=D&&D.charAt(0),se=_.lexical,z;if(!/^\s*else\b/.test(D))for(var ce=_.cc.length-1;ce>=0;--ce){var qe=_.cc[ce];if(qe==$e)se=se.prev;else if(qe!=Zi&&qe!=Qe)break}for(;(se.type=="stat"||se.type=="form")&&(V=="}"||(z=_.cc[_.cc.length-1])&&(z==_r||z==Yt)&&!/^[,\.=+\-*:?[\(]/.test(D));)se=se.prev;S&&se.type==")"&&se.prev.type=="stat"&&(se=se.prev);var Wt=se.type,ir=V==Wt;return Wt=="vardef"?se.indented+(_.lastType=="operator"||_.lastType==","?se.info.length+1:0):Wt=="form"&&V=="{"?se.indented:Wt=="form"?se.indented+y:Wt=="stat"?se.indented+(na(_,D)?S||y:0):se.info=="switch"&&!ir&&h.doubleIndentSwitch!=!1?se.indented+(/^(?:case|default)\b/.test(D)?y:2*y):se.align?se.column+(ir?0:1):se.indented+(ir?0:y)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:A?null:"/*",blockCommentEnd:A?null:"*/",blockCommentContinue:A?null:" * ",lineComment:A?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:A?"json":"javascript",jsonldMode:x,jsonMode:A,expressionAllowed:Tr,skipExpression:function(_){gt(_,"atom","atom","true",new a.StringStream("",2,null))}}}),a.registerHelper("wordChars","javascript",/[\w$]/),a.defineMIME("text/javascript","javascript"),a.defineMIME("text/ecmascript","javascript"),a.defineMIME("application/javascript","javascript"),a.defineMIME("application/x-javascript","javascript"),a.defineMIME("application/ecmascript","javascript"),a.defineMIME("application/json",{name:"javascript",json:!0}),a.defineMIME("application/x-json",{name:"javascript",json:!0}),a.defineMIME("application/manifest+json",{name:"javascript",json:!0}),a.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),a.defineMIME("text/typescript",{name:"javascript",typescript:!0}),a.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var Ms={exports:{}};(function(r,u){const a=["ActionSheetConfig","AlertConfig","AnchorConfig","AutoCompleteConfig","CalendarConfig","CascaderConfig","ColorPickerConfig","DatePickerConfig","DateTimePickerConfig","DescriptionsConfig","DialogConfig","DrawerConfig","DropdownMenuConfig","EmptyConfig","FormConfig","GuideConfig","ImageConfig","QRCodeConfig","ImageViewerConfig","InputConfig","ListConfig","MessageConfig","PaginationConfig","PickerConfig","PopconfirmConfig","PullDownRefreshConfig","RateConfig","SelectConfig","StepsConfig","TabBarConfig","TagConfig","TableConfig","TimePickerConfig","TreeConfig","TreeSelectConfig","TransferConfig","TypographyConfig","UploadConfig","UploadConfigDragger","UploadConfigFile","UploadConfigFileList","UploadConfigImage","UploadConfigProgress"].sort((Q,ae)=>Q.localeCompare(ae)),c=["Message","MessageOptions","$Message","$Message.info","$Message.error","$Message.warning","$Message.success","$Message.loading","$Message.question","$Message.close","$Message.closeAll","$Message.config"],h=["Notification","NotificationOptions","$Notification","$Notification.info","$Notification.warning","$Notification.error","$Notification.success","$Notification.close","$Notification.closeAll","$Notification.config"],y=["Table","TableCol","BaseTable","BaseTableCol","PrimaryTable","PrimaryTableCol","EnhancedTable","EnhancedTableCol","TableRowState","TableColumnFilter","TableColumnController","TableEditableCellConfig","TableTreeConfig"],S=["ConfigProvider","GlobalConfigProvider"].concat(a),x=["Vue(Mobile)","React(Mobile)","Miniprogram","UniApp"],A={Avatar:["Avatar","AvatarGroup"],Checkbox:["Checkbox","CheckboxGroup"],Cell:["Cell","CellGroup"],Radio:["Radio","RadioGroup"],Anchor:["Anchor","AnchorItem","AnchorTarget"],Descriptions:["Descriptions","DescriptionsItem"],Tabs:["Tabs","TabPanel"],TabBar:["TabBar","TabBarItem"],Pagination:["Pagination","PaginationMini"],Form:["Form","FormItem","FormList","FormRule","FormErrorMessage"],Breadcrumb:["Breadcrumb","BreadcrumbItem"],Message:c,Notification:h,Layout:{list:["Layout","Header","Aside","Content","Footer"],includes:["Vue(PC)","VueNext(PC)","React(PC)","Angular(PC)"]},Col:{list:["Col","Row"],includes:["Miniprogram","UniApp"]},Grid:[{list:["Grid","Row","Col"],includes:["Vue(PC)","VueNext(PC)","React(PC)","Angular(PC)"]}],Icon:["Icon","IconSVG","IconFont"],Select:["Select","Option","OptionGroup","TScroll"],Tag:["Tag","CheckTag","CheckTagGroup"],Collapse:["Collapse","CollapsePanel"],Dropdown:{list:["Dropdown","DropdownItem"],includes:["Vue(PC)","VueNext(PC)","React(PC)","Angular(PC)"]},DropdownMenu:["DropdownMenu","DropdownItem"],Dialog:["DialogCard","Dialog","DialogOptions","DialogInstance","$Dialog","$Dialog.confirm","$Dialog.alert"],Drawer:["Drawer","DrawerOptions","DrawerInstance","$Drawer"],Table:y.concat("TScroll"),Tree:["Tree","TreeNodeState","TreeNodeModel","TScroll"],Breadcrumb:["Breadcrumb","BreadcrumbItem"],Steps:["Steps","StepItem"],Calendar:["Calendar","CalendarController","CalendarCell"],Menu:["Menu","HeadMenu","Submenu","MenuItem","MenuGroup"],Loading:["Loading","$Loading"],Upload:{list:["Upload","UploadFile"],excludes:["Miniprogram","UniApp"]},List:["List","ListItem","ListItemMeta"],Picker:{list:["Picker","PickerItem"],includes:["Miniprogram","UniApp"]},TimePicker:["TimePicker","TimeRangePicker","TimePickerPanel","TimeRangePickerPanel"],DateTimePicker:["DateTimePicker"],DatePicker:["DatePicker","DateRangePicker","DatePickerPanel","DateRangePickerPanel"],Swiper:{list:["Swiper","SwiperItem","SwiperNavigation"]},StickyTool:["StickyTool","StickyItem"],ConfigProvider:S,RangeInput:["RangeInput","RangeInputPopup"],Input:["Input","InputGroup"],Watermark:["Watermark","WatermarkText","WatermarkImage"],Timeline:["Timeline","TimelineItem"],Guide:["Guide","GuideStep"],Tooltip:["Tooltip","TooltipLite"],SideBar:["SideBar","SideBarItem"],Indexes:{list:["Indexes","IndexesAnchor"]},Popup:["Popup","$Popup"],Typography:["Typography","Text","Title","Paragraph","TypographyEllipsis","TypographyCopyable"],Toast:{list:["Toast","ToastOptions"],includes:["Vue(Mobile)","React(Mobile)"]},Chat:["Chat","ChatLoading","ChatItem","ChatContent","ChatAction","ChatInput","ChatSender","ChatReasoning"],ColorPicker:{list:["ColorPicker","ColorPickerPanel"],includes:["Vue(PC)","VueNext(PC)","React(PC)","Angular(PC)"]}},k={Layout:{list:["Layout","Row","Col"]},Grid:{list:["Grid","GridItem"]},List:["List"]},E={Swiper:{list:["Swiper","SwiperNav"],includes:["Miniprogram","UniApp"]}},U={Avatar:{list:["Avatar","AvatarGroup"],excludes:["Miniprogram","UniApp"]},Checkbox:{list:["Checkbox","CheckboxGroup"],excludes:["Miniprogram","UniApp"]},Cell:{list:["Cell","CellGroup"],excludes:["Miniprogram","UniApp"]},Radio:{list:["Radio","RadioGroup"],excludes:["Miniprogram","UniApp"]},Message:{list:c},Notification:{list:h},Form:{list:["Form","FormItem","FormList","FormRule","FormErrorMessage"],excludes:["Miniprogram","UniApp"]},Select:{list:["Select","Option","OptionGroup"]},Tabs:{list:["Tabs","TabPanel"],excludes:["Miniprogram","UniApp"]},TabBar:{list:["TabBar","TabBarItem"],excludes:["Miniprogram","UniApp"]},Pagination:{list:["Pagination","PaginationMini"]},Tag:{list:["Tag","CheckTag","CheckTagGroup"],excludes:["Miniprogram","UniApp"]},Collapse:{list:["Collapse","CollapsePanel"],excludes:["Miniprogram","UniApp"]},Grid:[{list:["Grid","Row","Col"],includes:["Vue(PC)","VueNext(PC)","React(PC)","Angular(PC)"]}],Layout:{list:["Layout","Header","Aside","Content","Footer"],includes:["Vue(PC)","VueNext(PC)","React(PC)","Angular(PC)"]},Dropdown:{list:["Dropdown","DropdownItem"],includes:["Vue(PC)","VueNext(PC)","React(PC)","Angular(PC)"]},DropdownMenu:{list:["DropdownMenu","DropdownItem"],excludes:["Miniprogram","UniApp"]},Dialog:{list:["DialogCard","Dialog","DialogOptions","DialogInstance","$Dialog","$Dialog.confirm","$Dialog.alert"]},Drawer:{list:["Drawer","DrawerOptions","DrawerInstance","$Drawer"]},Tree:{list:["Tree","TreeNodeState","TreeNodeModel"]},Breadcrumb:{list:["Breadcrumb","BreadcrumbItem"]},Steps:{list:["Steps","StepItem"],excludes:["Miniprogram","UniApp"]},Calendar:{list:["Calendar","CalendarController","CalendarCell"]},Descriptions:{list:["Descriptions","DescriptionsItem"]},Menu:{list:["Menu","HeadMenu","Submenu","MenuItem","MenuGroup"]},Loading:{list:["Loading","$Loading"]},Upload:{list:["Upload","UploadFile"],excludes:["Miniprogram","UniApp"]},List:{list:["List","ListItem","ListItemMeta"]},Picker:{list:["Picker","PickerItem"],excludes:["Miniprogram","UniApp"]},TimePicker:{list:["TimePicker","TimeRangePicker","TimePickerPanel","TimeRangePickerPanel"]},DateTimePicker:{list:["DateTimePicker"]},DatePicker:{list:["DatePicker","DateRangePicker","DatePickerPanel","DateRangePickerPanel"]},Swiper:{list:["Swiper","SwiperItem","SwiperNavigation"]},Table:{list:y},Icon:{list:["Icon","IconFont","IconSVG"]},Anchor:{list:["AnchorTarget","AnchorItem"]},StickyTool:{list:["StickyTool","StickyItem"]},ConfigProvider:{list:S},RangeInput:{list:["RangeInput","RangeInputPopup"]},Input:{list:["Input","InputGroup"]},Watermark:{list:["Watermark","WatermarkText","WatermarkImage"]},Timeline:{list:["Timeline","TimelineItem"]},Guide:{list:["Guide","GuideStep"]},Tooltip:{list:["Tooltip","TooltipLite"]},SideBar:{list:["SideBar","SideBarItem"],excludes:["Miniprogram","UniApp"]},Indexes:{list:["Indexes","IndexesAnchor"],excludes:["Miniprogram","UniApp"]},Typography:{list:["Typography","Text","Title","Paragraph","TypographyEllipsis","TypographyCopyable"]},Toast:{list:["Toast","ToastOptions"],includes:["Vue(Mobile)","React(Mobile)"]},Chat:["Chat","ChatLoading","ChatItem","ChatContent","ChatAction","ChatInput","ChatSender","ChatReasoning"]},H={Layout:{list:["Layout","Row","Col"],excludes:["Miniprogram","UniApp"]},Grid:{list:["Grid","GridItem"],excludes:["Miniprogram","UniApp"]},List:["List"]},Y={Swiper:{list:["Swiper","SwiperNav"],excludes:["Miniprogram"]},Form:{list:["Form","FormList","FormRule","FormErrorMessage"],includes:["Miniprogram","UniApp"]}};u.GLOBAL_COMPONENTS_CONFIG=a,u.COMPONENT_API_MD_MAP=A,u.TYPES_COMBINE_MAP=U,u.default={COMPONENT_API_MD_MAP:A,MOBILE_COMPONENT_API_MD_MAP:k,TYPES_COMBINE_MAP:U,MOBILE_TYPES_COMBINE_MAP:H,GLOBAL_COMPONENTS_CONFIG:a,MINIPROGRAM_COMPONENT_API_MD_MAP:E,MINIPROGRAM_TYPES_COMBINE_MAP:Y,MOBILE_FRAMES:x},r.exports={COMPONENT_API_MD_MAP:A,MOBILE_COMPONENT_API_MD_MAP:k,TYPES_COMBINE_MAP:U,MOBILE_TYPES_COMBINE_MAP:H,GLOBAL_COMPONENTS_CONFIG:a,MINIPROGRAM_COMPONENT_API_MD_MAP:E,MINIPROGRAM_TYPES_COMBINE_MAP:Y,MOBILE_FRAMES:x},Object.defineProperty(u,"__esModule",{value:!0})})(Ms,Ms.exports);var h1=typeof dn=="object"&&dn&&dn.Object===Object&&dn,Cg=h1,g1=Cg,v1=typeof self=="object"&&self&&self.Object===Object&&self,m1=g1||v1||Function("return this")(),bi=m1,y1=bi,b1=y1.Symbol,ru=b1;function C1(r,u){for(var a=-1,c=r==null?0:r.length,h=Array(c);++ah?0:h+u),a=a>h?h:a,a<0&&(a+=h),h=u>a?0:a-u>>>0,u>>>=0;for(var y=Array(h);++c=c?r:J1(r,u,a)}var X1=Z1,Q1="\\ud800-\\udfff",eC="\\u0300-\\u036f",tC="\\ufe20-\\ufe2f",rC="\\u20d0-\\u20ff",nC=eC+tC+rC,iC="\\ufe0e\\ufe0f",aC="\\u200d",oC=RegExp("["+aC+Q1+nC+iC+"]");function sC(r){return oC.test(r)}var Sg=sC;function lC(r){return r.split("")}var uC=lC,Tg="\\ud800-\\udfff",fC="\\u0300-\\u036f",cC="\\ufe20-\\ufe2f",pC="\\u20d0-\\u20ff",dC=fC+cC+pC,hC="\\ufe0e\\ufe0f",gC="["+Tg+"]",up="["+dC+"]",fp="\\ud83c[\\udffb-\\udfff]",vC="(?:"+up+"|"+fp+")",wg="[^"+Tg+"]",$g="(?:\\ud83c[\\udde6-\\uddff]){2}",Ag="[\\ud800-\\udbff][\\udc00-\\udfff]",mC="\\u200d",Eg=vC+"?",Og="["+hC+"]?",yC="(?:"+mC+"(?:"+[wg,$g,Ag].join("|")+")"+Og+Eg+")*",bC=Og+Eg+yC,CC="(?:"+[wg+up+"?",up,$g,Ag,gC].join("|")+")",_C=RegExp(fp+"(?="+fp+")|"+CC+bC,"g");function xC(r){return r.match(_C)||[]}var SC=xC,TC=uC,wC=Sg,$C=SC;function AC(r){return wC(r)?$C(r):TC(r)}var EC=AC,OC=X1,DC=Sg,kC=EC,LC=iu;function PC(r){return function(u){u=LC(u);var a=DC(u)?kC(u):void 0,c=a?a[0]:u.charAt(0),h=a?OC(a,1).join(""):u.slice(1);return c[r]()+h}}var MC=PC,IC=MC,NC=IC("toUpperCase"),Ip=NC,RC=iu,FC=Ip;function BC(r){return FC(RC(r).toLowerCase())}var WC=BC;function UC(r,u,a,c){var h=-1,y=r==null?0:r.length;for(c&&y&&(a=r[++h]);++h{const h=u[c];h instanceof Array?a[c]=h:typeof h=="object"?(!h.includes&&!h.excludes||h.includes&&h.includes.includes(r)||h.excludes&&!h.excludes.includes(r)||!r)&&(a[c]=h.list):console.warn("COMPONENT_API_MD_MAP \u6570\u636E\u7ED3\u6784\u4E0D\u5BF9\uFF0C\u53EA\u80FD\u662F Array \u6216\u8005 Object \u7C7B\u578B")}),a}function Z_(r,u=Ms.exports.TYPES_COMBINE_MAP){const a={},c=zg(r,u);return Object.keys(c).forEach(h=>{c[h].forEach(y=>{a[y]=h})}),a}function Gg(r,u=Ms.exports.TYPES_COMBINE_MAP){const a={},c=zg(r,u);return Object.keys(c).forEach(h=>{const y=c[h];y.forEach(S=>{a[S]=y})}),a}function zr(r,u=void 0){if(typeof r=="object")return r;try{return JSON.parse(r)}catch{return u}}function X_(r){return`on${Ip(Np(r))}`}function Q_(r){if(document.querySelector(`script[src="${r}"]`))return Promise.resolve();const a=document.createElement("script");return a.src=r,document.body.appendChild(a),new Promise(c=>{a.onload=()=>{c()}})}var Rp={exports:{}},qg=function(u,a){return function(){for(var h=new Array(arguments.length),y=0;y=0)return;c==="set-cookie"?a[c]=(a[c]?a[c]:[]).concat([h]):a[c]=a[c]?a[c]+", "+h:h}}),a},Jd=hn,Mx=Jd.isStandardBrowserEnv()?function(){var u=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a"),c;function h(y){var S=y;return u&&(a.setAttribute("href",S),S=a.href),a.setAttribute("href",S),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:a.pathname.charAt(0)==="/"?a.pathname:"/"+a.pathname}}return c=h(window.location.href),function(S){var x=Jd.isString(S)?h(S):S;return x.protocol===c.protocol&&x.host===c.host}}():function(){return function(){return!0}}(),ws=hn,Ix=wx,Nx=$x,Rx=Yg,Fx=kx,Bx=Px,Wx=Mx,ep=Zg,Zd=function(u){return new Promise(function(c,h){var y=u.data,S=u.headers;ws.isFormData(y)&&delete S["Content-Type"],(ws.isBlob(y)||ws.isFile(y))&&y.type&&delete S["Content-Type"];var x=new XMLHttpRequest;if(u.auth){var A=u.auth.username||"",k=unescape(encodeURIComponent(u.auth.password))||"";S.Authorization="Basic "+btoa(A+":"+k)}var E=Fx(u.baseURL,u.url);if(x.open(u.method.toUpperCase(),Rx(E,u.params,u.paramsSerializer),!0),x.timeout=u.timeout,x.onreadystatechange=function(){if(!(!x||x.readyState!==4)&&!(x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0))){var Y="getAllResponseHeaders"in x?Bx(x.getAllResponseHeaders()):null,Q=!u.responseType||u.responseType==="text"?x.responseText:x.response,ae={data:Q,status:x.status,statusText:x.statusText,headers:Y,config:u,request:x};Ix(c,h,ae),x=null}},x.onabort=function(){!x||(h(ep("Request aborted",u,"ECONNABORTED",x)),x=null)},x.onerror=function(){h(ep("Network Error",u,null,x)),x=null},x.ontimeout=function(){var Y="timeout of "+u.timeout+"ms exceeded";u.timeoutErrorMessage&&(Y=u.timeoutErrorMessage),h(ep(Y,u,"ECONNABORTED",x)),x=null},ws.isStandardBrowserEnv()){var U=(u.withCredentials||Wx(E))&&u.xsrfCookieName?Nx.read(u.xsrfCookieName):void 0;U&&(S[u.xsrfHeaderName]=U)}if("setRequestHeader"in x&&ws.forEach(S,function(Y,Q){typeof y=="undefined"&&Q.toLowerCase()==="content-type"?delete S[Q]:x.setRequestHeader(Q,Y)}),ws.isUndefined(u.withCredentials)||(x.withCredentials=!!u.withCredentials),u.responseType)try{x.responseType=u.responseType}catch(H){if(u.responseType!=="json")throw H}typeof u.onDownloadProgress=="function"&&x.addEventListener("progress",u.onDownloadProgress),typeof u.onUploadProgress=="function"&&x.upload&&x.upload.addEventListener("progress",u.onUploadProgress),u.cancelToken&&u.cancelToken.promise.then(function(Y){!x||(x.abort(),h(Y),x=null)}),y||(y=null),x.send(y)})},Hr=hn,Xd=_x,Ux={"Content-Type":"application/x-www-form-urlencoded"};function Qd(r,u){!Hr.isUndefined(r)&&Hr.isUndefined(r["Content-Type"])&&(r["Content-Type"]=u)}function jx(){var r;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(r=Zd),r}var Wf={adapter:jx(),transformRequest:[function(u,a){return Xd(a,"Accept"),Xd(a,"Content-Type"),Hr.isFormData(u)||Hr.isArrayBuffer(u)||Hr.isBuffer(u)||Hr.isStream(u)||Hr.isFile(u)||Hr.isBlob(u)?u:Hr.isArrayBufferView(u)?u.buffer:Hr.isURLSearchParams(u)?(Qd(a,"application/x-www-form-urlencoded;charset=utf-8"),u.toString()):Hr.isObject(u)?(Qd(a,"application/json;charset=utf-8"),JSON.stringify(u)):u}],transformResponse:[function(u){if(typeof u=="string")try{u=JSON.parse(u)}catch{}return u}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(u){return u>=200&&u<300}};Wf.headers={common:{Accept:"application/json, text/plain, */*"}};Hr.forEach(["delete","get","head"],function(u){Wf.headers[u]={}});Hr.forEach(["post","put","patch"],function(u){Wf.headers[u]=Hr.merge(Ux)});var Xg=Wf,eh=hn,tp=bx,Hx=Jg,zx=Xg;function rp(r){r.cancelToken&&r.cancelToken.throwIfRequested()}var Gx=function(u){rp(u),u.headers=u.headers||{},u.data=tp(u.data,u.headers,u.transformRequest),u.headers=eh.merge(u.headers.common||{},u.headers[u.method]||{},u.headers),eh.forEach(["delete","get","head","post","put","patch","common"],function(h){delete u.headers[h]});var a=u.adapter||zx.adapter;return a(u).then(function(h){return rp(u),h.data=tp(h.data,h.headers,u.transformResponse),h},function(h){return Hx(h)||(rp(u),h&&h.response&&(h.response.data=tp(h.response.data,h.response.headers,u.transformResponse))),Promise.reject(h)})},br=hn,Qg=function(u,a){a=a||{};var c={},h=["url","method","data"],y=["headers","auth","proxy","params"],S=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],x=["validateStatus"];function A(H,Y){return br.isPlainObject(H)&&br.isPlainObject(Y)?br.merge(H,Y):br.isPlainObject(Y)?br.merge({},Y):br.isArray(Y)?Y.slice():Y}function k(H){br.isUndefined(a[H])?br.isUndefined(u[H])||(c[H]=A(void 0,u[H])):c[H]=A(u[H],a[H])}br.forEach(h,function(Y){br.isUndefined(a[Y])||(c[Y]=A(void 0,a[Y]))}),br.forEach(y,k),br.forEach(S,function(Y){br.isUndefined(a[Y])?br.isUndefined(u[Y])||(c[Y]=A(void 0,u[Y])):c[Y]=A(void 0,a[Y])}),br.forEach(x,function(Y){Y in a?c[Y]=A(u[Y],a[Y]):Y in u&&(c[Y]=A(void 0,u[Y]))});var E=h.concat(y).concat(S).concat(x),U=Object.keys(u).concat(Object.keys(a)).filter(function(Y){return E.indexOf(Y)===-1});return br.forEach(U,k),c},ev=hn,qx=Yg,th=mx,Vx=Gx,Uf=Qg;function au(r){this.defaults=r,this.interceptors={request:new th,response:new th}}au.prototype.request=function(u){typeof u=="string"?(u=arguments[1]||{},u.url=arguments[0]):u=u||{},u=Uf(this.defaults,u),u.method?u.method=u.method.toLowerCase():this.defaults.method?u.method=this.defaults.method.toLowerCase():u.method="get";var a=[Vx,void 0],c=Promise.resolve(u);for(this.interceptors.request.forEach(function(y){a.unshift(y.fulfilled,y.rejected)}),this.interceptors.response.forEach(function(y){a.push(y.fulfilled,y.rejected)});a.length;)c=c.then(a.shift(),a.shift());return c};au.prototype.getUri=function(u){return u=Uf(this.defaults,u),qx(u.url,u.params,u.paramsSerializer).replace(/^\?/,"")};ev.forEach(["delete","get","head","options"],function(u){au.prototype[u]=function(a,c){return this.request(Uf(c||{},{method:u,url:a}))}});ev.forEach(["post","put","patch"],function(u){au.prototype[u]=function(a,c,h){return this.request(Uf(h||{},{method:u,url:a,data:c}))}});var Kx=au;function Wp(r){this.message=r}Wp.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Wp.prototype.__CANCEL__=!0;var tv=Wp,Yx=tv;function Nf(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var u;this.promise=new Promise(function(h){u=h});var a=this;r(function(h){a.reason||(a.reason=new Yx(h),u(a.reason))})}Nf.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};Nf.source=function(){var u,a=new Nf(function(h){u=h});return{token:a,cancel:u}};var Jx=Nf,Zx=function(u){return function(c){return u.apply(null,c)}},rh=hn,Xx=qg,kf=Kx,Qx=Qg,eS=Xg;function rv(r){var u=new kf(r),a=Xx(kf.prototype.request,u);return rh.extend(a,kf.prototype,u),rh.extend(a,u),a}var yi=rv(eS);yi.Axios=kf;yi.create=function(u){return rv(Qx(yi.defaults,u))};yi.Cancel=tv;yi.CancelToken=Jx;yi.isCancel=Jg;yi.all=function(u){return Promise.all(u)};yi.spread=Zx;Rp.exports=yi;Rp.exports.default=yi;var tS=Rp.exports;const Ra=tS.create({baseURL:rS(),headers:{"Access-Control-Allow-Origin":"*"},timeout:1e3});function rS(){return"/"}var nS=function(){var r=this,u=r.$createElement,a=r._self._c||u;return a("div",{staticClass:"API-Preview tdesign-document"},[a("t-table",{attrs:{data:r.list,columns:r.columns,rowKey:"id",tableLayout:"auto",hover:""},scopedSlots:r._u([{key:"component",fn:function(c){var h=c.row,y=h===void 0?{}:h;return[a("div",[a("div",[a("span",{staticStyle:{"padding-right":"8px"}},[r._v(r._s(y.component))]),y.field_category_text?a("t-tag",{attrs:{size:"small",theme:{Props:"primary",Events:"success",Functions:"warning",Return:"default",Extends:"default","":"default"}[y.field_category_text]||"primary",variant:"light"}},[r._v(" "+r._s(y.field_category_text)+" ")]):r._e()],1)])]}},{key:"field_desc_zh",fn:function(c){var h=c.row,y=h===void 0?{}:h;return[a("div",[a("p",[y.deprecated?[r._v("\u5DF2\u5E9F\u5F03\u3002")]:r._e(),y.html_attribute?[r._v("HTML \u539F\u751F\u5C5E\u6027\u3002")]:r._e(),y.field_required?[r._v("\u5FC5\u9700\u3002")]:r._e(),r._v(" "+r._s(y.field_desc_zh)+" ")],2),y.test_description?[a("p",[r._v("Tested\uFF1A "),a("t-space",{attrs:{size:3}},r._l(r.getTested(y.test_description),function(S){return a("t-tag",{key:S,attrs:{variant:"outline",shape:"round",size:"small",theme:"primary"}},[r._v(r._s(S))])}),1)],1)]:r._e(),y.field_enum?[a("p",[r._v("\u53EF\u9009\u503C\uFF1A"+r._s(y.field_enum)+"\u3002")])]:r._e(),y.custom_field_type?[a("p",[r._v("TS \u7C7B\u578B\u5B9A\u4E49\uFF1A"+r._s(y.custom_field_type)+"\u3002")])]:r._e(),y.event_input?[a("p",[r._v(" \u53C2\u6570\uFF1A"+r._s(y.event_input)+" ")])]:r._e(),y.event_output?[a("p",[r._v(" \u8FD4\u56DE\u503C\uFF1A"+r._s(y.event_output)+" ")])]:r._e(),a("p",[y.syntactic_sugar?[r._v(" \u652F\u6301 Vue \u8BED\u6CD5\u7CD6\uFF1A"+r._s(y.syntactic_sugar)+"\u3002 ")]:r._e(),y.support_default_value?[r._v("\u652F\u6301\u975E\u53D7\u63A7\u5C5E\u6027\u3002")]:r._e()],2),a("p",{staticStyle:{"font-size":"12px",color:"#a6a6a6"}},[r._v(" "+r._s(y.platform_framework_text.join(", "))+" ")]),y.version?a("p",{staticStyle:{"font-size":"12px",color:"#a6a6a6"}},[r._v(" \u7248\u672C\u53F7\uFF1A"+r._s(y.version)+" ")]):r._e()],2)]}},{key:"field_type_text",fn:function(c){var h=c.row;return[r._v(" "+r._s(h.field_type_text&&h.field_type_text.join("/"))+" ")]}},{key:"operation",fn:function(c){return[a("div",[a("div",{staticClass:"t-demo-table-btns"},[a("t-button",{attrs:{variant:"text",theme:"primary"},on:{click:function(){return r.onEditClick(c)}}},[r._v("Edit")]),a("t-button",{attrs:{variant:"text",theme:"primary"},on:{click:function(){return r.onTestsEditClick(c)}}},[r._v("Tests")]),a("t-popconfirm",{attrs:{theme:"danger",content:"\u786E\u5B9A\u5220\u9664\u5417\uFF1F",trigger:"click"},on:{confirm:function(){return r.onDeleteConfirm(c)}}},[a("t-button",{staticStyle:{"margin-left":"8px"},attrs:{variant:"text",theme:"danger"}},[r._v("Delete")])],1)],1),a("div",{staticStyle:{"font-size":"12px",color:"#a6a6a6"}},[r._v(" "+r._s(c.row.update_time)+" ")])])]}}])})],1)},iS=[];const aS={name:"ApiList",components:{TTable:r1,TButton:gg,TPopconfirm:n1},props:{list:Array,platformOptions:Array,preview:Boolean},computed:{columns(){return this.getCols()}},watch:{},methods:{getCols(){const r=[{title:"ID",colKey:"id"},{title:"\u7EC4\u4EF6/\u63D2\u4EF6",colKey:"component",fixed:"left",width:200},{title:"\u540D\u79F0",colKey:"field_name"},{title:"\u63CF\u8FF0",colKey:"field_desc_zh"},{title:"\u7C7B\u578B",colKey:"field_type_text"},{title:"\u9ED8\u8BA4\u503C",colKey:"field_default_value",width:90}];return this.preview||r.push({title:"\u64CD\u4F5C",colKey:"operation",fixed:"right"}),r},onCreate(){this.$emit("create-api")},onDeleteConfirm(r){Ra({url:"/cmp/api",method:"delete",data:{id:r.row.id}}).then(()=>{this.$message.info("\u5220\u9664\u6210\u529F\uFF01"),this.$emit("delete-api-success")})},onEditClick(r){this.$emit("click-edit-btn",r)},onTestsEditClick(r){this.$emit("click-test-edit-btn",r)},onCodePreview(r,u){this.$emit("code-preview",r,u)},getTested(r){const u=[];if(!r)return u;const a=zr(r);return a&&(a.PC&&u.push("PC"),a.Mobile&&u.push("Mobile")),u}}},nh={};var oS=Yi(aS,nS,iS,!1,sS,null,null,null);function sS(r){for(let u in nh)this[u]=nh[u]}var lS=function(){return oS.exports}(),uS=function(){var r=this,u=r.$createElement,a=r._self._c||u;return a("div",{staticClass:"tdesign-checkbox-indeterminate"},[a("t-checkbox",{staticClass:"site-check-all",attrs:{checked:r.checkedAll,indeterminate:r.indeterminate},on:{change:r.onCheckedAllChange}},[r._v("\u5168\u90E8")]),a("t-checkbox-group",{attrs:{options:r.options},on:{change:r.onChange},model:{value:r.checkedList,callback:function(c){r.checkedList=c},expression:"checkedList"}})],1)},fS=[];const cS={name:"SiteCheckbox",components:{TCheckbox:vg,TCheckboxGroup:mg},props:{options:Array,value:{}},data(){return{indeterminate:!1,checkedList:[]}},computed:{checkedStr(){return this.checkedList.join()},checkedAll(){const r=this.checkedList,u=this.options?this.options.map(a=>a.value):[];return r.sort().join()===u.sort().join()}},watch:{value:{immediate:!0,handler(r){this.checkedList=r}},checkedStr(){this.$emit("input",this.checkedList)}},methods:{onCheckedAllChange(r){this.indeterminate=!1,this.checkedList=r?this.options.map(u=>u.value):[]},onChange(r){this.indeterminate=!!r.length&&!this.checkedAll}}},ih={};var pS=Yi(cS,uS,fS,!1,dS,null,null,null);function dS(r){for(let u in ih)this[u]=ih[u]}var nv=function(){return pS.exports}(),hS=function(){var r=this,u=r.$createElement,a=r._self._c||u;return a("div",{staticClass:"t-api-tool__multi-operations"},[a("t-button",{attrs:{theme:"primary"},nativeOn:{click:function(c){return r.onCreateApi.apply(null,arguments)}}},[r._v("New API")]),a("t-button",{attrs:{theme:"primary"},nativeOn:{click:function(c){return r.onGenerateDialogShow.apply(null,arguments)}}},[r._v("Generate API Files")]),a("a",{staticClass:"link",attrs:{href:"https://github.com/Tencent/tdesign/wiki/Component-API-Guide",target:"_blank"}},[a("t-button",{staticStyle:{color:"#99999"},attrs:{variant:"text"}},[r._v(" API Design ")])],1),a("t-dialog",{attrs:{header:"\u751F\u6210",width:"830",visible:r.generateFilesVisible},on:{"update:visible":function(c){r.generateFilesVisible=c},confirm:r.onGenerateConfirm}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("form",{staticClass:"t-form api-edit-form",attrs:{onsubmit:"return false"}},[a("div",{staticClass:"t-form-item"},[a("label",[r._v("\u7EC4\u4EF6\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-select",{attrs:{placeholder:"\u8BF7\u9009\u62E9\u7EC4\u4EF6",clearable:"",filterable:"",tips:r.formData.component==="ALL"?r.tips:""},model:{value:r.formData.component,callback:function(c){r.$set(r.formData,"component",c)},expression:"formData.component"}},r._l(r.componentList,function(c,h){return a("t-option",{key:h,attrs:{label:`${c.value} ${c.label}`,value:c.value}})}),1)],1)]),a("div",{staticClass:"t-form-item"},[a("label",{staticStyle:{"vertical-align":"top"}},[r._v("\u6846\u67B6\u5E73\u53F0\uFF1A")]),a("div",{staticClass:"t-form-content platform"},[a("site-checkbox",{attrs:{options:r.frameworkOptions},model:{value:r.formData.platform,callback:function(c){r.$set(r.formData,"platform",c)},expression:"formData.platform"}})],1)]),a("div",{staticClass:"t-form-item"},[a("label",{staticStyle:{"vertical-align":"top"}},[r._v("\u53C2\u6570\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-checkbox",{model:{value:r.formData.finalProject,callback:function(c){r.$set(r.formData,"finalProject",c)},expression:"formData.finalProject"}},[r._v("\u8F93\u51FA\u6587\u4EF6\u5230\u5404\u6846\u67B6\u4ED3\u5E93")]),a("t-tooltip",{attrs:{content:r.paramsTips[0]}},[a("div",{staticClass:"help-icon"},[r._v("?")])]),a("t-checkbox",{model:{value:r.formData.onlyDocs,callback:function(c){r.$set(r.formData,"onlyDocs",c)},expression:"formData.onlyDocs"}},[r._v("\u4EC5\u8F93\u51FA md\u6587\u4EF6")]),a("t-checkbox",{staticStyle:{"margin-right":"20px"},model:{value:r.formData.useDefault,callback:function(c){r.$set(r.formData,"useDefault",c)},expression:"formData.useDefault"}},[r._v("\u8F93\u51FA useDefault/useVModel \u6587\u4EF6(Vue2)")]),a("t-checkbox",{model:{value:r.formData.vitest,callback:function(c){r.$set(r.formData,"vitest",c)},expression:"formData.vitest"}},[r._v("\u8F93\u51FA\u5355\u6D4B\u7528\u4F8B")])],1)]),r.commandLine&&r.commandLine.length?a("div",{staticClass:"t-form-item"},[a("label",[r._v("\u6700\u7EC8\u547D\u4EE4\u884C\uFF1A")]),a("div",{staticClass:"t-form-content",staticStyle:{"vertical-align":"top"}},r._l(r.commandLine,function(c){return a("code",{key:c},[r._v(r._s(c)),a("br")])}),0)]):r._e()])])])],1)},gS=[];const vS={name:"ApiToolOperation",components:{TButton:gg,TSelect:kp,TOption:Lp,SiteCheckbox:nv},props:{map:Object},data(){return{codeType:"",generateFilesVisible:!1,checkedAll:!1,tips:"\u5168\u91CF\u8F93\u51FA\u65F6\u9650\u5236\u4E3A\u53EA\u80FD\u8F93\u51FA\u6587\u6863\uFF0C\u5982\u9700\u8F93\u51FA\u5176\u4ED6\u6587\u4EF6\u8BF7\u9009\u62E9\u5BF9\u5E94\u7EC4\u4EF6",formData:{platform:[],component:"ALL",finalProject:!1},paramsTips:["\u5305\u62EC\uFF1A props.ts\u3001type.ts\u3001md\u6587\u4EF6 \uFF0C\u9ED8\u8BA4\u5404\u7AEF\u6846\u67B6\u4E0E\u5F53\u524D\u9879\u76EE\u5728\u540C\u4E00\u76EE\u5F55\uFF0C\u8DEF\u5F84\u8C03\u6574\u8BF7\u5728\u672C\u5730\u4FEE\u6539 BASE_PATH_URL"]}},computed:{frameworkOptions(){return this.map.platform_framework?[{label:"VueNext(PC)",value:1e3}].concat(this.map.platform_framework):[]},componentList(){return[{label:"\u5168\u90E8",value:"ALL"}].concat(this.map.components).filter(r=>r&&!r.type||["Table"].includes(r==null?void 0:r.value))},commandLine(){if(!this.map||!this.map.platform_framework)return;const r=this.formData.component,u={finalProject:this.formData.finalProject,onlyDocs:this.formData.onlyDocs,useDefault:this.formData.useDefault,vitest:this.formData.vitest,isUseUnitTest:this.formData.isUseUnitTest};r.toLocaleLowerCase()==="all"&&(u.onlyDocs=!0);const a=Object.keys(u).filter(h=>u[h]).join();return this.frameworkOptions.filter(h=>this.formData.platform.includes(h.value)).map(h=>`npm run api:docs ${r} "${h.label}" ${a}`)}},methods:{onCreateApi(){this.$emit("create-dialog-show")},onGenerateDialogShow(){this.generateFilesVisible=!0},onGenerateConfirm(){Ra({method:"post",url:"/cmp/generate-api",data:{commandLines:this.commandLine.map(r=>r.replace("npm run api:docs",""))}}).then(()=>{this.generateFilesVisible=!1})}}},ah={};var mS=Yi(vS,hS,gS,!1,yS,null,null,null);function yS(r){for(let u in ah)this[u]=ah[u]}var bS=function(){return mS.exports}();const dp=1,Lf=2,Pf=4,hp=8,iv=16,av=32,ov=64,CS=256,_S={[dp]:{placeholder:{name:"\u8BF7\u8F93\u5165\u5C5E\u6027\u540D\u79F0\uFF0C\u5982\uFF1Aname/theme/size/disabled"}},[Lf]:{placeholder:{name:"\u4E8B\u4EF6\u540D\u79F0\u5F55\u5165\u65F6\u7EDF\u4E00\u4F7F\u7528\u5C0F\u9A7C\u5CF0\u547D\u540D\uFF0C\u4E14\u4E0D\u5E26on\uFF0C\u5982\uFF1AvisibleChange",inputParams:"\u4E8B\u4EF6\u53C2\u6570\uFF0C\u5982\uFF1A(context: { e: Event, value: string | number })",descZh:"\u8BF7\u8F93\u5165\u4E8B\u4EF6\u63CF\u8FF0\uFF08\u4E2D\u6587\uFF09\uFF0C\u5982\uFF1A\u70B9\u51FB\u786E\u8BA4\u6309\u94AE\u65F6\u89E6\u53D1",descEn:"type event description in English",triggerElements:"\u4E8B\u4EF6\u89E6\u53D1\u5143\u7D20\u63CF\u8FF0\uFF0C\u9ED8\u8BA4\u4E3A MouseEvent"}},[Pf]:{placeholder:{name:"\u7EC4\u4EF6\u5BF9\u5916\u66B4\u9732\u7684\u65B9\u6CD5\u540D\u79F0",inputParams:"\u65B9\u6CD5\u53C2\u6570\uFF0C\u5982\uFF1A(validateRules: RulesObject)",outputParams:"\u65B9\u6CD5\u8FD4\u56DE\u503C\uFF0C\u5982\uFF1A(validateResult: boolean)",descZh:"\u8F93\u5165\u65B9\u6CD5\u63CF\u8FF0\uFF0C\u5982\uFF1A\u4F7F\u7528\u8BE5\u65B9\u6CD5\u8FDB\u884C\u8868\u5355\u6821\u9A8C",descEn:"type function description in English"}},[hp]:{placeholder:{name:"\u7EC4\u4EF6\u63D2\u4EF6\u540D\u79F0\uFF0C\u5982\uFF1Athis.$message.info",inputParams:"\u63D2\u4EF6\u53C2\u6570\uFF0C\u5982\uFF1A(options) => {}",outputParams:"\u63D2\u4EF6\u8FD4\u56DE\u503C\uFF0C\u5982\uFF1A(options) => Promise",descZh:"\u63D2\u4EF6\u63CF\u8FF0\uFF0C\u5982\uFF1A\u4F7F\u7528\u8BE5\u63D2\u4EF6\u5F39\u51FA\u4FE1\u606F\u63D0\u9192",descEn:"type plugin description in English"}},[iv]:{placeholder:{name:"\u8BF7\u8F93\u5165\u7EE7\u627F API \u540D\u79F0"},desc:"React.ButtonHTMLAttributes"},[av]:{placeholder:{name:"\u8BF7\u8F93\u5165\u63D2\u4EF6\u51FD\u6570\u8FD4\u56DE\u503C\u7C7B\u578B"},desc:"Promise;\u3010interface MessageInstance { close: () => void }\u3011 }"},[ov]:{placeholder:{name:"\u8BF7\u8F93\u5165\u6CDB\u578B\u53C2\u6570\uFF0C\u793A\u4F8B\uFF1A"}}},np=1,xS=2,SS=1,TS=8,wS=128;var Rf={exports:{}},$S=Ba,AS=Mp,ES=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,OS=/^\w*$/;function DS(r,u){if($S(r))return!1;var a=typeof r;return a=="number"||a=="symbol"||a=="boolean"||r==null||AS(r)?!0:OS.test(r)||!ES.test(r)||u!=null&&r in Object(u)}var kS=DS;function LS(r){var u=typeof r;return r!=null&&(u=="object"||u=="function")}var Ns=LS,PS=nu,MS=Ns,IS="[object AsyncFunction]",NS="[object Function]",RS="[object GeneratorFunction]",FS="[object Proxy]";function BS(r){if(!MS(r))return!1;var u=PS(r);return u==NS||u==RS||u==IS||u==FS}var sv=BS,WS=bi,US=WS["__core-js_shared__"],jS=US,ip=jS,oh=function(){var r=/[^.]+$/.exec(ip&&ip.keys&&ip.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function HS(r){return!!oh&&oh in r}var zS=HS,GS=Function.prototype,qS=GS.toString;function VS(r){if(r!=null){try{return qS.call(r)}catch{}try{return r+""}catch{}}return""}var lv=VS,KS=sv,YS=zS,JS=Ns,ZS=lv,XS=/[\\^$.*+?()[\]{}|]/g,QS=/^\[object .+?Constructor\]$/,eT=Function.prototype,tT=Object.prototype,rT=eT.toString,nT=tT.hasOwnProperty,iT=RegExp("^"+rT.call(nT).replace(XS,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function aT(r){if(!JS(r)||YS(r))return!1;var u=KS(r)?iT:QS;return u.test(ZS(r))}var oT=aT;function sT(r,u){return r==null?void 0:r[u]}var lT=sT,uT=oT,fT=lT;function cT(r,u){var a=fT(r,u);return uT(a)?a:void 0}var Oo=cT,pT=Oo,dT=pT(Object,"create"),jf=dT,sh=jf;function hT(){this.__data__=sh?sh(null):{},this.size=0}var gT=hT;function vT(r){var u=this.has(r)&&delete this.__data__[r];return this.size-=u?1:0,u}var mT=vT,yT=jf,bT="__lodash_hash_undefined__",CT=Object.prototype,_T=CT.hasOwnProperty;function xT(r){var u=this.__data__;if(yT){var a=u[r];return a===bT?void 0:a}return _T.call(u,r)?u[r]:void 0}var ST=xT,TT=jf,wT=Object.prototype,$T=wT.hasOwnProperty;function AT(r){var u=this.__data__;return TT?u[r]!==void 0:$T.call(u,r)}var ET=AT,OT=jf,DT="__lodash_hash_undefined__";function kT(r,u){var a=this.__data__;return this.size+=this.has(r)?0:1,a[r]=OT&&u===void 0?DT:u,this}var LT=kT,PT=gT,MT=mT,IT=ST,NT=ET,RT=LT;function Rs(r){var u=-1,a=r==null?0:r.length;for(this.clear();++u-1}var ew=QT,tw=Hf;function rw(r,u){var a=this.__data__,c=tw(a,r);return c<0?(++this.size,a.push([r,u])):a[c][1]=u,this}var nw=rw,iw=WT,aw=KT,ow=ZT,sw=ew,lw=nw;function Fs(r){var u=-1,a=r==null?0:r.length;for(this.clear();++u-1&&r%1==0&&r-1&&r%1==0&&r<=B$}var Vp=W$,U$=qf,j$=qp,H$=Ba,z$=Gp,G$=Vp,q$=Hp;function V$(r,u,a){u=U$(u,r);for(var c=-1,h=u.length,y=!1;++c0&&a(x)?u>1?gv(x,u-1,a,c,h):lA(h,x):c||(h[h.length]=x)}return h}var fA=gv,cA=fA;function pA(r){var u=r==null?0:r.length;return u?cA(r,1):[]}var dA=pA;function hA(r,u,a){switch(a.length){case 0:return r.call(u);case 1:return r.call(u,a[0]);case 2:return r.call(u,a[0],a[1]);case 3:return r.call(u,a[0],a[1],a[2])}return r.apply(u,a)}var gA=hA,vA=gA,hh=Math.max;function mA(r,u,a){return u=hh(u===void 0?r.length-1:u,0),function(){for(var c=arguments,h=-1,y=hh(c.length-u,0),S=Array(y);++h0){if(++u>=AA)return arguments[0]}else u=0;return r.apply(void 0,arguments)}}var kA=DA,LA=$A,PA=kA,MA=PA(LA),IA=MA,NA=dA,RA=yA,FA=IA;function BA(r){return FA(RA(r,void 0,NA),r+"")}var WA=BA,UA=rA,jA=WA,HA=jA(function(r,u){return r==null?{}:UA(r,u)}),zA=HA;function GA(r,u=""){if(!r||r.indexOf("preSkip")!==-1)return{};try{return JSON.parse(r)}catch{return console.error(u||`${r} is not a JSON.`),{}}}function qA(r,u){const a={};return r[u].forEach(c=>{a[c.label]=c.value}),a}function VA(r){return r?".skip":""}function KA(r,u){const a={};return r.forEach(c=>{u&&!c.platform_framework.includes(u)||(a[c.component]?a[c.component].push(c):a[c.component]=[c])}),Object.keys(a).forEach(c=>{c[0]==="$"&&(a[c]=a[c].sort((h,y)=>h.field_category{if(!c)return;const h=r[c];h instanceof Array?a[c]=h:typeof h=="object"?(!h.includes&&!h.excludes||h.includes&&h.includes.includes(u)||h.excludes&&!h.excludes.includes(u))&&(a[c]=h.list):console.warn("COMPONENT_API_MD_MAP \u6570\u636E\u7ED3\u6784\u4E0D\u5BF9\uFF0C\u53EA\u80FD\u662F Array \u6216\u8005 Object \u7C7B\u578B")}),a}function JA(r,u){const a=Object.entries(r);for(let c=0,h=a.length;c100?`render( ${u} -)`:`render(${u})`}function pE(r){Object.keys(r).forEach(u=>{u===void 0&&delete r[u]})}function dE(r,u,a,c={}){const{content:h,wrapper:y}=c;pE(a);const S=a.events;delete a.events;let x="";if(y){const A=[u,vE(a,S),S].filter(k=>k).join(", ");return`${y}(${A})`}else{const A=a?Object.keys(a).map(E=>{const j=typeof a[E]=="object"?JSON.stringify(a[E]):a[E],H=Cv(j);return`${E}=${/^'.+'$/.test(H)?H:`{${H}}`}`}).join(" "):"",k=S&&!S.includes("on=")&&r==="Vue(PC)"?`on={${S}}`:S;x=`<${u} ${A} ${k||""}>${h||""}`}return cE(r,x)}function hE(r,u,a){const{wrapper:c}=a,h=!c&&u!=="Vue(PC)",y=[];return r.forEach((S,x)=>{!S.event||Object.keys(S.event).forEach(A=>{const[k]=A.split("."),E=gE(k,u);h?y.push(`${E}={${gp(k,x)}}`):y.push(`${E}: ${gp(k,x)}`)})}),h?y.join(" "):y.length?`{ ${y.join(", ")} }`:void 0}function gE(r,u){return u==="Vue(PC)"?`'${aE(r)}'`:Yp(r)}function gp(r,u){return`${Yp(r)}Fn${u||""}`}function Yp(r){return`on${oE(Vf(r))}`}function vE(r,u){if(!r||!Object.keys(r).length)return u?"{}":"";const a=Object.entries(r);return a.length?`{ ${a.map(([h,y])=>`'${h}': ${Cv(y)}`).join(", ")} }`:{}}function Cv(r){if(typeof r=="boolean"||/^'.+'$/.test(r))return r;if(/^\$\{.+\}$/.test(r))return r.slice(2,-1);if(/^\/-.+-\/$/.test(r))return r.slice(2,-2);if(typeof r=="string"&&(r.indexOf("=>")!==-1||r.indexOf("")!==-1||/^\[.*\]$/.test(r)||/^\{.*\}$/.test(r)))return r;if(Array.isArray(r)||!Array.isArray(r)&&typeof r)return JSON.stringify(r);try{return JSON.parse(r),r}catch{return typeof r=="string"?`'${r}'`:r}}function mE(r,u,a="",c){if(!!r){if(c)return"expect(document.body).toMatchSnapshot();";if(u.indexOf("Vue")!==-1)return`expect(wrapper${a}.element).toMatchSnapshot();`;if(u.indexOf("React")!==-1)return`expect(container${a}).toMatchSnapshot();`}}function yE(r,u,a="",c="",h={}){const{trigger:y="",component:S,wrapper:x,onlyDocumentDom:A}=h;if(r.indexOf("Vue")!==-1){const k=a?`.find('${a}')`:"",E=[];let j=Array.isArray(u)?u.join(` -`):u;return r==="Vue(PC)"&&y.includes("focus")&&!x&&(E.push("// Vue2 need attachTo to trigger `focus` event. https://v1.test-utils.vuejs.org/api/wrapper/#trigger","createElementById()"),j=j.replace(/\)$/,", { attachTo: '#focus-dom' })")),A?E.push(`${j}${k};`):E.push(`const wrapper${c} = ${j}${k};`),y&&E.push(vp(y,r,S)),E.filter(H=>H).join(` +)`:`render(${u})`}function dE(r){Object.keys(r).forEach(u=>{u===void 0&&delete r[u]})}function hE(r,u,a,c={}){const{content:h,wrapper:y}=c;dE(a);const S=a.events;delete a.events;let x="";if(y){const A=[u,mE(a,S),S].filter(k=>k).join(", ");return`${y}(${A})`}else{const A=a?Object.keys(a).map(E=>{const U=typeof a[E]=="object"?JSON.stringify(a[E]):a[E],H=Cv(U);return`${E}=${/^'.+'$/.test(H)?H:`{${H}}`}`}).join(" "):"",k=S&&!S.includes("on=")&&r==="Vue(PC)"?`on={${S}}`:S;x=`<${u} ${A} ${k||""}>${h||""}`}return pE(r,x)}function gE(r,u,a){const{wrapper:c}=a,h=!c&&u!=="Vue(PC)",y=[];return r.forEach((S,x)=>{!S.event||Object.keys(S.event).forEach(A=>{const[k]=A.split("."),E=vE(k,u);h?y.push(`${E}={${gp(k,x)}}`):y.push(`${E}: ${gp(k,x)}`)})}),h?y.join(" "):y.length?`{ ${y.join(", ")} }`:void 0}function vE(r,u){return u==="Vue(PC)"?`'${oE(r)}'`:Yp(r)}function gp(r,u){return`${Yp(r)}Fn${u||""}`}function Yp(r){return`on${sE(Vf(r))}`}function mE(r,u){if(!r||!Object.keys(r).length)return u?"{}":"";const a=Object.entries(r);return a.length?`{ ${a.map(([h,y])=>`'${h}': ${Cv(y)}`).join(", ")} }`:{}}function Cv(r){if(typeof r=="boolean"||/^'.+'$/.test(r))return r;if(/^\$\{.+\}$/.test(r))return r.slice(2,-1);if(/^\/-.+-\/$/.test(r))return r.slice(2,-2);if(typeof r=="string"&&(r.indexOf("=>")!==-1||r.indexOf("")!==-1||/^\[.*\]$/.test(r)||/^\{.*\}$/.test(r)))return r;if(Array.isArray(r)||!Array.isArray(r)&&typeof r)return JSON.stringify(r);try{return JSON.parse(r),r}catch{return typeof r=="string"?`'${r}'`:r}}function yE(r,u,a="",c){if(!!r){if(c)return"expect(document.body).toMatchSnapshot();";if(u.indexOf("Vue")!==-1)return`expect(wrapper${a}.element).toMatchSnapshot();`;if(u.indexOf("React")!==-1)return`expect(container${a}).toMatchSnapshot();`}}function bE(r,u,a="",c="",h={}){const{trigger:y="",component:S,wrapper:x,onlyDocumentDom:A}=h;if(r.indexOf("Vue")!==-1){const k=a?`.find('${a}')`:"",E=[];let U=Array.isArray(u)?u.join(` +`):u;return r==="Vue(PC)"&&y.includes("focus")&&!x&&(E.push("// Vue2 need attachTo to trigger `focus` event. https://v1.test-utils.vuejs.org/api/wrapper/#trigger","createElementById()"),U=U.replace(/\)$/,", { attachTo: '#focus-dom' })")),A?E.push(`${U}${k};`):E.push(`const wrapper${c} = ${U}${k};`),y&&E.push(vp(y,r,S)),E.filter(H=>H).join(` `)}if(r.indexOf("React")!==-1){const k=y&&vp(y,r,S);return A?[u,k].filter(E=>E).join(` -`):bE(u,a,c,{triggerCode:k})}}function bE(r,u="",a="",{triggerCode:c}){const h=a;return u?[`const wrapper${h} = ${r};`,c,`const container${h} = wrapper${h}.container.querySelector('${u}');`].filter(y=>y).join(` +`):CE(u,a,c,{triggerCode:k})}}function CE(r,u="",a="",{triggerCode:c}){const h=a;return u?[`const wrapper${h} = ${r};`,c,`const container${h} = wrapper${h}.container.querySelector('${u}');`].filter(y=>y).join(` `):[a?`const { container: container${a} } = ${r};`:`const { container } = ${r};`,c].filter(y=>y).join(` -`)}function _v(r){return Vf(r.replace(/(\.|#|)/g,""))}function CE(r,u,a=""){const c=r.replace("document",""),h=`${_v(c)}Dom${a}`;return[`const ${h} = document.querySelector(${c});`,`expect(${h}).toBeTruthy();`].filter(y=>y).join(` -`)}function _E(r,u,a=""){if(!!u){if(u.indexOf("document")!==-1)return CE(u,r,a);if(r.indexOf("Vue")!==-1)return`expect(wrapper${a}.find(${u}).exists()).toBeTruthy();`;if(r.indexOf("React")!==-1)return`expect(container${a}.querySelector(${u})).toBeTruthy();`}}function xE(r,u,a=""){if(!!u){if(u.indexOf("document")!==-1)return`expect(document.querySelector(${u.replace("document","")})).toBeNull();`;if(r.indexOf("Vue")!==-1)return`expect(wrapper${a}.find(${u}).exists()).toBeFalsy();`;if(r.indexOf("React")!==-1)return`expect(container${a}.querySelector(${u})).toBeFalsy()`}}function xv(r,u,a){const c=r.replace("document",""),h=`${_v(c)}Dom`,y=(typeof u=="object"||u==!1)&&typeof u!="number";return[`const ${h} = document.${y?"querySelector":"querySelectorAll"}('${c}')`,(()=>{if(u===!1)return`expect(${h}).toBeFalsy()`;if(typeof u=="number")return SE(h,u);if(y)return TE(h,u,a)})()].filter(x=>x).join(` -`)}function SE(r,u){return`expect(${r}.length).toBe(${u});`}function TE(r,u,a){if(a.indexOf("Vue")!==-1)return`expect(${r}.textContent).toBe('${u.text}');`;if(a.indexOf("React")!==-1)return`expect(${r}.textContent).toBe('${u.text}');`}function wE(r,u,a="",c=""){let h="";const y=Object.entries(u).map(([S,x])=>{if(S==="clearElementAtEnd"){h=x;return}if(typeof x=="object"&&x.className)return OE(r,S,x,a,c);if(typeof x=="number"||x===!1)return $E(r,S,x,a);if(typeof x=="object"){if(x.text)return AE(r,S,x,a);if(x.attribute)return EE(r,S,x,a,c)}});return h&&y.push(Sv(h,r)),y.filter(S=>S).join(` +`)}function _v(r){return Vf(r.replace(/(\.|#|)/g,""))}function _E(r,u,a=""){const c=r.replace("document",""),h=`${_v(c)}Dom${a}`;return[`const ${h} = document.querySelector(${c});`,`expect(${h}).toBeTruthy();`].filter(y=>y).join(` +`)}function xE(r,u,a=""){if(!!u){if(u.indexOf("document")!==-1)return _E(u,r,a);if(r.indexOf("Vue")!==-1)return`expect(wrapper${a}.find(${u}).exists()).toBeTruthy();`;if(r.indexOf("React")!==-1)return`expect(container${a}.querySelector(${u})).toBeTruthy();`}}function SE(r,u,a=""){if(!!u){if(u.indexOf("document")!==-1)return`expect(document.querySelector(${u.replace("document","")})).toBeNull();`;if(r.indexOf("Vue")!==-1)return`expect(wrapper${a}.find(${u}).exists()).toBeFalsy();`;if(r.indexOf("React")!==-1)return`expect(container${a}.querySelector(${u})).toBeFalsy()`}}function xv(r,u,a){const c=r.replace("document",""),h=`${_v(c)}Dom`,y=(typeof u=="object"||u==!1)&&typeof u!="number";return[`const ${h} = document.${y?"querySelector":"querySelectorAll"}('${c}')`,(()=>{if(u===!1)return`expect(${h}).toBeFalsy()`;if(typeof u=="number")return TE(h,u);if(y)return wE(h,u,a)})()].filter(x=>x).join(` +`)}function TE(r,u){return`expect(${r}.length).toBe(${u});`}function wE(r,u,a){if(a.indexOf("Vue")!==-1)return`expect(${r}.textContent).toBe('${u.text}');`;if(a.indexOf("React")!==-1)return`expect(${r}.textContent).toBe('${u.text}');`}function $E(r,u,a="",c=""){let h="";const y=Object.entries(u).map(([S,x])=>{if(S==="clearElementAtEnd"){h=x;return}if(typeof x=="object"&&x.className)return DE(r,S,x,a,c);if(typeof x=="number"||x===!1)return AE(r,S,x,a);if(typeof x=="object"){if(x.text)return EE(r,S,x,a);if(x.attribute)return OE(r,S,x,a,c)}});return h&&y.push(Sv(h,r)),y.filter(S=>S).join(` `)}function Sv(r,u){return u.indexOf("React")!==-1?void 0:(Array.isArray(r)?r:[r]).map(c=>`document.querySelectorAll('${c}').forEach(node => node.remove());`).join(` -`)}function $E(r,u,a,c){if(!isNaN(a)){if(u.indexOf("document")!==-1)return xv(u,a,r);if(r.indexOf("Vue")!==-1)return a===!1?`expect(wrapper${c}.find('${u}').exists()).toBeFalsy();`:`expect(wrapper${c}.findAll('${u}').length).toBe(${a});`;if(r.indexOf("React")!==-1)return a===!1?`expect(container${c}.querySelector('${u}')).toBeFalsy();`:`expect(container${c}.querySelectorAll('${u}').length).toBe(${a});`}}function AE(r,u,a,c){if(u.indexOf("document")!==-1)return xv(u,a,r);if(r.indexOf("Vue")!==-1)return`expect(wrapper${c}.find('${u}').text()).toBe('${a.text}');`;if(r.indexOf("React")!==-1)return`expect(container${c}.querySelector('${u}').textContent).toBe('${a.text}');`}function EE(r,u,a,c,h){const y=[],S=r.indexOf("Vue")!==-1,x=r.indexOf("React")!==-1,A=`attrDom${c||""}${h||""}`,k=u.indexOf("document")!==-1;return k?y.push(`const ${A} = document.querySelector('${u.replace("document","")}');`):S?y.push(`const ${A} = wrapper${c}.find('${u}');`):x&&y.push(`const ${A} = container${c}.querySelector('${u}');`),Object.entries(a.attribute).forEach(([E,j])=>{S?y.push(Jp(r,A,E,j,{isDocumentNode:k})):x&&y.push(Zp(r,A,E,j,"attrDom"))}),y.filter(E=>E).join(` -`)}function OE(r,u,a,c,h){const y=[];return a.className.forEach(S=>{const x=[{dom:u,className:{[S]:!0}}];y.push(Av(r,x,c,h))}),y.filter(S=>S).join(` -`)}function DE(r,u,a="",c=""){if(r.indexOf("Vue")!==-1)return`expect(wrapper${a}.classes(${u})).toBeTruthy();`;if(r.indexOf("React")!==-1)return`expect(container${a}${c?"":".firstChild"}).toHaveClass(${u});`}function kE(r,u,a=""){if(r.indexOf("Vue")!==-1)return`expect(wrapper${a}.classes(${u})).toBeFalsy();`;if(r.indexOf("React")!==-1)return`expect(container${a}.querySelector(\`.\${${u}}\`)).toBeFalsy();`}function LE(r,u,a="",c){return Object.entries(u).map(([h,y])=>PE(r,h,y,a,c)).join(` -`)}function PE(r,u,a,c,h){if(r.indexOf("Vue")!==-1)return Jp(r,`wrapper${c}`,u,a);if(r.indexOf("React")!==-1)return Zp(r,`container${c}`,u,a,h)}function Jp(r,u,a,c,h={}){const{isDocumentNode:y}=h,S=wv(a,c,r);return mv.includes(a)||a.includes(yv)?`expect(${u}${y?"":".element"}.${Tv(a)}).${S};`:y?`expect(${u}.getAttribute('${a}')).${S};`:`expect(${u}.attributes('${a}')).${S};`}function Zp(r,u,a,c,h){const y=wv(a,c,r),S=h?"":".firstChild";return mv.includes(a)||a.includes(yv)?`expect(${u}${S}.${Tv(a)}).${y};`:`expect(${u}${S}.getAttribute('${a}')).${y};`}function Tv(r){return r.split(".").map(u=>u.includes("-")?Vf(u):u).join(".")}function wv(r,u,a=""){if(u===!1)return vh(a);if(u===!0)return"toBeTruthy()";const c=typeof u=="string"&&u.includes("not."),h=c?u.slice(4):u,y=c?"not.":"";if(["toBeUndefined","toBeDefined"].includes(h))return h==="toBeUndefined"?vh(a):"toBeTruthy()";const S=/^\/.+\/$/.test(u)?u.slice(1,-1):`'${u}'`;return`${y}toBe(${S})`}function vh(r){if(r.indexOf("React")!==-1)return"toBeNull()";if(r.indexOf("Vue")!==-1)return"toBeUndefined()"}function ME(r,u,a,c=""){let h=[];return r.indexOf("Vue")!==-1&&u.forEach(({dom:y,attribute:S},x)=>{const A=IE(r,y,a,x,S,c);h=h.concat(A)}),r.indexOf("React")!==-1&&u.forEach(({dom:y,attribute:S},x)=>{const A=NE(r,y,x,S,c);h=h.concat(A)}),h.join(` -`)}function $v(r,u){return r.indexOf("document")!==-1?`document.querySelector('${["document","body"].includes(r)?r:r.replace("document","").replace("document.body","body")}');`:u}function IE(r,u,a,c,h,y){const S=u==="self"||!u?`findComponent(${a})`:`find('${u}')`;return[`const domWrapper${c||""} = ${$v(u,`wrapper${y}.${S}`)};`,Object.entries(h).map(([A,k])=>Jp(r,`domWrapper${c||""}`,A,k,{isDocumentNode:u.indexOf("document")!==-1})).join(` -`)]}function NE(r,u,a,c,h){const y=u==="self"||!u?"firstChild":`querySelector('${u}')`;return[`const domWrapper${a||""} = ${$v(u,`container${h}.${y}`)};`,Object.entries(c).map(([x,A])=>Zp(r,`domWrapper${a||""}`,x,A,u)).join(` -`)]}function Av(r,u,a="",c=""){let h=[];return r.indexOf("Vue")!==-1&&u.forEach(({dom:y,className:S},x)=>{const A=`domWrapper${c||x||""}`,k=y.indexOf("document")!==-1,j=[k?`const ${A} = document.querySelector('${y.replace("document","")}');`:`const ${A} = wrapper${a}.find('${y}');`,Object.entries(S).map(([H,Y])=>{const Q=Y?"toBeTruthy":"toBeFalsy",ae=k?`classList.contains('${H}')`:`classes('${H}')`;return`expect(${A}.${ae}).${Q}();`}).join(` -`)];h=h.concat(j)}),r.indexOf("React")!==-1&&u.forEach(({dom:y,className:S},x)=>{const A=`domWrapper${c||x||""}`,E=[y.indexOf("document")!==-1?`const ${A} = document.querySelector('${y.replace("document","")}');`:`const ${A} = container${a}.querySelector('${y}');`,Object.entries(S).map(([j,H])=>H?`expect(${A}).toHaveClass('${j}');`:`expect(${A}.classList.contains('${j}')).toBeFalsy();`).join(` +`)}function AE(r,u,a,c){if(!isNaN(a)){if(u.indexOf("document")!==-1)return xv(u,a,r);if(r.indexOf("Vue")!==-1)return a===!1?`expect(wrapper${c}.find('${u}').exists()).toBeFalsy();`:`expect(wrapper${c}.findAll('${u}').length).toBe(${a});`;if(r.indexOf("React")!==-1)return a===!1?`expect(container${c}.querySelector('${u}')).toBeFalsy();`:`expect(container${c}.querySelectorAll('${u}').length).toBe(${a});`}}function EE(r,u,a,c){if(u.indexOf("document")!==-1)return xv(u,a,r);if(r.indexOf("Vue")!==-1)return`expect(wrapper${c}.find('${u}').text()).toBe('${a.text}');`;if(r.indexOf("React")!==-1)return`expect(container${c}.querySelector('${u}').textContent).toBe('${a.text}');`}function OE(r,u,a,c,h){const y=[],S=r.indexOf("Vue")!==-1,x=r.indexOf("React")!==-1,A=`attrDom${c||""}${h||""}`,k=u.indexOf("document")!==-1;return k?y.push(`const ${A} = document.querySelector('${u.replace("document","")}');`):S?y.push(`const ${A} = wrapper${c}.find('${u}');`):x&&y.push(`const ${A} = container${c}.querySelector('${u}');`),Object.entries(a.attribute).forEach(([E,U])=>{S?y.push(Jp(r,A,E,U,{isDocumentNode:k})):x&&y.push(Zp(r,A,E,U,"attrDom"))}),y.filter(E=>E).join(` +`)}function DE(r,u,a,c,h){const y=[];return a.className.forEach(S=>{const x=[{dom:u,className:{[S]:!0}}];y.push(Av(r,x,c,h))}),y.filter(S=>S).join(` +`)}function kE(r,u,a="",c=""){if(r.indexOf("Vue")!==-1)return`expect(wrapper${a}.classes(${u})).toBeTruthy();`;if(r.indexOf("React")!==-1)return`expect(container${a}${c?"":".firstChild"}).toHaveClass(${u});`}function LE(r,u,a=""){if(r.indexOf("Vue")!==-1)return`expect(wrapper${a}.classes(${u})).toBeFalsy();`;if(r.indexOf("React")!==-1)return`expect(container${a}.querySelector(\`.\${${u}}\`)).toBeFalsy();`}function PE(r,u,a="",c){return Object.entries(u).map(([h,y])=>ME(r,h,y,a,c)).join(` +`)}function ME(r,u,a,c,h){if(r.indexOf("Vue")!==-1)return Jp(r,`wrapper${c}`,u,a);if(r.indexOf("React")!==-1)return Zp(r,`container${c}`,u,a,h)}function Jp(r,u,a,c,h={}){const{isDocumentNode:y}=h,S=wv(a,c,r);return mv.includes(a)||a.includes(yv)?`expect(${u}${y?"":".element"}.${Tv(a)}).${S};`:y?`expect(${u}.getAttribute('${a}')).${S};`:`expect(${u}.attributes('${a}')).${S};`}function Zp(r,u,a,c,h){const y=wv(a,c,r),S=h?"":".firstChild";return mv.includes(a)||a.includes(yv)?`expect(${u}${S}.${Tv(a)}).${y};`:`expect(${u}${S}.getAttribute('${a}')).${y};`}function Tv(r){return r.split(".").map(u=>u.includes("-")?Vf(u):u).join(".")}function wv(r,u,a=""){if(u===!1)return vh(a);if(u===!0)return"toBeTruthy()";const c=typeof u=="string"&&u.includes("not."),h=c?u.slice(4):u,y=c?"not.":"";if(["toBeUndefined","toBeDefined"].includes(h))return h==="toBeUndefined"?vh(a):"toBeTruthy()";const S=/^\/.+\/$/.test(u)?u.slice(1,-1):`'${u}'`;return`${y}toBe(${S})`}function vh(r){if(r.indexOf("React")!==-1)return"toBeNull()";if(r.indexOf("Vue")!==-1)return"toBeUndefined()"}function IE(r,u,a,c=""){let h=[];return r.indexOf("Vue")!==-1&&u.forEach(({dom:y,attribute:S},x)=>{const A=NE(r,y,a,x,S,c);h=h.concat(A)}),r.indexOf("React")!==-1&&u.forEach(({dom:y,attribute:S},x)=>{const A=RE(r,y,x,S,c);h=h.concat(A)}),h.join(` +`)}function $v(r,u){return r.indexOf("document")!==-1?`document.querySelector('${["document","body"].includes(r)?r:r.replace("document","").replace("document.body","body")}');`:u}function NE(r,u,a,c,h,y){const S=u==="self"||!u?`findComponent(${a})`:`find('${u}')`;return[`const domWrapper${c||""} = ${$v(u,`wrapper${y}.${S}`)};`,Object.entries(h).map(([A,k])=>Jp(r,`domWrapper${c||""}`,A,k,{isDocumentNode:u.indexOf("document")!==-1})).join(` +`)]}function RE(r,u,a,c,h){const y=u==="self"||!u?"firstChild":`querySelector('${u}')`;return[`const domWrapper${a||""} = ${$v(u,`container${h}.${y}`)};`,Object.entries(c).map(([x,A])=>Zp(r,`domWrapper${a||""}`,x,A,u)).join(` +`)]}function Av(r,u,a="",c=""){let h=[];return r.indexOf("Vue")!==-1&&u.forEach(({dom:y,className:S},x)=>{const A=`domWrapper${c||x||""}`,k=y.indexOf("document")!==-1,U=[k?`const ${A} = document.querySelector('${y.replace("document","")}');`:`const ${A} = wrapper${a}.find('${y}');`,Object.entries(S).map(([H,Y])=>{const Q=Y?"toBeTruthy":"toBeFalsy",ae=k?`classList.contains('${H}')`:`classes('${H}')`;return`expect(${A}.${ae}).${Q}();`}).join(` +`)];h=h.concat(U)}),r.indexOf("React")!==-1&&u.forEach(({dom:y,className:S},x)=>{const A=`domWrapper${c||x||""}`,E=[y.indexOf("document")!==-1?`const ${A} = document.querySelector('${y.replace("document","")}');`:`const ${A} = container${a}.querySelector('${y}');`,Object.entries(S).map(([U,H])=>H?`expect(${A}).toHaveClass('${U}');`:`expect(${A}.classList.contains('${U}')).toBeFalsy();`).join(` `)];h=h.concat(E)}),h.join(` -`)}function RE(r){return`[${r.map(u=>typeof u=="string"?`'${u}'`:JSON.stringify(u)).join(", ")}]`}function Ev(r){if(!r)return;const u=[];return Object.entries(r).forEach(([a,c])=>{const h=a.indexOf("-")!==-1?`'${a}'`:a,y=typeof c=="string"?`'${c}'`:c;u.push(`${h}: ${y}`)}),`{ ${u.join(", ")} }`}function Xp(r){if(!r.trigger)return{};const[u]=r.trigger.split("("),[a]=r.trigger.match(/\(.+\)$/)||[],c=r.triggerDom||(a==null?void 0:a.slice(1,-1));return{trigger:u,triggerDom:c}}function FE(r,u){if(!r)return{};const a=u.indexOf("Vue")!==-1?r:sE[r];if(!a){console.warn(`can not recognize Event Name: ${r}. Check Event Name in https://github.com/vuejs/test-utils/blob/main/src/constants/dom-events.ts#L109`);return}return typeof a=="object"?{eventName:a.event,eventModifier:Ev(a.modifier)}:{eventName:a}}function Qp(r){const u=["{"],a=Object.entries(r).map(([c,h])=>{let y=typeof h=="string"&&h!=="undefined"?`'${h}'`:h;return/\$\{.+\}/.test(h)&&(y=h.match(/\$\{(.+)\}/)[1]),typeof y=="object"&&(y=Qp(y)),`'${c}': ${y}`}).join(",");return u.push(a),u.push("}"),u.join("")}function BE(r){const u=["["],a=r.map(c=>typeof c=="object"?Qp(c):typeof c=="string"?`'${c}'`:c).join(",");return u.push(a),u.push("]"),u.join("")}function WE(r,u,a,c){const h=["onChange","onInputChange"];return r.indexOf("React")!==-1&&(c===".e.type"||c===".type")&&/^'input'$/.test(a)&&h.find(y=>u.indexOf(y)!==-1)?"'change'":a}function ap(r,u,a,c,h="",y="calls[0]"){const S=h?/^\[\d+\]/.test(h)?h:`.${h}`:"";if(/length=/.test(c)){const[x,A]=c.slice(1,-1).split("=");return`expect(${u}.mock.${y}[${a}]${S}.length).toBe(${A});`}else{if(Xl(c))return`expect(${c}.test(${u}.mock.${y}[${a}]${S})).toBeTruthy();`;{const x=typeof c=="object"||/\$\{.+\}/.test(c)?"toEqual":"toBe";let A=WE(r,u,c,S);typeof A=="object"&&(A=Array.isArray(A)?BE(A):Qp(A)),/\$\{.+\}/.test(c)&&(A=c.match(/\$\{(.+)\}/)[1]);const k=/toBeTruthy/.test(A)?"toBeTruthy()":`${x}(${A})`;return`expect(${u}.mock.${y}[${a}]${S}).${k};`}}}function jE(r,u,a={}){const{fnName:c="fn",calls:h="calls[0]",tnodeProps:y=!1}=a;if(typeof u=="string"&&u==="not")return[`expect(${c}).not.toHaveBeenCalled();`];if(!Array.isArray(u))return[];const S=u.map((x,A)=>{if(x===void 0||x==="skip")return;const k=y&&r.indexOf("Vue")!==-1?A+1:A;return typeof x=="string"&&!Xl(x)&&x!=="undefined"?ap(r,c,k,`'${x}'`,void 0,h):typeof x=="object"&&!Array.isArray(x)?Object.keys(x).map(E=>{const j=x[E];if(j===!0){const Y=`${c}.mock.${h}[${k}].${E}`;return Xl(x)?`expect(${x}.test(${Y})).toBeTruthy();`:`expect(${Y}).toBeTruthy();`}const H=typeof j=="string"&&!Xl(j)&&j!=="undefined"?`'${j}'`:j;return ap(r,c,k,H,E,h)}).join(` -`):ap(r,c,k,x,void 0,h)});return S.unshift(`expect(${c}).toHaveBeenCalled();`),S.filter(x=>x)}function Ov(r,{dom:u,event:a,delay:c,component:h},y="",S=""){let x=[];if(a!=="delay"){const k=GE(a,u),E=/^'.+'$/.test(u)?u.slice(1,-1):u;if(k.isSimulateEvent){const j=zE(r,{component:h,eventInfo:k,wrapperIndex:y,eventIndex:S});j&&x.push(j)}else{const j=HE(r,{dom:E,event:(a==null?void 0:a.indexOf("delay"))!==-1?a:a==null?void 0:a.replace(/\(.+\)/,""),component:h},y="");j&&x.push(j)}}let A=c&&c!==!0||c===0?c:"";return r.indexOf("Vue")!==-1?(!A&&a==="delay"&&!isNaN(u)&&(A=u),A||A===0?x.push(`await mockDelay(${A});`):x.push(`await wrapper${y}.vm.$nextTick();`)):r.indexOf("React")!==-1&&(Dv(a,c)||a==="delay")&&(a==="delay"&&!isNaN(u)&&(A=u),x.push(`await mockDelay(${A||""});`)),x.join(` -`)}function UE(r,u,a=""){var S;if(!r)return"";const c=[];if(!r.includes("delay"))return"";const y=((S=r.match(/\((.+)\)/))==null?void 0:S[1])||"";return u.indexOf("Vue")!==-1?y?c.push(`await mockDelay(${y});`):c.push(`await wrapper${a}.vm.$nextTick();`):u.indexOf("React")!==-1&&c.push(`await mockDelay(${y});`),c.join(` -`)}function HE(r,{dom:u,event:a,component:c},h=""){const{eventName:y,eventModifier:S}=FE(a,r)||{};if(r.indexOf("Vue")!==-1){let x="";return y&&(u==="self"||!u?x=`wrapper${h}.findComponent(${c}).trigger('${y}');`:u.indexOf("document")!==-1?x=`document.querySelector('${u.replace("document","")}').${y}()`:x=`wrapper${h}.find('${u}').trigger('${y}');`),x}else if(r.indexOf("React")!==-1){let x=u==="self"||!u?`container${h}.firstChild`:`container.querySelector('${u}')`;u.indexOf("document")!==-1&&(x=`document.querySelector('${u.replace("document","")}')`);const A=[x,S].filter(E=>E).join(", ");return y?`fireEvent.${y}(${A});`:""}}function zE(r,{component:u,eventInfo:a,wrapperIndex:c,eventIndex:h}){const{simulateEvent:y,args:S}=a,x=`${Vf(S[0])}Dom${h||""}`,A=S[0],k=[];if(A==="document")return`${y}(${S.join(", ")});`;if(r.indexOf("Vue")!==-1){let j="";if(A==="self"||!A)j=`const ${x} = wrapper${c}.findComponent(${u}).element;`;else if(A.indexOf("document")!==-1){const H=A.replace("document","");j=`const ${x} = document.querySelector(${H}).element`}else j=`const ${x} = wrapper${c}.find(${A}).element;`;k.push(j)}else if(r.indexOf("React")!==-1){let j=A==="self"||!A?`container${c}.firstChild`:`container.querySelector(${A})`;A.indexOf("document")!==-1&&(j=`document.querySelector(${A.replace("document","")})`),j=`const ${x} = `+j,k.push(j)}const E=y.replace(/\(.+\)$/,"");return k.push(`${E}(${[`${x}`].concat(S.slice(1)).join(", ")});`),k.join(` -`)}function GE(r,u){const a=Boolean(bv.find(c=>r&&r.indexOf(c)!==-1));return a?{isSimulateEvent:a,simulateEvent:r,args:u.split(",").map(c=>c.trim())}:{isSimulateEvent:a}}function Dv(r,u){return u||u===0||u==="0"?!0:lE.includes(r)}function kv(r,u){if(!r||u.indexOf("React")===-1)return{};const a=Array.isArray(r)?r:[r];let c=!1;return a.forEach(h=>{const{delay:y}=h,{trigger:S}=Xp(h);Dv(S,y)&&(c=!0)}),{reactAsync:c}}function Xl(r){return/^\/(.+)\/[i|g|m/s]*$/.test(r)}function vp(r,u,a){return!r||!a?void 0:(Array.isArray(r)?r:[r]).map(h=>{const{triggerDom:y="self",trigger:S}=Xp({trigger:h});return Ov(u,{dom:y,event:h.indexOf("delay")?h:S,component:a})}).join(` -`)}function qE(r){if(typeof r=="string")return[{trigger:r}];if(Array.isArray(r))return r.map(u=>({trigger:u}))}function VE(r,u){const{reactAsync:a}=kv(qE(r),u);return u.indexOf("Vue")!==-1&&r||a||(r==null?void 0:r.includes("delay"))?"async":""}function KE(r,u){return r.component===u?"props":r.component}function YE(r){return r&&r.join(` -`)}var js={SIMULATE_FUNCTIONS:bv,GET_VAR_FUNCTIONS:uE,getEventName:Yp,getEventFnName:gp,isRegExp:Xl,getItDescription:fE,getWrapper:yE,getMountComponent:dE,getSnapshotCase:mE,getArrayCode:RE,getObjectCode:Ev,formatToTriggerAndDom:Xp,getDomExpectTruthy:_E,getDomExpectFalsy:xE,getDomCountExpectCode:wE,getClassNameExpectTruthy:DE,getClassNameExpectFalsy:kE,getAttributeExpect:LE,getDomAttributeExpect:ME,getDomClassNameExpect:Av,getEventArguments:jE,getFireEventCode:Ov,getClearDomInDocumentCode:Sv,getReactFireEventAsync:kv,getEventFunctions:hE,getDelayCode:UE,getPresetsExpect:vp,getItAsync:VE,getCategoryDesc:KE,getVariablesCode:YE};const{SIMULATE_FUNCTIONS:JE,GET_VAR_FUNCTIONS:ZE}=js,XE=["mockDelay","mockTimeout"];function QE(r){return XE.filter(u=>new RegExp(u).test(r))}function eO(r={},u){const{hasEvent:a=!1,importedComponents:c=[],importedMounts:h=new Set,needDefaultRender:y=!1,importedTestUtils:S=[]}=r,x=u.join(""),A=QE(x),k={"Vue(PC)":{"@vue/test-utils":[],vitest:[],"..":[],"./mount":[],"@test/utils":[]},"VueNext(PC)":{"@vue/test-utils":[],vitest:[],"..":[],"./mount":[],"@test/utils":[]},"Vue(Mobile)":{"@vue/test-utils":[],vitest:[],"..":[],"./mount":[],"@test/utils":[]},"React(PC)":{react:"React","@test/utils":[],"..":[],"./mount":[]},"React(Mobile)":{react:"React","@test/utils":[],"..":[],"./mount":[]}};if(a&&(k["Vue(PC)"].vitest.push("vi"),k["VueNext(PC)"].vitest.push("vi"),k["React(PC)"]["@test/utils"].push("fireEvent","vi")),c.length&&Object.keys(k).forEach(E=>{k[E][".."].push(...new Set(c))}),h.size>0){const E=[...h];Object.keys(k).forEach(j=>{k[j]["./mount"]=E})}if(y&&(k["React(PC)"]["@test/utils"].push("render"),k["React(Mobile)"]["@test/utils"].push("render"),k["Vue(PC)"]["@vue/test-utils"].push("mount"),k["VueNext(PC)"]["@vue/test-utils"].push("mount"),k["Vue(Mobile)"]["@vue/test-utils"].push("mount")),A&&Object.keys(k).forEach(E=>{k[E]["@test/utils"].push(...A)}),S&&S.length){const E=[...new Set(S)];Object.keys(k).forEach(j=>{k[j]["@test/utils"]=k[j]["@test/utils"].concat(E)})}return k}function tO(r,u,a=[]){const c=r[u],h=[];return Object.entries(c).forEach(([y,S])=>{!S||!S.length||(Array.isArray(S)&&S.length>0?h.push(`import { ${S.join(", ")} } from '${y}'`):h.push(`import ${S} from '${y}'`))}),h.push(...a),h.join(`; -`)}function Lv(r){const u=[];return JE.forEach(a=>{r&&r.includes(a)&&u.push(a)}),u}function rO(r,u,a,c){const h=[],y=[];return Array.isArray(u)?(u.forEach(S=>{Array.isArray(S.expect)&&(S.expect.forEach(x=>{if(typeof x=="object"&&x.trigger){const A=Lv(x.trigger||c);A&&A.length&&h.push(...A),r==="Vue(PC)"&&!a&&x.trigger.includes("focus")&&h.push("createElementById")}}),S.wrapper&&y.push(S.wrapper))}),{importedTestUtils:h,importedMounts:y}):[]}function nO(r){const{variables:u,tnode:a}=r,c=u||[];Array.isArray(a)&&a.forEach(y=>{y.variables&&c.push(...y.variables)});const h=[];return ZE.forEach(y=>{c.find(S=>S.includes(y))&&h.push(y)}),h}var iO={getImportsConfig:eO,getImportsCode:tO,getMoreEventImports:rO,getSimulateEvents:Lv,getVariableImports:nO};const{getItDescription:mh,getWrapper:Ia,getMountComponent:xo,getSnapshotCase:$s,getArrayCode:yh,getClassNameExpectTruthy:So,getClassNameExpectFalsy:op,getDomClassNameExpect:aO,getPresetsExpect:To,getItAsync:oO,getCategoryDesc:$f}=js,{getSkipCode:Jl}=Ws;function sO(r,u,a,c){const h=lO(r,u,a,c);return h&&h.filter(y=>y)}function lO(r,u,a,c){const{className:h,classNameDom:y,props:S,snapshot:x,content:A,wrapper:k,trigger:E,skip:j}=r,H={content:A,wrapper:k},Y=oO(E,a),Q=xo(a,c,{...S,[u.field_name]:"/-item-/"},H),ae=u.field_enum.split("/").filter(re=>re),ie=$f(u,c);if(typeof h=="string"&&h.indexOf("${item}")!=-1&&ae.length&&u.field_type_text[0]==="String")return[`[${ae.map(N=>`'${N}'`).join(", ")}].forEach((item) => {`,`it${Jl(j)}(\`${ie}.${u.field_name} is equal to \${ item }\`,${Y} () => {`,Ia(a,Q,y),E&&To(E,a,c),So(a,`\`${h}\``,"",y),$s(x,a),"});","});"];if(Array.isArray(h))if(u.field_type_text[0]==="String"&&ae.length){const re=`${u.field_name}ClassNameList`,N=uO(h),B=$f(u,c);return[`const ${re} = ${yh(h)};`,`${yh(ae)}.forEach((item, index) => {`,`it${Jl(j)}(\`${B}.${u.field_name} is equal to \${ item }\`, ${Y} () => {`,Ia(a,Q,y),E&&To(E,a,c),N?[`if (typeof ${re}[index] === 'string') {`,So(a,`${re}[index]`,"",y),`} else if (typeof ${re}[index] === 'object') { +`)}function FE(r){return`[${r.map(u=>typeof u=="string"?`'${u}'`:JSON.stringify(u)).join(", ")}]`}function Ev(r){if(!r)return;const u=[];return Object.entries(r).forEach(([a,c])=>{const h=a.indexOf("-")!==-1?`'${a}'`:a,y=typeof c=="string"?`'${c}'`:c;u.push(`${h}: ${y}`)}),`{ ${u.join(", ")} }`}function Xp(r){if(!r.trigger)return{};const[u]=r.trigger.split("("),[a]=r.trigger.match(/\(.+\)$/)||[],c=r.triggerDom||(a==null?void 0:a.slice(1,-1));return{trigger:u,triggerDom:c}}function BE(r,u){if(!r)return{};const a=u.indexOf("Vue")!==-1?r:lE[r];if(!a){console.warn(`can not recognize Event Name: ${r}. Check Event Name in https://github.com/vuejs/test-utils/blob/main/src/constants/dom-events.ts#L109`);return}return typeof a=="object"?{eventName:a.event,eventModifier:Ev(a.modifier)}:{eventName:a}}function Qp(r){const u=["{"],a=Object.entries(r).map(([c,h])=>{let y=typeof h=="string"&&h!=="undefined"?`'${h}'`:h;return/\$\{.+\}/.test(h)&&(y=h.match(/\$\{(.+)\}/)[1]),typeof y=="object"&&(y=Qp(y)),`'${c}': ${y}`}).join(",");return u.push(a),u.push("}"),u.join("")}function WE(r){const u=["["],a=r.map(c=>typeof c=="object"?Qp(c):typeof c=="string"?`'${c}'`:c).join(",");return u.push(a),u.push("]"),u.join("")}function UE(r,u,a,c){const h=["onChange","onInputChange"];return r.indexOf("React")!==-1&&(c===".e.type"||c===".type")&&/^'input'$/.test(a)&&h.find(y=>u.indexOf(y)!==-1)?"'change'":a}function ap(r,u,a,c,h="",y="calls[0]"){const S=h?/^\[\d+\]/.test(h)?h:`.${h}`:"";if(/length=/.test(c)){const[x,A]=c.slice(1,-1).split("=");return`expect(${u}.mock.${y}[${a}]${S}.length).toBe(${A});`}else{if(Xl(c))return`expect(${c}.test(${u}.mock.${y}[${a}]${S})).toBeTruthy();`;{const x=typeof c=="object"||/\$\{.+\}/.test(c)?"toEqual":"toBe";let A=UE(r,u,c,S);typeof A=="object"&&(A=Array.isArray(A)?WE(A):Qp(A)),/\$\{.+\}/.test(c)&&(A=c.match(/\$\{(.+)\}/)[1]);const k=/toBeTruthy/.test(A)?"toBeTruthy()":`${x}(${A})`;return`expect(${u}.mock.${y}[${a}]${S}).${k};`}}}function jE(r,u,a={}){const{fnName:c="fn",calls:h="calls[0]",tnodeProps:y=!1}=a;if(typeof u=="string"&&u==="not")return[`expect(${c}).not.toHaveBeenCalled();`];if(!Array.isArray(u))return[];const S=u.map((x,A)=>{if(x===void 0||x==="skip")return;const k=y&&r.indexOf("Vue")!==-1?A+1:A;return typeof x=="string"&&!Xl(x)&&x!=="undefined"?ap(r,c,k,`'${x}'`,void 0,h):typeof x=="object"&&!Array.isArray(x)?Object.keys(x).map(E=>{const U=x[E];if(U===!0){const Y=`${c}.mock.${h}[${k}].${E}`;return Xl(x)?`expect(${x}.test(${Y})).toBeTruthy();`:`expect(${Y}).toBeTruthy();`}const H=typeof U=="string"&&!Xl(U)&&U!=="undefined"?`'${U}'`:U;return ap(r,c,k,H,E,h)}).join(` +`):ap(r,c,k,x,void 0,h)});return S.unshift(`expect(${c}).toHaveBeenCalled();`),S.filter(x=>x)}function Ov(r,{dom:u,event:a,delay:c,component:h},y="",S=""){let x=[];if(a!=="delay"){const k=qE(a,u),E=/^'.+'$/.test(u)?u.slice(1,-1):u;if(k.isSimulateEvent){const U=GE(r,{component:h,eventInfo:k,wrapperIndex:y,eventIndex:S});U&&x.push(U)}else{const U=zE(r,{dom:E,event:(a==null?void 0:a.indexOf("delay"))!==-1?a:a==null?void 0:a.replace(/\(.+\)/,""),component:h},y="");U&&x.push(U)}}let A=c&&c!==!0||c===0?c:"";return r.indexOf("Vue")!==-1?(!A&&a==="delay"&&!isNaN(u)&&(A=u),A||A===0?x.push(`await mockDelay(${A});`):x.push(`await wrapper${y}.vm.$nextTick();`)):r.indexOf("React")!==-1&&(Dv(a,c)||a==="delay")&&(a==="delay"&&!isNaN(u)&&(A=u),x.push(`await mockDelay(${A||""});`)),x.join(` +`)}function HE(r,u,a=""){var S;if(!r)return"";const c=[];if(!r.includes("delay"))return"";const y=((S=r.match(/\((.+)\)/))==null?void 0:S[1])||"";return u.indexOf("Vue")!==-1?y?c.push(`await mockDelay(${y});`):c.push(`await wrapper${a}.vm.$nextTick();`):u.indexOf("React")!==-1&&c.push(`await mockDelay(${y});`),c.join(` +`)}function zE(r,{dom:u,event:a,component:c},h=""){const{eventName:y,eventModifier:S}=BE(a,r)||{};if(r.indexOf("Vue")!==-1){let x="";return y&&(u==="self"||!u?x=`wrapper${h}.findComponent(${c}).trigger('${y}');`:u.indexOf("document")!==-1?x=`document.querySelector('${u.replace("document","")}').${y}()`:x=`wrapper${h}.find('${u}').trigger('${y}');`),x}else if(r.indexOf("React")!==-1){let x=u==="self"||!u?`container${h}.firstChild`:`container.querySelector('${u}')`;u.indexOf("document")!==-1&&(x=`document.querySelector('${u.replace("document","")}')`);const A=[x,S].filter(E=>E).join(", ");return y?`fireEvent.${y}(${A});`:""}}function GE(r,{component:u,eventInfo:a,wrapperIndex:c,eventIndex:h}){const{simulateEvent:y,args:S}=a,x=`${Vf(S[0])}Dom${h||""}`,A=S[0],k=[];if(A==="document")return`${y}(${S.join(", ")});`;if(r.indexOf("Vue")!==-1){let U="";if(A==="self"||!A)U=`const ${x} = wrapper${c}.findComponent(${u}).element;`;else if(A.indexOf("document")!==-1){const H=A.replace("document","");U=`const ${x} = document.querySelector(${H}).element`}else U=`const ${x} = wrapper${c}.find(${A}).element;`;k.push(U)}else if(r.indexOf("React")!==-1){let U=A==="self"||!A?`container${c}.firstChild`:`container.querySelector(${A})`;A.indexOf("document")!==-1&&(U=`document.querySelector(${A.replace("document","")})`),U=`const ${x} = `+U,k.push(U)}const E=y.replace(/\(.+\)$/,"");return k.push(`${E}(${[`${x}`].concat(S.slice(1)).join(", ")});`),k.join(` +`)}function qE(r,u){const a=Boolean(bv.find(c=>r&&r.indexOf(c)!==-1));return a?{isSimulateEvent:a,simulateEvent:r,args:u.split(",").map(c=>c.trim())}:{isSimulateEvent:a}}function Dv(r,u){return u||u===0||u==="0"?!0:uE.includes(r)}function kv(r,u){if(!r||u.indexOf("React")===-1)return{};const a=Array.isArray(r)?r:[r];let c=!1;return a.forEach(h=>{const{delay:y}=h,{trigger:S}=Xp(h);Dv(S,y)&&(c=!0)}),{reactAsync:c}}function Xl(r){return/^\/(.+)\/[i|g|m/s]*$/.test(r)}function vp(r,u,a){return!r||!a?void 0:(Array.isArray(r)?r:[r]).map(h=>{const{triggerDom:y="self",trigger:S}=Xp({trigger:h});return Ov(u,{dom:y,event:h.indexOf("delay")?h:S,component:a})}).join(` +`)}function VE(r){if(typeof r=="string")return[{trigger:r}];if(Array.isArray(r))return r.map(u=>({trigger:u}))}function KE(r,u){const{reactAsync:a}=kv(VE(r),u);return u.indexOf("Vue")!==-1&&r||a||(r==null?void 0:r.includes("delay"))?"async":""}function YE(r,u){return r.component===u?"props":r.component}function JE(r){return r&&r.join(` +`)}var Us={SIMULATE_FUNCTIONS:bv,GET_VAR_FUNCTIONS:fE,getEventName:Yp,getEventFnName:gp,isRegExp:Xl,getItDescription:cE,getWrapper:bE,getMountComponent:hE,getSnapshotCase:yE,getArrayCode:FE,getObjectCode:Ev,formatToTriggerAndDom:Xp,getDomExpectTruthy:xE,getDomExpectFalsy:SE,getDomCountExpectCode:$E,getClassNameExpectTruthy:kE,getClassNameExpectFalsy:LE,getAttributeExpect:PE,getDomAttributeExpect:IE,getDomClassNameExpect:Av,getEventArguments:jE,getFireEventCode:Ov,getClearDomInDocumentCode:Sv,getReactFireEventAsync:kv,getEventFunctions:gE,getDelayCode:HE,getPresetsExpect:vp,getItAsync:KE,getCategoryDesc:YE,getVariablesCode:JE};const{SIMULATE_FUNCTIONS:ZE,GET_VAR_FUNCTIONS:XE}=Us,QE=["mockDelay","mockTimeout"];function eO(r){return QE.filter(u=>new RegExp(u).test(r))}function tO(r={},u){const{hasEvent:a=!1,importedComponents:c=[],importedMounts:h=new Set,needDefaultRender:y=!1,importedTestUtils:S=[]}=r,x=u.join(""),A=eO(x),k={"Vue(PC)":{"@vue/test-utils":[],vitest:[],"..":[],"./mount":[],"@test/utils":[]},"VueNext(PC)":{"@vue/test-utils":[],vitest:[],"..":[],"./mount":[],"@test/utils":[]},"Vue(Mobile)":{"@vue/test-utils":[],vitest:[],"..":[],"./mount":[],"@test/utils":[]},"React(PC)":{react:"React","@test/utils":[],"..":[],"./mount":[]},"React(Mobile)":{react:"React","@test/utils":[],"..":[],"./mount":[]}};if(a&&(k["Vue(PC)"].vitest.push("vi"),k["VueNext(PC)"].vitest.push("vi"),k["React(PC)"]["@test/utils"].push("fireEvent","vi")),c.length&&Object.keys(k).forEach(E=>{k[E][".."].push(...new Set(c))}),h.size>0){const E=[...h];Object.keys(k).forEach(U=>{k[U]["./mount"]=E})}if(y&&(k["React(PC)"]["@test/utils"].push("render"),k["React(Mobile)"]["@test/utils"].push("render"),k["Vue(PC)"]["@vue/test-utils"].push("mount"),k["VueNext(PC)"]["@vue/test-utils"].push("mount"),k["Vue(Mobile)"]["@vue/test-utils"].push("mount")),A&&Object.keys(k).forEach(E=>{k[E]["@test/utils"].push(...A)}),S&&S.length){const E=[...new Set(S)];Object.keys(k).forEach(U=>{k[U]["@test/utils"]=k[U]["@test/utils"].concat(E)})}return k}function rO(r,u,a=[]){const c=r[u],h=[];return Object.entries(c).forEach(([y,S])=>{!S||!S.length||(Array.isArray(S)&&S.length>0?h.push(`import { ${S.join(", ")} } from '${y}'`):h.push(`import ${S} from '${y}'`))}),h.push(...a),h.join(`; +`)}function Lv(r){const u=[];return ZE.forEach(a=>{r&&r.includes(a)&&u.push(a)}),u}function nO(r,u,a,c){const h=[],y=[];return Array.isArray(u)?(u.forEach(S=>{Array.isArray(S.expect)&&(S.expect.forEach(x=>{if(typeof x=="object"&&x.trigger){const A=Lv(x.trigger||c);A&&A.length&&h.push(...A),r==="Vue(PC)"&&!a&&x.trigger.includes("focus")&&h.push("createElementById")}}),S.wrapper&&y.push(S.wrapper))}),{importedTestUtils:h,importedMounts:y}):[]}function iO(r){const{variables:u,tnode:a}=r,c=u||[];Array.isArray(a)&&a.forEach(y=>{y.variables&&c.push(...y.variables)});const h=[];return XE.forEach(y=>{c.find(S=>S.includes(y))&&h.push(y)}),h}var aO={getImportsConfig:tO,getImportsCode:rO,getMoreEventImports:nO,getSimulateEvents:Lv,getVariableImports:iO};const{getItDescription:mh,getWrapper:Ia,getMountComponent:xo,getSnapshotCase:$s,getArrayCode:yh,getClassNameExpectTruthy:So,getClassNameExpectFalsy:op,getDomClassNameExpect:oO,getPresetsExpect:To,getItAsync:sO,getCategoryDesc:$f}=Us,{getSkipCode:Jl}=Ws;function lO(r,u,a,c){const h=uO(r,u,a,c);return h&&h.filter(y=>y)}function uO(r,u,a,c){const{className:h,classNameDom:y,props:S,snapshot:x,content:A,wrapper:k,trigger:E,skip:U}=r,H={content:A,wrapper:k},Y=sO(E,a),Q=xo(a,c,{...S,[u.field_name]:"/-item-/"},H),ae=u.field_enum.split("/").filter(re=>re),ie=$f(u,c);if(typeof h=="string"&&h.indexOf("${item}")!=-1&&ae.length&&u.field_type_text[0]==="String")return[`[${ae.map(N=>`'${N}'`).join(", ")}].forEach((item) => {`,`it${Jl(U)}(\`${ie}.${u.field_name} is equal to \${ item }\`,${Y} () => {`,Ia(a,Q,y),E&&To(E,a,c),So(a,`\`${h}\``,"",y),$s(x,a),"});","});"];if(Array.isArray(h))if(u.field_type_text[0]==="String"&&ae.length){const re=`${u.field_name}ClassNameList`,N=fO(h),B=$f(u,c);return[`const ${re} = ${yh(h)};`,`${yh(ae)}.forEach((item, index) => {`,`it${Jl(U)}(\`${B}.${u.field_name} is equal to \${ item }\`, ${Y} () => {`,Ia(a,Q,y),E&&To(E,a,c),N?[`if (typeof ${re}[index] === 'string') {`,So(a,`${re}[index]`,"",y),`} else if (typeof ${re}[index] === 'object') { const classNameKey = Object.keys(${re}[index])[0];`,op(a,"classNameKey"),"}"].join(` -`):So(a,`${re}[index]`,"",y),$s(x,a),"});","});"]}else{const re=fO(h),N=$f(u,c);return h.map(({value:B,expect:q})=>{const J=xo(a,c,{...S,[u.field_name]:B},H);return[`it${Jl(j)}(\`${N}.${u.field_name} is equal to ${B}\`,${Y} () => {`,Ia(a,J,"","",{onlyDocumentDom:re}),E&&To(E,a,c),aO(a,q),$s(x,a,"",{onlyDocumentDom:re}),"});"].filter(de=>de).join(` -`)})}if(typeof h=="string")if(u.field_type_text[0]==="Boolean"){const re=xo(a,c,{...S},H),N=xo(a,c,{...S,[u.field_name]:!0},H),B=xo(a,c,{...S,[u.field_name]:!1},H);return[`it${Jl(j)}(${mh(u)},${Y} () => {`,`// ${u.field_name} default value is ${u.field_default_value}`,Ia(a,re,y,"1"),E&&To(E,a,c),u.field_default_value==="true"?So(a,`'${h}'`,"1",y):op(a,`'${h}'`,"1",y),`// ${u.field_name} = true`,Ia(a,N,y,"2"),E&&To(E,a,c),So(a,`'${h}'`,"2",y),$s(x,a,"2"),`// ${u.field_name} = false`,Ia(a,B,y,"3"),E&&To(E,a,c),op(a,`'${h}'`,"3",y),$s(x,a,"3"),"});"]}else{const re=xo(a,c,{...S},H);return[`it${Jl(j)}(${mh(u)},${Y} () => {`,Ia(a,re,y,"",{trigger:E,component:c,...H}),So(a,`'${h}'`,"",y),$s(x,a),"});"]}if(typeof h=="object"&&!Array.isArray(h)){const re=$f(u,c),N=`${u.field_name}ClassNameMap`,B=xo(a,c,{...S,[u.field_name]:"/-propValue-/"},H);return[`const ${N} = ${JSON.stringify(h)};`,`Object.entries(${N}).forEach(([enumValue, expectedClassName]) => { +`):So(a,`${re}[index]`,"",y),$s(x,a),"});","});"]}else{const re=cO(h),N=$f(u,c);return h.map(({value:B,expect:q})=>{const J=xo(a,c,{...S,[u.field_name]:B},H);return[`it${Jl(U)}(\`${N}.${u.field_name} is equal to ${B}\`,${Y} () => {`,Ia(a,J,"","",{onlyDocumentDom:re}),E&&To(E,a,c),oO(a,q),$s(x,a,"",{onlyDocumentDom:re}),"});"].filter(de=>de).join(` +`)})}if(typeof h=="string")if(u.field_type_text[0]==="Boolean"){const re=xo(a,c,{...S},H),N=xo(a,c,{...S,[u.field_name]:!0},H),B=xo(a,c,{...S,[u.field_name]:!1},H);return[`it${Jl(U)}(${mh(u)},${Y} () => {`,`// ${u.field_name} default value is ${u.field_default_value}`,Ia(a,re,y,"1"),E&&To(E,a,c),u.field_default_value==="true"?So(a,`'${h}'`,"1",y):op(a,`'${h}'`,"1",y),`// ${u.field_name} = true`,Ia(a,N,y,"2"),E&&To(E,a,c),So(a,`'${h}'`,"2",y),$s(x,a,"2"),`// ${u.field_name} = false`,Ia(a,B,y,"3"),E&&To(E,a,c),op(a,`'${h}'`,"3",y),$s(x,a,"3"),"});"]}else{const re=xo(a,c,{...S},H);return[`it${Jl(U)}(${mh(u)},${Y} () => {`,Ia(a,re,y,"",{trigger:E,component:c,...H}),So(a,`'${h}'`,"",y),$s(x,a),"});"]}if(typeof h=="object"&&!Array.isArray(h)){const re=$f(u,c),N=`${u.field_name}ClassNameMap`,B=xo(a,c,{...S,[u.field_name]:"/-propValue-/"},H);return[`const ${N} = ${JSON.stringify(h)};`,`Object.entries(${N}).forEach(([enumValue, expectedClassName]) => { it(\`${re}.${u.field_name} is equal to \${ enumValue }\`,${Y} () => { let propValue = { true: true, false: false }[enumValue]; propValue = propValue === undefined ? enumValue : propValue;`,Ia(a,B,y),E&&To(E,a,c),So(a,"expectedClassName","",y),`}); - });`]}}function uO(r){for(let u=0,a=r.length;u * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */(function(r,u){(function(){var a,c="4.17.21",h=200,y="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",S="Expected a function",x="Invalid `variable` option passed into `_.template`",A="__lodash_hash_undefined__",k=500,E="__lodash_placeholder__",j=1,H=2,Y=4,Q=1,ae=2,ie=1,re=2,N=4,B=8,q=16,J=32,ne=64,de=128,xe=256,ve=512,He=30,tt="...",gt=800,X=16,me=1,P=2,dr=3,vt=1/0,ze=9007199254740991,nt=17976931348623157e292,mt=0/0,yt=4294967295,Bt=yt-1,ur=yt>>>1,Mt=[["ary",de],["bind",ie],["bindKey",re],["curry",B],["curryRight",q],["flip",ve],["partial",J],["partialRight",ne],["rearg",xe]],Qe="[object Arguments]",we="[object Array]",$e="[object AsyncFunction]",De="[object Boolean]",We="[object Date]",hr="[object DOMException]",Oe="[object Error]",Ot="[object Function]",Cr="[object GeneratorFunction]",bt="[object Map]",gr="[object Number]",_r="[object Null]",Yt="[object Object]",gn="[object Promise]",Wa="[object Proxy]",je="[object RegExp]",tr="[object Set]",Ci="[object String]",_i="[object Symbol]",Do="[object Undefined]",xi="[object WeakMap]",ja="[object WeakSet]",xr="[object ArrayBuffer]",Mn="[object DataView]",Gr="[object Float32Array]",Ct="[object Float64Array]",vn="[object Int8Array]",Lr="[object Int16Array]",mn="[object Int32Array]",In="[object Uint8Array]",yn="[object Uint8ClampedArray]",Ua="[object Uint16Array]",Re="[object Uint32Array]",ko=/\b__p \+= '';/g,Te=/\b(__p \+=) '' \+/g,Nn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Jt=/&(?:amp|lt|gt|quot|#39);/g,ft=/[&<>"']/g,_t=RegExp(Jt.source),Pr=RegExp(ft.source),vr=/<%-([\s\S]+?)%>/g,qr=/<%([\s\S]+?)%>/g,Zt=/<%=([\s\S]+?)%>/g,Ji=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,fr=/^\w*$/,Jn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/[\\^$.*+?()[\]{}|]/g,Vr=RegExp(Si.source),Ha=/^\s+/,Zi=/\s/,Lo=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,za=/\{\n\/\* \[wrapped with (.+)\] \*/,Zn=/,? & /,Mr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Xn=/[()=,{}\[\]\/\s]/,Po=/\\(\\)?/g,Kr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Mo=/\w*$/,Xi=/^[-+]0x[0-9a-f]+$/i,Yr=/^0b[01]+$/i,Jr=/^\[object .+?Constructor\]$/,Ti=/^0o[0-7]+$/i,Qi=/^(?:0|[1-9]\d*)$/,ea=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Zr=/($^)/,ta=/['\n\r\u2028\u2029\\]/g,Sr="\\ud800-\\udfff",Ga="\\u0300-\\u036f",ra="\\ufe20-\\ufe2f",xt="\\u20d0-\\u20ff",be=Ga+ra+xt,bn="\\u2700-\\u27bf",na="a-z\\xdf-\\xf6\\xf8-\\xff",Tr="\\xac\\xb1\\xd7\\xf7",_="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",D="\\u2000-\\u206f",V=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",se="A-Z\\xc0-\\xd6\\xd8-\\xde",z="\\ufe0e\\ufe0f",ce=Tr+_+D+V,qe="['\u2019]",Wt="["+Sr+"]",ir="["+ce+"]",Rn="["+be+"]",Gs="\\d+",Pe="["+bn+"]",ou="["+na+"]",qs="[^"+Sr+ce+Gs+bn+na+se+"]",ia="\\ud83c[\\udffb-\\udfff]",Cn="(?:"+Rn+"|"+ia+")",Vs="[^"+Sr+"]",Io="(?:\\ud83c[\\udde6-\\uddff]){2}",wi="[\\ud800-\\udbff][\\udc00-\\udfff]",Qn="["+se+"]",Ks="\\u200d",No="(?:"+ou+"|"+qs+")",su="(?:"+Qn+"|"+qs+")",Ys="(?:"+qe+"(?:d|ll|m|re|s|t|ve))?",Js="(?:"+qe+"(?:D|LL|M|RE|S|T|VE))?",Zs=Cn+"?",lu="["+z+"]?",Zf="(?:"+Ks+"(?:"+[Vs,Io,wi].join("|")+")"+lu+Zs+")*",uu="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Fn="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",fu=lu+Zs+Zf,Xf="(?:"+[Pe,Io,wi].join("|")+")"+fu,Ro="(?:"+[Vs+Rn+"?",Rn,Io,wi,Wt].join("|")+")",qa=RegExp(qe,"g"),Qf=RegExp(Rn,"g"),Xs=RegExp(ia+"(?="+ia+")|"+Ro+fu,"g"),ec=RegExp([Qn+"?"+ou+"+"+Ys+"(?="+[ir,Qn,"$"].join("|")+")",su+"+"+Js+"(?="+[ir,Qn+No,"$"].join("|")+")",Qn+"?"+No+"+"+Ys,Qn+"+"+Js,Fn,uu,Gs,Xf].join("|"),"g"),tc=RegExp("["+Ks+Sr+be+z+"]"),Qs=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,cu=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rc=-1,lt={};lt[Gr]=lt[Ct]=lt[vn]=lt[Lr]=lt[mn]=lt[In]=lt[yn]=lt[Ua]=lt[Re]=!0,lt[Qe]=lt[we]=lt[xr]=lt[De]=lt[Mn]=lt[We]=lt[Oe]=lt[Ot]=lt[bt]=lt[gr]=lt[Yt]=lt[je]=lt[tr]=lt[Ci]=lt[xi]=!1;var ot={};ot[Qe]=ot[we]=ot[xr]=ot[Mn]=ot[De]=ot[We]=ot[Gr]=ot[Ct]=ot[vn]=ot[Lr]=ot[mn]=ot[bt]=ot[gr]=ot[Yt]=ot[je]=ot[tr]=ot[Ci]=ot[_i]=ot[In]=ot[yn]=ot[Ua]=ot[Re]=!0,ot[Oe]=ot[Ot]=ot[xi]=!1;var Fo={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Bo={"&":"&","<":"<",">":">",'"':""","'":"'"},el={"&":"&","<":"<",">":">",""":'"',"'":"'"},pu={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},du=parseFloat,Wo=parseInt,hu=typeof dn=="object"&&dn&&dn.Object===Object&&dn,gu=typeof self=="object"&&self&&self.Object===Object&&self,st=hu||gu||Function("return this")(),tl=u&&!u.nodeType&&u,$i=tl&&!0&&r&&!r.nodeType&&r,jo=$i&&$i.exports===tl,Uo=jo&&hu.process,jt=function(){try{var F=$i&&$i.require&&$i.require("util").types;return F||Uo&&Uo.binding&&Uo.binding("util")}catch{}}(),Ho=jt&&jt.isArrayBuffer,_n=jt&&jt.isDate,Va=jt&&jt.isMap,zo=jt&&jt.isRegExp,Ai=jt&&jt.isSet,vu=jt&&jt.isTypedArray;function wr(F,K,U){switch(U.length){case 0:return F.call(K);case 1:return F.call(K,U[0]);case 2:return F.call(K,U[0],U[1]);case 3:return F.call(K,U[0],U[1],U[2])}return F.apply(K,U)}function nc(F,K,U,ye){for(var Me=-1,Ve=F==null?0:F.length;++Me-1}function nl(F,K,U){for(var ye=-1,Me=F==null?0:F.length;++ye-1;);return U}function Ka(F,K){for(var U=F.length;U--&&pt(K,F[U],0)>-1;);return U}function cl(F,K){for(var U=F.length,ye=0;U--;)F[U]===K&&++ye;return ye}var _u=qo(Fo),Sn=qo(Bo);function Ei(F){return"\\"+pu[F]}function pl(F,K){return F==null?a:F[K]}function la(F){return tc.test(F)}function xu(F){return Qs.test(F)}function lc(F){for(var K,U=[];!(K=F.next()).done;)U.push(K.value);return U}function Ko(F){var K=-1,U=Array(F.size);return F.forEach(function(ye,Me){U[++K]=[Me,ye]}),U}function Yo(F,K){return function(U){return F(K(U))}}function $r(F,K){for(var U=-1,ye=F.length,Me=0,Ve=[];++U-1}function Iu(n,s){var f=this.__data__,g=ga(f,n);return g<0?(++this.size,f.push([n,s])):f[g][1]=s,this}nn.prototype.clear=bc,nn.prototype.delete=Sl,nn.prototype.get=Tl,nn.prototype.has=Mu,nn.prototype.set=Iu;function an(n){var s=-1,f=n==null?0:n.length;for(this.clear();++s=s?n:s)),n}function Er(n,s,f,g,C,w){var L,M=s&j,W=s&H,ee=s&Y;if(f&&(L=C?f(n,g,C,w):f(n)),L!==a)return L;if(!Pt(n))return n;var te=Ne(n);if(te){if(L=Rc(n),!M)return yr(n,L)}else{var oe=Gt(n),ge=oe==Ot||oe==Cr;if(Ma(n))return Fl(n,M);if(oe==Yt||oe==Qe||ge&&!C){if(L=W||ge?{}:vf(n),!M)return W?Lc(n,Bu(L,n)):of(n,Al(L,n))}else{if(!ot[oe])return C?n:{};L=_s(n,oe,M)}}w||(w=new St);var Se=w.get(n);if(Se)return Se;w.set(n,L),Td(n)?n.forEach(function(Le){L.add(Er(Le,s,f,Le,n,w))}):xd(n)&&n.forEach(function(Le,Ge){L.set(Ge,Er(Le,s,f,Ge,n,w))});var ke=ee?W?Cs:bs:W?jr:lr,Ue=te?a:ke(n);return Ir(Ue||n,function(Le,Ge){Ue&&(Ge=Le,Le=n[Ge]),ha(L,Ge,Er(Le,s,f,Ge,n,w))}),L}function Sc(n){var s=lr(n);return function(f){return El(f,n,s)}}function El(n,s,f){var g=f.length;if(n==null)return!g;for(n=it(n);g--;){var C=f[g],w=s[C],L=n[C];if(L===a&&!(C in n)||!w(L))return!1}return!0}function Wu(n,s,f){if(typeof n!="function")throw new Nr(S);return _e(function(){n.apply(a,f)},s)}function no(n,s,f,g){var C=-1,w=Go,L=!0,M=n.length,W=[],ee=s.length;if(!M)return W;f&&(s=ct(s,mr(f))),g?(w=nl,L=!1):s.length>=h&&(w=Wn,L=!1,s=new ai(s));e:for(;++CC?0:C+f),g=g===a||g>C?C:Be(g),g<0&&(g+=C),g=f>g?0:$d(g);f0&&f(M)?s>1?Ht(M,s-1,f,g,C):Bn(C,M):g||(C[C.length]=M)}return C}var ma=sf(),Dl=sf(!0);function Fr(n,s){return n&&ma(n,s,lr)}function ss(n,s){return n&&Dl(n,s,lr)}function ls(n,s){return ei(s,function(f){return qi(n[f])})}function ui(n,s){s=pi(s,n);for(var f=0,g=s.length;n!=null&&fs}function Uu(n,s){return n!=null&&Xe.call(n,s)}function Hu(n,s){return n!=null&&s in it(n)}function ya(n,s,f){return n>=Nt(s,f)&&n=120&&te.length>=120)?new ai(L&&te):a}te=n[0];var oe=-1,ge=M[0];e:for(;++oe-1;)M!==n&&ki.call(M,W,1),ki.call(n,W,1);return n}function ar(n,s){for(var f=n?s.length:0,g=f-1;f--;){var C=s[f];if(f==g||C!==w){var w=C;o(C)?ki.call(n,C,1):cs(n,C)}}return n}function fs(n,s){return n+Pi(_l()*(s-n+1))}function $c(n,s,f,g){for(var C=-1,w=dt(Za((s-n)/(f||1)),0),L=U(w);w--;)L[g?w:++C]=n,n+=f;return L}function Nl(n,s){var f="";if(!n||s<1||s>ze)return f;do s%2&&(f+=n),s=Pi(s/2),s&&(n+=n);while(s);return f}function Fe(n,s){return Ce(le(n,s,Ur),n+"")}function ef(n){return wl(Ss(n))}function tf(n,s){var f=Ss(n);return Et(f,qn(s,0,f.length))}function wa(n,s,f,g){if(!Pt(n))return n;s=pi(s,n);for(var C=-1,w=s.length,L=w-1,M=n;M!=null&&++CC?0:C+s),f=f>C?C:f,f<0&&(f+=C),C=s>f?0:f-s>>>0,s>>>=0;for(var w=U(C);++g>>1,L=n[w];L!==null&&!fn(L)&&(f?L<=s:L=h){var ee=s?null:Mc(n);if(ee)return Ar(ee);L=!1,C=Wn,W=new ai}else W=s?[]:M;e:for(;++g=g?n:zt(n,s,f)}var af=ml||function(n){return st.clearTimeout(n)};function Fl(n,s){if(s)return n.slice();var f=n.length,g=gl?gl(f):new n.constructor(f);return n.copy(g),g}function $a(n){var s=new n.constructor(n.byteLength);return new Xo(s).set(new Xo(n)),s}function Oc(n,s){var f=s?$a(n.buffer):n.buffer;return new n.constructor(f,n.byteOffset,n.byteLength)}function Dc(n){var s=new n.constructor(n.source,Mo.exec(n));return s.lastIndex=n.lastIndex,s}function po(n){return eo?it(eo.call(n)):{}}function Bl(n,s){var f=s?$a(n.buffer):n.buffer;return new n.constructor(f,n.byteOffset,n.length)}function Wl(n,s){if(n!==s){var f=n!==a,g=n===null,C=n===n,w=fn(n),L=s!==a,M=s===null,W=s===s,ee=fn(s);if(!M&&!ee&&!w&&n>s||w&&L&&W&&!M&&!ee||g&&L&&W||!f&&W||!C)return 1;if(!g&&!w&&!ee&&n=M)return W;var ee=f[g];return W*(ee=="desc"?-1:1)}}return n.index-s.index}function ds(n,s,f,g){for(var C=-1,w=n.length,L=f.length,M=-1,W=s.length,ee=dt(w-L,0),te=U(W+ee),oe=!g;++M1?f[C-1]:a,L=C>2?f[2]:a;for(w=n.length>3&&typeof w=="function"?(C--,w):a,L&&i(f[0],f[1],L)&&(w=C<3?a:w,C=1),s=it(s);++g-1?C[w?s[L]:L]:a}}function ff(n){return On(function(s){var f=s.length,g=f,C=et.prototype.thru;for(n&&s.reverse();g--;){var w=s[g];if(typeof w!="function")throw new Nr(S);if(C&&!L&&bo(w)=="wrapper")var L=new et([],!0)}for(g=L?g:f;++g1&&Ye.reverse(),te&&WM))return!1;var ee=w.get(n),te=w.get(s);if(ee&&te)return ee==s&&te==n;var oe=-1,ge=!0,Se=f&ae?new ai:a;for(w.set(n,s),w.set(s,n);++oe1?"& ":"")+s[g],s=s.join(f>2?", ":" "),n.replace(Lo,`{ + */(function(r,u){(function(){var a,c="4.17.21",h=200,y="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",S="Expected a function",x="Invalid `variable` option passed into `_.template`",A="__lodash_hash_undefined__",k=500,E="__lodash_placeholder__",U=1,H=2,Y=4,Q=1,ae=2,ie=1,re=2,N=4,B=8,q=16,J=32,ne=64,de=128,xe=256,ve=512,He=30,tt="...",gt=800,X=16,me=1,P=2,dr=3,vt=1/0,ze=9007199254740991,nt=17976931348623157e292,mt=0/0,yt=4294967295,Bt=yt-1,ur=yt>>>1,Mt=[["ary",de],["bind",ie],["bindKey",re],["curry",B],["curryRight",q],["flip",ve],["partial",J],["partialRight",ne],["rearg",xe]],Qe="[object Arguments]",we="[object Array]",$e="[object AsyncFunction]",De="[object Boolean]",We="[object Date]",hr="[object DOMException]",Oe="[object Error]",Ot="[object Function]",Cr="[object GeneratorFunction]",bt="[object Map]",gr="[object Number]",_r="[object Null]",Yt="[object Object]",gn="[object Promise]",Wa="[object Proxy]",Ue="[object RegExp]",tr="[object Set]",Ci="[object String]",_i="[object Symbol]",Do="[object Undefined]",xi="[object WeakMap]",Ua="[object WeakSet]",xr="[object ArrayBuffer]",Mn="[object DataView]",Gr="[object Float32Array]",Ct="[object Float64Array]",vn="[object Int8Array]",Lr="[object Int16Array]",mn="[object Int32Array]",In="[object Uint8Array]",yn="[object Uint8ClampedArray]",ja="[object Uint16Array]",Re="[object Uint32Array]",ko=/\b__p \+= '';/g,Te=/\b(__p \+=) '' \+/g,Nn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Jt=/&(?:amp|lt|gt|quot|#39);/g,ft=/[&<>"']/g,_t=RegExp(Jt.source),Pr=RegExp(ft.source),vr=/<%-([\s\S]+?)%>/g,qr=/<%([\s\S]+?)%>/g,Zt=/<%=([\s\S]+?)%>/g,Ji=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,fr=/^\w*$/,Jn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/[\\^$.*+?()[\]{}|]/g,Vr=RegExp(Si.source),Ha=/^\s+/,Zi=/\s/,Lo=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,za=/\{\n\/\* \[wrapped with (.+)\] \*/,Zn=/,? & /,Mr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Xn=/[()=,{}\[\]\/\s]/,Po=/\\(\\)?/g,Kr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Mo=/\w*$/,Xi=/^[-+]0x[0-9a-f]+$/i,Yr=/^0b[01]+$/i,Jr=/^\[object .+?Constructor\]$/,Ti=/^0o[0-7]+$/i,Qi=/^(?:0|[1-9]\d*)$/,ea=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Zr=/($^)/,ta=/['\n\r\u2028\u2029\\]/g,Sr="\\ud800-\\udfff",Ga="\\u0300-\\u036f",ra="\\ufe20-\\ufe2f",xt="\\u20d0-\\u20ff",be=Ga+ra+xt,bn="\\u2700-\\u27bf",na="a-z\\xdf-\\xf6\\xf8-\\xff",Tr="\\xac\\xb1\\xd7\\xf7",_="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",D="\\u2000-\\u206f",V=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",se="A-Z\\xc0-\\xd6\\xd8-\\xde",z="\\ufe0e\\ufe0f",ce=Tr+_+D+V,qe="['\u2019]",Wt="["+Sr+"]",ir="["+ce+"]",Rn="["+be+"]",Gs="\\d+",Pe="["+bn+"]",ou="["+na+"]",qs="[^"+Sr+ce+Gs+bn+na+se+"]",ia="\\ud83c[\\udffb-\\udfff]",Cn="(?:"+Rn+"|"+ia+")",Vs="[^"+Sr+"]",Io="(?:\\ud83c[\\udde6-\\uddff]){2}",wi="[\\ud800-\\udbff][\\udc00-\\udfff]",Qn="["+se+"]",Ks="\\u200d",No="(?:"+ou+"|"+qs+")",su="(?:"+Qn+"|"+qs+")",Ys="(?:"+qe+"(?:d|ll|m|re|s|t|ve))?",Js="(?:"+qe+"(?:D|LL|M|RE|S|T|VE))?",Zs=Cn+"?",lu="["+z+"]?",Zf="(?:"+Ks+"(?:"+[Vs,Io,wi].join("|")+")"+lu+Zs+")*",uu="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Fn="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",fu=lu+Zs+Zf,Xf="(?:"+[Pe,Io,wi].join("|")+")"+fu,Ro="(?:"+[Vs+Rn+"?",Rn,Io,wi,Wt].join("|")+")",qa=RegExp(qe,"g"),Qf=RegExp(Rn,"g"),Xs=RegExp(ia+"(?="+ia+")|"+Ro+fu,"g"),ec=RegExp([Qn+"?"+ou+"+"+Ys+"(?="+[ir,Qn,"$"].join("|")+")",su+"+"+Js+"(?="+[ir,Qn+No,"$"].join("|")+")",Qn+"?"+No+"+"+Ys,Qn+"+"+Js,Fn,uu,Gs,Xf].join("|"),"g"),tc=RegExp("["+Ks+Sr+be+z+"]"),Qs=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,cu=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rc=-1,lt={};lt[Gr]=lt[Ct]=lt[vn]=lt[Lr]=lt[mn]=lt[In]=lt[yn]=lt[ja]=lt[Re]=!0,lt[Qe]=lt[we]=lt[xr]=lt[De]=lt[Mn]=lt[We]=lt[Oe]=lt[Ot]=lt[bt]=lt[gr]=lt[Yt]=lt[Ue]=lt[tr]=lt[Ci]=lt[xi]=!1;var ot={};ot[Qe]=ot[we]=ot[xr]=ot[Mn]=ot[De]=ot[We]=ot[Gr]=ot[Ct]=ot[vn]=ot[Lr]=ot[mn]=ot[bt]=ot[gr]=ot[Yt]=ot[Ue]=ot[tr]=ot[Ci]=ot[_i]=ot[In]=ot[yn]=ot[ja]=ot[Re]=!0,ot[Oe]=ot[Ot]=ot[xi]=!1;var Fo={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Bo={"&":"&","<":"<",">":">",'"':""","'":"'"},el={"&":"&","<":"<",">":">",""":'"',"'":"'"},pu={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},du=parseFloat,Wo=parseInt,hu=typeof dn=="object"&&dn&&dn.Object===Object&&dn,gu=typeof self=="object"&&self&&self.Object===Object&&self,st=hu||gu||Function("return this")(),tl=u&&!u.nodeType&&u,$i=tl&&!0&&r&&!r.nodeType&&r,Uo=$i&&$i.exports===tl,jo=Uo&&hu.process,Ut=function(){try{var F=$i&&$i.require&&$i.require("util").types;return F||jo&&jo.binding&&jo.binding("util")}catch{}}(),Ho=Ut&&Ut.isArrayBuffer,_n=Ut&&Ut.isDate,Va=Ut&&Ut.isMap,zo=Ut&&Ut.isRegExp,Ai=Ut&&Ut.isSet,vu=Ut&&Ut.isTypedArray;function wr(F,K,j){switch(j.length){case 0:return F.call(K);case 1:return F.call(K,j[0]);case 2:return F.call(K,j[0],j[1]);case 3:return F.call(K,j[0],j[1],j[2])}return F.apply(K,j)}function nc(F,K,j,ye){for(var Me=-1,Ve=F==null?0:F.length;++Me-1}function nl(F,K,j){for(var ye=-1,Me=F==null?0:F.length;++ye-1;);return j}function Ka(F,K){for(var j=F.length;j--&&pt(K,F[j],0)>-1;);return j}function cl(F,K){for(var j=F.length,ye=0;j--;)F[j]===K&&++ye;return ye}var _u=qo(Fo),Sn=qo(Bo);function Ei(F){return"\\"+pu[F]}function pl(F,K){return F==null?a:F[K]}function la(F){return tc.test(F)}function xu(F){return Qs.test(F)}function lc(F){for(var K,j=[];!(K=F.next()).done;)j.push(K.value);return j}function Ko(F){var K=-1,j=Array(F.size);return F.forEach(function(ye,Me){j[++K]=[Me,ye]}),j}function Yo(F,K){return function(j){return F(K(j))}}function $r(F,K){for(var j=-1,ye=F.length,Me=0,Ve=[];++j-1}function Iu(n,s){var f=this.__data__,g=ga(f,n);return g<0?(++this.size,f.push([n,s])):f[g][1]=s,this}nn.prototype.clear=bc,nn.prototype.delete=Sl,nn.prototype.get=Tl,nn.prototype.has=Mu,nn.prototype.set=Iu;function an(n){var s=-1,f=n==null?0:n.length;for(this.clear();++s=s?n:s)),n}function Er(n,s,f,g,C,w){var L,M=s&U,W=s&H,ee=s&Y;if(f&&(L=C?f(n,g,C,w):f(n)),L!==a)return L;if(!Pt(n))return n;var te=Ne(n);if(te){if(L=Rc(n),!M)return yr(n,L)}else{var oe=Gt(n),ge=oe==Ot||oe==Cr;if(Ma(n))return Fl(n,M);if(oe==Yt||oe==Qe||ge&&!C){if(L=W||ge?{}:vf(n),!M)return W?Lc(n,Bu(L,n)):of(n,Al(L,n))}else{if(!ot[oe])return C?n:{};L=_s(n,oe,M)}}w||(w=new St);var Se=w.get(n);if(Se)return Se;w.set(n,L),Td(n)?n.forEach(function(Le){L.add(Er(Le,s,f,Le,n,w))}):xd(n)&&n.forEach(function(Le,Ge){L.set(Ge,Er(Le,s,f,Ge,n,w))});var ke=ee?W?Cs:bs:W?Ur:lr,je=te?a:ke(n);return Ir(je||n,function(Le,Ge){je&&(Ge=Le,Le=n[Ge]),ha(L,Ge,Er(Le,s,f,Ge,n,w))}),L}function Sc(n){var s=lr(n);return function(f){return El(f,n,s)}}function El(n,s,f){var g=f.length;if(n==null)return!g;for(n=it(n);g--;){var C=f[g],w=s[C],L=n[C];if(L===a&&!(C in n)||!w(L))return!1}return!0}function Wu(n,s,f){if(typeof n!="function")throw new Nr(S);return _e(function(){n.apply(a,f)},s)}function no(n,s,f,g){var C=-1,w=Go,L=!0,M=n.length,W=[],ee=s.length;if(!M)return W;f&&(s=ct(s,mr(f))),g?(w=nl,L=!1):s.length>=h&&(w=Wn,L=!1,s=new ai(s));e:for(;++CC?0:C+f),g=g===a||g>C?C:Be(g),g<0&&(g+=C),g=f>g?0:$d(g);f0&&f(M)?s>1?Ht(M,s-1,f,g,C):Bn(C,M):g||(C[C.length]=M)}return C}var ma=sf(),Dl=sf(!0);function Fr(n,s){return n&&ma(n,s,lr)}function ss(n,s){return n&&Dl(n,s,lr)}function ls(n,s){return ei(s,function(f){return qi(n[f])})}function ui(n,s){s=pi(s,n);for(var f=0,g=s.length;n!=null&&fs}function ju(n,s){return n!=null&&Xe.call(n,s)}function Hu(n,s){return n!=null&&s in it(n)}function ya(n,s,f){return n>=Nt(s,f)&&n=120&&te.length>=120)?new ai(L&&te):a}te=n[0];var oe=-1,ge=M[0];e:for(;++oe-1;)M!==n&&ki.call(M,W,1),ki.call(n,W,1);return n}function ar(n,s){for(var f=n?s.length:0,g=f-1;f--;){var C=s[f];if(f==g||C!==w){var w=C;o(C)?ki.call(n,C,1):cs(n,C)}}return n}function fs(n,s){return n+Pi(_l()*(s-n+1))}function $c(n,s,f,g){for(var C=-1,w=dt(Za((s-n)/(f||1)),0),L=j(w);w--;)L[g?w:++C]=n,n+=f;return L}function Nl(n,s){var f="";if(!n||s<1||s>ze)return f;do s%2&&(f+=n),s=Pi(s/2),s&&(n+=n);while(s);return f}function Fe(n,s){return Ce(le(n,s,jr),n+"")}function ef(n){return wl(Ss(n))}function tf(n,s){var f=Ss(n);return Et(f,qn(s,0,f.length))}function wa(n,s,f,g){if(!Pt(n))return n;s=pi(s,n);for(var C=-1,w=s.length,L=w-1,M=n;M!=null&&++CC?0:C+s),f=f>C?C:f,f<0&&(f+=C),C=s>f?0:f-s>>>0,s>>>=0;for(var w=j(C);++g>>1,L=n[w];L!==null&&!fn(L)&&(f?L<=s:L=h){var ee=s?null:Mc(n);if(ee)return Ar(ee);L=!1,C=Wn,W=new ai}else W=s?[]:M;e:for(;++g=g?n:zt(n,s,f)}var af=ml||function(n){return st.clearTimeout(n)};function Fl(n,s){if(s)return n.slice();var f=n.length,g=gl?gl(f):new n.constructor(f);return n.copy(g),g}function $a(n){var s=new n.constructor(n.byteLength);return new Xo(s).set(new Xo(n)),s}function Oc(n,s){var f=s?$a(n.buffer):n.buffer;return new n.constructor(f,n.byteOffset,n.byteLength)}function Dc(n){var s=new n.constructor(n.source,Mo.exec(n));return s.lastIndex=n.lastIndex,s}function po(n){return eo?it(eo.call(n)):{}}function Bl(n,s){var f=s?$a(n.buffer):n.buffer;return new n.constructor(f,n.byteOffset,n.length)}function Wl(n,s){if(n!==s){var f=n!==a,g=n===null,C=n===n,w=fn(n),L=s!==a,M=s===null,W=s===s,ee=fn(s);if(!M&&!ee&&!w&&n>s||w&&L&&W&&!M&&!ee||g&&L&&W||!f&&W||!C)return 1;if(!g&&!w&&!ee&&n=M)return W;var ee=f[g];return W*(ee=="desc"?-1:1)}}return n.index-s.index}function ds(n,s,f,g){for(var C=-1,w=n.length,L=f.length,M=-1,W=s.length,ee=dt(w-L,0),te=j(W+ee),oe=!g;++M1?f[C-1]:a,L=C>2?f[2]:a;for(w=n.length>3&&typeof w=="function"?(C--,w):a,L&&i(f[0],f[1],L)&&(w=C<3?a:w,C=1),s=it(s);++g-1?C[w?s[L]:L]:a}}function ff(n){return On(function(s){var f=s.length,g=f,C=et.prototype.thru;for(n&&s.reverse();g--;){var w=s[g];if(typeof w!="function")throw new Nr(S);if(C&&!L&&bo(w)=="wrapper")var L=new et([],!0)}for(g=L?g:f;++g1&&Ye.reverse(),te&&WM))return!1;var ee=w.get(n),te=w.get(s);if(ee&&te)return ee==s&&te==n;var oe=-1,ge=!0,Se=f&ae?new ai:a;for(w.set(n,s),w.set(s,n);++oe1?"& ":"")+s[g],s=s.join(f>2?", ":" "),n.replace(Lo,`{ /* [wrapped with `+s+`] */ -`)}function t(n){return Ne(n)||_o(n)||!!(Ou&&n&&n[Ou])}function o(n,s){var f=typeof n;return s=s==null?ze:s,!!s&&(f=="number"||f!="symbol"&&Qi.test(n))&&n>-1&&n%1==0&&n0){if(++s>=gt)return arguments[0]}else s=0;return n.apply(a,arguments)}}function Et(n,s){var f=-1,g=n.length,C=g-1;for(s=s===a?g:s;++f1?n[s-1]:a;return f=typeof f=="function"?(n.pop(),f):a,fd(n,f)});function cd(n){var s=T(n);return s.__chain__=!0,s}function Gm(n,s){return s(n),n}function mf(n,s){return s(n)}var qm=On(function(n){var s=n.length,f=s?n[0]:0,g=this.__wrapped__,C=function(w){return va(w,n)};return s>1||this.__actions__.length||!(g instanceof Ee)||!o(f)?this.thru(C):(g=g.slice(f,+f+(s?1:0)),g.__actions__.push({func:mf,args:[C],thisArg:a}),new et(g,this.__chain__).thru(function(w){return s&&!w.length&&w.push(a),w}))});function Vm(){return cd(this)}function Km(){return new et(this.value(),this.__chain__)}function Ym(){this.__values__===a&&(this.__values__=wd(this.value()));var n=this.__index__>=this.__values__.length,s=n?a:this.__values__[this.__index__++];return{done:n,value:s}}function Jm(){return this}function Zm(n){for(var s,f=this;f instanceof rr;){var g=or(f);g.__index__=0,g.__values__=a,s?C.__wrapped__=g:s=g;var C=g;f=f.__wrapped__}return C.__wrapped__=n,s}function Xm(){var n=this.__wrapped__;if(n instanceof Ee){var s=n;return this.__actions__.length&&(s=new Ee(this)),s=s.reverse(),s.__actions__.push({func:mf,args:[Fc],thisArg:a}),new et(s,this.__chain__)}return this.thru(Fc)}function Qm(){return lo(this.__wrapped__,this.__actions__)}var ey=Aa(function(n,s,f){Xe.call(n,f)?++n[f]:Gn(n,f,1)});function ty(n,s,f){var g=Ne(n)?rl:Tc;return f&&i(n,s,f)&&(s=a),g(n,Ae(s,3))}function ry(n,s){var f=Ne(n)?ei:Bi;return f(n,Ae(s,3))}var ny=Ul(kn),iy=Ul(vi);function ay(n,s){return Ht(yf(n,s),1)}function oy(n,s){return Ht(yf(n,s),vt)}function sy(n,s,f){return f=f===a?1:Be(f),Ht(yf(n,s),f)}function pd(n,s){var f=Ne(n)?Ir:sn;return f(n,Ae(s,3))}function dd(n,s){var f=Ne(n)?mu:Ol;return f(n,Ae(s,3))}var ly=Aa(function(n,s,f){Xe.call(n,f)?n[f].push(s):Gn(n,f,[s])});function uy(n,s,f,g){n=Wr(n)?n:Ss(n),f=f&&!g?Be(f):0;var C=n.length;return f<0&&(f=dt(C+f,0)),Sf(n)?f<=C&&n.indexOf(s,f)>-1:!!C&&pt(n,s,f)>-1}var fy=Fe(function(n,s,f){var g=-1,C=typeof s=="function",w=Wr(n)?U(n.length):[];return sn(n,function(L){w[++g]=C?wr(s,L,f):Ca(L,s,f)}),w}),cy=Aa(function(n,s,f){Gn(n,f,s)});function yf(n,s){var f=Ne(n)?ct:Pl;return f(n,Ae(s,3))}function py(n,s,f,g){return n==null?[]:(Ne(s)||(s=s==null?[]:[s]),f=g?a:f,Ne(f)||(f=f==null?[]:[f]),Zu(n,s,f))}var dy=Aa(function(n,s,f){n[f?0:1].push(s)},function(){return[[],[]]});function hy(n,s,f){var g=Ne(n)?il:Cu,C=arguments.length<3;return g(n,Ae(s,4),f,C,sn)}function gy(n,s,f){var g=Ne(n)?yu:Cu,C=arguments.length<3;return g(n,Ae(s,4),f,C,Ol)}function vy(n,s){var f=Ne(n)?ei:Bi;return f(n,_f(Ae(s,3)))}function my(n){var s=Ne(n)?wl:ef;return s(n)}function yy(n,s,f){(f?i(n,s,f):s===a)?s=1:s=Be(s);var g=Ne(n)?xc:tf;return g(n,s)}function by(n){var s=Ne(n)?$l:Ec;return s(n)}function Cy(n){if(n==null)return 0;if(Wr(n))return Sf(n)?ua(n):n.length;var s=Gt(n);return s==bt||s==tr?n.size:ji(n).length}function _y(n,s,f){var g=Ne(n)?aa:oo;return f&&i(n,s,f)&&(s=a),g(n,Ae(s,3))}var xy=Fe(function(n,s){if(n==null)return[];var f=s.length;return f>1&&i(n,s[0],s[1])?s=[]:f>2&&i(s[0],s[1],s[2])&&(s=[s[0]]),Zu(n,Ht(s,1),[])}),bf=pa||function(){return st.Date.now()};function Sy(n,s){if(typeof s!="function")throw new Nr(S);return n=Be(n),function(){if(--n<1)return s.apply(this,arguments)}}function hd(n,s,f){return s=f?a:s,s=n&&s==null?n.length:s,Ke(n,de,a,a,a,a,s)}function gd(n,s){var f;if(typeof s!="function")throw new Nr(S);return n=Be(n),function(){return--n>0&&(f=s.apply(this,arguments)),n<=1&&(s=a),f}}var Wc=Fe(function(n,s,f){var g=ie;if(f.length){var C=$r(f,ka(Wc));g|=J}return Ke(n,g,s,f,C)}),vd=Fe(function(n,s,f){var g=ie|re;if(f.length){var C=$r(f,ka(vd));g|=J}return Ke(s,g,n,f,C)});function md(n,s,f){s=f?a:s;var g=Ke(n,B,a,a,a,a,a,s);return g.placeholder=md.placeholder,g}function yd(n,s,f){s=f?a:s;var g=Ke(n,q,a,a,a,a,a,s);return g.placeholder=yd.placeholder,g}function bd(n,s,f){var g,C,w,L,M,W,ee=0,te=!1,oe=!1,ge=!0;if(typeof n!="function")throw new Nr(S);s=Pn(s)||0,Pt(f)&&(te=!!f.leading,oe="maxWait"in f,w=oe?dt(Pn(f.maxWait)||0,s):w,ge="trailing"in f?!!f.trailing:ge);function Se(Kt){var Yn=g,Ki=C;return g=C=a,ee=Kt,L=n.apply(Ki,Yn),L}function ke(Kt){return ee=Kt,M=_e(Ge,s),te?Se(Kt):L}function Ue(Kt){var Yn=Kt-W,Ki=Kt-ee,Fd=s-Yn;return oe?Nt(Fd,w-Ki):Fd}function Le(Kt){var Yn=Kt-W,Ki=Kt-ee;return W===a||Yn>=s||Yn<0||oe&&Ki>=w}function Ge(){var Kt=bf();if(Le(Kt))return Ye(Kt);M=_e(Ge,Ue(Kt))}function Ye(Kt){return M=a,ge&&g?Se(Kt):(g=C=a,L)}function cn(){M!==a&&af(M),ee=0,g=W=C=M=a}function kr(){return M===a?L:Ye(bf())}function pn(){var Kt=bf(),Yn=Le(Kt);if(g=arguments,C=this,W=Kt,Yn){if(M===a)return ke(W);if(oe)return af(M),M=_e(Ge,s),Se(W)}return M===a&&(M=_e(Ge,s)),L}return pn.cancel=cn,pn.flush=kr,pn}var Ty=Fe(function(n,s){return Wu(n,1,s)}),wy=Fe(function(n,s,f){return Wu(n,Pn(s)||0,f)});function $y(n){return Ke(n,ve)}function Cf(n,s){if(typeof n!="function"||s!=null&&typeof s!="function")throw new Nr(S);var f=function(){var g=arguments,C=s?s.apply(this,g):g[0],w=f.cache;if(w.has(C))return w.get(C);var L=n.apply(this,g);return f.cache=w.set(C,L)||w,L};return f.cache=new(Cf.Cache||an),f}Cf.Cache=an;function _f(n){if(typeof n!="function")throw new Nr(S);return function(){var s=arguments;switch(s.length){case 0:return!n.call(this);case 1:return!n.call(this,s[0]);case 2:return!n.call(this,s[0],s[1]);case 3:return!n.call(this,s[0],s[1],s[2])}return!n.apply(this,s)}}function Ay(n){return gd(2,n)}var Ey=co(function(n,s){s=s.length==1&&Ne(s[0])?ct(s[0],mr(Ae())):ct(Ht(s,1),mr(Ae()));var f=s.length;return Fe(function(g){for(var C=-1,w=Nt(g.length,f);++C=s}),_o=kl(function(){return arguments}())?kl:function(n){return Ft(n)&&Xe.call(n,"callee")&&!Qo.call(n,"callee")},Ne=U.isArray,Hy=Ho?mr(Ho):_a;function Wr(n){return n!=null&&xf(n.length)&&!qi(n)}function Vt(n){return Ft(n)&&Wr(n)}function zy(n){return n===!0||n===!1||Ft(n)&&Qt(n)==De}var Ma=cc||Xc,Gy=_n?mr(_n):Gu;function qy(n){return Ft(n)&&n.nodeType===1&&!Kl(n)}function Vy(n){if(n==null)return!0;if(Wr(n)&&(Ne(n)||typeof n=="string"||typeof n.splice=="function"||Ma(n)||xs(n)||_o(n)))return!n.length;var s=Gt(n);if(s==bt||s==tr)return!n.size;if(b(n))return!ji(n).length;for(var f in n)if(Xe.call(n,f))return!1;return!0}function Ky(n,s){return fi(n,s)}function Yy(n,s,f){f=typeof f=="function"?f:a;var g=f?f(n,s):a;return g===a?fi(n,s,a,f):!!g}function Uc(n){if(!Ft(n))return!1;var s=Qt(n);return s==Oe||s==hr||typeof n.message=="string"&&typeof n.name=="string"&&!Kl(n)}function Jy(n){return typeof n=="number"&&Du(n)}function qi(n){if(!Pt(n))return!1;var s=Qt(n);return s==Ot||s==Cr||s==$e||s==Wa}function _d(n){return typeof n=="number"&&n==Be(n)}function xf(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=ze}function Pt(n){var s=typeof n;return n!=null&&(s=="object"||s=="function")}function Ft(n){return n!=null&&typeof n=="object"}var xd=Va?mr(Va):io;function Zy(n,s){return n===s||Ll(n,s,Ze(s))}function Xy(n,s,f){return f=typeof f=="function"?f:a,Ll(n,s,Ze(s),f)}function Qy(n){return Sd(n)&&n!=+n}function eb(n){if(m(n))throw new Me(y);return Wi(n)}function tb(n){return n===null}function rb(n){return n==null}function Sd(n){return typeof n=="number"||Ft(n)&&Qt(n)==gr}function Kl(n){if(!Ft(n)||Qt(n)!=Yt)return!1;var s=ni(n);if(s===null)return!0;var f=Xe.call(s,"constructor")&&s.constructor;return typeof f=="function"&&f instanceof f&&fa.call(f)==Di}var Hc=zo?mr(zo):Vu;function nb(n){return _d(n)&&n>=-ze&&n<=ze}var Td=Ai?mr(Ai):Ku;function Sf(n){return typeof n=="string"||!Ne(n)&&Ft(n)&&Qt(n)==Ci}function fn(n){return typeof n=="symbol"||Ft(n)&&Qt(n)==_i}var xs=vu?mr(vu):Yu;function ib(n){return n===a}function ab(n){return Ft(n)&&Gt(n)==xi}function ob(n){return Ft(n)&&Qt(n)==ja}var sb=go(Ui),lb=go(function(n,s){return n<=s});function wd(n){if(!n)return[];if(Wr(n))return Sf(n)?Xr(n):yr(n);if(Li&&n[Li])return lc(n[Li]());var s=Gt(n),f=s==bt?Ko:s==tr?Ar:Ss;return f(n)}function Vi(n){if(!n)return n===0?n:0;if(n=Pn(n),n===vt||n===-vt){var s=n<0?-1:1;return s*nt}return n===n?n:0}function Be(n){var s=Vi(n),f=s%1;return s===s?f?s-f:s:0}function $d(n){return n?qn(Be(n),0,yt):0}function Pn(n){if(typeof n=="number")return n;if(fn(n))return mt;if(Pt(n)){var s=typeof n.valueOf=="function"?n.valueOf():n;n=Pt(s)?s+"":s}if(typeof n!="string")return n===0?n:+n;n=ul(n);var f=Yr.test(n);return f||Ti.test(n)?Wo(n.slice(2),f?2:8):Xi.test(n)?mt:+n}function Ad(n){return un(n,jr(n))}function ub(n){return n?qn(Be(n),-ze,ze):n===0?n:0}function at(n){return n==null?"":Or(n)}var fb=En(function(n,s){if(b(s)||Wr(s)){un(s,lr(s),n);return}for(var f in s)Xe.call(s,f)&&ha(n,f,s[f])}),Ed=En(function(n,s){un(s,jr(s),n)}),Tf=En(function(n,s,f,g){un(s,jr(s),n,g)}),cb=En(function(n,s,f,g){un(s,lr(s),n,g)}),pb=On(va);function db(n,s){var f=da(n);return s==null?f:Al(f,s)}var hb=Fe(function(n,s){n=it(n);var f=-1,g=s.length,C=g>2?s[2]:a;for(C&&i(s[0],s[1],C)&&(g=1);++f1),w}),un(n,Cs(n),f),g&&(f=Er(f,j|H|Y,mo));for(var C=s.length;C--;)cs(f,s[C]);return f});function Lb(n,s){return Dd(n,_f(Ae(s)))}var Pb=On(function(n,s){return n==null?{}:Xu(n,s)});function Dd(n,s){if(n==null)return{};var f=ct(Cs(n),function(g){return[g]});return s=Ae(s),Qu(n,f,function(g,C){return s(g,C[0])})}function Mb(n,s,f){s=pi(s,n);var g=-1,C=s.length;for(C||(C=1,n=a);++gs){var g=n;n=s,s=g}if(f||n%1||s%1){var C=_l();return Nt(n+C*(s-n+du("1e-"+((C+"").length-1))),s)}return fs(n,s)}var Gb=Oa(function(n,s,f){return s=s.toLowerCase(),n+(f?Pd(s):s)});function Pd(n){return qc(at(n).toLowerCase())}function Md(n){return n=at(n),n&&n.replace(ea,_u).replace(Qf,"")}function qb(n,s,f){n=at(n),s=Or(s);var g=n.length;f=f===a?g:qn(Be(f),0,g);var C=f;return f-=s.length,f>=0&&n.slice(f,C)==s}function Vb(n){return n=at(n),n&&Pr.test(n)?n.replace(ft,Sn):n}function Kb(n){return n=at(n),n&&Vr.test(n)?n.replace(Si,"\\$&"):n}var Yb=Oa(function(n,s,f){return n+(f?"-":"")+s.toLowerCase()}),Jb=Oa(function(n,s,f){return n+(f?" ":"")+s.toLowerCase()}),Zb=uf("toLowerCase");function Xb(n,s,f){n=at(n),s=Be(s);var g=s?ua(n):0;if(!s||g>=s)return n;var C=(s-g)/2;return vs(Pi(C),f)+n+vs(Za(C),f)}function Qb(n,s,f){n=at(n),s=Be(s);var g=s?ua(n):0;return s&&g>>0,f?(n=at(n),n&&(typeof s=="string"||s!=null&&!Hc(s))&&(s=Or(s),!s&&la(n))?Vn(Xr(n),0,f):n.split(s,f)):[]}var o0=Oa(function(n,s,f){return n+(f?" ":"")+qc(s)});function s0(n,s,f){return n=at(n),f=f==null?0:qn(Be(f),0,n.length),s=Or(s),n.slice(f,f+s.length)==s}function l0(n,s,f){var g=T.templateSettings;f&&i(n,s,f)&&(s=a),n=at(n),s=Tf({},s,g,df);var C=Tf({},s.imports,g.imports,df),w=lr(C),L=fl(C,w),M,W,ee=0,te=s.interpolate||Zr,oe="__p += '",ge=Ja((s.escape||Zr).source+"|"+te.source+"|"+(te===Zt?Kr:Zr).source+"|"+(s.evaluate||Zr).source+"|$","g"),Se="//# sourceURL="+(Xe.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rc+"]")+` +`)}function t(n){return Ne(n)||_o(n)||!!(Ou&&n&&n[Ou])}function o(n,s){var f=typeof n;return s=s==null?ze:s,!!s&&(f=="number"||f!="symbol"&&Qi.test(n))&&n>-1&&n%1==0&&n0){if(++s>=gt)return arguments[0]}else s=0;return n.apply(a,arguments)}}function Et(n,s){var f=-1,g=n.length,C=g-1;for(s=s===a?g:s;++f1?n[s-1]:a;return f=typeof f=="function"?(n.pop(),f):a,fd(n,f)});function cd(n){var s=T(n);return s.__chain__=!0,s}function Gm(n,s){return s(n),n}function mf(n,s){return s(n)}var qm=On(function(n){var s=n.length,f=s?n[0]:0,g=this.__wrapped__,C=function(w){return va(w,n)};return s>1||this.__actions__.length||!(g instanceof Ee)||!o(f)?this.thru(C):(g=g.slice(f,+f+(s?1:0)),g.__actions__.push({func:mf,args:[C],thisArg:a}),new et(g,this.__chain__).thru(function(w){return s&&!w.length&&w.push(a),w}))});function Vm(){return cd(this)}function Km(){return new et(this.value(),this.__chain__)}function Ym(){this.__values__===a&&(this.__values__=wd(this.value()));var n=this.__index__>=this.__values__.length,s=n?a:this.__values__[this.__index__++];return{done:n,value:s}}function Jm(){return this}function Zm(n){for(var s,f=this;f instanceof rr;){var g=or(f);g.__index__=0,g.__values__=a,s?C.__wrapped__=g:s=g;var C=g;f=f.__wrapped__}return C.__wrapped__=n,s}function Xm(){var n=this.__wrapped__;if(n instanceof Ee){var s=n;return this.__actions__.length&&(s=new Ee(this)),s=s.reverse(),s.__actions__.push({func:mf,args:[Fc],thisArg:a}),new et(s,this.__chain__)}return this.thru(Fc)}function Qm(){return lo(this.__wrapped__,this.__actions__)}var ey=Aa(function(n,s,f){Xe.call(n,f)?++n[f]:Gn(n,f,1)});function ty(n,s,f){var g=Ne(n)?rl:Tc;return f&&i(n,s,f)&&(s=a),g(n,Ae(s,3))}function ry(n,s){var f=Ne(n)?ei:Bi;return f(n,Ae(s,3))}var ny=jl(kn),iy=jl(vi);function ay(n,s){return Ht(yf(n,s),1)}function oy(n,s){return Ht(yf(n,s),vt)}function sy(n,s,f){return f=f===a?1:Be(f),Ht(yf(n,s),f)}function pd(n,s){var f=Ne(n)?Ir:sn;return f(n,Ae(s,3))}function dd(n,s){var f=Ne(n)?mu:Ol;return f(n,Ae(s,3))}var ly=Aa(function(n,s,f){Xe.call(n,f)?n[f].push(s):Gn(n,f,[s])});function uy(n,s,f,g){n=Wr(n)?n:Ss(n),f=f&&!g?Be(f):0;var C=n.length;return f<0&&(f=dt(C+f,0)),Sf(n)?f<=C&&n.indexOf(s,f)>-1:!!C&&pt(n,s,f)>-1}var fy=Fe(function(n,s,f){var g=-1,C=typeof s=="function",w=Wr(n)?j(n.length):[];return sn(n,function(L){w[++g]=C?wr(s,L,f):Ca(L,s,f)}),w}),cy=Aa(function(n,s,f){Gn(n,f,s)});function yf(n,s){var f=Ne(n)?ct:Pl;return f(n,Ae(s,3))}function py(n,s,f,g){return n==null?[]:(Ne(s)||(s=s==null?[]:[s]),f=g?a:f,Ne(f)||(f=f==null?[]:[f]),Zu(n,s,f))}var dy=Aa(function(n,s,f){n[f?0:1].push(s)},function(){return[[],[]]});function hy(n,s,f){var g=Ne(n)?il:Cu,C=arguments.length<3;return g(n,Ae(s,4),f,C,sn)}function gy(n,s,f){var g=Ne(n)?yu:Cu,C=arguments.length<3;return g(n,Ae(s,4),f,C,Ol)}function vy(n,s){var f=Ne(n)?ei:Bi;return f(n,_f(Ae(s,3)))}function my(n){var s=Ne(n)?wl:ef;return s(n)}function yy(n,s,f){(f?i(n,s,f):s===a)?s=1:s=Be(s);var g=Ne(n)?xc:tf;return g(n,s)}function by(n){var s=Ne(n)?$l:Ec;return s(n)}function Cy(n){if(n==null)return 0;if(Wr(n))return Sf(n)?ua(n):n.length;var s=Gt(n);return s==bt||s==tr?n.size:Ui(n).length}function _y(n,s,f){var g=Ne(n)?aa:oo;return f&&i(n,s,f)&&(s=a),g(n,Ae(s,3))}var xy=Fe(function(n,s){if(n==null)return[];var f=s.length;return f>1&&i(n,s[0],s[1])?s=[]:f>2&&i(s[0],s[1],s[2])&&(s=[s[0]]),Zu(n,Ht(s,1),[])}),bf=pa||function(){return st.Date.now()};function Sy(n,s){if(typeof s!="function")throw new Nr(S);return n=Be(n),function(){if(--n<1)return s.apply(this,arguments)}}function hd(n,s,f){return s=f?a:s,s=n&&s==null?n.length:s,Ke(n,de,a,a,a,a,s)}function gd(n,s){var f;if(typeof s!="function")throw new Nr(S);return n=Be(n),function(){return--n>0&&(f=s.apply(this,arguments)),n<=1&&(s=a),f}}var Wc=Fe(function(n,s,f){var g=ie;if(f.length){var C=$r(f,ka(Wc));g|=J}return Ke(n,g,s,f,C)}),vd=Fe(function(n,s,f){var g=ie|re;if(f.length){var C=$r(f,ka(vd));g|=J}return Ke(s,g,n,f,C)});function md(n,s,f){s=f?a:s;var g=Ke(n,B,a,a,a,a,a,s);return g.placeholder=md.placeholder,g}function yd(n,s,f){s=f?a:s;var g=Ke(n,q,a,a,a,a,a,s);return g.placeholder=yd.placeholder,g}function bd(n,s,f){var g,C,w,L,M,W,ee=0,te=!1,oe=!1,ge=!0;if(typeof n!="function")throw new Nr(S);s=Pn(s)||0,Pt(f)&&(te=!!f.leading,oe="maxWait"in f,w=oe?dt(Pn(f.maxWait)||0,s):w,ge="trailing"in f?!!f.trailing:ge);function Se(Kt){var Yn=g,Ki=C;return g=C=a,ee=Kt,L=n.apply(Ki,Yn),L}function ke(Kt){return ee=Kt,M=_e(Ge,s),te?Se(Kt):L}function je(Kt){var Yn=Kt-W,Ki=Kt-ee,Fd=s-Yn;return oe?Nt(Fd,w-Ki):Fd}function Le(Kt){var Yn=Kt-W,Ki=Kt-ee;return W===a||Yn>=s||Yn<0||oe&&Ki>=w}function Ge(){var Kt=bf();if(Le(Kt))return Ye(Kt);M=_e(Ge,je(Kt))}function Ye(Kt){return M=a,ge&&g?Se(Kt):(g=C=a,L)}function cn(){M!==a&&af(M),ee=0,g=W=C=M=a}function kr(){return M===a?L:Ye(bf())}function pn(){var Kt=bf(),Yn=Le(Kt);if(g=arguments,C=this,W=Kt,Yn){if(M===a)return ke(W);if(oe)return af(M),M=_e(Ge,s),Se(W)}return M===a&&(M=_e(Ge,s)),L}return pn.cancel=cn,pn.flush=kr,pn}var Ty=Fe(function(n,s){return Wu(n,1,s)}),wy=Fe(function(n,s,f){return Wu(n,Pn(s)||0,f)});function $y(n){return Ke(n,ve)}function Cf(n,s){if(typeof n!="function"||s!=null&&typeof s!="function")throw new Nr(S);var f=function(){var g=arguments,C=s?s.apply(this,g):g[0],w=f.cache;if(w.has(C))return w.get(C);var L=n.apply(this,g);return f.cache=w.set(C,L)||w,L};return f.cache=new(Cf.Cache||an),f}Cf.Cache=an;function _f(n){if(typeof n!="function")throw new Nr(S);return function(){var s=arguments;switch(s.length){case 0:return!n.call(this);case 1:return!n.call(this,s[0]);case 2:return!n.call(this,s[0],s[1]);case 3:return!n.call(this,s[0],s[1],s[2])}return!n.apply(this,s)}}function Ay(n){return gd(2,n)}var Ey=co(function(n,s){s=s.length==1&&Ne(s[0])?ct(s[0],mr(Ae())):ct(Ht(s,1),mr(Ae()));var f=s.length;return Fe(function(g){for(var C=-1,w=Nt(g.length,f);++C=s}),_o=kl(function(){return arguments}())?kl:function(n){return Ft(n)&&Xe.call(n,"callee")&&!Qo.call(n,"callee")},Ne=j.isArray,Hy=Ho?mr(Ho):_a;function Wr(n){return n!=null&&xf(n.length)&&!qi(n)}function Vt(n){return Ft(n)&&Wr(n)}function zy(n){return n===!0||n===!1||Ft(n)&&Qt(n)==De}var Ma=cc||Xc,Gy=_n?mr(_n):Gu;function qy(n){return Ft(n)&&n.nodeType===1&&!Kl(n)}function Vy(n){if(n==null)return!0;if(Wr(n)&&(Ne(n)||typeof n=="string"||typeof n.splice=="function"||Ma(n)||xs(n)||_o(n)))return!n.length;var s=Gt(n);if(s==bt||s==tr)return!n.size;if(b(n))return!Ui(n).length;for(var f in n)if(Xe.call(n,f))return!1;return!0}function Ky(n,s){return fi(n,s)}function Yy(n,s,f){f=typeof f=="function"?f:a;var g=f?f(n,s):a;return g===a?fi(n,s,a,f):!!g}function jc(n){if(!Ft(n))return!1;var s=Qt(n);return s==Oe||s==hr||typeof n.message=="string"&&typeof n.name=="string"&&!Kl(n)}function Jy(n){return typeof n=="number"&&Du(n)}function qi(n){if(!Pt(n))return!1;var s=Qt(n);return s==Ot||s==Cr||s==$e||s==Wa}function _d(n){return typeof n=="number"&&n==Be(n)}function xf(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=ze}function Pt(n){var s=typeof n;return n!=null&&(s=="object"||s=="function")}function Ft(n){return n!=null&&typeof n=="object"}var xd=Va?mr(Va):io;function Zy(n,s){return n===s||Ll(n,s,Ze(s))}function Xy(n,s,f){return f=typeof f=="function"?f:a,Ll(n,s,Ze(s),f)}function Qy(n){return Sd(n)&&n!=+n}function eb(n){if(m(n))throw new Me(y);return Wi(n)}function tb(n){return n===null}function rb(n){return n==null}function Sd(n){return typeof n=="number"||Ft(n)&&Qt(n)==gr}function Kl(n){if(!Ft(n)||Qt(n)!=Yt)return!1;var s=ni(n);if(s===null)return!0;var f=Xe.call(s,"constructor")&&s.constructor;return typeof f=="function"&&f instanceof f&&fa.call(f)==Di}var Hc=zo?mr(zo):Vu;function nb(n){return _d(n)&&n>=-ze&&n<=ze}var Td=Ai?mr(Ai):Ku;function Sf(n){return typeof n=="string"||!Ne(n)&&Ft(n)&&Qt(n)==Ci}function fn(n){return typeof n=="symbol"||Ft(n)&&Qt(n)==_i}var xs=vu?mr(vu):Yu;function ib(n){return n===a}function ab(n){return Ft(n)&&Gt(n)==xi}function ob(n){return Ft(n)&&Qt(n)==Ua}var sb=go(ji),lb=go(function(n,s){return n<=s});function wd(n){if(!n)return[];if(Wr(n))return Sf(n)?Xr(n):yr(n);if(Li&&n[Li])return lc(n[Li]());var s=Gt(n),f=s==bt?Ko:s==tr?Ar:Ss;return f(n)}function Vi(n){if(!n)return n===0?n:0;if(n=Pn(n),n===vt||n===-vt){var s=n<0?-1:1;return s*nt}return n===n?n:0}function Be(n){var s=Vi(n),f=s%1;return s===s?f?s-f:s:0}function $d(n){return n?qn(Be(n),0,yt):0}function Pn(n){if(typeof n=="number")return n;if(fn(n))return mt;if(Pt(n)){var s=typeof n.valueOf=="function"?n.valueOf():n;n=Pt(s)?s+"":s}if(typeof n!="string")return n===0?n:+n;n=ul(n);var f=Yr.test(n);return f||Ti.test(n)?Wo(n.slice(2),f?2:8):Xi.test(n)?mt:+n}function Ad(n){return un(n,Ur(n))}function ub(n){return n?qn(Be(n),-ze,ze):n===0?n:0}function at(n){return n==null?"":Or(n)}var fb=En(function(n,s){if(b(s)||Wr(s)){un(s,lr(s),n);return}for(var f in s)Xe.call(s,f)&&ha(n,f,s[f])}),Ed=En(function(n,s){un(s,Ur(s),n)}),Tf=En(function(n,s,f,g){un(s,Ur(s),n,g)}),cb=En(function(n,s,f,g){un(s,lr(s),n,g)}),pb=On(va);function db(n,s){var f=da(n);return s==null?f:Al(f,s)}var hb=Fe(function(n,s){n=it(n);var f=-1,g=s.length,C=g>2?s[2]:a;for(C&&i(s[0],s[1],C)&&(g=1);++f1),w}),un(n,Cs(n),f),g&&(f=Er(f,U|H|Y,mo));for(var C=s.length;C--;)cs(f,s[C]);return f});function Lb(n,s){return Dd(n,_f(Ae(s)))}var Pb=On(function(n,s){return n==null?{}:Xu(n,s)});function Dd(n,s){if(n==null)return{};var f=ct(Cs(n),function(g){return[g]});return s=Ae(s),Qu(n,f,function(g,C){return s(g,C[0])})}function Mb(n,s,f){s=pi(s,n);var g=-1,C=s.length;for(C||(C=1,n=a);++gs){var g=n;n=s,s=g}if(f||n%1||s%1){var C=_l();return Nt(n+C*(s-n+du("1e-"+((C+"").length-1))),s)}return fs(n,s)}var Gb=Oa(function(n,s,f){return s=s.toLowerCase(),n+(f?Pd(s):s)});function Pd(n){return qc(at(n).toLowerCase())}function Md(n){return n=at(n),n&&n.replace(ea,_u).replace(Qf,"")}function qb(n,s,f){n=at(n),s=Or(s);var g=n.length;f=f===a?g:qn(Be(f),0,g);var C=f;return f-=s.length,f>=0&&n.slice(f,C)==s}function Vb(n){return n=at(n),n&&Pr.test(n)?n.replace(ft,Sn):n}function Kb(n){return n=at(n),n&&Vr.test(n)?n.replace(Si,"\\$&"):n}var Yb=Oa(function(n,s,f){return n+(f?"-":"")+s.toLowerCase()}),Jb=Oa(function(n,s,f){return n+(f?" ":"")+s.toLowerCase()}),Zb=uf("toLowerCase");function Xb(n,s,f){n=at(n),s=Be(s);var g=s?ua(n):0;if(!s||g>=s)return n;var C=(s-g)/2;return vs(Pi(C),f)+n+vs(Za(C),f)}function Qb(n,s,f){n=at(n),s=Be(s);var g=s?ua(n):0;return s&&g>>0,f?(n=at(n),n&&(typeof s=="string"||s!=null&&!Hc(s))&&(s=Or(s),!s&&la(n))?Vn(Xr(n),0,f):n.split(s,f)):[]}var o0=Oa(function(n,s,f){return n+(f?" ":"")+qc(s)});function s0(n,s,f){return n=at(n),f=f==null?0:qn(Be(f),0,n.length),s=Or(s),n.slice(f,f+s.length)==s}function l0(n,s,f){var g=T.templateSettings;f&&i(n,s,f)&&(s=a),n=at(n),s=Tf({},s,g,df);var C=Tf({},s.imports,g.imports,df),w=lr(C),L=fl(C,w),M,W,ee=0,te=s.interpolate||Zr,oe="__p += '",ge=Ja((s.escape||Zr).source+"|"+te.source+"|"+(te===Zt?Kr:Zr).source+"|"+(s.evaluate||Zr).source+"|$","g"),Se="//# sourceURL="+(Xe.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rc+"]")+` `;n.replace(ge,function(Le,Ge,Ye,cn,kr,pn){return Ye||(Ye=cn),oe+=n.slice(ee,pn).replace(ta,Ei),Ge&&(M=!0,oe+=`' + __e(`+Ge+`) + '`),kr&&(W=!0,oe+=`'; @@ -90,46 +90,46 @@ __p += '`),Ye&&(oe+=`' + function print() { __p += __j.call(arguments, '') } `:`; `)+oe+`return __p -}`;var Ue=Nd(function(){return Ve(w,Se+"return "+oe).apply(a,L)});if(Ue.source=oe,Uc(Ue))throw Ue;return Ue}function u0(n){return at(n).toLowerCase()}function f0(n){return at(n).toUpperCase()}function c0(n,s,f){if(n=at(n),n&&(f||s===a))return ul(n);if(!n||!(s=Or(s)))return n;var g=Xr(n),C=Xr(s),w=xn(g,C),L=Ka(g,C)+1;return Vn(g,w,L).join("")}function p0(n,s,f){if(n=at(n),n&&(f||s===a))return n.slice(0,dl(n)+1);if(!n||!(s=Or(s)))return n;var g=Xr(n),C=Ka(g,Xr(s))+1;return Vn(g,0,C).join("")}function d0(n,s,f){if(n=at(n),n&&(f||s===a))return n.replace(Ha,"");if(!n||!(s=Or(s)))return n;var g=Xr(n),C=xn(g,Xr(s));return Vn(g,C).join("")}function h0(n,s){var f=He,g=tt;if(Pt(s)){var C="separator"in s?s.separator:C;f="length"in s?Be(s.length):f,g="omission"in s?Or(s.omission):g}n=at(n);var w=n.length;if(la(n)){var L=Xr(n);w=L.length}if(f>=w)return n;var M=f-ua(g);if(M<1)return g;var W=L?Vn(L,0,M).join(""):n.slice(0,M);if(C===a)return W+g;if(L&&(M+=W.length-M),Hc(C)){if(n.slice(M).search(C)){var ee,te=W;for(C.global||(C=Ja(C.source,at(Mo.exec(C))+"g")),C.lastIndex=0;ee=C.exec(te);)var oe=ee.index;W=W.slice(0,oe===a?M:oe)}}else if(n.indexOf(Or(C),M)!=M){var ge=W.lastIndexOf(C);ge>-1&&(W=W.slice(0,ge))}return W+g}function g0(n){return n=at(n),n&&_t.test(n)?n.replace(Jt,wu):n}var v0=Oa(function(n,s,f){return n+(f?" ":"")+s.toUpperCase()}),qc=uf("toUpperCase");function Id(n,s,f){return n=at(n),s=f?a:s,s===a?xu(n)?Au(n):ac(n):n.match(s)||[]}var Nd=Fe(function(n,s){try{return wr(n,a,s)}catch(f){return Uc(f)?f:new Me(f)}}),m0=On(function(n,s){return Ir(s,function(f){f=Tt(f),Gn(n,f,Wc(n[f],n))}),n});function y0(n){var s=n==null?0:n.length,f=Ae();return n=s?ct(n,function(g){if(typeof g[1]!="function")throw new Nr(S);return[f(g[0]),g[1]]}):[],Fe(function(g){for(var C=-1;++Cze)return[];var f=yt,g=Nt(n,yt);s=Ae(s),n-=yt;for(var C=ll(g,s);++f0||s<0)?new Ee(f):(n<0?f=f.takeRight(-n):n&&(f=f.drop(n)),s!==a&&(s=Be(s),f=s<0?f.dropRight(-s):f.take(s-n)),f)},Ee.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},Ee.prototype.toArray=function(){return this.take(yt)},Fr(Ee.prototype,function(n,s){var f=/^(?:filter|find|map|reject)|While$/.test(s),g=/^(?:head|last)$/.test(s),C=T[g?"take"+(s=="last"?"Right":""):s],w=g||/^find/.test(s);!C||(T.prototype[s]=function(){var L=this.__wrapped__,M=g?[1]:arguments,W=L instanceof Ee,ee=M[0],te=W||Ne(L),oe=function(Ge){var Ye=C.apply(T,Bn([Ge],M));return g&&ge?Ye[0]:Ye};te&&f&&typeof ee=="function"&&ee.length!=1&&(W=te=!1);var ge=this.__chain__,Se=!!this.__actions__.length,ke=w&&!ge,Ue=W&&!Se;if(!w&&te){L=Ue?L:new Ee(this);var Le=n.apply(L,M);return Le.__actions__.push({func:mf,args:[oe],thisArg:a}),new et(Le,ge)}return ke&&Ue?n.apply(this,M):(Le=this.thru(oe),ke?g?Le.value()[0]:Le.value():Le)})}),Ir(["pop","push","shift","sort","splice","unshift"],function(n){var s=Jo[n],f=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",g=/^(?:pop|shift)$/.test(n);T.prototype[n]=function(){var C=arguments;if(g&&!this.__chain__){var w=this.value();return s.apply(Ne(w)?w:[],C)}return this[f](function(L){return s.apply(Ne(L)?L:[],C)})}}),Fr(Ee.prototype,function(n,s){var f=T[s];if(f){var g=f.name+"";Xe.call(Ii,g)||(Ii[g]=[]),Ii[g].push({name:s,func:f})}}),Ii[hs(a,re).name]=[{name:"wrapper",func:a}],Ee.prototype.clone=Ut,Ee.prototype.reverse=to,Ee.prototype.value=gc,T.prototype.at=qm,T.prototype.chain=Vm,T.prototype.commit=Km,T.prototype.next=Ym,T.prototype.plant=Zm,T.prototype.reverse=Xm,T.prototype.toJSON=T.prototype.valueOf=T.prototype.value=Qm,T.prototype.first=T.prototype.head,Li&&(T.prototype[Li]=Jm),T},jn=hl();$i?(($i.exports=jn)._=jn,tl._=jn):st._=jn}).call(dn)})(bh,bh.exports);const{getItDescription:pO,getWrapper:dO,getSnapshotCase:hO,getDomExpectTruthy:Pv,getMountComponent:Ao,getEventArguments:Ch,getDelayCode:_h,getItAsync:Mv,getVariablesCode:mp}=js,{getSkipCode:gO}=Ws,Ps="custom-node",vO="document.custom-node";function mO(r,u,a,c){let h=[];const{tnode:y,props:S,variables:x}=r;return Array.isArray(y)?y.forEach(A=>{const k={...r,tnode:A,props:{...A.props,...S},variables:[...A.variables||[],...x||[]]};k.tnode.description&&(k.tnode.description=`props.${u.field_name}: ${k.tnode.description}`),h=h.concat(xh(k,u,a,c),` -`)}):h=h.concat(xh(r,u,a,c)),h.filter(A=>A)}function xh(r,u,a,c){const{tnode:h,props:y,variables:S,snapshot:x,content:A,wrapper:k,trigger:E,skip:j}=r,H={content:A,wrapper:k};let Y="";if(a.indexOf("Vue")!==-1){const re=a==="Vue(PC)"?"h":"";Y=Ao(a,c,{[u.field_name]:`(${re}) => TNode`,...y},H)}else a.indexOf("React")!==-1&&(u.field_name==="children"&&c===u.component?Y=Ao(a,c,{...y},{...H,content:`TNode`}):Y=Ao(a,c,{[u.field_name]:`TNode`,...y},H));const Q=u.component===c?pO(u):`'${u.component}.${u.field_name} works fine'`;let ae=yp({itDesc:Q,componentCode:Y,trigger:h.trigger||E,framework:a,component:c,snapshot:x,tnode:h,skip:j,variables:S});const ie=yO(H,u,a,c,x,h,j,y,E,S);if(ie.length&&(ae=ae.concat(ie)),typeof h=="object"&&h.params){const re=bO(h,u,a,c,{extraCode:H,skip:j,props:y,trigger:E,variables:S,description:h.description});ae.push(re)}return ae}function yO(r,u,a,c,h,y,S,x,A,k){let E=[],j=[],H=[];if(a.indexOf("Vue")!==-1){const Y=u.field_type_text.join()==="Boolean,TNode",Q=a==="Vue(PC)"?"scopedSlots":"v-slots",ae=Q==="scopedSlots"?"h":"",ie={[Q]:`{ ${u.field_name}: (${ae}) => TNode }`,...x};Y&&(ie[u.field_name]=!0);const re=Ao(a,c,ie,r);E.push(` -`);const N=`'slots.${u.field_name} works fine'`;if(j=yp({itDesc:N,componentCode:re,trigger:y.trigger||A,framework:a,component:c,snapshot:h,tnode:y,skip:S,variables:k}),kebabCaseComponent(u.field_name)!==u.field_name){const B={[Q]:`{ '${kebabCaseComponent(u.field_name)}': (${ae}) => TNode }`,...x};Y&&(B[u.field_name]=!0);const q=Ao(a,c,B,r);E.push(` -`);const J=`'slots.${kebabCaseComponent(u.field_name)} works fine'`;H=yp({itDesc:J,componentCode:q,trigger:y.trigger||A,framework:a,component:c,snapshot:h,tnode:y,skip:S,variables:k})}}return j.length&&(E=E.concat(j)),H.length&&(E=E.concat(H)),E}function yp(r){var ie;const{itDesc:u,componentCode:a,trigger:c,framework:h,component:y,snapshot:S,tnode:x,skip:A,variables:k}=r,E=Mv(c,h),j=Boolean(x.dom&&x.dom.includes(vO)),H=Boolean(!c||c.indexOf("delay")!==-1||c&&c.indexOf("document")!==-1),Y=Boolean(x.dom&&x.dom.length);let Q=Boolean(H&&Y&&((ie=x==null?void 0:x.dom)==null?void 0:ie.every(re=>re.includes("document"))));return[`it${gO(A)}(${x.description?`'${x.description}'`:u}, ${E} () => {`,mp(k),dO(h,a,"","",{onlyDocumentDom:Q,trigger:c,component:y}),!j&&Pv(h,`'.${Ps}'`),x.dom&&CO(h,x.dom),hO(S,h,"",Q),"});"].filter(re=>re)}function bO(r,u,a,c,h){const{extraCode:y,skip:S,props:x,trigger:A,variables:k,description:E}=h,j=r.trigger||A,H=S?".skip":"",Y=Mv(j,a),Q=u.component===c?"props":u.component,ae=E?`'${Q}.${u.field_name}: a function with params${E?`, ${E}`:""}'`:`'${Q}.${u.field_name} is a function with params'`,ie=[` -it${H}(${ae}, ${Y} () => {`,mp(k),"const fn = vi.fn();",Ao(a,c,{[u.field_name]:"/-fn-/",...x},y),j&&_h(j,a),Ch(a,r.params,{tnodeProps:!0}).join(` -`),"})"].filter(re=>re);if(a.indexOf("Vue")!==-1){const re=a==="Vue(PC)"?"scopedSlots":"v-slots",N=`slots.${u.field_name}: a function with params${E?`, ${E}`:""}`||`slots.${u.field_name} is a function with params`;ie.push(`it${H}('${N}', ${Y}() => {`,mp(k),"const fn = vi.fn();",Ao(a,c,{[re]:`{ '${u.field_name}': fn }`,...x},y),_h(j,a),Ch(a,r.params).join(` +}`;var je=Nd(function(){return Ve(w,Se+"return "+oe).apply(a,L)});if(je.source=oe,jc(je))throw je;return je}function u0(n){return at(n).toLowerCase()}function f0(n){return at(n).toUpperCase()}function c0(n,s,f){if(n=at(n),n&&(f||s===a))return ul(n);if(!n||!(s=Or(s)))return n;var g=Xr(n),C=Xr(s),w=xn(g,C),L=Ka(g,C)+1;return Vn(g,w,L).join("")}function p0(n,s,f){if(n=at(n),n&&(f||s===a))return n.slice(0,dl(n)+1);if(!n||!(s=Or(s)))return n;var g=Xr(n),C=Ka(g,Xr(s))+1;return Vn(g,0,C).join("")}function d0(n,s,f){if(n=at(n),n&&(f||s===a))return n.replace(Ha,"");if(!n||!(s=Or(s)))return n;var g=Xr(n),C=xn(g,Xr(s));return Vn(g,C).join("")}function h0(n,s){var f=He,g=tt;if(Pt(s)){var C="separator"in s?s.separator:C;f="length"in s?Be(s.length):f,g="omission"in s?Or(s.omission):g}n=at(n);var w=n.length;if(la(n)){var L=Xr(n);w=L.length}if(f>=w)return n;var M=f-ua(g);if(M<1)return g;var W=L?Vn(L,0,M).join(""):n.slice(0,M);if(C===a)return W+g;if(L&&(M+=W.length-M),Hc(C)){if(n.slice(M).search(C)){var ee,te=W;for(C.global||(C=Ja(C.source,at(Mo.exec(C))+"g")),C.lastIndex=0;ee=C.exec(te);)var oe=ee.index;W=W.slice(0,oe===a?M:oe)}}else if(n.indexOf(Or(C),M)!=M){var ge=W.lastIndexOf(C);ge>-1&&(W=W.slice(0,ge))}return W+g}function g0(n){return n=at(n),n&&_t.test(n)?n.replace(Jt,wu):n}var v0=Oa(function(n,s,f){return n+(f?" ":"")+s.toUpperCase()}),qc=uf("toUpperCase");function Id(n,s,f){return n=at(n),s=f?a:s,s===a?xu(n)?Au(n):ac(n):n.match(s)||[]}var Nd=Fe(function(n,s){try{return wr(n,a,s)}catch(f){return jc(f)?f:new Me(f)}}),m0=On(function(n,s){return Ir(s,function(f){f=Tt(f),Gn(n,f,Wc(n[f],n))}),n});function y0(n){var s=n==null?0:n.length,f=Ae();return n=s?ct(n,function(g){if(typeof g[1]!="function")throw new Nr(S);return[f(g[0]),g[1]]}):[],Fe(function(g){for(var C=-1;++Cze)return[];var f=yt,g=Nt(n,yt);s=Ae(s),n-=yt;for(var C=ll(g,s);++f0||s<0)?new Ee(f):(n<0?f=f.takeRight(-n):n&&(f=f.drop(n)),s!==a&&(s=Be(s),f=s<0?f.dropRight(-s):f.take(s-n)),f)},Ee.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},Ee.prototype.toArray=function(){return this.take(yt)},Fr(Ee.prototype,function(n,s){var f=/^(?:filter|find|map|reject)|While$/.test(s),g=/^(?:head|last)$/.test(s),C=T[g?"take"+(s=="last"?"Right":""):s],w=g||/^find/.test(s);!C||(T.prototype[s]=function(){var L=this.__wrapped__,M=g?[1]:arguments,W=L instanceof Ee,ee=M[0],te=W||Ne(L),oe=function(Ge){var Ye=C.apply(T,Bn([Ge],M));return g&&ge?Ye[0]:Ye};te&&f&&typeof ee=="function"&&ee.length!=1&&(W=te=!1);var ge=this.__chain__,Se=!!this.__actions__.length,ke=w&&!ge,je=W&&!Se;if(!w&&te){L=je?L:new Ee(this);var Le=n.apply(L,M);return Le.__actions__.push({func:mf,args:[oe],thisArg:a}),new et(Le,ge)}return ke&&je?n.apply(this,M):(Le=this.thru(oe),ke?g?Le.value()[0]:Le.value():Le)})}),Ir(["pop","push","shift","sort","splice","unshift"],function(n){var s=Jo[n],f=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",g=/^(?:pop|shift)$/.test(n);T.prototype[n]=function(){var C=arguments;if(g&&!this.__chain__){var w=this.value();return s.apply(Ne(w)?w:[],C)}return this[f](function(L){return s.apply(Ne(L)?L:[],C)})}}),Fr(Ee.prototype,function(n,s){var f=T[s];if(f){var g=f.name+"";Xe.call(Ii,g)||(Ii[g]=[]),Ii[g].push({name:s,func:f})}}),Ii[hs(a,re).name]=[{name:"wrapper",func:a}],Ee.prototype.clone=jt,Ee.prototype.reverse=to,Ee.prototype.value=gc,T.prototype.at=qm,T.prototype.chain=Vm,T.prototype.commit=Km,T.prototype.next=Ym,T.prototype.plant=Zm,T.prototype.reverse=Xm,T.prototype.toJSON=T.prototype.valueOf=T.prototype.value=Qm,T.prototype.first=T.prototype.head,Li&&(T.prototype[Li]=Jm),T},Un=hl();$i?(($i.exports=Un)._=Un,tl._=Un):st._=Un}).call(dn)})(bh,bh.exports);const{getItDescription:dO,getWrapper:hO,getSnapshotCase:gO,getDomExpectTruthy:Pv,getMountComponent:Ao,getEventArguments:Ch,getDelayCode:_h,getItAsync:Mv,getVariablesCode:mp}=Us,{getSkipCode:vO}=Ws,Ps="custom-node",mO="document.custom-node";function yO(r,u,a,c){let h=[];const{tnode:y,props:S,variables:x}=r;return Array.isArray(y)?y.forEach(A=>{const k={...r,tnode:A,props:{...A.props,...S},variables:[...A.variables||[],...x||[]]};k.tnode.description&&(k.tnode.description=`props.${u.field_name}: ${k.tnode.description}`),h=h.concat(xh(k,u,a,c),` +`)}):h=h.concat(xh(r,u,a,c)),h.filter(A=>A)}function xh(r,u,a,c){const{tnode:h,props:y,variables:S,snapshot:x,content:A,wrapper:k,trigger:E,skip:U}=r,H={content:A,wrapper:k};let Y="";if(a.indexOf("Vue")!==-1){const re=a==="Vue(PC)"?"h":"";Y=Ao(a,c,{[u.field_name]:`(${re}) => TNode`,...y},H)}else a.indexOf("React")!==-1&&(u.field_name==="children"&&c===u.component?Y=Ao(a,c,{...y},{...H,content:`TNode`}):Y=Ao(a,c,{[u.field_name]:`TNode`,...y},H));const Q=u.component===c?dO(u):`'${u.component}.${u.field_name} works fine'`;let ae=yp({itDesc:Q,componentCode:Y,trigger:h.trigger||E,framework:a,component:c,snapshot:x,tnode:h,skip:U,variables:S});const ie=bO(H,u,a,c,x,h,U,y,E,S);if(ie.length&&(ae=ae.concat(ie)),typeof h=="object"&&h.params){const re=CO(h,u,a,c,{extraCode:H,skip:U,props:y,trigger:E,variables:S,description:h.description});ae.push(re)}return ae}function bO(r,u,a,c,h,y,S,x,A,k){let E=[],U=[],H=[];if(a.indexOf("Vue")!==-1){const Y=u.field_type_text.join()==="Boolean,TNode",Q=a==="Vue(PC)"?"scopedSlots":"v-slots",ae=Q==="scopedSlots"?"h":"",ie={[Q]:`{ ${u.field_name}: (${ae}) => TNode }`,...x};Y&&(ie[u.field_name]=!0);const re=Ao(a,c,ie,r);E.push(` +`);const N=`'slots.${u.field_name} works fine'`;if(U=yp({itDesc:N,componentCode:re,trigger:y.trigger||A,framework:a,component:c,snapshot:h,tnode:y,skip:S,variables:k}),kebabCaseComponent(u.field_name)!==u.field_name){const B={[Q]:`{ '${kebabCaseComponent(u.field_name)}': (${ae}) => TNode }`,...x};Y&&(B[u.field_name]=!0);const q=Ao(a,c,B,r);E.push(` +`);const J=`'slots.${kebabCaseComponent(u.field_name)} works fine'`;H=yp({itDesc:J,componentCode:q,trigger:y.trigger||A,framework:a,component:c,snapshot:h,tnode:y,skip:S,variables:k})}}return U.length&&(E=E.concat(U)),H.length&&(E=E.concat(H)),E}function yp(r){var ie;const{itDesc:u,componentCode:a,trigger:c,framework:h,component:y,snapshot:S,tnode:x,skip:A,variables:k}=r,E=Mv(c,h),U=Boolean(x.dom&&x.dom.includes(mO)),H=Boolean(!c||c.indexOf("delay")!==-1||c&&c.indexOf("document")!==-1),Y=Boolean(x.dom&&x.dom.length);let Q=Boolean(H&&Y&&((ie=x==null?void 0:x.dom)==null?void 0:ie.every(re=>re.includes("document"))));return[`it${vO(A)}(${x.description?`'${x.description}'`:u}, ${E} () => {`,mp(k),hO(h,a,"","",{onlyDocumentDom:Q,trigger:c,component:y}),!U&&Pv(h,`'.${Ps}'`),x.dom&&_O(h,x.dom),gO(S,h,"",Q),"});"].filter(re=>re)}function CO(r,u,a,c,h){const{extraCode:y,skip:S,props:x,trigger:A,variables:k,description:E}=h,U=r.trigger||A,H=S?".skip":"",Y=Mv(U,a),Q=u.component===c?"props":u.component,ae=E?`'${Q}.${u.field_name}: a function with params${E?`, ${E}`:""}'`:`'${Q}.${u.field_name} is a function with params'`,ie=[` +it${H}(${ae}, ${Y} () => {`,mp(k),"const fn = vi.fn();",Ao(a,c,{[u.field_name]:"/-fn-/",...x},y),U&&_h(U,a),Ch(a,r.params,{tnodeProps:!0}).join(` +`),"})"].filter(re=>re);if(a.indexOf("Vue")!==-1){const re=a==="Vue(PC)"?"scopedSlots":"v-slots",N=`slots.${u.field_name}: a function with params${E?`, ${E}`:""}`||`slots.${u.field_name} is a function with params`;ie.push(`it${H}('${N}', ${Y}() => {`,mp(k),"const fn = vi.fn();",Ao(a,c,{[re]:`{ '${u.field_name}': fn }`,...x},y),_h(U,a),Ch(a,r.params).join(` `),"})")}return ie.join(` -`)}function CO(r,u){return(Array.isArray(u)?u:[u]).map(c=>Pv(r,`'${c}'`)).join(` -`)}var _O={generateTNodeElement:mO};const{getArrayCode:Sh,getItDescription:xO,getMountComponent:bp,getWrapper:Cp,getSnapshotCase:_p,getAttributeExpect:Th,getDomAttributeExpect:SO,getItAsync:Iv,getPresetsExpect:xp,getCategoryDesc:Nv}=js,{getSkipCode:Sp}=Ws;function TO(r,u,a,c){const h=wO(r,u,a,c);return h&&h.filter(y=>y)}function wO(r,u,a,c){const{attribute:h,attributeDom:y,props:S,snapshot:x,content:A,wrapper:k,skip:E,trigger:j}=r,H={content:A,wrapper:k};if(typeof h!="object")return;if(Array.isArray(h))return $O(r,u,a,c,y,j);const Y=Iv(j,a),Q=Object.keys(h)[0],ae=h[Q],ie=u.field_enum&&u.field_enum.split("/");if(Array.isArray(ae)&&ie.length){const re=bp(a,c,{[u.field_name]:"/-item-/",...S},H),N=Nv(u,c);return[`const attributeValues = ${Sh(ae)};`,`${Sh(ie)}.forEach((item, index) => {`,`it${Sp(E)}(\`${N}.${u.field_name} is equal to \${item}\`, ${Y} () => {`,Cp(a,re,y),j&&xp(j,a,c),Th(a,{[Q]:"/attributeValues[index]/"},"",y),_p(x,a),"});","});"].filter(q=>q)}if(typeof ae=="string"&&Q===u.field_name){const re=bp(a,c,{[u.field_name]:ae,...S},H);return[`it${Sp(E)}(${xO(u)},${Y} () => {`,Cp(a,re,y),j&&xp(j,a,c),Th(a,{[Q]:ae},"",y),_p(x,a),"});"].filter(B=>B)}}function $O(r,u,a,c,h,y){const{attribute:S,props:x,snapshot:A,content:k,wrapper:E,skip:j}=r,H={content:k,wrapper:E},Y=Iv(y,a),Q=AO(S);return S.map(({value:ae,expect:ie,props:re,description:N})=>{const B={...re,...x},q=bp(a,c,{[u.field_name]:ae,...B},H),ne=`${Nv(u,c)}.${u.field_name} ${N||`is equal to ${ae}`}`;return[`it${Sp(j)}(\`${ne}\`,${Y} () => {`,Cp(a,q,h,"",{onlyDocumentDom:Q}),y&&xp(y,a,c),SO(a,ie,c),_p(A,a,"",Q),"});"].filter(xe=>xe).join(` -`)})}function AO(r){if(!!Array.isArray(r)){for(let u=0,a=r.length;u{const j=E.props,H=E.variables,Y=E.description,Q=E.snapshot;delete E.props,delete E.variables,delete E.description,delete E.snapshot,u.field_enum="";const ae={...r,dom:E.dom,props:{...j,...S},variables:[...H||[],...x||[]],description:Y||A,snapshot:Q||k};ae.description&&(ae.description=`props.${u.field_name}: ${ae.description}`),h=h.concat(Ah(ae,u,a,c),` -`)}):h=h.concat(Ah(r,u,a,c)),h&&h.filter(E=>E)}function Ah(r,u,a,c){const{props:h,variables:y,dom:S,snapshot:x,content:A,wrapper:k,trigger:E,skip:j,description:H}=r,Y={content:A,wrapper:k},Q=DO(E,a),ae=kO(u,c);if(typeof S=="string"&&u.field_type_text.includes("Boolean")){const ie=As(a,c,{...h},Y),re=As(a,c,{[u.field_name]:!1,...h},Y),N=As(a,c,{[u.field_name]:!0,...h},Y),B=!E||E&&E.indexOf("document")!==-1||E.indexOf("delay")!==-1,q=Boolean(S&&S.indexOf("document")!==-1&&B),J=H||`${ae}.${u.field_name}: ${c} contains element \`${S}\``;return[`it${Of(j)}('${J}', ${Q}() => {`,Ef(y),`// ${u.field_name} default value is ${u.field_default_value}`,Es(a,ie,"","",{onlyDocumentDom:q}),E&&Os(E,a,c),u.field_default_value==="true"?Mf(a,`'${S}'`):$h(a,`'${S}'`),`// ${u.field_name} = false`,Es(a,re,void 0,"1",{onlyDocumentDom:q}),E&&Os(E,a,c),$h(a,`'${S}'`,"1"),`// ${u.field_name} = true`,Es(a,N,void 0,"2",{onlyDocumentDom:q}),E&&Os(E,a,c),Mf(a,`'${S}'`,"2"),Af(x,a,"2",q),"})"].filter(de=>de)}if(Array.isArray(S))if(u.field_enum){const ie=u.field_enum.split("/"),re=`${u.field_name}ExpectedDom`,N=As(a,c,{[u.field_name]:"/-item-/",...h},Y),B=S.find(ne=>typeof ne=="string"&&ne.includes("document"))?"document":"",q=H?`'${H}'`:`\`${ae}.${u.field_name} is equal to \${item}\``;return[`const ${re} = ${wh(S.map(ne=>ne.replace("document","")))};`,`${wh(ie)}.forEach((item, index) => { - it${Of(j)}(${q}, ${Q} () => {`,Ef(y),Es(a,N),E&&Os(E,a,c),Mf(a,`${B}${re}[index]`),Af(x,a),"});","});"].filter(ne=>ne)}else{let ie=[];const re=Eh(S,E);return S.forEach(N=>{const B=As(a,c,{...h},Y);let q=JSON.stringify(N);q=q.length>100?"":` \`${q}\` should exist`;const J=H||`${ae}.${u.field_name} works fine.${q}`,ne=[`it${Of(j)}('${J}',${Q} () => {`,Ef(y),Es(a,B,"","",{onlyDocumentDom:re}),E&&Os(E,a,c),Oh(a,N),Af(x,a,"",re),`}); -`];ie=ie.concat(ne)}),ie.filter(N=>N)}if(!Array.isArray(S)&&typeof S=="object"){let ie=[];const re=Eh(S,E);return Object.entries(S).forEach(([N,B])=>{const q=As(a,c,{[u.field_name]:N,...h},Y),J=H||`${ae}.${u.field_name} is equal ${N.replace(/'/g,"")}`,ne=[`it${Of(j)}('${J}', ${Q} () => {`,Ef(y),Es(a,q,"","",{onlyDocumentDom:re}),E&&Os(E,a,c),Oh(a,B),Af(x,a,"",re),`}); -`];ie=ie.concat(ne)}),ie.filter(N=>N)}}function Eh(r,u){let a=!0,c=[];const h=S=>{Array.isArray(S)?typeof S[0]=="object"&&S[0].dom?S.forEach(x=>{h(x)}):c=c.concat(S):typeof S=="object"&&(c=Object.values(S))};return h(r),c.forEach(S=>{if(typeof S=="string"&&!S.includes("document")){a=!1;return}typeof S=="object"&&Object.keys(S).forEach(x=>{x.includes("document")||(a=!1)})}),Boolean(!u||u&&u.indexOf("document")!==-1||u.indexOf("delay")!==-1)||(a=!1),a}function Oh(r,u){if(typeof u=="string")return Mf(r,`'${u}'`);if(typeof u=="object"&&!Array.isArray(u))return OO(r,u)}var PO={generateDomUnitCase:LO};const{kebabCaseComponent:MO}=vv,IO=Np,{getWrapper:Dh,getMountComponent:kh,getDomExpectTruthy:NO,getItDescription:RO,formatToTriggerAndDom:Rv,getFireEventCode:Fv,getDomCountExpectCode:FO,getClearDomInDocumentCode:BO,getReactFireEventAsync:Lh,getEventFunctions:WO,getEventName:jO,getEventFnName:Bv,getEventArguments:Wv,getPresetsExpect:Ph,getItAsync:UO}=js,{getSkipCode:Mh}=Ws;function HO(r,u,a,c){const h=zO(r,u,a,c);return h&&h.filter(y=>y)}function zO(r,u,a,c){const{props:h,trigger:y,content:S,wrapper:x,delay:A,skip:k}=r;let{event:E}=r;h&&Array.isArray(E)&&(E=E.map(Q=>({...Q,props:{...h,...Q.props}})));const j={content:S,wrapper:x},H=JO(E)&&a.indexOf("Vue")===-1,Y=UO(y,a);if(typeof E=="object"&&!Array.isArray(E)){const ae=Object.keys(E)[0],ie=Rv({trigger:ae}),re=ie.trigger,N=ie.triggerDom,q={events:YO(a,{[re]:"fn"})};u.field_type_text[0]==="Boolean"&&(q[u.field_name]=!0);const J=kh(a,c,q,j),{reactAsync:ne}=Lh([{trigger:re,delay:A}],a),de=a.indexOf("Vue")!==-1,xe=u.field_category_text?IO(u.field_category_text):"interactive";return[`it${Mh(k)}('${xe}.${u.field_name} works fine', ${de||ne||Y?"async":""} () => { +`)}function _O(r,u){return(Array.isArray(u)?u:[u]).map(c=>Pv(r,`'${c}'`)).join(` +`)}var xO={generateTNodeElement:yO};const{getArrayCode:Sh,getItDescription:SO,getMountComponent:bp,getWrapper:Cp,getSnapshotCase:_p,getAttributeExpect:Th,getDomAttributeExpect:TO,getItAsync:Iv,getPresetsExpect:xp,getCategoryDesc:Nv}=Us,{getSkipCode:Sp}=Ws;function wO(r,u,a,c){const h=$O(r,u,a,c);return h&&h.filter(y=>y)}function $O(r,u,a,c){const{attribute:h,attributeDom:y,props:S,snapshot:x,content:A,wrapper:k,skip:E,trigger:U}=r,H={content:A,wrapper:k};if(typeof h!="object")return;if(Array.isArray(h))return AO(r,u,a,c,y,U);const Y=Iv(U,a),Q=Object.keys(h)[0],ae=h[Q],ie=u.field_enum&&u.field_enum.split("/");if(Array.isArray(ae)&&ie.length){const re=bp(a,c,{[u.field_name]:"/-item-/",...S},H),N=Nv(u,c);return[`const attributeValues = ${Sh(ae)};`,`${Sh(ie)}.forEach((item, index) => {`,`it${Sp(E)}(\`${N}.${u.field_name} is equal to \${item}\`, ${Y} () => {`,Cp(a,re,y),U&&xp(U,a,c),Th(a,{[Q]:"/attributeValues[index]/"},"",y),_p(x,a),"});","});"].filter(q=>q)}if(typeof ae=="string"&&Q===u.field_name){const re=bp(a,c,{[u.field_name]:ae,...S},H);return[`it${Sp(E)}(${SO(u)},${Y} () => {`,Cp(a,re,y),U&&xp(U,a,c),Th(a,{[Q]:ae},"",y),_p(x,a),"});"].filter(B=>B)}}function AO(r,u,a,c,h,y){const{attribute:S,props:x,snapshot:A,content:k,wrapper:E,skip:U}=r,H={content:k,wrapper:E},Y=Iv(y,a),Q=EO(S);return S.map(({value:ae,expect:ie,props:re,description:N})=>{const B={...re,...x},q=bp(a,c,{[u.field_name]:ae,...B},H),ne=`${Nv(u,c)}.${u.field_name} ${N||`is equal to ${ae}`}`;return[`it${Sp(U)}(\`${ne}\`,${Y} () => {`,Cp(a,q,h,"",{onlyDocumentDom:Q}),y&&xp(y,a,c),TO(a,ie,c),_p(A,a,"",Q),"});"].filter(xe=>xe).join(` +`)})}function EO(r){if(!!Array.isArray(r)){for(let u=0,a=r.length;u{const U=E.props,H=E.variables,Y=E.description,Q=E.snapshot;delete E.props,delete E.variables,delete E.description,delete E.snapshot,u.field_enum="";const ae={...r,dom:E.dom,props:{...U,...S},variables:[...H||[],...x||[]],description:Y||A,snapshot:Q||k};ae.description&&(ae.description=`props.${u.field_name}: ${ae.description}`),h=h.concat(Ah(ae,u,a,c),` +`)}):h=h.concat(Ah(r,u,a,c)),h&&h.filter(E=>E)}function Ah(r,u,a,c){const{props:h,variables:y,dom:S,snapshot:x,content:A,wrapper:k,trigger:E,skip:U,description:H}=r,Y={content:A,wrapper:k},Q=kO(E,a),ae=LO(u,c);if(typeof S=="string"&&u.field_type_text.includes("Boolean")){const ie=As(a,c,{...h},Y),re=As(a,c,{[u.field_name]:!1,...h},Y),N=As(a,c,{[u.field_name]:!0,...h},Y),B=!E||E&&E.indexOf("document")!==-1||E.indexOf("delay")!==-1,q=Boolean(S&&S.indexOf("document")!==-1&&B),J=H||`${ae}.${u.field_name}: ${c} contains element \`${S}\``;return[`it${Of(U)}('${J}', ${Q}() => {`,Ef(y),`// ${u.field_name} default value is ${u.field_default_value}`,Es(a,ie,"","",{onlyDocumentDom:q}),E&&Os(E,a,c),u.field_default_value==="true"?Mf(a,`'${S}'`):$h(a,`'${S}'`),`// ${u.field_name} = false`,Es(a,re,void 0,"1",{onlyDocumentDom:q}),E&&Os(E,a,c),$h(a,`'${S}'`,"1"),`// ${u.field_name} = true`,Es(a,N,void 0,"2",{onlyDocumentDom:q}),E&&Os(E,a,c),Mf(a,`'${S}'`,"2"),Af(x,a,"2",q),"})"].filter(de=>de)}if(Array.isArray(S))if(u.field_enum){const ie=u.field_enum.split("/"),re=`${u.field_name}ExpectedDom`,N=As(a,c,{[u.field_name]:"/-item-/",...h},Y),B=S.find(ne=>typeof ne=="string"&&ne.includes("document"))?"document":"",q=H?`'${H}'`:`\`${ae}.${u.field_name} is equal to \${item}\``;return[`const ${re} = ${wh(S.map(ne=>ne.replace("document","")))};`,`${wh(ie)}.forEach((item, index) => { + it${Of(U)}(${q}, ${Q} () => {`,Ef(y),Es(a,N),E&&Os(E,a,c),Mf(a,`${B}${re}[index]`),Af(x,a),"});","});"].filter(ne=>ne)}else{let ie=[];const re=Eh(S,E);return S.forEach(N=>{const B=As(a,c,{...h},Y);let q=JSON.stringify(N);q=q.length>100?"":` \`${q}\` should exist`;const J=H||`${ae}.${u.field_name} works fine.${q}`,ne=[`it${Of(U)}('${J}',${Q} () => {`,Ef(y),Es(a,B,"","",{onlyDocumentDom:re}),E&&Os(E,a,c),Oh(a,N),Af(x,a,"",re),`}); +`];ie=ie.concat(ne)}),ie.filter(N=>N)}if(!Array.isArray(S)&&typeof S=="object"){let ie=[];const re=Eh(S,E);return Object.entries(S).forEach(([N,B])=>{const q=As(a,c,{[u.field_name]:N,...h},Y),J=H||`${ae}.${u.field_name} is equal ${N.replace(/'/g,"")}`,ne=[`it${Of(U)}('${J}', ${Q} () => {`,Ef(y),Es(a,q,"","",{onlyDocumentDom:re}),E&&Os(E,a,c),Oh(a,B),Af(x,a,"",re),`}); +`];ie=ie.concat(ne)}),ie.filter(N=>N)}}function Eh(r,u){let a=!0,c=[];const h=S=>{Array.isArray(S)?typeof S[0]=="object"&&S[0].dom?S.forEach(x=>{h(x)}):c=c.concat(S):typeof S=="object"&&(c=Object.values(S))};return h(r),c.forEach(S=>{if(typeof S=="string"&&!S.includes("document")){a=!1;return}typeof S=="object"&&Object.keys(S).forEach(x=>{x.includes("document")||(a=!1)})}),Boolean(!u||u&&u.indexOf("document")!==-1||u.indexOf("delay")!==-1)||(a=!1),a}function Oh(r,u){if(typeof u=="string")return Mf(r,`'${u}'`);if(typeof u=="object"&&!Array.isArray(u))return DO(r,u)}var MO={generateDomUnitCase:PO};const{kebabCaseComponent:IO}=vv,NO=Np,{getWrapper:Dh,getMountComponent:kh,getDomExpectTruthy:RO,getItDescription:FO,formatToTriggerAndDom:Rv,getFireEventCode:Fv,getDomCountExpectCode:BO,getClearDomInDocumentCode:WO,getReactFireEventAsync:Lh,getEventFunctions:UO,getEventName:jO,getEventFnName:Bv,getEventArguments:Wv,getPresetsExpect:Ph,getItAsync:HO}=Us,{getSkipCode:Mh}=Ws;function zO(r,u,a,c){const h=GO(r,u,a,c);return h&&h.filter(y=>y)}function GO(r,u,a,c){const{props:h,trigger:y,content:S,wrapper:x,delay:A,skip:k}=r;let{event:E}=r;h&&Array.isArray(E)&&(E=E.map(Q=>({...Q,props:{...h,...Q.props}})));const U={content:S,wrapper:x},H=ZO(E)&&a.indexOf("Vue")===-1,Y=HO(y,a);if(typeof E=="object"&&!Array.isArray(E)){const ae=Object.keys(E)[0],ie=Rv({trigger:ae}),re=ie.trigger,N=ie.triggerDom,q={events:JO(a,{[re]:"fn"})};u.field_type_text[0]==="Boolean"&&(q[u.field_name]=!0);const J=kh(a,c,q,U),{reactAsync:ne}=Lh([{trigger:re,delay:A}],a),de=a.indexOf("Vue")!==-1,xe=u.field_category_text?NO(u.field_category_text):"interactive";return[`it${Mh(k)}('${xe}.${u.field_name} works fine', ${de||ne||Y?"async":""} () => { const fn = vi.fn();`,Dh(a,J,"","",{trigger:re,wrapper:x,onlyDocumentDom:H}),y&&Ph(y,a,c),Fv(a,{dom:N||"self",event:re,component:c,delay:A}),`${Wv(a,E[ae].arguments).join(` -`)}`,"});"].filter(He=>He)}else if(Array.isArray(E)){let Q=[];return E.forEach(ae=>{var X;const{props:ie,expect:re,description:N,wrapper:B}=ae,q={...j};B&&(q.wrapper=B);const J={...ie||{},events:WO(re,a,q)};u.field_type_text&&u.field_type_text[0]==="Boolean"&&J[u.field_name]===void 0&&(J[u.field_name]=!0);const ne=kh(a,c,J,q),{reactAsync:de}=Lh(re,a),xe=a.indexOf("Vue")!==-1||de||Y?"async":"",ve=(X=u.field_category_text)==null?void 0:X.toLocaleLowerCase(),He=ve?`${ve}.${u.field_name}: `:"",tt=N?`'${He}${N}'`:RO(u),gt=[`it${Mh(k)}(${tt}, ${xe} () => {`,GO(re),Dh(a,ne,"","",{trigger:KO(re),wrapper:q.wrapper,onlyDocumentDom:H}),y&&Ph(y,a,c),re.map((me,P)=>qO(me,P,a,c)).join(` +`)}`,"});"].filter(He=>He)}else if(Array.isArray(E)){let Q=[];return E.forEach(ae=>{var X;const{props:ie,expect:re,description:N,wrapper:B}=ae,q={...U};B&&(q.wrapper=B);const J={...ie||{},events:UO(re,a,q)};u.field_type_text&&u.field_type_text[0]==="Boolean"&&J[u.field_name]===void 0&&(J[u.field_name]=!0);const ne=kh(a,c,J,q),{reactAsync:de}=Lh(re,a),xe=a.indexOf("Vue")!==-1||de||Y?"async":"",ve=(X=u.field_category_text)==null?void 0:X.toLocaleLowerCase(),He=ve?`${ve}.${u.field_name}: `:"",tt=N?`'${He}${N}'`:FO(u),gt=[`it${Mh(k)}(${tt}, ${xe} () => {`,qO(re),Dh(a,ne,"","",{trigger:YO(re),wrapper:q.wrapper,onlyDocumentDom:H}),y&&Ph(y,a,c),re.map((me,P)=>VO(me,P,a,c)).join(` `),"});"];Q=Q.filter(me=>me).concat(gt,` -`)}),Q}}function GO(r){return r.map(({event:u},a)=>{if(!u)return"";const c=Object.keys(u).map(h=>{const[y]=h.split(".");return`const ${Bv(y,a)} = vi.fn();`});return c&&c.join(` +`)}),Q}}function qO(r){return r.map(({event:u},a)=>{if(!u)return"";const c=Object.keys(u).map(h=>{const[y]=h.split(".");return`const ${Bv(y,a)} = vi.fn();`});return c&&c.join(` `)}).filter(u=>u).join(` -`)}function qO(r,u,a,c){const{exist:h,event:y,delay:S,clearElementAtEnd:x}=r,{triggerDom:A="self",trigger:k}=Rv(r);return[Fv(a,{dom:A,event:k,component:c,delay:S},"",u),VO(a,h,u),y&&Object.entries(y).map(([j,H])=>{const[Y,Q]=j.split("."),ae=Bv(Y,u);return[Wv(a,H,{fnName:ae,calls:Q}).join("")].join(` +`)}function VO(r,u,a,c){const{exist:h,event:y,delay:S,clearElementAtEnd:x}=r,{triggerDom:A="self",trigger:k}=Rv(r);return[Fv(a,{dom:A,event:k,component:c,delay:S},"",u),KO(a,h,u),y&&Object.entries(y).map(([U,H])=>{const[Y,Q]=U.split("."),ae=Bv(Y,u);return[Wv(a,H,{fnName:ae,calls:Q}).join("")].join(` `)}).join(` -`),x&&BO(x,a)].filter(j=>j).join("")}function VO(r,u,a){return((Array.isArray(u)||!u?u:[u])||[]).map(h=>typeof h=="object"?FO(r,h,"",a):NO(r,`'${h}'`)).join(` -`)}function KO(r){if(!Array.isArray(r))return;let u="";return r.forEach(a=>{a.trigger&&a.trigger.includes("focus")&&(u="focus")}),u}function YO(r,u){if(r==="Vue(PC)"){const c=[];return Object.entries(u).forEach(([h,y])=>{c.push(`'${MO(h)}': ${y},`)}),`on={{ ${c.join(" ")} }}`}const a=[];return Object.entries(u).forEach(([c,h])=>{a.push(`${jO(c)}={${h}}`)}),a.join(` -`)}function JO(r){if(!Array.isArray(r))return!1;for(let u=0,a=r.length;uy.replace(A,k))),typeof h=="object"&&!Array.isArray(h)&&Object.keys(h).forEach(k=>{if(a.indexOf(k)!==-1){const E=h[k];S.push(...E);const j=E.map(H=>y.replace(A,H)).join(` -`);x.push(j)}}),{copyCode:x.join(` -`),wrappers:S}}var QO={copyUnitTestsToOtherWrapper:XO};const eD=0,tD={field_category:[{label:"Props",value:"1"},{label:"Events",value:"2"},{label:"Functions",value:"4"},{label:"Extends",value:"16"},{label:"Return",value:"32"},{label:"",value:"64"},{label:"External Classes",value:"128"},{label:"CSS Variables",value:"256"}],platform:[{label:"PC",value:"1"},{label:"Mobile",value:"2"},{label:"MP",value:"3"}],framework:[{label:"Vue",value:"1"},{label:"React",value:"2"},{label:"MP",value:"3"}],platform_framework:[{label:"Vue(PC)",value:"1"},{label:"React(PC)",value:"2"},{label:"Angular(PC)",value:"4"},{label:"Vue(Mobile)",value:"8"},{label:"React(Mobile)",value:"16"},{label:"Angular(Mobile)",value:"32"},{label:"Miniprogram",value:"64"}],field_type:[{label:"String",value:"1"},{label:"Number",value:"2"},{label:"Boolean",value:"4"},{label:"Object",value:"8"},{label:"Array",value:"16"},{label:"Function",value:"32"},{label:"TNode",value:"64"},{label:"Date",value:"128"},{label:"File",value:"256"},{label:"any",value:"512"}],components:[{value:"$Dialog",label:"\u5BF9\u8BDD\u6846\u63D2\u4EF6",type:"plugin"},{value:"$Dialog.alert",label:"\u5BF9\u8BDD\u6846\u63D2\u4EF6",type:"plugin"},{value:"$Dialog.confirm",label:"\u5BF9\u8BDD\u6846\u63D2\u4EF6",type:"plugin"},{value:"$Drawer",label:"\u5BF9\u8BDD\u6846\u63D2\u4EF6",type:"plugin"},{value:"$Loading",label:"\u52A0\u8F7D\u4E2D\u63D2\u4EF6",type:"plugin"},{value:"$Message",label:"\u5168\u5C40\u63D0\u9192\u63D2\u4EF6",type:"plugin"},{value:"$Message.close",label:"\u5173\u95ED\u5168\u5C40\u63D0\u9192",type:"plugin"},{value:"$Message.closeAll",label:"\u5173\u95ED\u6240\u6709\u5168\u5C40\u63D0\u9192",type:"plugin"},{value:"$Message.config",label:"\u5168\u5C40\u63D0\u9192\u63D2\u4EF6",type:"plugin"},{value:"$Message.error",label:"\u5168\u5C40\u63D0\u9192\u63D2\u4EF6",type:"plugin"},{value:"$Message.info",label:"\u5168\u5C40\u63D0\u9192\u63D2\u4EF6",type:"plugin"},{value:"$Message.loading",label:"\u5168\u5C40\u63D0\u9192\u63D2\u4EF6",type:"plugin"},{value:"$Message.question",label:"\u5168\u5C40\u63D0\u9192\u63D2\u4EF6",type:"plugin"},{value:"$Message.success",label:"\u5168\u5C40\u63D0\u9192\u63D2\u4EF6",type:"plugin"},{value:"$Message.warning",label:"\u5168\u5C40\u63D0\u9192\u63D2\u4EF6",type:"plugin"},{value:"$Notification",label:"\u6D88\u606F\u901A\u77E5\u63D2\u4EF6",type:"plugin"},{value:"$Notification.close",label:"\u5173\u95ED\u6D88\u606F\u901A\u77E5",type:"plugin"},{value:"$Notification.closeAll",label:"\u5173\u95ED\u6240\u6709\u6D88\u606F\u901A\u77E5",type:"plugin"},{value:"$Notification.config",label:"\u6D88\u606F\u901A\u77E5\u63D2\u4EF6",type:"plugin"},{value:"$Notification.error",label:"\u6D88\u606F\u901A\u77E5\u63D2\u4EF6",type:"plugin"},{value:"$Notification.info",label:"\u6D88\u606F\u901A\u77E5\u63D2\u4EF6",type:"plugin"},{value:"$Notification.success",label:"\u6D88\u606F\u901A\u77E5\u63D2\u4EF6",type:"plugin"},{value:"$Notification.warning",label:"\u6D88\u606F\u901A\u77E5\u63D2\u4EF6",type:"plugin"},{value:"$Popup",label:"\u5168\u5C40\u6C14\u6CE1\u6846\u63D2\u4EF6",type:"plugin"},{value:"ActionSheetItem",label:"\u52A8\u4F5C\u9762\u677F\u9879\u7684\u914D\u7F6E",type:"TS"},{value:"Affix",label:"\u56FA\u9489"},{value:"Alert",label:"\u8B66\u544A\u63D0\u793A"},{value:"AlertConfig",label:"\u8B66\u544A\u63D0\u9192\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Anchor",label:"\u951A\u70B9"},{value:"AnchorConfig",label:"\u951A\u70B9\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"AnchorItem",label:"\u951A\u70B9\u9879"},{value:"AnchorTarget",label:"\u951A\u70B9\u76EE\u6807"},{value:"Aside",label:"\u5E03\u5C40-\u4FA7\u8FB9\u680F"},{value:"AutoComplete",label:"\u81EA\u52A8\u586B\u5145"},{value:"AutoCompleteConfig",label:"\u81EA\u52A8\u586B\u5145\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Avatar",label:"\u5934\u50CF"},{value:"AvatarGroup",label:"\u5934\u50CF\u7EC4"},{value:"BackTop",label:"\u56DE\u5230\u9876\u90E8"},{value:"Badge",label:"\u5FBD\u6807\u6570"},{value:"BaseTable",label:"\u57FA\u7840\u8868\u683C"},{value:"BaseTableCol",label:"\u57FA\u7840\u8868\u683C\u5217",type:"TS"},{value:"Breadcrumb",label:"\u9762\u5305\u5C51"},{value:"BreadcrumbItem",label:"\u9762\u5305\u5C51\u9879"},{value:"Button",label:"\u6309\u94AE"},{value:"Calendar",label:"\u65E5\u5386"},{value:"CalendarCell",label:"\u65E5\u5386\u9879\u53C2\u6570",type:"TS"},{value:"CalendarConfig",label:"\u65E5\u5386\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"CalendarController",label:"\u65E5\u5386\u63A7\u5236\u5668",type:"TS"},{value:"Card",label:"\u5361\u7247"},{value:"Carousel",label:"\u8D70\u9A6C\u706F"},{value:"Cascader",label:"\u7EA7\u8054\u9009\u62E9"},{value:"CascaderConfig",label:"\u7EA7\u8054\u9009\u62E9\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Chat",label:"\u5BF9\u8BDD"},{value:"ChatAction",label:"\u5BF9\u8BDD\u64CD\u4F5C"},{value:"ChatContent",label:"\u5BF9\u8BDD\u5185\u5BB9"},{value:"ChatInput",label:"\u5BF9\u8BDD\u8F93\u5165\u6846"},{value:"ChatItem",label:"\u5BF9\u8BDD\u5355\u5143"},{value:"ChatLoading",label:"\u5BF9\u8BDD\u52A0\u8F7D"},{value:"ChatReasoning",label:"\u5BF9\u8BDD\u601D\u8003\u8FC7\u7A0B"},{value:"ChatSender",label:"\u5BF9\u8BDD\u8F93\u5165\u6846"},{value:"Checkbox",label:"\u591A\u9009\u6846"},{value:"CheckboxGroup",label:"\u591A\u9009\u6846\u7EC4"},{value:"CheckTag",label:"\u53EF\u9009\u6807\u7B7E"},{value:"CheckTagGroup",label:"\u53EF\u9009\u6807\u7B7E\u7EC4"},{value:"Col",label:"\u6805\u683C-\u7EB5\u5411"},{value:"Collapse",label:"\u6298\u53E0"},{value:"CollapsePanel",label:"\u6298\u53E0\u9762\u677F"},{value:"ColorPicker",label:"\u989C\u8272\u9009\u62E9\u5668"},{value:"ColorPickerConfig",label:"\u989C\u8272\u9009\u62E9\u5668\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"ColorPickerPanel",label:"\u989C\u8272\u9009\u62E9\u5668\u9762\u677F"},{value:"Comment",label:"\u8BC4\u8BBA"},{value:"ConfigProvider",label:"\u5168\u5C40\u7279\u6027\u914D\u7F6E"},{value:"Container",label:"\u5E03\u5C40\u5BB9\u5668"},{value:"Content",label:"\u5E03\u5C40-\u5185\u5BB9"},{value:"DatePicker",label:"\u65E5\u671F\u9009\u62E9\u5668"},{value:"DatePickerConfig",label:"\u65E5\u671F\u9009\u62E9\u5668\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"DatePickerPanel",label:"\u65E5\u671F\u9009\u62E9\u5668\u9762\u677F"},{value:"DateRangePicker",label:"\u65E5\u671F\u8303\u56F4\u9009\u62E9\u5668"},{value:"DateRangePickerPanel",label:"\u65E5\u671F\u8303\u56F4\u9009\u62E9\u5668\u9762\u677F"},{value:"Descriptions",label:"\u63CF\u8FF0\u5217\u8868"},{value:"DescriptionsConfig",label:"\u63CF\u8FF0\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"DescriptionsItem",label:"\u63CF\u8FF0\u9879"},{value:"Dialog",label:"\u5BF9\u8BDD\u6846"},{value:"DialogConfig",label:"\u5BF9\u8BDD\u6846\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"DialogInstance",label:"\u5BF9\u8BDD\u6846\u63D2\u4EF6\u5B9E\u4F8B",type:"TS"},{value:"DialogOptions",label:"\u5BF9\u8BDD\u6846\u63D2\u4EF6\u53C2\u6570",type:"TS"},{value:"Divider",label:"\u5206\u5272\u7EBF"},{value:"Drawer",label:"\u6A21\u6001\u62BD\u5C49"},{value:"DrawerConfig",label:"\u62BD\u5C49\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"DrawerInstance",label:"\u5BF9\u8BDD\u6846\u63D2\u4EF6\u5B9E\u4F8B",type:"TS"},{value:"DrawerOptions",label:"\u6A21\u6001\u62BD\u5C49\u63D2\u4EF6\u53C2\u6570",type:"TS"},{value:"Dropdown",label:"\u4E0B\u62C9\u83DC\u5355"},{value:"DropdownItem",label:"\u4E0B\u62C9\u83DC\u5355\u9009\u9879"},{value:"Empty",label:"\u7A7A\u72B6\u6001"},{value:"EmptyConfig",label:"\u7A7A\u72B6\u6001\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"EnhancedTable",label:"\u589E\u5F3A\u8868\u683C"},{value:"EnhancedTableCol",label:"\u589E\u5F3A\u8868\u683C\u5217",type:"TS"},{value:"Footer",label:"\u5E03\u5C40-\u5E95\u90E8\u5185\u5BB9"},{value:"Form",label:"\u8868\u5355"},{value:"FormConfig",label:"\u8868\u5355\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"FormErrorMessage",label:"\u8868\u5355\u6821\u9A8C\u89C4\u5219",type:"TS"},{value:"FormInstance",label:"\u8868\u5355\u793A\u4F8B",type:"TS",framework:["React(PC)","React(Mobile)"]},{value:"FormItem",label:"\u8868\u5355\u5143\u7D20"},{value:"FormList",label:"\u52A8\u6001\u8868\u5355\u5143\u7D20"},{value:"FormRule",label:"\u8868\u5355\u6821\u9A8C\u89C4\u5219",type:"TS"},{value:"GlobalConfigProvider",label:"\u5168\u5C40\u914D\u7F6E(\u662F ConfigProvider \u7684\u522B\u540D)",type:"TS"},{value:"Grid",label:"\u6805\u683C"},{value:"Guide",label:"\u5F15\u5BFC"},{value:"GuideConfig",label:"\u5F15\u5BFC\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"GuideStep",label:"\u5F15\u5BFC\u6B65\u9AA4",type:"TS"},{value:"Header",label:"\u5E03\u5C40-\u5934\u90E8"},{value:"HeadMenu",label:"\u9876\u90E8\u5BFC\u822A\u83DC\u5355"},{value:"Icon",label:"\u56FE\u6807"},{value:"IconFont",label:"\u56FE\u6807\uFF08IconFont\uFF09"},{value:"IconSVG",label:"\u56FE\u6807\uFF08IconSVG\uFF09"},{value:"ImageConfig",label:"\u56FE\u7247\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"ImageViewerConfig",label:"\u56FE\u7247\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"InfinityScroll",label:"\u65E0\u9650\u6EDA\u52A8\u914D\u7F6E",type:"TS"},{value:"Input",label:"\u8F93\u5165\u6846"},{value:"InputAdornment",label:"\u8F93\u5165\u88C5\u9970\u5668"},{value:"InputConfig",label:"\u8F93\u5165\u6846\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"InputGroup",label:"\u8F93\u5165\u6846\u7EC4"},{value:"InputNumber",label:"\u6570\u5B57\u8F93\u5165\u6846"},{value:"Layout",label:"\u5E03\u5C40"},{value:"Link",label:"\u94FE\u63A5"},{value:"List",label:"\u5217\u8868"},{value:"ListConfig",label:"\u5217\u8868\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Loading",label:"\u52A0\u8F7D\u4E2D"},{value:"Mentions",label:"\u63D0\u53CA"},{value:"Menu",label:"\u4FA7\u8FB9\u5BFC\u822A\u83DC\u5355"},{value:"MenuGroup",label:"\u5BFC\u822A\u83DC\u5355\u7EC4"},{value:"MenuItem",label:"\u5BFC\u822A\u83DC\u5355\u9009\u9879"},{value:"Message",label:"\u5168\u5C40\u63D0\u9192"},{value:"MessageConfig",label:"\u6D88\u606F\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"MessageOptions",label:"\u5168\u5C40\u63D0\u9192\u6570\u636E\u7C7B\u578B",type:"TS"},{value:"Notification",label:"\u6D88\u606F\u901A\u77E5"},{value:"NotificationOptions",label:"\u5168\u5C40\u63D0\u9192\u6570\u636E\u7C7B\u578B",type:"TS"},{value:"Option",label:"\u9009\u62E9\u5668\u9009\u9879"},{value:"OptionGroup",label:"\u9009\u62E9\u5668\u9009\u9879\u7EC4"},{value:"PageHeader",label:"\u9875\u5934"},{value:"Pagination",label:"\u5206\u9875"},{value:"PaginationConfig",label:"\u5206\u9875\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Paragraph",label:"\u6BB5\u843D"},{value:"Popconfirm",label:"\u6C14\u6CE1\u786E\u8BA4\u6846"},{value:"PopconfirmConfig",label:"\u6C14\u6CE1\u786E\u8BA4\u6846\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Popup",label:"\u6C14\u6CE1\u6846"},{value:"PrimaryTable",label:"\u4E3B\u8868\u683C"},{value:"PrimaryTableCol",label:"\u4E3B\u8868\u683C\u5217",type:"TS"},{value:"Progress",label:"\u8FDB\u5EA6\u6761"},{value:"QRCode",label:"\u4E8C\u7EF4\u7801"},{value:"QRCodeConfig",label:"\u4E8C\u7EF4\u7801\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Radio",label:"\u5355\u9009\u6846"},{value:"RadioGroup",label:"\u5355\u9009\u6846\u7EC4"},{value:"RangeInput",label:"\u8303\u56F4\u8F93\u5165\u6846"},{value:"RangeInputPopup",label:"\u8303\u56F4\u8F93\u5165\u6846\u89E6\u53D1\u5668"},{value:"Rate",label:"\u8BC4\u5206"},{value:"RateConfig",label:"\u8BC4\u5206\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Result",label:"\u7ED3\u679C"},{value:"Row",label:"\u6805\u683C-\u6A2A\u5411"},{value:"Search",label:"\u641C\u7D22"},{value:"Select",label:"\u9009\u62E9\u5668"},{value:"SelectConfig",label:"\u9009\u62E9\u5668\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"SelectInput",label:"\u7B5B\u9009\u5668\u8F93\u5165\u6846"},{value:"Skeleton",label:"\u9AA8\u67B6\u5C4F"},{value:"Slider",label:"\u6ED1\u5757"},{value:"Space",label:"\u95F4\u8DDD"},{value:"Statistic",label:"\u7EDF\u8BA1\u6570\u503C"},{value:"StepItem",label:"\u6B65\u9AA4"},{value:"StepLoading",label:"\u5206\u6B65\u52A0\u8F7D"},{value:"Steps",label:"\u6B65\u9AA4\u6761"},{value:"StepsConfig",label:"\u6B65\u9AA4\u6761\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"StickyItem",label:"\u4FA7\u8FB9\u56FA\u9489\u9879"},{value:"StickyTool",label:"\u4FA7\u8FB9\u56FA\u9489"},{value:"Submenu",label:"\u4E8C\u7EA7\u5BFC\u822A"},{value:"Swiper",label:"\u8F6E\u64AD"},{value:"SwiperItem",label:"\u8F6E\u64AD\u9879"},{value:"SwiperNavigation",label:"\u8F6E\u64AD\u5BFC\u822A\u914D\u7F6E",type:"TS"},{value:"Switch",label:"\u5F00\u5173"},{value:"Table",label:"\u8868\u683C",type:"TS"},{value:"TableCol",label:"\u8868\u683C\u5217",type:"TS"},{value:"TableColumnController",label:"\u8868\u683C\u81EA\u5B9A\u4E49\u663E\u793A\u5217\u914D\u7F6E",type:"TS"},{value:"TableColumnFilter",label:"\u8868\u683C\u5217\u8FC7\u6EE4\u6761\u4EF6\u914D\u7F6E",type:"TS"},{value:"TableConfig",label:"\u8868\u683C\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"TableEditableCellConfig",label:"\u8868\u683C\u53EF\u7F16\u8F91\u5217\u914D\u7F6E",type:"TS"},{value:"TableRowState",label:"\u8868\u683C\u884C\u6570\u636E\u72B6\u6001",type:"TS"},{value:"TableTreeConfig",label:"\u8868\u683C\u6811\u5F62\u7ED3\u6784\u914D\u7F6E",type:"TS"},{value:"TabPanel",label:"\u9009\u9879\u5361\u9762\u677F"},{value:"Tabs",label:"\u9009\u9879\u5361"},{value:"Tag",label:"\u6807\u7B7E"},{value:"TagConfig",label:"\u6807\u7B7E\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"TagInput",label:"\u6807\u7B7E\u8F93\u5165\u6846"},{value:"Text",label:"\u6587\u672C"},{value:"Timeline",label:"\u65F6\u95F4\u8F74"},{value:"TimelineItem",label:"\u65F6\u95F4\u8F74"},{value:"TimePicker",label:"\u65F6\u95F4\u9009\u62E9\u5668"},{value:"TimePickerConfig",label:"\u65F6\u95F4\u9009\u62E9\u5668\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"TimePickerPanel",label:"\u65F6\u95F4\u9009\u62E9\u5668\u9762\u677F"},{value:"TimeRangePicker",label:"\u65F6\u95F4\u8303\u56F4\u9009\u62E9\u5668"},{value:"TimeRangePickerPanel",label:"\u65F6\u95F4\u8303\u56F4\u9009\u62E9\u5668\u9762\u677F"},{value:"Title",label:"\u6807\u9898"},{value:"Tooltip",label:"\u6587\u5B57\u63D0\u793A"},{value:"TooltipLite",label:"\u6587\u5B57\u63D0\u793A\u7B80\u7248"},{value:"Transfer",label:"\u7A7F\u68AD\u6846"},{value:"TransferConfig",label:"\u7A7F\u68AD\u6846\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Tree",label:"\u6811"},{value:"TreeConfig",label:"\u6811\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"TreeNodeModel",label:"\u6811\u8282\u70B9\u7C7B",type:"TS"},{value:"TreeNodeState",label:"\u6811\u8282\u70B9",type:"TS"},{value:"TreeSelect",label:"\u6811\u9009\u62E9"},{value:"TreeSelectConfig",label:"\u6811\u9009\u62E9\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"TScroll",label:"\u6EDA\u52A8\u914D\u7F6E",type:"TS"},{value:"Typography",label:"\u6392\u7248"},{value:"TypographyConfig",label:"\u6392\u7248\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"TypographyCopyable",label:"\u6392\u7248\u590D\u5236\u914D\u7F6E",type:"TS"},{value:"TypographyEllipsis",label:"\u6392\u7248\u7701\u7565\u914D\u7F6E",type:"TS"},{value:"Upload",label:"\u4E0A\u4F20"},{value:"UploadConfig",label:"\u4E0A\u4F20\u7EC4\u4EF6\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"UploadConfigDragger",label:"\u4E0A\u4F20\u7EC4\u4EF6\u5168\u5C40\u62D6\u62FD\u914D\u7F6E",type:"TS"},{value:"UploadConfigFile",label:"\u4E0A\u4F20\u7EC4\u4EF6\u6587\u4EF6\u98CE\u683C\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"UploadConfigFileList",label:"\u4E0A\u4F20\u7EC4\u4EF6\u6587\u4EF6\u5217\u8868\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"UploadConfigImage",label:"\u4E0A\u4F20\u7EC4\u4EF6\u56FE\u7247\u98CE\u683C\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"UploadConfigProgress",label:"\u4E0A\u4F20\u7EC4\u4EF6\u8FDB\u5EA6\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"UploadFile",label:"\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B",type:"TS"},{value:"UploadRequestOptions",label:"\u6587\u4EF6\u4E0A\u4F20\u53C2\u6570",type:"TS"},{value:"Watermark",label:"\u6C34\u5370"},{value:"WatermarkImage",label:"\u6C34\u5370\u56FE\u7247\u914D\u7F6E",type:"TS"},{value:"WatermarkText",label:"\u6C34\u5370\u6587\u5B57\u914D\u7F6E",type:"TS"},{value:"ActionSheet",label:"\u52A8\u4F5C\u9762\u677F"},{value:"ActionSheetConfig",label:"\u52A8\u4F5C\u9762\u677F\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Cell",label:"\u5355\u5143\u683C"},{value:"CellGroup",label:"\u5355\u5143\u683C\u7EC4"},{value:"CountDown",label:"\u5012\u8BA1\u65F6"},{value:"DateTimePicker",label:"\u65E5\u671F\u65F6\u95F4\u9009\u62E9\u5668"},{value:"DateTimePickerConfig",label:"\u65F6\u95F4\u9009\u62E9\u5668\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"DateTimeRangePicker",label:"\u65E5\u671F\u65F6\u95F4\u8303\u56F4\u9009\u62E9\u5668"},{value:"DialogCard",label:"\u5BF9\u8BDD\u6846\u5361\u7247"},{value:"DropdownMenu",label:"\u4E0B\u62C9\u83DC\u5355"},{value:"DropdownMenuConfig",label:"\u4E0B\u62C9\u83DC\u5355\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Fab",label:"\u60AC\u6D6E\u6309\u94AE"},{value:"GridItem",label:"\u5BAB\u683C\u5B50\u9879"},{value:"Image",label:"\u56FE\u7247"},{value:"ImageViewer",label:"\u56FE\u7247\u9884\u89C8"},{value:"Indexes",label:"\u7D22\u5F15"},{value:"IndexesAnchor",label:"\u7D22\u5F15\u951A\u70B9"},{value:"ListItem",label:"\u5217\u8868\u9879"},{value:"ListItemMeta",label:"\u5E26\u56FE\u7247\u7684\u5217\u8868\u9879"},{value:"Navbar",label:"\u5BFC\u822A\u6761"},{value:"NoticeBar",label:"\u516C\u544A\u680F"},{value:"Overlay",label:"\u906E\u7F69\u5C42"},{value:"PaginationMini",label:"\u8FF7\u4F60\u5206\u9875"},{value:"Picker",label:"\u9009\u62E9\u5668"},{value:"PickerConfig",label:"\u9009\u62E9\u5668\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"PickerItem",label:"\u9009\u62E9\u5668\u9009\u9879"},{value:"Popover",label:"\u6C14\u6CE1\u5F39\u51FA\u6846"},{value:"PullDownRefresh",label:"\u4E0B\u62C9\u5237\u65B0"},{value:"PullDownRefreshConfig",label:"\u4E0B\u62C9\u5237\u65B0\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"SearchField",label:"\u641C\u7D22\u6846"},{value:"SegmentedControl",label:"\u5206\u6BB5\u5668"},{value:"ScrollView",label:"\u6EDA\u52A8\u5BB9\u5668"},{value:"SideBar",label:"\u4FA7\u8FB9\u5BFC\u822A"},{value:"SideBarItem",label:"\u4FA7\u8FB9\u5BFC\u822A\u9879"},{value:"SwipeCell",label:"\u6ED1\u52A8\u64CD\u4F5C"},{value:"SwiperNav",label:"\u8F6E\u64AD\u5BFC\u822A"},{value:"Stepper",label:"\u6B65\u8FDB\u5668"},{value:"Sticky",label:"\u5438\u9876\u5BB9\u5668"},{value:"Tab",label:"\u9009\u9879\u5361"},{value:"TabBar",label:"\u6807\u7B7E\u680F"},{value:"TabBarConfig",label:"\u6807\u7B7E\u680F\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"TabBarItem",label:"\u6807\u7B7E\u680F\u9009\u9879"},{value:"Textarea",label:"\u6587\u672C\u8F93\u5165\u6846"},{value:"Toast",label:"\u8F7B\u63D0\u793A"},{value:"ToastOptions",label:"\u8F7B\u63D0\u793A\u63D2\u4EF6\u53C2\u6570",type:"TS"},{value:"Transition",label:"\u52A8\u753B"}]};var rD={code:eD,data:tD};const nD=HA,{parseJSON:iD,formatArrayToMap:aD,groupByComponent:oD,getApiComponentMapByFrameWork:jv,getParentByChildComponent:sD}=Ws,{getImportsConfig:lD,getImportsCode:uD,getMoreEventImports:fD,getSimulateEvents:cD,getVariableImports:pD}=iO,{generateClassNameUnitCase:dD}=cO,{generateTNodeElement:hD}=_O,{generateAttributeUnitCase:gD}=EO,{generateDomUnitCase:vD}=PO,{generateEventUnitCase:mD}=ZO,{copyUnitTestsToOtherWrapper:yD}=QO,{COMPONENT_API_MD_MAP:Uv}=Ms.exports,bD=rD,CD=bD.data.components,Ih={className:dD,attribute:gD,dom:vD,tnode:hD,event:mD};function _D(r,u,a,c){const h=aD(c,"platform_framework"),y=oD(a,h[r==="VueNext(PC)"?"Vue(PC)":r]),S=jv(Uv,r);return nD(y,S[u]||[u])}function Hv(r,u,a,c){let h=[],y=!1;const S=[],x=[];return Object.keys(c).forEach(A=>{if(!(!c[A]||typeof c[A]=="object"&&!Object.keys(c[A]).length)&&Ih[A]){const k=Ih[A](c,a,r,u);if(k&&k.length){if(h=h.concat([k.join(` -`)]),A==="event"){y=!0;const E=fD(r,c[A],c.wrapper,c.trigger);x.push(...E.importedTestUtils||[]),E.importedMounts&&E.importedMounts.length&&S.push(...E.importedMounts)}if(A==="tnode"&&typeof c[A]=="object"){const E=cD(c[A].trigger);E&&E.length&&x.push(...E)}if(c.copyTestToWrapper){const{copyCode:E,wrappers:j}=yD(k,c,r);E&&(h=h.concat(E),j.forEach(H=>{S.push(H)}))}}}}),x.push(...pD(c)),{oneUnitTests:h,hasEvent:y,importedMounts:S,importedTestUtils:x}}function zv(r,u){let a=[];const c={hasEvent:!1,importedComponents:[],importedMounts:new Set,needDefaultRender:!1,importedTestUtils:[]},h=[];Object.entries(r).forEach(([A,k])=>{if(!k)return;let E=A;if(CD.find(Q=>Q.value===A).type){const Q=jv(Uv,u);E=sD(Q,A)}const H={variables:[],beforeAll:[],afterEach:[],afterAll:[]};let Y=[];k.forEach(Q=>{var xe;if(!Q.test_description)return;const ae=`${Q.field_name}: ${Q.test_description} is not a valid JSON.`,ie=iD(Q.test_description,ae),re=ie.PC&&u.indexOf("PC")!==-1,N=ie.Mobile&&u.indexOf("Mobile")!==-1;if(!re&&!N)return;let B={};re&&(B=ie.PC),N&&(B=ie.Mobile),B.global&&Object.keys(H).forEach(ve=>{!B.global[ve]||H[ve].push(...B.global[ve])});const{oneUnitTests:q,hasEvent:J,importedMounts:ne,importedTestUtils:de}=Hv(u,E,Q,B);q&&q.length&&(Y=Y.concat(q),c.hasEvent=J||c.hasEvent,ne.forEach(ve=>{c.importedMounts.add(ve)})),de&&de.length&&(c.importedTestUtils=c.importedTestUtils.concat(de)),B.wrapper?c.importedMounts.add(B.wrapper):c.needDefaultRender=!0,ie.Mobile&&ie.Mobile.wrapper&&c.importedMounts.add(ie.Mobile.wrapper),h.push(...((xe=B.global)==null?void 0:xe.imports)||[])}),Y.length&&(SD(H,Y),Y.unshift(`describe('${E} Component', () => {`),Y.push(`}); -`),a=a.concat(Y),c.importedComponents.push(E))});const y=lD(c,a);return[uD(y,u,h)].concat(a).join(` +`),x&&WO(x,a)].filter(U=>U).join("")}function KO(r,u,a){return((Array.isArray(u)||!u?u:[u])||[]).map(h=>typeof h=="object"?BO(r,h,"",a):RO(r,`'${h}'`)).join(` +`)}function YO(r){if(!Array.isArray(r))return;let u="";return r.forEach(a=>{a.trigger&&a.trigger.includes("focus")&&(u="focus")}),u}function JO(r,u){if(r==="Vue(PC)"){const c=[];return Object.entries(u).forEach(([h,y])=>{c.push(`'${IO(h)}': ${y},`)}),`on={{ ${c.join(" ")} }}`}const a=[];return Object.entries(u).forEach(([c,h])=>{a.push(`${jO(c)}={${h}}`)}),a.join(` +`)}function ZO(r){if(!Array.isArray(r))return!1;for(let u=0,a=r.length;uy.replace(A,k))),typeof h=="object"&&!Array.isArray(h)&&Object.keys(h).forEach(k=>{if(a.indexOf(k)!==-1){const E=h[k];S.push(...E);const U=E.map(H=>y.replace(A,H)).join(` +`);x.push(U)}}),{copyCode:x.join(` +`),wrappers:S}}var eD={copyUnitTestsToOtherWrapper:QO};const tD=0,rD={field_category:[{label:"Props",value:"1"},{label:"Events",value:"2"},{label:"Functions",value:"4"},{label:"Extends",value:"16"},{label:"Return",value:"32"},{label:"",value:"64"},{label:"External Classes",value:"128"},{label:"CSS Variables",value:"256"},{label:"Slots",value:"512"}],platform:[{label:"PC",value:"1"},{label:"Mobile",value:"2"},{label:"MP",value:"3"}],framework:[{label:"Vue",value:"1"},{label:"React",value:"2"},{label:"MP",value:"3"}],platform_framework:[{label:"Vue(PC)",value:"1"},{label:"React(PC)",value:"2"},{label:"Vue(Mobile)",value:"8"},{label:"React(Mobile)",value:"16"},{label:"Miniprogram",value:"64"},{label:"UniApp",value:"128"}],field_type:[{label:"String",value:"1"},{label:"Number",value:"2"},{label:"Boolean",value:"4"},{label:"Object",value:"8"},{label:"Array",value:"16"},{label:"Function",value:"32"},{label:"TNode",value:"64"},{label:"Date",value:"128"},{label:"File",value:"256"},{label:"any",value:"512"}],components:[{value:"$Dialog",label:"\u5BF9\u8BDD\u6846\u63D2\u4EF6",type:"plugin"},{value:"$Dialog.alert",label:"\u5BF9\u8BDD\u6846\u63D2\u4EF6",type:"plugin"},{value:"$Dialog.confirm",label:"\u5BF9\u8BDD\u6846\u63D2\u4EF6",type:"plugin"},{value:"$Drawer",label:"\u5BF9\u8BDD\u6846\u63D2\u4EF6",type:"plugin"},{value:"$Loading",label:"\u52A0\u8F7D\u4E2D\u63D2\u4EF6",type:"plugin"},{value:"$Message",label:"\u5168\u5C40\u63D0\u9192\u63D2\u4EF6",type:"plugin"},{value:"$Message.close",label:"\u5173\u95ED\u5168\u5C40\u63D0\u9192",type:"plugin"},{value:"$Message.closeAll",label:"\u5173\u95ED\u6240\u6709\u5168\u5C40\u63D0\u9192",type:"plugin"},{value:"$Message.config",label:"\u5168\u5C40\u63D0\u9192\u63D2\u4EF6",type:"plugin"},{value:"$Message.error",label:"\u5168\u5C40\u63D0\u9192\u63D2\u4EF6",type:"plugin"},{value:"$Message.info",label:"\u5168\u5C40\u63D0\u9192\u63D2\u4EF6",type:"plugin"},{value:"$Message.loading",label:"\u5168\u5C40\u63D0\u9192\u63D2\u4EF6",type:"plugin"},{value:"$Message.question",label:"\u5168\u5C40\u63D0\u9192\u63D2\u4EF6",type:"plugin"},{value:"$Message.success",label:"\u5168\u5C40\u63D0\u9192\u63D2\u4EF6",type:"plugin"},{value:"$Message.warning",label:"\u5168\u5C40\u63D0\u9192\u63D2\u4EF6",type:"plugin"},{value:"$Notification",label:"\u6D88\u606F\u901A\u77E5\u63D2\u4EF6",type:"plugin"},{value:"$Notification.close",label:"\u5173\u95ED\u6D88\u606F\u901A\u77E5",type:"plugin"},{value:"$Notification.closeAll",label:"\u5173\u95ED\u6240\u6709\u6D88\u606F\u901A\u77E5",type:"plugin"},{value:"$Notification.config",label:"\u6D88\u606F\u901A\u77E5\u63D2\u4EF6",type:"plugin"},{value:"$Notification.error",label:"\u6D88\u606F\u901A\u77E5\u63D2\u4EF6",type:"plugin"},{value:"$Notification.info",label:"\u6D88\u606F\u901A\u77E5\u63D2\u4EF6",type:"plugin"},{value:"$Notification.success",label:"\u6D88\u606F\u901A\u77E5\u63D2\u4EF6",type:"plugin"},{value:"$Notification.warning",label:"\u6D88\u606F\u901A\u77E5\u63D2\u4EF6",type:"plugin"},{value:"$Popup",label:"\u5168\u5C40\u6C14\u6CE1\u6846\u63D2\u4EF6",type:"plugin"},{value:"ActionSheetItem",label:"\u52A8\u4F5C\u9762\u677F\u9879\u7684\u914D\u7F6E",type:"TS"},{value:"Affix",label:"\u56FA\u9489"},{value:"Alert",label:"\u8B66\u544A\u63D0\u793A"},{value:"AlertConfig",label:"\u8B66\u544A\u63D0\u9192\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Anchor",label:"\u951A\u70B9"},{value:"AnchorConfig",label:"\u951A\u70B9\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"AnchorItem",label:"\u951A\u70B9\u9879"},{value:"AnchorTarget",label:"\u951A\u70B9\u76EE\u6807"},{value:"Aside",label:"\u5E03\u5C40-\u4FA7\u8FB9\u680F"},{value:"AutoComplete",label:"\u81EA\u52A8\u586B\u5145"},{value:"AutoCompleteConfig",label:"\u81EA\u52A8\u586B\u5145\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Avatar",label:"\u5934\u50CF"},{value:"AvatarGroup",label:"\u5934\u50CF\u7EC4"},{value:"BackTop",label:"\u56DE\u5230\u9876\u90E8"},{value:"Badge",label:"\u5FBD\u6807\u6570"},{value:"BaseTable",label:"\u57FA\u7840\u8868\u683C"},{value:"BaseTableCol",label:"\u57FA\u7840\u8868\u683C\u5217",type:"TS"},{value:"Breadcrumb",label:"\u9762\u5305\u5C51"},{value:"BreadcrumbItem",label:"\u9762\u5305\u5C51\u9879"},{value:"Button",label:"\u6309\u94AE"},{value:"Calendar",label:"\u65E5\u5386"},{value:"CalendarCell",label:"\u65E5\u5386\u9879\u53C2\u6570",type:"TS"},{value:"CalendarConfig",label:"\u65E5\u5386\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"CalendarController",label:"\u65E5\u5386\u63A7\u5236\u5668",type:"TS"},{value:"Card",label:"\u5361\u7247"},{value:"Carousel",label:"\u8D70\u9A6C\u706F"},{value:"Cascader",label:"\u7EA7\u8054\u9009\u62E9"},{value:"CascaderConfig",label:"\u7EA7\u8054\u9009\u62E9\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Chat",label:"\u5BF9\u8BDD"},{value:"ChatAction",label:"\u5BF9\u8BDD\u64CD\u4F5C"},{value:"ChatContent",label:"\u5BF9\u8BDD\u5185\u5BB9"},{value:"ChatInput",label:"\u5BF9\u8BDD\u8F93\u5165\u6846"},{value:"ChatItem",label:"\u5BF9\u8BDD\u5355\u5143"},{value:"ChatLoading",label:"\u5BF9\u8BDD\u52A0\u8F7D"},{value:"ChatReasoning",label:"\u5BF9\u8BDD\u601D\u8003\u8FC7\u7A0B"},{value:"ChatSender",label:"\u5BF9\u8BDD\u8F93\u5165\u6846"},{value:"Checkbox",label:"\u591A\u9009\u6846"},{value:"CheckboxGroup",label:"\u591A\u9009\u6846\u7EC4"},{value:"CheckTag",label:"\u53EF\u9009\u6807\u7B7E"},{value:"CheckTagGroup",label:"\u53EF\u9009\u6807\u7B7E\u7EC4"},{value:"Col",label:"\u6805\u683C-\u7EB5\u5411"},{value:"Collapse",label:"\u6298\u53E0"},{value:"CollapsePanel",label:"\u6298\u53E0\u9762\u677F"},{value:"ColorPicker",label:"\u989C\u8272\u9009\u62E9\u5668"},{value:"ColorPickerConfig",label:"\u989C\u8272\u9009\u62E9\u5668\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"ColorPickerPanel",label:"\u989C\u8272\u9009\u62E9\u5668\u9762\u677F"},{value:"Comment",label:"\u8BC4\u8BBA"},{value:"ConfigProvider",label:"\u5168\u5C40\u7279\u6027\u914D\u7F6E"},{value:"Container",label:"\u5E03\u5C40\u5BB9\u5668"},{value:"Content",label:"\u5E03\u5C40-\u5185\u5BB9"},{value:"DatePicker",label:"\u65E5\u671F\u9009\u62E9\u5668"},{value:"DatePickerConfig",label:"\u65E5\u671F\u9009\u62E9\u5668\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"DatePickerPanel",label:"\u65E5\u671F\u9009\u62E9\u5668\u9762\u677F"},{value:"DateRangePicker",label:"\u65E5\u671F\u8303\u56F4\u9009\u62E9\u5668"},{value:"DateRangePickerPanel",label:"\u65E5\u671F\u8303\u56F4\u9009\u62E9\u5668\u9762\u677F"},{value:"Descriptions",label:"\u63CF\u8FF0\u5217\u8868"},{value:"DescriptionsConfig",label:"\u63CF\u8FF0\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"DescriptionsItem",label:"\u63CF\u8FF0\u9879"},{value:"Dialog",label:"\u5BF9\u8BDD\u6846"},{value:"DialogConfig",label:"\u5BF9\u8BDD\u6846\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"DialogInstance",label:"\u5BF9\u8BDD\u6846\u63D2\u4EF6\u5B9E\u4F8B",type:"TS"},{value:"DialogOptions",label:"\u5BF9\u8BDD\u6846\u63D2\u4EF6\u53C2\u6570",type:"TS"},{value:"Divider",label:"\u5206\u5272\u7EBF"},{value:"Drawer",label:"\u6A21\u6001\u62BD\u5C49"},{value:"DrawerConfig",label:"\u62BD\u5C49\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"DrawerInstance",label:"\u5BF9\u8BDD\u6846\u63D2\u4EF6\u5B9E\u4F8B",type:"TS"},{value:"DrawerOptions",label:"\u6A21\u6001\u62BD\u5C49\u63D2\u4EF6\u53C2\u6570",type:"TS"},{value:"Dropdown",label:"\u4E0B\u62C9\u83DC\u5355"},{value:"DropdownItem",label:"\u4E0B\u62C9\u83DC\u5355\u9009\u9879"},{value:"Empty",label:"\u7A7A\u72B6\u6001"},{value:"EmptyConfig",label:"\u7A7A\u72B6\u6001\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"EnhancedTable",label:"\u589E\u5F3A\u8868\u683C"},{value:"EnhancedTableCol",label:"\u589E\u5F3A\u8868\u683C\u5217",type:"TS"},{value:"Footer",label:"\u5E03\u5C40-\u5E95\u90E8\u5185\u5BB9"},{value:"Form",label:"\u8868\u5355"},{value:"FormConfig",label:"\u8868\u5355\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"FormErrorMessage",label:"\u8868\u5355\u6821\u9A8C\u89C4\u5219",type:"TS"},{value:"FormInstance",label:"\u8868\u5355\u793A\u4F8B",type:"TS",framework:["React(PC)","React(Mobile)"]},{value:"FormItem",label:"\u8868\u5355\u5143\u7D20"},{value:"FormList",label:"\u52A8\u6001\u8868\u5355\u5143\u7D20"},{value:"FormRule",label:"\u8868\u5355\u6821\u9A8C\u89C4\u5219",type:"TS"},{value:"GlobalConfigProvider",label:"\u5168\u5C40\u914D\u7F6E(\u662F ConfigProvider \u7684\u522B\u540D)",type:"TS"},{value:"Grid",label:"\u6805\u683C"},{value:"Guide",label:"\u5F15\u5BFC"},{value:"GuideConfig",label:"\u5F15\u5BFC\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"GuideStep",label:"\u5F15\u5BFC\u6B65\u9AA4",type:"TS"},{value:"Header",label:"\u5E03\u5C40-\u5934\u90E8"},{value:"HeadMenu",label:"\u9876\u90E8\u5BFC\u822A\u83DC\u5355"},{value:"Icon",label:"\u56FE\u6807"},{value:"IconFont",label:"\u56FE\u6807\uFF08IconFont\uFF09"},{value:"IconSVG",label:"\u56FE\u6807\uFF08IconSVG\uFF09"},{value:"ImageConfig",label:"\u56FE\u7247\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"ImageViewerConfig",label:"\u56FE\u7247\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"InfinityScroll",label:"\u65E0\u9650\u6EDA\u52A8\u914D\u7F6E",type:"TS"},{value:"Input",label:"\u8F93\u5165\u6846"},{value:"InputAdornment",label:"\u8F93\u5165\u88C5\u9970\u5668"},{value:"InputConfig",label:"\u8F93\u5165\u6846\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"InputGroup",label:"\u8F93\u5165\u6846\u7EC4"},{value:"InputNumber",label:"\u6570\u5B57\u8F93\u5165\u6846"},{value:"Layout",label:"\u5E03\u5C40"},{value:"Link",label:"\u94FE\u63A5"},{value:"List",label:"\u5217\u8868"},{value:"ListConfig",label:"\u5217\u8868\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Loading",label:"\u52A0\u8F7D\u4E2D"},{value:"Mentions",label:"\u63D0\u53CA"},{value:"Menu",label:"\u4FA7\u8FB9\u5BFC\u822A\u83DC\u5355"},{value:"MenuGroup",label:"\u5BFC\u822A\u83DC\u5355\u7EC4"},{value:"MenuItem",label:"\u5BFC\u822A\u83DC\u5355\u9009\u9879"},{value:"Message",label:"\u5168\u5C40\u63D0\u9192"},{value:"MessageConfig",label:"\u6D88\u606F\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"MessageOptions",label:"\u5168\u5C40\u63D0\u9192\u6570\u636E\u7C7B\u578B",type:"TS"},{value:"Notification",label:"\u6D88\u606F\u901A\u77E5"},{value:"NotificationOptions",label:"\u5168\u5C40\u63D0\u9192\u6570\u636E\u7C7B\u578B",type:"TS"},{value:"Option",label:"\u9009\u62E9\u5668\u9009\u9879"},{value:"OptionGroup",label:"\u9009\u62E9\u5668\u9009\u9879\u7EC4"},{value:"PageHeader",label:"\u9875\u5934"},{value:"Pagination",label:"\u5206\u9875"},{value:"PaginationConfig",label:"\u5206\u9875\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Paragraph",label:"\u6BB5\u843D"},{value:"Popconfirm",label:"\u6C14\u6CE1\u786E\u8BA4\u6846"},{value:"PopconfirmConfig",label:"\u6C14\u6CE1\u786E\u8BA4\u6846\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Popup",label:"\u6C14\u6CE1\u6846"},{value:"PrimaryTable",label:"\u4E3B\u8868\u683C"},{value:"PrimaryTableCol",label:"\u4E3B\u8868\u683C\u5217",type:"TS"},{value:"Progress",label:"\u8FDB\u5EA6\u6761"},{value:"QRCode",label:"\u4E8C\u7EF4\u7801"},{value:"QRCodeConfig",label:"\u4E8C\u7EF4\u7801\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Radio",label:"\u5355\u9009\u6846"},{value:"RadioGroup",label:"\u5355\u9009\u6846\u7EC4"},{value:"RangeInput",label:"\u8303\u56F4\u8F93\u5165\u6846"},{value:"RangeInputPopup",label:"\u8303\u56F4\u8F93\u5165\u6846\u89E6\u53D1\u5668"},{value:"Rate",label:"\u8BC4\u5206"},{value:"RateConfig",label:"\u8BC4\u5206\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Result",label:"\u7ED3\u679C"},{value:"Row",label:"\u6805\u683C-\u6A2A\u5411"},{value:"Search",label:"\u641C\u7D22"},{value:"Select",label:"\u9009\u62E9\u5668"},{value:"SelectConfig",label:"\u9009\u62E9\u5668\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"SelectInput",label:"\u7B5B\u9009\u5668\u8F93\u5165\u6846"},{value:"Skeleton",label:"\u9AA8\u67B6\u5C4F"},{value:"Slider",label:"\u6ED1\u5757"},{value:"Space",label:"\u95F4\u8DDD"},{value:"Statistic",label:"\u7EDF\u8BA1\u6570\u503C"},{value:"StepItem",label:"\u6B65\u9AA4"},{value:"StepLoading",label:"\u5206\u6B65\u52A0\u8F7D"},{value:"Steps",label:"\u6B65\u9AA4\u6761"},{value:"StepsConfig",label:"\u6B65\u9AA4\u6761\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"StickyItem",label:"\u4FA7\u8FB9\u56FA\u9489\u9879"},{value:"StickyTool",label:"\u4FA7\u8FB9\u56FA\u9489"},{value:"Submenu",label:"\u4E8C\u7EA7\u5BFC\u822A"},{value:"Swiper",label:"\u8F6E\u64AD"},{value:"SwiperItem",label:"\u8F6E\u64AD\u9879"},{value:"SwiperNavigation",label:"\u8F6E\u64AD\u5BFC\u822A\u914D\u7F6E",type:"TS"},{value:"Switch",label:"\u5F00\u5173"},{value:"Table",label:"\u8868\u683C",type:"TS"},{value:"TableCol",label:"\u8868\u683C\u5217",type:"TS"},{value:"TableColumnController",label:"\u8868\u683C\u81EA\u5B9A\u4E49\u663E\u793A\u5217\u914D\u7F6E",type:"TS"},{value:"TableColumnFilter",label:"\u8868\u683C\u5217\u8FC7\u6EE4\u6761\u4EF6\u914D\u7F6E",type:"TS"},{value:"TableConfig",label:"\u8868\u683C\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"TableEditableCellConfig",label:"\u8868\u683C\u53EF\u7F16\u8F91\u5217\u914D\u7F6E",type:"TS"},{value:"TableRowState",label:"\u8868\u683C\u884C\u6570\u636E\u72B6\u6001",type:"TS"},{value:"TableTreeConfig",label:"\u8868\u683C\u6811\u5F62\u7ED3\u6784\u914D\u7F6E",type:"TS"},{value:"TabPanel",label:"\u9009\u9879\u5361\u9762\u677F"},{value:"Tabs",label:"\u9009\u9879\u5361"},{value:"Tag",label:"\u6807\u7B7E"},{value:"TagConfig",label:"\u6807\u7B7E\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"TagInput",label:"\u6807\u7B7E\u8F93\u5165\u6846"},{value:"Text",label:"\u6587\u672C"},{value:"Timeline",label:"\u65F6\u95F4\u8F74"},{value:"TimelineItem",label:"\u65F6\u95F4\u8F74"},{value:"TimePicker",label:"\u65F6\u95F4\u9009\u62E9\u5668"},{value:"TimePickerConfig",label:"\u65F6\u95F4\u9009\u62E9\u5668\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"TimePickerPanel",label:"\u65F6\u95F4\u9009\u62E9\u5668\u9762\u677F"},{value:"TimeRangePicker",label:"\u65F6\u95F4\u8303\u56F4\u9009\u62E9\u5668"},{value:"TimeRangePickerPanel",label:"\u65F6\u95F4\u8303\u56F4\u9009\u62E9\u5668\u9762\u677F"},{value:"Title",label:"\u6807\u9898"},{value:"Tooltip",label:"\u6587\u5B57\u63D0\u793A"},{value:"TooltipLite",label:"\u6587\u5B57\u63D0\u793A\u7B80\u7248"},{value:"Transfer",label:"\u7A7F\u68AD\u6846"},{value:"TransferConfig",label:"\u7A7F\u68AD\u6846\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Tree",label:"\u6811"},{value:"TreeConfig",label:"\u6811\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"TreeNodeModel",label:"\u6811\u8282\u70B9\u7C7B",type:"TS"},{value:"TreeNodeState",label:"\u6811\u8282\u70B9",type:"TS"},{value:"TreeSelect",label:"\u6811\u9009\u62E9"},{value:"TreeSelectConfig",label:"\u6811\u9009\u62E9\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"TScroll",label:"\u6EDA\u52A8\u914D\u7F6E",type:"TS"},{value:"Typography",label:"\u6392\u7248"},{value:"TypographyConfig",label:"\u6392\u7248\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"TypographyCopyable",label:"\u6392\u7248\u590D\u5236\u914D\u7F6E",type:"TS"},{value:"TypographyEllipsis",label:"\u6392\u7248\u7701\u7565\u914D\u7F6E",type:"TS"},{value:"Upload",label:"\u4E0A\u4F20"},{value:"UploadConfig",label:"\u4E0A\u4F20\u7EC4\u4EF6\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"UploadConfigDragger",label:"\u4E0A\u4F20\u7EC4\u4EF6\u5168\u5C40\u62D6\u62FD\u914D\u7F6E",type:"TS"},{value:"UploadConfigFile",label:"\u4E0A\u4F20\u7EC4\u4EF6\u6587\u4EF6\u98CE\u683C\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"UploadConfigFileList",label:"\u4E0A\u4F20\u7EC4\u4EF6\u6587\u4EF6\u5217\u8868\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"UploadConfigImage",label:"\u4E0A\u4F20\u7EC4\u4EF6\u56FE\u7247\u98CE\u683C\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"UploadConfigProgress",label:"\u4E0A\u4F20\u7EC4\u4EF6\u8FDB\u5EA6\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"UploadFile",label:"\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B",type:"TS"},{value:"UploadRequestOptions",label:"\u6587\u4EF6\u4E0A\u4F20\u53C2\u6570",type:"TS"},{value:"Watermark",label:"\u6C34\u5370"},{value:"WatermarkImage",label:"\u6C34\u5370\u56FE\u7247\u914D\u7F6E",type:"TS"},{value:"WatermarkText",label:"\u6C34\u5370\u6587\u5B57\u914D\u7F6E",type:"TS"},{value:"ActionSheet",label:"\u52A8\u4F5C\u9762\u677F"},{value:"ActionSheetConfig",label:"\u52A8\u4F5C\u9762\u677F\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Cell",label:"\u5355\u5143\u683C"},{value:"CellGroup",label:"\u5355\u5143\u683C\u7EC4"},{value:"CountDown",label:"\u5012\u8BA1\u65F6"},{value:"DateTimePicker",label:"\u65E5\u671F\u65F6\u95F4\u9009\u62E9\u5668"},{value:"DateTimePickerConfig",label:"\u65F6\u95F4\u9009\u62E9\u5668\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"DateTimeRangePicker",label:"\u65E5\u671F\u65F6\u95F4\u8303\u56F4\u9009\u62E9\u5668"},{value:"DialogCard",label:"\u5BF9\u8BDD\u6846\u5361\u7247"},{value:"DropdownMenu",label:"\u4E0B\u62C9\u83DC\u5355"},{value:"DropdownMenuConfig",label:"\u4E0B\u62C9\u83DC\u5355\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"Fab",label:"\u60AC\u6D6E\u6309\u94AE"},{value:"GridItem",label:"\u5BAB\u683C\u5B50\u9879"},{value:"Image",label:"\u56FE\u7247"},{value:"ImageViewer",label:"\u56FE\u7247\u9884\u89C8"},{value:"Indexes",label:"\u7D22\u5F15"},{value:"IndexesAnchor",label:"\u7D22\u5F15\u951A\u70B9"},{value:"ListItem",label:"\u5217\u8868\u9879"},{value:"ListItemMeta",label:"\u5E26\u56FE\u7247\u7684\u5217\u8868\u9879"},{value:"Navbar",label:"\u5BFC\u822A\u6761"},{value:"NoticeBar",label:"\u516C\u544A\u680F"},{value:"Overlay",label:"\u906E\u7F69\u5C42"},{value:"PaginationMini",label:"\u8FF7\u4F60\u5206\u9875"},{value:"Picker",label:"\u9009\u62E9\u5668"},{value:"PickerConfig",label:"\u9009\u62E9\u5668\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"PickerItem",label:"\u9009\u62E9\u5668\u9009\u9879"},{value:"Popover",label:"\u6C14\u6CE1\u5F39\u51FA\u6846"},{value:"PullDownRefresh",label:"\u4E0B\u62C9\u5237\u65B0"},{value:"PullDownRefreshConfig",label:"\u4E0B\u62C9\u5237\u65B0\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"SearchField",label:"\u641C\u7D22\u6846"},{value:"SegmentedControl",label:"\u5206\u6BB5\u5668"},{value:"ScrollView",label:"\u6EDA\u52A8\u5BB9\u5668"},{value:"SideBar",label:"\u4FA7\u8FB9\u5BFC\u822A"},{value:"SideBarItem",label:"\u4FA7\u8FB9\u5BFC\u822A\u9879"},{value:"SwipeCell",label:"\u6ED1\u52A8\u64CD\u4F5C"},{value:"SwiperNav",label:"\u8F6E\u64AD\u5BFC\u822A"},{value:"Stepper",label:"\u6B65\u8FDB\u5668"},{value:"Sticky",label:"\u5438\u9876\u5BB9\u5668"},{value:"Tab",label:"\u9009\u9879\u5361"},{value:"TabBar",label:"\u6807\u7B7E\u680F"},{value:"TabBarConfig",label:"\u6807\u7B7E\u680F\u5168\u5C40\u914D\u7F6E",type:"TS"},{value:"TabBarItem",label:"\u6807\u7B7E\u680F\u9009\u9879"},{value:"Textarea",label:"\u6587\u672C\u8F93\u5165\u6846"},{value:"Toast",label:"\u8F7B\u63D0\u793A"},{value:"ToastOptions",label:"\u8F7B\u63D0\u793A\u63D2\u4EF6\u53C2\u6570",type:"TS"},{value:"Transition",label:"\u52A8\u753B"}]};var nD={code:tD,data:rD};const iD=zA,{parseJSON:aD,formatArrayToMap:oD,groupByComponent:sD,getApiComponentMapByFrameWork:Uv,getParentByChildComponent:lD}=Ws,{getImportsConfig:uD,getImportsCode:fD,getMoreEventImports:cD,getSimulateEvents:pD,getVariableImports:dD}=aO,{generateClassNameUnitCase:hD}=pO,{generateTNodeElement:gD}=xO,{generateAttributeUnitCase:vD}=OO,{generateDomUnitCase:mD}=MO,{generateEventUnitCase:yD}=XO,{copyUnitTestsToOtherWrapper:bD}=eD,{COMPONENT_API_MD_MAP:jv}=Ms.exports,CD=nD,_D=CD.data.components,Ih={className:hD,attribute:vD,dom:mD,tnode:gD,event:yD};function xD(r,u,a,c){const h=oD(c,"platform_framework"),y=sD(a,h[r==="VueNext(PC)"?"Vue(PC)":r]),S=Uv(jv,r);return iD(y,S[u]||[u])}function Hv(r,u,a,c){let h=[],y=!1;const S=[],x=[];return Object.keys(c).forEach(A=>{if(!(!c[A]||typeof c[A]=="object"&&!Object.keys(c[A]).length)&&Ih[A]){const k=Ih[A](c,a,r,u);if(k&&k.length){if(h=h.concat([k.join(` +`)]),A==="event"){y=!0;const E=cD(r,c[A],c.wrapper,c.trigger);x.push(...E.importedTestUtils||[]),E.importedMounts&&E.importedMounts.length&&S.push(...E.importedMounts)}if(A==="tnode"&&typeof c[A]=="object"){const E=pD(c[A].trigger);E&&E.length&&x.push(...E)}if(c.copyTestToWrapper){const{copyCode:E,wrappers:U}=bD(k,c,r);E&&(h=h.concat(E),U.forEach(H=>{S.push(H)}))}}}}),x.push(...dD(c)),{oneUnitTests:h,hasEvent:y,importedMounts:S,importedTestUtils:x}}function zv(r,u){let a=[];const c={hasEvent:!1,importedComponents:[],importedMounts:new Set,needDefaultRender:!1,importedTestUtils:[]},h=[];Object.entries(r).forEach(([A,k])=>{if(!k)return;let E=A;if(_D.find(Q=>Q.value===A).type){const Q=Uv(jv,u);E=lD(Q,A)}const H={variables:[],beforeAll:[],afterEach:[],afterAll:[]};let Y=[];k.forEach(Q=>{var xe;if(!Q.test_description)return;const ae=`${Q.field_name}: ${Q.test_description} is not a valid JSON.`,ie=aD(Q.test_description,ae),re=ie.PC&&u.indexOf("PC")!==-1,N=ie.Mobile&&u.indexOf("Mobile")!==-1;if(!re&&!N)return;let B={};re&&(B=ie.PC),N&&(B=ie.Mobile),B.global&&Object.keys(H).forEach(ve=>{!B.global[ve]||H[ve].push(...B.global[ve])});const{oneUnitTests:q,hasEvent:J,importedMounts:ne,importedTestUtils:de}=Hv(u,E,Q,B);q&&q.length&&(Y=Y.concat(q),c.hasEvent=J||c.hasEvent,ne.forEach(ve=>{c.importedMounts.add(ve)})),de&&de.length&&(c.importedTestUtils=c.importedTestUtils.concat(de)),B.wrapper?c.importedMounts.add(B.wrapper):c.needDefaultRender=!0,ie.Mobile&&ie.Mobile.wrapper&&c.importedMounts.add(ie.Mobile.wrapper),h.push(...((xe=B.global)==null?void 0:xe.imports)||[])}),Y.length&&(TD(H,Y),Y.unshift(`describe('${E} Component', () => {`),Y.push(`}); +`),a=a.concat(Y),c.importedComponents.push(E))});const y=uD(c,a);return[fD(y,u,h)].concat(a).join(` -`)}function xD(r,u,a,c){const h=_D(r,u,a,c);return zv(h,r)}function SD(r,u){r&&(r.afterAll.length&&u.unshift("afterAll(() => {",r.afterAll.join(` +`)}function SD(r,u,a,c){const h=xD(r,u,a,c);return zv(h,r)}function TD(r,u){r&&(r.afterAll.length&&u.unshift("afterAll(() => {",r.afterAll.join(` `),"});"),r.afterEach.length&&u.unshift("afterEach(() => {",r.afterEach.join(` `),"});"),r.beforeAll.length&&u.unshift("beforeAll(() => {",r.beforeAll.join(` -`),"});"),r.variables.length&&u.unshift(...r.variables))}var TD={getUnitTestCode:zv,getOneUnitTest:Hv,getComponentUnitTests:xD};(function(r,u){const{getComponentUnitTests:a,getOneUnitTest:c}=TD;r.exports={getComponentUnitTests:a,getOneUnitTest:c},u.getComponentUnitTests=a,u.getOneUnitTest=c,u.default=a,Object.defineProperty(u,"__esModule",{value:!0})})(Rf,Rf.exports);var wD=function(){var r=this,u=r.$createElement,a=r._self._c||u;return a("form",{staticClass:"t-form api-edit-form",attrs:{onsubmit:"return false"}},[a("div",{staticClass:"t-form-item"},[a("label",[r._v("\u8BBE\u8BA1\u7EC4\u4EF6\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-select",{attrs:{placeholder:"\u8BF7\u9009\u62E9\u7EC4\u4EF6",clearable:"",filterable:""},model:{value:r.formData.component,callback:function(c){r.$set(r.formData,"component",c)},expression:"formData.component"}},r._l(r.components,function(c,h){return a("t-option",{key:h,attrs:{label:`${c.value} ${c.label}`,value:c.value}})}),1)],1)]),a("div",{staticClass:"t-form-item"},[a("label",{staticStyle:{"vertical-align":"top"}},[r._v("\u6846\u67B6\u5E73\u53F0\uFF1A")]),a("div",{staticClass:"t-form-content platform"},[a("site-checkbox",{attrs:{options:r.platformOptions},model:{value:r.formData.platform,callback:function(c){r.$set(r.formData,"platform",c)},expression:"formData.platform"}})],1)]),a("div",{staticClass:"t-form-item"},[a("label",[r._v(" API \u7C7B\u522B "),a("t-popup",{staticClass:"placement-top",attrs:{content:"Extends \u8868\u793A\u7EC4\u4EF6/\u63D2\u4EF6\u4F1A\u7EE7\u627F\u5F53\u524D API \u6240\u6709\u5C5E\u6027\u3002Return \u8868\u793A\u63D2\u4EF6\u6216\u51FD\u6570\u7684\u8FD4\u56DE\u503C\u3002 \u8868\u793A\u6CDB\u578B\u53C2\u6570",placement:"top-left",visibleArrow:""}},[a("t-icon",{attrs:{name:"help-circle",size:"middle"}})],1),r._v("\uFF1A ")],1),a("div",{staticClass:"t-form-content"},[a("t-radio-group",{model:{value:r.formData.apiCategory,callback:function(c){r.$set(r.formData,"apiCategory",c)},expression:"formData.apiCategory"}},r._l(r.map.field_category,function(c,h){return a("t-radio",{key:h,attrs:{value:c.value}},[r._v(r._s(c.label))])}),1)],1)]),a("div",{staticClass:"t-form-item"},[a("label",[r._v("API \u540D\u79F0\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:r.currentApiCategory.placeholder.name},model:{value:r.formData.name,callback:function(c){r.$set(r.formData,"name",c)},expression:"formData.name"}}),r.currentApiCategory.desc?a("small",[r._v("\u793A\u4F8B\uFF1A`"+r._s(r.currentApiCategory.desc)+"'`")]):r._e()],1)]),r.formData.apiCategory===r.API_CATEGORY_CSS_VAR_API?[a("div",{staticClass:"t-form-item"},[a("label",[r._v("\u9ED8\u8BA4\u503C\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:"\u8BF7\u8F93\u5165\u5B57\u6BB5\u9ED8\u8BA4\u503C"},model:{value:r.formData.defaultValue,callback:function(c){r.$set(r.formData,"defaultValue",c)},expression:"formData.defaultValue"}})],1)])]:r._e(),a("div",{directives:[{name:"show",rawName:"v-show",value:r.isShowSugar,expression:"isShowSugar"}],staticClass:"t-form-item"},[a("label",[r._v("\u8BED\u6CD5\u7CD6(Vue)\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-radio-group",{model:{value:r.formData.syntacticSugar,callback:function(c){r.$set(r.formData,"syntacticSugar",c)},expression:"formData.syntacticSugar"}},[a("t-radio",{attrs:{value:""}},[r._v("\u65E0")]),a("t-radio",{attrs:{value:"v-model"}},[a("t-tooltip",{attrs:{content:"\u5728 Vue3 \u4E2D\u8868\u793A v-model:modelValue"}},[r._v("v-model")])],1),a("t-radio",{attrs:{value:"sync"}},[a("t-tooltip",{attrs:{content:"\u5728 Vue3 \u4E2D\u8868\u793A v-model:xxx"}},[r._v(".sync")])],1)],1)],1)]),r.isShowSugar?a("div",{staticClass:"t-form-item"},[a("label"),a("div",{staticClass:"t-form-content"},[a("t-checkbox",{model:{value:r.formData.supportDefaultValue,callback:function(c){r.$set(r.formData,"supportDefaultValue",c)},expression:"formData.supportDefaultValue"}},[r._v("\u662F\u5426\u652F\u6301\u975E\u53D7\u63A7\u5C5E\u6027")])],1)]):r._e(),[r.API_CATEGORY_PROPS,r.API_CATEGORY_PLUGINS].includes(Number(r.formData.apiCategory))?[a("div",{staticClass:"t-form-item"},[a("label",{staticStyle:{"vertical-align":"top"}},[a("span",[r._v("API \u7C7B\u578B")]),a("t-popup",{staticClass:"placement-top",attrs:{content:"\u3010Tips\u3011TNode \u662F TDesign \u5B9A\u4E49\u7684\u4E00\u79CD\u96C6\u5408\u6570\u636E\u7C7B\u578B\uFF0C\u7528\u4E8E\u63CF\u8FF0\u591A\u7C7B\u578B API\u3002TNode = Function + Slot + ReactNode",placement:"top-left",visibleArrow:""}},[a("t-icon",{attrs:{name:"help-circle",size:"middle"}})],1),r._v("\uFF1A ")],1),a("div",{staticClass:"t-form-content api-type"},[a("t-checkbox-group",{on:{change:r.onFieldTypeChange},model:{value:r.formData.fieldType,callback:function(c){r.$set(r.formData,"fieldType",c)},expression:"formData.fieldType"}},r._l(r.fieldOptions,function(c){return a("t-checkbox",{key:c.value,attrs:{value:c.value}},[r._v(r._s(c.label))])}),1)],1)]),a("div",{staticClass:"t-form-item"},[a("label",[r._v("TS \u7C7B\u578B\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-textarea",{attrs:{placeholder:"API \u7C7B\u578B\u4E0D\u80FD\u6EE1\u8DB3\u9700\u8981\u65F6\uFF0C\u53EF\u5728\u6B64\u5904\u8F93\u5165\u8BE6\u7EC6\u7684 TS \u7C7B\u578B\uFF0C\u4F8B\u5982\uFF1A ButtonProps\u3002API \u7C7B\u578B\u5305\u542B\u6CDB\u578B\u65F6\uFF0C\u8BE5\u9879\u5FC5\u586B\u3002"},model:{value:r.formData.customFieldType,callback:function(c){r.$set(r.formData,"customFieldType",c)},expression:"formData.customFieldType"}})],1)]),a("div",{staticClass:"t-form-item"},[a("label",[r._v("\u9ED8\u8BA4\u503C\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:"\u8BF7\u8F93\u5165\u5B57\u6BB5\u9ED8\u8BA4\u503C"},model:{value:r.formData.defaultValue,callback:function(c){r.$set(r.formData,"defaultValue",c)},expression:"formData.defaultValue"}})],1)]),r.isShowEnumField?a("div",{staticClass:"t-form-item"},[a("label",[r._v("\u53EF\u9009\u503C\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:"\u591A\u4E2A\u53EF\u9009\u503C\u4F7F\u7528\u659C\u6760(/)\u9694\u5F00\uFF0C\u5982\uFF1Aprimary/warning/error"},model:{value:r.formData.fieldEnums,callback:function(c){r.$set(r.formData,"fieldEnums",c)},expression:"formData.fieldEnums"}})],1)]):r._e(),a("div",{staticClass:"t-form-item"},[a("label",[r._v("\u5C5E\u6027\u63CF\u8FF0\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:"\u8BF7\u8F93\u5165\u5C5E\u6027\u63CF\u8FF0\uFF08\u4E2D\u6587\uFF09\uFF0C\u5B57\u6BB5\u4E3A\u591A\u7C7B\u578B\u65F6\uFF0C\u9700\u8981\u63CF\u8FF0\u5404\u4E2A\u7C7B\u578B\u7684\u542B\u4E49"},model:{value:r.formData.descZh,callback:function(c){r.$set(r.formData,"descZh",c)},expression:"formData.descZh"}})],1)]),a("div",{staticClass:"t-form-item"},[a("label",[r._v("\u82F1\u6587\u63CF\u8FF0\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:"type API description in English"},model:{value:r.formData.descEn,callback:function(c){r.$set(r.formData,"descEn",c)},expression:"formData.descEn"}})],1)])]:!r.isExtendsApi&&!r.isReturnApi&&!r.isT?[a("div",{directives:[{name:"show",rawName:"v-show",value:r.isShowParams,expression:"isShowParams"}],staticClass:"t-form-item"},[a("label",[r._v("\u53C2\u6570\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:r.currentApiCategory.placeholder.inputParams},model:{value:r.formData.eventInput,callback:function(c){r.$set(r.formData,"eventInput",c)},expression:"formData.eventInput"}})],1)]),a("div",{directives:[{name:"show",rawName:"v-show",value:r.isShowReturn,expression:"isShowReturn"}],staticClass:"t-form-item"},[a("label",[r._v("\u8FD4\u56DE\u503C\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:r.currentApiCategory.placeholder.outputParams},model:{value:r.formData.eventOutput,callback:function(c){r.$set(r.formData,"eventOutput",c)},expression:"formData.eventOutput"}})],1)]),a("div",{staticClass:"t-form-item"},[a("label",[r._v("\u63CF\u8FF0\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:r.currentApiCategory.placeholder.descZh},model:{value:r.formData.descZh,callback:function(c){r.$set(r.formData,"descZh",c)},expression:"formData.descZh"}})],1)]),a("div",{staticClass:"t-form-item"},[a("label",[r._v("Description\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:r.currentApiCategory.placeholder.descEn},model:{value:r.formData.descEn,callback:function(c){r.$set(r.formData,"descEn",c)},expression:"formData.descEn"}})],1)]),a("div",{directives:[{name:"show",rawName:"v-show",value:Number(r.formData.apiCategory)===r.API_CATEGORY_EVENTS,expression:"Number(formData.apiCategory) === API_CATEGORY_EVENTS"}],staticClass:"t-form-item"},[a("label",[a("span",[r._v("\u89E6\u53D1\u5143\u7D20(React)")]),a("t-popup",{staticClass:"placement-top",attrs:{content:"\u3010Tips\u3011\u7528\u4E8E\u63CF\u8FF0\u4E8B\u4EF6\u7C7B\u578B\u7684\u8303\u578B\u7EA6\u675F\uFF0C\u4EC5\u7528\u4E8E React",placement:"top-left",visibleArrow:""}},[a("t-icon",{attrs:{name:"help-circle",size:"middle"}})],1),r._v("\uFF1A ")],1),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:r.currentApiCategory.placeholder.triggerElements},model:{value:r.formData.triggerElements,callback:function(c){r.$set(r.formData,"triggerElements",c)},expression:"formData.triggerElements"}})],1)])]:r._e(),a("div",{staticClass:"t-form-item"},[a("label"),a("div",{staticClass:"t-form-content"},[a("t-checkbox",{model:{value:r.formData.required,callback:function(c){r.$set(r.formData,"required",c)},expression:"formData.required"}},[r._v("\u662F\u5426\u5FC5\u9700")])],1)]),a("div",{staticClass:"t-form-item"},[a("label"),a("div",{staticClass:"t-form-content"},[a("t-checkbox",{model:{value:r.formData.deprecated,callback:function(c){r.$set(r.formData,"deprecated",c)},expression:"formData.deprecated"}},[r._v("\u662F\u5426\u5E9F\u5F03")])],1)]),a("div",{staticClass:"t-form-item"},[a("label",[r._v(" \u7248\u672C\u53F7 "),a("t-popup",{staticClass:"placement-top",attrs:{content:r.versionDescription,placement:"top-left",visibleArrow:""}},[a("t-icon",{attrs:{name:"help-circle",size:"middle"}})],1),r._v(" \uFF1A ")],1),a("div",{staticClass:"t-form-content"},[a("t-textarea",{attrs:{autosize:{minRows:3},placeholder:"\u4ECE\u54EA\u4E2A\u7248\u672C\u53F7\u5F00\u59CB\u652F\u6301\u7684\u8FD9\u4E2A API\uFF08JSON\uFF09"},model:{value:r.formData.version,callback:function(c){r.$set(r.formData,"version",c)},expression:"formData.version"}})],1)])],2)},$D=[];const AD=["\u4ECE\u54EA\u4E2A\u7248\u672C\u53F7\u5F00\u59CB\u652F\u6301\u7684\u8FD9\u4E2A API\uFF0C\u4E0D\u540C\u7684\u6846\u67B6\u6709\u4E0D\u540C\u7684\u7248\u672C\u53F7\u3002",`\u793A\u4F8B\uFF1A${JSON.stringify({"Vue(PC)":"0.50.1","VueNext(PC)":"0.24.9","React(PC)":"0.43.1",Miniprogram:"0.27.0","Vue(Mobile)":"0.14.1"},void 0,2)}`].join(` -`),ED={name:"APIDesignImport",components:{SiteCheckbox:nv,TIcon:i1,TInput:yg,TSelect:kp,TOption:Lp,TPopup:a1,TCheckbox:vg,TCheckboxGroup:mg,TRadio:o1,TRadioGroup:s1},props:{dataBase:{},map:Object,info:Object,mode:String},data(){return{API_CATEGORY_EVENTS:Lf,API_CATEGORY_PROPS:dp,API_CATEGORY_PLUGINS:hp,API_CATEGORY_FUNCTIONS:Pf,API_CATEGORY_CSS_VAR_API:CS,STRING:np,list:[],versionDescription:AD,componentApiData:[],formData:{platform:[],component:"",apiCategory:"1",fieldType:[],customFieldType:"",defaultValue:"",required:!1,deprecated:!1,fieldEnums:"",descZh:"",descEn:"",testDescription:"",version:"",supportDefaultValue:!1,name:"",eventInput:"",eventOutput:"",syntacticSugar:"",html_attribute:!1,triggerElements:""}}},computed:{components(){return this.map&&this.map.components},fieldOptions(){return this.map&&this.map.field_type},platformOptions(){return this.map&&this.map.platform_framework},currentApiCategory(){return _S[this.formData.apiCategory]||{placeholder:{}}},isShowSugar(){const u=!!this.formData.platform.filter(c=>[SS,TS].includes(Number(c))).length,a=[Lf,dp,hp].includes(Number(this.formData.apiCategory));return u&&a},isExtendsApi(){return String(this.formData.apiCategory)===String(iv)},isReturnApi(){return String(this.formData.apiCategory)===String(av)},isT(){return String(this.formData.apiCategory)===String(ov)},isShowEnumField(){return this.formData.fieldType.includes(String(np))||this.formData.fieldType.includes(String(xS))},isShowParams(){return[Pf,Lf].includes(Number(this.formData.apiCategory))},isShowReturn(){return[Pf].includes(Number(this.formData.apiCategory))}},watch:{platformOptions(r){!r||(this.formData.platform=[])},info(r){this.formData={...this.formData,testDescription:""},r&&(this.formData={platform:r.platform_framework,component:r.component,apiCategory:r.field_category?String(r.field_category):"1",fieldType:r.field_type,customFieldType:r.custom_field_type,defaultValue:r.field_default_value,required:!!r.field_required,deprecated:!!r.deprecated,fieldEnums:r.field_enum,descZh:r.field_desc_zh,descEn:r.field_desc_en,testDescription:r.test_description,version:r.version,supportDefaultValue:Boolean(r.support_default_value),htmlAttribute:Boolean(r.html_attribute),name:r.field_name,eventInput:r.event_input,eventOutput:r.event_output,syntacticSugar:r.syntactic_sugar,triggerElements:r.trigger_elements},this.mode==="create"&&(this.formData.testDescription=""),this.getCurrentComponentData())}},methods:{onFieldTypeChange(r){r.includes(String(np))||(this.formData.fieldEnums="")},getCurrentComponentData(){if(!this.info.component)return;const r=Gg(),u=r[this.info.component]?r[this.info.component].join():this.info.component;Ra({method:"get",url:"/cmp/api",params:{component:u,page:1,page_size:300}}).then(a=>{this.componentApiData=a.data.data,this.loading=!1},()=>{this.loading=!1})}}},Nh={};var OD=Yi(ED,wD,$D,!1,DD,null,null,null);function DD(r){for(let u in Nh)this[u]=Nh[u]}var kD=function(){return OD.exports}();function Us(r,u,a){return u in r?Object.defineProperty(r,u,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[u]=a,r}function LD(r,u){if(r==null)return{};var a={},c=Object.keys(r),h,y;for(y=0;y=0)&&(a[h]=r[h]);return a}function Fa(r,u){if(r==null)return{};var a=LD(r,u),c,h;if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(r);for(h=0;h=0)&&(!Object.prototype.propertyIsEnumerable.call(r,c)||(a[c]=r[c]))}return a}var PD=["attrs"];function Rh(r,u){var a=Object.keys(r);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(r);u&&(c=c.filter(function(h){return Object.getOwnPropertyDescriptor(r,h).enumerable})),a.push.apply(a,c)}return a}function sp(r){for(var u=1;u{h.push({trigger:y,arguments:JSON.stringify(S.arguments)})}),a=h}return r==="array"&&u.event.length&&(c=u.event.map(h=>({props:h.props?JSON.stringify(h.props):"",description:h.description,wrapper:h.wrapper,expect:h.expect.map(y=>({trigger:y.trigger,event:JSON.stringify(y.event),exist:Array.isArray(y.exist)?JSON.stringify(y.exist):y.exist,delay:(()=>y.delay===!0?"true":typeof y.delay=="number"?String(y.delay):y.delay)()}))}))),{objectEvent:a,arrayEvent:c}}var lk=function(){var r=this,u=r.$createElement,a=r._self._c||u;return a("div",{staticClass:"unit-test-ui__one-unit-test"},[a("t-radio-group",{attrs:{value:r.formData.category},on:{change:r.onCategoryChange}},r._l(r.testCategoryOptions,function(c){return a("t-radio-button",{key:c.value,attrs:{value:c.value}},[a("t-tooltip",{attrs:{content:c.tips}},[a("span",[r._v(r._s(c==null?void 0:c.label))])])],1)}),1),r.formData.category==="tnode"&&r.formData.tnode?[a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light",content:"\u683C\u5F0F\uFF1ADomSelector\u3002\u6807\u7B7E\u8F93\u5165\u3002\u5982\u679C\u5143\u7D20\u90FD\u6302\u8F7D\u5728 document.body \u4E0A\uFF0C\u8BF7\u52A0\u4E0A document \u524D\u7F00\uFF0C\u793A\u4F8B\uFF1Adocument.class-name\u3002\u5982\u679C\u662F\u81EA\u5B9A\u4E49\u8282\u70B9\uFF0C\u5219\u662F document.custom-node"}},[a("t-tag-input",{attrs:{placeholder:"\u9664\u81EA\u5B9A\u4E49\u8282\u70B9\uFF0C\u8FD8\u671F\u671B\u54EA\u4E9B\u5143\u7D20\u540C\u65F6\u5B58\u5728\uFF0C\u6807\u7B7E\u8F93\u5165\uFF0C\u793A\u4F8B\uFF1A.t-radio__label"},on:{change:function(){return r.onFormDataChange("tnode")}},model:{value:r.formData.tnode.dom,callback:function(c){r.$set(r.formData.tnode,"dom",c)},expression:"formData.tnode.dom"}})],1)],1),a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light"},scopedSlots:r._u([{key:"content",fn:function(){return[r._v(' \u793A\u4F8B\uFF1A[{ "value": "tdesign-vue" }] ')]},proxy:!0}],null,!1,1378868323)},[a("t-input",{attrs:{placeholder:"TNode \u51FD\u6570\u53C2\u6570"},on:{blur:function(){return r.onFormDataChange("tnode")}},model:{value:r.formData.tnode.params,callback:function(c){r.$set(r.formData.tnode,"params",c)},expression:"formData.tnode.params"}})],1)],1),a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light"},scopedSlots:r._u([{key:"content",fn:function(){return[a("p",[r._v(" \u683C\u5F0F\uFF1AEventName(DomSelector) \u6216\u8005 delay\u3002focus(.t-input__wrap) \u8868\u793A\u5F53\u5143\u7D20 .t-input__wrap \u805A\u7126\u540E\u624D\u4F1A\u51FA\u73B0\u524D\u9762\u671F\u671B\u7684\u5143\u7D20\u3002 \u793A\u4F8B\uFF1Adelay \u3001 delay(100) "),a("t-link",{attrs:{underline:"",href:"https://github.com/vuejs/test-utils/blob/main/src/constants/dom-events.ts#L566",target:"_blank"}},[r._v("\u6240\u6709\u4E8B\u4EF6\u5217\u8868")])],1)]},proxy:!0}],null,!1,73742847)},[a("t-input",{attrs:{placeholder:"\u89E6\u53D1\u81EA\u5B9A\u4E49\u8282\u70B9\u663E\u793A\u7684\u524D\u7F6E\u4E8B\u4EF6\uFF0C\u5982\uFF1Afocus(.t-input__wrap)"},on:{change:function(){return r.onFormDataChange("tnode")}},model:{value:r.formData.tnode.trigger,callback:function(c){r.$set(r.formData.tnode,"trigger",c)},expression:"formData.tnode.trigger"}})],1)],1),a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light",content:"\u8FD8\u9700\u8981\u6DFB\u52A0\u54EA\u4E9B\u5C5E\u6027\u5230\u7EC4\u4EF6"}},[a("t-input",{attrs:{placeholder:"\u6DFB\u52A0\u989D\u5916\u7684\u7EC4\u4EF6\u5C5E\u6027\uFF0C\u683C\u5F0F\uFF1AJSON"},on:{blur:function(){return r.onFormDataChange("tnode")}},model:{value:r.formData.props,callback:function(c){r.$set(r.formData,"props",c)},expression:"formData.props"}})],1)],1)]:r._e(),r.formData.category==="className"?[a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light"},scopedSlots:r._u([{key:"content",fn:function(){return[r.apiInfo&&r.apiInfo.field_type_text.join()==="Boolean"?a("p",[r._v(" "+r._s(r.formData.className?`\u7C7B\u540D\u89C4\u5219\uFF1A\u5F53\u524D\u503C\u7C7B\u578B\u4E3A Boolean\uFF0C\u5F53\u503C\u4E3A true \u65F6\uFF0C\u671F\u671B\u5B58\u5728\u7C7B\u540D ${r.formData.className}`:"\u7C7B\u540D\u89C4\u5219\uFF1A\u5F53\u524D\u503C\u7C7B\u578B\u4E3A Boolean\uFF0C\u63A8\u8350\u89C4\u5219\u5F62\u5982\uFF1A.t-size-full-width\u3002\u8868\u793A\u503C\u4E3A true \u65F6\uFF0C\u671F\u671B\u7C7B\u540D t-size-full-width \u5B58\u5728")+" ")]):r._e(),r.apiInfo&&r.apiInfo.field_type_text.join()==="String"?a("p",[r._v(" \u7C7B\u540D\u89C4\u5219\uFF1A ")]):r._e(),r._l(r.getClassNameRecommend(),function(c,h){return a("p",{key:h},[r._v(r._s(c))])}),a("p")]},proxy:!0}],null,!1,1796600822)},[a("t-textarea",{attrs:{placeholder:"\u7C7B\u540D\u89C4\u5219"},on:{blur:function(){return r.onFormDataChange("className")}},model:{value:r.formData.className,callback:function(c){r.$set(r.formData,"className",c)},expression:"formData.className"}})],1)],1),a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light",content:"\u4E0A\u8FF0\u7C7B\u540D\u89C4\u5219\u5E94\u7528\u5728\u54EA\u4E2A\u5B50\u8282\u70B9\uFF0C\u4E0D\u586B\u6216\u8005\u586B\u5199 'self' \u8868\u793A\u7EC4\u4EF6\u6839\u8282\u70B9"}},[a("t-input",{attrs:{placeholder:"\u7C7B\u540D\u89C4\u5219\u5E94\u7528\u7684 HTML \u5143\u7D20"},on:{change:function(){return r.onFormDataChange("className")}},model:{value:r.formData.classNameDom,callback:function(c){r.$set(r.formData,"classNameDom",c)},expression:"formData.classNameDom"}})],1)],1),a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light",content:"\u8FD8\u9700\u8981\u6DFB\u52A0\u54EA\u4E9B\u5C5E\u6027\u5230\u7EC4\u4EF6\uFF0C\u5982\u679C API \u6570\u636E\u7C7B\u578B\u4E3A boolean \u53EF\u4EE5\u4E0D\u6DFB\u52A0"}},[a("t-input",{attrs:{placeholder:"\u6DFB\u52A0\u989D\u5916\u7684\u7EC4\u4EF6\u5C5E\u6027\uFF0C\u683C\u5F0F\uFF1AJSON"},on:{blur:function(){return r.onFormDataChange("className")}},model:{value:r.formData.props,callback:function(c){r.$set(r.formData,"props",c)},expression:"formData.props"}})],1)],1)]:r._e(),r.formData.category==="attribute"?[a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light"},scopedSlots:r._u([{key:"content",fn:function(){return[a("p",[r._l(r.getAttributeRecommend(),function(c){return[a("p",[r._v(r._s(c))])]})],2)]},proxy:!0}],null,!1,2868227598)},[a("t-textarea",{attrs:{placeholder:"\u5C5E\u6027\u89C4\u5219"},on:{blur:function(){return r.onFormDataChange("attribute")}},model:{value:r.formData.attribute,callback:function(c){r.$set(r.formData,"attribute",c)},expression:"formData.attribute"}})],1)],1),a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light",content:"\u4E0A\u8FF0\u5C5E\u6027\u89C4\u5219\u5E94\u7528\u5728\u54EA\u4E2A\u5B50\u8282\u70B9\uFF0C\u4E0D\u586B\u6216\u8005\u586B\u5199 'self' \u8868\u793A\u7EC4\u4EF6\u6839\u8282\u70B9"}},[a("t-input",{attrs:{placeholder:"\u5C5E\u6027\u89C4\u5219\u5E94\u7528\u7684 HTML \u5143\u7D20"},on:{change:function(){return r.onFormDataChange("attribute")}},model:{value:r.formData.attributeDom,callback:function(c){r.$set(r.formData,"attributeDom",c)},expression:"formData.attributeDom"}})],1)],1),a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light",content:"\u8FD8\u9700\u8981\u6DFB\u52A0\u54EA\u4E9B\u5C5E\u6027\u5230\u7EC4\u4EF6\uFF0C\u5982\u679C API \u6570\u636E\u7C7B\u578B\u4E3A boolean \u53EF\u4EE5\u4E0D\u6DFB\u52A0"}},[a("t-input",{attrs:{placeholder:"\u6DFB\u52A0\u989D\u5916\u7684\u7EC4\u4EF6\u5C5E\u6027\uFF0C\u683C\u5F0F\uFF1AJSON"},on:{blur:function(){return r.onFormDataChange("attribute")}},model:{value:r.formData.props,callback:function(c){r.$set(r.formData,"props",c)},expression:"formData.props"}})],1)],1)]:r._e(),r.formData.category==="dom"?[a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light"},scopedSlots:r._u([{key:"content",fn:function(){return[a("p",[r._l(r.getDomRecommend(),function(c){return[a("p",[r._v(r._s(c))])]})],2)]},proxy:!0}],null,!1,2415190324)},[a("t-textarea",{attrs:{placeholder:"\u68C0\u6D4B\u67D0\u4E2A\u5143\u7D20\u662F\u5426\u5B58\u5728\u7684\u89C4\u5219"},on:{blur:function(){return r.onFormDataChange("dom")}},model:{value:r.formData.dom,callback:function(c){r.$set(r.formData,"dom",c)},expression:"formData.dom"}})],1),a("t-tooltip",{attrs:{theme:"light",trigger:"click",placement:"bottom-left"},scopedSlots:r._u([{key:"content",fn:function(){return[a("p",[r._l(r.getDomMoreTips(),function(c){return[a("p",[r._v(r._s(c))])]})],2)]},proxy:!0}],null,!1,729966059)},[a("t-button",{attrs:{variant:"text",theme:"primary",size:"small"}},[r._v("\u70B9\u51FB\u67E5\u770B\u89C4\u5219\u7EC6\u8282")])],1)],1),a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light",content:"\u8FD8\u9700\u8981\u6DFB\u52A0\u54EA\u4E9B\u5C5E\u6027\u5230\u7EC4\u4EF6\uFF0C\u5982\u679C API \u6570\u636E\u7C7B\u578B\u4E3A boolean \u53EF\u4EE5\u4E0D\u6DFB\u52A0"}},[a("t-input",{attrs:{placeholder:"\u6DFB\u52A0\u989D\u5916\u7684\u7EC4\u4EF6\u5C5E\u6027\uFF0C\u683C\u5F0F\uFF1AJSON"},on:{blur:function(){return r.onFormDataChange("dom")}},model:{value:r.formData.props,callback:function(c){r.$set(r.formData,"props",c)},expression:"formData.props"}})],1)],1)]:r._e(),r.formData.category==="event"?[a("div",[a("t-radio-group",{staticStyle:{margin:"16px 0"},model:{value:r.eventType,callback:function(c){r.eventType=c},expression:"eventType"}},[a("t-radio",{attrs:{value:"object"}},[r._v("\u7B80\u5355\u4E8B\u4EF6\u53C2\u6570")]),a("t-radio",{attrs:{value:"array"}},[r._v("\u590D\u6742\u4EBA\u673A\u4EA4\u4E92")])],1),r.eventType==="object"?a("t-card",{staticClass:"t-event-object-card"},r._l(r.objectEvent,function(c,h){return a("div",{key:h,staticClass:"unit-test-ui__one-object-event"},[a("t-tooltip",{attrs:{trigger:"focus",theme:"light",content:"\u4E8B\u4EF6\u540D\uFF0C\u5982\uFF1Aclick \u6216\u8005 click(.t-input)"}},[a("t-input",{staticStyle:{"min-width":"130px",width:"130px"},attrs:{placeholder:"\u4E8B\u4EF6\u540D"},on:{change:r.onObjectEventChange},model:{value:r.objectEvent[h].trigger,callback:function(y){r.$set(r.objectEvent[h],"trigger",y)},expression:"objectEvent[index].trigger"}})],1),a("t-tooltip",{attrs:{trigger:"focus",theme:"light"},scopedSlots:r._u([{key:"content",fn:function(){return[r._v(` \u793A\u4F8B\uFF1A[{ "e.type": "click" }, [100, 101]] \u3002\u8868\u793A\u7B2C\u4E00\u4E2A\u53C2\u6570\u5B58\u5728\u5C5E\u6027 'e.type' \u503C\u4E3A 'click'\uFF0C\u7B2C\u4E8C\u4E2A\u53C2\u6570\u503C\u4E3A [100, 101] `)]},proxy:!0}],null,!0)},[a("t-input",{staticStyle:{"margin-left":"16px"},attrs:{placeholder:"\u4E8B\u4EF6\u53C2\u6570"},on:{change:r.onObjectEventChange},model:{value:r.objectEvent[h].arguments,callback:function(y){r.$set(r.objectEvent[h],"arguments",y)},expression:"objectEvent[index].arguments"}})],1),a("t-button",{staticStyle:{"margin-left":"8px"},attrs:{variant:"text",theme:"primary",size:"small"},on:{click:function(){return r.onObjectEventAdd(h)}}},[a("AddCircleIcon")],1),a("t-button",{attrs:{variant:"text",theme:"danger",size:"small"},on:{click:function(){return r.onObjectEventDelete(h)}}},[a("MinusCircleIcon")],1)],1)}),0):r._e(),r.eventType==="array"?a("div",r._l(r.arrayEvent,function(c,h){return a("t-card",{key:h,staticClass:"test-card-array-event"},[a("h4",{staticStyle:{"margin-top":"0"}},[r._v("\u7B2C"+r._s(["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94"][h])+"\u4E2A\u4EA4\u4E92\u6D4B\u8BD5\u7528\u4F8B")]),a("div",{staticStyle:{display:"flex","align-items":"center","margin-bottom":"16px"}},[a("label",{staticStyle:{width:"100px"}},[r._v("\u7528\u4F8B\u63CF\u8FF0\uFF1A")]),a("t-input",{attrs:{placeholder:"\u9009\u586B\uFF0C\u5F53\u524D\u6D4B\u8BD5\u7528\u4F8B\u6587\u672C\u63CF\u8FF0\uFF0C\u9ED8\u8BA4\u4E3A xxx works fine"},on:{blur:r.onEventPropsChange},model:{value:r.arrayEvent[h].description,callback:function(y){r.$set(r.arrayEvent[h],"description",y)},expression:"arrayEvent[index].description"}})],1),r._l(r.arrayEvent[h].expect,function(y,S){return a("div",[a("div",{staticStyle:{display:"flex","align-items":"center","margin-bottom":"16px"}},[r._v(" \u7B2C"+r._s(["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D","\u5341"][S])+"\u4E2A\u4E8B\u4EF6\uFF1A "),a("t-button",{attrs:{theme:"primary",variant:"text",size:"small"},on:{click:function(){return r.onEventExpectEdit(y,S,h,"edit")}}},[a("EditIcon")],1),a("t-button",{attrs:{theme:"primary",variant:"text",size:"small"},on:{click:function(){return r.onEventExpectAdd(y,S,h,"add")}}},[a("AddCircleIcon")],1),a("t-button",{attrs:{theme:"danger",variant:"text",size:"small"},on:{click:function(){return r.onEventExpectDelete(S,h,"delete")}}},[a("MinusCircleIcon")],1)],1),y.trigger||y.event||y.exist?a("p",{staticClass:"t-input__tips t-input__tips--default",staticStyle:{position:"relative"}},[r._v(" "+r._s(r.getEventDescription(y))+" ")]):r._e()])}),a("div",{staticStyle:{display:"flex","align-items":"center","margin-bottom":"16px"}},[a("label",{staticStyle:{width:"100px"}},[r._v("\u7EC4\u4EF6\u5C5E\u6027\uFF1A")]),a("t-input",{attrs:{placeholder:"\u9009\u586B\uFF0C\u5F53\u524D\u6D4B\u8BD5\u7528\u4F8B\u6240\u9700\u7684\u5FC5\u8981\u5C5E\u6027\uFF0C\u683C\u5F0F\uFF1AJSON"},on:{blur:r.onEventPropsChange},model:{value:r.arrayEvent[h].props,callback:function(y){r.$set(r.arrayEvent[h],"props",y)},expression:"arrayEvent[index].props"}})],1),a("div",{staticStyle:{display:"flex","align-items":"center","margin-bottom":"16px"}},[a("label",{staticStyle:{width:"100px"}},[r._v("\u5B9E\u4F8B\u51FD\u6570\uFF1A")]),a("t-input",{attrs:{placeholder:"\u9ED8\u8BA4\u76F4\u63A5\u4F7F\u7528\u7EC4\u4EF6\u83B7\u53D6\uFF0C\u793A\u4F8B\uFF1AgetRadioGroupDefaultMount"},on:{blur:r.onEventPropsChange},model:{value:r.arrayEvent[h].wrapper,callback:function(y){r.$set(r.arrayEvent[h],"wrapper",y)},expression:"arrayEvent[index].wrapper"}})],1),a("div",{staticStyle:{"margin-top":"16px","text-align":"right"}},[a("t-button",{attrs:{size:"small"},on:{click:function(){return r.onArrayEventAdd(h)}}},[r._v(" \u518D\u6765\u4E00\u4E2A ")]),r.arrayEvent.length>1?a("t-button",{staticStyle:{"margin-left":"8px"},attrs:{theme:"danger",size:"small"},on:{click:function(){return r.onArrayEventDelete(h)}}},[r._v(" \u79FB\u9664 ")]):r._e()],1)],2)}),1):r._e()],1)]:r._e(),r._t("operation"),a("EventExpect",{attrs:{visible:r.eventExpectVisible,eventExpect:r.currentExpectData.expectData,eventExpectMode:r.eventExpectMode},on:{"update:visible":function(c){r.eventExpectVisible=c},confirm:r.onEventExpectChange}})],2)},uk=[];const lp=[{trigger:"",arguments:""}],Zl=[{expect:[{trigger:"",event:"",exist:""}],props:""}],fk={name:"OneCategoryTest",components:{AddCircleIcon:zD,MinusCircleIcon:QD,EventExpect:ak,EditIcon:JD},props:{data:{type:Object,default:()=>({})},apiInfo:{type:Object,default:()=>({})},categories:Array,testProps:{type:[Object,String],default:()=>({})}},data(){return{formData:{category:"",attribute:"",attributeDom:"",props:"",className:"",classNameDom:"",dom:""},testCategoryOptions:Ql,eventType:"object",objectEvent:[...lp],arrayEvent:[...Zl],eventExpectVisible:!1,currentExpectData:{expectData:{...Zl[0].expect},expectIndex:-1,eventIndex:-1},eventExpectMode:"edit"}},watch:{testProps:{immediate:!0,handler(r){!this.formData||this.$nextTick(()=>{const u=typeof r=="string"?zr(r):r,c={...this.formData.props?zr(this.formData.props,{}):{},...u};this.$set(this.formData,"props",Object.keys(c).length?JSON.stringify(c):"")})}},data:{immediate:!0,handler(r){if(this.formData=ok(r),r.event){this.eventType=Array.isArray(r.event)?"array":"object";const{objectEvent:u,arrayEvent:a}=sk(this.eventType,r);u.length&&(this.objectEvent=u),a.length&&(this.arrayEvent=a)}}},eventType(){this.objectEvent=[...lp],this.arrayEvent=[...Zl]}},methods:{onFormDataChange(r,u){this.$emit("formDataChange",r,{...u,formData:this.formData})},onCategoryChange(r){if(this.categories.includes(r)){const a=Ql.find(c=>c.value===r);this.$message.warning(`${a.label} already exist`);return}Ql.map(a=>{delete this.formData[a.value]});const u=ed[r];Array.isArray(u)?this.formData[r]=[...u]:typeof u=="object"?this.formData[r]={...u}:this.formData[r]=u,this.formData.category=r,r==="event"&&(this.objectEvent=[...lp],this.arrayEvent=[...Zl]),this.onFormDataChange("category")},getClassNameRecommend(){return["\u4E0D\u540C\u7684\u503C\uFF0C\u671F\u671B\u4E0D\u540C\u7684\u6839\u5143\u7D20\uFF08\u6216\u5B50\u5143\u7D20\uFF09\u5B58\u5728\u4E0D\u540C\u7684\u7C7B\u540D\u3002","\u63A8\u8350\u89C4\u5219\u4E00\uFF1At-button--variant-${item}\u3002\u5B58\u5728\u679A\u4E3E\u503C\uFF0C\u503C\u4E3A\u7C7B\u540D\u7684\u4E00\u90E8\u5206",'\u63A8\u8350\u89C4\u5219\u4E8C\uFF1A["t-size-s", "t-size-m", "t-size-l"]\u3002\u5B58\u5728\u679A\u4E3E\u503C\u3002\u5982\u679C\u671F\u671B t-size-m \u4E0D\u5B58\u5728\uFF0C\u8BF7\u8BBE\u7F6E [{ "t-size-m": false }]','\u63A8\u8350\u89C4\u5219\u4E09\uFF1A{ "underline": "t-link--hover-underline" }\u3002\u4E0D\u5B58\u5728\u679A\u4E3E\u503C\u3002',`\u63A8\u8350\u89C4\u5219\u56DB\uFF1A[{ "value": "'tdesign-class'", "expect": [{"dom": "tbody > tr", "className": { "tdesign-class": true }}] }]\u3002\u4E0D\u540C\u7684\u503C\u5BF9\u5E94\u591A\u4E2A\u4E0D\u540C\u7684\u5143\u7D20\u548C\u7C7B\u540D\u3002\u3010\u6CE8\u610F\u3011\u8FD9\u4E2A\u89C4\u5219\uFF0C\u4E0D\u9700\u8981\u586B\u5199\u4E0B\u65B9\u7684 \u300C\u7C7B\u540D\u89C4\u5219\u5E94\u7528\u7684 HTML \u5143\u7D20\u300D`]},getAttributeRecommend(){return["\u5C5E\u6027\u89C4\u5219\uFF1A","\u4E0D\u540C\u7684\u503C\uFF0C\u671F\u671B\u4E0D\u540C\u7684\u6839\u5143\u7D20\uFF08\u6216\u5B50\u5143\u7D20\uFF09\u5B58\u5728\u4E0D\u540C\u7684\u5C5E\u6027\u3002\u5143\u7D20\u7684 style/value/checked \u7B49\u4E5F\u5C5E\u4E8E\u5C5E\u6027\u6D4B\u8BD5\u3002",'\u63A8\u8350\u89C4\u5219\u4E00\uFF1A{ "type": ["submit", "reset", "button"] }','\u63A8\u8350\u89C4\u5219\u4E8C\uFF1A{ "href": "https://tdesign.tencent.com/" }',`\u63A8\u8350\u89C4\u5219\u4E09\uFF1A[{ "value": "{ 'data-level': 'level-1' }", "expect": [{ "dom": "tbody > tr", "attribute": { "data-level": "level-1" }}] }]\u3002\u5176\u4E2D\uFF0Cvalue \u8868\u793A API \u7684\u503C\uFF0C\u53EF\u4EE5\u662F\u51FD\u6570\u6216\u6570\u7EC4\u5B57\u7B26\u4E32\u3002\u3010\u6CE8\u610F\u3011\u8FD9\u4E2A\u89C4\u5219\u4E0D\u9700\u8981\u4E0B\u65B9\u7684\u300C\u5C5E\u6027\u89C4\u5219\u5E94\u7528\u7684 HTML \u5143\u7D20\u300D`,'\u5982\u679C\u662F style\uFF0C\u76F4\u63A5\u4F7F\u7528 "style.flexWrap": "wrap" \u5373\u53EF']},getDomRecommend(){return["\u5143\u7D20\u6821\u9A8C\u89C4\u5219\uFF1A",'\u6700\u7B80\u89C4\u5219\uFF1A".t-tag__icon-close"\uFF0C\u8868\u793A\u503C\u4E3A true \u65F6\u5B58\u5728\u5143\u7D20 `.t-tag__icon-close`','\u63A8\u8350\u89C4\u5219\u4E00\uFF1A["button", "a", "div"]\u3002\u5B58\u5728\u679A\u4E3E\u503C\uFF0C\u4F9D\u6B21\u9A8C\u8BC1\u8FD9\u51E0\u4E2A\u5143\u7D20\u662F\u5426\u5B58\u5728\u3002\u5982\uFF1AButton.tag','\u63A8\u8350\u89C4\u5219\u4E8C\uFF1A["tfoot.t-table__footer", { "tfoot > tr": 2 }]\u3002\u76F4\u63A5\u6821\u9A8C\u7EC4\u4EF6\u5B9E\u4F8B\u662F\u5426\u5B58\u5728\u8FD9\u4E9B\u5143\u7D20\uFF0C\u6570\u5B57\u8868\u793A\u5B58\u5728\u51E0\u4E2A','\u63A8\u8350\u89C4\u5219\u4E09\uFF1A{ "[3, 1]": { ".t-table__row--fixed-top": 3 } }\u3002\u8868\u793A\u503C\u4E3A [3, 1] \u65F6\uFF0C\u6821\u9A8C .t-table__row--fixed-top \u662F\u5426\u5B58\u5728 3 \u4E2A','\u6CE8\u610F\uFF1A\u5982\u679C\u5143\u7D20\u4E0D\u5728\u7EC4\u4EF6\u5185\u90E8\uFF0C\u53EA\u80FD\u901A\u8FC7 document \u67E5\u8BE2\uFF0C\u53EF\u4EE5\u8BBE\u7F6E "document.t-popup"']},getDomMoreTips(){return['[".t-image"] \u671F\u671B\u5143\u7D20 .t-image \u5B58\u5728','[{ ".t-image": false }] \u671F\u671B\u5143\u7D20 .t-image \u4E0D\u5B58\u5728','[{ ".t-image": 3 }] \u671F\u671B\u5143\u7D20 .t-image \u5B58\u5728 3 \u4E2A','[{ ".t-image": { "text": "+1" } }] \u671F\u671B\u5143\u7D20 .t-image \u5B58\u5728\u6587\u672C +1','[{ ".t-input": { "attribute": { "value": "input value" } } }] \u671F\u671B\u5143\u7D20 .t-image \u7684\u5C5E\u6027 value \u503C\u4E3A "input value"']},onObjectEventAdd(r){if(!this.objectEvent[r].trigger){this.$message.warning("\u8BF7\u628A\u5F53\u524D\u5185\u5BB9\u586B\u5199\u5B8C\u6574\u540E\u518D\u6DFB\u52A0");return}debugger;this.objectEvent.splice(r,0,{trigger:"",arguments:""})},onObjectEventDelete(r){this.objectEvent.length<2||this.objectEvent.splice(r,1)},onArrayEventAdd(r){this.arrayEvent.splice(r+1,0,{props:"",expect:[{trigger:"",event:"",exist:""}]})},onArrayEventDelete(r){this.arrayEvent.length<2||this.arrayEvent.splice(r,1)},onArrayEventChange(){for(let r=0,u=this.arrayEvent.length;rX_(a)).join("\u3001")}return r},getEventDescription(r){const u=this.getExpectDesc(r.exist);return[r.trigger&&`\u89E6\u53D1 ${r.trigger}`,r.delay&&`\u5EF6\u8FDF ${r.delay==="true"?300:r.delay} \u6BEB\u79D2\u4E4B\u540E`,u,r.event&&`\u671F\u671B ${this.getEventName(r.event)} \u7B49\u4E8B\u4EF6\u5904\u7406\u51FD\u6570\u88AB\u6267\u884C\uFF0C\u4EE5\u53CA\u76F8\u5173\u53C2\u6570\u6B63\u786E`].filter(a=>a).join("\uFF0C")+"\u3002"},getExpectDesc(r){const u=zr(r,[]),a=[],c=[],h=[];return u==null||u.forEach(y=>{if(!!y){if(typeof y=="string")a.push(y);else if(typeof y=="object"){const S=Object.keys(y);if(y[S[0]]===!1)c.push(S[0]);else if(y[S[0]].attribute){const x=[];S.forEach(A=>{Object.keys(y[A].attribute).forEach(k=>{x.push({dom:A,attributeName:k,attributeValue:y[A].attribute[k]})})}),h.push(...x)}else a.push(S[0])}}}),[a.length&&`\u671F\u671B ${a.join("\u3001")} \u7B49\u5143\u7D20\u5B58\u5728`,c.length&&`\u671F\u671B ${c.join("\u3001")} \u7B49\u5143\u7D20\u4E0D\u5B58\u5728`,h.length&&h.map(y=>`\u671F\u671B\u5143\u7D20 ${y.dom} \u7684\u5C5E\u6027 ${y.attributeName} \u503C\u4E3A ${y.attributeValue}`).join("\uFF0C")].filter(y=>y).join("\uFF0C")}}},Kh={};var ck=Yi(fk,lk,uk,!1,pk,null,null,null);function pk(r){for(let u in Kh)this[u]=Kh[u]}var dk=function(){return ck.exports}(),hk=zf;function gk(){this.__data__=new hk,this.size=0}var vk=gk;function mk(r){var u=this.__data__,a=u.delete(r);return this.size=u.size,a}var yk=mk;function bk(r){return this.__data__.get(r)}var Ck=bk;function _k(r){return this.__data__.has(r)}var xk=_k,Sk=zf,Tk=jp,wk=fv,$k=200;function Ak(r,u){var a=this.__data__;if(a instanceof Sk){var c=a.__data__;if(!Tk||c.length<$k-1)return c.push([r,u]),this.size=++a.size,this;a=this.__data__=new wk(c)}return a.set(r,u),this.size=a.size,this}var Ek=Ak,Ok=zf,Dk=vk,kk=yk,Lk=Ck,Pk=xk,Mk=Ek;function Hs(r){var u=this.__data__=new Ok(r);this.size=u.size}Hs.prototype.clear=Dk;Hs.prototype.delete=kk;Hs.prototype.get=Lk;Hs.prototype.has=Pk;Hs.prototype.set=Mk;var Ik=Hs;function Nk(r,u){for(var a=-1,c=r==null?0:r.length;++a1?a("t-button",{staticStyle:{"margin-top":"16px","margin-left":"16px"},attrs:{theme:"danger",size:"small"},on:{click:function(){return r.onDelete(h)}}},[r._v("\u79FB\u9664")]):r._e()],1)]},proxy:!0}],null,!0)})}),1),a("t-form-item",[a("t-tooltip",{attrs:{theme:"light",content:"\u793A\u4F8B\u4E00\uFF1AText\uFF0C\u8F93\u51FA \uFF1B \u793A\u4F8B\u4E8C\uFF1Achildren\uFF0C \u8F93\u51FA\uFF1A"}},[a("t-input",{attrs:{placeholder:"\u5B50\u7EC4\u4EF6"},on:{change:function(){return r.onFormDataChange("content")}},model:{value:r.formData.content,callback:function(c){r.$set(r.formData,"content",c)},expression:"formData.content"}})],1)],1),a("t-form-item",[a("t-tooltip",{attrs:{theme:"light"},scopedSlots:r._u([{key:"content",fn:function(){return[a("p",[r._v(r._s("const wrapper = mount(< RadioGroup >)")+" \u9ED8\u8BA4\u83B7\u53D6\u7EC4\u4EF6\u5B9E\u4F8B\u65B9\u6CD5\u3002")]),a("p",[r._v(r._s("const wrapper = getRadioGroupDefaultMount(RadioGroup, {})")+" \u586B\u5199\u540E\u7684\u83B7\u53D6\u5B9E\u4F8B\u65B9\u6CD5\uFF0C\u4E00\u822C\u7528\u4E8E\u5B58\u5728\u5B50\u7EC4\u4EF6\u7684\u573A\u666F")])]},proxy:!0}])},[a("t-input",{attrs:{placeholder:"\u83B7\u53D6\u7EC4\u4EF6\u5B9E\u4F8B\u7684\u51FD\u6570\u540D\u79F0\uFF0C\u7C7B\u5B50\u7EC4\u4EF6\u573A\u666F\uFF0C\u5982\uFF1AgetRadioGroupDefaultMount"},on:{change:function(){return r.onFormDataChange("wrapper")}},model:{value:r.formData.wrapper,callback:function(c){r.$set(r.formData,"wrapper",c)},expression:"formData.wrapper"}})],1)],1),a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light"},scopedSlots:r._u([{key:"content",fn:function(){return[a("p",[r._v(" \u5F00\u542F\u6821\u9A8C\u7684\u524D\u7F6E\u6761\u4EF6\uFF0C\u793A\u4F8B\u4E00\uFF1Afocus(.t-input__wrap)\u3002\u793A\u4F8B\u4E8C\uFF1Adelay \u6216\u8005 delay(100)\u3002 "),a("t-link",{attrs:{underline:"",href:"https://github.com/vuejs/test-utils/blob/main/src/constants/dom-events.ts#L566",target:"_blank"}},[r._v("\u6240\u6709\u4E8B\u4EF6\u5217\u8868")])],1)]},proxy:!0}])},[a("t-input",{attrs:{placeholder:"\u7B49\u5F85\u6E32\u67D3\u5EF6\u8FDF\u6216\u89E6\u53D1\u4E8B\u4EF6\u540E\u518D\u5F00\u59CB\u6821\u9A8C"},on:{change:function(){return r.onFormDataChange("trigger")}},model:{value:r.formData.trigger,callback:function(c){r.$set(r.formData,"trigger",c)},expression:"formData.trigger"}})],1)],1),a("t-form-item",{staticStyle:{margin:"16px 0 8px 0"}},[a("t-checkbox",{on:{change:function(){return r.onFormDataChange("snapshot")}},model:{value:r.formData.snapshot,callback:function(c){r.$set(r.formData,"snapshot",c)},expression:"formData.snapshot"}},[r._v("\u751F\u6210\u5FEB\u7167\uFF08Snapshots\uFF09")])],1),a("t-form-item",{staticStyle:{margin:"0px 0 8px 0"}},[a("t-checkbox",{model:{value:r.formData.needCopy,callback:function(c){r.$set(r.formData,"needCopy",c)},expression:"formData.needCopy"}},[r._v("\u590D\u7528\u5F53\u524D\u6240\u6709\u6D4B\u8BD5\u7528\u4F8B\u5230\u5176\u4ED6\u300C\u7EC4\u4EF6\u5B9E\u4F8B\u300D")])],1),r.formData.needCopy?a("t-form-item",[a("t-input",{attrs:{placeholder:"\u591A\u4E2A\u5B9E\u4F8B\u9017\u53F7\u9694\u5F00\uFF0C\u793A\u4F8B\uFF1AgetRadioGroupKidsMount"},on:{change:function(){return r.onFormDataChange("copyTestToWrapper")}},model:{value:r.formData.copyTestToWrapper,callback:function(c){r.$set(r.formData,"copyTestToWrapper",c)},expression:"formData.copyTestToWrapper"}})],1):r._e(),a("t-form-item",[a("t-checkbox",{on:{change:function(){return r.onFormDataChange("skip")}},model:{value:r.formData.skip,callback:function(c){r.$set(r.formData,"skip",c)},expression:"formData.skip"}},[r._v("\u8DF3\u8FC7\u5F53\u524D\u6D4B\u8BD5\u7528\u4F8B")])],1)],1)],1)],1)},zN=[];const GN={name:"UnitTestUI",components:{OneCategoryTest:dk},props:{currentTestJSON:Object,apiInfo:{type:Object,default:()=>({})}},data(){return{framework:"PC",formDataPC:ks(Ds),formDataMobile:ks(Ds),frameWorkOptions:[{label:"PC",value:"PC"},{label:"Mobile",value:"Mobile"}],CATEGORY_OPTIONS:Ql}},computed:{formData(){return{PC:this.formDataPC,Mobile:this.formDataMobile}[this.framework]},categories(){return this.formData.list.map(r=>r.category)}},methods:{updateDataByJSON(){const{currentTestJSON:r}=this;r.PC?this.formDataPC=this.updateFormData(this.formDataPC,r.PC):this.formDataPC=ks(Ds),r.Mobile?this.formDataMobile=this.updateFormData(this.formDataMobile,r.Mobile):this.formDataMobile=ks(Ds)},updateFormData(r,u){var c;const a={...r,dom:u.dom,classNameDom:u.classNameDom,attributeDom:u.attributeDom,props:u.props,content:u.content,wrapper:u.wrapper,trigger:u.trigger,copyTestToWrapper:(c=u.copyTestToWrapper)==null?void 0:c.join(),needCopy:Boolean(u.copyTestToWrapper&&u.copyTestToWrapper.length),snapshot:u.snapshot,skip:u.skip,list:[]};Ql.forEach(h=>{const y=h.value;if(u[y]){const S={category:y,[y]:this.formatCategoryData(y,u[y])};y==="className"?S.classNameDom=u.classNameDom:y==="attribute"&&(S.attributeDom=u.attributeDom),["tnode","className","attribute","dom"].includes("key")&&(S.props=u.props),a.list.push(S)}});for(let h=a.list.length;h{u[a.trigger]={arguments:a.arguments?JSON.parse(a.arguments):void 0}}),u}if(r.arrayEvent)return r.arrayEvent.map(u=>({props:u.props?zr(u.props):void 0,description:u.description,wrapper:u.wrapper,expect:u.expect.map(a=>({trigger:a.trigger,event:a.event?zr(a.event):void 0,exist:a.exist?zr(a.exist,[]):void 0,delay:a.delay==="true"?!0:a.delay?Number(a.delay):void 0}))}))},clearFormData(){this.formDataPC=ks(Ds),this.formDataMobile=ks(Ds)},onAddMore(){this[`formData${this.framework}`].list.push({...ed})},onDelete(r){if(this[`formData${this.framework}`].list.length<=1){this.$message.warning("\u81F3\u5C11\u4FDD\u7559\u4E00\u4E2A");return}this[`formData${this.framework}`].list.splice(r,1)}}},pg={};var qN=Yi(GN,HN,zN,!1,VN,null,null,null);function VN(r){for(let u in pg)this[u]=pg[u]}var KN=function(){return qN.exports}(),YN={parser:"typescript",printWidth:120,tabWidth:2,useTabs:!1,semi:!0,singleQuote:!0,quoteProps:"as-needed",jsxSingleQuote:!1,trailingComma:"all",bracketSpacing:!0,arrowParens:"always",rangeStart:0,rangeEnd:1/0,requirePragma:!1,insertPragma:!1,proseWrap:"preserve",htmlWhitespaceSensitivity:"css",vueIndentScriptAndStyle:!1,endOfLine:"lf"},nm={exports:{}};(function(r){var u=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};/** +`),"});"),r.variables.length&&u.unshift(...r.variables))}var wD={getUnitTestCode:zv,getOneUnitTest:Hv,getComponentUnitTests:SD};(function(r,u){const{getComponentUnitTests:a,getOneUnitTest:c}=wD;r.exports={getComponentUnitTests:a,getOneUnitTest:c},u.getComponentUnitTests=a,u.getOneUnitTest=c,u.default=a,Object.defineProperty(u,"__esModule",{value:!0})})(Rf,Rf.exports);var $D=function(){var r=this,u=r.$createElement,a=r._self._c||u;return a("form",{staticClass:"t-form api-edit-form",attrs:{onsubmit:"return false"}},[a("div",{staticClass:"t-form-item"},[a("label",[r._v("\u8BBE\u8BA1\u7EC4\u4EF6\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-select",{attrs:{placeholder:"\u8BF7\u9009\u62E9\u7EC4\u4EF6",clearable:"",filterable:""},model:{value:r.formData.component,callback:function(c){r.$set(r.formData,"component",c)},expression:"formData.component"}},r._l(r.components,function(c,h){return a("t-option",{key:h,attrs:{label:`${c.value} ${c.label}`,value:c.value}})}),1)],1)]),a("div",{staticClass:"t-form-item"},[a("label",{staticStyle:{"vertical-align":"top"}},[r._v("\u6846\u67B6\u5E73\u53F0\uFF1A")]),a("div",{staticClass:"t-form-content platform"},[a("site-checkbox",{attrs:{options:r.platformOptions},model:{value:r.formData.platform,callback:function(c){r.$set(r.formData,"platform",c)},expression:"formData.platform"}})],1)]),a("div",{staticClass:"t-form-item"},[a("label",[r._v(" API \u7C7B\u522B "),a("t-popup",{staticClass:"placement-top",attrs:{content:"Extends \u8868\u793A\u7EC4\u4EF6/\u63D2\u4EF6\u4F1A\u7EE7\u627F\u5F53\u524D API \u6240\u6709\u5C5E\u6027\u3002Return \u8868\u793A\u63D2\u4EF6\u6216\u51FD\u6570\u7684\u8FD4\u56DE\u503C\u3002 \u8868\u793A\u6CDB\u578B\u53C2\u6570",placement:"top-left",visibleArrow:""}},[a("t-icon",{attrs:{name:"help-circle",size:"middle"}})],1),r._v("\uFF1A ")],1),a("div",{staticClass:"t-form-content"},[a("t-radio-group",{model:{value:r.formData.apiCategory,callback:function(c){r.$set(r.formData,"apiCategory",c)},expression:"formData.apiCategory"}},r._l(r.map.field_category,function(c,h){return a("t-radio",{key:h,attrs:{value:c.value}},[r._v(r._s(c.label))])}),1)],1)]),a("div",{staticClass:"t-form-item"},[a("label",[r._v("API \u540D\u79F0\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:r.currentApiCategory.placeholder.name},model:{value:r.formData.name,callback:function(c){r.$set(r.formData,"name",c)},expression:"formData.name"}}),r.currentApiCategory.desc?a("small",[r._v("\u793A\u4F8B\uFF1A`"+r._s(r.currentApiCategory.desc)+"'`")]):r._e()],1)]),r.formData.apiCategory===r.API_CATEGORY_CSS_VAR_API?[a("div",{staticClass:"t-form-item"},[a("label",[r._v("\u9ED8\u8BA4\u503C\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:"\u8BF7\u8F93\u5165\u5B57\u6BB5\u9ED8\u8BA4\u503C"},model:{value:r.formData.defaultValue,callback:function(c){r.$set(r.formData,"defaultValue",c)},expression:"formData.defaultValue"}})],1)])]:r._e(),a("div",{directives:[{name:"show",rawName:"v-show",value:r.isShowSugar,expression:"isShowSugar"}],staticClass:"t-form-item"},[a("label",[r._v("\u8BED\u6CD5\u7CD6(Vue)\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-radio-group",{model:{value:r.formData.syntacticSugar,callback:function(c){r.$set(r.formData,"syntacticSugar",c)},expression:"formData.syntacticSugar"}},[a("t-radio",{attrs:{value:""}},[r._v("\u65E0")]),a("t-radio",{attrs:{value:"v-model"}},[a("t-tooltip",{attrs:{content:"\u5728 Vue3 \u4E2D\u8868\u793A v-model:modelValue"}},[r._v("v-model")])],1),a("t-radio",{attrs:{value:"sync"}},[a("t-tooltip",{attrs:{content:"\u5728 Vue3 \u4E2D\u8868\u793A v-model:xxx"}},[r._v(".sync")])],1)],1)],1)]),r.isShowSugar?a("div",{staticClass:"t-form-item"},[a("label"),a("div",{staticClass:"t-form-content"},[a("t-checkbox",{model:{value:r.formData.supportDefaultValue,callback:function(c){r.$set(r.formData,"supportDefaultValue",c)},expression:"formData.supportDefaultValue"}},[r._v("\u662F\u5426\u652F\u6301\u975E\u53D7\u63A7\u5C5E\u6027")])],1)]):r._e(),[r.API_CATEGORY_PROPS,r.API_CATEGORY_PLUGINS].includes(Number(r.formData.apiCategory))?[a("div",{staticClass:"t-form-item"},[a("label",{staticStyle:{"vertical-align":"top"}},[a("span",[r._v("API \u7C7B\u578B")]),a("t-popup",{staticClass:"placement-top",attrs:{content:"\u3010Tips\u3011TNode \u662F TDesign \u5B9A\u4E49\u7684\u4E00\u79CD\u96C6\u5408\u6570\u636E\u7C7B\u578B\uFF0C\u7528\u4E8E\u63CF\u8FF0\u591A\u7C7B\u578B API\u3002TNode = Function + Slot + ReactNode",placement:"top-left",visibleArrow:""}},[a("t-icon",{attrs:{name:"help-circle",size:"middle"}})],1),r._v("\uFF1A ")],1),a("div",{staticClass:"t-form-content api-type"},[a("t-checkbox-group",{on:{change:r.onFieldTypeChange},model:{value:r.formData.fieldType,callback:function(c){r.$set(r.formData,"fieldType",c)},expression:"formData.fieldType"}},r._l(r.fieldOptions,function(c){return a("t-checkbox",{key:c.value,attrs:{value:c.value}},[r._v(r._s(c.label))])}),1)],1)]),a("div",{staticClass:"t-form-item"},[a("label",[r._v("TS \u7C7B\u578B\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-textarea",{attrs:{placeholder:"API \u7C7B\u578B\u4E0D\u80FD\u6EE1\u8DB3\u9700\u8981\u65F6\uFF0C\u53EF\u5728\u6B64\u5904\u8F93\u5165\u8BE6\u7EC6\u7684 TS \u7C7B\u578B\uFF0C\u4F8B\u5982\uFF1A ButtonProps\u3002API \u7C7B\u578B\u5305\u542B\u6CDB\u578B\u65F6\uFF0C\u8BE5\u9879\u5FC5\u586B\u3002"},model:{value:r.formData.customFieldType,callback:function(c){r.$set(r.formData,"customFieldType",c)},expression:"formData.customFieldType"}})],1)]),a("div",{staticClass:"t-form-item"},[a("label",[r._v("\u9ED8\u8BA4\u503C\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:"\u8BF7\u8F93\u5165\u5B57\u6BB5\u9ED8\u8BA4\u503C"},model:{value:r.formData.defaultValue,callback:function(c){r.$set(r.formData,"defaultValue",c)},expression:"formData.defaultValue"}})],1)]),r.isShowEnumField?a("div",{staticClass:"t-form-item"},[a("label",[r._v("\u53EF\u9009\u503C\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:"\u591A\u4E2A\u53EF\u9009\u503C\u4F7F\u7528\u659C\u6760(/)\u9694\u5F00\uFF0C\u5982\uFF1Aprimary/warning/error"},model:{value:r.formData.fieldEnums,callback:function(c){r.$set(r.formData,"fieldEnums",c)},expression:"formData.fieldEnums"}})],1)]):r._e(),a("div",{staticClass:"t-form-item"},[a("label",[r._v("\u5C5E\u6027\u63CF\u8FF0\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:"\u8BF7\u8F93\u5165\u5C5E\u6027\u63CF\u8FF0\uFF08\u4E2D\u6587\uFF09\uFF0C\u5B57\u6BB5\u4E3A\u591A\u7C7B\u578B\u65F6\uFF0C\u9700\u8981\u63CF\u8FF0\u5404\u4E2A\u7C7B\u578B\u7684\u542B\u4E49"},model:{value:r.formData.descZh,callback:function(c){r.$set(r.formData,"descZh",c)},expression:"formData.descZh"}})],1)]),a("div",{staticClass:"t-form-item"},[a("label",[r._v("\u82F1\u6587\u63CF\u8FF0\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:"type API description in English"},model:{value:r.formData.descEn,callback:function(c){r.$set(r.formData,"descEn",c)},expression:"formData.descEn"}})],1)])]:!r.isExtendsApi&&!r.isReturnApi&&!r.isT?[a("div",{directives:[{name:"show",rawName:"v-show",value:r.isShowParams,expression:"isShowParams"}],staticClass:"t-form-item"},[a("label",[r._v("\u53C2\u6570\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:r.currentApiCategory.placeholder.inputParams},model:{value:r.formData.eventInput,callback:function(c){r.$set(r.formData,"eventInput",c)},expression:"formData.eventInput"}})],1)]),a("div",{directives:[{name:"show",rawName:"v-show",value:r.isShowReturn,expression:"isShowReturn"}],staticClass:"t-form-item"},[a("label",[r._v("\u8FD4\u56DE\u503C\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:r.currentApiCategory.placeholder.outputParams},model:{value:r.formData.eventOutput,callback:function(c){r.$set(r.formData,"eventOutput",c)},expression:"formData.eventOutput"}})],1)]),a("div",{staticClass:"t-form-item"},[a("label",[r._v("\u63CF\u8FF0\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:r.currentApiCategory.placeholder.descZh},model:{value:r.formData.descZh,callback:function(c){r.$set(r.formData,"descZh",c)},expression:"formData.descZh"}})],1)]),a("div",{staticClass:"t-form-item"},[a("label",[r._v("Description\uFF1A")]),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:r.currentApiCategory.placeholder.descEn},model:{value:r.formData.descEn,callback:function(c){r.$set(r.formData,"descEn",c)},expression:"formData.descEn"}})],1)]),a("div",{directives:[{name:"show",rawName:"v-show",value:Number(r.formData.apiCategory)===r.API_CATEGORY_EVENTS,expression:"Number(formData.apiCategory) === API_CATEGORY_EVENTS"}],staticClass:"t-form-item"},[a("label",[a("span",[r._v("\u89E6\u53D1\u5143\u7D20(React)")]),a("t-popup",{staticClass:"placement-top",attrs:{content:"\u3010Tips\u3011\u7528\u4E8E\u63CF\u8FF0\u4E8B\u4EF6\u7C7B\u578B\u7684\u8303\u578B\u7EA6\u675F\uFF0C\u4EC5\u7528\u4E8E React",placement:"top-left",visibleArrow:""}},[a("t-icon",{attrs:{name:"help-circle",size:"middle"}})],1),r._v("\uFF1A ")],1),a("div",{staticClass:"t-form-content"},[a("t-input",{attrs:{placeholder:r.currentApiCategory.placeholder.triggerElements},model:{value:r.formData.triggerElements,callback:function(c){r.$set(r.formData,"triggerElements",c)},expression:"formData.triggerElements"}})],1)])]:r._e(),a("div",{staticClass:"t-form-item"},[a("label"),a("div",{staticClass:"t-form-content"},[a("t-checkbox",{model:{value:r.formData.required,callback:function(c){r.$set(r.formData,"required",c)},expression:"formData.required"}},[r._v("\u662F\u5426\u5FC5\u9700")])],1)]),a("div",{staticClass:"t-form-item"},[a("label"),a("div",{staticClass:"t-form-content"},[a("t-checkbox",{model:{value:r.formData.deprecated,callback:function(c){r.$set(r.formData,"deprecated",c)},expression:"formData.deprecated"}},[r._v("\u662F\u5426\u5E9F\u5F03")])],1)]),a("div",{staticClass:"t-form-item"},[a("label",[r._v(" \u7248\u672C\u53F7 "),a("t-popup",{staticClass:"placement-top",attrs:{content:r.versionDescription,placement:"top-left",visibleArrow:""}},[a("t-icon",{attrs:{name:"help-circle",size:"middle"}})],1),r._v(" \uFF1A ")],1),a("div",{staticClass:"t-form-content"},[a("t-textarea",{attrs:{autosize:{minRows:3},placeholder:"\u4ECE\u54EA\u4E2A\u7248\u672C\u53F7\u5F00\u59CB\u652F\u6301\u7684\u8FD9\u4E2A API\uFF08JSON\uFF09"},model:{value:r.formData.version,callback:function(c){r.$set(r.formData,"version",c)},expression:"formData.version"}})],1)])],2)},AD=[];const ED=["\u4ECE\u54EA\u4E2A\u7248\u672C\u53F7\u5F00\u59CB\u652F\u6301\u7684\u8FD9\u4E2A API\uFF0C\u4E0D\u540C\u7684\u6846\u67B6\u6709\u4E0D\u540C\u7684\u7248\u672C\u53F7\u3002",`\u793A\u4F8B\uFF1A${JSON.stringify({"Vue(PC)":"0.50.1","VueNext(PC)":"0.24.9","React(PC)":"0.43.1",Miniprogram:"0.27.0","Vue(Mobile)":"0.14.1"},void 0,2)}`].join(` +`),OD={name:"APIDesignImport",components:{SiteCheckbox:nv,TIcon:i1,TInput:yg,TSelect:kp,TOption:Lp,TPopup:a1,TCheckbox:vg,TCheckboxGroup:mg,TRadio:o1,TRadioGroup:s1},props:{dataBase:{},map:Object,info:Object,mode:String},data(){return{API_CATEGORY_EVENTS:Lf,API_CATEGORY_PROPS:dp,API_CATEGORY_PLUGINS:hp,API_CATEGORY_FUNCTIONS:Pf,API_CATEGORY_CSS_VAR_API:CS,STRING:np,list:[],versionDescription:ED,componentApiData:[],formData:{platform:[],component:"",apiCategory:"1",fieldType:[],customFieldType:"",defaultValue:"",required:!1,deprecated:!1,fieldEnums:"",descZh:"",descEn:"",testDescription:"",version:"",supportDefaultValue:!1,name:"",eventInput:"",eventOutput:"",syntacticSugar:"",html_attribute:!1,triggerElements:""}}},computed:{components(){return this.map&&this.map.components},fieldOptions(){return this.map&&this.map.field_type},platformOptions(){return this.map&&this.map.platform_framework},currentApiCategory(){return _S[this.formData.apiCategory]||{placeholder:{}}},isShowSugar(){const u=!!this.formData.platform.filter(c=>[SS,TS,wS].includes(Number(c))).length,a=[Lf,dp,hp].includes(Number(this.formData.apiCategory));return u&&a},isExtendsApi(){return String(this.formData.apiCategory)===String(iv)},isReturnApi(){return String(this.formData.apiCategory)===String(av)},isT(){return String(this.formData.apiCategory)===String(ov)},isShowEnumField(){return this.formData.fieldType.includes(String(np))||this.formData.fieldType.includes(String(xS))},isShowParams(){return[Pf,Lf].includes(Number(this.formData.apiCategory))},isShowReturn(){return[Pf].includes(Number(this.formData.apiCategory))}},watch:{platformOptions(r){!r||(this.formData.platform=[])},info(r){this.formData={...this.formData,testDescription:""},r&&(this.formData={platform:r.platform_framework,component:r.component,apiCategory:r.field_category?String(r.field_category):"1",fieldType:r.field_type,customFieldType:r.custom_field_type,defaultValue:r.field_default_value,required:!!r.field_required,deprecated:!!r.deprecated,fieldEnums:r.field_enum,descZh:r.field_desc_zh,descEn:r.field_desc_en,testDescription:r.test_description,version:r.version,supportDefaultValue:Boolean(r.support_default_value),htmlAttribute:Boolean(r.html_attribute),name:r.field_name,eventInput:r.event_input,eventOutput:r.event_output,syntacticSugar:r.syntactic_sugar,triggerElements:r.trigger_elements},this.mode==="create"&&(this.formData.testDescription=""),this.getCurrentComponentData())}},methods:{onFieldTypeChange(r){r.includes(String(np))||(this.formData.fieldEnums="")},getCurrentComponentData(){if(!this.info.component)return;const r=Gg(),u=r[this.info.component]?r[this.info.component].join():this.info.component;Ra({method:"get",url:"/cmp/api",params:{component:u,page:1,page_size:300}}).then(a=>{this.componentApiData=a.data.data,this.loading=!1},()=>{this.loading=!1})}}},Nh={};var DD=Yi(OD,$D,AD,!1,kD,null,null,null);function kD(r){for(let u in Nh)this[u]=Nh[u]}var LD=function(){return DD.exports}();function js(r,u,a){return u in r?Object.defineProperty(r,u,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[u]=a,r}function PD(r,u){if(r==null)return{};var a={},c=Object.keys(r),h,y;for(y=0;y=0)&&(a[h]=r[h]);return a}function Fa(r,u){if(r==null)return{};var a=PD(r,u),c,h;if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(r);for(h=0;h=0)&&(!Object.prototype.propertyIsEnumerable.call(r,c)||(a[c]=r[c]))}return a}var MD=["attrs"];function Rh(r,u){var a=Object.keys(r);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(r);u&&(c=c.filter(function(h){return Object.getOwnPropertyDescriptor(r,h).enumerable})),a.push.apply(a,c)}return a}function sp(r){for(var u=1;u{h.push({trigger:y,arguments:JSON.stringify(S.arguments)})}),a=h}return r==="array"&&u.event.length&&(c=u.event.map(h=>({props:h.props?JSON.stringify(h.props):"",description:h.description,wrapper:h.wrapper,expect:h.expect.map(y=>({trigger:y.trigger,event:JSON.stringify(y.event),exist:Array.isArray(y.exist)?JSON.stringify(y.exist):y.exist,delay:(()=>y.delay===!0?"true":typeof y.delay=="number"?String(y.delay):y.delay)()}))}))),{objectEvent:a,arrayEvent:c}}var uk=function(){var r=this,u=r.$createElement,a=r._self._c||u;return a("div",{staticClass:"unit-test-ui__one-unit-test"},[a("t-radio-group",{attrs:{value:r.formData.category},on:{change:r.onCategoryChange}},r._l(r.testCategoryOptions,function(c){return a("t-radio-button",{key:c.value,attrs:{value:c.value}},[a("t-tooltip",{attrs:{content:c.tips}},[a("span",[r._v(r._s(c==null?void 0:c.label))])])],1)}),1),r.formData.category==="tnode"&&r.formData.tnode?[a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light",content:"\u683C\u5F0F\uFF1ADomSelector\u3002\u6807\u7B7E\u8F93\u5165\u3002\u5982\u679C\u5143\u7D20\u90FD\u6302\u8F7D\u5728 document.body \u4E0A\uFF0C\u8BF7\u52A0\u4E0A document \u524D\u7F00\uFF0C\u793A\u4F8B\uFF1Adocument.class-name\u3002\u5982\u679C\u662F\u81EA\u5B9A\u4E49\u8282\u70B9\uFF0C\u5219\u662F document.custom-node"}},[a("t-tag-input",{attrs:{placeholder:"\u9664\u81EA\u5B9A\u4E49\u8282\u70B9\uFF0C\u8FD8\u671F\u671B\u54EA\u4E9B\u5143\u7D20\u540C\u65F6\u5B58\u5728\uFF0C\u6807\u7B7E\u8F93\u5165\uFF0C\u793A\u4F8B\uFF1A.t-radio__label"},on:{change:function(){return r.onFormDataChange("tnode")}},model:{value:r.formData.tnode.dom,callback:function(c){r.$set(r.formData.tnode,"dom",c)},expression:"formData.tnode.dom"}})],1)],1),a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light"},scopedSlots:r._u([{key:"content",fn:function(){return[r._v(' \u793A\u4F8B\uFF1A[{ "value": "tdesign-vue" }] ')]},proxy:!0}],null,!1,1378868323)},[a("t-input",{attrs:{placeholder:"TNode \u51FD\u6570\u53C2\u6570"},on:{blur:function(){return r.onFormDataChange("tnode")}},model:{value:r.formData.tnode.params,callback:function(c){r.$set(r.formData.tnode,"params",c)},expression:"formData.tnode.params"}})],1)],1),a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light"},scopedSlots:r._u([{key:"content",fn:function(){return[a("p",[r._v(" \u683C\u5F0F\uFF1AEventName(DomSelector) \u6216\u8005 delay\u3002focus(.t-input__wrap) \u8868\u793A\u5F53\u5143\u7D20 .t-input__wrap \u805A\u7126\u540E\u624D\u4F1A\u51FA\u73B0\u524D\u9762\u671F\u671B\u7684\u5143\u7D20\u3002 \u793A\u4F8B\uFF1Adelay \u3001 delay(100) "),a("t-link",{attrs:{underline:"",href:"https://github.com/vuejs/test-utils/blob/main/src/constants/dom-events.ts#L566",target:"_blank"}},[r._v("\u6240\u6709\u4E8B\u4EF6\u5217\u8868")])],1)]},proxy:!0}],null,!1,73742847)},[a("t-input",{attrs:{placeholder:"\u89E6\u53D1\u81EA\u5B9A\u4E49\u8282\u70B9\u663E\u793A\u7684\u524D\u7F6E\u4E8B\u4EF6\uFF0C\u5982\uFF1Afocus(.t-input__wrap)"},on:{change:function(){return r.onFormDataChange("tnode")}},model:{value:r.formData.tnode.trigger,callback:function(c){r.$set(r.formData.tnode,"trigger",c)},expression:"formData.tnode.trigger"}})],1)],1),a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light",content:"\u8FD8\u9700\u8981\u6DFB\u52A0\u54EA\u4E9B\u5C5E\u6027\u5230\u7EC4\u4EF6"}},[a("t-input",{attrs:{placeholder:"\u6DFB\u52A0\u989D\u5916\u7684\u7EC4\u4EF6\u5C5E\u6027\uFF0C\u683C\u5F0F\uFF1AJSON"},on:{blur:function(){return r.onFormDataChange("tnode")}},model:{value:r.formData.props,callback:function(c){r.$set(r.formData,"props",c)},expression:"formData.props"}})],1)],1)]:r._e(),r.formData.category==="className"?[a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light"},scopedSlots:r._u([{key:"content",fn:function(){return[r.apiInfo&&r.apiInfo.field_type_text.join()==="Boolean"?a("p",[r._v(" "+r._s(r.formData.className?`\u7C7B\u540D\u89C4\u5219\uFF1A\u5F53\u524D\u503C\u7C7B\u578B\u4E3A Boolean\uFF0C\u5F53\u503C\u4E3A true \u65F6\uFF0C\u671F\u671B\u5B58\u5728\u7C7B\u540D ${r.formData.className}`:"\u7C7B\u540D\u89C4\u5219\uFF1A\u5F53\u524D\u503C\u7C7B\u578B\u4E3A Boolean\uFF0C\u63A8\u8350\u89C4\u5219\u5F62\u5982\uFF1A.t-size-full-width\u3002\u8868\u793A\u503C\u4E3A true \u65F6\uFF0C\u671F\u671B\u7C7B\u540D t-size-full-width \u5B58\u5728")+" ")]):r._e(),r.apiInfo&&r.apiInfo.field_type_text.join()==="String"?a("p",[r._v(" \u7C7B\u540D\u89C4\u5219\uFF1A ")]):r._e(),r._l(r.getClassNameRecommend(),function(c,h){return a("p",{key:h},[r._v(r._s(c))])}),a("p")]},proxy:!0}],null,!1,1796600822)},[a("t-textarea",{attrs:{placeholder:"\u7C7B\u540D\u89C4\u5219"},on:{blur:function(){return r.onFormDataChange("className")}},model:{value:r.formData.className,callback:function(c){r.$set(r.formData,"className",c)},expression:"formData.className"}})],1)],1),a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light",content:"\u4E0A\u8FF0\u7C7B\u540D\u89C4\u5219\u5E94\u7528\u5728\u54EA\u4E2A\u5B50\u8282\u70B9\uFF0C\u4E0D\u586B\u6216\u8005\u586B\u5199 'self' \u8868\u793A\u7EC4\u4EF6\u6839\u8282\u70B9"}},[a("t-input",{attrs:{placeholder:"\u7C7B\u540D\u89C4\u5219\u5E94\u7528\u7684 HTML \u5143\u7D20"},on:{change:function(){return r.onFormDataChange("className")}},model:{value:r.formData.classNameDom,callback:function(c){r.$set(r.formData,"classNameDom",c)},expression:"formData.classNameDom"}})],1)],1),a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light",content:"\u8FD8\u9700\u8981\u6DFB\u52A0\u54EA\u4E9B\u5C5E\u6027\u5230\u7EC4\u4EF6\uFF0C\u5982\u679C API \u6570\u636E\u7C7B\u578B\u4E3A boolean \u53EF\u4EE5\u4E0D\u6DFB\u52A0"}},[a("t-input",{attrs:{placeholder:"\u6DFB\u52A0\u989D\u5916\u7684\u7EC4\u4EF6\u5C5E\u6027\uFF0C\u683C\u5F0F\uFF1AJSON"},on:{blur:function(){return r.onFormDataChange("className")}},model:{value:r.formData.props,callback:function(c){r.$set(r.formData,"props",c)},expression:"formData.props"}})],1)],1)]:r._e(),r.formData.category==="attribute"?[a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light"},scopedSlots:r._u([{key:"content",fn:function(){return[a("p",[r._l(r.getAttributeRecommend(),function(c){return[a("p",[r._v(r._s(c))])]})],2)]},proxy:!0}],null,!1,2868227598)},[a("t-textarea",{attrs:{placeholder:"\u5C5E\u6027\u89C4\u5219"},on:{blur:function(){return r.onFormDataChange("attribute")}},model:{value:r.formData.attribute,callback:function(c){r.$set(r.formData,"attribute",c)},expression:"formData.attribute"}})],1)],1),a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light",content:"\u4E0A\u8FF0\u5C5E\u6027\u89C4\u5219\u5E94\u7528\u5728\u54EA\u4E2A\u5B50\u8282\u70B9\uFF0C\u4E0D\u586B\u6216\u8005\u586B\u5199 'self' \u8868\u793A\u7EC4\u4EF6\u6839\u8282\u70B9"}},[a("t-input",{attrs:{placeholder:"\u5C5E\u6027\u89C4\u5219\u5E94\u7528\u7684 HTML \u5143\u7D20"},on:{change:function(){return r.onFormDataChange("attribute")}},model:{value:r.formData.attributeDom,callback:function(c){r.$set(r.formData,"attributeDom",c)},expression:"formData.attributeDom"}})],1)],1),a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light",content:"\u8FD8\u9700\u8981\u6DFB\u52A0\u54EA\u4E9B\u5C5E\u6027\u5230\u7EC4\u4EF6\uFF0C\u5982\u679C API \u6570\u636E\u7C7B\u578B\u4E3A boolean \u53EF\u4EE5\u4E0D\u6DFB\u52A0"}},[a("t-input",{attrs:{placeholder:"\u6DFB\u52A0\u989D\u5916\u7684\u7EC4\u4EF6\u5C5E\u6027\uFF0C\u683C\u5F0F\uFF1AJSON"},on:{blur:function(){return r.onFormDataChange("attribute")}},model:{value:r.formData.props,callback:function(c){r.$set(r.formData,"props",c)},expression:"formData.props"}})],1)],1)]:r._e(),r.formData.category==="dom"?[a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light"},scopedSlots:r._u([{key:"content",fn:function(){return[a("p",[r._l(r.getDomRecommend(),function(c){return[a("p",[r._v(r._s(c))])]})],2)]},proxy:!0}],null,!1,2415190324)},[a("t-textarea",{attrs:{placeholder:"\u68C0\u6D4B\u67D0\u4E2A\u5143\u7D20\u662F\u5426\u5B58\u5728\u7684\u89C4\u5219"},on:{blur:function(){return r.onFormDataChange("dom")}},model:{value:r.formData.dom,callback:function(c){r.$set(r.formData,"dom",c)},expression:"formData.dom"}})],1),a("t-tooltip",{attrs:{theme:"light",trigger:"click",placement:"bottom-left"},scopedSlots:r._u([{key:"content",fn:function(){return[a("p",[r._l(r.getDomMoreTips(),function(c){return[a("p",[r._v(r._s(c))])]})],2)]},proxy:!0}],null,!1,729966059)},[a("t-button",{attrs:{variant:"text",theme:"primary",size:"small"}},[r._v("\u70B9\u51FB\u67E5\u770B\u89C4\u5219\u7EC6\u8282")])],1)],1),a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light",content:"\u8FD8\u9700\u8981\u6DFB\u52A0\u54EA\u4E9B\u5C5E\u6027\u5230\u7EC4\u4EF6\uFF0C\u5982\u679C API \u6570\u636E\u7C7B\u578B\u4E3A boolean \u53EF\u4EE5\u4E0D\u6DFB\u52A0"}},[a("t-input",{attrs:{placeholder:"\u6DFB\u52A0\u989D\u5916\u7684\u7EC4\u4EF6\u5C5E\u6027\uFF0C\u683C\u5F0F\uFF1AJSON"},on:{blur:function(){return r.onFormDataChange("dom")}},model:{value:r.formData.props,callback:function(c){r.$set(r.formData,"props",c)},expression:"formData.props"}})],1)],1)]:r._e(),r.formData.category==="event"?[a("div",[a("t-radio-group",{staticStyle:{margin:"16px 0"},model:{value:r.eventType,callback:function(c){r.eventType=c},expression:"eventType"}},[a("t-radio",{attrs:{value:"object"}},[r._v("\u7B80\u5355\u4E8B\u4EF6\u53C2\u6570")]),a("t-radio",{attrs:{value:"array"}},[r._v("\u590D\u6742\u4EBA\u673A\u4EA4\u4E92")])],1),r.eventType==="object"?a("t-card",{staticClass:"t-event-object-card"},r._l(r.objectEvent,function(c,h){return a("div",{key:h,staticClass:"unit-test-ui__one-object-event"},[a("t-tooltip",{attrs:{trigger:"focus",theme:"light",content:"\u4E8B\u4EF6\u540D\uFF0C\u5982\uFF1Aclick \u6216\u8005 click(.t-input)"}},[a("t-input",{staticStyle:{"min-width":"130px",width:"130px"},attrs:{placeholder:"\u4E8B\u4EF6\u540D"},on:{change:r.onObjectEventChange},model:{value:r.objectEvent[h].trigger,callback:function(y){r.$set(r.objectEvent[h],"trigger",y)},expression:"objectEvent[index].trigger"}})],1),a("t-tooltip",{attrs:{trigger:"focus",theme:"light"},scopedSlots:r._u([{key:"content",fn:function(){return[r._v(` \u793A\u4F8B\uFF1A[{ "e.type": "click" }, [100, 101]] \u3002\u8868\u793A\u7B2C\u4E00\u4E2A\u53C2\u6570\u5B58\u5728\u5C5E\u6027 'e.type' \u503C\u4E3A 'click'\uFF0C\u7B2C\u4E8C\u4E2A\u53C2\u6570\u503C\u4E3A [100, 101] `)]},proxy:!0}],null,!0)},[a("t-input",{staticStyle:{"margin-left":"16px"},attrs:{placeholder:"\u4E8B\u4EF6\u53C2\u6570"},on:{change:r.onObjectEventChange},model:{value:r.objectEvent[h].arguments,callback:function(y){r.$set(r.objectEvent[h],"arguments",y)},expression:"objectEvent[index].arguments"}})],1),a("t-button",{staticStyle:{"margin-left":"8px"},attrs:{variant:"text",theme:"primary",size:"small"},on:{click:function(){return r.onObjectEventAdd(h)}}},[a("AddCircleIcon")],1),a("t-button",{attrs:{variant:"text",theme:"danger",size:"small"},on:{click:function(){return r.onObjectEventDelete(h)}}},[a("MinusCircleIcon")],1)],1)}),0):r._e(),r.eventType==="array"?a("div",r._l(r.arrayEvent,function(c,h){return a("t-card",{key:h,staticClass:"test-card-array-event"},[a("h4",{staticStyle:{"margin-top":"0"}},[r._v("\u7B2C"+r._s(["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94"][h])+"\u4E2A\u4EA4\u4E92\u6D4B\u8BD5\u7528\u4F8B")]),a("div",{staticStyle:{display:"flex","align-items":"center","margin-bottom":"16px"}},[a("label",{staticStyle:{width:"100px"}},[r._v("\u7528\u4F8B\u63CF\u8FF0\uFF1A")]),a("t-input",{attrs:{placeholder:"\u9009\u586B\uFF0C\u5F53\u524D\u6D4B\u8BD5\u7528\u4F8B\u6587\u672C\u63CF\u8FF0\uFF0C\u9ED8\u8BA4\u4E3A xxx works fine"},on:{blur:r.onEventPropsChange},model:{value:r.arrayEvent[h].description,callback:function(y){r.$set(r.arrayEvent[h],"description",y)},expression:"arrayEvent[index].description"}})],1),r._l(r.arrayEvent[h].expect,function(y,S){return a("div",[a("div",{staticStyle:{display:"flex","align-items":"center","margin-bottom":"16px"}},[r._v(" \u7B2C"+r._s(["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D","\u5341"][S])+"\u4E2A\u4E8B\u4EF6\uFF1A "),a("t-button",{attrs:{theme:"primary",variant:"text",size:"small"},on:{click:function(){return r.onEventExpectEdit(y,S,h,"edit")}}},[a("EditIcon")],1),a("t-button",{attrs:{theme:"primary",variant:"text",size:"small"},on:{click:function(){return r.onEventExpectAdd(y,S,h,"add")}}},[a("AddCircleIcon")],1),a("t-button",{attrs:{theme:"danger",variant:"text",size:"small"},on:{click:function(){return r.onEventExpectDelete(S,h,"delete")}}},[a("MinusCircleIcon")],1)],1),y.trigger||y.event||y.exist?a("p",{staticClass:"t-input__tips t-input__tips--default",staticStyle:{position:"relative"}},[r._v(" "+r._s(r.getEventDescription(y))+" ")]):r._e()])}),a("div",{staticStyle:{display:"flex","align-items":"center","margin-bottom":"16px"}},[a("label",{staticStyle:{width:"100px"}},[r._v("\u7EC4\u4EF6\u5C5E\u6027\uFF1A")]),a("t-input",{attrs:{placeholder:"\u9009\u586B\uFF0C\u5F53\u524D\u6D4B\u8BD5\u7528\u4F8B\u6240\u9700\u7684\u5FC5\u8981\u5C5E\u6027\uFF0C\u683C\u5F0F\uFF1AJSON"},on:{blur:r.onEventPropsChange},model:{value:r.arrayEvent[h].props,callback:function(y){r.$set(r.arrayEvent[h],"props",y)},expression:"arrayEvent[index].props"}})],1),a("div",{staticStyle:{display:"flex","align-items":"center","margin-bottom":"16px"}},[a("label",{staticStyle:{width:"100px"}},[r._v("\u5B9E\u4F8B\u51FD\u6570\uFF1A")]),a("t-input",{attrs:{placeholder:"\u9ED8\u8BA4\u76F4\u63A5\u4F7F\u7528\u7EC4\u4EF6\u83B7\u53D6\uFF0C\u793A\u4F8B\uFF1AgetRadioGroupDefaultMount"},on:{blur:r.onEventPropsChange},model:{value:r.arrayEvent[h].wrapper,callback:function(y){r.$set(r.arrayEvent[h],"wrapper",y)},expression:"arrayEvent[index].wrapper"}})],1),a("div",{staticStyle:{"margin-top":"16px","text-align":"right"}},[a("t-button",{attrs:{size:"small"},on:{click:function(){return r.onArrayEventAdd(h)}}},[r._v(" \u518D\u6765\u4E00\u4E2A ")]),r.arrayEvent.length>1?a("t-button",{staticStyle:{"margin-left":"8px"},attrs:{theme:"danger",size:"small"},on:{click:function(){return r.onArrayEventDelete(h)}}},[r._v(" \u79FB\u9664 ")]):r._e()],1)],2)}),1):r._e()],1)]:r._e(),r._t("operation"),a("EventExpect",{attrs:{visible:r.eventExpectVisible,eventExpect:r.currentExpectData.expectData,eventExpectMode:r.eventExpectMode},on:{"update:visible":function(c){r.eventExpectVisible=c},confirm:r.onEventExpectChange}})],2)},fk=[];const lp=[{trigger:"",arguments:""}],Zl=[{expect:[{trigger:"",event:"",exist:""}],props:""}],ck={name:"OneCategoryTest",components:{AddCircleIcon:GD,MinusCircleIcon:ek,EventExpect:ok,EditIcon:ZD},props:{data:{type:Object,default:()=>({})},apiInfo:{type:Object,default:()=>({})},categories:Array,testProps:{type:[Object,String],default:()=>({})}},data(){return{formData:{category:"",attribute:"",attributeDom:"",props:"",className:"",classNameDom:"",dom:""},testCategoryOptions:Ql,eventType:"object",objectEvent:[...lp],arrayEvent:[...Zl],eventExpectVisible:!1,currentExpectData:{expectData:{...Zl[0].expect},expectIndex:-1,eventIndex:-1},eventExpectMode:"edit"}},watch:{testProps:{immediate:!0,handler(r){!this.formData||this.$nextTick(()=>{const u=typeof r=="string"?zr(r):r,c={...this.formData.props?zr(this.formData.props,{}):{},...u};this.$set(this.formData,"props",Object.keys(c).length?JSON.stringify(c):"")})}},data:{immediate:!0,handler(r){if(this.formData=sk(r),r.event){this.eventType=Array.isArray(r.event)?"array":"object";const{objectEvent:u,arrayEvent:a}=lk(this.eventType,r);u.length&&(this.objectEvent=u),a.length&&(this.arrayEvent=a)}}},eventType(){this.objectEvent=[...lp],this.arrayEvent=[...Zl]}},methods:{onFormDataChange(r,u){this.$emit("formDataChange",r,{...u,formData:this.formData})},onCategoryChange(r){if(this.categories.includes(r)){const a=Ql.find(c=>c.value===r);this.$message.warning(`${a.label} already exist`);return}Ql.map(a=>{delete this.formData[a.value]});const u=ed[r];Array.isArray(u)?this.formData[r]=[...u]:typeof u=="object"?this.formData[r]={...u}:this.formData[r]=u,this.formData.category=r,r==="event"&&(this.objectEvent=[...lp],this.arrayEvent=[...Zl]),this.onFormDataChange("category")},getClassNameRecommend(){return["\u4E0D\u540C\u7684\u503C\uFF0C\u671F\u671B\u4E0D\u540C\u7684\u6839\u5143\u7D20\uFF08\u6216\u5B50\u5143\u7D20\uFF09\u5B58\u5728\u4E0D\u540C\u7684\u7C7B\u540D\u3002","\u63A8\u8350\u89C4\u5219\u4E00\uFF1At-button--variant-${item}\u3002\u5B58\u5728\u679A\u4E3E\u503C\uFF0C\u503C\u4E3A\u7C7B\u540D\u7684\u4E00\u90E8\u5206",'\u63A8\u8350\u89C4\u5219\u4E8C\uFF1A["t-size-s", "t-size-m", "t-size-l"]\u3002\u5B58\u5728\u679A\u4E3E\u503C\u3002\u5982\u679C\u671F\u671B t-size-m \u4E0D\u5B58\u5728\uFF0C\u8BF7\u8BBE\u7F6E [{ "t-size-m": false }]','\u63A8\u8350\u89C4\u5219\u4E09\uFF1A{ "underline": "t-link--hover-underline" }\u3002\u4E0D\u5B58\u5728\u679A\u4E3E\u503C\u3002',`\u63A8\u8350\u89C4\u5219\u56DB\uFF1A[{ "value": "'tdesign-class'", "expect": [{"dom": "tbody > tr", "className": { "tdesign-class": true }}] }]\u3002\u4E0D\u540C\u7684\u503C\u5BF9\u5E94\u591A\u4E2A\u4E0D\u540C\u7684\u5143\u7D20\u548C\u7C7B\u540D\u3002\u3010\u6CE8\u610F\u3011\u8FD9\u4E2A\u89C4\u5219\uFF0C\u4E0D\u9700\u8981\u586B\u5199\u4E0B\u65B9\u7684 \u300C\u7C7B\u540D\u89C4\u5219\u5E94\u7528\u7684 HTML \u5143\u7D20\u300D`]},getAttributeRecommend(){return["\u5C5E\u6027\u89C4\u5219\uFF1A","\u4E0D\u540C\u7684\u503C\uFF0C\u671F\u671B\u4E0D\u540C\u7684\u6839\u5143\u7D20\uFF08\u6216\u5B50\u5143\u7D20\uFF09\u5B58\u5728\u4E0D\u540C\u7684\u5C5E\u6027\u3002\u5143\u7D20\u7684 style/value/checked \u7B49\u4E5F\u5C5E\u4E8E\u5C5E\u6027\u6D4B\u8BD5\u3002",'\u63A8\u8350\u89C4\u5219\u4E00\uFF1A{ "type": ["submit", "reset", "button"] }','\u63A8\u8350\u89C4\u5219\u4E8C\uFF1A{ "href": "https://tdesign.tencent.com/" }',`\u63A8\u8350\u89C4\u5219\u4E09\uFF1A[{ "value": "{ 'data-level': 'level-1' }", "expect": [{ "dom": "tbody > tr", "attribute": { "data-level": "level-1" }}] }]\u3002\u5176\u4E2D\uFF0Cvalue \u8868\u793A API \u7684\u503C\uFF0C\u53EF\u4EE5\u662F\u51FD\u6570\u6216\u6570\u7EC4\u5B57\u7B26\u4E32\u3002\u3010\u6CE8\u610F\u3011\u8FD9\u4E2A\u89C4\u5219\u4E0D\u9700\u8981\u4E0B\u65B9\u7684\u300C\u5C5E\u6027\u89C4\u5219\u5E94\u7528\u7684 HTML \u5143\u7D20\u300D`,'\u5982\u679C\u662F style\uFF0C\u76F4\u63A5\u4F7F\u7528 "style.flexWrap": "wrap" \u5373\u53EF']},getDomRecommend(){return["\u5143\u7D20\u6821\u9A8C\u89C4\u5219\uFF1A",'\u6700\u7B80\u89C4\u5219\uFF1A".t-tag__icon-close"\uFF0C\u8868\u793A\u503C\u4E3A true \u65F6\u5B58\u5728\u5143\u7D20 `.t-tag__icon-close`','\u63A8\u8350\u89C4\u5219\u4E00\uFF1A["button", "a", "div"]\u3002\u5B58\u5728\u679A\u4E3E\u503C\uFF0C\u4F9D\u6B21\u9A8C\u8BC1\u8FD9\u51E0\u4E2A\u5143\u7D20\u662F\u5426\u5B58\u5728\u3002\u5982\uFF1AButton.tag','\u63A8\u8350\u89C4\u5219\u4E8C\uFF1A["tfoot.t-table__footer", { "tfoot > tr": 2 }]\u3002\u76F4\u63A5\u6821\u9A8C\u7EC4\u4EF6\u5B9E\u4F8B\u662F\u5426\u5B58\u5728\u8FD9\u4E9B\u5143\u7D20\uFF0C\u6570\u5B57\u8868\u793A\u5B58\u5728\u51E0\u4E2A','\u63A8\u8350\u89C4\u5219\u4E09\uFF1A{ "[3, 1]": { ".t-table__row--fixed-top": 3 } }\u3002\u8868\u793A\u503C\u4E3A [3, 1] \u65F6\uFF0C\u6821\u9A8C .t-table__row--fixed-top \u662F\u5426\u5B58\u5728 3 \u4E2A','\u6CE8\u610F\uFF1A\u5982\u679C\u5143\u7D20\u4E0D\u5728\u7EC4\u4EF6\u5185\u90E8\uFF0C\u53EA\u80FD\u901A\u8FC7 document \u67E5\u8BE2\uFF0C\u53EF\u4EE5\u8BBE\u7F6E "document.t-popup"']},getDomMoreTips(){return['[".t-image"] \u671F\u671B\u5143\u7D20 .t-image \u5B58\u5728','[{ ".t-image": false }] \u671F\u671B\u5143\u7D20 .t-image \u4E0D\u5B58\u5728','[{ ".t-image": 3 }] \u671F\u671B\u5143\u7D20 .t-image \u5B58\u5728 3 \u4E2A','[{ ".t-image": { "text": "+1" } }] \u671F\u671B\u5143\u7D20 .t-image \u5B58\u5728\u6587\u672C +1','[{ ".t-input": { "attribute": { "value": "input value" } } }] \u671F\u671B\u5143\u7D20 .t-image \u7684\u5C5E\u6027 value \u503C\u4E3A "input value"']},onObjectEventAdd(r){if(!this.objectEvent[r].trigger){this.$message.warning("\u8BF7\u628A\u5F53\u524D\u5185\u5BB9\u586B\u5199\u5B8C\u6574\u540E\u518D\u6DFB\u52A0");return}debugger;this.objectEvent.splice(r,0,{trigger:"",arguments:""})},onObjectEventDelete(r){this.objectEvent.length<2||this.objectEvent.splice(r,1)},onArrayEventAdd(r){this.arrayEvent.splice(r+1,0,{props:"",expect:[{trigger:"",event:"",exist:""}]})},onArrayEventDelete(r){this.arrayEvent.length<2||this.arrayEvent.splice(r,1)},onArrayEventChange(){for(let r=0,u=this.arrayEvent.length;rX_(a)).join("\u3001")}return r},getEventDescription(r){const u=this.getExpectDesc(r.exist);return[r.trigger&&`\u89E6\u53D1 ${r.trigger}`,r.delay&&`\u5EF6\u8FDF ${r.delay==="true"?300:r.delay} \u6BEB\u79D2\u4E4B\u540E`,u,r.event&&`\u671F\u671B ${this.getEventName(r.event)} \u7B49\u4E8B\u4EF6\u5904\u7406\u51FD\u6570\u88AB\u6267\u884C\uFF0C\u4EE5\u53CA\u76F8\u5173\u53C2\u6570\u6B63\u786E`].filter(a=>a).join("\uFF0C")+"\u3002"},getExpectDesc(r){const u=zr(r,[]),a=[],c=[],h=[];return u==null||u.forEach(y=>{if(!!y){if(typeof y=="string")a.push(y);else if(typeof y=="object"){const S=Object.keys(y);if(y[S[0]]===!1)c.push(S[0]);else if(y[S[0]].attribute){const x=[];S.forEach(A=>{Object.keys(y[A].attribute).forEach(k=>{x.push({dom:A,attributeName:k,attributeValue:y[A].attribute[k]})})}),h.push(...x)}else a.push(S[0])}}}),[a.length&&`\u671F\u671B ${a.join("\u3001")} \u7B49\u5143\u7D20\u5B58\u5728`,c.length&&`\u671F\u671B ${c.join("\u3001")} \u7B49\u5143\u7D20\u4E0D\u5B58\u5728`,h.length&&h.map(y=>`\u671F\u671B\u5143\u7D20 ${y.dom} \u7684\u5C5E\u6027 ${y.attributeName} \u503C\u4E3A ${y.attributeValue}`).join("\uFF0C")].filter(y=>y).join("\uFF0C")}}},Kh={};var pk=Yi(ck,uk,fk,!1,dk,null,null,null);function dk(r){for(let u in Kh)this[u]=Kh[u]}var hk=function(){return pk.exports}(),gk=zf;function vk(){this.__data__=new gk,this.size=0}var mk=vk;function yk(r){var u=this.__data__,a=u.delete(r);return this.size=u.size,a}var bk=yk;function Ck(r){return this.__data__.get(r)}var _k=Ck;function xk(r){return this.__data__.has(r)}var Sk=xk,Tk=zf,wk=Up,$k=fv,Ak=200;function Ek(r,u){var a=this.__data__;if(a instanceof Tk){var c=a.__data__;if(!wk||c.length1?a("t-button",{staticStyle:{"margin-top":"16px","margin-left":"16px"},attrs:{theme:"danger",size:"small"},on:{click:function(){return r.onDelete(h)}}},[r._v("\u79FB\u9664")]):r._e()],1)]},proxy:!0}],null,!0)})}),1),a("t-form-item",[a("t-tooltip",{attrs:{theme:"light",content:"\u793A\u4F8B\u4E00\uFF1AText\uFF0C\u8F93\u51FA \uFF1B \u793A\u4F8B\u4E8C\uFF1Achildren\uFF0C \u8F93\u51FA\uFF1A"}},[a("t-input",{attrs:{placeholder:"\u5B50\u7EC4\u4EF6"},on:{change:function(){return r.onFormDataChange("content")}},model:{value:r.formData.content,callback:function(c){r.$set(r.formData,"content",c)},expression:"formData.content"}})],1)],1),a("t-form-item",[a("t-tooltip",{attrs:{theme:"light"},scopedSlots:r._u([{key:"content",fn:function(){return[a("p",[r._v(r._s("const wrapper = mount(< RadioGroup >)")+" \u9ED8\u8BA4\u83B7\u53D6\u7EC4\u4EF6\u5B9E\u4F8B\u65B9\u6CD5\u3002")]),a("p",[r._v(r._s("const wrapper = getRadioGroupDefaultMount(RadioGroup, {})")+" \u586B\u5199\u540E\u7684\u83B7\u53D6\u5B9E\u4F8B\u65B9\u6CD5\uFF0C\u4E00\u822C\u7528\u4E8E\u5B58\u5728\u5B50\u7EC4\u4EF6\u7684\u573A\u666F")])]},proxy:!0}])},[a("t-input",{attrs:{placeholder:"\u83B7\u53D6\u7EC4\u4EF6\u5B9E\u4F8B\u7684\u51FD\u6570\u540D\u79F0\uFF0C\u7C7B\u5B50\u7EC4\u4EF6\u573A\u666F\uFF0C\u5982\uFF1AgetRadioGroupDefaultMount"},on:{change:function(){return r.onFormDataChange("wrapper")}},model:{value:r.formData.wrapper,callback:function(c){r.$set(r.formData,"wrapper",c)},expression:"formData.wrapper"}})],1)],1),a("div",{staticClass:"unit-test-ui__form-item-inner"},[a("t-tooltip",{attrs:{theme:"light"},scopedSlots:r._u([{key:"content",fn:function(){return[a("p",[r._v(" \u5F00\u542F\u6821\u9A8C\u7684\u524D\u7F6E\u6761\u4EF6\uFF0C\u793A\u4F8B\u4E00\uFF1Afocus(.t-input__wrap)\u3002\u793A\u4F8B\u4E8C\uFF1Adelay \u6216\u8005 delay(100)\u3002 "),a("t-link",{attrs:{underline:"",href:"https://github.com/vuejs/test-utils/blob/main/src/constants/dom-events.ts#L566",target:"_blank"}},[r._v("\u6240\u6709\u4E8B\u4EF6\u5217\u8868")])],1)]},proxy:!0}])},[a("t-input",{attrs:{placeholder:"\u7B49\u5F85\u6E32\u67D3\u5EF6\u8FDF\u6216\u89E6\u53D1\u4E8B\u4EF6\u540E\u518D\u5F00\u59CB\u6821\u9A8C"},on:{change:function(){return r.onFormDataChange("trigger")}},model:{value:r.formData.trigger,callback:function(c){r.$set(r.formData,"trigger",c)},expression:"formData.trigger"}})],1)],1),a("t-form-item",{staticStyle:{margin:"16px 0 8px 0"}},[a("t-checkbox",{on:{change:function(){return r.onFormDataChange("snapshot")}},model:{value:r.formData.snapshot,callback:function(c){r.$set(r.formData,"snapshot",c)},expression:"formData.snapshot"}},[r._v("\u751F\u6210\u5FEB\u7167\uFF08Snapshots\uFF09")])],1),a("t-form-item",{staticStyle:{margin:"0px 0 8px 0"}},[a("t-checkbox",{model:{value:r.formData.needCopy,callback:function(c){r.$set(r.formData,"needCopy",c)},expression:"formData.needCopy"}},[r._v("\u590D\u7528\u5F53\u524D\u6240\u6709\u6D4B\u8BD5\u7528\u4F8B\u5230\u5176\u4ED6\u300C\u7EC4\u4EF6\u5B9E\u4F8B\u300D")])],1),r.formData.needCopy?a("t-form-item",[a("t-input",{attrs:{placeholder:"\u591A\u4E2A\u5B9E\u4F8B\u9017\u53F7\u9694\u5F00\uFF0C\u793A\u4F8B\uFF1AgetRadioGroupKidsMount"},on:{change:function(){return r.onFormDataChange("copyTestToWrapper")}},model:{value:r.formData.copyTestToWrapper,callback:function(c){r.$set(r.formData,"copyTestToWrapper",c)},expression:"formData.copyTestToWrapper"}})],1):r._e(),a("t-form-item",[a("t-checkbox",{on:{change:function(){return r.onFormDataChange("skip")}},model:{value:r.formData.skip,callback:function(c){r.$set(r.formData,"skip",c)},expression:"formData.skip"}},[r._v("\u8DF3\u8FC7\u5F53\u524D\u6D4B\u8BD5\u7528\u4F8B")])],1)],1)],1)],1)},GN=[];const qN={name:"UnitTestUI",components:{OneCategoryTest:hk},props:{currentTestJSON:Object,apiInfo:{type:Object,default:()=>({})}},data(){return{framework:"PC",formDataPC:ks(Ds),formDataMobile:ks(Ds),frameWorkOptions:[{label:"PC",value:"PC"},{label:"Mobile",value:"Mobile"}],CATEGORY_OPTIONS:Ql}},computed:{formData(){return{PC:this.formDataPC,Mobile:this.formDataMobile}[this.framework]},categories(){return this.formData.list.map(r=>r.category)}},methods:{updateDataByJSON(){const{currentTestJSON:r}=this;r.PC?this.formDataPC=this.updateFormData(this.formDataPC,r.PC):this.formDataPC=ks(Ds),r.Mobile?this.formDataMobile=this.updateFormData(this.formDataMobile,r.Mobile):this.formDataMobile=ks(Ds)},updateFormData(r,u){var c;const a={...r,dom:u.dom,classNameDom:u.classNameDom,attributeDom:u.attributeDom,props:u.props,content:u.content,wrapper:u.wrapper,trigger:u.trigger,copyTestToWrapper:(c=u.copyTestToWrapper)==null?void 0:c.join(),needCopy:Boolean(u.copyTestToWrapper&&u.copyTestToWrapper.length),snapshot:u.snapshot,skip:u.skip,list:[]};Ql.forEach(h=>{const y=h.value;if(u[y]){const S={category:y,[y]:this.formatCategoryData(y,u[y])};y==="className"?S.classNameDom=u.classNameDom:y==="attribute"&&(S.attributeDom=u.attributeDom),["tnode","className","attribute","dom"].includes("key")&&(S.props=u.props),a.list.push(S)}});for(let h=a.list.length;h{u[a.trigger]={arguments:a.arguments?JSON.parse(a.arguments):void 0}}),u}if(r.arrayEvent)return r.arrayEvent.map(u=>({props:u.props?zr(u.props):void 0,description:u.description,wrapper:u.wrapper,expect:u.expect.map(a=>({trigger:a.trigger,event:a.event?zr(a.event):void 0,exist:a.exist?zr(a.exist,[]):void 0,delay:a.delay==="true"?!0:a.delay?Number(a.delay):void 0}))}))},clearFormData(){this.formDataPC=ks(Ds),this.formDataMobile=ks(Ds)},onAddMore(){this[`formData${this.framework}`].list.push({...ed})},onDelete(r){if(this[`formData${this.framework}`].list.length<=1){this.$message.warning("\u81F3\u5C11\u4FDD\u7559\u4E00\u4E2A");return}this[`formData${this.framework}`].list.splice(r,1)}}},pg={};var VN=Yi(qN,zN,GN,!1,KN,null,null,null);function KN(r){for(let u in pg)this[u]=pg[u]}var YN=function(){return VN.exports}(),JN={parser:"typescript",printWidth:120,tabWidth:2,useTabs:!1,semi:!0,singleQuote:!0,quoteProps:"as-needed",jsxSingleQuote:!1,trailingComma:"all",bracketSpacing:!0,arrowParens:"always",rangeStart:0,rangeEnd:1/0,requirePragma:!1,insertPragma:!1,proseWrap:"preserve",htmlWhitespaceSensitivity:"css",vueIndentScriptAndStyle:!1,endOfLine:"lf"},nm={exports:{}};(function(r){var u=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};/** * Prism: Lightweight, robust, elegant syntax highlighting * * @license MIT * @author Lea Verou * @namespace * @public - */var a=function(c){var h=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,y=0,S={},x={manual:c.Prism&&c.Prism.manual,disableWorkerMessageHandler:c.Prism&&c.Prism.disableWorkerMessageHandler,util:{encode:function N(B){return B instanceof A?new A(B.type,N(B.content),B.alias):Array.isArray(B)?B.map(N):B.replace(/&/g,"&").replace(/"+ne.content+""};function k(N,B,q,J){N.lastIndex=B;var ne=N.exec(q);if(ne&&J&&ne[1]){var de=ne[1].length;ne.index+=de,ne[0]=ne[0].slice(de)}return ne}function E(N,B,q,J,ne,de){for(var xe in q)if(!(!q.hasOwnProperty(xe)||!q[xe])){var ve=q[xe];ve=Array.isArray(ve)?ve:[ve];for(var He=0;He=de.reach);nt+=ze.value.length,ze=ze.next){var mt=ze.value;if(B.length>N.length)return;if(!(mt instanceof A)){var yt=1,Bt;if(me){if(Bt=k(vt,nt,N,X),!Bt||Bt.index>=N.length)break;var we=Bt.index,ur=Bt.index+Bt[0].length,Mt=nt;for(Mt+=ze.value.length;we>=Mt;)ze=ze.next,Mt+=ze.value.length;if(Mt-=ze.value.length,nt=Mt,ze.value instanceof A)continue;for(var Qe=ze;Qe!==B.tail&&(Mtde.reach&&(de.reach=hr);var Oe=ze.prev;De&&(Oe=H(B,Oe,De),nt+=De.length),Y(B,Oe,yt);var Ot=new A(xe,gt?x.tokenize($e,gt):$e,P,$e);if(ze=H(B,Oe,Ot),We&&H(B,ze,We),yt>1){var Cr={cause:xe+","+He,reach:hr};E(N,B,q,ze.prev,nt,Cr),de&&Cr.reach>de.reach&&(de.reach=Cr.reach)}}}}}}function j(){var N={value:null,prev:null,next:null},B={value:null,prev:N,next:null};N.next=B,this.head=N,this.tail=B,this.length=0}function H(N,B,q){var J=B.next,ne={value:q,prev:B,next:J};return B.next=ne,J.prev=ne,N.length++,ne}function Y(N,B,q){for(var J=B.next,ne=0;ne/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},a.languages.markup.tag.inside["attr-value"].inside.entity=a.languages.markup.entity,a.languages.markup.doctype.inside["internal-subset"].inside=a.languages.markup,a.hooks.add("wrap",function(c){c.type==="entity"&&(c.attributes.title=c.content.replace(/&/,"&"))}),Object.defineProperty(a.languages.markup.tag,"addInlined",{value:function(h,y){var S={};S["language-"+y]={pattern:/(^$)/i,lookbehind:!0,inside:a.languages[y]},S.cdata=/^$/i;var x={"included-cdata":{pattern://i,inside:S}};x["language-"+y]={pattern:/[\s\S]+/,inside:a.languages[y]};var A={};A[h]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return h}),"i"),lookbehind:!0,greedy:!0,inside:x},a.languages.insertBefore("markup","cdata",A)}}),Object.defineProperty(a.languages.markup.tag,"addAttribute",{value:function(c,h){a.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+c+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[h,"language-"+h],inside:a.languages[h]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),a.languages.html=a.languages.markup,a.languages.mathml=a.languages.markup,a.languages.svg=a.languages.markup,a.languages.xml=a.languages.extend("markup",{}),a.languages.ssml=a.languages.xml,a.languages.atom=a.languages.xml,a.languages.rss=a.languages.xml,function(c){var h=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;c.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+h.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+h.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+h.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+h.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:h,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},c.languages.css.atrule.inside.rest=c.languages.css;var y=c.languages.markup;y&&(y.tag.addInlined("style","css"),y.tag.addAttribute("style","css"))}(a),a.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},a.languages.javascript=a.languages.extend("clike",{"class-name":[a.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),a.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,a.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:a.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:a.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:a.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:a.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:a.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),a.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:a.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),a.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),a.languages.markup&&(a.languages.markup.tag.addInlined("script","javascript"),a.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),a.languages.js=a.languages.javascript,function(){if(typeof a=="undefined"||typeof document=="undefined")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var c="Loading\u2026",h=function(ae,ie){return"\u2716 Error "+ae+" while fetching file: "+ie},y="\u2716 Error: File does not exist or is empty",S={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},x="data-src-status",A="loading",k="loaded",E="failed",j="pre[data-src]:not(["+x+'="'+k+'"]):not(['+x+'="'+A+'"])';function H(ae,ie,re){var N=new XMLHttpRequest;N.open("GET",ae,!0),N.onreadystatechange=function(){N.readyState==4&&(N.status<400&&N.responseText?ie(N.responseText):N.status>=400?re(h(N.status,N.statusText)):re(y))},N.send(null)}function Y(ae){var ie=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(ae||"");if(ie){var re=Number(ie[1]),N=ie[2],B=ie[3];return N?B?[re,Number(B)]:[re,void 0]:[re,re]}}a.hooks.add("before-highlightall",function(ae){ae.selector+=", "+j}),a.hooks.add("before-sanity-check",function(ae){var ie=ae.element;if(ie.matches(j)){ae.code="",ie.setAttribute(x,A);var re=ie.appendChild(document.createElement("CODE"));re.textContent=c;var N=ie.getAttribute("data-src"),B=ae.language;if(B==="none"){var q=(/\.(\w+)$/.exec(N)||[,"none"])[1];B=S[q]||q}a.util.setLanguage(re,B),a.util.setLanguage(ie,B);var J=a.plugins.autoloader;J&&J.loadLanguages(B),H(N,function(ne){ie.setAttribute(x,k);var de=Y(ie.getAttribute("data-range"));if(de){var xe=ne.split(/\r\n?|\n/g),ve=de[0],He=de[1]==null?xe.length:de[1];ve<0&&(ve+=xe.length),ve=Math.max(0,Math.min(ve-1,xe.length)),He<0&&(He+=xe.length),He=Math.max(0,Math.min(He,xe.length)),ne=xe.slice(ve,He).join(` -`),ie.hasAttribute("data-start")||ie.setAttribute("data-start",String(ve+1))}re.textContent=ne,a.highlightElement(re)},function(ne){ie.setAttribute(x,E),re.textContent=ne})}}),a.plugins.fileHighlight={highlight:function(ie){for(var re=(ie||document).querySelectorAll(j),N=0,B;B=re[N++];)a.highlightElement(B)}};var Q=!1;a.fileHighlight=function(){Q||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),Q=!0),a.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(nm);var Na=nm.exports;Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json;var JN=function(){var r,u,a,c,h=this,y=h.$createElement,S=h._self._c||y;return S("div",{staticClass:"unit-test-design"},[S("div",{staticClass:"unit-test-design__input"},[S("h3",{staticClass:"unit-test-tdesign__h3"},[h._v(" "+h._s((r=h.apiInfo)===null||r===void 0?void 0:r.component)+"."+h._s((u=h.apiInfo)===null||u===void 0?void 0:u.field_name)+" "),h.apiInfo&&h.apiInfo.field_type_text&&h.apiInfo.field_type_text.length?[h._v(" "+h._s("<"+h.apiInfo.field_type_text.join("/")+">")+" ")]:h._e()],2),(a=h.apiInfo)!==null&&a!==void 0&&a.field_enum?S("p",[h.apiInfo.field_enum?[h._v("\u679A\u4E3E\u503C\uFF1A"+h._s(h.apiInfo.field_enum))]:h._e()],2):h._e(),S("p",[h._v(h._s((c=h.apiInfo)===null||c===void 0?void 0:c.field_desc_zh))]),S("div",{staticStyle:{height:"500px"},attrs:{id:"test-json-editor"}}),S("div",{staticStyle:{"margin-top":"32px",display:"flex",width:"100%","justify-content":"flex-end"}},[S("t-button",{on:{click:h.jsonConfirm}},[S("ChevronRightDoubleIcon")],1)],1),h.jsonError?S("div",{staticClass:"t-textarea__tips t-textarea__tips--error"},[h._v(" "+h._s(h.jsonError)+" ")]):h._e()]),S("t-divider",{staticStyle:{height:"100%"},attrs:{layout:"vertical"}}),S("div",{staticClass:"unit-test-design__out"},[S("h3",{staticClass:"unit-test-tdesign__h3"},[h._v("Unit Test Preview")]),S("p",[S("t-radio-group",{attrs:{variant:"default-filled"},model:{value:h.unitTestType,callback:function(x){h.unitTestType=x},expression:"unitTestType"}},[S("t-radio-button",{attrs:{value:"current"}},[h._v("Current API Unit Tests")]),S("t-radio-button",{attrs:{value:"all"}},[h._v("Whole Component Unit Tests")])],1)],1),S("t-tabs",{staticStyle:{"margin-top":"-16px",width:"100%"},attrs:{list:h.tabList},model:{value:h.tab,callback:function(x){h.tab=x},expression:"tab"}}),S("div",{staticClass:"unit-test-code"},[S("pre",[S("code",{staticClass:"language-javascript",domProps:{innerHTML:h._s(h.unitTestCode)}})])])],1)],1)},ZN=[];const XN={name:"UnitTestDesign",components:{UnitTestUI:KN,ChevronRightDoubleIcon:VD},props:{map:Object,apiInfo:{type:Object,default:()=>({})},visible:Boolean},data(){return{tab:"VueNext(PC)",tabList:[{label:"JSON",value:"JSON"},{label:"Vue(PC)",value:"Vue(PC)"},{label:"VueNext(PC)",value:"VueNext(PC)"},{label:"React(PC)",value:"React(PC)"},{label:"Vue(Mobile)",value:"Vue(Mobile)"},{label:"React(Mobile)",value:"React(Mobile)"}],loading:!1,componentApiData:[],testDescription:"",jsonError:"",unitTestType:"current",jsonEditor:null}},computed:{unitTestCode(){return this.getInnerUnitTestCode()},currentTestJSON(){try{return this.testDescription?JSON.parse(this.testDescription):{}}catch{return{}}}},mounted(){Q_("https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/9.9.2/jsoneditor.min.js").then(()=>{this.initJsEditor()})},watch:{visible(r){var u;r?this.getCurrentComponentData():(u=this.$refs["unit-test-ui"])==null||u.clearFormData()},apiInfo(r){this.testDescription=r?r.test_description:void 0},testDescription(r){if(!this.validateJSON(r)||!this.apiInfo||!this.componentApiData.length)return;const a=this.componentApiData.findIndex(c=>c.id===this.apiInfo.id);a<0||this.$set(this.componentApiData[a],"test_description",r||void 0)},testDescription:{handler(r){this.$nextTick(()=>{var u;(u=this.jsonEditor)==null||u.set(zr(r,{}))})},immediate:!0}},methods:{initJsEditor(){const r=document.querySelector("#test-json-editor");this.jsonEditor=new JSONEditor(r,{mode:"code",onEditable:(u,a)=>(console.log(u,a),!0)})},jsonConfirm(){const r=this.jsonEditor.get();this.testDescription=JSON.stringify(r)},checkInFramework(){const r=this.tab==="VueNext(PC)"?"Vue(PC)":this.tab;return this.apiInfo&&this.apiInfo.platform_framework_text.includes(r)},getInnerUnitTestCode(){if(!this.apiInfo||!this.componentApiData.length)return;if(this.tab==="JSON"){const u=JSON.stringify(this.currentTestJSON,"",2);return Na.highlight(u,Na.languages.json,"json")}let r="";try{const a=Z_(this.tab)[this.apiInfo.component]||this.apiInfo.component;if(this.unitTestType==="current")if(Object.keys(this.currentTestJSON).length!==0&&this.checkInFramework()){const c=this.tab.indexOf("PC")!==-1?this.currentTestJSON.PC:this.currentTestJSON.Mobile,{oneUnitTests:h}=Rf.exports.getOneUnitTest(this.tab,this.apiInfo.component,this.apiInfo,c);r=h.join("")}else r="console.log('current unit test is empty')";else if(this.unitTestType==="all")r=Rf.exports.getComponentUnitTests(this.tab,a,this.componentApiData,this.map);else return}catch(u){return console.warn(u),r="console.log('Unit test generated fail, check the core code first.')",Na.highlight(r,Na.languages.javascript,"javascript")}try{const u=p1.format(r,{...YN,parser:"babel",plugins:[d1]});return Na.highlight(u,Na.languages.javascript,"javascript")}catch(u){console.warn(u);const c="console.log('unit test code has syntax error. check test code please.')";return Na.highlight(c,Na.languages.javascript,"javascript")}},validateJSON(r){try{return r&&JSON.parse(r),this.jsonError="",!0}catch{this.jsonError="Not a validate JSON"}return!1},onTestUIFormDataChange({framework:r,formData:u,trigger:a,params:c}){const h={};r==="PC"?h.PC=this.updateTestDescription(u,a,c):r==="Mobile"&&(h.Mobile=this.updateTestDescription(u,a,c)),this.testDescription=JSON.stringify(h)},updateTestDescription(r,u,a){var y,S;console.log("ui change",r,u,a);const c={};["wrapper","snapshot","trigger","skip","copyTestToWrapper","props"].forEach(x=>{r[x]&&(c[x]=r[x])}),(y=r.copyTestToWrapper)!=null&&y.trim()&&(c.copyTestToWrapper=r.copyTestToWrapper.trim().split(","));let h;return(S=r.list)!=null&&S.length&&r.list.map(x=>{var k;if(c[x.category]=x[x.category],x.category==="tnode"&&typeof x.tnode!==!0){const{tnode:E}=x;(!E.dom||!E.dom.length)&&!E.trigger&&!E.params&&(c.tnode=!0)}u==="tnode"&&((k=x.tnode)==null?void 0:k.params)&&(c.tnode.params=zr(x.tnode.params)),x.className&&(c.className=zr(x.className,x.className)),u==="className"&&x.category==="className"&&(c.classNameDom=x.classNameDom),x.attribute&&(c.attribute=zr(x.attribute)),u==="attribute"&&x.category==="attribute"&&(c.attributeDom=x.attributeDom);const A=["tnode","className","attribute","dom"];A.includes(u)&&A.includes(x.category)&&(h=zr(x.props)),x.dom&&(c.dom=zr(x.dom))}),c.props=h||c.props,c},getCurrentComponentData(){if(!this.apiInfo||!this.apiInfo.component)return;const r=Gg(),u=r[this.apiInfo.component]?r[this.apiInfo.component].join():this.apiInfo.component;this.loading=!0,Ra({method:"get",url:"/cmp/api",params:{component:u,page:1,page_size:300}}).then(a=>{var c;this.componentApiData=a.data.data,(c=this.$refs["unit-test-ui"])==null||c.updateDataByJSON(),this.loading=!1},()=>{this.loading=!1})},onTestDescriptionBlur(){var r;(r=this.$refs["unit-test-ui"])==null||r.updateDataByJSON()}}},dg={};var QN=Yi(XN,JN,ZN,!1,e2,null,null,null);function e2(r){for(let u in dg)this[u]=dg[u]}var t2=function(){return QN.exports}(),r2=function(){var r=this,u=r.$createElement,a=r._self._c||u;return a("div",{staticClass:"tdesign-page-doc"},[a("div",{staticClass:"page-api"},[a("h2",{staticClass:"page-api__title"},[r._v("TDesign Components Standards")]),a("div",{staticClass:"page-api__search"},[a("div",{staticClass:"query-item"},[a("t-select",{attrs:{placeholder:"\u5E73\u53F0\u6846\u67B6",clearable:"",filterable:""},on:{change:r.onPlatformChange},model:{value:r.query.platform,callback:function(c){r.$set(r.query,"platform",c)},expression:"query.platform"}},r._l(r.map.platform_framework,function(c,h){return a("t-option",{key:h,attrs:{label:c.label,value:c.value}})}),1)],1),a("div",{staticClass:"query-item"},[a("t-select",{attrs:{placeholder:"\u7EC4\u4EF6\u540D\u79F0",clearable:"",filterable:""},on:{change:r.onComponentChange},model:{value:r.query.component,callback:function(c){r.$set(r.query,"component",c)},expression:"query.component"}},r._l(r.map.components,function(c,h){return a("t-option",{key:h,attrs:{label:`${c.value} ${c.label} (${r.TYPE_MAP[c.type]||"\u7EC4\u4EF6"})`,value:c.value}})}),1)],1),a("div",{staticClass:"query-item"},[a("t-select",{attrs:{placeholder:"API \u5206\u7C7B",clearable:"",filterable:""},on:{change:r.onComponentChange},model:{value:r.query.fieldCategory,callback:function(c){r.$set(r.query,"fieldCategory",c)},expression:"query.fieldCategory"}},r._l(r.map.field_category,function(c,h){return a("t-option",{key:h,attrs:{label:c.label,value:c.value}})}),1)],1),a("div",{staticClass:"query-item"},[a("t-input",{attrs:{placeholder:"\u8F93\u5165 API \u540D\u79F0\u67E5\u8BE2\uFF0C\u5982\uFF1Atheme"},on:{enter:r.onEnter},model:{value:r.query.fieldName,callback:function(c){r.$set(r.query,"fieldName",c)},expression:"query.fieldName"}})],1)]),r.preview?r._e():a("api-operation",{attrs:{map:r.map},on:{"create-dialog-show":r.onCreateDialogShow}}),a("div",{staticClass:"t-demo-api-list"},[a("t-loading",{attrs:{loading:r.loading}},[a("api-list",{attrs:{list:r.list,platformOptions:r.platformOptions,preview:r.preview},on:{"delete-api-success":r.onDeleteSuccess,"click-edit-btn":r.onEditClick,"click-test-edit-btn":r.onTestEditClick,"code-preview":r.onCodePreview}}),a("t-pagination",{attrs:{total:r.total,"page-size":r.pageSize,current:r.page,"show-sizer":""},on:{change:r.onPageChange}})],1)],1),a("t-drawer",{staticClass:"api-edit",attrs:{header:r.mode==="create"?"\u65B0\u589E":"\u7F16\u8F91",width:"830",visible:r.createApiVisible,size:"60%"},on:{"update:visible":function(c){r.createApiVisible=c},confirm:r.onApiConfirm}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("import",{ref:"api-form",attrs:{map:r.map,info:r.apiInfo,mode:r.mode}})],1)]),a("t-dialog",{attrs:{width:"830",top:"calc(100% - 730px)",visible:r.codePreviewVisible,cancelBtn:null,confirmBtn:"\u5173\u95ED"},on:{"update:visible":function(c){r.codePreviewVisible=c}}},[a("div",{attrs:{slot:"header"},slot:"header"},[a("t-tabs",{model:{value:r.previewType,callback:function(c){r.previewType=c},expression:"previewType"}},r._l(r.previewTabs,function(c,h){return a("t-tab-panel",{key:h,attrs:{value:c.label,label:c.label}})}),1)],1),a("codemirror",{attrs:{slot:"body",value:r.code,options:r.cmOptions},slot:"body"})],1),a("t-drawer",{attrs:{header:"\u6D4B\u8BD5\u7528\u4F8B\u8BBE\u8BA1",visible:r.unitTestVisible,size:"85%"},on:{"update:visible":function(c){r.unitTestVisible=c},confirm:r.onUnitTestEditConfirm,cancel:r.onUnitTestEditCancel}},[a("unit-test-design",{ref:"unit-test",attrs:{map:r.map,apiInfo:r.apiInfo,visible:r.unitTestVisible}})],1)],1)])},n2=[];const i2={plugin:"\u63D2\u4EF6",TS:"\u63A5\u53E3\u5B9A\u4E49"},a2=[{label:"Types"},{label:"Props",include:["Vue(PC)","Vue(Mobile)","Miniprogram"]},{label:"Docs"}],o2={name:"APIDesign",components:{codemirror:bg.exports.codemirror,ApiList:lS,ApiOperation:bS,Import:kD,TSelect:kp,TOption:Lp,TInput:yg,TPagination:u1,TDialog:f1,TLoading:c1,UnitTestDesign:t2},props:{preview:Boolean},data(){return{TYPE_MAP:i2,loading:!1,dataBase:null,createApiVisible:!1,unitTestVisible:!1,list:[],map:{},platformOptions:[],query:{platform:"",component:"",fieldName:"",fieldCategory:""},apiInfo:null,mode:"create",total:0,page:1,pageSize:20,codePreviewVisible:!1,codeData:{framework:"",data:{}},code:"",cmOptions:{tabSize:4,mode:"text/javascript",theme:"base16-dark",lineNumbers:!0,line:!0,viewportMargin:20},previewType:"Types"}},computed:{previewTabs(){return a2.filter(r=>r.include?r.include.includes(this.codeData.framework):!0)}},created(){this.getMap(),this.getApiList()},methods:{onPageChange(r){this.page=r.current,this.pageSize=r.pageSize,this.getApiList()},onEnter(){this.search()},onComponentChange(){this.search()},onPlatformChange(){this.search()},search(){this.page=1,this.getApiList()},getMap(){Ra({method:"get",url:"/cmp/map"}).then(r=>{const u=r.data.data;this.platformOptions=u.platform_framework,this.map=u})},getApiList(){const r=Object.assign({},this.query),u={platform_framework:r.platform,component:r.component,field_category:r.fieldCategory,field_name:r.fieldName,page:this.page,page_size:this.pageSize};this.loading=!0,Ra({method:"get",url:"/cmp/api",params:u}).then(a=>{this.list=a.data.data,this.total=a.data.total,this.loading=!1},()=>{this.loading=!1})},onDeleteSuccess(){this.getApiList()},showDialog(){this.createApiVisible=!0},onEditClick(r){this.apiInfo=r.row,this.mode="edit",this.showDialog()},onTestEditClick(r){this.apiInfo=r.row,this.unitTestVisible=!0},onUnitTestEditCancel(){this.apiInfo=null},onCreateDialogShow(){this.apiInfo=null,this.mode="create",this.showDialog()},onApiConfirm(){const r=this.$refs["api-form"].formData;if(r.version)try{JSON.parse(r.version)}catch{this.$message.error("\u7248\u672C\u53F7\u683C\u5F0F\u5FC5\u987B\u4E3A\u5408\u6CD5 JSON");return}const u={id:this.apiInfo?this.apiInfo.id:void 0,platform_framework:r.platform,component:r.component,field_category:r.apiCategory,field_name:r.name,field_type:r.fieldType,custom_field_type:r.customFieldType,field_default_value:r.defaultValue,field_enum:r.fieldEnums,field_desc_zh:r.descZh,field_desc_en:r.descEn,test_description:r.testDescription,version:r.version,support_default_value:Number(r.supportDefaultValue),field_required:r.required,deprecated:Number(r.deprecated),html_attribute:r.htmlAttribute,event_input:r.eventInput,event_output:r.eventOutput,syntactic_sugar:r.syntacticSugar,trigger_elements:r.triggerElements};Ra({method:this.mode==="create"?"post":"put",url:"/cmp/api",data:u}).then(()=>{this.getApiList(),this.createApiVisible=!1})},onUnitTestEditConfirm(){const r=this.$refs["unit-test"].testDescription;try{r&&JSON.parse(r)}catch{this.$message.error("\u6D4B\u8BD5\u7528\u4F8B\u4E0D\u662F\u5408\u6CD5 JSON");return}Ra({method:"put",url:"/cmp/api",data:{id:this.apiInfo?this.apiInfo.id:void 0,test_description:r}}).then(()=>{this.getApiList(),this.unitTestVisible=!1})},onCodePreview(r,u){this.codeData={data:r,framework:u},this.codePreviewVisible=!0,this.code=JSON.stringify(r,void 0,2)}}},hg={};var s2=Yi(o2,r2,n2,!1,l2,null,null,null);function l2(r){for(let u in hg)this[u]=hg[u]}var p2=function(){return s2.exports}();export{p2 as default}; + */var a=function(c){var h=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,y=0,S={},x={manual:c.Prism&&c.Prism.manual,disableWorkerMessageHandler:c.Prism&&c.Prism.disableWorkerMessageHandler,util:{encode:function N(B){return B instanceof A?new A(B.type,N(B.content),B.alias):Array.isArray(B)?B.map(N):B.replace(/&/g,"&").replace(/"+ne.content+""};function k(N,B,q,J){N.lastIndex=B;var ne=N.exec(q);if(ne&&J&&ne[1]){var de=ne[1].length;ne.index+=de,ne[0]=ne[0].slice(de)}return ne}function E(N,B,q,J,ne,de){for(var xe in q)if(!(!q.hasOwnProperty(xe)||!q[xe])){var ve=q[xe];ve=Array.isArray(ve)?ve:[ve];for(var He=0;He=de.reach);nt+=ze.value.length,ze=ze.next){var mt=ze.value;if(B.length>N.length)return;if(!(mt instanceof A)){var yt=1,Bt;if(me){if(Bt=k(vt,nt,N,X),!Bt||Bt.index>=N.length)break;var we=Bt.index,ur=Bt.index+Bt[0].length,Mt=nt;for(Mt+=ze.value.length;we>=Mt;)ze=ze.next,Mt+=ze.value.length;if(Mt-=ze.value.length,nt=Mt,ze.value instanceof A)continue;for(var Qe=ze;Qe!==B.tail&&(Mtde.reach&&(de.reach=hr);var Oe=ze.prev;De&&(Oe=H(B,Oe,De),nt+=De.length),Y(B,Oe,yt);var Ot=new A(xe,gt?x.tokenize($e,gt):$e,P,$e);if(ze=H(B,Oe,Ot),We&&H(B,ze,We),yt>1){var Cr={cause:xe+","+He,reach:hr};E(N,B,q,ze.prev,nt,Cr),de&&Cr.reach>de.reach&&(de.reach=Cr.reach)}}}}}}function U(){var N={value:null,prev:null,next:null},B={value:null,prev:N,next:null};N.next=B,this.head=N,this.tail=B,this.length=0}function H(N,B,q){var J=B.next,ne={value:q,prev:B,next:J};return B.next=ne,J.prev=ne,N.length++,ne}function Y(N,B,q){for(var J=B.next,ne=0;ne/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},a.languages.markup.tag.inside["attr-value"].inside.entity=a.languages.markup.entity,a.languages.markup.doctype.inside["internal-subset"].inside=a.languages.markup,a.hooks.add("wrap",function(c){c.type==="entity"&&(c.attributes.title=c.content.replace(/&/,"&"))}),Object.defineProperty(a.languages.markup.tag,"addInlined",{value:function(h,y){var S={};S["language-"+y]={pattern:/(^$)/i,lookbehind:!0,inside:a.languages[y]},S.cdata=/^$/i;var x={"included-cdata":{pattern://i,inside:S}};x["language-"+y]={pattern:/[\s\S]+/,inside:a.languages[y]};var A={};A[h]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return h}),"i"),lookbehind:!0,greedy:!0,inside:x},a.languages.insertBefore("markup","cdata",A)}}),Object.defineProperty(a.languages.markup.tag,"addAttribute",{value:function(c,h){a.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+c+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[h,"language-"+h],inside:a.languages[h]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),a.languages.html=a.languages.markup,a.languages.mathml=a.languages.markup,a.languages.svg=a.languages.markup,a.languages.xml=a.languages.extend("markup",{}),a.languages.ssml=a.languages.xml,a.languages.atom=a.languages.xml,a.languages.rss=a.languages.xml,function(c){var h=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;c.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+h.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+h.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+h.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+h.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:h,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},c.languages.css.atrule.inside.rest=c.languages.css;var y=c.languages.markup;y&&(y.tag.addInlined("style","css"),y.tag.addAttribute("style","css"))}(a),a.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},a.languages.javascript=a.languages.extend("clike",{"class-name":[a.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),a.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,a.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:a.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:a.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:a.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:a.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:a.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),a.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:a.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),a.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),a.languages.markup&&(a.languages.markup.tag.addInlined("script","javascript"),a.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),a.languages.js=a.languages.javascript,function(){if(typeof a=="undefined"||typeof document=="undefined")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var c="Loading\u2026",h=function(ae,ie){return"\u2716 Error "+ae+" while fetching file: "+ie},y="\u2716 Error: File does not exist or is empty",S={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},x="data-src-status",A="loading",k="loaded",E="failed",U="pre[data-src]:not(["+x+'="'+k+'"]):not(['+x+'="'+A+'"])';function H(ae,ie,re){var N=new XMLHttpRequest;N.open("GET",ae,!0),N.onreadystatechange=function(){N.readyState==4&&(N.status<400&&N.responseText?ie(N.responseText):N.status>=400?re(h(N.status,N.statusText)):re(y))},N.send(null)}function Y(ae){var ie=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(ae||"");if(ie){var re=Number(ie[1]),N=ie[2],B=ie[3];return N?B?[re,Number(B)]:[re,void 0]:[re,re]}}a.hooks.add("before-highlightall",function(ae){ae.selector+=", "+U}),a.hooks.add("before-sanity-check",function(ae){var ie=ae.element;if(ie.matches(U)){ae.code="",ie.setAttribute(x,A);var re=ie.appendChild(document.createElement("CODE"));re.textContent=c;var N=ie.getAttribute("data-src"),B=ae.language;if(B==="none"){var q=(/\.(\w+)$/.exec(N)||[,"none"])[1];B=S[q]||q}a.util.setLanguage(re,B),a.util.setLanguage(ie,B);var J=a.plugins.autoloader;J&&J.loadLanguages(B),H(N,function(ne){ie.setAttribute(x,k);var de=Y(ie.getAttribute("data-range"));if(de){var xe=ne.split(/\r\n?|\n/g),ve=de[0],He=de[1]==null?xe.length:de[1];ve<0&&(ve+=xe.length),ve=Math.max(0,Math.min(ve-1,xe.length)),He<0&&(He+=xe.length),He=Math.max(0,Math.min(He,xe.length)),ne=xe.slice(ve,He).join(` +`),ie.hasAttribute("data-start")||ie.setAttribute("data-start",String(ve+1))}re.textContent=ne,a.highlightElement(re)},function(ne){ie.setAttribute(x,E),re.textContent=ne})}}),a.plugins.fileHighlight={highlight:function(ie){for(var re=(ie||document).querySelectorAll(U),N=0,B;B=re[N++];)a.highlightElement(B)}};var Q=!1;a.fileHighlight=function(){Q||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),Q=!0),a.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(nm);var Na=nm.exports;Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json;var ZN=function(){var r,u,a,c,h=this,y=h.$createElement,S=h._self._c||y;return S("div",{staticClass:"unit-test-design"},[S("div",{staticClass:"unit-test-design__input"},[S("h3",{staticClass:"unit-test-tdesign__h3"},[h._v(" "+h._s((r=h.apiInfo)===null||r===void 0?void 0:r.component)+"."+h._s((u=h.apiInfo)===null||u===void 0?void 0:u.field_name)+" "),h.apiInfo&&h.apiInfo.field_type_text&&h.apiInfo.field_type_text.length?[h._v(" "+h._s("<"+h.apiInfo.field_type_text.join("/")+">")+" ")]:h._e()],2),(a=h.apiInfo)!==null&&a!==void 0&&a.field_enum?S("p",[h.apiInfo.field_enum?[h._v("\u679A\u4E3E\u503C\uFF1A"+h._s(h.apiInfo.field_enum))]:h._e()],2):h._e(),S("p",[h._v(h._s((c=h.apiInfo)===null||c===void 0?void 0:c.field_desc_zh))]),S("div",{staticStyle:{height:"500px"},attrs:{id:"test-json-editor"}}),S("div",{staticStyle:{"margin-top":"32px",display:"flex",width:"100%","justify-content":"flex-end"}},[S("t-button",{on:{click:h.jsonConfirm}},[S("ChevronRightDoubleIcon")],1)],1),h.jsonError?S("div",{staticClass:"t-textarea__tips t-textarea__tips--error"},[h._v(" "+h._s(h.jsonError)+" ")]):h._e()]),S("t-divider",{staticStyle:{height:"100%"},attrs:{layout:"vertical"}}),S("div",{staticClass:"unit-test-design__out"},[S("h3",{staticClass:"unit-test-tdesign__h3"},[h._v("Unit Test Preview")]),S("p",[S("t-radio-group",{attrs:{variant:"default-filled"},model:{value:h.unitTestType,callback:function(x){h.unitTestType=x},expression:"unitTestType"}},[S("t-radio-button",{attrs:{value:"current"}},[h._v("Current API Unit Tests")]),S("t-radio-button",{attrs:{value:"all"}},[h._v("Whole Component Unit Tests")])],1)],1),S("t-tabs",{staticStyle:{"margin-top":"-16px",width:"100%"},attrs:{list:h.tabList},model:{value:h.tab,callback:function(x){h.tab=x},expression:"tab"}}),S("div",{staticClass:"unit-test-code"},[S("pre",[S("code",{staticClass:"language-javascript",domProps:{innerHTML:h._s(h.unitTestCode)}})])])],1)],1)},XN=[];const QN={name:"UnitTestDesign",components:{UnitTestUI:YN,ChevronRightDoubleIcon:KD},props:{map:Object,apiInfo:{type:Object,default:()=>({})},visible:Boolean},data(){return{tab:"VueNext(PC)",tabList:[{label:"JSON",value:"JSON"},{label:"Vue(PC)",value:"Vue(PC)"},{label:"VueNext(PC)",value:"VueNext(PC)"},{label:"React(PC)",value:"React(PC)"},{label:"Vue(Mobile)",value:"Vue(Mobile)"},{label:"React(Mobile)",value:"React(Mobile)"}],loading:!1,componentApiData:[],testDescription:"",jsonError:"",unitTestType:"current",jsonEditor:null}},computed:{unitTestCode(){return this.getInnerUnitTestCode()},currentTestJSON(){try{return this.testDescription?JSON.parse(this.testDescription):{}}catch{return{}}}},mounted(){Q_("https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/9.9.2/jsoneditor.min.js").then(()=>{this.initJsEditor()})},watch:{visible(r){var u;r?this.getCurrentComponentData():(u=this.$refs["unit-test-ui"])==null||u.clearFormData()},apiInfo(r){this.testDescription=r?r.test_description:void 0},testDescription(r){if(!this.validateJSON(r)||!this.apiInfo||!this.componentApiData.length)return;const a=this.componentApiData.findIndex(c=>c.id===this.apiInfo.id);a<0||this.$set(this.componentApiData[a],"test_description",r||void 0)},testDescription:{handler(r){this.$nextTick(()=>{var u;(u=this.jsonEditor)==null||u.set(zr(r,{}))})},immediate:!0}},methods:{initJsEditor(){const r=document.querySelector("#test-json-editor");this.jsonEditor=new JSONEditor(r,{mode:"code",onEditable:(u,a)=>(console.log(u,a),!0)})},jsonConfirm(){const r=this.jsonEditor.get();this.testDescription=JSON.stringify(r)},checkInFramework(){const r=this.tab==="VueNext(PC)"?"Vue(PC)":this.tab;return this.apiInfo&&this.apiInfo.platform_framework_text.includes(r)},getInnerUnitTestCode(){if(!this.apiInfo||!this.componentApiData.length)return;if(this.tab==="JSON"){const u=JSON.stringify(this.currentTestJSON,"",2);return Na.highlight(u,Na.languages.json,"json")}let r="";try{const a=Z_(this.tab)[this.apiInfo.component]||this.apiInfo.component;if(this.unitTestType==="current")if(Object.keys(this.currentTestJSON).length!==0&&this.checkInFramework()){const c=this.tab.indexOf("PC")!==-1?this.currentTestJSON.PC:this.currentTestJSON.Mobile,{oneUnitTests:h}=Rf.exports.getOneUnitTest(this.tab,this.apiInfo.component,this.apiInfo,c);r=h.join("")}else r="console.log('current unit test is empty')";else if(this.unitTestType==="all")r=Rf.exports.getComponentUnitTests(this.tab,a,this.componentApiData,this.map);else return}catch(u){return console.warn(u),r="console.log('Unit test generated fail, check the core code first.')",Na.highlight(r,Na.languages.javascript,"javascript")}try{const u=p1.format(r,{...JN,parser:"babel",plugins:[d1]});return Na.highlight(u,Na.languages.javascript,"javascript")}catch(u){console.warn(u);const c="console.log('unit test code has syntax error. check test code please.')";return Na.highlight(c,Na.languages.javascript,"javascript")}},validateJSON(r){try{return r&&JSON.parse(r),this.jsonError="",!0}catch{this.jsonError="Not a validate JSON"}return!1},onTestUIFormDataChange({framework:r,formData:u,trigger:a,params:c}){const h={};r==="PC"?h.PC=this.updateTestDescription(u,a,c):r==="Mobile"&&(h.Mobile=this.updateTestDescription(u,a,c)),this.testDescription=JSON.stringify(h)},updateTestDescription(r,u,a){var y,S;console.log("ui change",r,u,a);const c={};["wrapper","snapshot","trigger","skip","copyTestToWrapper","props"].forEach(x=>{r[x]&&(c[x]=r[x])}),(y=r.copyTestToWrapper)!=null&&y.trim()&&(c.copyTestToWrapper=r.copyTestToWrapper.trim().split(","));let h;return(S=r.list)!=null&&S.length&&r.list.map(x=>{var k;if(c[x.category]=x[x.category],x.category==="tnode"&&typeof x.tnode!==!0){const{tnode:E}=x;(!E.dom||!E.dom.length)&&!E.trigger&&!E.params&&(c.tnode=!0)}u==="tnode"&&((k=x.tnode)==null?void 0:k.params)&&(c.tnode.params=zr(x.tnode.params)),x.className&&(c.className=zr(x.className,x.className)),u==="className"&&x.category==="className"&&(c.classNameDom=x.classNameDom),x.attribute&&(c.attribute=zr(x.attribute)),u==="attribute"&&x.category==="attribute"&&(c.attributeDom=x.attributeDom);const A=["tnode","className","attribute","dom"];A.includes(u)&&A.includes(x.category)&&(h=zr(x.props)),x.dom&&(c.dom=zr(x.dom))}),c.props=h||c.props,c},getCurrentComponentData(){if(!this.apiInfo||!this.apiInfo.component)return;const r=Gg(),u=r[this.apiInfo.component]?r[this.apiInfo.component].join():this.apiInfo.component;this.loading=!0,Ra({method:"get",url:"/cmp/api",params:{component:u,page:1,page_size:300}}).then(a=>{var c;this.componentApiData=a.data.data,(c=this.$refs["unit-test-ui"])==null||c.updateDataByJSON(),this.loading=!1},()=>{this.loading=!1})},onTestDescriptionBlur(){var r;(r=this.$refs["unit-test-ui"])==null||r.updateDataByJSON()}}},dg={};var e2=Yi(QN,ZN,XN,!1,t2,null,null,null);function t2(r){for(let u in dg)this[u]=dg[u]}var r2=function(){return e2.exports}(),n2=function(){var r=this,u=r.$createElement,a=r._self._c||u;return a("div",{staticClass:"tdesign-page-doc"},[a("div",{staticClass:"page-api"},[a("h2",{staticClass:"page-api__title"},[r._v("TDesign Components Standards")]),a("div",{staticClass:"page-api__search"},[a("div",{staticClass:"query-item"},[a("t-select",{attrs:{placeholder:"\u5E73\u53F0\u6846\u67B6",clearable:"",filterable:""},on:{change:r.onPlatformChange},model:{value:r.query.platform,callback:function(c){r.$set(r.query,"platform",c)},expression:"query.platform"}},r._l(r.map.platform_framework,function(c,h){return a("t-option",{key:h,attrs:{label:c.label,value:c.value}})}),1)],1),a("div",{staticClass:"query-item"},[a("t-select",{attrs:{placeholder:"\u7EC4\u4EF6\u540D\u79F0",clearable:"",filterable:""},on:{change:r.onComponentChange},model:{value:r.query.component,callback:function(c){r.$set(r.query,"component",c)},expression:"query.component"}},r._l(r.map.components,function(c,h){return a("t-option",{key:h,attrs:{label:`${c.value} ${c.label} (${r.TYPE_MAP[c.type]||"\u7EC4\u4EF6"})`,value:c.value}})}),1)],1),a("div",{staticClass:"query-item"},[a("t-select",{attrs:{placeholder:"API \u5206\u7C7B",clearable:"",filterable:""},on:{change:r.onComponentChange},model:{value:r.query.fieldCategory,callback:function(c){r.$set(r.query,"fieldCategory",c)},expression:"query.fieldCategory"}},r._l(r.map.field_category,function(c,h){return a("t-option",{key:h,attrs:{label:c.label,value:c.value}})}),1)],1),a("div",{staticClass:"query-item"},[a("t-input",{attrs:{placeholder:"\u8F93\u5165 API \u540D\u79F0\u67E5\u8BE2\uFF0C\u5982\uFF1Atheme"},on:{enter:r.onEnter},model:{value:r.query.fieldName,callback:function(c){r.$set(r.query,"fieldName",c)},expression:"query.fieldName"}})],1)]),r.preview?r._e():a("api-operation",{attrs:{map:r.map},on:{"create-dialog-show":r.onCreateDialogShow}}),a("div",{staticClass:"t-demo-api-list"},[a("t-loading",{attrs:{loading:r.loading}},[a("api-list",{attrs:{list:r.list,platformOptions:r.platformOptions,preview:r.preview},on:{"delete-api-success":r.onDeleteSuccess,"click-edit-btn":r.onEditClick,"click-test-edit-btn":r.onTestEditClick,"code-preview":r.onCodePreview}}),a("t-pagination",{attrs:{total:r.total,"page-size":r.pageSize,current:r.page,"show-sizer":""},on:{change:r.onPageChange}})],1)],1),a("t-drawer",{staticClass:"api-edit",attrs:{header:r.mode==="create"?"\u65B0\u589E":"\u7F16\u8F91",width:"830",visible:r.createApiVisible,size:"60%"},on:{"update:visible":function(c){r.createApiVisible=c},confirm:r.onApiConfirm}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("import",{ref:"api-form",attrs:{map:r.map,info:r.apiInfo,mode:r.mode}})],1)]),a("t-dialog",{attrs:{width:"830",top:"calc(100% - 730px)",visible:r.codePreviewVisible,cancelBtn:null,confirmBtn:"\u5173\u95ED"},on:{"update:visible":function(c){r.codePreviewVisible=c}}},[a("div",{attrs:{slot:"header"},slot:"header"},[a("t-tabs",{model:{value:r.previewType,callback:function(c){r.previewType=c},expression:"previewType"}},r._l(r.previewTabs,function(c,h){return a("t-tab-panel",{key:h,attrs:{value:c.label,label:c.label}})}),1)],1),a("codemirror",{attrs:{slot:"body",value:r.code,options:r.cmOptions},slot:"body"})],1),a("t-drawer",{attrs:{header:"\u6D4B\u8BD5\u7528\u4F8B\u8BBE\u8BA1",visible:r.unitTestVisible,size:"85%"},on:{"update:visible":function(c){r.unitTestVisible=c},confirm:r.onUnitTestEditConfirm,cancel:r.onUnitTestEditCancel}},[a("unit-test-design",{ref:"unit-test",attrs:{map:r.map,apiInfo:r.apiInfo,visible:r.unitTestVisible}})],1)],1)])},i2=[];const a2={plugin:"\u63D2\u4EF6",TS:"\u63A5\u53E3\u5B9A\u4E49"},o2=[{label:"Types"},{label:"Props",include:["Vue(PC)","Vue(Mobile)","Miniprogram"]},{label:"Docs"}],s2={name:"APIDesign",components:{codemirror:bg.exports.codemirror,ApiList:lS,ApiOperation:bS,Import:LD,TSelect:kp,TOption:Lp,TInput:yg,TPagination:u1,TDialog:f1,TLoading:c1,UnitTestDesign:r2},props:{preview:Boolean},data(){return{TYPE_MAP:a2,loading:!1,dataBase:null,createApiVisible:!1,unitTestVisible:!1,list:[],map:{},platformOptions:[],query:{platform:"",component:"",fieldName:"",fieldCategory:""},apiInfo:null,mode:"create",total:0,page:1,pageSize:20,codePreviewVisible:!1,codeData:{framework:"",data:{}},code:"",cmOptions:{tabSize:4,mode:"text/javascript",theme:"base16-dark",lineNumbers:!0,line:!0,viewportMargin:20},previewType:"Types"}},computed:{previewTabs(){return o2.filter(r=>r.include?r.include.includes(this.codeData.framework):!0)}},created(){this.getMap(),this.getApiList()},methods:{onPageChange(r){this.page=r.current,this.pageSize=r.pageSize,this.getApiList()},onEnter(){this.search()},onComponentChange(){this.search()},onPlatformChange(){this.search()},search(){this.page=1,this.getApiList()},getMap(){Ra({method:"get",url:"/cmp/map"}).then(r=>{const u=r.data.data;this.platformOptions=u.platform_framework,this.map=u})},getApiList(){const r=Object.assign({},this.query),u={platform_framework:r.platform,component:r.component,field_category:r.fieldCategory,field_name:r.fieldName,page:this.page,page_size:this.pageSize};this.loading=!0,Ra({method:"get",url:"/cmp/api",params:u}).then(a=>{this.list=a.data.data,this.total=a.data.total,this.loading=!1},()=>{this.loading=!1})},onDeleteSuccess(){this.getApiList()},showDialog(){this.createApiVisible=!0},onEditClick(r){this.apiInfo=r.row,this.mode="edit",this.showDialog()},onTestEditClick(r){this.apiInfo=r.row,this.unitTestVisible=!0},onUnitTestEditCancel(){this.apiInfo=null},onCreateDialogShow(){this.apiInfo=null,this.mode="create",this.showDialog()},onApiConfirm(){const r=this.$refs["api-form"].formData;if(r.version)try{JSON.parse(r.version)}catch{this.$message.error("\u7248\u672C\u53F7\u683C\u5F0F\u5FC5\u987B\u4E3A\u5408\u6CD5 JSON");return}const u={id:this.apiInfo?this.apiInfo.id:void 0,platform_framework:r.platform,component:r.component,field_category:r.apiCategory,field_name:r.name,field_type:r.fieldType,custom_field_type:r.customFieldType,field_default_value:r.defaultValue,field_enum:r.fieldEnums,field_desc_zh:r.descZh,field_desc_en:r.descEn,test_description:r.testDescription,version:r.version,support_default_value:Number(r.supportDefaultValue),field_required:r.required,deprecated:Number(r.deprecated),html_attribute:r.htmlAttribute,event_input:r.eventInput,event_output:r.eventOutput,syntactic_sugar:r.syntacticSugar,trigger_elements:r.triggerElements};Ra({method:this.mode==="create"?"post":"put",url:"/cmp/api",data:u}).then(()=>{this.getApiList(),this.createApiVisible=!1})},onUnitTestEditConfirm(){const r=this.$refs["unit-test"].testDescription;try{r&&JSON.parse(r)}catch{this.$message.error("\u6D4B\u8BD5\u7528\u4F8B\u4E0D\u662F\u5408\u6CD5 JSON");return}Ra({method:"put",url:"/cmp/api",data:{id:this.apiInfo?this.apiInfo.id:void 0,test_description:r}}).then(()=>{this.getApiList(),this.unitTestVisible=!1})},onCodePreview(r,u){this.codeData={data:r,framework:u},this.codePreviewVisible=!0,this.code=JSON.stringify(r,void 0,2)}}},hg={};var l2=Yi(s2,n2,i2,!1,u2,null,null,null);function u2(r){for(let u in hg)this[u]=hg[u]}var d2=function(){return l2.exports}();export{d2 as default}; diff --git a/packages/frontend/_site/assets/preview.0ab53baa.js b/packages/frontend/_site/assets/preview.6d635fb9.js similarity index 75% rename from packages/frontend/_site/assets/preview.0ab53baa.js rename to packages/frontend/_site/assets/preview.6d635fb9.js index be5eb556..0e604e56 100644 --- a/packages/frontend/_site/assets/preview.0ab53baa.js +++ b/packages/frontend/_site/assets/preview.6d635fb9.js @@ -1 +1 @@ -import o from"./index.b17e133c.js";import{n as i}from"./index.8bca0f80.js";import"https://tdesign.gtimg.com/js/prettier%402.8.1-standalone.mjs";import"https://tdesign.gtimg.com/js/prettier%402.8.1-parser-babel.mjs";var s=function(){var n=this,e=n.$createElement,r=n._self._c||e;return r("api-design",{attrs:{preview:""}})},a=[];const _={name:"ApiPreview",components:{ApiDesign:o}},t={};var c=i(_,s,a,!1,p,null,null,null);function p(n){for(let e in t)this[e]=t[e]}var f=function(){return c.exports}();export{f as default}; +import o from"./index.b2eb7d93.js";import{n as i}from"./index.a1977b0e.js";import"https://tdesign.gtimg.com/js/prettier%402.8.1-standalone.mjs";import"https://tdesign.gtimg.com/js/prettier%402.8.1-parser-babel.mjs";var s=function(){var n=this,e=n.$createElement,r=n._self._c||e;return r("api-design",{attrs:{preview:""}})},a=[];const _={name:"ApiPreview",components:{ApiDesign:o}},t={};var c=i(_,s,a,!1,p,null,null,null);function p(n){for(let e in t)this[e]=t[e]}var f=function(){return c.exports}();export{f as default}; diff --git a/packages/frontend/_site/index.html b/packages/frontend/_site/index.html index 621a8c70..3815ab5a 100644 --- a/packages/frontend/_site/index.html +++ b/packages/frontend/_site/index.html @@ -15,7 +15,7 @@ } - + diff --git a/packages/frontend/src/pages/api/const.js b/packages/frontend/src/pages/api/const.js index d2f7e572..0684c1be 100644 --- a/packages/frontend/src/pages/api/const.js +++ b/packages/frontend/src/pages/api/const.js @@ -75,3 +75,4 @@ export const P_VUE_MOBILE = 8 export const P_REACT_MOBILE = 16 export const P_ANGULAR_MOBILE = 32 export const P_MINIPROGRAM = 64 +export const P_UNIAPP = 128 diff --git a/packages/frontend/src/pages/api/import.vue b/packages/frontend/src/pages/api/import.vue index b189f6ad..22f781d2 100644 --- a/packages/frontend/src/pages/api/import.vue +++ b/packages/frontend/src/pages/api/import.vue @@ -272,6 +272,7 @@ import { NUMBER, P_VUE_PC, P_VUE_MOBILE, + P_UNIAPP, API_CATEGORY_EXTENDS, API_CATEGORY_RETURN, API_CATEGORY_T @@ -357,7 +358,7 @@ export default { return API_CATEGORY_MAP[this.formData.apiCategory] || { placeholder: {} } }, isShowSugar () { - const intersection = this.formData.platform.filter(item => [P_VUE_PC, P_VUE_MOBILE].includes(Number(item))) + const intersection = this.formData.platform.filter(item => [P_VUE_PC, P_VUE_MOBILE, P_UNIAPP].includes(Number(item))) const platformAllow = !!intersection.length const categoryAllow = [ API_CATEGORY_EVENTS, diff --git a/packages/scripts/api.json b/packages/scripts/api.json index f4bc824f..8b1bce4f 100644 --- a/packages/scripts/api.json +++ b/packages/scripts/api.json @@ -5,7 +5,8 @@ { "id": 1720093990, "platform_framework": [ - "64" + "64", + "128" ], "component": "", "field_category": 1, @@ -33,7 +34,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -2509,7 +2511,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "ActionSheet", "field_category": 1, @@ -2539,7 +2542,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -2550,7 +2554,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "ActionSheet", "field_category": 1, @@ -2580,7 +2585,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -2591,7 +2597,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "ActionSheet", "field_category": 1, @@ -2621,7 +2628,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -2632,7 +2640,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "ActionSheet", "field_category": 1, @@ -2662,7 +2671,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -2744,12 +2754,50 @@ "Array" ] }, + { + "id": 1762330578, + "platform_framework": [ + "128" + ], + "component": "ActionSheet", + "field_category": 1, + "field_name": "items", + "field_type": [ + "16" + ], + "field_default_value": "[]", + "field_enum": "", + "field_desc_zh": "菜单项", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-05 08:16:18", + "update_time": "2025-11-05 08:16:18", + "event_output": null, + "custom_field_type": "Array【interface ActionSheetItem { label: string; color?: string; disabled?: boolean; icon?: string; suffixIcon?: string }】", + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Array" + ] + }, { "id": 1712054580, "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "ActionSheet", "field_category": 1, @@ -2773,13 +2821,14 @@ "trigger_elements": "", "deprecated": 0, "version": "", - "test_description": null, + "test_description": "", "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -2790,7 +2839,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "ActionSheet", "field_category": 1, @@ -2820,7 +2870,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -2831,7 +2882,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "ActionSheet", "field_category": 1, @@ -2861,7 +2913,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -2872,7 +2925,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "ActionSheet", "field_category": 1, @@ -2902,7 +2956,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -2911,7 +2966,8 @@ { "id": 1719908417, "platform_framework": [ - "64" + "64", + "128" ], "component": "ActionSheet", "field_category": 1, @@ -2939,7 +2995,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -2950,7 +3007,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "ActionSheet", "field_category": 1, @@ -2980,7 +3038,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -3024,7 +3083,8 @@ { "id": 2550, "platform_framework": [ - "64" + "64", + "128" ], "component": "ActionSheet", "field_category": 2, @@ -3050,7 +3110,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -3120,6 +3181,39 @@ ], "field_type_text": [] }, + { + "id": 1762328361, + "platform_framework": [ + "128" + ], + "component": "ActionSheet", + "field_category": 2, + "field_name": "close", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "关闭时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { trigger: ActionSheetTriggerSource })【type ActionSheetTriggerSource = 'overlay' | 'command' | 'select' 】", + "create_time": "2025-11-05 07:39:21", + "update_time": "2025-11-05 07:39:21", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1614, "platform_framework": [ @@ -3169,7 +3263,7 @@ "field_desc_zh": "选择菜单项时触发", "field_desc_en": null, "field_required": 0, - "event_input": "(selected: ActionSheetItem | string, index: number)", + "event_input": "(e: { selected: ActionSheetItem | string, index: number })", "create_time": "2022-04-08 09:07:20", "update_time": "2022-07-06 14:55:26", "event_output": null, @@ -3188,10 +3282,44 @@ ], "field_type_text": [] }, + { + "id": 1762447224, + "platform_framework": [ + "128" + ], + "component": "ActionSheet", + "field_category": 2, + "field_name": "selected", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "选择菜单项时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { selected: ActionSheetItem | string, index: number })", + "create_time": "2025-11-06 16:40:24", + "update_time": "2025-11-06 16:40:24", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1712054648, "platform_framework": [ - "64" + "64", + "128" ], "component": "ActionSheet", "field_category": 128, @@ -3217,14 +3345,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712054668, "platform_framework": [ - "64" + "64", + "128" ], "component": "ActionSheet", "field_category": 128, @@ -3250,14 +3380,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712054662, "platform_framework": [ - "64" + "64", + "128" ], "component": "ActionSheet", "field_category": 128, @@ -3283,14 +3415,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759130478, "platform_framework": [ - "64" + "64", + "128" ], "component": "ActionSheet", "field_category": 512, @@ -3316,7 +3450,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -5035,7 +5170,8 @@ { "id": 1762490072, "platform_framework": [ - "64" + "64", + "128" ], "component": "Attachments", "field_category": 1, @@ -5063,7 +5199,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -5072,7 +5209,8 @@ { "id": 1762421222, "platform_framework": [ - "64" + "64", + "128" ], "component": "Attachments", "field_category": 1, @@ -5100,7 +5238,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -5109,7 +5248,8 @@ { "id": 1762421184, "platform_framework": [ - "64" + "64", + "128" ], "component": "Attachments", "field_category": 1, @@ -5137,7 +5277,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -5146,7 +5287,8 @@ { "id": 1762421201, "platform_framework": [ - "64" + "64", + "128" ], "component": "Attachments", "field_category": 1, @@ -5174,7 +5316,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -5183,7 +5326,8 @@ { "id": 1762421370, "platform_framework": [ - "64" + "64", + "128" ], "component": "Attachments", "field_category": 2, @@ -5211,7 +5355,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -5220,7 +5365,8 @@ { "id": 1762421334, "platform_framework": [ - "64" + "64", + "128" ], "component": "Attachments", "field_category": 2, @@ -5248,7 +5394,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -5257,7 +5404,8 @@ { "id": 1762421355, "platform_framework": [ - "64" + "64", + "128" ], "component": "Attachments", "field_category": 2, @@ -5285,7 +5433,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -6559,7 +6708,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Avatar", "field_category": 1, @@ -6591,7 +6741,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -6638,10 +6789,48 @@ "Object" ] }, + { + "id": 1762406581, + "platform_framework": [ + "128" + ], + "component": "Avatar", + "field_category": 1, + "field_name": "badgeProps", + "field_type": [ + "8" + ], + "field_default_value": "{}", + "field_enum": "", + "field_desc_zh": "头像右上角提示信息,继承 Badge 组件的全部特性。如:小红点,或者数字", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 05:23:01", + "update_time": "2025-11-06 05:23:01", + "event_output": null, + "custom_field_type": "BadgeProps【import { BadgeProps } from '@Badge'】", + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Object" + ] + }, { "id": 3265, "platform_framework": [ - "64" + "64", + "128" ], "component": "Avatar", "field_category": 1, @@ -6669,7 +6858,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -6803,7 +6993,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Avatar", "field_category": 1, @@ -6835,7 +7026,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -6887,7 +7079,8 @@ { "id": 1499, "platform_framework": [ - "64" + "64", + "128" ], "component": "Avatar", "field_category": 1, @@ -6916,7 +7109,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -6930,7 +7124,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Avatar", "field_category": 1, @@ -6962,7 +7157,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -6975,7 +7171,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Avatar", "field_category": 1, @@ -7007,7 +7204,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -7020,7 +7218,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Avatar", "field_category": 1, @@ -7052,7 +7251,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -7065,7 +7265,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Avatar", "field_category": 1, @@ -7097,7 +7298,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -7180,7 +7382,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Avatar", "field_category": 2, @@ -7191,7 +7394,7 @@ "field_desc_zh": "图片加载失败时触发", "field_desc_en": "trigger on image load failed", "field_required": 0, - "event_input": "(context: { e: Event })", + "event_input": "(e: Event)", "create_time": "2021-08-20 07:36:53", "update_time": "2021-09-16 09:26:51", "event_output": null, @@ -7210,7 +7413,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -7252,7 +7456,8 @@ { "id": 1712048196, "platform_framework": [ - "64" + "64", + "128" ], "component": "Avatar", "field_category": 128, @@ -7278,14 +7483,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712048228, "platform_framework": [ - "64" + "64", + "128" ], "component": "Avatar", "field_category": 128, @@ -7311,14 +7518,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712048233, "platform_framework": [ - "64" + "64", + "128" ], "component": "Avatar", "field_category": 128, @@ -7344,14 +7553,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712048223, "platform_framework": [ - "64" + "64", + "128" ], "component": "Avatar", "field_category": 128, @@ -7377,14 +7588,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712048218, "platform_framework": [ - "64" + "64", + "128" ], "component": "Avatar", "field_category": 128, @@ -7410,14 +7623,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759130533, "platform_framework": [ - "64" + "64", + "128" ], "component": "Avatar", "field_category": 512, @@ -7443,14 +7658,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1600, "platform_framework": [ - "64" + "64", + "128" ], "component": "AvatarGroup", "field_category": 1, @@ -7478,7 +7695,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -7534,7 +7752,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "AvatarGroup", "field_category": 1, @@ -7567,7 +7786,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -7581,7 +7801,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "AvatarGroup", "field_category": 1, @@ -7613,7 +7834,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -7665,7 +7887,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "AvatarGroup", "field_category": 1, @@ -7697,7 +7920,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -7710,7 +7934,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "AvatarGroup", "field_category": 1, @@ -7742,7 +7967,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -7755,7 +7981,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "AvatarGroup", "field_category": 2, @@ -7766,7 +7993,7 @@ "field_desc_zh": "点击头像折叠元素触发", "field_desc_en": null, "field_required": 0, - "event_input": "(context: { e: MouseEvent })", + "event_input": "(e: MouseEvent)", "create_time": "2024-08-20 13:09:37", "update_time": "2024-08-20 13:09:37", "event_output": null, @@ -7785,14 +8012,16 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712048317, "platform_framework": [ - "64" + "64", + "128" ], "component": "AvatarGroup", "field_category": 128, @@ -7818,14 +8047,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712048342, "platform_framework": [ - "64" + "64", + "128" ], "component": "AvatarGroup", "field_category": 128, @@ -7851,14 +8082,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712048336, "platform_framework": [ - "64" + "64", + "128" ], "component": "AvatarGroup", "field_category": 128, @@ -7884,14 +8117,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759130576, "platform_framework": [ - "64" + "64", + "128" ], "component": "AvatarGroup", "field_category": 512, @@ -7917,7 +8152,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -8166,7 +8402,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "BackTop", "field_category": 1, @@ -8196,7 +8433,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -8205,7 +8443,8 @@ { "id": 1595, "platform_framework": [ - "64" + "64", + "128" ], "component": "BackTop", "field_category": 1, @@ -8236,7 +8475,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -8361,7 +8601,8 @@ { "id": 1711970525, "platform_framework": [ - "64" + "64", + "128" ], "component": "BackTop", "field_category": 1, @@ -8389,7 +8630,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -8558,7 +8800,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "BackTop", "field_category": 1, @@ -8588,7 +8831,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -8599,7 +8843,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "BackTop", "field_category": 1, @@ -8629,7 +8874,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -8679,7 +8925,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "BackTop", "field_category": 1, @@ -8709,7 +8956,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -8796,7 +9044,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "BackTop", "field_category": 2, @@ -8824,14 +9073,16 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711970247, "platform_framework": [ - "64" + "64", + "128" ], "component": "BackTop", "field_category": 128, @@ -8857,14 +9108,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711970256, "platform_framework": [ - "64" + "64", + "128" ], "component": "BackTop", "field_category": 128, @@ -8890,14 +9143,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711970261, "platform_framework": [ - "64" + "64", + "128" ], "component": "BackTop", "field_category": 128, @@ -8923,14 +9178,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759130738, "platform_framework": [ - "64" + "64", + "128" ], "component": "BackTop", "field_category": 512, @@ -8956,14 +9213,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759130814, "platform_framework": [ - "64" + "64", + "128" ], "component": "BackTop", "field_category": 512, @@ -8989,7 +9248,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -9041,7 +9301,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Badge", "field_category": 1, @@ -9073,7 +9334,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -9127,7 +9389,8 @@ { "id": 1798, "platform_framework": [ - "64" + "64", + "128" ], "component": "Badge", "field_category": 1, @@ -9155,7 +9418,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -9211,7 +9475,8 @@ { "id": 1737, "platform_framework": [ - "64" + "64", + "128" ], "component": "Badge", "field_category": 1, @@ -9241,7 +9506,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -9295,7 +9561,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Badge", "field_category": 1, @@ -9327,7 +9594,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -9340,7 +9608,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Badge", "field_category": 1, @@ -9372,7 +9641,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -9385,7 +9655,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Badge", "field_category": 1, @@ -9417,7 +9688,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -9428,7 +9700,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Badge", "field_category": 1, @@ -9458,7 +9731,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -9510,7 +9784,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Badge", "field_category": 1, @@ -9542,7 +9817,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -9592,7 +9868,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Badge", "field_category": 1, @@ -9622,7 +9899,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -9631,7 +9909,8 @@ { "id": 1712048429, "platform_framework": [ - "64" + "64", + "128" ], "component": "Badge", "field_category": 128, @@ -9657,14 +9936,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712048399, "platform_framework": [ - "64" + "64", + "128" ], "component": "Badge", "field_category": 128, @@ -9690,14 +9971,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712048415, "platform_framework": [ - "64" + "64", + "128" ], "component": "Badge", "field_category": 128, @@ -9723,14 +10006,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759131915, "platform_framework": [ - "64" + "64", + "128" ], "component": "Badge", "field_category": 512, @@ -9756,14 +10041,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759131947, "platform_framework": [ - "64" + "64", + "128" ], "component": "Badge", "field_category": 512, @@ -9789,7 +10076,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -9956,7 +10244,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -9988,7 +10277,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -10042,7 +10332,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -10075,7 +10366,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -10089,7 +10381,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -10121,7 +10414,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -10134,7 +10428,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -10166,7 +10461,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -10257,7 +10553,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -10290,7 +10587,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -10345,7 +10643,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -10377,7 +10676,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -10630,7 +10930,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -10663,7 +10964,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -10876,7 +11178,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -10909,7 +11212,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -10960,7 +11264,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -10990,7 +11295,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -11042,7 +11348,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -11075,7 +11382,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -11304,7 +11612,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -11336,7 +11645,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -11466,7 +11776,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -11498,7 +11809,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -11550,7 +11862,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -11582,7 +11895,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -11595,7 +11909,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -11627,7 +11942,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -11677,7 +11993,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -11707,7 +12024,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -11761,7 +12079,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -11793,7 +12112,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -11876,7 +12196,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 2, @@ -11906,7 +12227,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -12020,7 +12342,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 2, @@ -12048,7 +12371,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -12549,7 +12873,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 64, @@ -12579,7 +12904,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -12590,7 +12916,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTableCol", "field_category": 1, @@ -12622,7 +12949,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -12797,7 +13125,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTableCol", "field_category": 1, @@ -12832,7 +13161,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -12848,7 +13178,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTableCol", "field_category": 1, @@ -12880,7 +13211,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -13104,7 +13436,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTableCol", "field_category": 1, @@ -13136,7 +13469,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -13227,7 +13561,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTableCol", "field_category": 1, @@ -13260,7 +13595,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -13557,7 +13893,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTableCol", "field_category": 1, @@ -13590,7 +13927,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -14458,7 +14796,8 @@ { "id": 1709459753, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -14486,7 +14825,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -14499,7 +14839,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -14531,7 +14872,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -14585,7 +14927,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -14618,7 +14961,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -14662,6 +15006,51 @@ "any" ] }, + { + "id": 1762315793, + "platform_framework": [ + "128" + ], + "component": "Button", + "field_category": 1, + "field_name": "customDataset", + "field_type": [ + "1", + "2", + "4", + "8", + "16" + ], + "field_default_value": "{}", + "field_enum": "", + "field_desc_zh": "自定义 dataset,可通过 event.currentTarget.dataset.custom 获取", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-05 04:09:53", + "update_time": "2025-11-05 04:09:53", + "event_output": null, + "custom_field_type": "string | number | boolean | object | Array", + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "String", + "Number", + "Boolean", + "Object", + "Array" + ] + }, { "id": 731, "platform_framework": [ @@ -14708,7 +15097,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -14740,7 +15130,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -14792,7 +15183,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -14824,7 +15216,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -14833,7 +15226,8 @@ { "id": 1709458832, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -14861,7 +15255,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -14870,7 +15265,8 @@ { "id": 1709458975, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -14898,7 +15294,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -14907,7 +15304,8 @@ { "id": 1709459011, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -14935,7 +15333,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -14944,7 +15343,8 @@ { "id": 1709458937, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -14972,7 +15372,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -15063,7 +15464,8 @@ { "id": 1664, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15092,7 +15494,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -15135,7 +15538,8 @@ { "id": 1709459081, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15163,7 +15567,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15176,7 +15581,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15208,7 +15614,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -15259,10 +15666,48 @@ "Object" ] }, + { + "id": 1762409757, + "platform_framework": [ + "128" + ], + "component": "Button", + "field_category": 1, + "field_name": "loadingProps", + "field_type": [ + "8" + ], + "field_default_value": "{}", + "field_enum": "", + "field_desc_zh": "透传 Loading 组件全部属性", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 06:15:57", + "update_time": "2025-11-06 06:15:57", + "event_output": null, + "custom_field_type": "LoadingProps【import { LoadingProps } from '@Loading'】", + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Object" + ] + }, { "id": 1709458728, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15290,7 +15735,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15299,7 +15745,8 @@ { "id": 1709459838, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15327,7 +15774,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -15336,7 +15784,8 @@ { "id": 1709459686, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15364,7 +15813,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15373,7 +15823,8 @@ { "id": 1709459448, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15401,7 +15852,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15410,7 +15862,8 @@ { "id": 1709459391, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15438,7 +15891,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15447,7 +15901,8 @@ { "id": 1709459157, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15475,7 +15930,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15488,7 +15944,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15520,7 +15977,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15529,7 +15987,8 @@ { "id": 1709459794, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15557,7 +16016,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -15607,7 +16067,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15637,7 +16098,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15650,7 +16112,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15682,7 +16145,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -15691,7 +16155,8 @@ { "id": 1709453000, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15719,7 +16184,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15808,7 +16274,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15838,7 +16305,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15890,7 +16358,8 @@ { "id": 1242, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15918,7 +16387,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15931,7 +16401,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15963,7 +16434,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15972,7 +16444,8 @@ { "id": 1709460216, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 2, @@ -15998,14 +16471,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1709460195, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 2, @@ -16031,7 +16506,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -16042,7 +16518,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 2, @@ -16072,14 +16549,16 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1709459969, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 2, @@ -16105,14 +16584,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1709460045, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 2, @@ -16138,14 +16619,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1709460137, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 2, @@ -16171,14 +16654,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1709460067, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 2, @@ -16204,14 +16689,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1709460095, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 2, @@ -16237,14 +16724,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1709459941, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 2, @@ -16270,14 +16759,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1709460173, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 2, @@ -16303,14 +16794,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1709460154, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 2, @@ -16336,7 +16829,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -16376,7 +16870,8 @@ { "id": 1711974741, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 128, @@ -16402,14 +16897,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1709439384, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 128, @@ -16435,14 +16932,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1709439405, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 128, @@ -16468,14 +16967,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759130366, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 512, @@ -16501,7 +17002,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -16509,7 +17011,8 @@ "id": 3263, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -16538,7 +17041,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -16631,7 +17135,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -16663,7 +17168,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -16795,7 +17301,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -16825,7 +17332,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -16875,7 +17383,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -16905,7 +17414,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -16994,7 +17504,8 @@ { "id": 1731402896, "platform_framework": [ - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -17022,7 +17533,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -17031,7 +17543,8 @@ { "id": 3142, "platform_framework": [ - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -17059,7 +17572,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -17109,7 +17623,8 @@ { "id": 3143, "platform_framework": [ - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -17137,7 +17652,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -17386,7 +17902,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -17416,7 +17933,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -17427,7 +17945,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -17457,7 +17976,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -17507,7 +18027,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -17538,7 +18059,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -17550,7 +18072,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -17580,7 +18103,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -17591,7 +18115,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -17621,7 +18146,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -17630,7 +18156,8 @@ { "id": 1719908432, "platform_framework": [ - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -17658,7 +18185,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -17710,7 +18238,8 @@ { "id": 3138, "platform_framework": [ - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -17739,7 +18268,8 @@ "support_default_value": 1, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number", @@ -17794,7 +18324,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -17824,7 +18355,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -18085,12 +18617,46 @@ ], "field_type_text": [] }, + { + "id": 1762352534, + "platform_framework": [ + "128" + ], + "component": "Calendar", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "不显示 confirm-btn 时,完成选择时触发(暂不支持 type = multiple)", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: number | number[] })", + "create_time": "2025-11-05 14:22:14", + "update_time": "2025-11-05 14:22:14", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"0.28.0\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 3264, "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Calendar", "field_category": 2, @@ -18101,7 +18667,7 @@ "field_desc_zh": "关闭按钮时触发", "field_desc_en": null, "field_required": 0, - "event_input": "(trigger: CalendarTrigger)【type CalendarTrigger = 'close-btn' | 'confirm-btn' | 'overlay' | 'auto-close'】", + "event_input": "(context: { trigger: CalendarTrigger })【type CalendarTrigger = 'close-btn' | 'confirm-btn' | 'overlay' | 'auto-close'】", "create_time": "2023-01-09 02:08:31", "update_time": "2023-01-09 02:08:31", "event_output": null, @@ -18118,7 +18684,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -18190,6 +18757,39 @@ ], "field_type_text": [] }, + { + "id": 1762352506, + "platform_framework": [ + "128" + ], + "component": "Calendar", + "field_category": 2, + "field_name": "confirm", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击确认按钮时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: number | number[] })", + "create_time": "2025-11-05 14:21:46", + "update_time": "2025-11-05 14:21:46", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 654, "platform_framework": [ @@ -18278,7 +18878,7 @@ "field_desc_zh": "切换月或年时触发(switch-mode 不为 none 时有效)", "field_desc_en": null, "field_required": 0, - "event_input": "(context: { year: number, month: number })", + "event_input": "(year: number, month: number)", "create_time": "2024-12-23 08:48:55", "update_time": "2024-12-23 08:48:55", "event_output": null, @@ -18301,6 +18901,43 @@ "Array" ] }, + { + "id": 1762450778, + "platform_framework": [ + "128" + ], + "component": "Calendar", + "field_category": 2, + "field_name": "panelChange", + "field_type": [ + "16" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "切换月或年时触发(switch-mode 不为 none 时有效)", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { year: number, month: number })", + "create_time": "2025-11-06 17:39:38", + "update_time": "2025-11-06 17:39:38", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\n\"Miniprogram\": \"1.8.4\",\n\"Vue(Mobile)\": \"1.8.1\",\n\"React(Mobile)\": \"0.16.0\"\n}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Array" + ] + }, { "id": 1720685482, "platform_framework": [ @@ -18400,6 +19037,39 @@ ], "field_type_text": [] }, + { + "id": 1762450810, + "platform_framework": [ + "128" + ], + "component": "Calendar", + "field_category": 2, + "field_name": "scroll", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "滚动时触发", + "field_desc_en": "triggered when scrolling", + "field_required": 0, + "event_input": "(context: {scrollLeft: number, scrollTop: number, scrollHeight: number, scrollWidth: number, deltaX: number, deltaY: number})", + "create_time": "2025-11-06 17:40:10", + "update_time": "2025-11-06 17:40:10", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"1.4.6\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 3223, "platform_framework": [ @@ -18468,6 +19138,39 @@ ], "field_type_text": [] }, + { + "id": 1762352614, + "platform_framework": [ + "128" + ], + "component": "Calendar", + "field_category": 2, + "field_name": "select", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击日期时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: number | number[] })", + "create_time": "2025-11-05 14:23:34", + "update_time": "2025-11-05 14:23:34", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"0.28.0\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1707207245, "platform_framework": [ @@ -18506,7 +19209,8 @@ { "id": 1759132103, "platform_framework": [ - "64" + "64", + "128" ], "component": "Calendar", "field_category": 512, @@ -18532,14 +19236,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759132116, "platform_framework": [ - "64" + "64", + "128" ], "component": "Calendar", "field_category": 512, @@ -18565,7 +19271,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -20971,7 +21678,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 1, @@ -21001,7 +21709,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -21051,7 +21760,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 1, @@ -21082,7 +21792,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -21291,7 +22002,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 1, @@ -21321,7 +22033,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -21405,6 +22118,45 @@ "Object" ] }, + { + "id": 3347, + "platform_framework": [ + "64", + "128" + ], + "component": "Cascader", + "field_category": 1, + "field_name": "keys", + "field_type": [ + "8" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "用来定义 value / label 在 `options` 中对应的字段别名", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2023-02-28 10:15:01", + "update_time": "2023-02-28 10:15:01", + "event_output": null, + "custom_field_type": "KeysType", + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "Miniprogram", + "UniApp" + ], + "field_type_text": [ + "Object" + ] + }, { "id": 1723804837, "platform_framework": [ @@ -21763,7 +22515,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 1, @@ -21793,7 +22546,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -21923,7 +22677,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 1, @@ -21955,7 +22710,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -22125,7 +22881,8 @@ "id": 1712024363, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 1, @@ -22154,7 +22911,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -22594,7 +23352,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 1, @@ -22624,7 +23383,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -22793,7 +23553,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 1, @@ -22823,7 +23584,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -22875,7 +23637,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 1, @@ -22906,7 +23669,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -23075,6 +23839,45 @@ "Number" ] }, + { + "id": 1762353319, + "platform_framework": [ + "128" + ], + "component": "Cascader", + "field_category": 1, + "field_name": "value", + "field_type": [ + "1", + "2" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "选项值", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-05 14:35:19", + "update_time": "2025-11-05 14:35:19", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": "v-model", + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 1, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "String", + "Number" + ] + }, { "id": 3324, "platform_framework": [ @@ -23199,7 +24002,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 1, @@ -23229,7 +24033,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -23373,6 +24178,72 @@ ], "field_type_text": [] }, + { + "id": 1762353530, + "platform_framework": [ + "64" + ], + "component": "Cascader", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "值发生变更时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: string | number, selectedOptions: string[] })", + "create_time": "2025-11-05 14:38:50", + "update_time": "2025-11-05 14:38:50", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"1.0.1\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1762353552, + "platform_framework": [ + "128" + ], + "component": "Cascader", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "值发生变更时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: string | number, selectedOptions: string[] })", + "create_time": "2025-11-05 14:39:12", + "update_time": "2025-11-05 14:39:12", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"1.0.1\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1744870803, "platform_framework": [ @@ -23445,6 +24316,39 @@ ], "field_type_text": [] }, + { + "id": 1762353507, + "platform_framework": [ + "128" + ], + "component": "Cascader", + "field_category": 2, + "field_name": "close", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "关闭时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { trigger: CascaderTriggerSource })【type CascaderTriggerSource = 'overlay' | 'close-btn' | 'finish'】", + "create_time": "2025-11-05 14:38:27", + "update_time": "2025-11-05 14:38:27", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"1.0.1\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 403, "platform_framework": [ @@ -23548,6 +24452,39 @@ ], "field_type_text": [] }, + { + "id": 1762353463, + "platform_framework": [ + "128" + ], + "component": "Cascader", + "field_category": 2, + "field_name": "pick", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "选择后触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: string | number, label: string, index: number, level: number })", + "create_time": "2025-11-05 14:37:43", + "update_time": "2025-11-05 14:37:43", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"1.0.1\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 2398, "platform_framework": [ @@ -23625,7 +24562,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 64, @@ -23655,7 +24593,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -23859,7 +24798,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -23889,7 +24829,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -23937,7 +24878,8 @@ { "id": 1725283679, "platform_framework": [ - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -23966,7 +24908,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -23978,7 +24921,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -24008,7 +24952,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -24019,7 +24964,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -24050,7 +24996,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -24062,7 +25009,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -24092,7 +25040,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -24103,7 +25052,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -24134,7 +25084,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -24144,7 +25095,8 @@ { "id": 1338, "platform_framework": [ - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -24172,7 +25124,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -24220,7 +25173,8 @@ { "id": 1665, "platform_framework": [ - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -24250,7 +25204,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -24263,7 +25218,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -24294,19 +25250,60 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", "TNode" ] }, + { + "id": 1762353899, + "platform_framework": [ + "128" + ], + "component": "Cell", + "field_category": 1, + "field_name": "noteStyle", + "field_type": [ + "1", + "8" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "说明文字自定义样式", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-05 14:44:59", + "update_time": "2025-11-05 14:44:59", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "String", + "Object" + ] + }, { "id": 1339, "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -24336,7 +25333,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -24384,7 +25382,8 @@ { "id": 1666, "platform_framework": [ - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -24414,7 +25413,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -24422,12 +25422,52 @@ "TNode" ] }, + { + "id": 1762354389, + "platform_framework": [ + "128" + ], + "component": "Cell", + "field_category": 1, + "field_name": "rightIconStyle", + "field_type": [ + "1", + "8" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "右侧图标自定义样式", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-05 14:53:09", + "update_time": "2025-11-05 14:53:09", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "String", + "Object" + ] + }, { "id": 1070, "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -24458,17 +25498,58 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", "TNode" ] }, + { + "id": 1762353839, + "platform_framework": [ + "128" + ], + "component": "Cell", + "field_category": 1, + "field_name": "titleStyle", + "field_type": [ + "1", + "8" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "标题自定义样式", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-05 14:43:59", + "update_time": "2025-11-05 14:43:59", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "String", + "Object" + ] + }, { "id": 1337, "platform_framework": [ - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -24496,7 +25577,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -24507,7 +25589,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cell", "field_category": 2, @@ -24518,7 +25601,7 @@ "field_desc_zh": "右侧内容", "field_desc_en": null, "field_required": 0, - "event_input": "(context: { e: MouseEvent })", + "event_input": "(e: MouseEvent)", "create_time": "2025-10-24 10:06:44", "update_time": "2025-10-24 10:06:44", "event_output": null, @@ -24535,14 +25618,16 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712048545, "platform_framework": [ - "64" + "64", + "128" ], "component": "Cell", "field_category": 128, @@ -24568,14 +25653,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712048589, "platform_framework": [ - "64" + "64", + "128" ], "component": "Cell", "field_category": 128, @@ -24601,14 +25688,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712048559, "platform_framework": [ - "64" + "64", + "128" ], "component": "Cell", "field_category": 128, @@ -24634,14 +25723,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712048568, "platform_framework": [ - "64" + "64", + "128" ], "component": "Cell", "field_category": 128, @@ -24667,14 +25758,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712048573, "platform_framework": [ - "64" + "64", + "128" ], "component": "Cell", "field_category": 128, @@ -24700,14 +25793,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712048578, "platform_framework": [ - "64" + "64", + "128" ], "component": "Cell", "field_category": 128, @@ -24733,14 +25828,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712048583, "platform_framework": [ - "64" + "64", + "128" ], "component": "Cell", "field_category": 128, @@ -24766,14 +25863,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712048563, "platform_framework": [ - "64" + "64", + "128" ], "component": "Cell", "field_category": 128, @@ -24799,14 +25898,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712048594, "platform_framework": [ - "64" + "64", + "128" ], "component": "Cell", "field_category": 128, @@ -24832,14 +25933,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712048599, "platform_framework": [ - "64" + "64", + "128" ], "component": "Cell", "field_category": 128, @@ -24865,14 +25968,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712048553, "platform_framework": [ - "64" + "64", + "128" ], "component": "Cell", "field_category": 128, @@ -24898,7 +26003,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -24907,7 +26013,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CellGroup", "field_category": 1, @@ -24937,7 +26044,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -24948,7 +26056,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CellGroup", "field_category": 1, @@ -24978,7 +26087,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -24989,7 +26099,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CellGroup", "field_category": 1, @@ -25019,7 +26130,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -25028,7 +26140,8 @@ { "id": 1712027724, "platform_framework": [ - "64" + "64", + "128" ], "component": "CellGroup", "field_category": 128, @@ -25054,14 +26167,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712027793, "platform_framework": [ - "64" + "64", + "128" ], "component": "CellGroup", "field_category": 128, @@ -25087,14 +26202,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759139151, "platform_framework": [ - "64" + "64", + "128" ], "component": "CellGroup", "field_category": 512, @@ -25120,7 +26237,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -26011,10 +27129,48 @@ "Array" ] }, + { + "id": 1763196423, + "platform_framework": [ + "128" + ], + "component": "ChatActionbar", + "field_category": 1, + "field_name": "actionBar", + "field_type": [ + "16" + ], + "field_default_value": "() => ['replay', 'copy', 'good', 'bad', 'share']", + "field_enum": "", + "field_desc_zh": "操作栏配置", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-15 08:47:03", + "update_time": "2025-11-15 08:47:03", + "event_output": null, + "custom_field_type": "Array<'replay'|'copy'|'good'|'bad'|'share'>", + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Array" + ] + }, { "id": 1762424897, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatActionbar", "field_category": 1, @@ -26031,7 +27187,7 @@ "create_time": "2025-11-06 10:28:17", "update_time": "2025-11-06 10:28:17", "event_output": null, - "custom_field_type": "", + "custom_field_type": null, "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -26042,7 +27198,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -26051,7 +27208,8 @@ { "id": 1762424950, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatActionbar", "field_category": 1, @@ -26079,7 +27237,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -26088,7 +27247,8 @@ { "id": 1762425190, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatActionbar", "field_category": 1, @@ -26116,7 +27276,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -26125,7 +27286,8 @@ { "id": 1762425266, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatActionbar", "field_category": 1, @@ -26153,7 +27315,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -26162,7 +27325,8 @@ { "id": 1762425307, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatActionbar", "field_category": 1, @@ -26190,7 +27354,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -26199,7 +27364,8 @@ { "id": 1762425290, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatActionbar", "field_category": 1, @@ -26227,7 +27393,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -26236,7 +27403,8 @@ { "id": 1762424600, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatActionbar", "field_category": 2, @@ -26262,7 +27430,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -26308,7 +27477,8 @@ { "id": 1762418144, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatContent", "field_category": 1, @@ -26336,7 +27506,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -26345,7 +27516,8 @@ { "id": 1762418268, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatContent", "field_category": 1, @@ -26373,7 +27545,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -26421,7 +27594,8 @@ { "id": 1762418174, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatContent", "field_category": 1, @@ -26449,7 +27623,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -26458,7 +27633,8 @@ { "id": 1762418206, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatContent", "field_category": 1, @@ -26486,12 +27662,48 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" ] }, + { + "id": 1763199474, + "platform_framework": [ + "64", + "128" + ], + "component": "ChatContent", + "field_category": 2, + "field_name": "click", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击链接时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: {detail:{event, node}, currentTarget, target})", + "create_time": "2025-11-15 09:37:54", + "update_time": "2025-11-15 09:37:54", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "Miniprogram", + "UniApp" + ], + "field_type_text": [] + }, { "id": 1742884968, "platform_framework": [ @@ -27351,7 +28563,8 @@ { "id": 1762413791, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatList", "field_category": 1, @@ -27379,7 +28592,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -27388,7 +28602,8 @@ { "id": 1762413829, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatList", "field_category": 1, @@ -27416,7 +28631,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -27425,7 +28641,8 @@ { "id": 1762414006, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatList", "field_category": 1, @@ -27453,7 +28670,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -27462,7 +28680,8 @@ { "id": 1762414018, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatList", "field_category": 1, @@ -27490,7 +28709,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -27499,7 +28719,8 @@ { "id": 1762414029, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatList", "field_category": 1, @@ -27527,7 +28748,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -27536,7 +28758,8 @@ { "id": 1762414717, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatList", "field_category": 2, @@ -27562,7 +28785,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -27608,7 +28832,8 @@ { "id": 1762423633, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatLoading", "field_category": 1, @@ -27636,7 +28861,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -27647,7 +28873,8 @@ "platform_framework": [ "1", "2", - "64" + "64", + "128" ], "component": "ChatLoading", "field_category": 1, @@ -27677,7 +28904,8 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -27686,7 +28914,8 @@ { "id": 1762423223, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatMarkdown", "field_category": 1, @@ -27714,7 +28943,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -27757,10 +28987,48 @@ "Object" ] }, + { + "id": 1763197181, + "platform_framework": [ + "128" + ], + "component": "ChatMarkdown", + "field_category": 1, + "field_name": "options", + "field_type": [ + "8" + ], + "field_default_value": "() => ({ gfm: true, pedantic: false, breaks: true })", + "field_enum": "", + "field_desc_zh": "Markdown 解析器基础配置", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-15 08:59:41", + "update_time": "2025-11-15 08:59:41", + "event_output": null, + "custom_field_type": "TdChatContentMDOptions 【interface TdChatContentMDOptions {gfm?: boolean; pedantic?: boolean; smartLists?: boolean; breaks?: boolean}】", + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Object" + ] + }, { "id": 1762423469, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatMarkdown", "field_category": 2, @@ -27786,14 +29054,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1762417465, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatMessage", "field_category": 1, @@ -27821,7 +29091,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -27830,7 +29101,8 @@ { "id": 1762417018, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatMessage", "field_category": 1, @@ -27859,7 +29131,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -27869,7 +29142,8 @@ { "id": 1762417484, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatMessage", "field_category": 1, @@ -27897,7 +29171,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -27906,7 +29181,8 @@ { "id": 1762416954, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatMessage", "field_category": 1, @@ -27934,7 +29210,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -27943,7 +29220,8 @@ { "id": 1762417202, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatMessage", "field_category": 1, @@ -27971,7 +29249,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -27980,7 +29259,8 @@ { "id": 1762417161, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatMessage", "field_category": 1, @@ -28009,7 +29289,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -28019,7 +29300,8 @@ { "id": 1762417139, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatMessage", "field_category": 1, @@ -28048,7 +29330,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -28058,7 +29341,8 @@ { "id": 1762417314, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatMessage", "field_category": 1, @@ -28086,7 +29370,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -28095,7 +29380,8 @@ { "id": 1762417238, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatMessage", "field_category": 1, @@ -28123,7 +29409,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -28132,7 +29419,8 @@ { "id": 1762417265, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatMessage", "field_category": 1, @@ -28149,7 +29437,7 @@ "create_time": "2025-11-06 08:21:05", "update_time": "2025-11-06 08:21:05", "event_output": null, - "custom_field_type": "", + "custom_field_type": null, "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -28160,7 +29448,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -28169,7 +29458,8 @@ { "id": 1762417188, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatMessage", "field_category": 1, @@ -28197,7 +29487,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -28206,7 +29497,8 @@ { "id": 1762417897, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatMessage", "field_category": 2, @@ -28232,7 +29524,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -28473,7 +29766,8 @@ { "id": 1762419565, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 1, @@ -28501,7 +29795,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -28510,7 +29805,8 @@ { "id": 1762419289, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 1, @@ -28538,7 +29834,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -28547,7 +29844,8 @@ { "id": 1762419583, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 1, @@ -28575,7 +29873,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -28586,7 +29885,8 @@ "platform_framework": [ "1", "2", - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 1, @@ -28616,7 +29916,8 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -28625,7 +29926,8 @@ { "id": 1762419254, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 1, @@ -28653,7 +29955,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -28664,7 +29967,8 @@ "platform_framework": [ "1", "2", - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 1, @@ -28694,7 +29998,8 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -28705,7 +30010,8 @@ "platform_framework": [ "1", "2", - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 1, @@ -28735,7 +30041,8 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -28785,7 +30092,8 @@ { "id": 1762419528, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 1, @@ -28813,7 +30121,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -28941,7 +30250,8 @@ { "id": 1762485875, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 1, @@ -28970,7 +30280,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -29019,7 +30330,8 @@ { "id": 1762491604, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 1, @@ -29037,7 +30349,7 @@ "update_time": "2025-11-07 05:00:04", "event_output": null, "custom_field_type": null, - "syntactic_sugar": null, + "syntactic_sugar": "", "readonly": 1, "html_attribute": 0, "trigger_elements": "", @@ -29047,7 +30359,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -29056,7 +30369,8 @@ { "id": 1762419553, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 1, @@ -29074,7 +30388,7 @@ "update_time": "2025-11-06 08:59:13", "event_output": null, "custom_field_type": null, - "syntactic_sugar": null, + "syntactic_sugar": "", "readonly": 1, "html_attribute": 0, "trigger_elements": "", @@ -29084,7 +30398,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -29095,7 +30410,8 @@ "platform_framework": [ "1", "2", - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 2, @@ -29123,7 +30439,8 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -29132,7 +30449,8 @@ "platform_framework": [ "1", "2", - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 2, @@ -29160,14 +30478,16 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1762420021, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 2, @@ -29193,14 +30513,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1762420010, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 2, @@ -29226,14 +30548,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1762419955, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 2, @@ -29259,14 +30583,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1762419983, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 2, @@ -29292,14 +30618,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1762420057, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 2, @@ -29310,7 +30638,7 @@ "field_desc_zh": "选择文件(图片/微信文件)时触发", "field_desc_en": null, "field_required": 0, - "event_input": "(context: {files: FileList, name: UploadActionType})", + "event_input": "(context: {files: FileList, name: UploadActionType})【type UploadActionType = 'uploadAttachment' | 'uploadImage'】", "create_time": "2025-11-06 09:07:37", "update_time": "2025-11-06 09:07:37", "event_output": null, @@ -29325,7 +30653,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -29334,7 +30663,8 @@ "platform_framework": [ "1", "2", - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 2, @@ -29362,14 +30692,16 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1762420136, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 2, @@ -29395,7 +30727,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -29404,7 +30737,8 @@ "platform_framework": [ "1", "2", - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 2, @@ -29432,7 +30766,8 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -29441,7 +30776,8 @@ "platform_framework": [ "1", "2", - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 2, @@ -29469,14 +30805,82 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Miniprogram" + "Miniprogram", + "UniApp" + ], + "field_type_text": [] + }, + { + "id": 1763198652, + "platform_framework": [ + "128" + ], + "component": "ChatSender", + "field_category": 2, + "field_name": "update:value", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "输入框值发生变化时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(value: boolean)", + "create_time": "2025-11-15 09:24:12", + "update_time": "2025-11-15 09:24:12", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, + { + "id": 1763198644, + "platform_framework": [ + "128" + ], + "component": "ChatSender", + "field_category": 2, + "field_name": "update:visible", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "上传面板可见性发生变化时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(value: boolean)", + "create_time": "2025-11-15 09:24:04", + "update_time": "2025-11-15 09:24:04", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" ], "field_type_text": [] }, { "id": 1762419936, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatSender", "field_category": 2, @@ -29502,14 +30906,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1762424283, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatThinking", "field_category": 1, @@ -29537,7 +30943,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -29546,7 +30953,8 @@ { "id": 1762424304, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatThinking", "field_category": 1, @@ -29574,7 +30982,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -29583,7 +30992,8 @@ { "id": 1762423978, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatThinking", "field_category": 1, @@ -29611,7 +31021,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -29620,7 +31031,8 @@ { "id": 1762424182, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatThinking", "field_category": 1, @@ -29648,7 +31060,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -29657,7 +31070,8 @@ { "id": 1762424258, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatThinking", "field_category": 1, @@ -29685,7 +31099,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -29694,7 +31109,8 @@ { "id": 1762424242, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatThinking", "field_category": 1, @@ -29711,7 +31127,7 @@ "create_time": "2025-11-06 10:17:22", "update_time": "2025-11-06 10:17:22", "event_output": null, - "custom_field_type": "", + "custom_field_type": null, "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -29722,7 +31138,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -29731,7 +31148,8 @@ { "id": 1762424352, "platform_framework": [ - "64" + "64", + "128" ], "component": "ChatThinking", "field_category": 2, @@ -29757,7 +31175,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -29768,7 +31187,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 1, @@ -29800,7 +31220,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -29891,7 +31312,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 1, @@ -29921,7 +31343,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -29979,7 +31402,8 @@ { "id": 1712653187, "platform_framework": [ - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 1, @@ -30010,7 +31434,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -30067,7 +31492,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 1, @@ -30099,7 +31525,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -30147,7 +31574,8 @@ { "id": 3132, "platform_framework": [ - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 1, @@ -30177,7 +31605,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -30190,7 +31619,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 1, @@ -30220,7 +31650,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -30233,7 +31664,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 1, @@ -30265,7 +31697,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -30356,7 +31789,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 1, @@ -30386,7 +31820,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -30464,6 +31899,39 @@ ], "field_type_text": [] }, + { + "id": 1762454771, + "platform_framework": [ + "128" + ], + "component": "CheckTag", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "状态切换时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { checked: boolean })", + "create_time": "2025-11-06 18:46:11", + "update_time": "2025-11-06 18:46:11", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 420, "platform_framework": [ @@ -30482,7 +31950,7 @@ "field_desc_zh": "点击标签时触发", "field_desc_en": null, "field_required": 0, - "event_input": "(context: { e: MouseEvent })", + "event_input": "(e: MouseEvent)", "create_time": "2020-12-22 15:09:28", "update_time": "2021-12-22 10:24:55", "event_output": null, @@ -30505,10 +31973,44 @@ ], "field_type_text": [] }, + { + "id": 1762454807, + "platform_framework": [ + "128" + ], + "component": "CheckTag", + "field_category": 2, + "field_name": "click", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击标签时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 18:46:47", + "update_time": "2025-11-06 18:46:47", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "MouseEvent", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1712054335, "platform_framework": [ - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 2, @@ -30534,7 +32036,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -30576,7 +32079,8 @@ { "id": 1712054145, "platform_framework": [ - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 128, @@ -30602,14 +32106,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759203336, "platform_framework": [ - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 512, @@ -30635,14 +32141,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759203386, "platform_framework": [ - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 512, @@ -30668,14 +32176,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759203403, "platform_framework": [ - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 512, @@ -30701,7 +32211,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -30940,7 +32451,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -30970,7 +32482,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -30981,7 +32494,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -31011,7 +32525,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -31024,7 +32539,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -31056,7 +32572,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -31107,6 +32624,43 @@ "Boolean" ] }, + { + "id": 1762403250, + "platform_framework": [ + "128" + ], + "component": "Checkbox", + "field_category": 1, + "field_name": "checked", + "field_type": [ + "4" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "是否选中", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 04:27:30", + "update_time": "2025-11-06 04:27:30", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": "v-model", + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 1, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Boolean" + ] + }, { "id": 1405, "platform_framework": [ @@ -31153,7 +32707,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -31184,7 +32739,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -31196,7 +32752,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -31226,7 +32783,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -31280,7 +32838,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -31312,7 +32871,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -31321,7 +32881,8 @@ { "id": 1409, "platform_framework": [ - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -31350,7 +32911,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -31407,7 +32969,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -31439,7 +33002,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -31452,7 +33016,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -31485,7 +33050,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -31536,7 +33102,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -31566,7 +33133,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -31577,7 +33145,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -31607,7 +33176,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -31620,7 +33190,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -31652,7 +33223,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -31663,7 +33235,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -31693,7 +33266,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -31706,7 +33280,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -31738,12 +33313,50 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" ] }, + { + "id": 1762356707, + "platform_framework": [ + "128" + ], + "component": "Checkbox", + "field_category": 1, + "field_name": "relationKey", + "field_type": [ + "1" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "-1 时代表独立,不再寻找 parent,用于头条小程序", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-05 15:31:47", + "update_time": "2025-11-05 15:31:47", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "String" + ] + }, { "id": 1707208468, "platform_framework": [ @@ -31790,7 +33403,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -31824,7 +33438,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -31935,6 +33550,39 @@ ], "field_type_text": [] }, + { + "id": 1762449652, + "platform_framework": [ + "128" + ], + "component": "Checkbox", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "值变化时触发。`context` 表示当前点击项内容", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { checked: boolean, context: { value: boolean|number|string, label: boolean|number|string }})", + "create_time": "2025-11-06 17:20:52", + "update_time": "2025-11-06 17:20:52", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 3258, "platform_framework": [ @@ -31971,7 +33619,8 @@ { "id": 1712024605, "platform_framework": [ - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 128, @@ -31997,14 +33646,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712024654, "platform_framework": [ - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 128, @@ -32030,14 +33681,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712024646, "platform_framework": [ - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 128, @@ -32063,14 +33716,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712024641, "platform_framework": [ - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 128, @@ -32096,14 +33751,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712024636, "platform_framework": [ - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 128, @@ -32129,14 +33786,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1760085356, "platform_framework": [ - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 512, @@ -32162,7 +33821,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -32171,7 +33831,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CheckboxGroup", "field_category": 1, @@ -32201,7 +33862,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -32214,7 +33876,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CheckboxGroup", "field_category": 1, @@ -32246,7 +33909,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -32257,7 +33921,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CheckboxGroup", "field_category": 1, @@ -32287,7 +33952,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -32339,7 +34005,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CheckboxGroup", "field_category": 1, @@ -32371,7 +34038,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -32384,7 +34052,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CheckboxGroup", "field_category": 1, @@ -32416,7 +34085,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -32468,7 +34138,8 @@ { "id": 1416, "platform_framework": [ - "64" + "64", + "128" ], "component": "CheckboxGroup", "field_category": 1, @@ -32496,7 +34167,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -32509,7 +34181,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CheckboxGroup", "field_category": 1, @@ -32541,12 +34214,50 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" ] }, + { + "id": 1762356728, + "platform_framework": [ + "128" + ], + "component": "CheckboxGroup", + "field_category": 1, + "field_name": "relationKey", + "field_type": [ + "1" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "-1 时代表独立,不再寻找 parent,用于头条小程序", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-05 15:32:08", + "update_time": "2025-11-05 15:32:08", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "String" + ] + }, { "id": 148, "platform_framework": [ @@ -32592,6 +34303,43 @@ "Array" ] }, + { + "id": 1762402636, + "platform_framework": [ + "128" + ], + "component": "CheckboxGroup", + "field_category": 1, + "field_name": "value", + "field_type": [ + "16" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "选中值", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 04:17:16", + "update_time": "2025-11-06 04:17:16", + "event_output": null, + "custom_field_type": "T【type CheckboxGroupValue = Array】", + "syntactic_sugar": "v-model", + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 1, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Array" + ] + }, { "id": 152, "platform_framework": [ @@ -32726,6 +34474,39 @@ ], "field_type_text": [] }, + { + "id": 1762449675, + "platform_framework": [ + "128" + ], + "component": "CheckboxGroup", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "值变化时触发。`context` 表示当前点击项内容", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: CheckboxGroupValue, context: { value: boolean|number|string, label: boolean|number|string }})", + "create_time": "2025-11-06 17:21:15", + "update_time": "2025-11-06 17:21:15", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 3340, "platform_framework": [ @@ -32733,7 +34514,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CheckboxGroup", "field_category": 64, @@ -32763,14 +34545,16 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1760085403, "platform_framework": [ - "64" + "64", + "128" ], "component": "CheckboxGroup", "field_category": 512, @@ -32796,7 +34580,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -32967,7 +34752,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Col", "field_category": 1, @@ -32998,7 +34784,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -33207,7 +34994,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Col", "field_category": 1, @@ -33238,7 +35026,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -33410,7 +35199,8 @@ { "id": 1760085916, "platform_framework": [ - "64" + "64", + "128" ], "component": "Col", "field_category": 512, @@ -33436,7 +35226,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -33525,7 +35316,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Collapse", "field_category": 1, @@ -33557,7 +35349,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -33570,7 +35363,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Collapse", "field_category": 1, @@ -33602,7 +35396,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -33656,7 +35451,8 @@ { "id": 3470, "platform_framework": [ - "64" + "64", + "128" ], "component": "Collapse", "field_category": 1, @@ -33684,7 +35480,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -33736,7 +35533,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Collapse", "field_category": 1, @@ -33768,7 +35566,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -33818,7 +35617,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Collapse", "field_category": 1, @@ -33848,7 +35648,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -33899,6 +35700,43 @@ "Array" ] }, + { + "id": 1762357065, + "platform_framework": [ + "128" + ], + "component": "Collapse", + "field_category": 1, + "field_name": "value", + "field_type": [ + "16" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "展开的面板集合", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-05 15:37:45", + "update_time": "2025-11-05 15:37:45", + "event_output": null, + "custom_field_type": "CollapseValue【type CollapseValue = Array】", + "syntactic_sugar": "v-model", + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 1, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Array" + ] + }, { "id": 1682, "platform_framework": [ @@ -33940,10 +35778,44 @@ ], "field_type_text": [] }, + { + "id": 1762454031, + "platform_framework": [ + "128" + ], + "component": "Collapse", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "切换面板时触发,返回变化的值", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: CollapseValue, context: { e: MouseEvent }})", + "create_time": "2025-11-06 18:33:51", + "update_time": "2025-11-06 18:33:51", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1759139739, "platform_framework": [ - "64" + "64", + "128" ], "component": "Collapse", "field_category": 512, @@ -33969,7 +35841,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -34021,7 +35894,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CollapsePanel", "field_category": 1, @@ -34054,7 +35928,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -34152,7 +36027,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CollapsePanel", "field_category": 1, @@ -34184,7 +36060,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -34197,7 +36074,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CollapsePanel", "field_category": 1, @@ -34230,7 +36108,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -34244,7 +36123,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CollapsePanel", "field_category": 1, @@ -34277,7 +36157,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -34287,7 +36168,8 @@ { "id": 1691047409, "platform_framework": [ - "64" + "64", + "128" ], "component": "CollapsePanel", "field_category": 1, @@ -34316,7 +36198,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -34369,7 +36252,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CollapsePanel", "field_category": 1, @@ -34402,7 +36286,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -34414,7 +36299,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CollapsePanel", "field_category": 1, @@ -34444,7 +36330,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -34457,7 +36344,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CollapsePanel", "field_category": 1, @@ -34490,7 +36378,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -34500,7 +36389,8 @@ { "id": 1712049645, "platform_framework": [ - "64" + "64", + "128" ], "component": "CollapsePanel", "field_category": 128, @@ -34526,14 +36416,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712049657, "platform_framework": [ - "64" + "64", + "128" ], "component": "CollapsePanel", "field_category": 128, @@ -34559,14 +36451,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712049668, "platform_framework": [ - "64" + "64", + "128" ], "component": "CollapsePanel", "field_category": 128, @@ -34592,14 +36486,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759140436, "platform_framework": [ - "64" + "64", + "128" ], "component": "CollapsePanel", "field_category": 512, @@ -34625,14 +36521,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1730970180, "platform_framework": [ - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -34660,7 +36558,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -34876,7 +36775,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -34908,7 +36808,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -34964,7 +36865,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -34994,7 +36896,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -35003,7 +36906,8 @@ { "id": 1732704565, "platform_framework": [ - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -35031,7 +36935,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -35044,7 +36949,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -35076,7 +36982,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -35085,7 +36992,8 @@ { "id": 1732704577, "platform_framework": [ - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -35113,7 +37021,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -35200,7 +37109,8 @@ { "id": 1730984839, "platform_framework": [ - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -35228,7 +37138,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -35397,7 +37308,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -35429,7 +37341,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -35440,7 +37353,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -35470,7 +37384,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -35479,7 +37394,8 @@ { "id": 1730970213, "platform_framework": [ - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -35507,7 +37423,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -35557,7 +37474,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -35587,7 +37505,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -35596,7 +37515,8 @@ { "id": 1730970283, "platform_framework": [ - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -35624,7 +37544,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -35702,6 +37623,39 @@ ], "field_type_text": [] }, + { + "id": 1762451169, + "platform_framework": [ + "128" + ], + "component": "ColorPicker", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "选中的色值发生变化时触发,第一个参数 `value` 表示新色值,`context.color` 表示当前调色板控制器的色值,`context.trigger` 表示触发颜色变化的来源", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: string, context: { color: ColorObject; trigger: ColorPickerChangeTrigger }})【type ColorPickerChangeTrigger = 'palette-hue-bar' | 'palette-alpha-bar' | 'preset' 】", + "create_time": "2025-11-06 17:46:09", + "update_time": "2025-11-06 17:46:09", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1741675522, "platform_framework": [ @@ -35770,6 +37724,39 @@ ], "field_type_text": [] }, + { + "id": 1762451185, + "platform_framework": [ + "128" + ], + "component": "ColorPicker", + "field_category": 2, + "field_name": "close", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "关闭按钮时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { trigger: ColorPickerTrigger })【type ColorPickerTrigger = 'overlay'】", + "create_time": "2025-11-06 17:46:25", + "update_time": "2025-11-06 17:46:25", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 2125, "platform_framework": [ @@ -35842,6 +37829,39 @@ ], "field_type_text": [] }, + { + "id": 1762423762, + "platform_framework": [ + "128" + ], + "component": "ColorPicker", + "field_category": 2, + "field_name": "paletteBarChange", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "调色板控制器的值变化时触发,`context.color` 指调色板控制器的值", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { color: ColorObject })【interface ColorObject { alpha: number; css: string; hex: string; hex8: string; hsl: string; hsla: string; hsv: string; hsva: string; rgb: string; rgba: string; value: number;}】", + "create_time": "2025-11-06 10:09:22", + "update_time": "2025-11-06 10:09:22", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 2424, "platform_framework": [ @@ -36904,7 +38924,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CountDown", "field_category": 1, @@ -36934,7 +38955,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -36984,7 +39006,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CountDown", "field_category": 1, @@ -37015,7 +39038,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -37027,7 +39051,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CountDown", "field_category": 1, @@ -37057,7 +39082,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -37068,7 +39094,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CountDown", "field_category": 1, @@ -37098,7 +39125,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -37109,7 +39137,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CountDown", "field_category": 1, @@ -37139,7 +39168,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -37150,7 +39180,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CountDown", "field_category": 1, @@ -37180,7 +39211,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -37191,7 +39223,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CountDown", "field_category": 1, @@ -37221,7 +39254,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -37232,7 +39266,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CountDown", "field_category": 1, @@ -37262,7 +39297,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -37273,7 +39309,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CountDown", "field_category": 2, @@ -37301,7 +39338,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -37310,7 +39348,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CountDown", "field_category": 2, @@ -37338,14 +39377,16 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712049731, "platform_framework": [ - "64" + "64", + "128" ], "component": "CountDown", "field_category": 128, @@ -37371,14 +39412,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712050076, "platform_framework": [ - "64" + "64", + "128" ], "component": "CountDown", "field_category": 128, @@ -37404,14 +39447,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712050087, "platform_framework": [ - "64" + "64", + "128" ], "component": "CountDown", "field_category": 128, @@ -37437,14 +39482,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759140794, "platform_framework": [ - "64" + "64", + "128" ], "component": "CountDown", "field_category": 512, @@ -37470,7 +39517,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -41976,7 +44024,8 @@ "id": 1731046786, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -42005,7 +44054,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -42016,7 +44066,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -42046,7 +44097,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -42057,7 +44109,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -42087,7 +44140,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -42096,7 +44150,8 @@ { "id": 1710844467, "platform_framework": [ - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -42124,7 +44179,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -42135,7 +44191,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -42166,7 +44223,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -42178,7 +44236,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -42208,7 +44267,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -42219,7 +44279,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -42249,7 +44310,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -42297,7 +44359,8 @@ { "id": 1712579026, "platform_framework": [ - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -42325,7 +44388,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -42334,7 +44398,8 @@ { "id": 1740731296, "platform_framework": [ - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -42362,7 +44427,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -42372,7 +44438,8 @@ "id": 2509, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -42402,7 +44469,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -42489,10 +44557,50 @@ "Array" ] }, + { + "id": 1762490861, + "platform_framework": [ + "128" + ], + "component": "DateTimePicker", + "field_category": 1, + "field_name": "mode", + "field_type": [ + "1", + "16" + ], + "field_default_value": "'date'", + "field_enum": "", + "field_desc_zh": "year = 年;month = 年月;date = 年月日;hour = 年月日时; minute = 年月日时分;当类型为数组时,第一个值控制年月日,第二个值控制时分秒", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-07 04:47:41", + "update_time": "2025-11-07 04:47:41", + "event_output": null, + "custom_field_type": "DateTimePickerMode【type DateTimePickerMode = TimeModeValues | Array 】【type TimeModeValues = 'year' | 'month' | 'date' | 'hour' | 'minute' | 'second' | 'null'】", + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "String", + "Array" + ] + }, { "id": 1710844420, "platform_framework": [ - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -42520,7 +44628,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -42570,7 +44679,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -42600,7 +44710,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -42611,7 +44722,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -42642,7 +44754,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -42654,7 +44767,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -42684,7 +44798,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -42694,7 +44809,8 @@ "id": 1734, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -42723,7 +44839,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -42770,7 +44887,8 @@ "id": 1725285145, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -42799,7 +44917,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -42810,7 +44929,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -42841,7 +44961,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -42851,7 +44972,8 @@ { "id": 1522, "platform_framework": [ - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -42879,7 +45001,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -42923,7 +45046,8 @@ { "id": 2533, "platform_framework": [ - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 2, @@ -42949,7 +45073,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -43021,6 +45146,39 @@ ], "field_type_text": [] }, + { + "id": 1762450995, + "platform_framework": [ + "128" + ], + "component": "DateTimePicker", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "确认按钮点击时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: DateValue })", + "create_time": "2025-11-06 17:43:15", + "update_time": "2025-11-06 17:43:15", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 3354, "platform_framework": [ @@ -43056,12 +45214,43 @@ ], "field_type_text": [] }, + { + "id": 1762451014, + "platform_framework": [ + "128" + ], + "component": "DateTimePicker", + "field_category": 2, + "field_name": "close", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "关闭时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { trigger: DateTimePickerTriggerSource })【type DateTimePickerTriggerSource = 'overlay' | 'cancel-btn' | 'confirm-btn'】", + "create_time": "2025-11-06 17:43:34", + "update_time": "2025-11-06 17:43:34", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"1.0.1\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1761300877, "platform_framework": [ - "8", - "16", - "64" + "128" ], "component": "DateTimePicker", "field_category": 2, @@ -43072,7 +45261,7 @@ "field_desc_zh": "确认按钮点击时触发", "field_desc_en": null, "field_required": 0, - "event_input": "(value: DateValue)", + "event_input": "(context: { value: DateValue })", "create_time": "2025-10-24 10:14:37", "update_time": "2025-10-24 10:14:37", "event_output": null, @@ -43087,9 +45276,7 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Vue(Mobile)", - "React(Mobile)", - "Miniprogram" + "UniApp" ], "field_type_text": [] }, @@ -43161,10 +45348,44 @@ ], "field_type_text": [] }, + { + "id": 1762451045, + "platform_framework": [ + "128" + ], + "component": "DateTimePicker", + "field_category": 2, + "field_name": "pick", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "选中值发生变化时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: DateValue })", + "create_time": "2025-11-06 17:44:05", + "update_time": "2025-11-06 17:44:05", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1712025091, "platform_framework": [ - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 128, @@ -43190,14 +45411,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712025120, "platform_framework": [ - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 128, @@ -43223,14 +45446,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712025115, "platform_framework": [ - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 128, @@ -43256,14 +45481,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712025124, "platform_framework": [ - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 128, @@ -43289,7 +45516,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -43687,7 +45915,8 @@ "id": 1526, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 1, @@ -43716,7 +45945,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -43726,7 +45956,8 @@ "id": 1528, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 1, @@ -43755,7 +45986,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -43765,7 +45997,8 @@ "id": 1576, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 1, @@ -43796,7 +46029,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object", @@ -43808,7 +46042,8 @@ "id": 1577, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 1, @@ -43837,7 +46072,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -43847,7 +46083,8 @@ "id": 1586, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 1, @@ -43876,7 +46113,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -43886,7 +46124,8 @@ "id": 1585, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 1, @@ -43915,7 +46154,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -43925,7 +46165,8 @@ "id": 1735, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 1, @@ -43954,7 +46195,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -43964,7 +46206,8 @@ "id": 1533, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 1, @@ -43993,7 +46236,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -44003,7 +46247,8 @@ "id": 1523, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 1, @@ -44032,7 +46277,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -44042,7 +46288,8 @@ "id": 1535, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 2, @@ -44069,7 +46316,8 @@ "field_category_text": "Events", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -44077,7 +46325,8 @@ "id": 1580, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 2, @@ -44104,7 +46353,8 @@ "field_category_text": "Events", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -44112,7 +46362,8 @@ "id": 1536, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 2, @@ -44139,7 +46390,8 @@ "field_category_text": "Events", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -44147,7 +46399,8 @@ "id": 1534, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 2, @@ -44174,7 +46427,8 @@ "field_category_text": "Events", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -44813,7 +47067,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -44844,7 +47099,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array", @@ -44938,7 +47194,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -44968,7 +47225,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -45020,7 +47278,8 @@ { "id": 3197, "platform_framework": [ - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -45050,7 +47309,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -45186,7 +47446,8 @@ { "id": 3408, "platform_framework": [ - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -45215,7 +47476,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -45344,7 +47606,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -45374,7 +47637,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -45426,7 +47690,8 @@ { "id": 3198, "platform_framework": [ - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -45456,7 +47721,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -45590,7 +47856,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -45621,7 +47888,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -45992,7 +48260,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -46022,7 +48291,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -46072,7 +48342,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -46102,7 +48373,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -46154,7 +48426,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -46186,7 +48459,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -46238,7 +48512,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -46270,7 +48545,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -46361,7 +48637,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -46392,7 +48669,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -46445,7 +48723,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -46475,7 +48754,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -46484,7 +48764,8 @@ { "id": 1719908441, "platform_framework": [ - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -46512,7 +48793,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -46525,7 +48807,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -46557,7 +48840,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -46654,7 +48938,8 @@ { "id": 3133, "platform_framework": [ - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -46682,12 +48967,46 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" ] }, + { + "id": 1762446761, + "platform_framework": [ + "128" + ], + "component": "Dialog", + "field_category": 2, + "field_name": "action", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击多按钮中的其中一个时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { index: number })", + "create_time": "2025-11-06 16:32:41", + "update_time": "2025-11-06 16:32:41", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "MouseEvent", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1731453332, "platform_framework": [ @@ -46830,6 +49149,72 @@ ], "field_type_text": [] }, + { + "id": 1762423956, + "platform_framework": [ + "8" + ], + "component": "Dialog", + "field_category": 2, + "field_name": "cancel", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "如果“取消”按钮存在,则点击“取消”按钮时触发,同时触发关闭事件", + "field_desc_en": null, + "field_required": 0, + "event_input": "(e: MouseEvent)", + "create_time": "2025-11-06 10:12:36", + "update_time": "2025-11-06 10:12:36", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "MouseEvent", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "Vue(Mobile)" + ], + "field_type_text": [] + }, + { + "id": 1762446506, + "platform_framework": [ + "128" + ], + "component": "Dialog", + "field_category": 2, + "field_name": "cancel", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "如果“取消”按钮存在,则点击“取消”按钮时触发,同时触发关闭事件", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { e: MouseEvent })", + "create_time": "2025-11-06 16:28:26", + "update_time": "2025-11-06 16:28:26", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "MouseEvent", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 72, "platform_framework": [ @@ -46933,6 +49318,39 @@ ], "field_type_text": [] }, + { + "id": 1762446532, + "platform_framework": [ + "128" + ], + "component": "Dialog", + "field_category": 2, + "field_name": "close", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "关闭事件,点击 取消按钮 或 点击蒙层 时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { trigger: DialogEventSource })【type DialogEventSource = 'cancel' | 'overlay' | 'close-btn'】", + "create_time": "2025-11-06 16:28:52", + "update_time": "2025-11-06 16:28:52", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "MouseEvent", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 65, "platform_framework": [ @@ -47047,7 +49465,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 2, @@ -47075,7 +49494,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -47190,10 +49610,44 @@ ], "field_type_text": [] }, + { + "id": 1762423979, + "platform_framework": [ + "128" + ], + "component": "Dialog", + "field_category": 2, + "field_name": "overlayClick", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "如果蒙层存在,点击蒙层时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { e: MouseEvent })", + "create_time": "2025-11-06 10:12:59", + "update_time": "2025-11-06 10:12:59", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1712055083, "platform_framework": [ - "64" + "64", + "128" ], "component": "Dialog", "field_category": 128, @@ -47219,14 +49673,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712055131, "platform_framework": [ - "64" + "64", + "128" ], "component": "Dialog", "field_category": 128, @@ -47252,14 +49708,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712055126, "platform_framework": [ - "64" + "64", + "128" ], "component": "Dialog", "field_category": 128, @@ -47285,14 +49743,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712055121, "platform_framework": [ - "64" + "64", + "128" ], "component": "Dialog", "field_category": 128, @@ -47318,14 +49778,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712055104, "platform_framework": [ - "64" + "64", + "128" ], "component": "Dialog", "field_category": 128, @@ -47351,14 +49813,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1761308802, "platform_framework": [ - "64" + "64", + "128" ], "component": "Dialog", "field_category": 512, @@ -47384,14 +49848,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1761308223, "platform_framework": [ - "64" + "64", + "128" ], "component": "Dialog", "field_category": 512, @@ -47417,7 +49883,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -48483,7 +50950,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Divider", "field_category": 1, @@ -48515,7 +50983,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -48569,7 +51038,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Divider", "field_category": 1, @@ -48602,7 +51072,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -48616,7 +51087,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Divider", "field_category": 1, @@ -48648,7 +51120,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -48702,7 +51175,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Divider", "field_category": 1, @@ -48734,7 +51208,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -48825,7 +51300,8 @@ { "id": 1711969012, "platform_framework": [ - "64" + "64", + "128" ], "component": "Divider", "field_category": 128, @@ -48851,14 +51327,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711969030, "platform_framework": [ - "64" + "64", + "128" ], "component": "Divider", "field_category": 128, @@ -48884,7 +51362,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -49182,7 +51661,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Drawer", "field_category": 1, @@ -49212,7 +51692,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -49307,7 +51788,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Drawer", "field_category": 1, @@ -49339,7 +51821,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -49430,7 +51913,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Drawer", "field_category": 1, @@ -49460,7 +51944,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -49588,7 +52073,8 @@ { "id": 3350, "platform_framework": [ - "64" + "64", + "128" ], "component": "Drawer", "field_category": 1, @@ -49616,7 +52102,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -49705,7 +52192,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Drawer", "field_category": 1, @@ -49735,7 +52223,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -49785,7 +52274,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Drawer", "field_category": 1, @@ -49815,7 +52305,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -49906,7 +52397,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Drawer", "field_category": 1, @@ -49938,7 +52430,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -50029,7 +52522,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Drawer", "field_category": 1, @@ -50060,7 +52554,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -50070,7 +52565,8 @@ { "id": 1719908453, "platform_framework": [ - "64" + "64", + "128" ], "component": "Drawer", "field_category": 1, @@ -50098,7 +52594,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -50149,6 +52646,43 @@ "Boolean" ] }, + { + "id": 1762448117, + "platform_framework": [ + "128" + ], + "component": "Drawer", + "field_category": 1, + "field_name": "visible", + "field_type": [ + "4" + ], + "field_default_value": "false", + "field_enum": "", + "field_desc_zh": "组件是否可见。支持语法糖 `v-model:visible`", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 16:55:17", + "update_time": "2025-11-06 16:55:17", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": "", + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Boolean" + ] + }, { "id": 690, "platform_framework": [ @@ -50195,7 +52729,8 @@ { "id": 3135, "platform_framework": [ - "64" + "64", + "128" ], "component": "Drawer", "field_category": 1, @@ -50223,7 +52758,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -50406,6 +52942,39 @@ ], "field_type_text": [] }, + { + "id": 1762445557, + "platform_framework": [ + "128" + ], + "component": "Drawer", + "field_category": 2, + "field_name": "close", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "关闭时触发。", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { trigger: DrawerTriggerSource })【type DrawerTriggerSource = 'overlay'】", + "create_time": "2025-11-06 16:12:37", + "update_time": "2025-11-06 16:12:37", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 700, "platform_framework": [ @@ -50618,6 +53187,39 @@ ], "field_type_text": [] }, + { + "id": 1762362490, + "platform_framework": [ + "128" + ], + "component": "Drawer", + "field_category": 2, + "field_name": "itemClick", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击抽屉里的列表项", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { index: number; item: DrawerItem })", + "create_time": "2025-11-05 17:08:10", + "update_time": "2025-11-05 17:08:10", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1754230138, "platform_framework": [ @@ -50695,7 +53297,8 @@ { "id": 2544, "platform_framework": [ - "64" + "64", + "128" ], "component": "Drawer", "field_category": 2, @@ -50721,7 +53324,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -50760,10 +53364,44 @@ ], "field_type_text": [] }, + { + "id": 1762448240, + "platform_framework": [ + "128" + ], + "component": "Drawer", + "field_category": 2, + "field_name": "update:visible", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "更新可见性", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { visible: boolean })", + "create_time": "2025-11-06 16:57:20", + "update_time": "2025-11-06 16:57:20", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1760085602, "platform_framework": [ - "64" + "64", + "128" ], "component": "Drawer", "field_category": 512, @@ -50789,7 +53427,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -51974,7 +54613,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 1, @@ -52006,7 +54646,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -52056,7 +54697,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 1, @@ -52086,7 +54728,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -52097,7 +54740,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 1, @@ -52127,7 +54771,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -52138,7 +54783,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 1, @@ -52168,7 +54814,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -52179,7 +54826,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 1, @@ -52209,7 +54857,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -52220,7 +54869,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 1, @@ -52250,7 +54900,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -52261,7 +54912,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 1, @@ -52292,7 +54944,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -52302,7 +54955,8 @@ { "id": 1704, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 1, @@ -52330,7 +54984,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -52341,7 +54996,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 1, @@ -52371,7 +55027,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -52503,7 +55160,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 1, @@ -52535,7 +55193,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -52650,6 +55309,39 @@ ], "field_type_text": [] }, + { + "id": 1762447473, + "platform_framework": [ + "128" + ], + "component": "DropdownItem", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "值改变时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: DropdownValue })", + "create_time": "2025-11-06 16:44:33", + "update_time": "2025-11-06 16:44:33", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 758, "platform_framework": [ @@ -52688,7 +55380,8 @@ { "id": 1712056353, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 2, @@ -52714,7 +55407,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -52755,6 +55449,39 @@ ], "field_type_text": [] }, + { + "id": 1762447448, + "platform_framework": [ + "128" + ], + "component": "DropdownItem", + "field_category": 2, + "field_name": "confirm", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击确认时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: DropdownValue })", + "create_time": "2025-11-06 16:44:08", + "update_time": "2025-11-06 16:44:08", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 3495, "platform_framework": [ @@ -52793,7 +55520,8 @@ { "id": 1712056340, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 2, @@ -52819,14 +55547,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712056427, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 128, @@ -52852,14 +55582,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712056460, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 128, @@ -52885,14 +55617,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712056465, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 128, @@ -52918,14 +55652,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712056470, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 128, @@ -52951,14 +55687,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712056454, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 128, @@ -52984,14 +55722,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712056476, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 128, @@ -53017,14 +55757,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759214633, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 512, @@ -53050,14 +55792,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1690896981, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownMenu", "field_category": 1, @@ -53086,7 +55830,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -53098,7 +55843,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownMenu", "field_category": 1, @@ -53128,7 +55874,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -53178,7 +55925,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownMenu", "field_category": 1, @@ -53209,7 +55957,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -53221,7 +55970,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownMenu", "field_category": 1, @@ -53251,7 +56001,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -53262,7 +56013,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownMenu", "field_category": 1, @@ -53292,7 +56044,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -53301,7 +56054,8 @@ { "id": 1712055913, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownMenu", "field_category": 2, @@ -53327,14 +56081,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712055867, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownMenu", "field_category": 2, @@ -53360,14 +56116,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712055236, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownMenu", "field_category": 128, @@ -53393,14 +56151,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712055221, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownMenu", "field_category": 128, @@ -53426,14 +56186,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712055230, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownMenu", "field_category": 128, @@ -53459,14 +56221,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712055225, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownMenu", "field_category": 128, @@ -53492,14 +56256,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759214561, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownMenu", "field_category": 512, @@ -53525,7 +56291,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -53614,7 +56381,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Empty", "field_category": 1, @@ -53646,7 +56414,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -53659,7 +56428,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Empty", "field_category": 1, @@ -53692,7 +56462,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -53702,7 +56473,8 @@ { "id": 1809, "platform_framework": [ - "64" + "64", + "128" ], "component": "Empty", "field_category": 1, @@ -53731,7 +56503,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -53825,7 +56598,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Empty", "field_category": 1, @@ -53856,7 +56630,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -54024,7 +56799,8 @@ { "id": 1712050270, "platform_framework": [ - "64" + "64", + "128" ], "component": "Empty", "field_category": 128, @@ -54050,14 +56826,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712050244, "platform_framework": [ - "64" + "64", + "128" ], "component": "Empty", "field_category": 128, @@ -54083,14 +56861,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712050210, "platform_framework": [ - "64" + "64", + "128" ], "component": "Empty", "field_category": 128, @@ -54116,7 +56896,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -55024,7 +57805,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Fab", "field_category": 1, @@ -55054,7 +57836,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -55065,7 +57848,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Fab", "field_category": 1, @@ -55096,7 +57880,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -55145,7 +57930,8 @@ { "id": 2501, "platform_framework": [ - "64" + "64", + "128" ], "component": "Fab", "field_category": 1, @@ -55173,7 +57959,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -55182,7 +57969,8 @@ { "id": 2503, "platform_framework": [ - "64" + "64", + "128" ], "component": "Fab", "field_category": 1, @@ -55210,7 +57998,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -55260,7 +58049,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Fab", "field_category": 1, @@ -55290,7 +58080,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -55299,7 +58090,8 @@ { "id": 1719908461, "platform_framework": [ - "64" + "64", + "128" ], "component": "Fab", "field_category": 1, @@ -55327,7 +58119,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -55338,7 +58131,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Fab", "field_category": 1, @@ -55368,7 +58162,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -55377,7 +58172,8 @@ { "id": 2505, "platform_framework": [ - "64" + "64", + "128" ], "component": "Fab", "field_category": 2, @@ -55403,7 +58199,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -55447,7 +58244,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Fab", "field_category": 2, @@ -55475,7 +58273,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -55484,7 +58283,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Fab", "field_category": 2, @@ -55512,14 +58312,16 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1760085630, "platform_framework": [ - "64" + "64", + "128" ], "component": "Fab", "field_category": 512, @@ -55545,14 +58347,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1602, "platform_framework": [ - "64" + "64", + "128" ], "component": "Footer", "field_category": 1, @@ -55580,7 +58384,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -55628,7 +58433,8 @@ { "id": 3401, "platform_framework": [ - "64" + "64", + "128" ], "component": "Footer", "field_category": 1, @@ -55656,7 +58462,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -55743,7 +58550,8 @@ { "id": 1712565039, "platform_framework": [ - "64" + "64", + "128" ], "component": "Footer", "field_category": 1, @@ -55771,7 +58579,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -55782,7 +58591,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Footer", "field_category": 1, @@ -55812,7 +58622,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -55821,7 +58632,8 @@ { "id": 1603, "platform_framework": [ - "64" + "64", + "128" ], "component": "Footer", "field_category": 1, @@ -55849,7 +58661,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -55858,7 +58671,8 @@ { "id": 1601, "platform_framework": [ - "64" + "64", + "128" ], "component": "Footer", "field_category": 1, @@ -55886,7 +58700,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -55899,7 +58714,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -55931,7 +58747,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -55941,7 +58758,8 @@ "id": 1712574615, "platform_framework": [ "8", - "16" + "16", + "128" ], "component": "Form", "field_category": 1, @@ -55970,7 +58788,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "React(Mobile)" + "React(Mobile)", + "UniApp" ], "field_type_text": [ "String" @@ -55981,7 +58800,8 @@ "platform_framework": [ "1", "8", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -56011,7 +58831,8 @@ "platform_framework_text": [ "Vue(PC)", "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -56024,7 +58845,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -56056,7 +58878,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -56069,7 +58892,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -56101,7 +58925,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -56270,7 +59095,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -56302,7 +59128,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -56354,7 +59181,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -56385,7 +59213,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -56481,7 +59310,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -56513,7 +59343,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -56526,7 +59357,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -56558,7 +59390,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -56571,7 +59404,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -56603,7 +59437,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -56616,7 +59451,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -56648,7 +59484,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -56661,7 +59498,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -56693,7 +59531,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -56706,7 +59545,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -56738,7 +59578,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -56751,7 +59592,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -56783,7 +59625,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -56837,7 +59680,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -56869,7 +59713,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -56919,7 +59764,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 2, @@ -56949,7 +59795,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -56960,7 +59807,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 2, @@ -56990,7 +59838,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -57000,7 +59849,8 @@ "1", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 2, @@ -57029,7 +59879,8 @@ "Vue(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -57075,7 +59926,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 4, @@ -57105,7 +59957,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -57264,7 +60117,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 4, @@ -57294,7 +60148,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -57379,7 +60234,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 4, @@ -57409,7 +60265,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -57420,7 +60277,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 4, @@ -57450,7 +60308,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -57461,7 +60320,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 4, @@ -57491,7 +60351,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -57541,7 +60402,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 64, @@ -57571,7 +60433,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -57754,7 +60617,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -57786,7 +60650,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -57799,7 +60664,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -57831,7 +60697,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -57844,7 +60711,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -57876,7 +60744,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -57889,7 +60758,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -57921,7 +60791,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -57934,7 +60805,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -57966,7 +60838,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -57979,7 +60852,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -58011,7 +60885,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -58024,7 +60899,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -58056,7 +60932,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -58069,7 +60946,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -58101,7 +60979,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -58114,7 +60993,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -58146,7 +61026,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -58159,7 +61040,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -58191,7 +61073,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -58204,7 +61087,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -58236,7 +61120,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -58249,7 +61134,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -58281,7 +61167,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -58294,7 +61181,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -58326,7 +61214,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -58339,7 +61228,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -58371,7 +61261,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -58382,7 +61273,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "FormItem", "field_category": 1, @@ -58412,7 +61304,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -58422,7 +61315,8 @@ "id": 1712574874, "platform_framework": [ "8", - "16" + "16", + "128" ], "component": "FormItem", "field_category": 1, @@ -58451,7 +61345,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "React(Mobile)" + "React(Mobile)", + "UniApp" ], "field_type_text": [ "String" @@ -58464,7 +61359,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormItem", "field_category": 1, @@ -58496,7 +61392,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -58509,7 +61406,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormItem", "field_category": 1, @@ -58542,7 +61440,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -58599,7 +61498,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormItem", "field_category": 1, @@ -58632,7 +61532,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -58646,7 +61547,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormItem", "field_category": 1, @@ -58678,7 +61580,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -58691,7 +61594,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormItem", "field_category": 1, @@ -58724,7 +61628,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -58736,7 +61641,8 @@ "platform_framework": [ "1", "8", - "64" + "64", + "128" ], "component": "FormItem", "field_category": 1, @@ -58766,7 +61672,8 @@ "platform_framework_text": [ "Vue(PC)", "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -58822,7 +61729,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormItem", "field_category": 1, @@ -58854,7 +61762,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -58905,6 +61814,88 @@ "Array" ] }, + { + "id": 1762453133, + "platform_framework": [ + "1", + "2", + "8", + "16", + "64" + ], + "component": "FormItem", + "field_category": 1, + "field_name": "rules", + "field_type": [ + "16" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "表单字段校验规则", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 18:18:53", + "update_time": "2025-11-06 18:18:53", + "event_output": null, + "custom_field_type": "Array【import { FormRule} from '@Form'】", + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "Vue(PC)", + "React(PC)", + "Vue(Mobile)", + "React(Mobile)", + "Miniprogram" + ], + "field_type_text": [ + "Array" + ] + }, + { + "id": 1762453164, + "platform_framework": [ + "128" + ], + "component": "FormItem", + "field_category": 1, + "field_name": "rules", + "field_type": [ + "16" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "表单字段校验规则", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 18:19:24", + "update_time": "2025-11-06 18:19:24", + "event_output": null, + "custom_field_type": "Array", + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Array" + ] + }, { "id": 3008, "platform_framework": [ @@ -58951,7 +61942,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormItem", "field_category": 1, @@ -58983,7 +61975,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -59347,7 +62340,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -59379,7 +62373,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -59392,7 +62387,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -59425,7 +62421,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -59479,6 +62476,45 @@ "Object" ] }, + { + "id": 1762452788, + "platform_framework": [ + "128" + ], + "component": "FormRule", + "field_category": 1, + "field_name": "email", + "field_type": [ + "4", + "8" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "内置校验方法,校验值是否为邮件格式,[参数文档](https://github.com/validatorjs/validator.js),示例:`{ email: { ignore_max_length: true }, message: '请输入正确的邮箱地址' }`", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 18:13:08", + "update_time": "2025-11-06 18:13:08", + "event_output": null, + "custom_field_type": "boolean | IsEmailOptions【import type { IsEmailOptions } from '../common/common'】", + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Boolean", + "Object" + ] + }, { "id": 282, "platform_framework": [ @@ -59486,7 +62522,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -59518,7 +62555,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -59531,7 +62569,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -59563,7 +62602,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -59576,7 +62616,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -59609,7 +62650,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number", @@ -59623,7 +62665,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -59656,7 +62699,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number", @@ -59670,7 +62714,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -59702,7 +62747,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -59715,7 +62761,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -59748,7 +62795,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number", @@ -59762,7 +62810,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -59794,7 +62843,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -59807,7 +62857,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -59840,7 +62891,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -59854,7 +62906,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -59886,7 +62939,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -59899,7 +62953,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -59931,7 +62986,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -59944,7 +63000,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -59976,7 +63033,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -59989,7 +63047,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -60021,7 +63080,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -60074,6 +63134,45 @@ "Object" ] }, + { + "id": 1762452769, + "platform_framework": [ + "128" + ], + "component": "FormRule", + "field_category": 1, + "field_name": "url", + "field_type": [ + "4", + "8" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "内置校验方法,校验值是否为网络链接地址,[参数文档](https://github.com/validatorjs/validator.js),示例:`{ url: { protocols: ['http','https','ftp'] }, message: '请输入正确的 Url 地址' }`", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 18:12:49", + "update_time": "2025-11-06 18:12:49", + "event_output": null, + "custom_field_type": "boolean | IsURLOptions【import type { IsURLOptions } from '../common/common'】", + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Boolean", + "Object" + ] + }, { "id": 269, "platform_framework": [ @@ -60081,7 +63180,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -60113,7 +63213,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -60126,7 +63227,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -60158,7 +63260,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -60495,7 +63598,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "GlobalConfigProvider", "field_category": 1, @@ -60527,7 +63631,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -61369,7 +64474,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "GlobalConfigProvider", "field_category": 1, @@ -61401,7 +64507,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -61892,7 +64999,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Grid", "field_category": 1, @@ -61922,7 +65030,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -61931,7 +65040,8 @@ { "id": 1778, "platform_framework": [ - "64" + "64", + "128" ], "component": "Grid", "field_category": 1, @@ -61960,7 +65070,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -62011,7 +65122,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Grid", "field_category": 1, @@ -62041,7 +65153,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -62052,7 +65165,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Grid", "field_category": 1, @@ -62082,7 +65196,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -62092,7 +65207,8 @@ "id": 1777, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "Grid", "field_category": 1, @@ -62121,7 +65237,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -62132,7 +65249,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Grid", "field_category": 1, @@ -62162,7 +65280,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -62171,7 +65290,8 @@ { "id": 1712050838, "platform_framework": [ - "64" + "64", + "128" ], "component": "Grid", "field_category": 128, @@ -62197,14 +65317,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759198100, "platform_framework": [ - "64" + "64", + "128" ], "component": "Grid", "field_category": 512, @@ -62230,7 +65352,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -62310,12 +65433,50 @@ "Object" ] }, + { + "id": 1762401753, + "platform_framework": [ + "128" + ], + "component": "GridItem", + "field_category": 1, + "field_name": "badgeProps", + "field_type": [ + "8" + ], + "field_default_value": "{}", + "field_enum": "", + "field_desc_zh": "透传至 Badge 属性", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 04:02:33", + "update_time": "2025-11-06 04:02:33", + "event_output": null, + "custom_field_type": "BadgeProps【import { BadgeProps } from '@Badge'】", + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Object" + ] + }, { "id": 1771, "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "GridItem", "field_category": 1, @@ -62346,7 +65507,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -62356,7 +65518,8 @@ { "id": 3189, "platform_framework": [ - "64" + "64", + "128" ], "component": "GridItem", "field_category": 1, @@ -62385,7 +65548,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -62432,7 +65596,8 @@ { "id": 1769, "platform_framework": [ - "64" + "64", + "128" ], "component": "GridItem", "field_category": 1, @@ -62461,7 +65626,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -62548,10 +65714,48 @@ "Object" ] }, + { + "id": 1762406722, + "platform_framework": [ + "128" + ], + "component": "GridItem", + "field_category": 1, + "field_name": "imageProps", + "field_type": [ + "8" + ], + "field_default_value": "{}", + "field_enum": "", + "field_desc_zh": "透传至 Image 组件", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 05:25:22", + "update_time": "2025-11-06 05:25:22", + "event_output": null, + "custom_field_type": "ImageProps【import { ImageProps } from '@Image'】", + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Object" + ] + }, { "id": 1780, "platform_framework": [ - "64" + "64", + "128" ], "component": "GridItem", "field_category": 1, @@ -62579,7 +65783,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -62590,7 +65795,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "GridItem", "field_category": 1, @@ -62620,7 +65826,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -62631,7 +65838,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "GridItem", "field_category": 1, @@ -62662,7 +65870,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -62672,7 +65881,8 @@ { "id": 1781, "platform_framework": [ - "64" + "64", + "128" ], "component": "GridItem", "field_category": 1, @@ -62700,7 +65910,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -62709,7 +65920,8 @@ { "id": 1761302509, "platform_framework": [ - "64" + "64", + "128" ], "component": "GridItem", "field_category": 2, @@ -62735,14 +65947,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712050904, "platform_framework": [ - "64" + "64", + "128" ], "component": "GridItem", "field_category": 128, @@ -62768,14 +65982,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712050926, "platform_framework": [ - "64" + "64", + "128" ], "component": "GridItem", "field_category": 128, @@ -62801,14 +66017,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712050942, "platform_framework": [ - "64" + "64", + "128" ], "component": "GridItem", "field_category": 128, @@ -62834,14 +66052,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712050932, "platform_framework": [ - "64" + "64", + "128" ], "component": "GridItem", "field_category": 128, @@ -62867,14 +66087,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712050937, "platform_framework": [ - "64" + "64", + "128" ], "component": "GridItem", "field_category": 128, @@ -62900,14 +66122,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759198395, "platform_framework": [ - "64" + "64", + "128" ], "component": "GridItem", "field_category": 512, @@ -62933,14 +66157,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1760520132, "platform_framework": [ - "64" + "64", + "128" ], "component": "GridItem", "field_category": 512, @@ -62966,14 +66192,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1760520176, "platform_framework": [ - "64" + "64", + "128" ], "component": "GridItem", "field_category": 512, @@ -62999,14 +66227,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1760520202, "platform_framework": [ - "64" + "64", + "128" ], "component": "GridItem", "field_category": 512, @@ -63032,7 +66262,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -63041,7 +66272,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -63071,7 +66303,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -63119,7 +66352,8 @@ { "id": 1736410690, "platform_framework": [ - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -63148,7 +66382,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -63162,7 +66397,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -63194,7 +66430,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -63207,7 +66444,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -63239,7 +66477,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -63250,7 +66489,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -63280,7 +66520,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -63293,7 +66534,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -63325,7 +66567,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -63377,7 +66620,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -63409,7 +66653,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -63461,7 +66706,8 @@ { "id": 1721620852, "platform_framework": [ - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -63489,7 +66735,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -63539,7 +66786,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -63569,7 +66817,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -63582,7 +66831,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -63614,7 +66864,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -63666,7 +66917,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -63698,7 +66950,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -63711,7 +66964,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -63743,7 +66997,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -63756,7 +67011,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -63788,7 +67044,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -63797,7 +67054,8 @@ { "id": 1721621026, "platform_framework": [ - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -63825,7 +67083,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -63838,7 +67097,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -63870,7 +67130,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -63881,7 +67142,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 2, @@ -63909,7 +67171,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -63920,7 +67183,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 2, @@ -63950,7 +67214,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -63961,7 +67226,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 2, @@ -63991,7 +67257,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -64002,7 +67269,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 2, @@ -64032,7 +67300,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -64078,7 +67347,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 2, @@ -64108,14 +67378,16 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1721621122, "platform_framework": [ - "64" + "64", + "128" ], "component": "Guide", "field_category": 128, @@ -64141,14 +67413,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1721621135, "platform_framework": [ - "64" + "64", + "128" ], "component": "Guide", "field_category": 128, @@ -64174,14 +67448,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1721621146, "platform_framework": [ - "64" + "64", + "128" ], "component": "Guide", "field_category": 128, @@ -64207,14 +67483,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1721621157, "platform_framework": [ - "64" + "64", + "128" ], "component": "Guide", "field_category": 128, @@ -64240,14 +67518,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1721621166, "platform_framework": [ - "64" + "64", + "128" ], "component": "Guide", "field_category": 128, @@ -64273,14 +67553,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1721621177, "platform_framework": [ - "64" + "64", + "128" ], "component": "Guide", "field_category": 128, @@ -64306,14 +67588,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1721621188, "platform_framework": [ - "64" + "64", + "128" ], "component": "Guide", "field_category": 128, @@ -64339,14 +67623,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1721621198, "platform_framework": [ - "64" + "64", + "128" ], "component": "Guide", "field_category": 128, @@ -64372,14 +67658,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1721621210, "platform_framework": [ - "64" + "64", + "128" ], "component": "Guide", "field_category": 128, @@ -64405,14 +67693,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1721621223, "platform_framework": [ - "64" + "64", + "128" ], "component": "Guide", "field_category": 128, @@ -64438,14 +67728,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1721621241, "platform_framework": [ - "64" + "64", + "128" ], "component": "Guide", "field_category": 128, @@ -64471,7 +67763,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -64791,7 +68084,8 @@ "id": 1708481323, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -64820,7 +68114,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -64872,7 +68167,8 @@ { "id": 1721621362, "platform_framework": [ - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -64900,7 +68196,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -65032,7 +68329,8 @@ { "id": 1721621525, "platform_framework": [ - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -65060,7 +68358,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -65069,7 +68368,8 @@ { "id": 1721621588, "platform_framework": [ - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -65097,7 +68397,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -65223,7 +68524,8 @@ { "id": 1721621705, "platform_framework": [ - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -65251,7 +68553,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -65300,7 +68603,8 @@ "id": 1709178151, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -65329,7 +68633,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -65341,7 +68646,8 @@ "1", "2", "8", - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -65372,7 +68678,8 @@ "Vue(PC)", "React(PC)", "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -65422,7 +68729,8 @@ { "id": 1721621784, "platform_framework": [ - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -65450,7 +68758,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -65499,7 +68808,8 @@ "id": 1709197181, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -65528,7 +68838,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -65655,7 +68966,8 @@ "1", "2", "8", - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -65686,7 +68998,8 @@ "Vue(PC)", "React(PC)", "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -65698,7 +69011,8 @@ "1", "2", "8", - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -65729,7 +69043,8 @@ "Vue(PC)", "React(PC)", "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -65820,7 +69135,8 @@ { "id": 1721621896, "platform_framework": [ - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -65848,7 +69164,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -66202,7 +69519,8 @@ { "id": 1691, "platform_framework": [ - "64" + "64", + "128" ], "component": "Icon", "field_category": 1, @@ -66230,7 +69548,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -66239,7 +69558,8 @@ { "id": 1688, "platform_framework": [ - "64" + "64", + "128" ], "component": "Icon", "field_category": 1, @@ -66267,7 +69587,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -66276,7 +69597,8 @@ { "id": 2085, "platform_framework": [ - "64" + "64", + "128" ], "component": "Icon", "field_category": 1, @@ -66304,7 +69626,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -66349,10 +69672,50 @@ "Number" ] }, + { + "id": 1762314479, + "platform_framework": [ + "128" + ], + "component": "Icon", + "field_category": 1, + "field_name": "size", + "field_type": [ + "1", + "2" + ], + "field_default_value": "''", + "field_enum": "", + "field_desc_zh": "图标大小, 如 `20`, `20px`, `48rpx`, 默认单位是 `px`", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-05 03:47:59", + "update_time": "2025-11-05 03:47:59", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "String", + "Number" + ] + }, { "id": 1761301048, "platform_framework": [ - "64" + "64", + "128" ], "component": "Icon", "field_category": 2, @@ -66378,14 +69741,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711969401, "platform_framework": [ - "64" + "64", + "128" ], "component": "Icon", "field_category": 128, @@ -66414,7 +69779,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -66979,7 +70345,8 @@ { "id": 2419, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -67007,7 +70374,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -67016,7 +70384,8 @@ { "id": 1451, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -67044,7 +70413,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -67174,7 +70544,8 @@ { "id": 2421, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -67203,7 +70574,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -67338,7 +70710,8 @@ { "id": 3403, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -67367,7 +70740,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -67381,7 +70755,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -67413,7 +70788,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -67467,7 +70843,8 @@ { "id": 2420, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -67496,7 +70873,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -67506,7 +70884,8 @@ { "id": 1712052337, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -67534,7 +70913,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -67754,7 +71134,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -67786,7 +71167,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -67795,7 +71177,8 @@ { "id": 3124, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -67823,7 +71206,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -67875,7 +71259,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -67905,7 +71290,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -67957,7 +71343,8 @@ { "id": 1711960430, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -67985,7 +71372,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -67994,7 +71382,8 @@ { "id": 3404, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -68022,7 +71411,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -68031,7 +71421,8 @@ { "id": 3405, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -68060,7 +71451,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -68074,7 +71466,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Image", "field_category": 2, @@ -68104,7 +71497,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -68115,7 +71509,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Image", "field_category": 2, @@ -68145,14 +71540,16 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712052382, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 128, @@ -68178,14 +71575,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712052395, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 128, @@ -68211,14 +71610,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1760519299, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 512, @@ -68244,14 +71645,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1760519330, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 512, @@ -68277,7 +71680,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -68288,7 +71692,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "ImageConfig", "field_category": 1, @@ -68320,7 +71725,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -68333,7 +71739,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "ImageConfig", "field_category": 1, @@ -68365,7 +71772,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -68378,7 +71786,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "ImageConfig", "field_category": 1, @@ -68410,7 +71819,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -68460,7 +71870,8 @@ { "id": 2605, "platform_framework": [ - "64" + "64", + "128" ], "component": "ImageViewer", "field_category": 1, @@ -68488,7 +71899,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -68542,7 +71954,8 @@ { "id": 3472, "platform_framework": [ - "64" + "64", + "128" ], "component": "ImageViewer", "field_category": 1, @@ -68573,7 +71986,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -68663,7 +72077,8 @@ { "id": 3125, "platform_framework": [ - "64" + "64", + "128" ], "component": "ImageViewer", "field_category": 1, @@ -68694,7 +72109,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -68864,7 +72280,8 @@ { "id": 2601, "platform_framework": [ - "64" + "64", + "128" ], "component": "ImageViewer", "field_category": 1, @@ -68892,7 +72309,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -69057,7 +72475,8 @@ { "id": 2802, "platform_framework": [ - "64" + "64", + "128" ], "component": "ImageViewer", "field_category": 1, @@ -69085,7 +72504,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -69094,7 +72514,8 @@ { "id": 1748404966, "platform_framework": [ - "64" + "64", + "128" ], "component": "ImageViewer", "field_category": 1, @@ -69122,7 +72543,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -69252,7 +72674,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "ImageViewer", "field_category": 1, @@ -69282,7 +72705,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -69412,7 +72836,8 @@ { "id": 3473, "platform_framework": [ - "64" + "64", + "128" ], "component": "ImageViewer", "field_category": 1, @@ -69440,7 +72865,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -69492,7 +72918,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "ImageViewer", "field_category": 1, @@ -69524,7 +72951,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -69602,6 +73030,39 @@ ], "field_type_text": [] }, + { + "id": 1762454377, + "platform_framework": [ + "128" + ], + "component": "ImageViewer", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "翻页时回调", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { index: number })", + "create_time": "2025-11-06 18:39:37", + "update_time": "2025-11-06 18:39:37", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 2712, "platform_framework": [ @@ -69705,6 +73166,39 @@ ], "field_type_text": [] }, + { + "id": 1762454394, + "platform_framework": [ + "128" + ], + "component": "ImageViewer", + "field_category": 2, + "field_name": "close", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击操作按钮button或者overlay时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { trigger: 'overlay' | 'button', visible: Boolean, index: Number })", + "create_time": "2025-11-06 18:39:54", + "update_time": "2025-11-06 18:39:54", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 3407, "platform_framework": [ @@ -69742,6 +73236,39 @@ ], "field_type_text": [] }, + { + "id": 1762454411, + "platform_framework": [ + "128" + ], + "component": "ImageViewer", + "field_category": 2, + "field_name": "delete", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击删除操作按钮时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { index: number })", + "create_time": "2025-11-06 18:40:11", + "update_time": "2025-11-06 18:40:11", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1740567887, "platform_framework": [ @@ -69850,7 +73377,8 @@ { "id": 1759199178, "platform_framework": [ - "64" + "64", + "128" ], "component": "ImageViewer", "field_category": 512, @@ -69876,14 +73404,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759199206, "platform_framework": [ - "64" + "64", + "128" ], "component": "ImageViewer", "field_category": 512, @@ -69909,7 +73439,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -70074,7 +73605,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Indexes", "field_category": 1, @@ -70105,7 +73637,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -70117,7 +73650,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Indexes", "field_category": 1, @@ -70147,7 +73681,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -70157,7 +73692,8 @@ "id": 1458, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Indexes", "field_category": 1, @@ -70186,7 +73722,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -70197,7 +73734,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Indexes", "field_category": 1, @@ -70227,7 +73765,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -70238,7 +73777,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Indexes", "field_category": 1, @@ -70268,7 +73808,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -70277,6 +73818,8 @@ { "id": 1761301156, "platform_framework": [ + "1", + "2", "8", "16", "64" @@ -70305,12 +73848,47 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ + "Vue(PC)", + "React(PC)", "Vue(Mobile)", "React(Mobile)", "Miniprogram" ], "field_type_text": [] }, + { + "id": 1762444910, + "platform_framework": [ + "128" + ], + "component": "Indexes", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "索引发生变更时触发事件", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { index: string | number })", + "create_time": "2025-11-06 16:01:50", + "update_time": "2025-11-06 16:01:50", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"0.34.0\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1761301170, "platform_framework": [ @@ -70348,10 +73926,44 @@ ], "field_type_text": [] }, + { + "id": 1762444930, + "platform_framework": [ + "128" + ], + "component": "Indexes", + "field_category": 2, + "field_name": "select", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击侧边栏时触发事件", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { index: string | number })", + "create_time": "2025-11-06 16:02:10", + "update_time": "2025-11-06 16:02:10", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1760085666, "platform_framework": [ - "64" + "64", + "128" ], "component": "Indexes", "field_category": 512, @@ -70377,7 +73989,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -70386,7 +73999,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "IndexesAnchor", "field_category": 1, @@ -70417,7 +74031,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -70427,7 +74042,8 @@ { "id": 1711972926, "platform_framework": [ - "64" + "64", + "128" ], "component": "IndexesAnchor", "field_category": 128, @@ -70453,14 +74069,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711972955, "platform_framework": [ - "64" + "64", + "128" ], "component": "IndexesAnchor", "field_category": 128, @@ -70486,14 +74104,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711972960, "platform_framework": [ - "64" + "64", + "128" ], "component": "IndexesAnchor", "field_category": 128, @@ -70519,14 +74139,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1760085682, "platform_framework": [ - "64" + "64", + "128" ], "component": "IndexesAnchor", "field_category": 512, @@ -70552,14 +74174,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 2670, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70587,7 +74211,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -70596,7 +74221,8 @@ { "id": 2669, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70624,7 +74250,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -70633,7 +74260,8 @@ { "id": 1712027041, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70661,7 +74289,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -70674,7 +74303,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70706,7 +74336,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -70719,7 +74350,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70751,7 +74383,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -70760,7 +74393,8 @@ { "id": 1712026816, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70788,7 +74422,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -70797,7 +74432,8 @@ { "id": 1712026485, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70825,7 +74461,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -70963,7 +74600,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70995,7 +74633,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -71006,7 +74645,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -71036,7 +74676,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -71088,7 +74729,8 @@ { "id": 1712579780, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -71117,7 +74759,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -71127,7 +74770,8 @@ { "id": 1712026829, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -71155,7 +74799,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -71164,7 +74809,8 @@ { "id": 1712026588, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -71192,7 +74838,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -71213,7 +74860,7 @@ "field_enum": "", "field_desc_zh": "指定 focus 时的光标位置", "field_desc_en": null, - "field_required": 1, + "field_required": 0, "event_input": "", "create_time": "2024-04-02 03:01:37", "update_time": "2024-04-02 03:01:37", @@ -71235,10 +74882,48 @@ "Number" ] }, + { + "id": 1762412985, + "platform_framework": [ + "128" + ], + "component": "Input", + "field_category": 1, + "field_name": "cursor", + "field_type": [ + "2" + ], + "field_default_value": "-1", + "field_enum": "", + "field_desc_zh": "指定 focus 时的光标位置", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 07:09:45", + "update_time": "2025-11-06 07:09:45", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Number" + ] + }, { "id": 1729500769, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -71266,7 +74951,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -71314,7 +75000,8 @@ { "id": 1712026462, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -71342,7 +75029,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -71355,7 +75043,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -71387,7 +75076,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -71436,7 +75126,8 @@ "id": 1710, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -71465,7 +75156,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -71476,7 +75168,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -71506,7 +75199,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -71515,7 +75209,8 @@ { "id": 1712026549, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -71543,7 +75238,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -71593,7 +75289,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -71623,7 +75320,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -71632,7 +75330,8 @@ { "id": 1712027060, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -71660,7 +75359,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -71716,7 +75416,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -71749,7 +75450,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -71761,7 +75463,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -71791,7 +75494,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -71804,7 +75508,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -71836,7 +75541,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -71890,7 +75596,8 @@ { "id": 1712579914, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -71918,7 +75625,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -71970,7 +75678,8 @@ { "id": 1712026279, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -71998,7 +75707,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -72011,7 +75721,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -72043,7 +75754,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -72052,7 +75764,8 @@ { "id": 1712026378, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -72080,7 +75793,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -72123,6 +75837,43 @@ "String" ] }, + { + "id": 1762412872, + "platform_framework": [ + "128" + ], + "component": "Input", + "field_category": 1, + "field_name": "placeholderStyle", + "field_type": [ + "1" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "指定 placeholder 的样式", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 07:07:52", + "update_time": "2025-11-06 07:07:52", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "String" + ] + }, { "id": 743, "platform_framework": [ @@ -72169,7 +75920,8 @@ { "id": 2052, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -72199,7 +75951,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -72214,7 +75967,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -72246,7 +76000,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -72255,7 +76010,8 @@ { "id": 1712027133, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -72283,7 +76039,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -72292,7 +76049,8 @@ { "id": 1712027232, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -72320,7 +76078,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -72329,7 +76088,8 @@ { "id": 1712027153, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -72357,7 +76117,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -72366,7 +76127,8 @@ { "id": 1712027186, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -72394,7 +76156,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -72403,7 +76166,8 @@ { "id": 1712027200, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -72431,7 +76195,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -72440,7 +76205,8 @@ { "id": 1712027168, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -72468,7 +76234,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -72477,7 +76244,8 @@ { "id": 1712026971, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -72505,7 +76273,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -72514,7 +76283,8 @@ { "id": 1712026955, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -72542,7 +76312,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -72669,7 +76440,8 @@ "id": 1713, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -72698,7 +76470,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -72826,7 +76599,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -72858,7 +76632,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -72871,7 +76646,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -72904,7 +76680,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -72957,7 +76734,8 @@ { "id": 1711, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -72987,7 +76765,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -73002,7 +76781,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -73035,7 +76815,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -73084,7 +76865,8 @@ { "id": 1712026101, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -73112,7 +76894,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -73242,7 +77025,8 @@ { "id": 1712649530, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -73271,7 +77055,8 @@ "support_default_value": 1, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -73381,6 +77166,39 @@ ], "field_type_text": [] }, + { + "id": 1762448721, + "platform_framework": [ + "128" + ], + "component": "Input", + "field_category": 2, + "field_name": "blur", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "失去焦点时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: InputValue })", + "create_time": "2025-11-06 17:05:21", + "update_time": "2025-11-06 17:05:21", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "FocusEvent", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 754, "platform_framework": [ @@ -73484,6 +77302,39 @@ ], "field_type_text": [] }, + { + "id": 1762448686, + "platform_framework": [ + "128" + ], + "component": "Input", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "输入框值发生变化时触发;cursor 为光标位置;", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: InputValue, cursor: number, keyCode: number })", + "create_time": "2025-11-06 17:04:46", + "update_time": "2025-11-06 17:04:46", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 821, "platform_framework": [ @@ -73522,7 +77373,8 @@ { "id": 2541, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 2, @@ -73548,7 +77400,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -73655,6 +77508,72 @@ ], "field_type_text": [] }, + { + "id": 1762448600, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 2, + "field_name": "click", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击事件。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/input/type.ts)。
`type InputTrigger = 'suffix' | 'suffix-icon';`
", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { trigger: InputTrigger })", + "create_time": "2025-11-06 17:03:20", + "update_time": "2025-11-06 17:03:20", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"0.32.0\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1762448620, + "platform_framework": [ + "128" + ], + "component": "Input", + "field_category": 2, + "field_name": "click", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击事件。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/input/type.ts)。", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { trigger: InputTrigger })【type InputTrigger = 'suffix' | 'suffix-icon'】", + "create_time": "2025-11-06 17:03:40", + "update_time": "2025-11-06 17:03:40", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"0.32.0\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 2281, "platform_framework": [ @@ -73793,6 +77712,39 @@ ], "field_type_text": [] }, + { + "id": 1762448878, + "platform_framework": [ + "128" + ], + "component": "Input", + "field_category": 2, + "field_name": "enter", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "回车键按下时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: InputValue })", + "create_time": "2025-11-06 17:07:58", + "update_time": "2025-11-06 17:07:58", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "KeyboardEvent", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 755, "platform_framework": [ @@ -73896,6 +77848,39 @@ ], "field_type_text": [] }, + { + "id": 1762448900, + "platform_framework": [ + "128" + ], + "component": "Input", + "field_category": 2, + "field_name": "focus", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "获得焦点时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: InputValue })", + "create_time": "2025-11-06 17:08:20", + "update_time": "2025-11-06 17:08:20", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "FocusEvent", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 3383, "platform_framework": [ @@ -73929,6 +77914,39 @@ ], "field_type_text": [] }, + { + "id": 1762448924, + "platform_framework": [ + "128" + ], + "component": "Input", + "field_category": 2, + "field_name": "keyboardheightchange", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "键盘高度发生变化的时候触发此事件", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { height: number, duration: number })", + "create_time": "2025-11-06 17:08:44", + "update_time": "2025-11-06 17:08:44", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 818, "platform_framework": [ @@ -74137,6 +78155,39 @@ ], "field_type_text": [] }, + { + "id": 1762448946, + "platform_framework": [ + "128" + ], + "component": "Input", + "field_category": 2, + "field_name": "nicknamereview", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "用户昵称审核完毕后触发,仅在 type 为 \"nickname\" 时有效", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { pass: boolean, timeout: boolean })", + "create_time": "2025-11-06 17:09:06", + "update_time": "2025-11-06 17:09:06", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 2116, "platform_framework": [ @@ -74179,7 +78230,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 2, @@ -74209,7 +78261,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -74286,7 +78339,8 @@ { "id": 1712473155, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 128, @@ -74312,14 +78366,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712473182, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 128, @@ -74345,14 +78401,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712473174, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 128, @@ -74378,14 +78436,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712473169, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 128, @@ -74411,14 +78471,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712473164, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 128, @@ -74444,14 +78506,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712473187, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 128, @@ -74477,14 +78541,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712473193, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 128, @@ -74510,14 +78576,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712473199, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 128, @@ -74543,14 +78611,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1760085774, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 512, @@ -74576,14 +78646,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1760085808, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 512, @@ -74609,14 +78681,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1760085837, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 512, @@ -74642,7 +78716,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -74811,7 +78886,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "InputConfig", "field_category": 1, @@ -74843,7 +78919,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -76127,7 +80204,8 @@ { "id": 3367, "platform_framework": [ - "64" + "64", + "128" ], "component": "Link", "field_category": 1, @@ -76156,7 +80234,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -76250,7 +80329,8 @@ { "id": 1712650024, "platform_framework": [ - "64" + "64", + "128" ], "component": "Link", "field_category": 1, @@ -76278,7 +80358,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -76369,7 +80450,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Link", "field_category": 1, @@ -76399,7 +80481,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -76485,6 +80568,43 @@ "Object" ] }, + { + "id": 1762412022, + "platform_framework": [ + "128" + ], + "component": "Link", + "field_category": 1, + "field_name": "navigatorProps", + "field_type": [ + "8" + ], + "field_default_value": "{}", + "field_enum": "", + "field_desc_zh": "与 navigator 原生组件属性保持一致,具体使用参考:[微信开放文档](https://developers.weixin.qq.com/miniprogram/dev/component/navigator.html)。使用时请将形如 `open-type` 风格的属性名改为 `openType` 风格", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 06:53:42", + "update_time": "2025-11-06 06:53:42", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Object" + ] + }, { "id": 2897, "platform_framework": [ @@ -76531,7 +80651,8 @@ { "id": 3371, "platform_framework": [ - "64" + "64", + "128" ], "component": "Link", "field_category": 1, @@ -76561,7 +80682,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -76576,7 +80698,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Link", "field_category": 1, @@ -76608,7 +80731,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -76617,7 +80741,8 @@ { "id": 1711969735, "platform_framework": [ - "64" + "64", + "128" ], "component": "Link", "field_category": 1, @@ -76645,7 +80770,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -76697,7 +80823,8 @@ { "id": 1712916560, "platform_framework": [ - "64" + "64", + "128" ], "component": "Link", "field_category": 1, @@ -76727,7 +80854,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -76785,7 +80913,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Link", "field_category": 1, @@ -76817,7 +80946,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -76829,7 +80959,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Link", "field_category": 1, @@ -76860,7 +80991,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -76945,7 +81077,8 @@ { "id": 1761301096, "platform_framework": [ - "64" + "64", + "128" ], "component": "Link", "field_category": 2, @@ -76971,14 +81104,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1761301108, "platform_framework": [ - "64" + "64", + "128" ], "component": "Link", "field_category": 2, @@ -77004,14 +81139,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 3375, "platform_framework": [ - "64" + "64", + "128" ], "component": "Link", "field_category": 2, @@ -77037,14 +81174,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711969962, "platform_framework": [ - "64" + "64", + "128" ], "component": "Link", "field_category": 128, @@ -77070,14 +81209,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711970091, "platform_framework": [ - "64" + "64", + "128" ], "component": "Link", "field_category": 128, @@ -77103,14 +81244,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711970044, "platform_framework": [ - "64" + "64", + "128" ], "component": "Link", "field_category": 128, @@ -77136,14 +81279,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711970084, "platform_framework": [ - "64" + "64", + "128" ], "component": "Link", "field_category": 128, @@ -77169,14 +81314,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711970097, "platform_framework": [ - "64" + "64", + "128" ], "component": "Link", "field_category": 128, @@ -77202,14 +81349,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759059499, "platform_framework": [ - "64" + "64", + "128" ], "component": "Link", "field_category": 512, @@ -77237,7 +81386,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -77250,7 +81400,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "List", "field_category": 1, @@ -77283,7 +81434,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -77297,7 +81449,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "List", "field_category": 1, @@ -77330,7 +81483,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -77344,7 +81498,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "List", "field_category": 1, @@ -77377,7 +81532,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -77998,7 +82154,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "ListItem", "field_category": 1, @@ -78030,7 +82187,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -78082,7 +82240,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "ListItem", "field_category": 1, @@ -78114,7 +82273,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -78501,7 +82661,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -78533,7 +82694,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -78544,7 +82706,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -78574,7 +82737,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -78587,7 +82751,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -78619,7 +82784,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -78632,7 +82798,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -78665,7 +82832,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -78679,7 +82847,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -78711,7 +82880,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -78722,7 +82892,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -78752,7 +82923,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -78765,7 +82937,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -78797,7 +82970,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -78808,7 +82982,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -78838,7 +83013,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -78888,7 +83064,8 @@ { "id": 1712056744, "platform_framework": [ - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -78916,7 +83093,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -78927,7 +83105,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -78957,7 +83136,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -79046,7 +83226,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -79076,7 +83257,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -79089,7 +83271,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -79122,7 +83305,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -79170,6 +83354,43 @@ "String" ] }, + { + "id": 1762521034, + "platform_framework": [ + "128" + ], + "component": "Loading", + "field_category": 1, + "field_name": "theme", + "field_type": [ + "1" + ], + "field_default_value": "circular", + "field_enum": "circular/spinner/dots/custom", + "field_desc_zh": "加载组件类型", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-07 13:10:34", + "update_time": "2025-11-07 13:10:34", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "String" + ] + }, { "id": 1251, "platform_framework": [ @@ -79212,7 +83433,8 @@ { "id": 1712056666, "platform_framework": [ - "64" + "64", + "128" ], "component": "Loading", "field_category": 128, @@ -79238,14 +83460,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712056689, "platform_framework": [ - "64" + "64", + "128" ], "component": "Loading", "field_category": 128, @@ -79271,14 +83495,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712056683, "platform_framework": [ - "64" + "64", + "128" ], "component": "Loading", "field_category": 128, @@ -79304,14 +83530,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759214967, "platform_framework": [ - "64" + "64", + "128" ], "component": "Loading", "field_category": 512, @@ -79337,7 +83565,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -80352,7 +84581,8 @@ { "id": 1450, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -80381,7 +84611,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -80393,7 +84624,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -80423,7 +84655,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -80479,7 +84712,8 @@ { "id": 3409, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -80510,7 +84744,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -80526,7 +84761,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -80559,7 +84795,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -80573,7 +84810,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -80605,7 +84843,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -80615,7 +84854,8 @@ "id": 1725334222, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -80646,7 +84886,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -80702,7 +84943,8 @@ { "id": 1400, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -80733,7 +84975,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -80747,7 +84990,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -80779,7 +85023,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -80792,7 +85037,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -80823,7 +85069,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -80833,7 +85080,8 @@ { "id": 1449, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -80861,7 +85109,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -80910,7 +85159,8 @@ "id": 1725334169, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -80939,7 +85189,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -80989,7 +85240,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -81019,7 +85271,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -81030,7 +85283,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -81060,7 +85314,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -81108,7 +85363,8 @@ { "id": 3136, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -81136,7 +85392,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -81145,7 +85402,8 @@ { "id": 1399, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 2, @@ -81171,7 +85429,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -81293,7 +85552,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Message", "field_category": 2, @@ -81323,7 +85583,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -81371,7 +85632,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Message", "field_category": 2, @@ -81401,7 +85663,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -81410,7 +85673,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Message", "field_category": 2, @@ -81438,7 +85702,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -81519,7 +85784,8 @@ { "id": 1712057171, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 128, @@ -81545,14 +85811,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712057208, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 128, @@ -81578,14 +85846,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712057193, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 128, @@ -81611,14 +85881,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712057198, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 128, @@ -81644,14 +85916,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712057203, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 128, @@ -81677,14 +85951,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759215134, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 512, @@ -81710,14 +85986,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759215151, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 512, @@ -81743,14 +86021,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759215212, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 512, @@ -81776,14 +86056,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759215173, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 512, @@ -81809,14 +86091,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759215192, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 512, @@ -81842,7 +86126,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -82157,7 +86442,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -82187,7 +86473,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -82197,7 +86484,8 @@ "id": 1624, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -82226,7 +86514,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -82237,7 +86526,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -82267,7 +86557,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -82276,7 +86567,8 @@ { "id": 1627, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -82304,7 +86596,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -82315,7 +86608,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -82345,7 +86639,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -82354,7 +86649,8 @@ { "id": 1626, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -82382,7 +86678,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -82430,7 +86727,8 @@ { "id": 3377, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -82458,7 +86756,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -82506,7 +86805,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -82536,7 +86836,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -82545,7 +86846,8 @@ { "id": 1625, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -82573,7 +86875,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -82660,7 +86963,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -82690,7 +86994,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -82701,7 +87006,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -82732,7 +87038,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -82744,7 +87051,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -82774,7 +87082,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -82785,7 +87094,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -82815,7 +87125,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -82824,7 +87135,8 @@ { "id": 1648, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 2, @@ -82850,14 +87162,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1647, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 2, @@ -82883,14 +87197,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1649, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 2, @@ -82916,14 +87232,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1650, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 2, @@ -82949,7 +87267,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -83088,7 +87407,8 @@ { "id": 1646, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 2, @@ -83114,14 +87434,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711973180, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 128, @@ -83147,14 +87469,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711973213, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 128, @@ -83180,14 +87504,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711973196, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 128, @@ -83213,14 +87539,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711973208, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 128, @@ -83246,14 +87574,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711973190, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 128, @@ -83279,14 +87609,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711973200, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 128, @@ -83312,14 +87644,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711973218, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 128, @@ -83345,14 +87679,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711973186, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 128, @@ -83378,7 +87714,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -83387,7 +87724,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 1, @@ -83419,7 +87757,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -83432,7 +87771,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 1, @@ -83462,7 +87802,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -83472,7 +87813,8 @@ "id": 1712057349, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 1, @@ -83501,7 +87843,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -83510,7 +87853,8 @@ { "id": 1394, "platform_framework": [ - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 1, @@ -83539,7 +87883,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -83592,7 +87937,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 1, @@ -83623,7 +87969,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -83670,7 +88017,8 @@ { "id": 2610, "platform_framework": [ - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 1, @@ -83701,7 +88049,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -83791,7 +88140,8 @@ { "id": 2608, "platform_framework": [ - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 1, @@ -83821,7 +88171,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -83834,7 +88185,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 1, @@ -83864,7 +88216,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -83875,7 +88228,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 1, @@ -83905,7 +88259,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -83979,6 +88334,39 @@ ], "field_type_text": [] }, + { + "id": 1762447115, + "platform_framework": [ + "128" + ], + "component": "NoticeBar", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "当 `direction=\"vertical\"` 时轮播切换时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { current: number, source: '' | 'autoplay' | 'touch' })", + "create_time": "2025-11-06 16:38:35", + "update_time": "2025-11-06 16:38:35", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1108, "platform_framework": [ @@ -84016,10 +88404,44 @@ ], "field_type_text": [] }, + { + "id": 1762447097, + "platform_framework": [ + "128" + ], + "component": "NoticeBar", + "field_category": 2, + "field_name": "click", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击事件", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { trigger: NoticeBarTrigger })【type NoticeBarTrigger = 'prefix-icon' | 'content' | 'operation' | 'suffix-icon';】", + "create_time": "2025-11-06 16:38:17", + "update_time": "2025-11-06 16:38:17", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1712057672, "platform_framework": [ - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 128, @@ -84045,14 +88467,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712057692, "platform_framework": [ - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 128, @@ -84078,14 +88502,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712057703, "platform_framework": [ - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 128, @@ -84111,14 +88537,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712057698, "platform_framework": [ - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 128, @@ -84144,14 +88572,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712057708, "platform_framework": [ - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 128, @@ -84177,14 +88607,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759215434, "platform_framework": [ - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 512, @@ -84210,14 +88642,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759215447, "platform_framework": [ - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 512, @@ -84243,14 +88677,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759215465, "platform_framework": [ - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 512, @@ -84276,7 +88712,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -85344,7 +89781,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Overlay", "field_category": 1, @@ -85374,7 +89812,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -85494,7 +89933,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Overlay", "field_category": 1, @@ -85524,7 +89964,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -85534,7 +89975,8 @@ "id": 2811, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Overlay", "field_category": 1, @@ -85563,7 +90005,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -85609,7 +90052,8 @@ { "id": 1719908470, "platform_framework": [ - "64" + "64", + "128" ], "component": "Overlay", "field_category": 1, @@ -85637,7 +90081,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -85648,7 +90093,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Overlay", "field_category": 1, @@ -85678,7 +90124,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -85726,7 +90173,8 @@ { "id": 3415, "platform_framework": [ - "64" + "64", + "128" ], "component": "Overlay", "field_category": 1, @@ -85754,7 +90202,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -85828,6 +90277,39 @@ ], "field_type_text": [] }, + { + "id": 1762446022, + "platform_framework": [ + "128" + ], + "component": "Overlay", + "field_category": 2, + "field_name": "click", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击遮罩时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { visible: boolean })", + "create_time": "2025-11-06 16:20:22", + "update_time": "2025-11-06 16:20:22", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1746694169, "platform_framework": [ @@ -85971,7 +90453,8 @@ { "id": 1759215712, "platform_framework": [ - "64" + "64", + "128" ], "component": "Overlay", "field_category": 512, @@ -85997,7 +90480,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -87400,7 +91884,8 @@ { "id": 2834, "platform_framework": [ - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -87428,7 +91913,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -87439,7 +91925,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -87470,7 +91957,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -87523,7 +92011,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -87554,7 +92043,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -87566,7 +92056,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -87596,7 +92087,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -87640,7 +92132,8 @@ { "id": 3476, "platform_framework": [ - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -87669,7 +92162,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -87718,7 +92212,8 @@ { "id": 1720094053, "platform_framework": [ - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -87746,7 +92241,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -87755,7 +92251,8 @@ { "id": 3475, "platform_framework": [ - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -87783,7 +92280,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -87870,7 +92368,8 @@ { "id": 1710843688, "platform_framework": [ - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -87898,7 +92397,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -87989,7 +92489,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -88019,7 +92520,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -88028,7 +92530,8 @@ { "id": 1719909526, "platform_framework": [ - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -88056,7 +92559,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -88065,7 +92569,8 @@ { "id": 1719908481, "platform_framework": [ - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -88093,7 +92598,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -88104,7 +92610,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -88134,7 +92641,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -88179,6 +92687,43 @@ "Boolean" ] }, + { + "id": 1763391121, + "platform_framework": [ + "128" + ], + "component": "Picker", + "field_category": 1, + "field_name": "visible", + "field_type": [ + "4" + ], + "field_default_value": "false", + "field_enum": "", + "field_desc_zh": "是否显示。支持语法糖 `v-model:visible`", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-17 14:52:01", + "update_time": "2025-11-17 14:52:01", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Boolean" + ] + }, { "id": 1762917807, "platform_framework": [ @@ -88257,6 +92802,43 @@ "String" ] }, + { + "id": 1762450350, + "platform_framework": [ + "128" + ], + "component": "Picker", + "field_category": 2, + "field_name": "cancel", + "field_type": [ + "1" + ], + "field_default_value": "取消", + "field_enum": "", + "field_desc_zh": "点击取消按钮时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 17:32:30", + "update_time": "2025-11-06 17:32:30", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "MouseEvent", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "String" + ] + }, { "id": 1477, "platform_framework": [ @@ -88333,6 +92915,43 @@ "String" ] }, + { + "id": 1762450377, + "platform_framework": [ + "128" + ], + "component": "Picker", + "field_category": 2, + "field_name": "change", + "field_type": [ + "1" + ], + "field_default_value": "取消", + "field_enum": "", + "field_desc_zh": "选中变化时候触发,即确认变化时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: Array, label: string, columns: Array<{ column: number; index: number; disabled?: boolean; }> })", + "create_time": "2025-11-06 17:32:57", + "update_time": "2025-11-06 17:32:57", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "String" + ] + }, { "id": 3353, "platform_framework": [ @@ -88366,6 +92985,39 @@ ], "field_type_text": [] }, + { + "id": 1762450395, + "platform_framework": [ + "128" + ], + "component": "Picker", + "field_category": 2, + "field_name": "close", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "关闭时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { trigger: TriggerSource })【type TriggerSource = 'overlay' | 'cancel-btn' | 'confirm-btn'】", + "create_time": "2025-11-06 17:33:15", + "update_time": "2025-11-06 17:33:15", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"1.0.1\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 2728, "platform_framework": [ @@ -88442,6 +93094,43 @@ "String" ] }, + { + "id": 1762450413, + "platform_framework": [ + "128" + ], + "component": "Picker", + "field_category": 2, + "field_name": "confirm", + "field_type": [ + "1" + ], + "field_default_value": "取消", + "field_enum": "", + "field_desc_zh": "点击确认按钮时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: Array, label: string, columns: Array<{ column: number; index: number; disabled?: boolean; }> })", + "create_time": "2025-11-06 17:33:33", + "update_time": "2025-11-06 17:33:33", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "String" + ] + }, { "id": 1476, "platform_framework": [ @@ -88518,10 +93207,48 @@ "String" ] }, + { + "id": 1762450434, + "platform_framework": [ + "128" + ], + "component": "Picker", + "field_category": 2, + "field_name": "pick", + "field_type": [ + "1" + ], + "field_default_value": "取消", + "field_enum": "", + "field_desc_zh": "任何一列选中都会触发,不同的列参数不同。`column` 表示第几列变化,`index` 表示变化那一列的选中项下标", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: Array, label: string, column: number, index: number })", + "create_time": "2025-11-06 17:33:54", + "update_time": "2025-11-06 17:33:54", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "MouseEvent", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "String" + ] + }, { "id": 1760085971, "platform_framework": [ - "64" + "64", + "128" ], "component": "Picker", "field_category": 512, @@ -88547,14 +93274,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1760086010, "platform_framework": [ - "64" + "64", + "128" ], "component": "Picker", "field_category": 512, @@ -88580,7 +93309,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -88665,7 +93395,8 @@ { "id": 3267, "platform_framework": [ - "64" + "64", + "128" ], "component": "PickerItem", "field_category": 1, @@ -88693,7 +93424,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -88702,7 +93434,8 @@ { "id": 3268, "platform_framework": [ - "64" + "64", + "128" ], "component": "PickerItem", "field_category": 1, @@ -88730,7 +93463,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -88739,7 +93473,8 @@ { "id": 1760086147, "platform_framework": [ - "64" + "64", + "128" ], "component": "PickerItem", "field_category": 512, @@ -88765,7 +93500,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -90026,7 +94762,8 @@ { "id": 1300, "platform_framework": [ - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -90055,7 +94792,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -90108,7 +94846,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -90138,7 +94877,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -90149,7 +94889,8 @@ "platform_framework": [ "1", "2", - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -90180,7 +94921,8 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -90389,7 +95131,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -90419,7 +95162,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -90631,7 +95375,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -90661,7 +95406,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -90754,7 +95500,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -90784,7 +95531,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -90867,7 +95615,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -90897,7 +95646,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -90947,7 +95697,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -90977,7 +95728,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -91136,7 +95888,8 @@ { "id": 1719908487, "platform_framework": [ - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -91164,7 +95917,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -91177,7 +95931,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -91209,7 +95964,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -91261,7 +96017,8 @@ { "id": 3137, "platform_framework": [ - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -91289,7 +96046,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -91636,6 +96394,43 @@ "Function" ] }, + { + "id": 1762445928, + "platform_framework": [ + "128" + ], + "component": "Popup", + "field_category": 2, + "field_name": "visibleChange", + "field_type": [ + "32" + ], + "field_default_value": "false", + "field_enum": "", + "field_desc_zh": "当浮层隐藏或显示时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { visible: boolean, trigger: PopupSource }) 【type PopupSource = 'close-btn' | 'overlay'】", + "create_time": "2025-11-06 16:18:48", + "update_time": "2025-11-06 16:18:48", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Function" + ] + }, { "id": 1695463182, "platform_framework": [ @@ -91779,7 +96574,8 @@ { "id": 1712058201, "platform_framework": [ - "64" + "64", + "128" ], "component": "Popup", "field_category": 128, @@ -91805,14 +96601,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712058212, "platform_framework": [ - "64" + "64", + "128" ], "component": "Popup", "field_category": 128, @@ -91838,14 +96636,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759215938, "platform_framework": [ - "64" + "64", + "128" ], "component": "Popup", "field_category": 512, @@ -91871,7 +96671,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -94333,7 +99134,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Progress", "field_category": 1, @@ -94367,7 +99169,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -94382,7 +99185,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Progress", "field_category": 1, @@ -94416,7 +99220,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -94431,7 +99236,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Progress", "field_category": 1, @@ -94463,7 +99269,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -94515,7 +99322,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Progress", "field_category": 1, @@ -94546,7 +99354,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -94560,7 +99369,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Progress", "field_category": 1, @@ -94592,7 +99402,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -94646,7 +99457,8 @@ { "id": 1712650604, "platform_framework": [ - "64" + "64", + "128" ], "component": "Progress", "field_category": 1, @@ -94675,7 +99487,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -94689,7 +99502,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Progress", "field_category": 1, @@ -94721,7 +99535,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -94734,7 +99549,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Progress", "field_category": 1, @@ -94766,7 +99582,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -94775,7 +99592,8 @@ { "id": 1712052944, "platform_framework": [ - "64" + "64", + "128" ], "component": "Progress", "field_category": 128, @@ -94804,7 +99622,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -94814,7 +99633,8 @@ { "id": 1712052948, "platform_framework": [ - "64" + "64", + "128" ], "component": "Progress", "field_category": 128, @@ -94843,7 +99663,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -94853,7 +99674,8 @@ { "id": 1712052956, "platform_framework": [ - "64" + "64", + "128" ], "component": "Progress", "field_category": 128, @@ -94882,7 +99704,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -94892,7 +99715,8 @@ { "id": 1759199823, "platform_framework": [ - "64" + "64", + "128" ], "component": "Progress", "field_category": 512, @@ -94918,7 +99742,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -94927,7 +99752,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -94957,7 +99783,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -94966,7 +99793,8 @@ { "id": 3480, "platform_framework": [ - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -94994,7 +99822,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -95003,7 +99832,8 @@ { "id": 3481, "platform_framework": [ - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -95031,7 +99861,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -95040,7 +99871,8 @@ { "id": 1712058324, "platform_framework": [ - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -95068,7 +99900,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -95079,7 +99912,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -95110,7 +99944,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -95158,12 +99993,50 @@ "Object" ] }, + { + "id": 1762447891, + "platform_framework": [ + "128" + ], + "component": "PullDownRefresh", + "field_category": 1, + "field_name": "loadingProps", + "field_type": [ + "8" + ], + "field_default_value": "{}", + "field_enum": "", + "field_desc_zh": "加载loading样式", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 16:51:31", + "update_time": "2025-11-06 16:51:31", + "event_output": null, + "custom_field_type": "LoadingProps【import { LoadingProps } from '@Loading'】", + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Object" + ] + }, { "id": 1760, "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -95193,7 +100066,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -95202,7 +100076,8 @@ { "id": 3478, "platform_framework": [ - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -95231,7 +100106,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -95243,7 +100119,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -95274,7 +100151,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -95286,7 +100164,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -95316,7 +100195,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -95325,7 +100205,8 @@ { "id": 3479, "platform_framework": [ - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -95353,7 +100234,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -95362,7 +100244,8 @@ { "id": 3528, "platform_framework": [ - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -95390,7 +100273,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -95401,7 +100285,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -95432,7 +100317,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -95442,7 +100328,8 @@ { "id": 3477, "platform_framework": [ - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -95471,7 +100358,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -95481,7 +100369,8 @@ { "id": 1735092907, "platform_framework": [ - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -95509,7 +100398,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -95520,7 +100410,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -95550,7 +100441,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -95593,6 +100485,39 @@ ], "field_type_text": [] }, + { + "id": 1762447823, + "platform_framework": [ + "128" + ], + "component": "PullDownRefresh", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "下拉或收起时触发,用户手势往下滑动触发下拉状态,手势松开触发收起状态", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: boolean })", + "create_time": "2025-11-06 16:50:23", + "update_time": "2025-11-06 16:50:23", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1712058447, "platform_framework": [ @@ -95626,6 +100551,39 @@ ], "field_type_text": [] }, + { + "id": 1762447843, + "platform_framework": [ + "128" + ], + "component": "PullDownRefresh", + "field_category": 2, + "field_name": "dragend", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "滑动结束事件", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: TouchEvent)", + "create_time": "2025-11-06 16:50:43", + "update_time": "2025-11-06 16:50:43", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"1.2.10\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1712058436, "platform_framework": [ @@ -95659,6 +100617,39 @@ ], "field_type_text": [] }, + { + "id": 1762447857, + "platform_framework": [ + "128" + ], + "component": "PullDownRefresh", + "field_category": 2, + "field_name": "dragging", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "滑动事件", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: TouchEvent)", + "create_time": "2025-11-06 16:50:57", + "update_time": "2025-11-06 16:50:57", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"1.2.10\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1712058420, "platform_framework": [ @@ -95692,12 +100683,46 @@ ], "field_type_text": [] }, + { + "id": 1762447871, + "platform_framework": [ + "128" + ], + "component": "PullDownRefresh", + "field_category": 2, + "field_name": "dragstart", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "滑动开始事件", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: TouchEvent)", + "create_time": "2025-11-06 16:51:11", + "update_time": "2025-11-06 16:51:11", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"1.2.10\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1764, "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 2, @@ -95725,7 +100750,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -95734,7 +100760,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 2, @@ -95762,7 +100789,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -95771,7 +100799,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 2, @@ -95799,14 +100828,16 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712058496, "platform_framework": [ - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 128, @@ -95832,14 +100863,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712058523, "platform_framework": [ - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 128, @@ -95865,14 +100898,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712058513, "platform_framework": [ - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 128, @@ -95898,14 +100933,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712058518, "platform_framework": [ - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 128, @@ -95931,14 +100968,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759216042, "platform_framework": [ - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 512, @@ -95964,7 +101003,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -95973,7 +101013,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "PullDownRefreshConfig", "field_category": 1, @@ -96003,7 +101044,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -96016,7 +101058,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 1, @@ -96048,7 +101091,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -96061,7 +101105,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 1, @@ -96093,7 +101138,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -96106,7 +101152,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 1, @@ -96138,7 +101185,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -96151,7 +101199,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 1, @@ -96183,7 +101232,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -96196,7 +101246,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 1, @@ -96229,7 +101280,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number", @@ -96243,7 +101295,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 1, @@ -96275,7 +101328,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -96288,7 +101342,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 1, @@ -96320,7 +101375,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -96333,7 +101389,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 1, @@ -96365,7 +101422,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -96378,7 +101436,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 1, @@ -96410,12 +101469,50 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" ] }, + { + "id": 1762523882, + "platform_framework": [ + "128" + ], + "component": "QRCode", + "field_category": 1, + "field_name": "statusRender", + "field_type": [ + "4" + ], + "field_default_value": "false", + "field_enum": "", + "field_desc_zh": "是否启用自定义渲染", + "field_desc_en": "should use custom status slot", + "field_required": 0, + "event_input": "", + "create_time": "2025-11-07 13:58:02", + "update_time": "2025-11-07 13:58:02", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Boolean" + ] + }, { "id": 1749615337, "platform_framework": [ @@ -96466,7 +101563,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 1, @@ -96498,7 +101596,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -96511,7 +101610,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 2, @@ -96541,14 +101641,16 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759200062, "platform_framework": [ - "64" + "64", + "128" ], "component": "QRCode", "field_category": 512, @@ -96574,7 +101676,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -96585,7 +101688,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCodeConfig", "field_category": 1, @@ -96617,7 +101721,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -96630,7 +101735,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCodeConfig", "field_category": 1, @@ -96662,7 +101768,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -96675,7 +101782,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCodeConfig", "field_category": 1, @@ -96707,7 +101815,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -96757,7 +101866,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -96789,7 +101899,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -96800,7 +101911,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -96830,7 +101942,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -96882,7 +101995,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -96914,7 +102028,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -96999,7 +102114,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -97030,7 +102146,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -97041,7 +102158,8 @@ "id": 1418, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -97070,7 +102188,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -97200,7 +102319,8 @@ { "id": 1712650829, "platform_framework": [ - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -97228,7 +102348,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -97278,7 +102399,8 @@ { "id": 1421, "platform_framework": [ - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -97308,7 +102430,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -97323,7 +102446,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -97356,7 +102480,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -97368,7 +102493,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -97398,7 +102524,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -97409,7 +102536,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -97439,7 +102567,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -97452,7 +102581,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -97484,7 +102614,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -97495,7 +102626,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -97525,7 +102657,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -97538,7 +102671,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -97570,12 +102704,50 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" ] }, + { + "id": 1762402359, + "platform_framework": [ + "128" + ], + "component": "Radio", + "field_category": 1, + "field_name": "relationKey", + "field_type": [ + "1" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "-1 时代表独立,不再寻找 parent,用于头条小程序", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 04:12:39", + "update_time": "2025-11-06 04:12:39", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "String" + ] + }, { "id": 504, "platform_framework": [ @@ -97626,7 +102798,8 @@ { "id": 1712650988, "platform_framework": [ - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -97656,7 +102829,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -97767,6 +102941,39 @@ ], "field_type_text": [] }, + { + "id": 1762449471, + "platform_framework": [ + "128" + ], + "component": "Radio", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "值变化时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { checked: boolean })", + "create_time": "2025-11-06 17:17:51", + "update_time": "2025-11-06 17:17:51", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 3257, "platform_framework": [ @@ -97809,7 +103016,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 64, @@ -97839,14 +103047,16 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712028706, "platform_framework": [ - "64" + "64", + "128" ], "component": "Radio", "field_category": 128, @@ -97872,14 +103082,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712028748, "platform_framework": [ - "64" + "64", + "128" ], "component": "Radio", "field_category": 128, @@ -97905,14 +103117,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712028742, "platform_framework": [ - "64" + "64", + "128" ], "component": "Radio", "field_category": 128, @@ -97938,14 +103152,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712028737, "platform_framework": [ - "64" + "64", + "128" ], "component": "Radio", "field_category": 128, @@ -97971,14 +103187,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712028732, "platform_framework": [ - "64" + "64", + "128" ], "component": "Radio", "field_category": 128, @@ -98004,14 +103222,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1760086304, "platform_framework": [ - "64" + "64", + "128" ], "component": "Radio", "field_category": 512, @@ -98037,14 +103257,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1760086320, "platform_framework": [ - "64" + "64", + "128" ], "component": "Radio", "field_category": 512, @@ -98070,7 +103292,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -98114,7 +103337,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 1, @@ -98146,7 +103370,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -98194,7 +103419,8 @@ { "id": 1712028976, "platform_framework": [ - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 1, @@ -98222,7 +103448,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -98274,7 +103501,8 @@ { "id": 1712651056, "platform_framework": [ - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 1, @@ -98302,7 +103530,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -98311,7 +103540,8 @@ { "id": 3119, "platform_framework": [ - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 1, @@ -98340,7 +103570,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -98393,7 +103624,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 1, @@ -98423,7 +103655,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -98436,7 +103669,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 1, @@ -98468,7 +103702,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -98520,7 +103755,8 @@ { "id": 1425, "platform_framework": [ - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 1, @@ -98548,7 +103784,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -98559,7 +103796,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 1, @@ -98589,7 +103827,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -98602,7 +103841,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 1, @@ -98634,12 +103874,50 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" ] }, + { + "id": 1762402367, + "platform_framework": [ + "128" + ], + "component": "RadioGroup", + "field_category": 1, + "field_name": "relationKey", + "field_type": [ + "1" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "-1 时代表独立,不再寻找 parent,用于头条小程序", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 04:12:47", + "update_time": "2025-11-06 04:12:47", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "String" + ] + }, { "id": 497, "platform_framework": [ @@ -98725,7 +104003,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 1, @@ -98744,7 +104023,7 @@ "create_time": "2020-12-28 02:48:06", "update_time": "2022-02-16 10:56:42", "event_output": null, - "custom_field_type": "T【type RadioValue = string | number | boolean】", + "custom_field_type": "T【import { RadioValue } from '@Radio'】", "syntactic_sugar": "v-model", "readonly": 1, "html_attribute": 0, @@ -98759,7 +104038,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -98909,6 +104189,39 @@ ], "field_type_text": [] }, + { + "id": 1762449545, + "platform_framework": [ + "128" + ], + "component": "RadioGroup", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "选中值发生变化时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: RadioValue })", + "create_time": "2025-11-06 17:19:05", + "update_time": "2025-11-06 17:19:05", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 2919, "platform_framework": [ @@ -98916,7 +104229,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 64, @@ -98946,14 +104260,16 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1760086270, "platform_framework": [ - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 512, @@ -98979,7 +104295,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -100616,7 +105933,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -100648,7 +105966,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -100741,7 +106060,8 @@ { "id": 1712911333, "platform_framework": [ - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -100770,7 +106090,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -100784,7 +106105,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -100816,7 +106138,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -100829,7 +106152,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -100861,7 +106185,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -100911,7 +106236,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -100942,7 +106268,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -100991,7 +106318,8 @@ { "id": 2885, "platform_framework": [ - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -101020,7 +106348,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -101071,7 +106400,8 @@ { "id": 1712029577, "platform_framework": [ - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -101099,7 +106429,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -101110,7 +106441,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -101140,7 +106472,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -101153,7 +106486,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -101185,7 +106519,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -101236,6 +106571,45 @@ "String" ] }, + { + "id": 1762523038, + "platform_framework": [ + "128" + ], + "component": "Rate", + "field_category": 1, + "field_name": "size", + "field_type": [ + "1", + "2" + ], + "field_default_value": "'24px'", + "field_enum": "", + "field_desc_zh": "评分图标的大小", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-07 13:43:58", + "update_time": "2025-11-07 13:43:58", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "String", + "Number" + ] + }, { "id": 1091, "platform_framework": [ @@ -101243,7 +106617,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -101275,7 +106650,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -101288,7 +106664,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -101320,7 +106697,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -101329,7 +106707,8 @@ { "id": 2428, "platform_framework": [ - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -101357,7 +106736,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -101404,10 +106784,44 @@ ], "field_type_text": [] }, + { + "id": 1762451299, + "platform_framework": [ + "128" + ], + "component": "Rate", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "评分数改变时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: number })", + "create_time": "2025-11-06 17:48:19", + "update_time": "2025-11-06 17:48:19", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1712029768, "platform_framework": [ - "64" + "64", + "128" ], "component": "Rate", "field_category": 128, @@ -101433,14 +106847,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712029783, "platform_framework": [ - "64" + "64", + "128" ], "component": "Rate", "field_category": 128, @@ -101466,14 +106882,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712029794, "platform_framework": [ - "64" + "64", + "128" ], "component": "Rate", "field_category": 128, @@ -101499,7 +106917,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -101625,7 +107044,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Result", "field_category": 1, @@ -101656,7 +107076,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -101666,7 +107087,8 @@ { "id": 3129, "platform_framework": [ - "64" + "64", + "128" ], "component": "Result", "field_category": 1, @@ -101696,7 +107118,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -101746,7 +107169,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Result", "field_category": 1, @@ -101777,7 +107201,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -101789,7 +107214,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Result", "field_category": 1, @@ -101819,7 +107245,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -101830,7 +107257,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Result", "field_category": 1, @@ -101861,7 +107289,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -101871,7 +107300,8 @@ { "id": 1712053329, "platform_framework": [ - "64" + "64", + "128" ], "component": "Result", "field_category": 128, @@ -101897,14 +107327,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712053373, "platform_framework": [ - "64" + "64", + "128" ], "component": "Result", "field_category": 128, @@ -101930,14 +107362,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712053362, "platform_framework": [ - "64" + "64", + "128" ], "component": "Result", "field_category": 128, @@ -101963,14 +107397,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712053367, "platform_framework": [ - "64" + "64", + "128" ], "component": "Result", "field_category": 128, @@ -101996,7 +107432,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -102087,7 +107524,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Row", "field_category": 1, @@ -102118,7 +107556,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -102206,7 +107645,8 @@ { "id": 1760085899, "platform_framework": [ - "64" + "64", + "128" ], "component": "Row", "field_category": 512, @@ -102232,7 +107672,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -102240,7 +107681,8 @@ "id": 1542, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -102270,7 +107712,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -102319,7 +107762,8 @@ { "id": 1712031065, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -102347,7 +107791,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -102356,7 +107801,8 @@ { "id": 1712030264, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -102384,7 +107830,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -102656,7 +108103,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -102686,7 +108134,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -102697,7 +108146,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -102727,7 +108177,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -102739,7 +108190,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -102770,7 +108222,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -102816,7 +108269,8 @@ { "id": 1712030357, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -102844,7 +108298,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -102853,7 +108308,8 @@ { "id": 1712030225, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -102881,7 +108337,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -102924,10 +108381,48 @@ "Number" ] }, + { + "id": 1762412966, + "platform_framework": [ + "128" + ], + "component": "Search", + "field_category": 1, + "field_name": "cursor", + "field_type": [ + "2" + ], + "field_default_value": "-1", + "field_enum": "", + "field_desc_zh": "指定 focus 时的光标位置", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 07:09:26", + "update_time": "2025-11-06 07:09:26", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Number" + ] + }, { "id": 1712030114, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -102955,7 +108450,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -102967,7 +108463,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -102998,7 +108495,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -103085,7 +108583,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -103115,7 +108614,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -103124,7 +108624,8 @@ { "id": 1712031083, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -103152,7 +108653,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -103241,7 +108743,8 @@ { "id": 3386, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -103269,7 +108772,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -103278,7 +108782,8 @@ { "id": 3387, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -103307,7 +108812,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -103359,7 +108865,8 @@ "id": 1712030157, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -103388,7 +108895,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -103397,7 +108905,8 @@ { "id": 1712030181, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -103425,7 +108934,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -103516,7 +109026,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -103548,7 +109059,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -103557,7 +109069,8 @@ { "id": 1712031137, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -103585,7 +109098,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -103628,6 +109142,43 @@ "String" ] }, + { + "id": 1762412888, + "platform_framework": [ + "128" + ], + "component": "Search", + "field_category": 1, + "field_name": "placeholderStyle", + "field_type": [ + "1" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "指定 placeholder 的样式", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 07:08:08", + "update_time": "2025-11-06 07:08:08", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "String" + ] + }, { "id": 2847, "platform_framework": [ @@ -103785,7 +109336,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -103817,7 +109369,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -103827,7 +109380,8 @@ "id": 1719488506, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -103856,7 +109410,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -103865,7 +109420,8 @@ { "id": 1712031376, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -103894,7 +109450,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -103943,7 +109500,8 @@ { "id": 1712031040, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -103971,7 +109529,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -103980,7 +109539,8 @@ { "id": 1712031024, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -104008,7 +109568,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -104019,7 +109580,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -104049,7 +109611,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -104249,7 +109812,8 @@ { "id": 1712031485, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -104277,7 +109841,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -104327,7 +109892,8 @@ { "id": 1712653782, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -104355,7 +109921,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -104470,6 +110037,39 @@ ], "field_type_text": [] }, + { + "id": 1762449318, + "platform_framework": [ + "128" + ], + "component": "Search", + "field_category": 2, + "field_name": "actionClick", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击右侧操作按钮文字时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 17:15:18", + "update_time": "2025-11-06 17:15:18", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 2616, "platform_framework": [ @@ -104546,6 +110146,39 @@ ], "field_type_text": [] }, + { + "id": 1762449333, + "platform_framework": [ + "128" + ], + "component": "Search", + "field_category": 2, + "field_name": "blur", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "失去焦点时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: string })", + "create_time": "2025-11-06 17:15:33", + "update_time": "2025-11-06 17:15:33", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 2615, "platform_framework": [ @@ -104657,6 +110290,39 @@ ], "field_type_text": [] }, + { + "id": 1762449350, + "platform_framework": [ + "128" + ], + "component": "Search", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "值发生变化时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: string })", + "create_time": "2025-11-06 17:15:50", + "update_time": "2025-11-06 17:15:50", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 2614, "platform_framework": [ @@ -104733,6 +110399,39 @@ ], "field_type_text": [] }, + { + "id": 1762449364, + "platform_framework": [ + "128" + ], + "component": "Search", + "field_category": 2, + "field_name": "clear", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击清除时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: string })", + "create_time": "2025-11-06 17:16:04", + "update_time": "2025-11-06 17:16:04", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 2850, "platform_framework": [ @@ -104844,6 +110543,39 @@ ], "field_type_text": [] }, + { + "id": 1762449382, + "platform_framework": [ + "128" + ], + "component": "Search", + "field_category": 2, + "field_name": "focus", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "聚焦时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: string })", + "create_time": "2025-11-06 17:16:22", + "update_time": "2025-11-06 17:16:22", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 2848, "platform_framework": [ @@ -105027,10 +110759,44 @@ ], "field_type_text": [] }, + { + "id": 1762449397, + "platform_framework": [ + "128" + ], + "component": "Search", + "field_category": 2, + "field_name": "submit", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "提交时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: string })", + "create_time": "2025-11-06 17:16:37", + "update_time": "2025-11-06 17:16:37", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1712043309, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 128, @@ -105056,14 +110822,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712043350, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 128, @@ -105089,14 +110857,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712043361, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 128, @@ -105122,14 +110892,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712043345, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 128, @@ -105155,14 +110927,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712043323, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 128, @@ -105188,14 +110962,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712043356, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 128, @@ -105221,14 +110997,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1760086411, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 512, @@ -105254,7 +111032,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -109137,7 +114916,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SideBar", "field_category": 1, @@ -109168,7 +114948,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -109251,6 +115032,43 @@ "Array" ] }, + { + "id": 1762445160, + "platform_framework": [ + "128" + ], + "component": "SideBar", + "field_category": 2, + "field_name": "change", + "field_type": [ + "16" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "选项值发生变化时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: number | string, label: string })", + "create_time": "2025-11-06 16:06:00", + "update_time": "2025-11-06 16:06:00", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Array" + ] + }, { "id": 3381, "platform_framework": [ @@ -109292,10 +115110,48 @@ "Array" ] }, + { + "id": 1762445187, + "platform_framework": [ + "128" + ], + "component": "SideBar", + "field_category": 2, + "field_name": "click", + "field_type": [ + "16" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击选项时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: number | string; label: string })", + "create_time": "2025-11-06 16:06:27", + "update_time": "2025-11-06 16:06:27", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Array" + ] + }, { "id": 1760086453, "platform_framework": [ - "64" + "64", + "128" ], "component": "SideBar", "field_category": 512, @@ -109321,7 +115177,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -109330,7 +115187,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SideBarItem", "field_category": 1, @@ -109360,7 +115218,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -109371,7 +115230,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SideBarItem", "field_category": 1, @@ -109401,7 +115261,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -109410,7 +115271,8 @@ { "id": 3534, "platform_framework": [ - "64" + "64", + "128" ], "component": "SideBarItem", "field_category": 1, @@ -109439,7 +115301,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -109490,7 +115353,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SideBarItem", "field_category": 1, @@ -109520,7 +115384,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -109531,7 +115396,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SideBarItem", "field_category": 1, @@ -109562,7 +115428,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -109572,7 +115439,8 @@ { "id": 1760086476, "platform_framework": [ - "64" + "64", + "128" ], "component": "SideBarItem", "field_category": 512, @@ -109598,7 +115466,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -109609,7 +115478,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Skeleton", "field_category": 1, @@ -109641,7 +115511,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -109775,7 +115646,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Skeleton", "field_category": 1, @@ -109807,7 +115679,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -109820,7 +115693,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Skeleton", "field_category": 1, @@ -109852,7 +115726,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -109861,7 +115736,8 @@ { "id": 1841, "platform_framework": [ - "64" + "64", + "128" ], "component": "Skeleton", "field_category": 1, @@ -109889,7 +115765,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -109943,7 +115820,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Skeleton", "field_category": 1, @@ -109973,7 +115851,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -110021,7 +115900,8 @@ { "id": 1712053438, "platform_framework": [ - "64" + "64", + "128" ], "component": "Skeleton", "field_category": 128, @@ -110047,14 +115927,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712053448, "platform_framework": [ - "64" + "64", + "128" ], "component": "Skeleton", "field_category": 128, @@ -110080,14 +115962,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712053453, "platform_framework": [ - "64" + "64", + "128" ], "component": "Skeleton", "field_category": 128, @@ -110113,14 +115997,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759200293, "platform_framework": [ - "64" + "64", + "128" ], "component": "Skeleton", "field_category": 512, @@ -110146,14 +116032,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1470, "platform_framework": [ - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -110181,7 +116069,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -110194,7 +116083,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -110226,7 +116116,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -110235,7 +116126,8 @@ { "id": 1810, "platform_framework": [ - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -110263,7 +116155,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -110356,7 +116249,8 @@ { "id": 3120, "platform_framework": [ - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -110386,7 +116280,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -110524,7 +116419,8 @@ { "id": 1325, "platform_framework": [ - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -110553,7 +116449,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object", @@ -110567,7 +116464,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -110599,7 +116497,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -110612,7 +116511,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -110644,7 +116544,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -110657,7 +116558,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -110689,7 +116591,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -110700,7 +116603,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -110730,7 +116634,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -110782,7 +116687,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -110814,7 +116720,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -110825,7 +116732,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -110855,7 +116763,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -110907,7 +116816,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -110940,7 +116850,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number", @@ -110950,7 +116861,8 @@ { "id": 1712043696, "platform_framework": [ - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -110978,7 +116890,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -111062,6 +116975,39 @@ ], "field_type_text": [] }, + { + "id": 1762450153, + "platform_framework": [ + "128" + ], + "component": "Slider", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "滑块值变化时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: SliderValue })", + "create_time": "2025-11-06 17:29:13", + "update_time": "2025-11-06 17:29:13", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1703150122, "platform_framework": [ @@ -111100,7 +117046,7 @@ { "id": 2001, "platform_framework": [ - "64" + "128" ], "component": "Slider", "field_category": 2, @@ -111111,7 +117057,7 @@ "field_desc_zh": "结束拖动时触发", "field_desc_en": null, "field_required": 0, - "event_input": "(value: SliderValue, e: TouchEvent)", + "event_input": "(context: { value: SliderValue, e: TouchEvent })", "create_time": "2021-12-02 09:03:45", "update_time": "2022-04-06 12:03:23", "event_output": null, @@ -111126,7 +117072,7 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "UniApp" ], "field_type_text": [] }, @@ -111165,6 +117111,39 @@ ], "field_type_text": [] }, + { + "id": 1762450182, + "platform_framework": [ + "64" + ], + "component": "Slider", + "field_category": 2, + "field_name": "dragend", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "结束拖动时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(value: SliderValue, e: TouchEvent)", + "create_time": "2025-11-06 17:29:42", + "update_time": "2025-11-06 17:29:42", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 2000, "platform_framework": [ @@ -111233,10 +117212,44 @@ ], "field_type_text": [] }, + { + "id": 1762450202, + "platform_framework": [ + "128" + ], + "component": "Slider", + "field_category": 2, + "field_name": "dragstart", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "开始拖动时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { e: TouchEvent })", + "create_time": "2025-11-06 17:30:02", + "update_time": "2025-11-06 17:30:02", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1712043752, "platform_framework": [ - "64" + "64", + "128" ], "component": "Slider", "field_category": 128, @@ -111262,14 +117275,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712043777, "platform_framework": [ - "64" + "64", + "128" ], "component": "Slider", "field_category": 128, @@ -111295,14 +117310,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712043782, "platform_framework": [ - "64" + "64", + "128" ], "component": "Slider", "field_category": 128, @@ -111328,14 +117345,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712043788, "platform_framework": [ - "64" + "64", + "128" ], "component": "Slider", "field_category": 128, @@ -111361,14 +117380,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712043793, "platform_framework": [ - "64" + "64", + "128" ], "component": "Slider", "field_category": 128, @@ -111394,7 +117415,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -112277,7 +118299,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "StepItem", "field_category": 1, @@ -112310,7 +118333,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -112402,7 +118426,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "StepItem", "field_category": 1, @@ -112433,7 +118458,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -112488,7 +118514,8 @@ { "id": 1588, "platform_framework": [ - "64" + "64", + "128" ], "component": "StepItem", "field_category": 1, @@ -112517,7 +118544,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -112531,7 +118559,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "StepItem", "field_category": 1, @@ -112563,7 +118592,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -112572,7 +118602,8 @@ { "id": 2475, "platform_framework": [ - "64" + "64", + "128" ], "component": "StepItem", "field_category": 1, @@ -112600,7 +118631,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -112613,7 +118645,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "StepItem", "field_category": 1, @@ -112646,7 +118679,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -112738,7 +118772,8 @@ { "id": 1709437692, "platform_framework": [ - "64" + "64", + "128" ], "component": "StepItem", "field_category": 128, @@ -112764,14 +118799,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711974217, "platform_framework": [ - "64" + "64", + "128" ], "component": "StepItem", "field_category": 128, @@ -112797,14 +118834,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711974226, "platform_framework": [ - "64" + "64", + "128" ], "component": "StepItem", "field_category": 128, @@ -112830,14 +118869,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711974232, "platform_framework": [ - "64" + "64", + "128" ], "component": "StepItem", "field_category": 128, @@ -112863,14 +118904,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711974222, "platform_framework": [ - "64" + "64", + "128" ], "component": "StepItem", "field_category": 128, @@ -112896,14 +118939,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1760086531, "platform_framework": [ - "64" + "64", + "128" ], "component": "StepItem", "field_category": 512, @@ -112929,14 +118974,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1760585732, "platform_framework": [ - "64" + "64", + "128" ], "component": "StepItem", "field_category": 512, @@ -112962,7 +119009,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -112971,7 +119019,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Stepper", "field_category": 1, @@ -113001,7 +119050,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -113012,7 +119062,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Stepper", "field_category": 1, @@ -113042,7 +119093,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -113051,7 +119103,8 @@ { "id": 1503, "platform_framework": [ - "64" + "64", + "128" ], "component": "Stepper", "field_category": 1, @@ -113079,7 +119132,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -113129,7 +119183,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Stepper", "field_category": 1, @@ -113159,7 +119214,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -113170,7 +119226,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Stepper", "field_category": 1, @@ -113200,7 +119257,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -113211,7 +119269,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Stepper", "field_category": 1, @@ -113241,7 +119300,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -113252,7 +119312,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Stepper", "field_category": 1, @@ -113282,7 +119343,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -113293,7 +119355,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Stepper", "field_category": 1, @@ -113323,7 +119386,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -113334,7 +119398,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Stepper", "field_category": 1, @@ -113364,7 +119429,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -113375,7 +119441,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Stepper", "field_category": 1, @@ -113406,7 +119473,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -113487,6 +119555,39 @@ ], "field_type_text": [] }, + { + "id": 1762449962, + "platform_framework": [ + "128" + ], + "component": "Stepper", + "field_category": 2, + "field_name": "blur", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "输入框失去焦点时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { type: string | number })", + "create_time": "2025-11-06 17:26:02", + "update_time": "2025-11-06 17:26:02", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": "", + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 2327, "platform_framework": [ @@ -113561,6 +119662,39 @@ ], "field_type_text": [] }, + { + "id": 1762449988, + "platform_framework": [ + "128" + ], + "component": "Stepper", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "数值发生变更时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: string | number })", + "create_time": "2025-11-06 17:26:28", + "update_time": "2025-11-06 17:26:28", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": "", + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1712658600, "platform_framework": [ @@ -113603,22 +119737,129 @@ ] }, { - "id": 1761301896, + "id": 1761301896, + "platform_framework": [ + "64" + ], + "component": "Stepper", + "field_category": 2, + "field_name": "focus", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "输入框聚焦时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "({ value: string | number }))", + "create_time": "2025-10-24 10:31:36", + "update_time": "2025-10-24 10:31:36", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1762450002, + "platform_framework": [ + "128" + ], + "component": "Stepper", + "field_category": 2, + "field_name": "focus", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "输入框聚焦时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: string | number })", + "create_time": "2025-11-06 17:26:42", + "update_time": "2025-11-06 17:26:42", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, + { + "id": 2328, + "platform_framework": [ + "8", + "16" + ], + "component": "Stepper", + "field_category": 2, + "field_name": "overlimit", + "field_type": [ + "1", + "2" + ], + "field_default_value": "0", + "field_enum": "", + "field_desc_zh": "数值超出限制时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(type: 'minus' | 'plus')", + "create_time": "2022-02-21 03:49:33", + "update_time": "2022-02-21 03:49:33", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "Vue(Mobile)", + "React(Mobile)" + ], + "field_type_text": [ + "String", + "Number" + ] + }, + { + "id": 1761301983, "platform_framework": [ "64" ], "component": "Stepper", "field_category": 2, - "field_name": "focus", + "field_name": "overlimit", "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "输入框聚焦时触发", + "field_desc_zh": "数值超出限制时触发", "field_desc_en": null, "field_required": 0, - "event_input": "({ value: string | number }))", - "create_time": "2025-10-24 10:31:36", - "update_time": "2025-10-24 10:31:36", + "event_input": "({type: 'minus' | 'plus'})", + "create_time": "2025-10-24 10:33:03", + "update_time": "2025-10-24 10:33:03", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -113636,50 +119877,9 @@ "field_type_text": [] }, { - "id": 2328, + "id": 1762450013, "platform_framework": [ - "8", - "16" - ], - "component": "Stepper", - "field_category": 2, - "field_name": "overlimit", - "field_type": [ - "1", - "2" - ], - "field_default_value": "0", - "field_enum": "", - "field_desc_zh": "数值超出限制时触发", - "field_desc_en": null, - "field_required": 0, - "event_input": "(type: 'minus' | 'plus')", - "create_time": "2022-02-21 03:49:33", - "update_time": "2022-02-21 03:49:33", - "event_output": null, - "custom_field_type": null, - "syntactic_sugar": null, - "readonly": 1, - "html_attribute": 0, - "trigger_elements": "", - "deprecated": 0, - "version": "", - "test_description": null, - "support_default_value": 0, - "field_category_text": "Events", - "platform_framework_text": [ - "Vue(Mobile)", - "React(Mobile)" - ], - "field_type_text": [ - "String", - "Number" - ] - }, - { - "id": 1761301983, - "platform_framework": [ - "64" + "128" ], "component": "Stepper", "field_category": 2, @@ -113690,9 +119890,9 @@ "field_desc_zh": "数值超出限制时触发", "field_desc_en": null, "field_required": 0, - "event_input": "({type: 'minus' | 'plus'})", - "create_time": "2025-10-24 10:33:03", - "update_time": "2025-10-24 10:33:03", + "event_input": "(context: {type: 'minus' | 'plus'})", + "create_time": "2025-11-06 17:26:53", + "update_time": "2025-11-06 17:26:53", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -113705,14 +119905,15 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "UniApp" ], "field_type_text": [] }, { "id": 1712043997, "platform_framework": [ - "64" + "64", + "128" ], "component": "Stepper", "field_category": 128, @@ -113738,14 +119939,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712044016, "platform_framework": [ - "64" + "64", + "128" ], "component": "Stepper", "field_category": 128, @@ -113771,14 +119974,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712044021, "platform_framework": [ - "64" + "64", + "128" ], "component": "Stepper", "field_category": 128, @@ -113804,14 +120009,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712044027, "platform_framework": [ - "64" + "64", + "128" ], "component": "Stepper", "field_category": 128, @@ -113837,7 +120044,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -113848,7 +120056,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Steps", "field_category": 1, @@ -113881,7 +120090,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -113893,7 +120103,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Steps", "field_category": 1, @@ -113923,7 +120134,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -113936,7 +120148,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Steps", "field_category": 1, @@ -113968,7 +120181,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -114020,7 +120234,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Steps", "field_category": 1, @@ -114052,7 +120267,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -114104,7 +120320,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Steps", "field_category": 1, @@ -114136,7 +120353,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -114149,7 +120367,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Steps", "field_category": 1, @@ -114181,7 +120400,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -114229,7 +120449,8 @@ { "id": 1587, "platform_framework": [ - "64" + "64", + "128" ], "component": "Steps", "field_category": 2, @@ -114240,7 +120461,7 @@ "field_desc_zh": "当前步骤发生变化时触发", "field_desc_en": null, "field_required": 0, - "event_input": "({current: string | number, previous: string | number})", + "event_input": "(context: {current: string | number, previous: string | number})", "create_time": "2021-09-02 03:16:55", "update_time": "2021-11-30 02:40:11", "event_output": null, @@ -114255,14 +120476,16 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712547366, "platform_framework": [ - "64" + "64", + "128" ], "component": "Steps", "field_category": 128, @@ -114288,14 +120511,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1760086510, "platform_framework": [ - "64" + "64", + "128" ], "component": "Steps", "field_category": 512, @@ -114321,7 +120546,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -114406,7 +120632,8 @@ { "id": 1730, "platform_framework": [ - "64" + "64", + "128" ], "component": "Sticky", "field_category": 1, @@ -114434,7 +120661,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -114521,7 +120749,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Sticky", "field_category": 1, @@ -114551,7 +120780,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -114562,7 +120792,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Sticky", "field_category": 1, @@ -114593,7 +120824,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -114605,7 +120837,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Sticky", "field_category": 1, @@ -114635,7 +120868,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -114646,7 +120880,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Sticky", "field_category": 2, @@ -114674,14 +120909,16 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712053525, "platform_framework": [ - "64" + "64", + "128" ], "component": "Sticky", "field_category": 128, @@ -114707,14 +120944,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712053529, "platform_framework": [ - "64" + "64", + "128" ], "component": "Sticky", "field_category": 128, @@ -114740,14 +120979,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759200405, "platform_framework": [ - "64" + "64", + "128" ], "component": "Sticky", "field_category": 512, @@ -114773,7 +121014,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -115724,7 +121966,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SwipeCell", "field_category": 1, @@ -115754,7 +121997,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -115804,7 +122048,8 @@ { "id": 1725352608, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwipeCell", "field_category": 1, @@ -115833,7 +122078,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array", @@ -115845,7 +122091,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SwipeCell", "field_category": 1, @@ -115876,7 +122123,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -115886,7 +122134,8 @@ { "id": 1748, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwipeCell", "field_category": 1, @@ -115915,7 +122164,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array", @@ -116003,7 +122253,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SwipeCell", "field_category": 2, @@ -116031,7 +122282,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -116040,7 +122292,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SwipeCell", "field_category": 2, @@ -116068,7 +122321,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -116077,7 +122331,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SwipeCell", "field_category": 2, @@ -116105,7 +122360,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -116151,7 +122407,8 @@ { "id": 1759216167, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwipeCell", "field_category": 512, @@ -116177,14 +122434,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759216541, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwipeCell", "field_category": 512, @@ -116210,14 +122469,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759216525, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwipeCell", "field_category": 512, @@ -116243,7 +122504,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -116332,7 +122594,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -116364,7 +122627,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -116455,7 +122719,8 @@ { "id": 3248, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -116483,7 +122748,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -116496,7 +122762,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -116528,7 +122795,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -116537,7 +122805,8 @@ { "id": 3241, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -116565,7 +122834,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -116578,7 +122848,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -116610,7 +122881,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -116619,7 +122891,8 @@ { "id": 3242, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -116647,7 +122920,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -116695,7 +122969,8 @@ { "id": 1712653681, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -116724,7 +122999,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -116846,6 +123122,43 @@ "Object" ] }, + { + "id": 1762406769, + "platform_framework": [ + "128" + ], + "component": "Swiper", + "field_category": 1, + "field_name": "imageProps", + "field_type": [ + "8" + ], + "field_default_value": "{}", + "field_enum": "", + "field_desc_zh": "透传至 Image 组件", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 05:26:09", + "update_time": "2025-11-06 05:26:09", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"0.34.0\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Object" + ] + }, { "id": 1271, "platform_framework": [ @@ -116853,7 +123166,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -116885,7 +123199,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -116894,7 +123209,8 @@ { "id": 3244, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -116922,7 +123238,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -116935,7 +123252,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -116967,7 +123285,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -117021,7 +123340,8 @@ { "id": 3256, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -117051,7 +123371,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -117063,7 +123384,8 @@ "id": 3245, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -117093,7 +123415,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -117142,7 +123465,8 @@ { "id": 2804, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -117151,7 +123475,7 @@ "1" ], "field_default_value": "bottom", - "field_enum": "top-left/top/top-right/bottom-left/bottom/bottom-right", + "field_enum": "top-left/top/top-right/bottom-left/bottom/bottom-right/left/right", "field_desc_zh": "页码信息展示位置", "field_desc_en": null, "field_required": 0, @@ -117170,7 +123494,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -117180,7 +123505,8 @@ "id": 3246, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -117210,7 +123536,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -117259,7 +123586,8 @@ { "id": 3247, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -117287,7 +123615,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -117484,6 +123813,39 @@ ], "field_type_text": [] }, + { + "id": 1762454592, + "platform_framework": [ + "128" + ], + "component": "Swiper", + "field_category": 2, + "field_name": "animationfinish", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "轮播切换时触发", + "field_desc_en": "动画结束时会触发 animationfinish 事件", + "field_required": 0, + "event_input": "(context: { current: number, source: SwiperChangeSource })", + "create_time": "2025-11-06 18:43:12", + "update_time": "2025-11-06 18:43:12", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"1.11.0\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1276, "platform_framework": [ @@ -117618,6 +123980,39 @@ ], "field_type_text": [] }, + { + "id": 1762454610, + "platform_framework": [ + "128" + ], + "component": "Swiper", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "轮播切换时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { current: number, source: SwiperChangeSource })【type SwiperChangeSource = 'autoplay' | 'touch' | 'nav'】", + "create_time": "2025-11-06 18:43:30", + "update_time": "2025-11-06 18:43:30", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 3279, "platform_framework": [ @@ -117655,6 +124050,39 @@ ], "field_type_text": [] }, + { + "id": 1762454630, + "platform_framework": [ + "128" + ], + "component": "Swiper", + "field_category": 2, + "field_name": "click", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击轮播项时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { index: number })", + "create_time": "2025-11-06 18:43:50", + "update_time": "2025-11-06 18:43:50", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"0.34.0\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1712053721, "platform_framework": [ @@ -117688,10 +124116,44 @@ ], "field_type_text": [] }, + { + "id": 1762454648, + "platform_framework": [ + "128" + ], + "component": "Swiper", + "field_category": 2, + "field_name": "imageLoad", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "图片加载时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { index: number})", + "create_time": "2025-11-06 18:44:08", + "update_time": "2025-11-06 18:44:08", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"1.1.4\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1712053610, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 128, @@ -117717,14 +124179,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712053620, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 128, @@ -117750,14 +124214,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712053615, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 128, @@ -117783,14 +124249,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712053629, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 128, @@ -117816,14 +124284,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712053624, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 128, @@ -117849,14 +124319,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759200637, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 512, @@ -117882,14 +124354,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 3271, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwiperNav", "field_category": 1, @@ -117917,7 +124391,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -117926,7 +124401,8 @@ { "id": 3273, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwiperNav", "field_category": 1, @@ -117954,7 +124430,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -117963,7 +124440,8 @@ { "id": 3274, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwiperNav", "field_category": 1, @@ -117991,7 +124469,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -118000,7 +124479,8 @@ { "id": 1712053820, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwiperNav", "field_category": 1, @@ -118009,7 +124489,7 @@ "1" ], "field_default_value": "bottom", - "field_enum": "top-left/top/top-right/bottom-left/bottom/bottom-right", + "field_enum": "top-left/top/top-right/bottom-left/bottom/bottom-right/left/right", "field_desc_zh": "页码信息展示位置", "field_desc_en": null, "field_required": 0, @@ -118028,7 +124508,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -118070,7 +124551,8 @@ { "id": 3276, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwiperNav", "field_category": 1, @@ -118098,7 +124580,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -118107,7 +124590,8 @@ { "id": 3277, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwiperNav", "field_category": 1, @@ -118135,7 +124619,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -118178,10 +124663,48 @@ "String" ] }, + { + "id": 1762479014, + "platform_framework": [ + "128" + ], + "component": "SwiperNav", + "field_category": 1, + "field_name": "type", + "field_type": [ + "1" + ], + "field_default_value": "dots", + "field_enum": "", + "field_desc_zh": "导航器类型,点状(dots)、点条状(dots-bar)、分式(fraction)等", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-07 01:30:14", + "update_time": "2025-11-07 01:30:14", + "event_output": null, + "custom_field_type": "SwiperNavigationType【type SwiperNavigationType = 'dots' | 'dots-bar' | 'fraction'】", + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "String" + ] + }, { "id": 1712053965, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwiperNav", "field_category": 128, @@ -118207,14 +124730,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 3249, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwiperNavigation", "field_category": 1, @@ -118242,7 +124767,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -118251,7 +124777,8 @@ { "id": 3251, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwiperNavigation", "field_category": 1, @@ -118279,7 +124806,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -118290,7 +124818,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SwiperNavigation", "field_category": 1, @@ -118320,7 +124849,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -118331,7 +124861,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SwiperNavigation", "field_category": 1, @@ -118361,7 +124892,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -118448,7 +124980,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SwiperNavigation", "field_category": 1, @@ -118478,7 +125011,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -118565,7 +125099,8 @@ { "id": 3250, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwiperNavigation", "field_category": 1, @@ -118593,7 +125128,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -118643,7 +125179,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SwiperNavigation", "field_category": 1, @@ -118673,7 +125210,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -118801,7 +125339,8 @@ { "id": 1712653386, "platform_framework": [ - "64" + "64", + "128" ], "component": "Switch", "field_category": 1, @@ -118829,7 +125368,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -118842,7 +125382,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Switch", "field_category": 1, @@ -118874,7 +125415,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -118883,7 +125425,8 @@ { "id": 3390, "platform_framework": [ - "64" + "64", + "128" ], "component": "Switch", "field_category": 1, @@ -118911,7 +125454,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -119002,7 +125546,8 @@ { "id": 1538, "platform_framework": [ - "64" + "64", + "128" ], "component": "Switch", "field_category": 1, @@ -119030,7 +125575,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -119043,7 +125589,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Switch", "field_category": 1, @@ -119075,7 +125622,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -119088,7 +125636,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Switch", "field_category": 1, @@ -119120,7 +125669,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -119214,6 +125764,47 @@ "Boolean" ] }, + { + "id": 1762449814, + "platform_framework": [ + "128" + ], + "component": "Switch", + "field_category": 1, + "field_name": "value", + "field_type": [ + "1", + "2", + "4" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "开关值", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 17:23:34", + "update_time": "2025-11-06 17:23:34", + "event_output": null, + "custom_field_type": "SwitchValue【type SwitchValue = string | number | boolean】", + "syntactic_sugar": "v-model", + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 1, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "String", + "Number", + "Boolean" + ] + }, { "id": 132, "platform_framework": [ @@ -119325,6 +125916,39 @@ ], "field_type_text": [] }, + { + "id": 1762449794, + "platform_framework": [ + "128" + ], + "component": "Switch", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "数据发生变化时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: SwitchValue })", + "create_time": "2025-11-06 17:23:14", + "update_time": "2025-11-06 17:23:14", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "MouseEvent", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 3341, "platform_framework": [ @@ -119332,7 +125956,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Switch", "field_category": 64, @@ -119362,14 +125987,16 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759061475, "platform_framework": [ - "64" + "64", + "128" ], "component": "Switch", "field_category": 128, @@ -119395,14 +126022,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759061554, "platform_framework": [ - "64" + "64", + "128" ], "component": "Switch", "field_category": 128, @@ -119428,14 +126057,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759061567, "platform_framework": [ - "64" + "64", + "128" ], "component": "Switch", "field_category": 128, @@ -119461,14 +126092,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759061533, "platform_framework": [ - "64" + "64", + "128" ], "component": "Switch", "field_category": 128, @@ -119494,7 +126127,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -119698,7 +126332,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TabBar", "field_category": 1, @@ -119728,7 +126363,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -119778,7 +126414,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TabBar", "field_category": 1, @@ -119808,7 +126445,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -119819,7 +126457,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TabBar", "field_category": 1, @@ -119849,7 +126488,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -119860,7 +126500,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TabBar", "field_category": 1, @@ -119890,7 +126531,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -119901,7 +126543,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TabBar", "field_category": 1, @@ -119931,7 +126574,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -119942,7 +126586,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TabBar", "field_category": 1, @@ -119972,7 +126617,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -119983,7 +126629,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TabBar", "field_category": 1, @@ -120015,7 +126662,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -120060,10 +126708,44 @@ ], "field_type_text": [] }, + { + "id": 1762444808, + "platform_framework": [ + "128" + ], + "component": "TabBar", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "选中标签切换时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: string | number })", + "create_time": "2025-11-06 16:00:08", + "update_time": "2025-11-06 16:00:08", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1711974384, "platform_framework": [ - "64" + "64", + "128" ], "component": "TabBar", "field_category": 128, @@ -120089,7 +126771,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -120290,6 +126973,43 @@ "Object" ] }, + { + "id": 1762401966, + "platform_framework": [ + "128" + ], + "component": "TabBarItem", + "field_category": 1, + "field_name": "badgeProps", + "field_type": [ + "8" + ], + "field_default_value": "{}", + "field_enum": "", + "field_desc_zh": "图标右上角提示信息", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 04:06:06", + "update_time": "2025-11-06 04:06:06", + "event_output": null, + "custom_field_type": "BadgeProps【import { BadgeProps } from '@Badge'】", + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Object" + ] + }, { "id": 1724677465, "platform_framework": [ @@ -120332,7 +127052,8 @@ { "id": 1437, "platform_framework": [ - "64" + "64", + "128" ], "component": "TabBarItem", "field_category": 1, @@ -120362,7 +127083,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -120414,7 +127136,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TabBarItem", "field_category": 1, @@ -120444,7 +127167,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -120455,7 +127179,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TabBarItem", "field_category": 1, @@ -120486,7 +127211,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -120496,7 +127222,8 @@ { "id": 1761301553, "platform_framework": [ - "64" + "64", + "128" ], "component": "TabBarItem", "field_category": 512, @@ -120522,7 +127249,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -120567,6 +127295,43 @@ "Object" ] }, + { + "id": 1762402124, + "platform_framework": [ + "128" + ], + "component": "TabPanel", + "field_category": 1, + "field_name": "badgeProps", + "field_type": [ + "8" + ], + "field_default_value": "{}", + "field_enum": "", + "field_desc_zh": "透传至 Badge 组件", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-06 04:08:44", + "update_time": "2025-11-06 04:08:44", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Object" + ] + }, { "id": 735, "platform_framework": [ @@ -120654,7 +127419,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "TabPanel", "field_category": 1, @@ -120686,7 +127452,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -120734,7 +127501,8 @@ { "id": 1711974931, "platform_framework": [ - "64" + "64", + "128" ], "component": "TabPanel", "field_category": 1, @@ -120763,7 +127531,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -120855,7 +127624,8 @@ { "id": 2654, "platform_framework": [ - "64" + "64", + "128" ], "component": "TabPanel", "field_category": 1, @@ -120883,7 +127653,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -120896,7 +127667,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "TabPanel", "field_category": 1, @@ -120928,7 +127700,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -120941,7 +127714,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "TabPanel", "field_category": 1, @@ -120974,7 +127748,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -121068,7 +127843,8 @@ { "id": 3523, "platform_framework": [ - "64" + "64", + "128" ], "component": "TabPanel", "field_category": 1, @@ -121097,7 +127873,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -121142,7 +127919,8 @@ { "id": 1760086671, "platform_framework": [ - "64" + "64", + "128" ], "component": "TabPanel", "field_category": 512, @@ -121168,7 +127946,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -124012,7 +130791,8 @@ { "id": 1313, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -124040,7 +130820,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -124090,7 +130871,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -124120,7 +130902,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -124287,7 +131070,8 @@ { "id": 1711974538, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -124315,7 +131099,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -124441,7 +131226,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -124471,7 +131257,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -124523,7 +131310,8 @@ { "id": 1711974625, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -124551,7 +131339,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -124599,7 +131388,8 @@ { "id": 1711974651, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -124627,7 +131417,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -124675,7 +131466,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -124705,7 +131497,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -124716,7 +131509,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -124746,7 +131540,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -124757,7 +131552,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -124787,7 +131583,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -124837,7 +131634,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -124867,7 +131665,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -124880,7 +131679,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -124913,7 +131713,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -125027,8 +131828,74 @@ ], "field_type_text": [] }, + { + "id": 1762444332, + "platform_framework": [ + "128" + ], + "component": "Tabs", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "激活的选项卡发生变化时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: TabValue; label: string })", + "create_time": "2025-11-06 15:52:12", + "update_time": "2025-11-06 15:52:12", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 3284, + "platform_framework": [ + "128" + ], + "component": "Tabs", + "field_category": 2, + "field_name": "click", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击选项卡时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: TabValue; label: string })", + "create_time": "2023-01-09 08:53:37", + "update_time": "2023-01-09 08:53:37", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, + { + "id": 1762444503, "platform_framework": [ "8", "16", @@ -125044,8 +131911,8 @@ "field_desc_en": null, "field_required": 0, "event_input": "(value: TabValue, label: string)", - "create_time": "2023-01-09 08:53:37", - "update_time": "2023-01-09 08:53:37", + "create_time": "2025-11-06 15:55:03", + "update_time": "2025-11-06 15:55:03", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -125171,10 +132038,44 @@ ], "field_type_text": [] }, + { + "id": 1762444394, + "platform_framework": [ + "128" + ], + "component": "Tabs", + "field_category": 2, + "field_name": "scroll", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "页面滚动时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { scrollTop: number, isFixed: boolean })", + "create_time": "2025-11-06 15:53:14", + "update_time": "2025-11-06 15:53:14", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1711974785, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tabs", "field_category": 128, @@ -125200,14 +132101,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711974814, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tabs", "field_category": 128, @@ -125233,14 +132136,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711974825, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tabs", "field_category": 128, @@ -125266,14 +132171,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711974809, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tabs", "field_category": 128, @@ -125299,14 +132206,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1711974818, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tabs", "field_category": 128, @@ -125332,14 +132241,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1760086647, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tabs", "field_category": 512, @@ -125365,7 +132276,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -125456,7 +132368,8 @@ { "id": 1712653002, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tag", "field_category": 1, @@ -125486,7 +132399,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -125659,7 +132573,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Tag", "field_category": 1, @@ -125691,7 +132606,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -125743,7 +132659,8 @@ { "id": 1667, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tag", "field_category": 1, @@ -125773,7 +132690,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -125788,7 +132706,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Tag", "field_category": 1, @@ -125821,7 +132740,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -125835,7 +132755,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Tag", "field_category": 1, @@ -125867,7 +132788,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -125917,7 +132839,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Tag", "field_category": 1, @@ -125947,7 +132870,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -125960,7 +132884,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Tag", "field_category": 1, @@ -125992,7 +132917,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -126044,7 +132970,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Tag", "field_category": 1, @@ -126076,7 +133003,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -126089,7 +133017,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Tag", "field_category": 2, @@ -126119,7 +133048,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -126130,7 +133060,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Tag", "field_category": 2, @@ -126160,14 +133091,16 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712054110, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tag", "field_category": 128, @@ -126193,14 +133126,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759203058, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tag", "field_category": 512, @@ -126226,14 +133161,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759203160, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tag", "field_category": 512, @@ -126259,14 +133196,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759203180, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tag", "field_category": 512, @@ -126292,7 +133231,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -128258,7 +135198,8 @@ { "id": 1719, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -128286,7 +135227,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -128299,7 +135241,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -128331,7 +135274,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -128344,7 +135288,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -128376,7 +135321,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -128430,7 +135376,8 @@ { "id": 1723, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -128459,7 +135406,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -128471,7 +135419,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -128501,7 +135450,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -128510,7 +135460,8 @@ { "id": 1720, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -128538,7 +135489,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -128547,7 +135499,8 @@ { "id": 1721, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -128575,7 +135528,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -128584,7 +135538,8 @@ { "id": 3392, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -128612,7 +135567,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -128621,7 +135577,8 @@ { "id": 1754468710, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -128649,7 +135606,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -128697,7 +135655,8 @@ { "id": 3393, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -128725,7 +135684,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -128734,7 +135694,8 @@ { "id": 3394, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -128762,7 +135723,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -128775,7 +135737,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -128807,7 +135770,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -128816,7 +135780,8 @@ { "id": 1712045054, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -128844,7 +135809,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -128853,7 +135819,8 @@ { "id": 1801, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -128881,7 +135848,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -128890,7 +135858,8 @@ { "id": 3395, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -128918,7 +135887,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -128929,7 +135899,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -128959,7 +135930,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -128970,7 +135942,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -129001,7 +135974,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -129054,7 +136028,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -129086,7 +136061,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -129140,7 +136116,8 @@ { "id": 1725357311, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -129168,7 +136145,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -129224,7 +136202,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -129256,7 +136235,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -129265,7 +136245,8 @@ { "id": 1737451311, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -129293,7 +136274,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -129302,7 +136284,8 @@ { "id": 1712044962, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -129330,7 +136313,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -129343,7 +136327,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -129375,7 +136360,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -129384,7 +136370,8 @@ { "id": 3397, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -129412,7 +136399,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -129421,7 +136409,8 @@ { "id": 3398, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -129449,7 +136438,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -129458,7 +136448,8 @@ { "id": 3399, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -129486,7 +136477,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -129579,7 +136571,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -129612,7 +136605,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -129691,6 +136685,39 @@ ], "field_type_text": [] }, + { + "id": 1762449102, + "platform_framework": [ + "128" + ], + "component": "Textarea", + "field_category": 2, + "field_name": "blur", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "失去焦点时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: TextareaValue, cursor: number })", + "create_time": "2025-11-06 17:11:42", + "update_time": "2025-11-06 17:11:42", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "FocusEvent", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 968, "platform_framework": [ @@ -129763,6 +136790,39 @@ ], "field_type_text": [] }, + { + "id": 1762449126, + "platform_framework": [ + "128" + ], + "component": "Textarea", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "输入内容变化时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: TextareaValue, cursor: number })", + "create_time": "2025-11-06 17:12:06", + "update_time": "2025-11-06 17:12:06", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "FormEvent", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1743353978, "platform_framework": [ @@ -129862,6 +136922,39 @@ ], "field_type_text": [] }, + { + "id": 1762449142, + "platform_framework": [ + "128" + ], + "component": "Textarea", + "field_category": 2, + "field_name": "enter", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击完成时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: TextareaValue })", + "create_time": "2025-11-06 17:12:22", + "update_time": "2025-11-06 17:12:22", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "FocusEvent", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 972, "platform_framework": [ @@ -129934,6 +137027,39 @@ ], "field_type_text": [] }, + { + "id": 1762449163, + "platform_framework": [ + "128" + ], + "component": "Textarea", + "field_category": 2, + "field_name": "focus", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "获得焦点时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: TextareaValue })", + "create_time": "2025-11-06 17:12:43", + "update_time": "2025-11-06 17:12:43", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "FocusEvent", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 3400, "platform_framework": [ @@ -129967,6 +137093,39 @@ ], "field_type_text": [] }, + { + "id": 1762449181, + "platform_framework": [ + "128" + ], + "component": "Textarea", + "field_category": 2, + "field_name": "keyboardheightchange", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "键盘高度发生变化的时候触发此事件", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { height: number, duration: number })", + "create_time": "2025-11-06 17:13:01", + "update_time": "2025-11-06 17:13:01", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 969, "platform_framework": [ @@ -130105,6 +137264,39 @@ ], "field_type_text": [] }, + { + "id": 1762449201, + "platform_framework": [ + "128" + ], + "component": "Textarea", + "field_category": 2, + "field_name": "lineChange", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "行高发生变化时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: TextareaValue })", + "create_time": "2025-11-06 17:13:21", + "update_time": "2025-11-06 17:13:21", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "FocusEvent", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1712560690, "platform_framework": [ @@ -130143,7 +137335,8 @@ { "id": 1712045223, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 128, @@ -130169,14 +137362,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712045259, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 128, @@ -130202,14 +137397,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712045254, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 128, @@ -130235,14 +137432,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712045249, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 128, @@ -130268,7 +137467,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -133203,7 +140403,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Toast", "field_category": 1, @@ -133233,7 +140434,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -133244,7 +140446,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Toast", "field_category": 1, @@ -133274,7 +140477,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -133283,7 +140487,8 @@ { "id": 1347, "platform_framework": [ - "64" + "64", + "128" ], "component": "Toast", "field_category": 1, @@ -133313,7 +140518,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -133365,7 +140571,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Toast", "field_category": 1, @@ -133396,7 +140603,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -133408,7 +140616,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Toast", "field_category": 1, @@ -133438,7 +140647,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -133449,7 +140659,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Toast", "field_category": 1, @@ -133479,7 +140690,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -133490,7 +140702,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Toast", "field_category": 1, @@ -133520,7 +140733,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -133531,7 +140745,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Toast", "field_category": 1, @@ -133561,7 +140776,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -133572,7 +140788,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Toast", "field_category": 1, @@ -133602,7 +140819,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -133611,7 +140829,8 @@ { "id": 1719908493, "platform_framework": [ - "64" + "64", + "128" ], "component": "Toast", "field_category": 1, @@ -133639,7 +140858,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -133650,7 +140870,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Toast", "field_category": 2, @@ -133678,7 +140899,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -133687,7 +140909,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Toast", "field_category": 2, @@ -133715,14 +140938,16 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1712058581, "platform_framework": [ - "64" + "64", + "128" ], "component": "Toast", "field_category": 128, @@ -133748,14 +140973,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759216343, "platform_framework": [ - "64" + "64", + "128" ], "component": "Toast", "field_category": 512, @@ -133781,14 +141008,16 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1759216358, "platform_framework": [ - "64" + "64", + "128" ], "component": "Toast", "field_category": 512, @@ -133814,7 +141043,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -134563,7 +141793,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -134594,7 +141825,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -134606,7 +141838,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -134637,7 +141870,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -134649,7 +141883,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -134680,7 +141915,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -134692,7 +141928,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -134723,7 +141960,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -134735,7 +141973,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -134767,7 +142006,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -134780,7 +142020,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -134813,7 +142054,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -134827,7 +142069,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -134859,7 +142102,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array", @@ -134911,7 +142155,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -134943,7 +142188,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array", @@ -134956,7 +142202,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -134988,7 +142235,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object", @@ -135001,7 +142249,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -135034,7 +142283,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -135048,7 +142298,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -135080,7 +142331,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -135132,7 +142384,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -135163,7 +142416,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -135175,7 +142429,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -135207,7 +142462,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array", @@ -135220,7 +142476,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -135251,7 +142508,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -135302,7 +142560,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -135333,7 +142592,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -135345,7 +142605,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 2, @@ -135376,7 +142637,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -135388,7 +142650,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 2, @@ -135419,7 +142682,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -135431,7 +142695,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 2, @@ -135460,7 +142725,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -135470,7 +142736,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 2, @@ -135501,7 +142768,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -135513,7 +142781,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 2, @@ -135544,7 +142813,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -135709,7 +142979,8 @@ { "id": 1318, "platform_framework": [ - "64" + "64", + "128" ], "component": "Transition", "field_category": 1, @@ -135737,7 +143008,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -135746,7 +143018,8 @@ { "id": 1317, "platform_framework": [ - "64" + "64", + "128" ], "component": "Transition", "field_category": 1, @@ -135774,7 +143047,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -135783,7 +143057,8 @@ { "id": 1319, "platform_framework": [ - "64" + "64", + "128" ], "component": "Transition", "field_category": 1, @@ -135812,7 +143087,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number", @@ -135822,7 +143098,8 @@ { "id": 1314, "platform_framework": [ - "64" + "64", + "128" ], "component": "Transition", "field_category": 1, @@ -135850,7 +143127,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -135859,7 +143137,8 @@ { "id": 1315, "platform_framework": [ - "64" + "64", + "128" ], "component": "Transition", "field_category": 1, @@ -135887,7 +143166,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -135977,7 +143257,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -136008,7 +143289,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -136020,7 +143302,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -136051,7 +143334,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -136063,7 +143347,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -136094,7 +143379,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -136147,7 +143433,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -136178,7 +143465,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -136190,7 +143478,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -136221,7 +143510,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -136233,7 +143523,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -136264,7 +143555,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -136317,7 +143609,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -136348,7 +143641,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -136399,7 +143693,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -136431,7 +143726,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -136444,7 +143740,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -136475,7 +143772,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -136487,7 +143785,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -136518,7 +143817,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -136530,7 +143830,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -136561,7 +143862,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -136573,7 +143875,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -136604,7 +143907,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -136616,7 +143920,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -136647,7 +143952,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -136659,7 +143965,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -136690,7 +143997,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -136702,7 +144010,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -136733,7 +144042,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -136786,7 +144096,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -136817,7 +144128,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -136829,7 +144141,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -136861,7 +144174,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -136874,7 +144188,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -136905,7 +144220,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -136917,7 +144233,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -136950,7 +144267,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -136964,7 +144282,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -136995,7 +144314,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -137007,7 +144327,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -137039,7 +144360,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -137052,7 +144374,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -137083,7 +144406,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -137136,7 +144460,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -137167,7 +144492,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -137218,7 +144544,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -137249,7 +144576,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -137261,7 +144589,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -137292,7 +144621,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -137304,7 +144634,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -137335,7 +144666,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -137347,7 +144679,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 2, @@ -137376,7 +144709,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -137386,7 +144720,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 2, @@ -137415,7 +144750,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -137425,7 +144761,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 2, @@ -137454,7 +144791,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -137639,7 +144977,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 2, @@ -137668,7 +145007,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -137678,7 +145018,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 2, @@ -137707,7 +145048,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -137752,7 +145094,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -137781,7 +145124,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -137791,7 +145135,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -137820,7 +145165,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -137830,7 +145176,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -137859,7 +145206,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -137869,7 +145217,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -137898,7 +145247,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -137908,7 +145258,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -137937,7 +145288,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -137947,7 +145299,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -137976,7 +145329,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -137986,7 +145340,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -138015,7 +145370,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -138025,7 +145381,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -138054,7 +145411,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -138064,7 +145422,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -138093,7 +145452,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -138103,7 +145463,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -138132,7 +145493,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -138177,7 +145539,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -138206,7 +145569,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -138251,7 +145615,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -138280,7 +145645,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -138290,7 +145656,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 64, @@ -138319,7 +145686,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -139310,7 +146678,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -139341,7 +146710,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -139353,7 +146723,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -139384,7 +146755,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -139396,7 +146768,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -139427,7 +146800,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -139439,7 +146813,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -139470,7 +146845,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -139482,7 +146858,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -139513,7 +146890,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -139525,7 +146903,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -139556,7 +146935,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -139568,7 +146948,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -139599,7 +146980,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -139611,7 +146993,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -139642,7 +147025,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -139654,7 +147038,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -139685,7 +147070,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -139697,7 +147083,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -139728,7 +147115,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -139740,7 +147128,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -139771,7 +147160,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -139783,7 +147173,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -139815,7 +147206,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -139828,7 +147220,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -139859,7 +147252,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -140065,7 +147459,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TreeSelect", "field_category": 1, @@ -140097,7 +147492,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -140307,7 +147703,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TreeSelect", "field_category": 1, @@ -140338,7 +147735,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -140469,7 +147867,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TreeSelect", "field_category": 1, @@ -140499,7 +147898,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -140711,7 +148111,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "TreeSelect", "field_category": 1, @@ -140743,7 +148144,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -140754,7 +148156,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TreeSelect", "field_category": 1, @@ -140784,7 +148187,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -141472,7 +148876,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TreeSelect", "field_category": 1, @@ -141504,7 +148909,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -141697,6 +149103,39 @@ ], "field_type_text": [] }, + { + "id": 1762450610, + "platform_framework": [ + "128" + ], + "component": "TreeSelect", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击任何节点均会触发;level 代表当前点击的层级,0 代表最左侧,依次递进", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { value: TreeSelectValue, level: TreeLevel })【type TreeLevel = 0 | 1 | 2】", + "create_time": "2025-11-06 17:36:50", + "update_time": "2025-11-06 17:36:50", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1153, "platform_framework": [ @@ -141986,7 +149425,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TreeSelect", "field_category": 64, @@ -142014,14 +149454,16 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1735094148, "platform_framework": [ - "64" + "64", + "128" ], "component": "TreeSelect", "field_category": 128, @@ -142047,14 +149489,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1735094123, "platform_framework": [ - "64" + "64", + "128" ], "component": "TreeSelect", "field_category": 128, @@ -142080,14 +149524,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1735094180, "platform_framework": [ - "64" + "64", + "128" ], "component": "TreeSelect", "field_category": 128, @@ -142113,14 +149559,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1735094197, "platform_framework": [ - "64" + "64", + "128" ], "component": "TreeSelect", "field_category": 128, @@ -142146,14 +149594,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1735094245, "platform_framework": [ - "64" + "64", + "128" ], "component": "TreeSelect", "field_category": 128, @@ -142179,14 +149629,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1735094259, "platform_framework": [ - "64" + "64", + "128" ], "component": "TreeSelect", "field_category": 128, @@ -142212,14 +149664,16 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, { "id": 1735094317, "platform_framework": [ - "64" + "64", + "128" ], "component": "TreeSelect", "field_category": 128, @@ -142245,7 +149699,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -142995,7 +150450,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -143025,7 +150481,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -143075,7 +150532,8 @@ { "id": 1690274500, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -143104,7 +150562,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -143118,7 +150577,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -143150,7 +150610,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -143405,7 +150866,8 @@ { "id": 1671, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -143433,7 +150895,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -143528,7 +150991,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -143560,7 +151024,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -143649,7 +151114,8 @@ { "id": 1712046036, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -143678,7 +151144,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -143770,7 +151237,8 @@ { "id": 1676, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -143798,7 +151266,8 @@ "support_default_value": 1, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -143971,7 +151440,8 @@ { "id": 1712045777, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -143999,7 +151469,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -144008,7 +151479,8 @@ { "id": 1712045812, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -144036,7 +151508,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -144090,7 +151563,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -144120,7 +151594,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -144365,7 +151840,8 @@ { "id": 1712652455, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -144393,7 +151869,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -144439,7 +151916,8 @@ { "id": 1561, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -144467,7 +151945,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -144681,7 +152160,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -144711,7 +152191,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -144722,7 +152203,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -144752,7 +152234,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -144761,7 +152244,8 @@ { "id": 1675, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -144778,7 +152262,7 @@ "create_time": "2021-09-14 13:36:51", "update_time": "2021-09-14 13:37:41", "event_output": null, - "custom_field_type": null, + "custom_field_type": "any", "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -144789,7 +152273,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -144962,7 +152447,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -144995,7 +152481,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number", @@ -145005,7 +152492,8 @@ { "id": 3123, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -145033,7 +152521,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -145195,6 +152684,43 @@ "Object" ] }, + { + "id": 1762601023, + "platform_framework": [ + "128" + ], + "component": "Upload", + "field_category": 1, + "field_name": "transition", + "field_type": [ + "8" + ], + "field_default_value": "`{backTransition: true, duration: 300, timingFunction: 'ease'}`", + "field_enum": "", + "field_desc_zh": "拖拽位置移动时的过渡参数,`duration`单位为ms", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2025-11-08 11:23:43", + "update_time": "2025-11-08 11:23:43", + "event_output": null, + "custom_field_type": "Transition【interface Transition { backTransition?: boolean, duration?: number, timingFunction?: string }】", + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [ + "Object" + ] + }, { "id": 889, "platform_framework": [ @@ -145550,6 +153076,39 @@ ], "field_type_text": [] }, + { + "id": 1762451394, + "platform_framework": [ + "128" + ], + "component": "Upload", + "field_category": 2, + "field_name": "add", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "选择后触发,仅包含本次选择的照片;`url` 表示选定视频的临时文件路径 (本地路径)。`duration` 表示选定视频的时间长度。`size`选定视频的数据量大小。更多描述参考 wx.chooseMedia 小程序官网描述", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { files: MediaContext })", + "create_time": "2025-11-06 17:49:54", + "update_time": "2025-11-06 17:49:54", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1791, "platform_framework": [ @@ -145657,6 +153216,39 @@ ], "field_type_text": [] }, + { + "id": 1762451413, + "platform_framework": [ + "128" + ], + "component": "Upload", + "field_category": 2, + "field_name": "click", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击已选文件时触发;常用于重新上传", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { index: number; file: VideoContext | ImageContext })", + "create_time": "2025-11-06 17:50:13", + "update_time": "2025-11-06 17:50:13", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 1712660309, "platform_framework": [ @@ -145695,7 +153287,8 @@ { "id": 1674, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 2, @@ -145721,7 +153314,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -145863,6 +153457,39 @@ ], "field_type_text": [] }, + { + "id": 1762451434, + "platform_framework": [ + "128" + ], + "component": "Upload", + "field_category": 2, + "field_name": "drop", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "拖拽结束后触发,包含所有上传的文件(拖拽后的文件顺序);`url` 表示选定视频的临时文件路径 (本地路径)。`duration` 表示选定视频的时间长度。`size` 选定视频的数据量大小。更多描述参考 wx.chooseMedia 小程序官网描述", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { files: MediaContext }) ", + "create_time": "2025-11-06 17:50:34", + "update_time": "2025-11-06 17:50:34", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 892, "platform_framework": [ @@ -145905,7 +153532,8 @@ { "id": 1673, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 2, @@ -145931,7 +153559,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -146155,6 +153784,39 @@ ], "field_type_text": [] }, + { + "id": 1762451458, + "platform_framework": [ + "128" + ], + "component": "Upload", + "field_category": 2, + "field_name": "remove", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "移除文件时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { index: number; file: UploadFile })", + "create_time": "2025-11-06 17:50:58", + "update_time": "2025-11-06 17:50:58", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "MouseEvent", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 2337, "platform_framework": [ @@ -146227,6 +153889,39 @@ ], "field_type_text": [] }, + { + "id": 1762451476, + "platform_framework": [ + "128" + ], + "component": "Upload", + "field_category": 2, + "field_name": "selectChange", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "选择文件或图片之后,上传之前,触发该事件。
`files` 表示之前已经上传完成的文件列表。
`currentSelectedFiles` 表示本次上传选中的文件列表", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { files: MediaContext[]; currentSelectedFiles: MediaContext[] })", + "create_time": "2025-11-06 17:51:16", + "update_time": "2025-11-06 17:51:16", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 891, "platform_framework": [ @@ -146299,6 +153994,39 @@ ], "field_type_text": [] }, + { + "id": 1762451492, + "platform_framework": [ + "128" + ], + "component": "Upload", + "field_category": 2, + "field_name": "success", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "上传成功后触发,包含所有上传的文件;`url` 表示选定视频的临时文件路径 (本地路径)。`duration` 表示选定视频的时间长度。`size`选定视频的数据量大小。更多描述参考 wx.chooseMedia 小程序官网描述", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { files: MediaContext })【type MediaContext = VideoContext[] | ImageContext[]】【interface VideoContext { name?: string; type?: string; url?: string; duration?: number; size?: number; width?: number; height?: number; thumb: string; progress: number }】【interface ImageContext { name: string; type: string; url: string; size: number; width: number; height: number; progress: number }】", + "create_time": "2025-11-06 17:51:32", + "update_time": "2025-11-06 17:51:32", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "UniApp" + ], + "field_type_text": [] + }, { "id": 2929, "platform_framework": [ @@ -147246,7 +154974,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 1, @@ -147278,7 +155007,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -147291,7 +155021,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 1, @@ -147323,7 +155054,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -147336,7 +155068,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 1, @@ -147368,7 +155101,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -147381,7 +155115,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 1, @@ -147413,7 +155148,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -147426,7 +155162,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 1, @@ -147458,7 +155195,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -147471,7 +155209,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 1, @@ -147503,7 +155242,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -147516,7 +155256,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 1, @@ -147548,7 +155289,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -147561,7 +155303,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 1, @@ -147593,7 +155336,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -147606,7 +155350,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 1, @@ -147638,7 +155383,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -147651,7 +155397,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 1, @@ -147683,7 +155430,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -147696,7 +155444,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 16, @@ -147726,7 +155475,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -147737,7 +155487,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -147769,7 +155520,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -147823,7 +155575,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -147856,7 +155609,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -147911,7 +155665,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -147943,7 +155698,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -147956,7 +155712,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -147988,7 +155745,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -148001,7 +155759,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -148033,7 +155792,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -148046,7 +155806,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -148078,7 +155839,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -148091,7 +155853,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -148123,7 +155886,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -148136,7 +155900,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -148168,7 +155933,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -148181,7 +155947,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -148213,7 +155980,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -148226,7 +155994,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -148258,7 +156027,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -148271,7 +156041,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -148303,7 +156074,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -148316,7 +156088,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -148349,7 +156122,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object", @@ -148363,7 +156137,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -148395,7 +156170,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -148408,7 +156184,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -148440,7 +156217,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -148453,7 +156231,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -148485,7 +156264,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -148498,7 +156278,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -148530,7 +156311,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -148539,7 +156321,8 @@ { "id": 1759203528, "platform_framework": [ - "64" + "64", + "128" ], "component": "Watermark", "field_category": 512, @@ -148565,7 +156348,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -148576,7 +156360,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "WatermarkImage", "field_category": 1, @@ -148608,7 +156393,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -148621,7 +156407,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "WatermarkImage", "field_category": 1, @@ -148653,7 +156440,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -148666,7 +156454,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "WatermarkText", "field_category": 1, @@ -148698,7 +156487,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -148711,7 +156501,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "WatermarkText", "field_category": 1, @@ -148743,7 +156534,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -148756,7 +156548,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "WatermarkText", "field_category": 1, @@ -148788,7 +156581,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -148801,7 +156595,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "WatermarkText", "field_category": 1, @@ -148833,7 +156628,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -148846,7 +156642,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "WatermarkText", "field_category": 1, @@ -148878,7 +156675,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" diff --git a/packages/scripts/config/files-combine.js b/packages/scripts/config/files-combine.js index a937eae7..1757505c 100644 --- a/packages/scripts/config/files-combine.js +++ b/packages/scripts/config/files-combine.js @@ -93,7 +93,7 @@ const GLOBAL_CONFIG_PROVIDER = [ 'ConfigProvider', 'GlobalConfigProvider', ].concat(GLOBAL_COMPONENTS_CONFIG); -const MOBILE_FRAMES = ['Vue(Mobile)', 'React(Mobile)', 'Miniprogram']; +const MOBILE_FRAMES = ['Vue(Mobile)', 'React(Mobile)', 'Miniprogram', 'UniApp']; // 输出 API 文档时,哪些需要文件需要合并输出,数据内容为组件/插件名称 const COMPONENT_API_MD_MAP = { @@ -119,7 +119,7 @@ const COMPONENT_API_MD_MAP = { }, Col: { list: ['Col', 'Row'], - includes: ['Miniprogram'], + includes: ['Miniprogram', 'UniApp'], }, // Web 侧是 Grid + Row + Col,移动端和小程序是 Grid + GridItem Grid: [ @@ -157,12 +157,12 @@ const COMPONENT_API_MD_MAP = { Loading: ['Loading', '$Loading'], Upload: { list: ['Upload', 'UploadFile'], - excludes: ['Miniprogram'], + excludes: ['Miniprogram', 'UniApp'], }, List: ['List', 'ListItem', 'ListItemMeta'], Picker: { list: ['Picker', 'PickerItem'], - includes: ['Miniprogram'], + includes: ['Miniprogram', 'UniApp'], }, TimePicker: [ 'TimePicker', @@ -237,7 +237,7 @@ const MOBILE_COMPONENT_API_MD_MAP = { const MINIPROGRAM_COMPONENT_API_MD_MAP = { Swiper: { list: ['Swiper', 'SwiperNav'], - includes: ['Miniprogram'], + includes: ['Miniprogram', 'UniApp'], }, Chat: [], }; @@ -246,19 +246,19 @@ const MINIPROGRAM_COMPONENT_API_MD_MAP = { const TYPES_COMBINE_MAP = { Avatar: { list: ['Avatar', 'AvatarGroup'], - excludes: ['Miniprogram'], + excludes: ['Miniprogram', 'UniApp'], }, Checkbox: { list: ['Checkbox', 'CheckboxGroup'], - excludes: ['Miniprogram'], + excludes: ['Miniprogram', 'UniApp'], }, Cell: { list: ['Cell', 'CellGroup'], - excludes: ['Miniprogram'], + excludes: ['Miniprogram', 'UniApp'], }, Radio: { list: ['Radio', 'RadioGroup'], - excludes: ['Miniprogram'], + excludes: ['Miniprogram', 'UniApp'], }, Message: { list: MESSAGE_LIST, @@ -275,22 +275,22 @@ const TYPES_COMBINE_MAP = { }, Tabs: { list: ['Tabs', 'TabPanel'], - excludes: ['Miniprogram'], + excludes: ['Miniprogram', 'UniApp'], }, TabBar: { list: ['TabBar', 'TabBarItem'], - excludes: ['Miniprogram'], + excludes: ['Miniprogram', 'UniApp'], }, Pagination: { list: ['Pagination', 'PaginationMini'], }, Tag: { list: ['Tag', 'CheckTag', 'CheckTagGroup'], - excludes: ['Miniprogram'], + excludes: ['Miniprogram', 'UniApp'], }, Collapse: { list: ['Collapse', 'CollapsePanel'], - excludes: ['Miniprogram'], + excludes: ['Miniprogram', 'UniApp'], }, // Web 侧是 Grid + Row + Col,移动端和小程序是 Grid + GridItem Grid: [ @@ -312,7 +312,7 @@ const TYPES_COMBINE_MAP = { }, DropdownMenu: { list: ['DropdownMenu', 'DropdownItem'], - excludes: ['Miniprogram'], + excludes: ['Miniprogram', 'UniApp'], }, Dialog: { list: [ @@ -336,7 +336,7 @@ const TYPES_COMBINE_MAP = { }, Steps: { list: ['Steps', 'StepItem'], - excludes: ['Miniprogram'], + excludes: ['Miniprogram', 'UniApp'], }, Calendar: { list: ['Calendar', 'CalendarController', 'CalendarCell'], @@ -352,14 +352,14 @@ const TYPES_COMBINE_MAP = { }, Upload: { list: ['Upload', 'UploadFile'], - excludes: ['Miniprogram'], + excludes: ['Miniprogram', 'UniApp'], }, List: { list: ['List', 'ListItem', 'ListItemMeta'], }, Picker: { list: ['Picker', 'PickerItem'], - excludes: ['Miniprogram'], + excludes: ['Miniprogram', 'UniApp'], }, TimePicker: { list: [ @@ -418,11 +418,11 @@ const TYPES_COMBINE_MAP = { }, SideBar: { list: ['SideBar', 'SideBarItem'], - excludes: ['Miniprogram'], + excludes: ['Miniprogram', 'UniApp'], }, Indexes: { list: ['Indexes', 'IndexesAnchor'], - excludes: ['Miniprogram'], + excludes: ['Miniprogram', 'UniApp'], }, Typography: { list: [ @@ -454,11 +454,11 @@ const TYPES_COMBINE_MAP = { const MOBILE_TYPES_COMBINE_MAP = { Layout: { list: ['Layout', 'Row', 'Col'], - excludes: ['Miniprogram'], + excludes: ['Miniprogram', 'UniApp'], }, Grid: { list: ['Grid', 'GridItem'], - excludes: ['Miniprogram'], + excludes: ['Miniprogram', 'UniApp'], }, List: ['List'], }; @@ -466,11 +466,11 @@ const MOBILE_TYPES_COMBINE_MAP = { const MINIPROGRAM_TYPES_COMBINE_MAP = { Swiper: { list: ['Swiper', 'SwiperNav'], - excludes: ['Miniprogram'], + excludes: ['Miniprogram', 'UniApp'], }, Form: { list: ['Form', 'FormList', 'FormRule', 'FormErrorMessage'], - includes: ['Miniprogram'], + includes: ['Miniprogram', 'UniApp'], }, Chat: [], }; diff --git a/packages/scripts/config/index.js b/packages/scripts/config/index.js index 90d95250..f4a27255 100644 --- a/packages/scripts/config/index.js +++ b/packages/scripts/config/index.js @@ -191,6 +191,30 @@ const FRAMEWORK_MAP = { getDocs: getVueApiDocs, titleMap: VUE_TITLE_MAP, }, + UniApp: { + iconPath: 'tdesign-icons-uniapp', + apiBasePath: `${BASE_PATH_URL}/tdesign-uniapp/packages/tdesign`, + apiEnglishBasePath: '', + tsBasePath: `${BASE_PATH_URL}/tdesign-uniapp/packages/tdesign`, + propsBasePath: `${BASE_PATH_URL}/tdesign-uniapp/packages/tdesign`, + tsBaseFileName: 'USE_TYPE_NAME', + globalPath: `${BASE_PATH_URL}/tdesign-uniapp/packages/tdesign/common/common.ts`, + globalTplPath: path.resolve( + __dirname, + '../types/global/uniapp.tpl' + ), + unitBasePath: '', + commonTypePath: + 'https://github.com/novlan1/tdesign-uniapp/blob/develop/packages/tdesign/common/common.ts', + componentPath: + 'https://github.com/novlan1/tdesign-uniapp/blob/develop/packages/tdesign/', + commonRelativePath: '../common/common', + componentRelativiePath: '../', + vscodePath: `${BASE_PATH_URL}/vscode-tdesign/document/uniapp`, + getDocs: getVueApiDocs, + titleMap: VUE_TITLE_MAP, + volarPath: `${BASE_PATH_URL}/tdesign-vue-next/packages/tdesign-vue-next/global.d.ts`, + }, }; module.exports = { diff --git a/packages/scripts/config/language/description.js b/packages/scripts/config/language/description.js index 1d42c5d7..887ed955 100644 --- a/packages/scripts/config/language/description.js +++ b/packages/scripts/config/language/description.js @@ -9,11 +9,13 @@ module.exports = { 'Vue(PC)': '支持语法糖 `v-model`', 'VueNext(PC)': '支持语法糖 `v-model` 或 `v-model:name`', 'Vue(Mobile)': '支持语法糖 `v-model` 或 `v-model:name`', + 'UniApp': '支持语法糖 `v-model:name`', }, syntaxSugarText: { 'Vue(PC)': '支持语法糖 `.sync`', 'VueNext(PC)': '支持语法糖 `v-model:name`', 'Vue(Mobile)': '支持语法糖 `v-model:name`', + 'UniApp': '支持语法糖 `v-model:name`', }, uncontrolledText: '非受控属性', optionsText: '可选项:', @@ -25,6 +27,7 @@ module.exports = { classNameText: '类名', styleText: '样式', customStyleText: '一般用于开启虚拟化组件节点场景', + customStyleTextInUniApp: '自定义样式', }, en: { descriptionField: 'field_desc_en', @@ -35,12 +38,14 @@ module.exports = { 'Vue(PC)': '`v-model` is supported', 'VueNext(PC)': '`v-model` and `v-model:name` is supported', 'Vue(Mobile)': '`v-model` and `v-model:name` is supported', + UniApp: '`v-model:name` is supported', }, // syntaxSugarText: 'support syntax sugar', syntaxSugarText: { 'Vue(PC)': '`.sync` is supported', 'VueNext(PC)': '`v-model:name` is supported', 'Vue(Mobile)': '`v-model:name` is supported', + UniApp: '`v-model:name` is supported', }, uncontrolledText: 'uncontrolled property', optionsText: 'options: ', @@ -52,5 +57,6 @@ module.exports = { classNameText: 'className of component', styleText: 'CSS(Cascading Style Sheets)', customStyleText: 'used to set style on virtual component', + customStyleTextInUniApp: 'CSS(Cascading Style Sheets)', }, }; diff --git a/packages/scripts/docs/index.js b/packages/scripts/docs/index.js index 12a35109..15732bcc 100644 --- a/packages/scripts/docs/index.js +++ b/packages/scripts/docs/index.js @@ -74,7 +74,7 @@ function outputComponentMD(file, apiData, isVscode) { } function getDocFileName(cmp, framework) { - if (framework === 'Miniprogram') return 'README'; + if (['Miniprogram', 'UniApp'].includes(framework)) return 'README'; return kebabCaseComponent(cmp); } diff --git a/packages/scripts/docs/vue.js b/packages/scripts/docs/vue.js index 1ea0d8cc..0d3975ef 100644 --- a/packages/scripts/docs/vue.js +++ b/packages/scripts/docs/vue.js @@ -38,6 +38,7 @@ const API_DOC_BLOCKS = { 'Vue(Mobile)': ['Props', 'Events', 'Functions'], 'React(Mobile)': ['Props', 'Functions'], Miniprogram: ['Props', 'Events', 'Functions', 'Slots', 'External Classes', 'CSS Variables'], + UniApp: ['Props', 'Events', 'Functions', 'Slots', 'External Classes', 'CSS Variables'], }; // 通用属性 @@ -56,9 +57,10 @@ function categoryOrder(res) { function groupByFieldCategory(framework, componentApi) { const result = {}; const isMini = framework === 'Miniprogram'; + const isUniApp = framework === 'UniApp'; componentApi.forEach((apiOriginal) => { const api = { ...apiOriginal }; - const isSlot = isMini ? api.field_type_text.includes('TNode') : false; + const isSlot = (isMini || isUniApp) ? api.field_type_text.includes('TNode') : false; const isExtend = api.field_category_text === 'Extends'; const isFunction = (isPlugin(api.component)) && api.field_category_text === 'Functions'; if (isExtend) { @@ -111,11 +113,11 @@ function sortSlotsArrExceptFirst(arr) { return [firstItem, ...restItems]; } -function shouldShowLink(arr, isMini, isSlots) { +function shouldShowLink(arr, isMiniOrUni, isSlots) { const isNonEmpty = arr.length > 0; const isNotSingleTNode = arr.length !== 1 || arr[0] !== 'TNode'; - if (!isMini) { + if (!isMiniOrUni) { return isNonEmpty; } return isNonEmpty && isNotSingleTNode && !isSlots; @@ -135,6 +137,7 @@ function formatDesc( ) { const desc = []; const isMiniprogram = framework === 'Miniprogram'; + const isUniApp = framework === 'UniApp'; const curLanguage = languageConfig[LANGUAGE]; // 是否已废弃 if (api.deprecated) { @@ -158,7 +161,7 @@ function formatDesc( desc.push(api[curLanguage.descriptionField]); } // 语法糖 - if (framework.indexOf('Vue') !== -1 && api.syntactic_sugar && !isUncontrol) { + if ((framework.indexOf('Vue') !== -1 || framework === 'UniApp') && api.syntactic_sugar && !isUncontrol) { if (api.syntactic_sugar === 'v-model') { desc.push(curLanguage.vmodelSugarText[framework].replace('name', api.field_name)); } else if (api.syntactic_sugar === 'sync') { @@ -204,14 +207,14 @@ function formatDesc( importIndex >= 0 && customFieldType.splice(importIndex, 1); customFieldType = customFieldType.join('` `'); } - if ((isMiniprogram && customFieldType.indexOf('TNode') === -1) || !isMiniprogram) { + if (((isMiniprogram || isUniApp) && customFieldType.indexOf('TNode') === -1) || !(isMiniprogram || isUniApp)) { // tsTypeText 中文"TS 类型" const language = languageConfig[LANGUAGE]; const tsLabel = api.field_name === 'externalClasses' ? '' : `${language.tsTypeText}`; desc.push(`${tsLabel}\`${customFieldType}\`${importDocPath}`); } // 有使用了通用类型,就显示定义链接 - if (shouldShowLink(filters, isMiniprogram, category === 'Slots')) { + if (shouldShowLink(filters, isMiniprogram || isUniApp, category === 'Slots')) { const text = languageConfig[LANGUAGE].commonDefineText; desc.push(`[${text}](${config.commonTypePath})`); } @@ -237,6 +240,7 @@ function formatToVueApi(api, params) { const { isUncontrol, framework, current: config } = params; const r = { ...api }; const isMiniprogram = ['Miniprogram'].includes(params.framework); + const isUniApp = ['UniApp'].includes(params.framework); let desc = []; let interfaceDescription = []; // 是否存在复杂的类型定义 @@ -300,7 +304,7 @@ function formatToVueApi(api, params) { let tmp = type.concat(); if (['Vue(PC)', 'VueNext(PC)', 'Vue(Mobile)'].includes(params.framework)) { tmp.splice(i, 1, 'Slot', 'Function'); - } else if (isMiniprogram) { + } else if (isMiniprogram || isUniApp) { tmp.splice(i, 1); // 小程序端插槽部分独立输出 } else if (params.framework.indexOf('React') !== -1) { tmp = type.join() === 'TNode' ? ['TElement'] : ['TNode']; @@ -316,7 +320,7 @@ function formatToVueApi(api, params) { desc = desc.concat(tmp); r.field_desc_zh = desc.filter(v => !!v).join('。'); // 小程序的属性一般显示为中划线 - if (['Miniprogram'].includes(params.framework)) { + if (['Miniprogram', 'UniApp'].includes(params.framework)) { r.field_name = kebabCaseComponent(r.field_name); } return r; @@ -363,7 +367,7 @@ function formatEventToProps(api) { } function getOneApi(newApi, current, docTitleType, framework) { - if (!current || (framework === 'Miniprogram' && docTitleType === 'Props' && newApi.field_type_text === '')) return; + if (!current || (['Miniprogram', 'UniApp'].includes(framework) && docTitleType === 'Props' && newApi.field_type_text === '')) return; const f = pick(newApi, current.titleMap[LANGUAGE][docTitleType].fields); // eslint-disable-next-line no-useless-escape const oneApi = Object.values(f).map(item => item || '\\-') @@ -410,6 +414,10 @@ function addCommonProperties({ `style | Object | - | ${languageInfo.styleText} | N`, `custom-style | Object | - | ${languageInfo.styleText},${languageInfo.customStyleText} | N`, ]); + } else if (framework === 'UniApp' && !COMPONENTS_MAP[cmp].type && category === 'Props') { + md[category].apis.push(...[ + `custom-style | Object | - | ${languageInfo.customStyleTextInUniApp} | N`, + ]); } } @@ -423,6 +431,7 @@ function getVueApiDocs(componentMap, current, framework, globalConfigData, langu currentFramework = framework; const result = {}; const isMiniprogram = framework === 'Miniprogram'; + const UniApp = framework === 'UniApp'; if (language) { LANGUAGE = language; } @@ -503,7 +512,7 @@ function getVueApiDocs(componentMap, current, framework, globalConfigData, langu md[category].apis.push(oneSugarApi); } // API 规范:事件同时也需要作为 props - if (category === 'Events' && !isMiniprogram) { + if (category === 'Events' && !isMiniprogram && !UniApp) { const eventApi = formatEventToProps(newApi); md.Props && md.Props.apis.push(eventApi); } diff --git a/packages/scripts/index.js b/packages/scripts/index.js index b999864c..addec02b 100644 --- a/packages/scripts/index.js +++ b/packages/scripts/index.js @@ -119,7 +119,11 @@ function generateComponentApi() { frameworkMap[framework === 'VueNext(PC)' ? 'Vue(PC)' : framework] ); const cmpMap = getApiComponentMapByFrameWork( - framework === 'Miniprogram' ? Object.assign(COMPONENT_API_MD_MAP, MOBILE_COMPONENT_API_MD_MAP, MINIPROGRAM_COMPONENT_API_MD_MAP) : (MOBILE_FRAMES.includes(framework)? Object.assign(COMPONENT_API_MD_MAP, MOBILE_COMPONENT_API_MD_MAP): COMPONENT_API_MD_MAP), + ['Miniprogram', 'UniApp'].includes(framework) + ? Object.assign(COMPONENT_API_MD_MAP, MOBILE_COMPONENT_API_MD_MAP, MINIPROGRAM_COMPONENT_API_MD_MAP) + : (MOBILE_FRAMES.includes(framework) + ? Object.assign(COMPONENT_API_MD_MAP, MOBILE_COMPONENT_API_MD_MAP) + : COMPONENT_API_MD_MAP), framework ); const baseData = pick(frameworkData, cmpMap[component] || [component]); @@ -236,6 +240,7 @@ function validateParams(components) { 'React(Mobile)', 'Angular(Mobile)', 'Miniprogram', + 'UniApp' ]; if (!keys.includes(framework)) { console.error( diff --git a/packages/scripts/map.json b/packages/scripts/map.json index 461791da..54c4d85f 100644 --- a/packages/scripts/map.json +++ b/packages/scripts/map.json @@ -87,6 +87,10 @@ { "label": "Miniprogram", "value": "64" + }, + { + "label": "UniApp", + "value": "128" } ], "field_type": [ diff --git a/packages/scripts/types/global/uniapp.tpl b/packages/scripts/types/global/uniapp.tpl new file mode 100644 index 00000000..e7537ec4 --- /dev/null +++ b/packages/scripts/types/global/uniapp.tpl @@ -0,0 +1,98 @@ +export type Classes = Array; + +export interface Styles { + [css: string]: string | number; +} + +export type ImageEvent = any; + +export type PlainObject = { [key: string]: any }; + +export type OptionData = { + label?: string; + value?: string | number; +} & PlainObject; + +export type TreeOptionData = { + children?: Array> | boolean; + /** option label content */ + label?: string; + /** option search text */ + text?: string; + /** option value */ + value?: T; + /** option node content */ + content?: string; +} & PlainObject; + +export type FormResetEvent = Event; + +export type FormSubmitEvent = Event; + +/** + * 移除 on 前缀并可选地去掉可选修饰符 + * @param T - 原始类型 + * @param MakeRequired - 是否将属性变为必需(默认 false) + */ +export type TransformEventHandlers< + T, + MakeRequired extends boolean = false +> = MakeRequired extends true + ? { + [K in keyof T as K extends `on${infer Event}` + ? Uncapitalize + : never + ]-?: T[K] + } + : { + [K in keyof T as K extends `on${infer Event}` + ? Uncapitalize + : never + ]: T[K] + }; + + +type WrapWithContext any> = + T extends (...args: infer P) => infer R + ? (context: { [K in keyof P]: P[K] }) => R + : never; + + +export type WrapParamsWithContext = { + [K in keyof T]: T[K] extends (...args: any[]) => any + ? WrapWithContext + : T[K]; +}; + + +// 提取非 on 开头的属性 +export type ExtractNonOnProps = { + [K in keyof T as K extends `on${string}` ? never : K]: T[K] +}; + +export interface IsEmailOptions { + allow_display_name?: boolean; + require_display_name?: boolean; + allow_utf8_local_part?: boolean; + require_tld?: boolean; + allow_ip_dot?: boolean; + domain_specific_validation?: boolean; + host_blacklist?: string[]; + ignore_max_length?: boolean; +} + +export interface IsURLOptions { + protocols?: string[]; + require_tld?: boolean; + require_protocol?: boolean; + require_host?: boolean; + require_port?: boolean; + require_valid_protocol?: boolean; + allow_underscores?: boolean; + host_whitelist?: (string | RegExp)[]; + host_blacklist?: (string | RegExp)[]; + allow_trailing_dot?: boolean; + allow_protocol_relative_urls?: boolean; + disallow_auth?: boolean; + validate_length?: boolean; +} \ No newline at end of file diff --git a/packages/scripts/types/index.js b/packages/scripts/types/index.js index 0fbcaf1c..9b9b1d4a 100644 --- a/packages/scripts/types/index.js +++ b/packages/scripts/types/index.js @@ -142,7 +142,7 @@ function getEventsApiType(api) { api.event_input ); r = { - type: baseName ? `${baseName}` : '()', + type: baseName ?(baseName.startsWith('(') ? `${baseName}`: `(${baseName})`) : '()', exports, imports, }; @@ -312,7 +312,7 @@ function getGlobalsImports(str, framework) { .filter((key) => map[key].types.length) .map( (key) => - `import { ${map[key].types.join(', ')} } from '${ + `import type { ${map[key].types.join(', ')} } from '${ map[key].path }';` ); @@ -375,8 +375,21 @@ function handleApiByFramework(api, framework) { */ function formatAliasImportsPath(imports, framework) { const current = FRAMEWORK_MAP[framework]; + const isUniApp = framework === 'UniApp'; return imports .filter((v) => !!v) + .map(item => { + if (!isUniApp) { + return item; + } + const reg =/import\s+\{\s+(\w+)/ + return item.replace(reg, (a, b) => { + if (!b.endsWith('Props')) { + return `import type { ${b}` + } + return `import type { Td${b} as ${b}` + }) + }) .map((item) => { if (item.indexOf('@icon') !== -1) { return item.replace('@icon', current.iconPath); @@ -390,6 +403,9 @@ function formatAliasImportsPath(imports, framework) { if (framework === 'Miniprogram') { relativePath = `${relativePath}/index`; } + if (isUniApp) { + relativePath = `${relativePath}/type`; + } return `'${relativePath}'`; }); } @@ -408,6 +424,7 @@ function formatImportsPath(imports, framework) { 'Vue(Mobile)', 'React(Mobile)', 'Miniprogram', + 'UniApp', ].includes(framework) ) { newImports = formatAliasImportsPath(imports, framework); @@ -628,7 +645,11 @@ function getTypeScriptDesc(componentMap, framework) { function combineTsFile(componentMap, framework) { const ts = getTypeScriptDesc(componentMap, framework); const rMap = getApiComponentMapByFrameWork( - framework === 'Miniprogram' ? Object.assign(TYPES_COMBINE_MAP, MOBILE_TYPES_COMBINE_MAP, MINIPROGRAM_TYPES_COMBINE_MAP) : (MOBILE_FRAMES.includes(framework)? Object.assign(TYPES_COMBINE_MAP, MOBILE_TYPES_COMBINE_MAP): TYPES_COMBINE_MAP), + framework === 'Miniprogram'|| framework === 'UniApp' + ? Object.assign(TYPES_COMBINE_MAP, MOBILE_TYPES_COMBINE_MAP, MINIPROGRAM_TYPES_COMBINE_MAP) + : (MOBILE_FRAMES.includes(framework) + ? Object.assign(TYPES_COMBINE_MAP, MOBILE_TYPES_COMBINE_MAP) + : TYPES_COMBINE_MAP), framework ); Object.keys(rMap).forEach((cmp) => { @@ -687,6 +708,7 @@ function combineTsFile(componentMap, framework) { 'Vue(Mobile)', 'Miniprogram', 'React(Mobile)', + 'UniApp' ].includes(framework) ) { ts[cmp].imports = ts[cmp].imports.concat( diff --git a/packages/scripts/types/t-node.js b/packages/scripts/types/t-node.js index 000c9f8a..fd5e998e 100644 --- a/packages/scripts/types/t-node.js +++ b/packages/scripts/types/t-node.js @@ -72,6 +72,8 @@ function formatTNode(framework, type, customType) { return getReactTNodeType(type, newCustomType); case 'Miniprogram': return getMiniprogramTNodeType(type, newCustomType); + case 'UniApp': + return getMiniprogramTNodeType(type, newCustomType); } } diff --git a/packages/scripts/types/vue-props.js b/packages/scripts/types/vue-props.js index 14a65f9b..e8d7feff 100644 --- a/packages/scripts/types/vue-props.js +++ b/packages/scripts/types/vue-props.js @@ -26,7 +26,7 @@ function getPropType(cmp, name) { } function isNeedPropType(typeName, api) { - if (currentFramework === 'Miniprogram') return false; + if (['Miniprogram', 'UniApp'].includes(currentFramework)) return false; const multipleTypeStr = !!(typeName === 'String' && (api.field_enum || api.custom_field_type)); const complicatedApi = ['Function', 'Object', 'Array'].includes(typeName) || api.field_type_text.length > 1; @@ -38,7 +38,7 @@ function getType(cmp, api, name) { type = type .map((t) => { // 小程序只需要支持插槽,不需要支持 function - const nodeType = currentFramework === 'Miniprogram' ? '' : 'Function'; + const nodeType = ['Miniprogram', 'UniApp'].includes(currentFramework) ? '' : 'Function'; return t === 'TNode' ? nodeType : t; }) .filter(v => !!v); @@ -60,6 +60,7 @@ function getDefaultValue(cmp, api, name, isUncontrolApi, useDefault) { if (currentFramework !== 'Miniprogram') { try { const tmp = JSON.parse(dl); + // TODO: uniapp if (['object', 'function'].includes(typeof tmp) && !(tmp instanceof Array)) { dl = `() => (${dl})`; } else if (tmp instanceof Array) { @@ -130,7 +131,7 @@ function getDefaultWithType(api, dl, valueType) { const defaultField = isMiniprogram ? 'value:' : 'default:'; // Vue3 所有默认值均需要 as 类型,否则 Vue3 无法正常编译出数据类型 - const isVue3NeedDefaultTsType = ['Vue(Mobile)', 'VueNext(PC)'].includes(currentFramework) + const isVue3NeedDefaultTsType = ['Vue(Mobile)', 'VueNext(PC)', 'UniApp'].includes(currentFramework) && ( api.field_type_text?.length > 1 || (api.custom_field_type && ['\'\'', 'undefined'].includes(dl)) @@ -149,6 +150,7 @@ function formatNormalProps(api, cmp, extraParams = {}) { name = getDefaultValueName(api.field_name); } const isMiniprogram = currentFramework === 'Miniprogram'; + const isUniApp = currentFramework === 'UniApp'; // Boolean 类型,且默认值为 false,则不需要过多的处理(小程序 prop 只能是 Object,不能是 block: Boolean if ( !isMiniprogram @@ -161,7 +163,7 @@ function formatNormalProps(api, cmp, extraParams = {}) { const dl = getDefaultValue(cmp, api, name, isUncontrolApi, useDefault); const isVueMobile = currentFramework === 'Vue(Mobile)'; const isVueWeb = ['Vue(PC)', 'VueNext(PC)'].includes(currentFramework); - if (dl && !isUncontrolApi && api.syntactic_sugar && (isVueMobile || (isVueWeb && useDefault))) { + if (dl && !isUncontrolApi && api.syntactic_sugar && (isVueMobile || isUniApp || (isVueWeb && useDefault))) { const content = ['type: Boolean', 'default: undefined'].map(t => ` ${t},\n`).join(''); oneApiStr = [` ${name}: {\n${content} }`]; } else { @@ -229,14 +231,18 @@ function formatNormalProps(api, cmp, extraParams = {}) { return oneApiStr; } -function formatEventProps(api, cmp) { +function formatEventProps(api, cmp, framework) { const name = getEventName(api.field_name); + if (framework === 'UniApp') { + return ` ${name}: {\n type: Function,\n default: () => ({}),\n }`; + } return ` ${name}: Function as PropType<${getPropType(cmp, name)}>`; } // 类型定义可能来自组件基础文件,比如:ForItemProps 类型定义来源于 Form 目录 function getImportPath(body, cmp, framework) { let r = ''; + const isUniApp = framework === 'UniApp'; const tdName = getTdCmpName(cmp); if (body.indexOf(tdName) !== -1) { const parentCmp = FRAMEWORK_TYPES_COMPONENT_RELATION[cmp]; @@ -244,10 +250,11 @@ function getImportPath(body, cmp, framework) { framework === 'Vue(PC)' || framework === 'VueNext(PC)' || framework === 'Vue(Mobile)' + || isUniApp ) { r = parentCmp && parentCmp !== cmp - ? `import { ${tdName} } from '../${getFolderName(parentCmp)}/type';\n` - : `import { ${tdName} } from './type';\n`; + ? `import ${isUniApp ? 'type ': ''}{ ${tdName} } from '../${getFolderName(parentCmp)}/type';\n` + : `import ${isUniApp ? 'type ': ''}{ ${tdName} } from './type';\n`; } } return r; @@ -284,6 +291,7 @@ function formatApiToProps(baseData, framework, isUseDefault) { if (isTypeApi(cmp)) return; let propStrs = []; const isMiniprogram = currentFramework === 'Miniprogram'; + const isUniApp = currentFramework === 'UniApp'; const miniprogram = {}; baseData[cmp].forEach((api) => { //废弃属性不放在 props 中 @@ -301,10 +309,10 @@ function formatApiToProps(baseData, framework, isUseDefault) { if (api.html_attribute) return; const category = api.field_category_text; if (!['Props', 'Events'].includes(category)) return; - if (isMiniprogram && !['Props'].includes(category)) return; - const propsCode = category === 'Props' + if ((isMiniprogram) && !['Props'].includes(category)) return; + const propsCode = category === 'Props' ? formatNormalProps(api, cmp) - : formatEventProps(api, cmp); + : formatEventProps(api, cmp, framework); let desc = api.field_desc_zh; if (api.html_attribute) { desc = `HTML 原生属性。${desc}`; @@ -382,7 +390,7 @@ function getPropsByComponent(baseData, framework, component, isUseDefault) { function generateVueProps(baseData, framework, isUseDefault) { if ( - !['Vue(PC)', 'VueNext(PC)', 'Vue(Mobile)', 'Miniprogram'].includes(framework) + !['Vue(PC)', 'VueNext(PC)', 'Vue(Mobile)', 'Miniprogram', 'UniApp'].includes(framework) ) return; currentFramework = framework; useDefault = isUseDefault; diff --git a/packages/scripts/upload.js b/packages/scripts/upload.js index 1b262736..526f2ac9 100644 --- a/packages/scripts/upload.js +++ b/packages/scripts/upload.js @@ -97,8 +97,8 @@ function uploadApiToDB() { Promise.all([...createPromises, ...updatePromises, ...deletePromises]).then(() => { console.log(chalk.green(`Upload API to DB successfully!\n`)); - }, () => { - console.log(chalk.red(`Upload API to DB failed!\n`)); + }, (error) => { + console.log(chalk.red(`Upload API to DB failed!\n`, error)); }); }).catch(function (error) { diff --git a/packages/scripts/utils.js b/packages/scripts/utils.js index a3f53cfe..3e3fb2ed 100644 --- a/packages/scripts/utils.js +++ b/packages/scripts/utils.js @@ -7,7 +7,10 @@ function kebabCaseComponent(cmp) { function getComponentBasePath(cmp, apiBasePath){ if(cmp.startsWith('Chat') || cmp === 'Attachments'){ - return apiBasePath.replace('packages/components','packages/pro-components/chat') + if (apiBasePath.includes('packages/tdesign')) { + return apiBasePath.replace('packages/tdesign','packages/tdesign-uniapp-chat'); + } + return apiBasePath.replace('packages/components','packages/pro-components/chat'); } return apiBasePath } diff --git a/packages/server/controllers/ComponentApi/const.ts b/packages/server/controllers/ComponentApi/const.ts index 1e149aba..8292cd04 100644 --- a/packages/server/controllers/ComponentApi/const.ts +++ b/packages/server/controllers/ComponentApi/const.ts @@ -25,6 +25,7 @@ const P_VUE_MOBILE = 8; const P_REACT_MOBILE = 16; const P_ANGULAR_MOBILE = 32; const P_MINIPROGRAM = 64; +const P_UNI_APP = 128; const API_CATEGORY_PROPS = 1; const API_CATEGORY_EVENTS = 2; @@ -84,6 +85,7 @@ export const PLATFORM_FRAMEWORK: MapOptions = { // [P_ANGULAR_PC]: 'Angular(PC)', // [P_ANGULAR_MOBILE]: 'Angular(Mobile)', [P_MINIPROGRAM]: 'Miniprogram', + [P_UNI_APP]: 'UniApp', }; /**