diff --git a/db/TDesign.db b/db/TDesign.db index 4ec57c4be..effdc5605 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 cade37260..58aeb6fb3 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 57f34b4f9..603666f40 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 be5eb5569..0e604e56a 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 621a8c702..3815ab5ac 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 d2f7e5722..0684c1beb 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 b189f6ad7..22f781d2b 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 b8ad803f7..cd7de2c41 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": [] }, @@ -6300,7 +6435,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Avatar", "field_category": 1, @@ -6332,7 +6468,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -6379,10 +6516,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, @@ -6410,7 +6585,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -6544,7 +6720,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Avatar", "field_category": 1, @@ -6576,7 +6753,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -6628,7 +6806,8 @@ { "id": 1499, "platform_framework": [ - "64" + "64", + "128" ], "component": "Avatar", "field_category": 1, @@ -6657,7 +6836,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -6671,7 +6851,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Avatar", "field_category": 1, @@ -6703,7 +6884,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -6716,7 +6898,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Avatar", "field_category": 1, @@ -6748,7 +6931,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -6761,7 +6945,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Avatar", "field_category": 1, @@ -6793,7 +6978,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -6806,7 +6992,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Avatar", "field_category": 1, @@ -6838,7 +7025,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -6921,7 +7109,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Avatar", "field_category": 2, @@ -6932,7 +7121,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, @@ -6951,7 +7140,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -6993,7 +7183,8 @@ { "id": 1712048196, "platform_framework": [ - "64" + "64", + "128" ], "component": "Avatar", "field_category": 128, @@ -7019,14 +7210,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, @@ -7052,14 +7245,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, @@ -7085,14 +7280,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, @@ -7118,14 +7315,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, @@ -7151,14 +7350,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, @@ -7184,14 +7385,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, @@ -7219,7 +7422,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -7275,7 +7479,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "AvatarGroup", "field_category": 1, @@ -7308,7 +7513,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -7322,7 +7528,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "AvatarGroup", "field_category": 1, @@ -7354,7 +7561,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -7406,7 +7614,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "AvatarGroup", "field_category": 1, @@ -7438,7 +7647,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -7451,7 +7661,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "AvatarGroup", "field_category": 1, @@ -7483,7 +7694,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -7496,7 +7708,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "AvatarGroup", "field_category": 2, @@ -7507,7 +7720,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, @@ -7526,14 +7739,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, @@ -7559,14 +7774,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, @@ -7592,14 +7809,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, @@ -7625,14 +7844,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, @@ -7658,7 +7879,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -7907,7 +8129,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "BackTop", "field_category": 1, @@ -7937,7 +8160,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -7946,7 +8170,8 @@ { "id": 1595, "platform_framework": [ - "64" + "64", + "128" ], "component": "BackTop", "field_category": 1, @@ -7977,7 +8202,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -8102,7 +8328,8 @@ { "id": 1711970525, "platform_framework": [ - "64" + "64", + "128" ], "component": "BackTop", "field_category": 1, @@ -8130,7 +8357,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -8299,7 +8527,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "BackTop", "field_category": 1, @@ -8329,7 +8558,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -8340,7 +8570,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "BackTop", "field_category": 1, @@ -8370,7 +8601,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -8420,7 +8652,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "BackTop", "field_category": 1, @@ -8450,7 +8683,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -8537,7 +8771,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "BackTop", "field_category": 2, @@ -8565,14 +8800,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, @@ -8598,14 +8835,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, @@ -8631,14 +8870,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, @@ -8664,14 +8905,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, @@ -8697,14 +8940,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, @@ -8730,7 +8975,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -8782,7 +9028,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Badge", "field_category": 1, @@ -8814,7 +9061,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -8868,7 +9116,8 @@ { "id": 1798, "platform_framework": [ - "64" + "64", + "128" ], "component": "Badge", "field_category": 1, @@ -8896,7 +9145,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -8952,7 +9202,8 @@ { "id": 1737, "platform_framework": [ - "64" + "64", + "128" ], "component": "Badge", "field_category": 1, @@ -8982,7 +9233,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -9036,7 +9288,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Badge", "field_category": 1, @@ -9068,7 +9321,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -9081,7 +9335,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Badge", "field_category": 1, @@ -9113,7 +9368,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -9126,7 +9382,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Badge", "field_category": 1, @@ -9158,7 +9415,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -9169,7 +9427,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Badge", "field_category": 1, @@ -9199,7 +9458,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -9251,7 +9511,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Badge", "field_category": 1, @@ -9283,7 +9544,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -9333,7 +9595,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Badge", "field_category": 1, @@ -9363,7 +9626,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -9372,7 +9636,8 @@ { "id": 1712048429, "platform_framework": [ - "64" + "64", + "128" ], "component": "Badge", "field_category": 128, @@ -9398,14 +9663,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, @@ -9431,14 +9698,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, @@ -9464,14 +9733,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, @@ -9497,14 +9768,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, @@ -9530,7 +9803,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -9697,7 +9971,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -9729,7 +10004,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -9783,7 +10059,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -9816,7 +10093,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -9830,7 +10108,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -9862,7 +10141,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -9875,7 +10155,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -9907,7 +10188,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -9998,7 +10280,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -10031,7 +10314,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -10086,7 +10370,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -10118,7 +10403,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -10371,7 +10657,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -10404,7 +10691,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -10617,7 +10905,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -10650,7 +10939,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -10701,7 +10991,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -10731,7 +11022,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -10783,7 +11075,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -10816,7 +11109,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -11045,7 +11339,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -11077,7 +11372,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -11207,7 +11503,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -11239,7 +11536,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -11291,7 +11589,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -11323,7 +11622,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -11336,7 +11636,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -11368,7 +11669,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -11418,7 +11720,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -11448,7 +11751,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -11502,7 +11806,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 1, @@ -11534,7 +11839,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -11617,7 +11923,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 2, @@ -11647,7 +11954,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -11761,7 +12069,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 2, @@ -11789,7 +12098,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -12290,7 +12600,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTable", "field_category": 64, @@ -12320,7 +12631,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -12331,7 +12643,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTableCol", "field_category": 1, @@ -12363,7 +12676,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -12538,7 +12852,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTableCol", "field_category": 1, @@ -12573,7 +12888,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -12589,7 +12905,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTableCol", "field_category": 1, @@ -12621,7 +12938,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -12845,7 +13163,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTableCol", "field_category": 1, @@ -12877,7 +13196,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -12968,7 +13288,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTableCol", "field_category": 1, @@ -13001,7 +13322,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -13298,7 +13620,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "BaseTableCol", "field_category": 1, @@ -13331,7 +13654,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -14199,7 +14523,8 @@ { "id": 1709459753, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -14227,7 +14552,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -14240,7 +14566,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -14272,7 +14599,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -14326,7 +14654,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -14359,7 +14688,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -14403,6 +14733,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": [ @@ -14449,7 +14824,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -14481,7 +14857,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -14533,7 +14910,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -14565,7 +14943,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -14574,7 +14953,8 @@ { "id": 1709458832, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -14602,7 +14982,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -14611,7 +14992,8 @@ { "id": 1709458975, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -14639,7 +15021,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -14648,7 +15031,8 @@ { "id": 1709459011, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -14676,7 +15060,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -14685,7 +15070,8 @@ { "id": 1709458937, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -14713,7 +15099,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -14804,7 +15191,8 @@ { "id": 1664, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -14833,7 +15221,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -14876,7 +15265,8 @@ { "id": 1709459081, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -14904,7 +15294,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -14917,7 +15308,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -14949,7 +15341,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -15000,10 +15393,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, @@ -15031,7 +15462,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15040,7 +15472,8 @@ { "id": 1709459838, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15068,7 +15501,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -15077,7 +15511,8 @@ { "id": 1709459686, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15105,7 +15540,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15114,7 +15550,8 @@ { "id": 1709459448, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15142,7 +15579,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15151,7 +15589,8 @@ { "id": 1709459391, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15179,7 +15618,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15188,7 +15628,8 @@ { "id": 1709459157, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15216,7 +15657,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15229,7 +15671,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15261,7 +15704,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15270,7 +15714,8 @@ { "id": 1709459794, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15298,7 +15743,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -15348,7 +15794,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15378,7 +15825,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15391,7 +15839,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15423,7 +15872,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -15432,7 +15882,8 @@ { "id": 1709453000, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15460,7 +15911,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15549,7 +16001,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15579,7 +16032,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15631,7 +16085,8 @@ { "id": 1242, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15659,7 +16114,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15672,7 +16128,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 1, @@ -15704,7 +16161,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -15713,7 +16171,8 @@ { "id": 1709460216, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 2, @@ -15739,14 +16198,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, @@ -15772,7 +16233,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -15783,7 +16245,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Button", "field_category": 2, @@ -15813,14 +16276,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, @@ -15846,14 +16311,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, @@ -15879,14 +16346,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, @@ -15912,14 +16381,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, @@ -15945,14 +16416,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, @@ -15978,14 +16451,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, @@ -16011,14 +16486,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, @@ -16044,14 +16521,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, @@ -16077,7 +16556,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -16117,7 +16597,8 @@ { "id": 1711974741, "platform_framework": [ - "64" + "64", + "128" ], "component": "Button", "field_category": 128, @@ -16143,14 +16624,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, @@ -16176,14 +16659,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, @@ -16209,14 +16694,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, @@ -16242,7 +16729,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -16250,7 +16738,8 @@ "id": 3263, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -16279,7 +16768,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -16372,7 +16862,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -16404,7 +16895,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -16536,7 +17028,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -16566,7 +17059,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -16616,7 +17110,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -16646,7 +17141,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -16735,7 +17231,8 @@ { "id": 1731402896, "platform_framework": [ - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -16763,7 +17260,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -16772,7 +17270,8 @@ { "id": 3142, "platform_framework": [ - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -16800,7 +17299,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -16850,7 +17350,8 @@ { "id": 3143, "platform_framework": [ - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -16878,7 +17379,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -17127,7 +17629,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -17157,7 +17660,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -17168,7 +17672,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -17198,7 +17703,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -17248,7 +17754,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -17279,7 +17786,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -17291,7 +17799,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -17321,7 +17830,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -17332,7 +17842,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -17362,7 +17873,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -17371,7 +17883,8 @@ { "id": 1719908432, "platform_framework": [ - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -17399,7 +17912,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -17451,7 +17965,8 @@ { "id": 3138, "platform_framework": [ - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -17480,7 +17995,8 @@ "support_default_value": 1, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number", @@ -17535,7 +18051,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Calendar", "field_category": 1, @@ -17565,7 +18082,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -17826,12 +18344,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, @@ -17842,7 +18394,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, @@ -17859,7 +18411,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -17931,6 +18484,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": [ @@ -18019,7 +18605,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, @@ -18042,6 +18628,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": [ @@ -18141,6 +18764,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": [ @@ -18209,6 +18865,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": [ @@ -18247,7 +18936,8 @@ { "id": 1759132103, "platform_framework": [ - "64" + "64", + "128" ], "component": "Calendar", "field_category": 512, @@ -18273,14 +18963,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, @@ -18306,7 +18998,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -20712,7 +21405,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 1, @@ -20742,7 +21436,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -20792,7 +21487,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 1, @@ -20823,7 +21519,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -21032,7 +21729,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 1, @@ -21062,7 +21760,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -21149,7 +21848,8 @@ { "id": 3347, "platform_framework": [ - "64" + "64", + "128" ], "component": "Cascader", "field_category": 1, @@ -21177,7 +21877,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -21539,7 +22240,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 1, @@ -21569,7 +22271,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -21699,7 +22402,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 1, @@ -21731,7 +22435,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -21901,7 +22606,8 @@ "id": 1712024363, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 1, @@ -21930,7 +22636,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -22370,7 +23077,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 1, @@ -22400,7 +23108,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -22569,7 +23278,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 1, @@ -22599,7 +23309,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -22651,7 +23362,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 1, @@ -22682,7 +23394,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -22851,6 +23564,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": [ @@ -22975,7 +23727,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 1, @@ -23005,7 +23758,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -23149,6 +23903,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": [ @@ -23221,6 +24041,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": [ @@ -23324,6 +24177,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": [ @@ -23401,7 +24287,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Cascader", "field_category": 64, @@ -23431,7 +24318,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -23635,7 +24523,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -23665,7 +24554,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -23713,7 +24603,8 @@ { "id": 1725283679, "platform_framework": [ - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -23742,7 +24633,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -23754,7 +24646,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -23784,7 +24677,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -23795,7 +24689,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -23826,7 +24721,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -23838,7 +24734,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -23868,7 +24765,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -23879,7 +24777,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -23910,7 +24809,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -23920,7 +24820,8 @@ { "id": 1338, "platform_framework": [ - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -23948,7 +24849,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -23996,7 +24898,8 @@ { "id": 1665, "platform_framework": [ - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -24026,7 +24929,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -24039,7 +24943,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -24070,19 +24975,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, @@ -24112,7 +25058,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -24160,7 +25107,8 @@ { "id": 1666, "platform_framework": [ - "64" + "64", + "128" ], "component": "Cell", "field_category": 1, @@ -24190,7 +25138,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -24198,12 +25147,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, @@ -24234,17 +25223,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, @@ -24272,7 +25302,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -24283,7 +25314,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Cell", "field_category": 2, @@ -24294,7 +25326,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, @@ -24311,14 +25343,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, @@ -24344,14 +25378,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, @@ -24377,14 +25413,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, @@ -24410,14 +25448,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, @@ -24443,14 +25483,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, @@ -24476,14 +25518,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, @@ -24509,14 +25553,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, @@ -24542,14 +25588,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, @@ -24575,14 +25623,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, @@ -24608,14 +25658,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, @@ -24641,14 +25693,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, @@ -24674,7 +25728,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -24683,7 +25738,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CellGroup", "field_category": 1, @@ -24713,7 +25769,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -24724,7 +25781,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CellGroup", "field_category": 1, @@ -24754,7 +25812,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -24765,7 +25824,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CellGroup", "field_category": 1, @@ -24795,7 +25855,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -24804,7 +25865,8 @@ { "id": 1712027724, "platform_framework": [ - "64" + "64", + "128" ], "component": "CellGroup", "field_category": 128, @@ -24830,14 +25892,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, @@ -24863,14 +25927,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, @@ -24896,7 +25962,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -27455,7 +28522,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 1, @@ -27487,7 +28555,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -27578,7 +28647,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 1, @@ -27608,7 +28678,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -27666,7 +28737,8 @@ { "id": 1712653187, "platform_framework": [ - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 1, @@ -27697,7 +28769,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -27754,7 +28827,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 1, @@ -27786,7 +28860,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -27834,7 +28909,8 @@ { "id": 3132, "platform_framework": [ - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 1, @@ -27864,7 +28940,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -27877,7 +28954,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 1, @@ -27907,7 +28985,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -27920,7 +28999,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 1, @@ -27952,7 +29032,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -28043,7 +29124,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 1, @@ -28073,7 +29155,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -28151,6 +29234,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": [ @@ -28169,7 +29285,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, @@ -28192,10 +29308,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, @@ -28221,7 +29371,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -28263,7 +29414,8 @@ { "id": 1712054145, "platform_framework": [ - "64" + "64", + "128" ], "component": "CheckTag", "field_category": 128, @@ -28289,14 +29441,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, @@ -28322,14 +29476,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, @@ -28355,14 +29511,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, @@ -28388,7 +29546,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -28627,7 +29786,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -28657,7 +29817,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -28668,7 +29829,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -28698,7 +29860,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -28711,7 +29874,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -28743,7 +29907,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -28794,6 +29959,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": [ @@ -28840,7 +30042,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -28871,7 +30074,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -28883,7 +30087,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -28913,7 +30118,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -28967,7 +30173,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -28999,7 +30206,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -29008,7 +30216,8 @@ { "id": 1409, "platform_framework": [ - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -29037,7 +30246,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -29094,7 +30304,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -29126,7 +30337,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -29139,7 +30351,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -29172,7 +30385,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -29223,7 +30437,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -29253,7 +30468,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -29264,7 +30480,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -29294,7 +30511,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -29307,7 +30525,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -29339,7 +30558,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -29350,7 +30570,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -29380,7 +30601,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -29393,7 +30615,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -29425,12 +30648,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": [ @@ -29477,7 +30738,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 1, @@ -29511,7 +30773,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -29622,6 +30885,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": [ @@ -29658,7 +30954,8 @@ { "id": 1712024605, "platform_framework": [ - "64" + "64", + "128" ], "component": "Checkbox", "field_category": 128, @@ -29684,14 +30981,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, @@ -29717,14 +31016,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, @@ -29750,14 +31051,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, @@ -29783,14 +31086,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, @@ -29816,14 +31121,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, @@ -29849,7 +31156,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -29858,7 +31166,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CheckboxGroup", "field_category": 1, @@ -29888,7 +31197,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -29901,7 +31211,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CheckboxGroup", "field_category": 1, @@ -29933,7 +31244,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -29944,7 +31256,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CheckboxGroup", "field_category": 1, @@ -29974,7 +31287,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -30026,7 +31340,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CheckboxGroup", "field_category": 1, @@ -30058,7 +31373,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -30071,7 +31387,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CheckboxGroup", "field_category": 1, @@ -30103,7 +31420,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -30155,7 +31473,8 @@ { "id": 1416, "platform_framework": [ - "64" + "64", + "128" ], "component": "CheckboxGroup", "field_category": 1, @@ -30183,7 +31502,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -30196,7 +31516,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CheckboxGroup", "field_category": 1, @@ -30228,12 +31549,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": [ @@ -30279,6 +31638,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": [ @@ -30413,6 +31809,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": [ @@ -30420,7 +31849,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CheckboxGroup", "field_category": 64, @@ -30450,14 +31880,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, @@ -30483,7 +31915,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -30654,7 +32087,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Col", "field_category": 1, @@ -30685,7 +32119,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -30894,7 +32329,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Col", "field_category": 1, @@ -30925,7 +32361,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -31097,7 +32534,8 @@ { "id": 1760085916, "platform_framework": [ - "64" + "64", + "128" ], "component": "Col", "field_category": 512, @@ -31123,7 +32561,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -31212,7 +32651,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Collapse", "field_category": 1, @@ -31244,7 +32684,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -31257,7 +32698,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Collapse", "field_category": 1, @@ -31289,7 +32731,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -31343,7 +32786,8 @@ { "id": 3470, "platform_framework": [ - "64" + "64", + "128" ], "component": "Collapse", "field_category": 1, @@ -31371,7 +32815,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -31423,7 +32868,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Collapse", "field_category": 1, @@ -31455,7 +32901,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -31505,7 +32952,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Collapse", "field_category": 1, @@ -31535,7 +32983,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -31586,6 +33035,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": [ @@ -31627,10 +33113,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, @@ -31656,7 +33176,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -31708,7 +33229,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CollapsePanel", "field_category": 1, @@ -31741,7 +33263,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -31839,7 +33362,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CollapsePanel", "field_category": 1, @@ -31871,7 +33395,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -31884,7 +33409,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CollapsePanel", "field_category": 1, @@ -31917,7 +33443,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -31931,7 +33458,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CollapsePanel", "field_category": 1, @@ -31964,7 +33492,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -31974,7 +33503,8 @@ { "id": 1691047409, "platform_framework": [ - "64" + "64", + "128" ], "component": "CollapsePanel", "field_category": 1, @@ -32003,7 +33533,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -32056,7 +33587,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CollapsePanel", "field_category": 1, @@ -32089,7 +33621,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -32101,7 +33634,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CollapsePanel", "field_category": 1, @@ -32131,7 +33665,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -32144,7 +33679,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "CollapsePanel", "field_category": 1, @@ -32177,7 +33713,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -32187,7 +33724,8 @@ { "id": 1712049645, "platform_framework": [ - "64" + "64", + "128" ], "component": "CollapsePanel", "field_category": 128, @@ -32213,14 +33751,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, @@ -32246,14 +33786,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, @@ -32279,14 +33821,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, @@ -32312,14 +33856,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, @@ -32347,7 +33893,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -32563,7 +34110,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -32595,7 +34143,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -32651,7 +34200,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -32681,7 +34231,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -32690,7 +34241,8 @@ { "id": 1732704565, "platform_framework": [ - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -32718,7 +34270,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -32731,7 +34284,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -32763,7 +34317,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -32772,7 +34327,8 @@ { "id": 1732704577, "platform_framework": [ - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -32800,7 +34356,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -32887,7 +34444,8 @@ { "id": 1730984839, "platform_framework": [ - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -32915,7 +34473,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -33084,7 +34643,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -33116,7 +34676,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -33127,7 +34688,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -33157,7 +34719,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -33166,7 +34729,8 @@ { "id": 1730970213, "platform_framework": [ - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -33194,7 +34758,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -33244,7 +34809,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -33274,7 +34840,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -33283,7 +34850,8 @@ { "id": 1730970283, "platform_framework": [ - "64" + "64", + "128" ], "component": "ColorPicker", "field_category": 1, @@ -33311,7 +34879,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -33389,6 +34958,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": [ @@ -33457,6 +35059,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": [ @@ -33529,6 +35164,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": [ @@ -34591,7 +36259,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CountDown", "field_category": 1, @@ -34621,7 +36290,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -34671,7 +36341,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CountDown", "field_category": 1, @@ -34702,7 +36373,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -34714,7 +36386,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CountDown", "field_category": 1, @@ -34744,7 +36417,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -34755,7 +36429,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CountDown", "field_category": 1, @@ -34785,7 +36460,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -34796,7 +36472,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CountDown", "field_category": 1, @@ -34826,7 +36503,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -34837,7 +36515,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CountDown", "field_category": 1, @@ -34867,7 +36546,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -34878,7 +36558,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CountDown", "field_category": 1, @@ -34908,7 +36589,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -34919,7 +36601,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CountDown", "field_category": 1, @@ -34949,7 +36632,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -34960,7 +36644,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CountDown", "field_category": 2, @@ -34988,7 +36673,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -34997,7 +36683,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "CountDown", "field_category": 2, @@ -35025,14 +36712,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, @@ -35058,14 +36747,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, @@ -35091,14 +36782,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, @@ -35124,14 +36817,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, @@ -35157,7 +36852,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -39663,7 +41359,8 @@ "id": 1731046786, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -39692,7 +41389,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -39703,7 +41401,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -39733,7 +41432,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -39744,7 +41444,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -39774,7 +41475,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -39783,7 +41485,8 @@ { "id": 1710844467, "platform_framework": [ - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -39811,7 +41514,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -39822,7 +41526,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -39853,7 +41558,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -39865,7 +41571,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -39895,7 +41602,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -39906,7 +41614,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -39936,7 +41645,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -39984,7 +41694,8 @@ { "id": 1712579026, "platform_framework": [ - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -40012,7 +41723,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -40021,7 +41733,8 @@ { "id": 1740731296, "platform_framework": [ - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -40049,7 +41762,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -40059,7 +41773,8 @@ "id": 2509, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -40089,7 +41804,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -40176,10 +41892,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, @@ -40207,7 +41963,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -40257,7 +42014,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -40287,7 +42045,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -40298,7 +42057,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -40329,7 +42089,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -40341,7 +42102,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -40371,7 +42133,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -40381,7 +42144,8 @@ "id": 1734, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -40410,7 +42174,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -40457,7 +42222,8 @@ "id": 1725285145, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -40486,7 +42252,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -40497,7 +42264,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -40528,7 +42296,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -40538,7 +42307,8 @@ { "id": 1522, "platform_framework": [ - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 1, @@ -40566,7 +42336,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -40610,7 +42381,8 @@ { "id": 2533, "platform_framework": [ - "64" + "64", + "128" ], "component": "DateTimePicker", "field_category": 2, @@ -40636,7 +42408,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -40708,6 +42481,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": [ @@ -40743,12 +42549,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, @@ -40759,7 +42596,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, @@ -40774,9 +42611,7 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Vue(Mobile)", - "React(Mobile)", - "Miniprogram" + "UniApp" ], "field_type_text": [] }, @@ -40848,10 +42683,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, @@ -40877,14 +42746,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, @@ -40910,14 +42781,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, @@ -40943,14 +42816,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, @@ -40976,7 +42851,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -41374,7 +43250,8 @@ "id": 1526, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 1, @@ -41403,7 +43280,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -41413,7 +43291,8 @@ "id": 1528, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 1, @@ -41442,7 +43321,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -41452,7 +43332,8 @@ "id": 1576, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 1, @@ -41483,7 +43364,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object", @@ -41495,7 +43377,8 @@ "id": 1577, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 1, @@ -41524,7 +43407,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -41534,7 +43418,8 @@ "id": 1586, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 1, @@ -41563,7 +43448,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -41573,7 +43459,8 @@ "id": 1585, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 1, @@ -41602,7 +43489,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -41612,7 +43500,8 @@ "id": 1735, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 1, @@ -41641,7 +43530,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -41651,7 +43541,8 @@ "id": 1533, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 1, @@ -41680,7 +43571,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -41690,7 +43582,8 @@ "id": 1523, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 1, @@ -41719,7 +43612,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -41729,7 +43623,8 @@ "id": 1535, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 2, @@ -41756,7 +43651,8 @@ "field_category_text": "Events", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -41764,7 +43660,8 @@ "id": 1580, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 2, @@ -41791,7 +43688,8 @@ "field_category_text": "Events", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -41799,7 +43697,8 @@ "id": 1536, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 2, @@ -41826,7 +43725,8 @@ "field_category_text": "Events", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -41834,7 +43734,8 @@ "id": 1534, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "DateTimeRangePicker", "field_category": 2, @@ -41861,7 +43762,8 @@ "field_category_text": "Events", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -42500,7 +44402,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -42531,7 +44434,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array", @@ -42625,7 +44529,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -42655,7 +44560,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -42707,7 +44613,8 @@ { "id": 3197, "platform_framework": [ - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -42737,7 +44644,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -42873,7 +44781,8 @@ { "id": 3408, "platform_framework": [ - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -42902,7 +44811,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -43031,7 +44941,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -43061,7 +44972,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -43113,7 +45025,8 @@ { "id": 3198, "platform_framework": [ - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -43143,7 +45056,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -43277,7 +45191,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -43308,7 +45223,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -43679,7 +45595,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -43709,7 +45626,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -43759,7 +45677,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -43789,7 +45708,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -43841,7 +45761,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -43873,7 +45794,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -43925,7 +45847,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -43957,7 +45880,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -44048,7 +45972,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -44079,7 +46004,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -44132,7 +46058,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -44162,7 +46089,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -44171,7 +46099,8 @@ { "id": 1719908441, "platform_framework": [ - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -44199,7 +46128,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -44212,7 +46142,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -44244,7 +46175,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -44341,7 +46273,8 @@ { "id": 3133, "platform_framework": [ - "64" + "64", + "128" ], "component": "Dialog", "field_category": 1, @@ -44369,12 +46302,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": [ @@ -44517,6 +46484,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": [ @@ -44620,6 +46653,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": [ @@ -44734,7 +46800,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Dialog", "field_category": 2, @@ -44762,7 +46829,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -44877,10 +46945,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, @@ -44906,14 +47008,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, @@ -44939,14 +47043,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, @@ -44972,14 +47078,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, @@ -45005,14 +47113,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, @@ -45038,14 +47148,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, @@ -45071,14 +47183,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, @@ -45104,7 +47218,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -46170,7 +48285,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Divider", "field_category": 1, @@ -46202,7 +48318,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -46256,7 +48373,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Divider", "field_category": 1, @@ -46289,7 +48407,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -46303,7 +48422,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Divider", "field_category": 1, @@ -46335,7 +48455,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -46389,7 +48510,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Divider", "field_category": 1, @@ -46421,7 +48543,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -46512,7 +48635,8 @@ { "id": 1711969012, "platform_framework": [ - "64" + "64", + "128" ], "component": "Divider", "field_category": 128, @@ -46538,14 +48662,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, @@ -46571,7 +48697,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -46869,7 +48996,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Drawer", "field_category": 1, @@ -46899,7 +49027,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -46994,7 +49123,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Drawer", "field_category": 1, @@ -47026,7 +49156,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -47117,7 +49248,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Drawer", "field_category": 1, @@ -47147,7 +49279,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -47275,7 +49408,8 @@ { "id": 3350, "platform_framework": [ - "64" + "64", + "128" ], "component": "Drawer", "field_category": 1, @@ -47303,7 +49437,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -47392,7 +49527,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Drawer", "field_category": 1, @@ -47422,7 +49558,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -47472,7 +49609,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Drawer", "field_category": 1, @@ -47502,7 +49640,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -47593,7 +49732,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Drawer", "field_category": 1, @@ -47625,7 +49765,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -47716,7 +49857,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Drawer", "field_category": 1, @@ -47747,7 +49889,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -47757,7 +49900,8 @@ { "id": 1719908453, "platform_framework": [ - "64" + "64", + "128" ], "component": "Drawer", "field_category": 1, @@ -47785,7 +49929,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -47836,6 +49981,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": [ @@ -47882,7 +50064,8 @@ { "id": 3135, "platform_framework": [ - "64" + "64", + "128" ], "component": "Drawer", "field_category": 1, @@ -47910,7 +50093,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -48093,6 +50277,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": [ @@ -48305,6 +50522,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": [ @@ -48382,7 +50632,8 @@ { "id": 2544, "platform_framework": [ - "64" + "64", + "128" ], "component": "Drawer", "field_category": 2, @@ -48408,7 +50659,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -48447,10 +50699,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, @@ -48476,7 +50762,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -49661,7 +51948,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 1, @@ -49693,7 +51981,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -49743,7 +52032,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 1, @@ -49773,7 +52063,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -49784,7 +52075,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 1, @@ -49814,7 +52106,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -49825,7 +52118,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 1, @@ -49855,7 +52149,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -49866,7 +52161,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 1, @@ -49896,7 +52192,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -49907,7 +52204,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 1, @@ -49937,7 +52235,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -49948,7 +52247,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 1, @@ -49979,7 +52279,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -49989,7 +52290,8 @@ { "id": 1704, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 1, @@ -50017,7 +52319,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -50028,7 +52331,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 1, @@ -50058,7 +52362,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -50190,7 +52495,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 1, @@ -50222,7 +52528,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -50337,6 +52644,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": [ @@ -50375,7 +52715,8 @@ { "id": 1712056353, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 2, @@ -50401,7 +52742,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -50442,6 +52784,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": [ @@ -50480,7 +52855,8 @@ { "id": 1712056340, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownItem", "field_category": 2, @@ -50506,14 +52882,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, @@ -50539,14 +52917,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, @@ -50572,14 +52952,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, @@ -50605,14 +52987,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, @@ -50638,14 +53022,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, @@ -50671,14 +53057,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, @@ -50704,14 +53092,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, @@ -50737,14 +53127,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, @@ -50773,7 +53165,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -50785,7 +53178,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownMenu", "field_category": 1, @@ -50815,7 +53209,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -50865,7 +53260,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownMenu", "field_category": 1, @@ -50896,7 +53292,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -50908,7 +53305,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownMenu", "field_category": 1, @@ -50938,7 +53336,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -50949,7 +53348,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "DropdownMenu", "field_category": 1, @@ -50979,7 +53379,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -50988,7 +53389,8 @@ { "id": 1712055913, "platform_framework": [ - "64" + "64", + "128" ], "component": "DropdownMenu", "field_category": 2, @@ -51014,14 +53416,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, @@ -51047,14 +53451,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, @@ -51080,14 +53486,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, @@ -51113,14 +53521,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, @@ -51146,14 +53556,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, @@ -51179,14 +53591,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, @@ -51212,7 +53626,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -51301,7 +53716,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Empty", "field_category": 1, @@ -51333,7 +53749,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -51346,7 +53763,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Empty", "field_category": 1, @@ -51379,7 +53797,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -51389,7 +53808,8 @@ { "id": 1809, "platform_framework": [ - "64" + "64", + "128" ], "component": "Empty", "field_category": 1, @@ -51418,7 +53838,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -51512,7 +53933,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Empty", "field_category": 1, @@ -51543,7 +53965,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -51711,7 +54134,8 @@ { "id": 1712050270, "platform_framework": [ - "64" + "64", + "128" ], "component": "Empty", "field_category": 128, @@ -51737,14 +54161,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, @@ -51770,14 +54196,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, @@ -51803,7 +54231,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -52711,7 +55140,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Fab", "field_category": 1, @@ -52741,7 +55171,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -52752,7 +55183,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Fab", "field_category": 1, @@ -52783,7 +55215,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -52832,7 +55265,8 @@ { "id": 2501, "platform_framework": [ - "64" + "64", + "128" ], "component": "Fab", "field_category": 1, @@ -52860,7 +55294,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -52869,7 +55304,8 @@ { "id": 2503, "platform_framework": [ - "64" + "64", + "128" ], "component": "Fab", "field_category": 1, @@ -52897,7 +55333,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -52947,7 +55384,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Fab", "field_category": 1, @@ -52977,7 +55415,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -52986,7 +55425,8 @@ { "id": 1719908461, "platform_framework": [ - "64" + "64", + "128" ], "component": "Fab", "field_category": 1, @@ -53014,7 +55454,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -53025,7 +55466,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Fab", "field_category": 1, @@ -53055,7 +55497,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -53064,7 +55507,8 @@ { "id": 2505, "platform_framework": [ - "64" + "64", + "128" ], "component": "Fab", "field_category": 2, @@ -53090,7 +55534,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -53134,7 +55579,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Fab", "field_category": 2, @@ -53162,7 +55608,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -53171,7 +55618,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Fab", "field_category": 2, @@ -53199,14 +55647,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, @@ -53232,14 +55682,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, @@ -53267,7 +55719,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -53315,7 +55768,8 @@ { "id": 3401, "platform_framework": [ - "64" + "64", + "128" ], "component": "Footer", "field_category": 1, @@ -53343,7 +55797,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -53430,7 +55885,8 @@ { "id": 1712565039, "platform_framework": [ - "64" + "64", + "128" ], "component": "Footer", "field_category": 1, @@ -53458,7 +55914,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -53469,7 +55926,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Footer", "field_category": 1, @@ -53499,7 +55957,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -53508,7 +55967,8 @@ { "id": 1603, "platform_framework": [ - "64" + "64", + "128" ], "component": "Footer", "field_category": 1, @@ -53536,7 +55996,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -53545,7 +56006,8 @@ { "id": 1601, "platform_framework": [ - "64" + "64", + "128" ], "component": "Footer", "field_category": 1, @@ -53573,7 +56035,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -53586,7 +56049,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -53618,7 +56082,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -53668,7 +56133,8 @@ "platform_framework": [ "1", "8", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -53698,7 +56164,8 @@ "platform_framework_text": [ "Vue(PC)", "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -53711,7 +56178,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -53743,7 +56211,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -53756,7 +56225,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -53788,7 +56258,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -53957,7 +56428,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -53989,7 +56461,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -54041,7 +56514,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -54072,7 +56546,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -54168,7 +56643,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -54200,7 +56676,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -54213,7 +56690,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -54245,7 +56723,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -54258,7 +56737,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -54290,7 +56770,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -54303,7 +56784,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -54335,7 +56817,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -54348,7 +56831,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -54380,7 +56864,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -54393,7 +56878,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -54425,7 +56911,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -54438,7 +56925,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -54470,7 +56958,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -54524,7 +57013,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 1, @@ -54556,7 +57046,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -54606,7 +57097,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 2, @@ -54636,7 +57128,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -54647,7 +57140,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 2, @@ -54677,7 +57171,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -54687,7 +57182,8 @@ "1", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 2, @@ -54716,7 +57212,8 @@ "Vue(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -54762,7 +57259,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 4, @@ -54792,7 +57290,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -54951,7 +57450,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 4, @@ -54981,7 +57481,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -55066,7 +57567,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 4, @@ -55096,7 +57598,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -55107,7 +57610,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 4, @@ -55137,7 +57641,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -55148,7 +57653,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 4, @@ -55178,7 +57684,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -55228,7 +57735,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Form", "field_category": 64, @@ -55258,7 +57766,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -55441,7 +57950,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -55473,7 +57983,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -55486,7 +57997,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -55518,7 +58030,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -55531,7 +58044,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -55563,7 +58077,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -55576,7 +58091,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -55608,7 +58124,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -55621,7 +58138,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -55653,7 +58171,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -55666,7 +58185,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -55698,7 +58218,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -55711,7 +58232,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -55743,7 +58265,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -55756,7 +58279,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -55788,7 +58312,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -55801,7 +58326,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -55833,7 +58359,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -55846,7 +58373,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -55878,7 +58406,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -55891,7 +58420,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -55923,7 +58453,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -55936,7 +58467,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -55968,7 +58500,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -55981,7 +58514,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -56013,7 +58547,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -56026,7 +58561,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormErrorMessage", "field_category": 1, @@ -56058,7 +58594,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -56069,7 +58606,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "FormItem", "field_category": 1, @@ -56099,7 +58637,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -56151,7 +58690,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormItem", "field_category": 1, @@ -56183,7 +58723,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -56196,7 +58737,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormItem", "field_category": 1, @@ -56229,7 +58771,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -56286,7 +58829,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormItem", "field_category": 1, @@ -56319,7 +58863,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -56333,7 +58878,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormItem", "field_category": 1, @@ -56365,7 +58911,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -56378,7 +58925,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormItem", "field_category": 1, @@ -56411,7 +58959,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -56423,7 +58972,8 @@ "platform_framework": [ "1", "8", - "64" + "64", + "128" ], "component": "FormItem", "field_category": 1, @@ -56453,7 +59003,8 @@ "platform_framework_text": [ "Vue(PC)", "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -56509,7 +59060,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormItem", "field_category": 1, @@ -56541,7 +59093,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -56592,6 +59145,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": [ @@ -56638,7 +59273,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormItem", "field_category": 1, @@ -56670,7 +59306,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -57034,7 +59671,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -57066,7 +59704,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -57079,7 +59718,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -57112,7 +59752,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -57166,6 +59807,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": [ @@ -57173,7 +59853,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -57205,7 +59886,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -57218,7 +59900,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -57250,7 +59933,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -57263,7 +59947,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -57296,7 +59981,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number", @@ -57310,7 +59996,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -57343,7 +60030,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number", @@ -57357,7 +60045,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -57389,7 +60078,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -57402,7 +60092,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -57435,7 +60126,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number", @@ -57449,7 +60141,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -57481,7 +60174,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -57494,7 +60188,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -57527,7 +60222,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -57541,7 +60237,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -57573,7 +60270,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -57586,7 +60284,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -57618,7 +60317,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -57631,7 +60331,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -57663,7 +60364,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -57676,7 +60378,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -57708,7 +60411,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -57761,6 +60465,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": [ @@ -57768,7 +60511,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -57800,7 +60544,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -57813,7 +60558,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "FormRule", "field_category": 1, @@ -57845,7 +60591,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -58182,7 +60929,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "GlobalConfigProvider", "field_category": 1, @@ -58214,7 +60962,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -59056,7 +61805,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "GlobalConfigProvider", "field_category": 1, @@ -59088,7 +61838,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -59579,7 +62330,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Grid", "field_category": 1, @@ -59609,7 +62361,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -59618,7 +62371,8 @@ { "id": 1778, "platform_framework": [ - "64" + "64", + "128" ], "component": "Grid", "field_category": 1, @@ -59647,7 +62401,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -59698,7 +62453,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Grid", "field_category": 1, @@ -59728,7 +62484,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -59739,7 +62496,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Grid", "field_category": 1, @@ -59769,7 +62527,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -59779,7 +62538,8 @@ "id": 1777, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "Grid", "field_category": 1, @@ -59808,7 +62568,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -59819,7 +62580,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Grid", "field_category": 1, @@ -59849,7 +62611,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -59858,7 +62621,8 @@ { "id": 1712050838, "platform_framework": [ - "64" + "64", + "128" ], "component": "Grid", "field_category": 128, @@ -59884,14 +62648,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, @@ -59917,7 +62683,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -59997,12 +62764,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, @@ -60033,7 +62838,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -60043,7 +62849,8 @@ { "id": 3189, "platform_framework": [ - "64" + "64", + "128" ], "component": "GridItem", "field_category": 1, @@ -60072,7 +62879,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -60119,7 +62927,8 @@ { "id": 1769, "platform_framework": [ - "64" + "64", + "128" ], "component": "GridItem", "field_category": 1, @@ -60148,7 +62957,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -60235,10 +63045,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, @@ -60266,7 +63114,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -60277,7 +63126,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "GridItem", "field_category": 1, @@ -60307,7 +63157,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -60318,7 +63169,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "GridItem", "field_category": 1, @@ -60349,7 +63201,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -60359,7 +63212,8 @@ { "id": 1781, "platform_framework": [ - "64" + "64", + "128" ], "component": "GridItem", "field_category": 1, @@ -60387,7 +63241,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -60396,7 +63251,8 @@ { "id": 1761302509, "platform_framework": [ - "64" + "64", + "128" ], "component": "GridItem", "field_category": 2, @@ -60422,14 +63278,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, @@ -60455,14 +63313,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, @@ -60488,14 +63348,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, @@ -60521,14 +63383,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, @@ -60554,14 +63418,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, @@ -60587,14 +63453,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, @@ -60620,14 +63488,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, @@ -60653,14 +63523,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, @@ -60686,14 +63558,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, @@ -60719,7 +63593,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -60728,7 +63603,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -60758,7 +63634,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -60806,7 +63683,8 @@ { "id": 1736410690, "platform_framework": [ - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -60835,7 +63713,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -60849,7 +63728,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -60881,7 +63761,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -60894,7 +63775,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -60926,7 +63808,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -60937,7 +63820,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -60967,7 +63851,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -60980,7 +63865,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -61012,7 +63898,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -61064,7 +63951,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -61096,7 +63984,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -61148,7 +64037,8 @@ { "id": 1721620852, "platform_framework": [ - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -61176,7 +64066,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -61226,7 +64117,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -61256,7 +64148,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -61269,7 +64162,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -61301,7 +64195,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -61353,7 +64248,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -61385,7 +64281,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -61398,7 +64295,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -61430,7 +64328,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -61443,7 +64342,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -61475,7 +64375,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -61484,7 +64385,8 @@ { "id": 1721621026, "platform_framework": [ - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -61512,7 +64414,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -61525,7 +64428,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 1, @@ -61557,7 +64461,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -61568,7 +64473,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 2, @@ -61596,7 +64502,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -61607,7 +64514,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 2, @@ -61637,7 +64545,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -61648,7 +64557,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 2, @@ -61678,7 +64588,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -61689,7 +64600,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 2, @@ -61719,7 +64631,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -61765,7 +64678,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Guide", "field_category": 2, @@ -61795,14 +64709,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, @@ -61828,14 +64744,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, @@ -61861,14 +64779,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, @@ -61894,14 +64814,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, @@ -61927,14 +64849,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, @@ -61960,14 +64884,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, @@ -61993,14 +64919,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, @@ -62026,14 +64954,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, @@ -62059,14 +64989,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, @@ -62092,14 +65024,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, @@ -62125,14 +65059,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, @@ -62158,7 +65094,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -62478,7 +65415,8 @@ "id": 1708481323, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -62507,7 +65445,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -62559,7 +65498,8 @@ { "id": 1721621362, "platform_framework": [ - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -62587,7 +65527,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -62719,7 +65660,8 @@ { "id": 1721621525, "platform_framework": [ - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -62747,7 +65689,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -62756,7 +65699,8 @@ { "id": 1721621588, "platform_framework": [ - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -62784,7 +65728,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -62910,7 +65855,8 @@ { "id": 1721621705, "platform_framework": [ - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -62938,7 +65884,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -62987,7 +65934,8 @@ "id": 1709178151, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -63016,7 +65964,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -63028,7 +65977,8 @@ "1", "2", "8", - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -63059,7 +66009,8 @@ "Vue(PC)", "React(PC)", "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -63109,7 +66060,8 @@ { "id": 1721621784, "platform_framework": [ - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -63137,7 +66089,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -63186,7 +66139,8 @@ "id": 1709197181, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -63215,7 +66169,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -63342,7 +66297,8 @@ "1", "2", "8", - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -63373,7 +66329,8 @@ "Vue(PC)", "React(PC)", "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -63385,7 +66342,8 @@ "1", "2", "8", - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -63416,7 +66374,8 @@ "Vue(PC)", "React(PC)", "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -63507,7 +66466,8 @@ { "id": 1721621896, "platform_framework": [ - "64" + "64", + "128" ], "component": "GuideStep", "field_category": 1, @@ -63535,7 +66495,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -63889,7 +66850,8 @@ { "id": 1691, "platform_framework": [ - "64" + "64", + "128" ], "component": "Icon", "field_category": 1, @@ -63917,7 +66879,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -63926,7 +66889,8 @@ { "id": 1688, "platform_framework": [ - "64" + "64", + "128" ], "component": "Icon", "field_category": 1, @@ -63954,7 +66918,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -63963,7 +66928,8 @@ { "id": 2085, "platform_framework": [ - "64" + "64", + "128" ], "component": "Icon", "field_category": 1, @@ -63991,7 +66957,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -64036,10 +67003,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, @@ -64065,14 +67072,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, @@ -64101,7 +67110,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -64666,7 +67676,8 @@ { "id": 2419, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -64694,7 +67705,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -64703,7 +67715,8 @@ { "id": 1451, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -64731,7 +67744,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -64861,7 +67875,8 @@ { "id": 2421, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -64890,7 +67905,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -65025,7 +68041,8 @@ { "id": 3403, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -65054,7 +68071,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -65068,7 +68086,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -65100,7 +68119,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -65154,7 +68174,8 @@ { "id": 2420, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -65183,7 +68204,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -65193,7 +68215,8 @@ { "id": 1712052337, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -65221,7 +68244,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -65441,7 +68465,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -65473,7 +68498,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -65482,7 +68508,8 @@ { "id": 3124, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -65510,7 +68537,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -65562,7 +68590,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -65592,7 +68621,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -65644,7 +68674,8 @@ { "id": 1711960430, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -65672,7 +68703,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -65681,7 +68713,8 @@ { "id": 3404, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -65709,7 +68742,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -65718,7 +68752,8 @@ { "id": 3405, "platform_framework": [ - "64" + "64", + "128" ], "component": "Image", "field_category": 1, @@ -65747,7 +68782,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -65761,7 +68797,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Image", "field_category": 2, @@ -65791,7 +68828,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -65802,7 +68840,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Image", "field_category": 2, @@ -65832,14 +68871,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, @@ -65865,14 +68906,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, @@ -65898,14 +68941,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, @@ -65931,14 +68976,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, @@ -65964,7 +69011,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -65975,7 +69023,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "ImageConfig", "field_category": 1, @@ -66007,7 +69056,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -66020,7 +69070,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "ImageConfig", "field_category": 1, @@ -66052,7 +69103,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -66065,7 +69117,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "ImageConfig", "field_category": 1, @@ -66097,7 +69150,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -66147,7 +69201,8 @@ { "id": 2605, "platform_framework": [ - "64" + "64", + "128" ], "component": "ImageViewer", "field_category": 1, @@ -66175,7 +69230,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -66229,7 +69285,8 @@ { "id": 3472, "platform_framework": [ - "64" + "64", + "128" ], "component": "ImageViewer", "field_category": 1, @@ -66260,7 +69317,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -66350,7 +69408,8 @@ { "id": 3125, "platform_framework": [ - "64" + "64", + "128" ], "component": "ImageViewer", "field_category": 1, @@ -66381,7 +69440,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -66551,7 +69611,8 @@ { "id": 2601, "platform_framework": [ - "64" + "64", + "128" ], "component": "ImageViewer", "field_category": 1, @@ -66579,7 +69640,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -66744,7 +69806,8 @@ { "id": 2802, "platform_framework": [ - "64" + "64", + "128" ], "component": "ImageViewer", "field_category": 1, @@ -66772,7 +69835,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -66781,7 +69845,8 @@ { "id": 1748404966, "platform_framework": [ - "64" + "64", + "128" ], "component": "ImageViewer", "field_category": 1, @@ -66809,7 +69874,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -66939,7 +70005,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "ImageViewer", "field_category": 1, @@ -66969,7 +70036,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -67099,7 +70167,8 @@ { "id": 3473, "platform_framework": [ - "64" + "64", + "128" ], "component": "ImageViewer", "field_category": 1, @@ -67127,7 +70196,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -67179,7 +70249,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "ImageViewer", "field_category": 1, @@ -67211,7 +70282,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -67289,6 +70361,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": [ @@ -67392,6 +70497,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": [ @@ -67429,6 +70567,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": [ @@ -67537,7 +70708,8 @@ { "id": 1759199178, "platform_framework": [ - "64" + "64", + "128" ], "component": "ImageViewer", "field_category": 512, @@ -67563,14 +70735,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, @@ -67596,7 +70770,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -67761,7 +70936,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Indexes", "field_category": 1, @@ -67792,7 +70968,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -67804,7 +70981,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Indexes", "field_category": 1, @@ -67834,7 +71012,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -67844,7 +71023,8 @@ "id": 1458, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Indexes", "field_category": 1, @@ -67873,7 +71053,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -67884,7 +71065,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Indexes", "field_category": 1, @@ -67914,7 +71096,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -67925,7 +71108,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Indexes", "field_category": 1, @@ -67955,7 +71139,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -67964,6 +71149,8 @@ { "id": 1761301156, "platform_framework": [ + "1", + "2", "8", "16", "64" @@ -67992,12 +71179,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": [ @@ -68035,10 +71257,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, @@ -68064,7 +71320,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -68073,7 +71330,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "IndexesAnchor", "field_category": 1, @@ -68104,7 +71362,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -68114,7 +71373,8 @@ { "id": 1711972926, "platform_framework": [ - "64" + "64", + "128" ], "component": "IndexesAnchor", "field_category": 128, @@ -68140,14 +71400,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, @@ -68173,14 +71435,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, @@ -68206,14 +71470,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, @@ -68239,14 +71505,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, @@ -68274,7 +71542,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -68283,7 +71552,8 @@ { "id": 2669, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -68311,7 +71581,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -68320,7 +71591,8 @@ { "id": 1712027041, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -68348,7 +71620,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -68361,7 +71634,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -68393,7 +71667,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -68406,7 +71681,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -68438,7 +71714,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -68447,7 +71724,8 @@ { "id": 1712026816, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -68475,7 +71753,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -68484,7 +71763,8 @@ { "id": 1712026485, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -68512,7 +71792,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -68650,7 +71931,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -68682,7 +71964,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -68693,7 +71976,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -68723,7 +72007,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -68775,7 +72060,8 @@ { "id": 1712579780, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -68804,7 +72090,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -68814,7 +72101,8 @@ { "id": 1712026829, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -68842,7 +72130,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -68851,7 +72140,8 @@ { "id": 1712026588, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -68879,7 +72169,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -68900,7 +72191,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", @@ -68922,10 +72213,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, @@ -68953,7 +72282,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -69001,7 +72331,8 @@ { "id": 1712026462, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -69029,7 +72360,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -69042,7 +72374,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -69074,7 +72407,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -69123,7 +72457,8 @@ "id": 1710, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -69152,7 +72487,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -69163,7 +72499,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -69193,7 +72530,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -69202,7 +72540,8 @@ { "id": 1712026549, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -69230,7 +72569,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -69280,7 +72620,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -69310,7 +72651,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -69319,7 +72661,8 @@ { "id": 1712027060, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -69347,7 +72690,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -69403,7 +72747,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -69436,7 +72781,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -69448,7 +72794,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -69478,7 +72825,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -69491,7 +72839,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -69523,7 +72872,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -69577,7 +72927,8 @@ { "id": 1712579914, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -69605,7 +72956,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -69657,7 +73009,8 @@ { "id": 1712026279, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -69685,7 +73038,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -69698,7 +73052,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -69730,7 +73085,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -69739,7 +73095,8 @@ { "id": 1712026378, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -69767,7 +73124,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -69810,6 +73168,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": [ @@ -69856,7 +73251,8 @@ { "id": 2052, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -69886,7 +73282,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -69901,7 +73298,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -69933,7 +73331,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -69942,7 +73341,8 @@ { "id": 1712027133, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -69970,7 +73370,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -69979,7 +73380,8 @@ { "id": 1712027232, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70007,7 +73409,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -70016,7 +73419,8 @@ { "id": 1712027153, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70044,7 +73448,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -70053,7 +73458,8 @@ { "id": 1712027186, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70081,7 +73487,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -70090,7 +73497,8 @@ { "id": 1712027200, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70118,7 +73526,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -70127,7 +73536,8 @@ { "id": 1712027168, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70155,7 +73565,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -70164,7 +73575,8 @@ { "id": 1712026971, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70192,7 +73604,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -70201,7 +73614,8 @@ { "id": 1712026955, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70229,7 +73643,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -70356,7 +73771,8 @@ "id": 1713, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70385,7 +73801,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -70513,7 +73930,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70545,7 +73963,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -70558,7 +73977,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70591,7 +74011,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -70644,7 +74065,8 @@ { "id": 1711, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70674,7 +74096,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -70689,7 +74112,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70722,7 +74146,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -70771,7 +74196,8 @@ { "id": 1712026101, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70799,7 +74225,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -70929,7 +74356,8 @@ { "id": 1712649530, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 1, @@ -70958,7 +74386,8 @@ "support_default_value": 1, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -71068,6 +74497,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": [ @@ -71171,6 +74633,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": [ @@ -71209,7 +74704,8 @@ { "id": 2541, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 2, @@ -71235,7 +74731,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -71342,6 +74839,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": [ @@ -71480,6 +75043,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": [ @@ -71583,6 +75179,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": [ @@ -71616,6 +75245,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": [ @@ -71824,6 +75486,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": [ @@ -71866,7 +75561,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Input", "field_category": 2, @@ -71896,7 +75592,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -71973,7 +75670,8 @@ { "id": 1712473155, "platform_framework": [ - "64" + "64", + "128" ], "component": "Input", "field_category": 128, @@ -71999,14 +75697,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, @@ -72032,14 +75732,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, @@ -72065,14 +75767,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, @@ -72098,14 +75802,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, @@ -72131,14 +75837,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, @@ -72164,14 +75872,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, @@ -72197,14 +75907,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, @@ -72230,14 +75942,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, @@ -72263,14 +75977,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, @@ -72296,14 +76012,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, @@ -72329,7 +76047,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -72498,7 +76217,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "InputConfig", "field_category": 1, @@ -72530,7 +76250,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -73814,7 +77535,8 @@ { "id": 3367, "platform_framework": [ - "64" + "64", + "128" ], "component": "Link", "field_category": 1, @@ -73843,7 +77565,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -73937,7 +77660,8 @@ { "id": 1712650024, "platform_framework": [ - "64" + "64", + "128" ], "component": "Link", "field_category": 1, @@ -73965,7 +77689,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -74056,7 +77781,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Link", "field_category": 1, @@ -74086,7 +77812,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -74172,6 +77899,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": [ @@ -74218,7 +77982,8 @@ { "id": 3371, "platform_framework": [ - "64" + "64", + "128" ], "component": "Link", "field_category": 1, @@ -74248,7 +78013,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -74263,7 +78029,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Link", "field_category": 1, @@ -74295,7 +78062,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -74304,7 +78072,8 @@ { "id": 1711969735, "platform_framework": [ - "64" + "64", + "128" ], "component": "Link", "field_category": 1, @@ -74332,7 +78101,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -74384,7 +78154,8 @@ { "id": 1712916560, "platform_framework": [ - "64" + "64", + "128" ], "component": "Link", "field_category": 1, @@ -74414,7 +78185,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -74472,7 +78244,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Link", "field_category": 1, @@ -74504,7 +78277,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -74516,7 +78290,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Link", "field_category": 1, @@ -74547,7 +78322,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -74632,7 +78408,8 @@ { "id": 1761301096, "platform_framework": [ - "64" + "64", + "128" ], "component": "Link", "field_category": 2, @@ -74658,14 +78435,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, @@ -74691,14 +78470,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, @@ -74724,14 +78505,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, @@ -74757,14 +78540,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, @@ -74790,14 +78575,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, @@ -74823,14 +78610,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, @@ -74856,14 +78645,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, @@ -74889,14 +78680,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, @@ -74924,7 +78717,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -74937,7 +78731,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "List", "field_category": 1, @@ -74970,7 +78765,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -74984,7 +78780,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "List", "field_category": 1, @@ -75017,7 +78814,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -75031,7 +78829,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "List", "field_category": 1, @@ -75064,7 +78863,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -75685,7 +79485,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "ListItem", "field_category": 1, @@ -75717,7 +79518,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -75769,7 +79571,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "ListItem", "field_category": 1, @@ -75801,7 +79604,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -76188,7 +79992,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -76220,7 +80025,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -76231,7 +80037,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -76261,7 +80068,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -76274,7 +80082,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -76306,7 +80115,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -76319,7 +80129,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -76352,7 +80163,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -76366,7 +80178,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -76398,7 +80211,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -76409,7 +80223,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -76439,7 +80254,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -76452,7 +80268,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -76484,7 +80301,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -76495,7 +80313,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -76525,7 +80344,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -76575,7 +80395,8 @@ { "id": 1712056744, "platform_framework": [ - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -76603,7 +80424,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -76614,7 +80436,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -76644,7 +80467,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -76733,7 +80557,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -76763,7 +80588,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -76776,7 +80602,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Loading", "field_category": 1, @@ -76809,7 +80636,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -76857,6 +80685,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": [ @@ -76899,7 +80764,8 @@ { "id": 1712056666, "platform_framework": [ - "64" + "64", + "128" ], "component": "Loading", "field_category": 128, @@ -76925,14 +80791,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, @@ -76958,14 +80826,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, @@ -76991,14 +80861,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, @@ -77024,7 +80896,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -78039,7 +81912,8 @@ { "id": 1450, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -78068,7 +81942,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -78080,7 +81955,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -78110,7 +81986,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -78166,7 +82043,8 @@ { "id": 3409, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -78197,7 +82075,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -78213,7 +82092,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -78246,7 +82126,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -78260,7 +82141,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -78292,7 +82174,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -78302,7 +82185,8 @@ "id": 1725334222, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -78333,7 +82217,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -78389,7 +82274,8 @@ { "id": 1400, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -78420,7 +82306,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -78434,7 +82321,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -78466,7 +82354,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -78479,7 +82368,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -78510,7 +82400,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -78520,7 +82411,8 @@ { "id": 1449, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -78548,7 +82440,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -78597,7 +82490,8 @@ "id": 1725334169, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -78626,7 +82520,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -78676,7 +82571,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -78706,7 +82602,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -78717,7 +82614,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -78747,7 +82645,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -78795,7 +82694,8 @@ { "id": 3136, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 1, @@ -78823,7 +82723,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -78832,7 +82733,8 @@ { "id": 1399, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 2, @@ -78858,7 +82760,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -78980,7 +82883,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Message", "field_category": 2, @@ -79010,7 +82914,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -79058,7 +82963,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Message", "field_category": 2, @@ -79088,7 +82994,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -79097,7 +83004,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Message", "field_category": 2, @@ -79125,7 +83033,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -79206,7 +83115,8 @@ { "id": 1712057171, "platform_framework": [ - "64" + "64", + "128" ], "component": "Message", "field_category": 128, @@ -79232,14 +83142,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, @@ -79265,14 +83177,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, @@ -79298,14 +83212,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, @@ -79331,14 +83247,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, @@ -79364,14 +83282,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, @@ -79397,14 +83317,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, @@ -79430,14 +83352,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, @@ -79463,14 +83387,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, @@ -79496,14 +83422,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, @@ -79529,7 +83457,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -79844,7 +83773,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -79874,7 +83804,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -79884,7 +83815,8 @@ "id": 1624, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -79913,7 +83845,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -79924,7 +83857,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -79954,7 +83888,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -79963,7 +83898,8 @@ { "id": 1627, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -79991,7 +83927,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -80002,7 +83939,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -80032,7 +83970,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -80041,7 +83980,8 @@ { "id": 1626, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -80069,7 +84009,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -80117,7 +84058,8 @@ { "id": 3377, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -80145,7 +84087,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -80193,7 +84136,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -80223,7 +84167,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -80232,7 +84177,8 @@ { "id": 1625, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -80260,7 +84206,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -80347,7 +84294,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -80377,7 +84325,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -80388,7 +84337,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -80419,7 +84369,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -80431,7 +84382,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -80461,7 +84413,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -80472,7 +84425,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Navbar", "field_category": 1, @@ -80502,7 +84456,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -80511,7 +84466,8 @@ { "id": 1648, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 2, @@ -80537,14 +84493,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, @@ -80570,14 +84528,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, @@ -80603,14 +84563,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, @@ -80636,7 +84598,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -80775,7 +84738,8 @@ { "id": 1646, "platform_framework": [ - "64" + "64", + "128" ], "component": "Navbar", "field_category": 2, @@ -80801,14 +84765,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, @@ -80834,14 +84800,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, @@ -80867,14 +84835,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, @@ -80900,14 +84870,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, @@ -80933,14 +84905,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, @@ -80966,14 +84940,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, @@ -80999,14 +84975,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, @@ -81032,14 +85010,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, @@ -81065,7 +85045,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -81074,7 +85055,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 1, @@ -81106,7 +85088,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -81119,7 +85102,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 1, @@ -81149,7 +85133,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -81159,7 +85144,8 @@ "id": 1712057349, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 1, @@ -81188,7 +85174,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -81197,7 +85184,8 @@ { "id": 1394, "platform_framework": [ - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 1, @@ -81226,7 +85214,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -81279,7 +85268,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 1, @@ -81310,7 +85300,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -81357,7 +85348,8 @@ { "id": 2610, "platform_framework": [ - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 1, @@ -81388,7 +85380,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -81478,7 +85471,8 @@ { "id": 2608, "platform_framework": [ - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 1, @@ -81508,7 +85502,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -81521,7 +85516,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 1, @@ -81551,7 +85547,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -81562,7 +85559,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "NoticeBar", "field_category": 1, @@ -81592,7 +85590,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -81666,6 +85665,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": [ @@ -81703,10 +85735,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, @@ -81732,14 +85798,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, @@ -81765,14 +85833,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, @@ -81798,14 +85868,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, @@ -81831,14 +85903,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, @@ -81864,14 +85938,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, @@ -81897,14 +85973,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, @@ -81930,14 +86008,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, @@ -81963,7 +86043,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -83031,7 +87112,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Overlay", "field_category": 1, @@ -83061,7 +87143,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -83181,7 +87264,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Overlay", "field_category": 1, @@ -83211,7 +87295,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -83221,7 +87306,8 @@ "id": 2811, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Overlay", "field_category": 1, @@ -83250,7 +87336,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -83296,7 +87383,8 @@ { "id": 1719908470, "platform_framework": [ - "64" + "64", + "128" ], "component": "Overlay", "field_category": 1, @@ -83324,7 +87412,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -83335,7 +87424,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Overlay", "field_category": 1, @@ -83365,7 +87455,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -83413,7 +87504,8 @@ { "id": 3415, "platform_framework": [ - "64" + "64", + "128" ], "component": "Overlay", "field_category": 1, @@ -83441,7 +87533,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -83515,6 +87608,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": [ @@ -83658,7 +87784,8 @@ { "id": 1759215712, "platform_framework": [ - "64" + "64", + "128" ], "component": "Overlay", "field_category": 512, @@ -83684,7 +87811,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -85087,7 +89215,8 @@ { "id": 2834, "platform_framework": [ - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -85115,7 +89244,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -85126,7 +89256,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -85157,7 +89288,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -85210,7 +89342,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -85241,7 +89374,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -85253,7 +89387,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -85283,7 +89418,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -85327,7 +89463,8 @@ { "id": 3476, "platform_framework": [ - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -85356,7 +89493,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -85405,7 +89543,8 @@ { "id": 1720094053, "platform_framework": [ - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -85433,7 +89572,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -85442,7 +89582,8 @@ { "id": 3475, "platform_framework": [ - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -85470,7 +89611,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -85557,7 +89699,8 @@ { "id": 1710843688, "platform_framework": [ - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -85585,7 +89728,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -85676,7 +89820,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -85706,7 +89851,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -85715,7 +89861,8 @@ { "id": 1719909526, "platform_framework": [ - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -85743,7 +89890,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -85752,7 +89900,8 @@ { "id": 1719908481, "platform_framework": [ - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -85780,7 +89929,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -85791,7 +89941,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -85821,7 +89972,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -85831,7 +89983,8 @@ "id": 1471, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Picker", "field_category": 1, @@ -85860,7 +90013,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -85907,6 +90061,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": [ @@ -85983,6 +90174,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": [ @@ -86016,6 +90244,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": [ @@ -86092,6 +90353,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": [ @@ -86168,10 +90466,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, @@ -86197,14 +90533,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, @@ -86230,7 +90568,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -86315,7 +90654,8 @@ { "id": 3267, "platform_framework": [ - "64" + "64", + "128" ], "component": "PickerItem", "field_category": 1, @@ -86343,7 +90683,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -86352,7 +90693,8 @@ { "id": 3268, "platform_framework": [ - "64" + "64", + "128" ], "component": "PickerItem", "field_category": 1, @@ -86380,7 +90722,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -86389,7 +90732,8 @@ { "id": 1760086147, "platform_framework": [ - "64" + "64", + "128" ], "component": "PickerItem", "field_category": 512, @@ -86415,7 +90759,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -87563,7 +91908,8 @@ { "id": 1300, "platform_framework": [ - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -87592,7 +91938,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -87645,7 +91992,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -87675,7 +92023,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -87686,7 +92035,8 @@ "platform_framework": [ "1", "2", - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -87717,7 +92067,8 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -87926,7 +92277,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -87956,7 +92308,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -88168,7 +92521,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -88198,7 +92552,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -88291,7 +92646,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -88321,7 +92677,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -88404,7 +92761,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -88434,7 +92792,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -88484,7 +92843,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -88514,7 +92874,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -88673,7 +93034,8 @@ { "id": 1719908487, "platform_framework": [ - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -88701,7 +93063,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -88714,7 +93077,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -88746,7 +93110,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -88798,7 +93163,8 @@ { "id": 3137, "platform_framework": [ - "64" + "64", + "128" ], "component": "Popup", "field_category": 1, @@ -88826,7 +93192,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -89173,6 +93540,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": [ @@ -89316,7 +93720,8 @@ { "id": 1712058201, "platform_framework": [ - "64" + "64", + "128" ], "component": "Popup", "field_category": 128, @@ -89342,14 +93747,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, @@ -89375,14 +93782,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, @@ -89408,7 +93817,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -91870,7 +96280,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Progress", "field_category": 1, @@ -91904,7 +96315,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -91919,7 +96331,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Progress", "field_category": 1, @@ -91953,7 +96366,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -91968,7 +96382,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Progress", "field_category": 1, @@ -92000,7 +96415,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -92052,7 +96468,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Progress", "field_category": 1, @@ -92083,7 +96500,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -92097,7 +96515,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Progress", "field_category": 1, @@ -92129,7 +96548,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -92183,7 +96603,8 @@ { "id": 1712650604, "platform_framework": [ - "64" + "64", + "128" ], "component": "Progress", "field_category": 1, @@ -92212,7 +96633,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -92226,7 +96648,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Progress", "field_category": 1, @@ -92258,7 +96681,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -92271,7 +96695,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Progress", "field_category": 1, @@ -92303,7 +96728,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -92312,7 +96738,8 @@ { "id": 1712052944, "platform_framework": [ - "64" + "64", + "128" ], "component": "Progress", "field_category": 128, @@ -92341,7 +96768,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -92351,7 +96779,8 @@ { "id": 1712052948, "platform_framework": [ - "64" + "64", + "128" ], "component": "Progress", "field_category": 128, @@ -92380,7 +96809,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -92390,7 +96820,8 @@ { "id": 1712052956, "platform_framework": [ - "64" + "64", + "128" ], "component": "Progress", "field_category": 128, @@ -92419,7 +96850,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -92429,7 +96861,8 @@ { "id": 1759199823, "platform_framework": [ - "64" + "64", + "128" ], "component": "Progress", "field_category": 512, @@ -92455,7 +96888,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -92464,7 +96898,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -92494,7 +96929,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -92503,7 +96939,8 @@ { "id": 3480, "platform_framework": [ - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -92531,7 +96968,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -92540,7 +96978,8 @@ { "id": 3481, "platform_framework": [ - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -92568,7 +97007,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -92577,7 +97017,8 @@ { "id": 1712058324, "platform_framework": [ - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -92605,7 +97046,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -92616,7 +97058,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -92647,7 +97090,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -92695,12 +97139,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, @@ -92730,7 +97212,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -92739,7 +97222,8 @@ { "id": 3478, "platform_framework": [ - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -92768,7 +97252,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -92780,7 +97265,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -92811,7 +97297,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -92823,7 +97310,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -92853,7 +97341,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -92862,7 +97351,8 @@ { "id": 3479, "platform_framework": [ - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -92890,7 +97380,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -92899,7 +97390,8 @@ { "id": 3528, "platform_framework": [ - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -92927,7 +97419,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -92938,7 +97431,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -92969,7 +97463,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -92979,7 +97474,8 @@ { "id": 3477, "platform_framework": [ - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -93008,7 +97504,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -93018,7 +97515,8 @@ { "id": 1735092907, "platform_framework": [ - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -93046,7 +97544,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -93057,7 +97556,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 1, @@ -93087,7 +97587,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -93130,6 +97631,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": [ @@ -93163,6 +97697,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: { scrollTop: number, scrollLeft: number })", + "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": [ @@ -93196,6 +97763,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: { scrollTop: number, scrollLeft: number })", + "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": [ @@ -93229,12 +97829,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: { scrollTop: number, scrollLeft: number })", + "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, @@ -93262,7 +97896,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -93271,7 +97906,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 2, @@ -93299,7 +97935,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -93308,7 +97945,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "PullDownRefresh", "field_category": 2, @@ -93336,14 +97974,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, @@ -93369,14 +98009,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, @@ -93402,14 +98044,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, @@ -93435,14 +98079,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, @@ -93468,14 +98114,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, @@ -93501,7 +98149,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -93510,7 +98159,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "PullDownRefreshConfig", "field_category": 1, @@ -93540,7 +98190,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -93553,7 +98204,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 1, @@ -93585,7 +98237,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -93598,7 +98251,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 1, @@ -93630,7 +98284,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -93643,7 +98298,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 1, @@ -93675,7 +98331,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -93688,7 +98345,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 1, @@ -93720,7 +98378,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -93733,7 +98392,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 1, @@ -93766,7 +98426,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number", @@ -93780,7 +98441,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 1, @@ -93812,7 +98474,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -93825,7 +98488,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 1, @@ -93857,7 +98521,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -93870,7 +98535,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 1, @@ -93902,7 +98568,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -93915,7 +98582,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 1, @@ -93947,12 +98615,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": [ @@ -94003,7 +98709,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 1, @@ -94035,7 +98742,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -94048,7 +98756,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCode", "field_category": 2, @@ -94078,14 +98787,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, @@ -94111,7 +98822,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -94122,7 +98834,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCodeConfig", "field_category": 1, @@ -94154,7 +98867,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -94167,7 +98881,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCodeConfig", "field_category": 1, @@ -94199,7 +98914,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -94212,7 +98928,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "QRCodeConfig", "field_category": 1, @@ -94244,7 +98961,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -94294,7 +99012,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -94326,7 +99045,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -94337,7 +99057,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -94367,7 +99088,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -94419,7 +99141,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -94451,7 +99174,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -94536,7 +99260,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -94567,7 +99292,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -94578,7 +99304,8 @@ "id": 1418, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -94607,7 +99334,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -94737,7 +99465,8 @@ { "id": 1712650829, "platform_framework": [ - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -94765,7 +99494,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -94815,7 +99545,8 @@ { "id": 1421, "platform_framework": [ - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -94845,7 +99576,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -94860,7 +99592,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -94893,7 +99626,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -94905,7 +99639,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -94935,7 +99670,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -94946,7 +99682,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -94976,7 +99713,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -94989,7 +99727,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -95021,7 +99760,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -95032,7 +99772,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -95062,7 +99803,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -95075,7 +99817,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -95107,12 +99850,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": [ @@ -95163,7 +99944,8 @@ { "id": 1712650988, "platform_framework": [ - "64" + "64", + "128" ], "component": "Radio", "field_category": 1, @@ -95193,7 +99975,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -95304,6 +100087,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": [ @@ -95346,7 +100162,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Radio", "field_category": 64, @@ -95376,14 +100193,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, @@ -95409,14 +100228,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, @@ -95442,14 +100263,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, @@ -95475,14 +100298,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, @@ -95508,14 +100333,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, @@ -95541,14 +100368,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, @@ -95574,14 +100403,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, @@ -95607,7 +100438,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -95651,7 +100483,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 1, @@ -95683,7 +100516,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -95731,7 +100565,8 @@ { "id": 1712028976, "platform_framework": [ - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 1, @@ -95759,7 +100594,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -95811,7 +100647,8 @@ { "id": 1712651056, "platform_framework": [ - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 1, @@ -95839,7 +100676,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -95848,7 +100686,8 @@ { "id": 3119, "platform_framework": [ - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 1, @@ -95877,7 +100716,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -95930,7 +100770,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 1, @@ -95960,7 +100801,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -95973,7 +100815,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 1, @@ -96005,7 +100848,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -96057,7 +100901,8 @@ { "id": 1425, "platform_framework": [ - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 1, @@ -96085,7 +100930,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -96096,7 +100942,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 1, @@ -96126,7 +100973,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -96139,7 +100987,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 1, @@ -96171,12 +101020,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": [ @@ -96262,7 +101149,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 1, @@ -96281,7 +101169,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, @@ -96296,7 +101184,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -96446,6 +101335,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": [ @@ -96453,7 +101375,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "RadioGroup", "field_category": 64, @@ -96483,14 +101406,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, @@ -96516,7 +101441,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -98153,7 +103079,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -98185,7 +103112,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -98278,7 +103206,8 @@ { "id": 1712911333, "platform_framework": [ - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -98307,7 +103236,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -98321,7 +103251,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -98353,7 +103284,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -98366,7 +103298,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -98398,7 +103331,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -98448,7 +103382,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -98479,7 +103414,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -98528,7 +103464,8 @@ { "id": 2885, "platform_framework": [ - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -98557,7 +103494,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -98608,7 +103546,8 @@ { "id": 1712029577, "platform_framework": [ - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -98636,7 +103575,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -98647,7 +103587,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -98677,7 +103618,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -98690,7 +103632,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -98722,7 +103665,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -98773,6 +103717,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": [ @@ -98780,7 +103763,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -98812,7 +103796,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -98825,7 +103810,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -98857,7 +103843,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -98866,7 +103853,8 @@ { "id": 2428, "platform_framework": [ - "64" + "64", + "128" ], "component": "Rate", "field_category": 1, @@ -98894,7 +103882,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -98941,10 +103930,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, @@ -98970,14 +103993,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, @@ -99003,14 +104028,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, @@ -99036,7 +104063,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -99162,7 +104190,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Result", "field_category": 1, @@ -99193,7 +104222,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -99203,7 +104233,8 @@ { "id": 3129, "platform_framework": [ - "64" + "64", + "128" ], "component": "Result", "field_category": 1, @@ -99233,7 +104264,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -99283,7 +104315,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Result", "field_category": 1, @@ -99314,7 +104347,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -99326,7 +104360,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Result", "field_category": 1, @@ -99356,7 +104391,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -99367,7 +104403,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Result", "field_category": 1, @@ -99398,7 +104435,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -99408,7 +104446,8 @@ { "id": 1712053329, "platform_framework": [ - "64" + "64", + "128" ], "component": "Result", "field_category": 128, @@ -99434,14 +104473,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, @@ -99467,14 +104508,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, @@ -99500,14 +104543,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, @@ -99533,7 +104578,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -99624,7 +104670,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Row", "field_category": 1, @@ -99655,7 +104702,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -99743,7 +104791,8 @@ { "id": 1760085899, "platform_framework": [ - "64" + "64", + "128" ], "component": "Row", "field_category": 512, @@ -99769,7 +104818,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -99777,7 +104827,8 @@ "id": 1542, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -99807,7 +104858,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -99856,7 +104908,8 @@ { "id": 1712031065, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -99884,7 +104937,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -99893,7 +104947,8 @@ { "id": 1712030264, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -99921,7 +104976,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -100193,7 +105249,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -100223,7 +105280,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -100234,7 +105292,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -100264,7 +105323,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -100276,7 +105336,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -100307,7 +105368,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -100353,7 +105415,8 @@ { "id": 1712030357, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -100381,7 +105444,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -100390,7 +105454,8 @@ { "id": 1712030225, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -100418,7 +105483,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -100461,10 +105527,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, @@ -100492,7 +105596,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -100504,7 +105609,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -100535,7 +105641,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -100622,7 +105729,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -100652,7 +105760,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -100661,7 +105770,8 @@ { "id": 1712031083, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -100689,7 +105799,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -100778,7 +105889,8 @@ { "id": 3386, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -100806,7 +105918,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -100815,7 +105928,8 @@ { "id": 3387, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -100844,7 +105958,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -100896,7 +106011,8 @@ "id": 1712030157, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -100925,7 +106041,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -100934,7 +106051,8 @@ { "id": 1712030181, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -100962,7 +106080,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -101053,7 +106172,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -101085,7 +106205,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -101094,7 +106215,8 @@ { "id": 1712031137, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -101122,7 +106244,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -101165,6 +106288,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": [ @@ -101322,7 +106482,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -101354,7 +106515,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -101364,7 +106526,8 @@ "id": 1719488506, "platform_framework": [ "8", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -101393,7 +106556,8 @@ "field_category_text": "Props", "platform_framework_text": [ "Vue(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -101402,7 +106566,8 @@ { "id": 1712031376, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -101431,7 +106596,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -101480,7 +106646,8 @@ { "id": 1712031040, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -101508,7 +106675,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -101517,7 +106685,8 @@ { "id": 1712031024, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -101545,7 +106714,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -101556,7 +106726,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -101586,7 +106757,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -101786,7 +106958,8 @@ { "id": 1712031485, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -101814,7 +106987,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -101864,7 +107038,8 @@ { "id": 1712653782, "platform_framework": [ - "64" + "64", + "128" ], "component": "Search", "field_category": 1, @@ -101892,7 +107067,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -102007,6 +107183,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": [ @@ -102051,22 +107260,275 @@ ] }, { - "id": 1761301730, + "id": 1761301730, + "platform_framework": [ + "64" + ], + "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": "({ value: string })", + "create_time": "2025-10-24 10:28:50", + "update_time": "2025-10-24 10:28: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": [ + "Miniprogram" + ], + "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": [ + "1", + "2", + "16" + ], + "component": "Search", + "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": "(value: string, context: { trigger: 'input-change' | 'option-click'; e?: InputEvent | MouseEvent })", + "create_time": "2022-04-20 03:48:59", + "update_time": "2022-07-20 14:55:55", + "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(PC)", + "React(PC)", + "React(Mobile)" + ], + "field_type_text": [ + "String" + ] + }, + { + "id": 1712657796, + "platform_framework": [ + "8" + ], + "component": "Search", + "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": "(value: string, context: { e?: InputEvent | MouseEvent })", + "create_time": "2024-04-09 10:16:36", + "update_time": "2024-04-09 10:16: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": [ + "Vue(Mobile)" + ], + "field_type_text": [ + "String" + ] + }, + { + "id": 1761301744, + "platform_framework": [ + "64" + ], + "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": "({ value: string })", + "create_time": "2025-10-24 10:29:04", + "update_time": "2025-10-24 10:29: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": [ + "Miniprogram" + ], + "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": [ + "1", + "2", + "8", + "16" + ], + "component": "Search", + "field_category": 2, + "field_name": "clear", + "field_type": [ + "1" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击清除时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { e: MouseEvent })", + "create_time": "2022-04-20 03:48:19", + "update_time": "2022-07-18 12:11:28", + "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(PC)", + "React(PC)", + "Vue(Mobile)", + "React(Mobile)" + ], + "field_type_text": [ + "String" + ] + }, + { + "id": 1761301756, "platform_framework": [ "64" ], "component": "Search", "field_category": 2, - "field_name": "blur", + "field_name": "clear", "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "失去焦点时触发", + "field_desc_zh": "点击清除时触发", "field_desc_en": null, "field_required": 0, "event_input": "({ value: string })", - "create_time": "2025-10-24 10:28:50", - "update_time": "2025-10-24 10:28:50", + "create_time": "2025-10-24 10:29:16", + "update_time": "2025-10-24 10:29:16", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -102084,65 +107546,22 @@ "field_type_text": [] }, { - "id": 2615, + "id": 1762449364, "platform_framework": [ - "1", - "2", - "16" - ], - "component": "Search", - "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": "(value: string, context: { trigger: 'input-change' | 'option-click'; e?: InputEvent | MouseEvent })", - "create_time": "2022-04-20 03:48:59", - "update_time": "2022-07-20 14:55:55", - "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(PC)", - "React(PC)", - "React(Mobile)" - ], - "field_type_text": [ - "String" - ] - }, - { - "id": 1712657796, - "platform_framework": [ - "8" + "128" ], "component": "Search", "field_category": 2, - "field_name": "change", - "field_type": [ - "1" - ], + "field_name": "clear", + "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "搜索关键词发生变化时触发,可能场景有:搜索框内容发生变化、点击联想词", + "field_desc_zh": "点击清除时触发", "field_desc_en": null, "field_required": 0, - "event_input": "(value: string, context: { e?: InputEvent | MouseEvent })", - "create_time": "2024-04-09 10:16:36", - "update_time": "2024-04-09 10:16:36", + "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, @@ -102155,47 +107574,47 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Vue(Mobile)" + "UniApp" ], - "field_type_text": [ - "String" - ] + "field_type_text": [] }, { - "id": 1761301744, + "id": 2850, "platform_framework": [ - "64" + "1", + "2" ], "component": "Search", "field_category": 2, - "field_name": "change", + "field_name": "enter", "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "值发生变化时触发", + "field_desc_zh": "回车键按下时触发", "field_desc_en": null, "field_required": 0, - "event_input": "({ value: string })", - "create_time": "2025-10-24 10:29:04", - "update_time": "2025-10-24 10:29:04", + "event_input": "(context: { value: string; e: KeyboardEvent })", + "create_time": "2022-07-19 10:18:25", + "update_time": "2022-07-20 14:51:33", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, - "trigger_elements": "", + "trigger_elements": "KeyboardEvent", "deprecated": 0, "version": "", "test_description": null, "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Vue(PC)", + "React(PC)" ], "field_type_text": [] }, { - "id": 2614, + "id": 2613, "platform_framework": [ "1", "2", @@ -102204,18 +107623,18 @@ ], "component": "Search", "field_category": 2, - "field_name": "clear", + "field_name": "focus", "field_type": [ "1" ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "点击清除时触发", + "field_desc_zh": "获得焦点时触发", "field_desc_en": null, "field_required": 0, - "event_input": "(context: { e: MouseEvent })", - "create_time": "2022-04-20 03:48:19", - "update_time": "2022-07-18 12:11:28", + "event_input": "(context: { value: string; e: FocusEvent })", + "create_time": "2022-04-20 03:47:51", + "update_time": "2022-07-20 14:51:42", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -102238,22 +107657,22 @@ ] }, { - "id": 1761301756, + "id": 1761301768, "platform_framework": [ "64" ], "component": "Search", "field_category": 2, - "field_name": "clear", + "field_name": "focus", "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "点击清除时触发", + "field_desc_zh": "聚焦时触发", "field_desc_en": null, "field_required": 0, "event_input": "({ value: string })", - "create_time": "2025-10-24 10:29:16", - "update_time": "2025-10-24 10:29:16", + "create_time": "2025-10-24 10:29:28", + "update_time": "2025-10-24 10:29:28", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -102271,87 +107690,9 @@ "field_type_text": [] }, { - "id": 2850, + "id": 1762449382, "platform_framework": [ - "1", - "2" - ], - "component": "Search", - "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: string; e: KeyboardEvent })", - "create_time": "2022-07-19 10:18:25", - "update_time": "2022-07-20 14:51:33", - "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": [ - "Vue(PC)", - "React(PC)" - ], - "field_type_text": [] - }, - { - "id": 2613, - "platform_framework": [ - "1", - "2", - "8", - "16" - ], - "component": "Search", - "field_category": 2, - "field_name": "focus", - "field_type": [ - "1" - ], - "field_default_value": "", - "field_enum": "", - "field_desc_zh": "获得焦点时触发", - "field_desc_en": null, - "field_required": 0, - "event_input": "(context: { value: string; e: FocusEvent })", - "create_time": "2022-04-20 03:47:51", - "update_time": "2022-07-20 14:51: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": [ - "Vue(PC)", - "React(PC)", - "Vue(Mobile)", - "React(Mobile)" - ], - "field_type_text": [ - "String" - ] - }, - { - "id": 1761301768, - "platform_framework": [ - "64" + "128" ], "component": "Search", "field_category": 2, @@ -102362,9 +107703,9 @@ "field_desc_zh": "聚焦时触发", "field_desc_en": null, "field_required": 0, - "event_input": "({ value: string })", - "create_time": "2025-10-24 10:29:28", - "update_time": "2025-10-24 10:29:28", + "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, @@ -102377,7 +107718,7 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "UniApp" ], "field_type_text": [] }, @@ -102564,10 +107905,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, @@ -102593,14 +107968,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, @@ -102626,14 +108003,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, @@ -102659,14 +108038,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, @@ -102692,14 +108073,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, @@ -102725,14 +108108,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, @@ -102758,14 +108143,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, @@ -102791,7 +108178,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -106674,7 +112062,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SideBar", "field_category": 1, @@ -106705,7 +112094,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -106788,6 +112178,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": [ @@ -106829,10 +112256,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, @@ -106858,7 +112323,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -106867,7 +112333,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SideBarItem", "field_category": 1, @@ -106897,7 +112364,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -106908,7 +112376,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SideBarItem", "field_category": 1, @@ -106938,7 +112407,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -106947,7 +112417,8 @@ { "id": 3534, "platform_framework": [ - "64" + "64", + "128" ], "component": "SideBarItem", "field_category": 1, @@ -106976,7 +112447,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -107027,7 +112499,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SideBarItem", "field_category": 1, @@ -107057,7 +112530,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -107068,7 +112542,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SideBarItem", "field_category": 1, @@ -107099,7 +112574,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -107109,7 +112585,8 @@ { "id": 1760086476, "platform_framework": [ - "64" + "64", + "128" ], "component": "SideBarItem", "field_category": 512, @@ -107135,7 +112612,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -107146,7 +112624,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Skeleton", "field_category": 1, @@ -107178,7 +112657,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -107312,7 +112792,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Skeleton", "field_category": 1, @@ -107344,7 +112825,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -107357,7 +112839,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Skeleton", "field_category": 1, @@ -107389,7 +112872,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -107398,7 +112882,8 @@ { "id": 1841, "platform_framework": [ - "64" + "64", + "128" ], "component": "Skeleton", "field_category": 1, @@ -107426,7 +112911,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -107480,7 +112966,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Skeleton", "field_category": 1, @@ -107510,7 +112997,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -107558,7 +113046,8 @@ { "id": 1712053438, "platform_framework": [ - "64" + "64", + "128" ], "component": "Skeleton", "field_category": 128, @@ -107584,14 +113073,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, @@ -107617,14 +113108,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, @@ -107650,14 +113143,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, @@ -107683,14 +113178,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, @@ -107718,7 +113215,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -107731,7 +113229,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -107763,7 +113262,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -107772,7 +113272,8 @@ { "id": 1810, "platform_framework": [ - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -107800,7 +113301,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -107893,7 +113395,8 @@ { "id": 3120, "platform_framework": [ - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -107923,7 +113426,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -108061,7 +113565,8 @@ { "id": 1325, "platform_framework": [ - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -108090,7 +113595,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object", @@ -108104,7 +113610,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -108136,7 +113643,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -108149,7 +113657,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -108181,7 +113690,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -108194,7 +113704,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -108226,7 +113737,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -108237,7 +113749,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -108267,7 +113780,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -108319,7 +113833,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -108351,7 +113866,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -108362,7 +113878,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -108392,7 +113909,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -108444,7 +113962,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -108477,7 +113996,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number", @@ -108487,7 +114007,8 @@ { "id": 1712043696, "platform_framework": [ - "64" + "64", + "128" ], "component": "Slider", "field_category": 1, @@ -108515,7 +114036,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -108599,6 +114121,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": [ @@ -108637,7 +114192,7 @@ { "id": 2001, "platform_framework": [ - "64" + "128" ], "component": "Slider", "field_category": 2, @@ -108648,7 +114203,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, @@ -108663,7 +114218,7 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "UniApp" ], "field_type_text": [] }, @@ -108702,6 +114257,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": [ @@ -108770,10 +114358,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, @@ -108799,14 +114421,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, @@ -108832,14 +114456,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, @@ -108865,14 +114491,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, @@ -108898,14 +114526,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, @@ -108931,7 +114561,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -109814,7 +115445,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "StepItem", "field_category": 1, @@ -109847,7 +115479,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -109939,7 +115572,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "StepItem", "field_category": 1, @@ -109970,7 +115604,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -110025,7 +115660,8 @@ { "id": 1588, "platform_framework": [ - "64" + "64", + "128" ], "component": "StepItem", "field_category": 1, @@ -110054,7 +115690,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -110068,7 +115705,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "StepItem", "field_category": 1, @@ -110100,7 +115738,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -110109,7 +115748,8 @@ { "id": 2475, "platform_framework": [ - "64" + "64", + "128" ], "component": "StepItem", "field_category": 1, @@ -110137,7 +115777,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -110150,7 +115791,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "StepItem", "field_category": 1, @@ -110183,7 +115825,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -110275,7 +115918,8 @@ { "id": 1709437692, "platform_framework": [ - "64" + "64", + "128" ], "component": "StepItem", "field_category": 128, @@ -110301,14 +115945,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, @@ -110334,14 +115980,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, @@ -110367,14 +116015,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, @@ -110400,14 +116050,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, @@ -110433,14 +116085,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, @@ -110466,14 +116120,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, @@ -110499,7 +116155,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -110508,7 +116165,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Stepper", "field_category": 1, @@ -110538,7 +116196,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -110549,7 +116208,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Stepper", "field_category": 1, @@ -110579,7 +116239,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -110588,7 +116249,8 @@ { "id": 1503, "platform_framework": [ - "64" + "64", + "128" ], "component": "Stepper", "field_category": 1, @@ -110616,7 +116278,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -110666,7 +116329,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Stepper", "field_category": 1, @@ -110696,7 +116360,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -110707,7 +116372,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Stepper", "field_category": 1, @@ -110737,7 +116403,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -110748,7 +116415,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Stepper", "field_category": 1, @@ -110778,7 +116446,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -110789,7 +116458,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Stepper", "field_category": 1, @@ -110819,7 +116489,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -110830,7 +116501,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Stepper", "field_category": 1, @@ -110860,7 +116532,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -110871,7 +116544,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Stepper", "field_category": 1, @@ -110901,7 +116575,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -110912,7 +116587,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Stepper", "field_category": 1, @@ -110943,7 +116619,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -111024,6 +116701,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": [ @@ -111098,6 +116808,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": [ @@ -111172,6 +116915,39 @@ ], "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": [ @@ -111246,10 +117022,44 @@ ], "field_type_text": [] }, + { + "id": 1762450013, + "platform_framework": [ + "128" + ], + "component": "Stepper", + "field_category": 2, + "field_name": "overlimit", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "数值超出限制时触发", + "field_desc_en": null, + "field_required": 0, + "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, + "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": 1712043997, "platform_framework": [ - "64" + "64", + "128" ], "component": "Stepper", "field_category": 128, @@ -111275,14 +117085,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, @@ -111308,14 +117120,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, @@ -111341,14 +117155,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, @@ -111374,7 +117190,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -111385,7 +117202,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Steps", "field_category": 1, @@ -111418,7 +117236,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -111430,7 +117249,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Steps", "field_category": 1, @@ -111460,7 +117280,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -111473,7 +117294,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Steps", "field_category": 1, @@ -111505,7 +117327,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -111557,7 +117380,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Steps", "field_category": 1, @@ -111589,7 +117413,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -111641,7 +117466,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Steps", "field_category": 1, @@ -111673,7 +117499,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -111686,7 +117513,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Steps", "field_category": 1, @@ -111718,7 +117546,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -111766,7 +117595,8 @@ { "id": 1587, "platform_framework": [ - "64" + "64", + "128" ], "component": "Steps", "field_category": 2, @@ -111777,7 +117607,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, @@ -111792,14 +117622,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, @@ -111825,14 +117657,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, @@ -111858,7 +117692,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -111943,7 +117778,8 @@ { "id": 1730, "platform_framework": [ - "64" + "64", + "128" ], "component": "Sticky", "field_category": 1, @@ -111971,7 +117807,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -112058,7 +117895,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Sticky", "field_category": 1, @@ -112088,7 +117926,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -112099,7 +117938,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Sticky", "field_category": 1, @@ -112130,7 +117970,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -112142,7 +117983,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Sticky", "field_category": 1, @@ -112172,7 +118014,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -112183,7 +118026,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Sticky", "field_category": 2, @@ -112211,14 +118055,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, @@ -112244,14 +118090,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, @@ -112277,14 +118125,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, @@ -112310,7 +118160,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -113261,7 +119112,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SwipeCell", "field_category": 1, @@ -113291,7 +119143,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -113341,7 +119194,8 @@ { "id": 1725352608, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwipeCell", "field_category": 1, @@ -113370,7 +119224,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array", @@ -113382,7 +119237,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SwipeCell", "field_category": 1, @@ -113413,7 +119269,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -113423,7 +119280,8 @@ { "id": 1748, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwipeCell", "field_category": 1, @@ -113452,7 +119310,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array", @@ -113540,7 +119399,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SwipeCell", "field_category": 2, @@ -113568,7 +119428,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -113577,7 +119438,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SwipeCell", "field_category": 2, @@ -113605,7 +119467,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -113614,7 +119477,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SwipeCell", "field_category": 2, @@ -113642,7 +119506,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -113688,7 +119553,8 @@ { "id": 1759216167, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwipeCell", "field_category": 512, @@ -113714,14 +119580,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, @@ -113747,14 +119615,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, @@ -113780,7 +119650,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -113869,7 +119740,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -113901,7 +119773,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -113992,7 +119865,8 @@ { "id": 3248, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -114020,7 +119894,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -114033,7 +119908,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -114065,7 +119941,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -114074,7 +119951,8 @@ { "id": 3241, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -114102,7 +119980,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -114115,7 +119994,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -114147,7 +120027,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -114156,7 +120037,8 @@ { "id": 3242, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -114184,7 +120066,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -114232,7 +120115,8 @@ { "id": 1712653681, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -114261,7 +120145,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -114383,6 +120268,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": [ @@ -114390,7 +120312,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -114422,7 +120345,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -114431,7 +120355,8 @@ { "id": 3244, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -114459,7 +120384,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -114472,7 +120398,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -114504,7 +120431,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -114558,7 +120486,8 @@ { "id": 3256, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -114588,7 +120517,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -114600,7 +120530,8 @@ "id": 3245, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -114630,7 +120561,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -114679,7 +120611,8 @@ { "id": 2804, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -114688,7 +120621,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, @@ -114707,7 +120640,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -114717,7 +120651,8 @@ "id": 3246, "platform_framework": [ "16", - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -114747,7 +120682,8 @@ "field_category_text": "Props", "platform_framework_text": [ "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -114796,7 +120732,8 @@ { "id": 3247, "platform_framework": [ - "64" + "64", + "128" ], "component": "Swiper", "field_category": 1, @@ -114824,7 +120761,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -115021,6 +120959,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": [ @@ -115155,6 +121126,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": [ @@ -115192,6 +121196,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": [ @@ -115225,10 +121262,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, @@ -115254,14 +121325,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, @@ -115287,14 +121360,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, @@ -115320,14 +121395,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, @@ -115353,14 +121430,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, @@ -115386,14 +121465,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, @@ -115419,14 +121500,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, @@ -115454,7 +121537,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -115463,7 +121547,8 @@ { "id": 3273, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwiperNav", "field_category": 1, @@ -115491,7 +121576,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -115500,7 +121586,8 @@ { "id": 3274, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwiperNav", "field_category": 1, @@ -115528,7 +121615,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -115537,7 +121625,8 @@ { "id": 1712053820, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwiperNav", "field_category": 1, @@ -115546,7 +121635,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, @@ -115565,7 +121654,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -115607,7 +121697,8 @@ { "id": 3276, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwiperNav", "field_category": 1, @@ -115635,7 +121726,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -115644,7 +121736,8 @@ { "id": 3277, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwiperNav", "field_category": 1, @@ -115672,7 +121765,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -115715,10 +121809,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, @@ -115744,14 +121876,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, @@ -115779,7 +121913,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -115788,7 +121923,8 @@ { "id": 3251, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwiperNavigation", "field_category": 1, @@ -115816,7 +121952,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -115827,7 +121964,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SwiperNavigation", "field_category": 1, @@ -115857,7 +121995,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -115868,7 +122007,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SwiperNavigation", "field_category": 1, @@ -115898,7 +122038,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -115985,7 +122126,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SwiperNavigation", "field_category": 1, @@ -116015,7 +122157,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -116102,7 +122245,8 @@ { "id": 3250, "platform_framework": [ - "64" + "64", + "128" ], "component": "SwiperNavigation", "field_category": 1, @@ -116130,7 +122274,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -116180,7 +122325,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "SwiperNavigation", "field_category": 1, @@ -116210,7 +122356,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -116338,7 +122485,8 @@ { "id": 1712653386, "platform_framework": [ - "64" + "64", + "128" ], "component": "Switch", "field_category": 1, @@ -116366,7 +122514,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -116379,7 +122528,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Switch", "field_category": 1, @@ -116411,7 +122561,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -116420,7 +122571,8 @@ { "id": 3390, "platform_framework": [ - "64" + "64", + "128" ], "component": "Switch", "field_category": 1, @@ -116448,7 +122600,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -116539,7 +122692,8 @@ { "id": 1538, "platform_framework": [ - "64" + "64", + "128" ], "component": "Switch", "field_category": 1, @@ -116567,7 +122721,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -116580,7 +122735,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Switch", "field_category": 1, @@ -116612,7 +122768,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -116625,7 +122782,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Switch", "field_category": 1, @@ -116657,7 +122815,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -116751,6 +122910,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": [ @@ -116862,6 +123062,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": [ @@ -116869,7 +123102,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Switch", "field_category": 64, @@ -116899,14 +123133,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, @@ -116932,14 +123168,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, @@ -116965,14 +123203,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, @@ -116998,14 +123238,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, @@ -117031,7 +123273,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -117235,7 +123478,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TabBar", "field_category": 1, @@ -117265,7 +123509,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -117315,7 +123560,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TabBar", "field_category": 1, @@ -117345,7 +123591,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -117356,7 +123603,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TabBar", "field_category": 1, @@ -117386,7 +123634,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -117397,7 +123646,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TabBar", "field_category": 1, @@ -117427,7 +123677,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -117438,7 +123689,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TabBar", "field_category": 1, @@ -117468,7 +123720,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -117479,7 +123732,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TabBar", "field_category": 1, @@ -117509,7 +123763,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -117520,7 +123775,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TabBar", "field_category": 1, @@ -117552,7 +123808,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -117597,10 +123854,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, @@ -117626,7 +123917,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -117827,6 +124119,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": [ @@ -117869,7 +124198,8 @@ { "id": 1437, "platform_framework": [ - "64" + "64", + "128" ], "component": "TabBarItem", "field_category": 1, @@ -117899,7 +124229,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -117951,7 +124282,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TabBarItem", "field_category": 1, @@ -117981,7 +124313,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -117992,7 +124325,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TabBarItem", "field_category": 1, @@ -118023,7 +124357,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -118033,7 +124368,8 @@ { "id": 1761301553, "platform_framework": [ - "64" + "64", + "128" ], "component": "TabBarItem", "field_category": 512, @@ -118059,7 +124395,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -118104,6 +124441,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": [ @@ -118191,7 +124565,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "TabPanel", "field_category": 1, @@ -118223,7 +124598,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -118271,7 +124647,8 @@ { "id": 1711974931, "platform_framework": [ - "64" + "64", + "128" ], "component": "TabPanel", "field_category": 1, @@ -118300,7 +124677,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -118392,7 +124770,8 @@ { "id": 2654, "platform_framework": [ - "64" + "64", + "128" ], "component": "TabPanel", "field_category": 1, @@ -118420,7 +124799,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -118433,7 +124813,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "TabPanel", "field_category": 1, @@ -118465,7 +124846,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -118478,7 +124860,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "TabPanel", "field_category": 1, @@ -118511,7 +124894,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -118605,7 +124989,8 @@ { "id": 3523, "platform_framework": [ - "64" + "64", + "128" ], "component": "TabPanel", "field_category": 1, @@ -118634,7 +125019,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -118679,7 +125065,8 @@ { "id": 1760086671, "platform_framework": [ - "64" + "64", + "128" ], "component": "TabPanel", "field_category": 512, @@ -118705,7 +125092,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -121549,7 +127937,8 @@ { "id": 1313, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -121577,7 +127966,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -121627,7 +128017,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -121657,7 +128048,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -121824,7 +128216,8 @@ { "id": 1711974538, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -121852,7 +128245,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -121978,7 +128372,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -122008,7 +128403,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -122060,7 +128456,8 @@ { "id": 1711974625, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -122088,7 +128485,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -122136,7 +128534,8 @@ { "id": 1711974651, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -122164,7 +128563,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -122212,7 +128612,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -122242,7 +128643,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -122253,7 +128655,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -122283,7 +128686,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -122294,7 +128698,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -122324,7 +128729,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -122374,7 +128780,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -122404,7 +128811,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -122417,7 +128825,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Tabs", "field_category": 1, @@ -122450,7 +128859,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -122564,8 +128974,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", @@ -122581,8 +129057,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, @@ -122708,10 +129184,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, @@ -122737,14 +129247,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, @@ -122770,14 +129282,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, @@ -122803,14 +129317,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, @@ -122836,14 +129352,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, @@ -122869,14 +129387,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, @@ -122902,7 +129422,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -122993,7 +129514,8 @@ { "id": 1712653002, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tag", "field_category": 1, @@ -123023,7 +129545,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -123196,7 +129719,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Tag", "field_category": 1, @@ -123228,7 +129752,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -123280,7 +129805,8 @@ { "id": 1667, "platform_framework": [ - "64" + "64", + "128" ], "component": "Tag", "field_category": 1, @@ -123310,7 +129836,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -123325,7 +129852,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Tag", "field_category": 1, @@ -123358,7 +129886,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -123372,7 +129901,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Tag", "field_category": 1, @@ -123404,7 +129934,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -123454,7 +129985,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Tag", "field_category": 1, @@ -123484,7 +130016,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -123497,7 +130030,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Tag", "field_category": 1, @@ -123529,7 +130063,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -123581,7 +130116,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Tag", "field_category": 1, @@ -123613,7 +130149,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -123626,7 +130163,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Tag", "field_category": 2, @@ -123656,7 +130194,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -123667,7 +130206,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Tag", "field_category": 2, @@ -123697,14 +130237,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, @@ -123730,14 +130272,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, @@ -123763,14 +130307,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, @@ -123796,14 +130342,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, @@ -123829,7 +130377,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -125795,7 +132344,8 @@ { "id": 1719, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -125823,7 +132373,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -125836,7 +132387,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -125868,7 +132420,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -125881,7 +132434,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -125913,7 +132467,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -125967,7 +132522,8 @@ { "id": 1723, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -125996,7 +132552,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -126008,7 +132565,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -126038,7 +132596,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -126047,7 +132606,8 @@ { "id": 1720, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -126075,7 +132635,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -126084,7 +132645,8 @@ { "id": 1721, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -126112,7 +132674,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -126121,7 +132684,8 @@ { "id": 3392, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -126149,7 +132713,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -126158,7 +132723,8 @@ { "id": 1754468710, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -126186,7 +132752,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -126234,7 +132801,8 @@ { "id": 3393, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -126262,7 +132830,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -126271,7 +132840,8 @@ { "id": 3394, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -126299,7 +132869,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -126312,7 +132883,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -126344,7 +132916,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -126353,7 +132926,8 @@ { "id": 1712045054, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -126381,7 +132955,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -126390,7 +132965,8 @@ { "id": 1801, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -126418,7 +132994,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -126427,7 +133004,8 @@ { "id": 3395, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -126455,7 +133033,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -126466,7 +133045,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -126496,7 +133076,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -126507,7 +133088,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -126538,7 +133120,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -126591,7 +133174,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -126623,7 +133207,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -126677,7 +133262,8 @@ { "id": 1725357311, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -126705,7 +133291,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -126761,7 +133348,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -126793,7 +133381,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -126802,7 +133391,8 @@ { "id": 1737451311, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -126830,7 +133420,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -126839,7 +133430,8 @@ { "id": 1712044962, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -126867,7 +133459,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -126880,7 +133473,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -126912,7 +133506,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -126921,7 +133516,8 @@ { "id": 3397, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -126949,7 +133545,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -126958,7 +133555,8 @@ { "id": 3398, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -126986,7 +133584,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -126995,7 +133594,8 @@ { "id": 3399, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -127023,7 +133623,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -127116,7 +133717,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Textarea", "field_category": 1, @@ -127149,7 +133751,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -127228,6 +133831,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": [ @@ -127300,6 +133936,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": [ @@ -127399,6 +134068,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": [ @@ -127471,6 +134173,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": [ @@ -127504,6 +134239,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": [ @@ -127642,6 +134410,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": [ @@ -127680,7 +134481,8 @@ { "id": 1712045223, "platform_framework": [ - "64" + "64", + "128" ], "component": "Textarea", "field_category": 128, @@ -127706,14 +134508,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, @@ -127739,14 +134543,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, @@ -127772,14 +134578,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, @@ -127805,7 +134613,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -130740,7 +137549,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Toast", "field_category": 1, @@ -130770,7 +137580,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -130781,7 +137592,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Toast", "field_category": 1, @@ -130811,7 +137623,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -130820,7 +137633,8 @@ { "id": 1347, "platform_framework": [ - "64" + "64", + "128" ], "component": "Toast", "field_category": 1, @@ -130850,7 +137664,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -130902,7 +137717,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Toast", "field_category": 1, @@ -130933,7 +137749,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -130945,7 +137762,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Toast", "field_category": 1, @@ -130975,7 +137793,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -130986,7 +137805,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Toast", "field_category": 1, @@ -131016,7 +137836,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -131027,7 +137848,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Toast", "field_category": 1, @@ -131057,7 +137879,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -131068,7 +137891,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Toast", "field_category": 1, @@ -131098,7 +137922,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -131109,7 +137934,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Toast", "field_category": 1, @@ -131139,7 +137965,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -131148,7 +137975,8 @@ { "id": 1719908493, "platform_framework": [ - "64" + "64", + "128" ], "component": "Toast", "field_category": 1, @@ -131176,7 +138004,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -131187,7 +138016,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Toast", "field_category": 2, @@ -131215,7 +138045,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -131224,7 +138055,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Toast", "field_category": 2, @@ -131252,14 +138084,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, @@ -131285,14 +138119,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, @@ -131318,14 +138154,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, @@ -131351,7 +138189,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -132100,7 +138939,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -132131,7 +138971,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -132143,7 +138984,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -132174,7 +139016,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -132186,7 +139029,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -132217,7 +139061,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -132229,7 +139074,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -132260,7 +139106,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -132272,7 +139119,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -132304,7 +139152,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -132317,7 +139166,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -132350,7 +139200,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -132364,7 +139215,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -132396,7 +139248,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array", @@ -132448,7 +139301,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -132480,7 +139334,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array", @@ -132493,7 +139348,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -132525,7 +139381,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object", @@ -132538,7 +139395,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -132571,7 +139429,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -132585,7 +139444,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -132617,7 +139477,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -132669,7 +139530,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -132700,7 +139562,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -132712,7 +139575,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -132744,7 +139608,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array", @@ -132757,7 +139622,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -132788,7 +139654,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -132839,7 +139706,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 1, @@ -132870,7 +139738,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -132882,7 +139751,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 2, @@ -132913,7 +139783,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -132925,7 +139796,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 2, @@ -132956,7 +139828,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -132968,7 +139841,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 2, @@ -132997,7 +139871,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -133007,7 +139882,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 2, @@ -133038,7 +139914,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -133050,7 +139927,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Transfer", "field_category": 2, @@ -133081,7 +139959,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -133246,7 +140125,8 @@ { "id": 1318, "platform_framework": [ - "64" + "64", + "128" ], "component": "Transition", "field_category": 1, @@ -133274,7 +140154,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -133283,7 +140164,8 @@ { "id": 1317, "platform_framework": [ - "64" + "64", + "128" ], "component": "Transition", "field_category": 1, @@ -133311,7 +140193,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -133320,7 +140203,8 @@ { "id": 1319, "platform_framework": [ - "64" + "64", + "128" ], "component": "Transition", "field_category": 1, @@ -133349,7 +140233,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number", @@ -133359,7 +140244,8 @@ { "id": 1314, "platform_framework": [ - "64" + "64", + "128" ], "component": "Transition", "field_category": 1, @@ -133387,7 +140273,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -133396,7 +140283,8 @@ { "id": 1315, "platform_framework": [ - "64" + "64", + "128" ], "component": "Transition", "field_category": 1, @@ -133424,7 +140312,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -133514,7 +140403,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -133545,7 +140435,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -133557,7 +140448,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -133588,7 +140480,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -133600,7 +140493,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -133631,7 +140525,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -133684,7 +140579,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -133715,7 +140611,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -133727,7 +140624,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -133758,7 +140656,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -133770,7 +140669,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -133801,7 +140701,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -133854,7 +140755,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -133885,7 +140787,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -133936,7 +140839,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -133968,7 +140872,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -133981,7 +140886,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -134012,7 +140918,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -134024,7 +140931,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -134055,7 +140963,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -134067,7 +140976,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -134098,7 +141008,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -134110,7 +141021,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -134141,7 +141053,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -134153,7 +141066,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -134184,7 +141098,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -134196,7 +141111,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -134227,7 +141143,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -134239,7 +141156,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -134270,7 +141188,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -134323,7 +141242,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -134354,7 +141274,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -134366,7 +141287,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -134398,7 +141320,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -134411,7 +141334,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -134442,7 +141366,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -134454,7 +141379,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -134487,7 +141413,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -134501,7 +141428,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -134532,7 +141460,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -134544,7 +141473,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -134576,7 +141506,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -134589,7 +141520,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -134620,7 +141552,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -134673,7 +141606,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -134704,7 +141638,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "TNode" @@ -134755,7 +141690,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -134786,7 +141722,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -134798,7 +141735,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -134829,7 +141767,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -134841,7 +141780,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 1, @@ -134872,7 +141812,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -134884,7 +141825,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 2, @@ -134913,7 +141855,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -134923,7 +141866,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 2, @@ -134952,7 +141896,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -134962,7 +141907,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 2, @@ -134991,7 +141937,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -135176,7 +142123,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 2, @@ -135205,7 +142153,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -135215,7 +142164,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 2, @@ -135244,7 +142194,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -135289,7 +142240,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -135318,7 +142270,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -135328,7 +142281,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -135357,7 +142311,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -135367,7 +142322,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -135396,7 +142352,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -135406,7 +142363,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -135435,7 +142393,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -135445,7 +142404,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -135474,7 +142434,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -135484,7 +142445,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -135513,7 +142475,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -135523,7 +142486,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -135552,7 +142516,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -135562,7 +142527,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -135591,7 +142557,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -135601,7 +142568,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -135630,7 +142598,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -135640,7 +142609,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -135669,7 +142639,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -135714,7 +142685,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -135743,7 +142715,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -135788,7 +142761,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 4, @@ -135817,7 +142791,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -135827,7 +142802,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "Tree", "field_category": 64, @@ -135856,7 +142832,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -136847,7 +143824,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -136878,7 +143856,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -136890,7 +143869,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -136921,7 +143901,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -136933,7 +143914,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -136964,7 +143946,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -136976,7 +143959,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -137007,7 +143991,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -137019,7 +144004,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -137050,7 +144036,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -137062,7 +144049,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -137093,7 +144081,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -137105,7 +144094,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -137136,7 +144126,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -137148,7 +144139,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -137179,7 +144171,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -137191,7 +144184,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -137222,7 +144216,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -137234,7 +144229,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -137265,7 +144261,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -137277,7 +144274,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -137308,7 +144306,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -137320,7 +144319,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -137352,7 +144352,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -137365,7 +144366,8 @@ "1", "2", "16", - "64" + "64", + "128" ], "component": "TreeNodeState", "field_category": 1, @@ -137396,7 +144398,8 @@ "Vue(PC)", "React(PC)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -137602,7 +144605,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TreeSelect", "field_category": 1, @@ -137634,7 +144638,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -137844,7 +144849,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TreeSelect", "field_category": 1, @@ -137875,7 +144881,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -138006,7 +145013,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TreeSelect", "field_category": 1, @@ -138036,7 +145044,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -138248,7 +145257,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "TreeSelect", "field_category": 1, @@ -138280,7 +145290,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -138291,7 +145302,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TreeSelect", "field_category": 1, @@ -138321,7 +145333,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -139009,7 +146022,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TreeSelect", "field_category": 1, @@ -139041,7 +146055,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -139234,6 +146249,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": [ @@ -139523,7 +146571,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "TreeSelect", "field_category": 64, @@ -139551,14 +146600,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, @@ -139584,14 +146635,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, @@ -139617,14 +146670,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, @@ -139650,14 +146705,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, @@ -139683,14 +146740,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, @@ -139716,14 +146775,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, @@ -139749,14 +146810,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, @@ -139782,7 +146845,8 @@ "support_default_value": 0, "field_category_text": "External Classes", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -140532,7 +147596,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -140562,7 +147627,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -140612,7 +147678,8 @@ { "id": 1690274500, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -140641,7 +147708,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -140655,7 +147723,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -140687,7 +147756,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -140942,7 +148012,8 @@ { "id": 1671, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -140970,7 +148041,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -141065,7 +148137,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -141097,7 +148170,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -141186,7 +148260,8 @@ { "id": 1712046036, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -141215,7 +148290,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean", @@ -141307,7 +148383,8 @@ { "id": 1676, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -141335,7 +148412,8 @@ "support_default_value": 1, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -141508,7 +148586,8 @@ { "id": 1712045777, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -141536,7 +148615,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -141545,7 +148625,8 @@ { "id": 1712045812, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -141573,7 +148654,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -141627,7 +148709,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -141657,7 +148740,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -141902,7 +148986,8 @@ { "id": 1712652455, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -141930,7 +149015,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -141976,7 +149062,8 @@ { "id": 1561, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -142004,7 +149091,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -142218,7 +149306,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -142248,7 +149337,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -142259,7 +149349,8 @@ "platform_framework": [ "8", "16", - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -142289,7 +149380,8 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -142298,7 +149390,8 @@ { "id": 1675, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -142315,7 +149408,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, @@ -142326,7 +149419,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Function" @@ -142499,7 +149593,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -142532,7 +149627,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number", @@ -142542,7 +149638,8 @@ { "id": 3123, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -142570,7 +149667,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -142698,7 +149796,8 @@ { "id": 1712046417, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 1, @@ -142726,7 +149825,8 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -143087,6 +150187,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": [ @@ -143194,6 +150327,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": [ @@ -143232,7 +150398,8 @@ { "id": 1674, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 2, @@ -143258,7 +150425,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -143400,6 +150568,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": [ @@ -143442,7 +150643,8 @@ { "id": 1673, "platform_framework": [ - "64" + "64", + "128" ], "component": "Upload", "field_category": 2, @@ -143468,7 +150670,8 @@ "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -143692,6 +150895,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": [ @@ -143764,6 +151000,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": [ @@ -143836,6 +151105,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": [ @@ -144783,7 +152085,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 1, @@ -144815,7 +152118,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -144828,7 +152132,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 1, @@ -144860,7 +152165,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -144873,7 +152179,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 1, @@ -144905,7 +152212,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -144918,7 +152226,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 1, @@ -144950,7 +152259,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -144963,7 +152273,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 1, @@ -144995,7 +152306,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object" @@ -145008,7 +152320,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 1, @@ -145040,7 +152353,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -145053,7 +152367,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 1, @@ -145085,7 +152400,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -145098,7 +152414,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 1, @@ -145130,7 +152447,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -145143,7 +152461,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 1, @@ -145175,7 +152494,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -145188,7 +152508,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 1, @@ -145220,7 +152541,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -145233,7 +152555,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "UploadFile", "field_category": 16, @@ -145263,7 +152586,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -145274,7 +152598,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -145306,7 +152631,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -145360,7 +152686,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -145393,7 +152720,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String", @@ -145448,7 +152776,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -145480,7 +152809,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -145493,7 +152823,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -145525,7 +152856,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -145538,7 +152870,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -145570,7 +152903,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -145583,7 +152917,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -145615,7 +152950,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -145628,7 +152964,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -145660,7 +152997,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -145673,7 +153011,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -145705,7 +153044,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -145718,7 +153058,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -145750,7 +153091,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Array" @@ -145763,7 +153105,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -145795,7 +153138,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -145808,7 +153152,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -145840,7 +153185,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -145853,7 +153199,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -145886,7 +153233,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Object", @@ -145900,7 +153248,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -145932,7 +153281,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -145945,7 +153295,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -145977,7 +153328,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -145990,7 +153342,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -146022,7 +153375,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -146035,7 +153389,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "Watermark", "field_category": 1, @@ -146067,7 +153422,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -146076,7 +153432,8 @@ { "id": 1759203528, "platform_framework": [ - "64" + "64", + "128" ], "component": "Watermark", "field_category": 512, @@ -146102,7 +153459,8 @@ "support_default_value": 0, "field_category_text": "Slots", "platform_framework_text": [ - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [] }, @@ -146113,7 +153471,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "WatermarkImage", "field_category": 1, @@ -146145,7 +153504,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Boolean" @@ -146158,7 +153518,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "WatermarkImage", "field_category": 1, @@ -146190,7 +153551,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -146203,7 +153565,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "WatermarkText", "field_category": 1, @@ -146235,7 +153598,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -146248,7 +153612,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "WatermarkText", "field_category": 1, @@ -146280,7 +153645,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -146293,7 +153659,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "WatermarkText", "field_category": 1, @@ -146325,7 +153692,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "Number" @@ -146338,7 +153706,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "WatermarkText", "field_category": 1, @@ -146370,7 +153739,8 @@ "React(PC)", "Vue(Mobile)", "React(Mobile)", - "Miniprogram" + "Miniprogram", + "UniApp" ], "field_type_text": [ "String" @@ -146383,7 +153753,8 @@ "2", "8", "16", - "64" + "64", + "128" ], "component": "WatermarkText", "field_category": 1, @@ -146415,7 +153786,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 a06585ab3..666ea417c 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'], }, }; @@ -245,19 +245,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, @@ -274,22 +274,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: [ @@ -311,7 +311,7 @@ const TYPES_COMBINE_MAP = { }, DropdownMenu: { list: ['DropdownMenu', 'DropdownItem'], - excludes: ['Miniprogram'], + excludes: ['Miniprogram', 'UniApp'], }, Dialog: { list: [ @@ -335,7 +335,7 @@ const TYPES_COMBINE_MAP = { }, Steps: { list: ['Steps', 'StepItem'], - excludes: ['Miniprogram'], + excludes: ['Miniprogram', 'UniApp'], }, Calendar: { list: ['Calendar', 'CalendarController', 'CalendarCell'], @@ -351,14 +351,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: [ @@ -417,11 +417,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: [ @@ -453,11 +453,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'], }; @@ -465,11 +465,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'], }, }; diff --git a/packages/scripts/config/index.js b/packages/scripts/config/index.js index 90d95250a..f4a27255d 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 43ac91d65..d8e489e87 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 86d4b2e6c..78b8920f5 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 942b12056..8fc38ba3c 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 b999864cf..addec02bb 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 6d054345f..3174c4d63 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 000000000..e7537ec48 --- /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 1359ccd37..f8e0f2617 100644 --- a/packages/scripts/types/index.js +++ b/packages/scripts/types/index.js @@ -141,7 +141,7 @@ function getEventsApiType(api) { api.event_input ); r = { - type: baseName ? `${baseName}` : '()', + type: baseName ?(baseName.startsWith('(') ? `${baseName}`: `(${baseName})`) : '()', exports, imports, }; @@ -311,7 +311,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 }';` ); @@ -374,8 +374,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); @@ -389,6 +402,9 @@ function formatAliasImportsPath(imports, framework) { if (framework === 'Miniprogram') { relativePath = `${relativePath}/index`; } + if (isUniApp) { + relativePath = `${relativePath}/type`; + } return `'${relativePath}'`; }); } @@ -407,6 +423,7 @@ function formatImportsPath(imports, framework) { 'Vue(Mobile)', 'React(Mobile)', 'Miniprogram', + 'UniApp', ].includes(framework) ) { newImports = formatAliasImportsPath(imports, framework); @@ -686,6 +703,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 000c9f8aa..fd5e998e3 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 a2e3e3f70..63405639e 100644 --- a/packages/scripts/types/vue-props.js +++ b/packages/scripts/types/vue-props.js @@ -25,7 +25,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; @@ -37,7 +37,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); @@ -129,7 +129,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)) @@ -148,6 +148,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 @@ -160,7 +161,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 { @@ -228,14 +229,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]; @@ -243,10 +248,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; @@ -283,6 +289,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 中 @@ -300,10 +307,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}`; @@ -381,7 +388,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 1b2627362..526f2ac96 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/server/controllers/ComponentApi/const.ts b/packages/server/controllers/ComponentApi/const.ts index 929d8ea19..c0b5d16d1 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', }; /**