@qualcomm-ui/react-mdx 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import{jsx as we}from"react/jsx-runtime";import{ExternalLink as ut}from"lucide-react";import{Link as ft}from"@qualcomm-ui/react/link";function B({as:t="pre",href:e,text:r}){return we(t,{className:"qui-docs-code font-code-demo fit",children:we(ft,{endIcon:ut,href:e,target:"_blank",children:r})})}import{jsx as ht}from"react/jsx-runtime";import{compiler as yt}from"markdown-to-jsx";function xt(t){return t.replaceAll("&lt;","<").replaceAll("&gt;",">")}function ee({prop:t}){let r=((t.comment??{summary:[]}).blockTags??[]).find(s=>s.tag==="@default"),n=r?yt(xt(r.content[0].text),{overrides:{code:{component:"pre",props:{className:"qui-docs-code font-code-demo fit"}},pre:{component:"span"}}}):null;return ht("span",{children:n})}import{Fragment as kt,jsx as j,jsxs as Dt}from"react/jsx-runtime";import{Fragment as Lt}from"react";import{SpoilerContent as St,SpoilerRoot as wt,SpoilerSummary as jt}from"@qualcomm-ui/react-mdx/spoiler";import{Fragment as Ct,jsx as F}from"react/jsx-runtime";import{Fragment as Ae}from"react";import{compiler as bt}from"markdown-to-jsx";import{CodeHighlight as Nt}from"@qualcomm-ui/react-mdx/code-highlight";import{c as gt}from"react/compiler-runtime";import{Fragment as Tt,jsx as te}from"react/jsx-runtime";import{ExternalLink as _t}from"lucide-react";import{Link as Pt}from"@qualcomm-ui/react/link";import{useMdxDocsContext as vt}from"@qualcomm-ui/react-mdx/context";function je(t){let e=gt(8),{inlineTag:r}=t,{tag:n,target:s,text:o}=r,{renderLink:c}=vt(),p;e[0]!==c||e[1]!==s||e[2]!==o?(p=()=>o.startsWith("http")||typeof s=="string"&&s.startsWith("http")?te(Pt,{endIcon:_t,href:s,target:"_blank",children:o}):o.startsWith("/")?te(c,{href:o,children:o}):te(c,{href:`#${o}`,children:o}),e[0]=c,e[1]=s,e[2]=o,e[3]=p):p=e[3];let i;if(e[4]!==p||e[5]!==n){i=Symbol.for("react.early_return_sentinel");e:{let m={"@link":p};if(n&&m[n]){i=m[n]();break e}}e[4]=p,e[5]=n,e[6]=i}else i=e[6];if(i!==Symbol.for("react.early_return_sentinel"))return i;let a;return e[7]===Symbol.for("react.memo_cache_sentinel")?(a=te(Tt,{}),e[7]=a):a=e[7],a}function T({summary:t}){return F(Ct,{children:t.map((e,r)=>{let n="tsx";return e.kind==="code"&&e.text.startsWith("```")&&(n=e.text.substring(3,e.text.indexOf(`
3
- `))),F(Ae,{children:e.kind==="code"?F(Ae,{children:e.text.startsWith("```")?F(Nt,{className:"doc-props-description__summary-code",code:e.text.replace(/```.*\r\n/,"").replace(/\r\n```/,"").replace(/```.*\n/,"").replace(/\n```/,""),disableCopy:!0,language:n}):F("span",{children:bt(e.text)})},r):e.kind==="inline-tag"?F(je,{inlineTag:e},r):e.text===`
2
+ import{jsx as je}from"react/jsx-runtime";import{ExternalLink as ft}from"lucide-react";import{Link as ht}from"@qualcomm-ui/react/link";function B({as:t="pre",href:e,text:r}){return je(t,{className:"qui-docs-code font-code-demo fit",children:je(ht,{endIcon:ft,href:e,target:"_blank",children:r})})}import{jsx as yt}from"react/jsx-runtime";import{compiler as xt}from"markdown-to-jsx";function gt(t){return t.replaceAll("&lt;","<").replaceAll("&gt;",">")}function te({prop:t}){let r=((t.comment??{summary:[]}).blockTags??[]).find(s=>s.tag==="@default"),n=r?xt(gt(r.content[0].text),{overrides:{code:{component:"pre",props:{className:"qui-docs-code font-code-demo fit"}},pre:{component:"span"}}}):null;return yt("span",{children:n})}import{Fragment as kt,jsx as j,jsxs as Dt}from"react/jsx-runtime";import{Fragment as Lt}from"react";import{SpoilerContent as St,SpoilerRoot as wt,SpoilerSummary as jt}from"@qualcomm-ui/react-mdx/spoiler";import{Fragment as Ct,jsx as F}from"react/jsx-runtime";import{Fragment as Re}from"react";import{compiler as bt}from"markdown-to-jsx";import{CodeHighlight as Nt}from"@qualcomm-ui/react-mdx/code-highlight";import{c as Tt}from"react/compiler-runtime";import{Fragment as _t,jsx as V}from"react/jsx-runtime";import{ExternalLink as Pt}from"lucide-react";import{Link as xe}from"@qualcomm-ui/react/link";import{useMdxDocsContext as vt}from"@qualcomm-ui/react-mdx/context";function Ae(t){let e=Tt(8),{inlineTag:r}=t,{tag:n,target:s,text:o}=r,{renderLink:c}=vt(),p;e[0]!==c||e[1]!==s||e[2]!==o?(p=()=>o.startsWith("http")||typeof s=="string"&&s.startsWith("http")?V(xe,{endIcon:Pt,href:s,size:"md",target:"_blank",children:o}):o.startsWith("/")?V(xe,{render:V(c,{href:o}),size:"md",children:o}):V(xe,{render:V(c,{href:`#${o}`}),size:"md",children:o}),e[0]=c,e[1]=s,e[2]=o,e[3]=p):p=e[3];let i;if(e[4]!==p||e[5]!==n){i=Symbol.for("react.early_return_sentinel");e:{let m={"@link":p};if(n&&m[n]){i=m[n]();break e}}e[4]=p,e[5]=n,e[6]=i}else i=e[6];if(i!==Symbol.for("react.early_return_sentinel"))return i;let a;return e[7]===Symbol.for("react.memo_cache_sentinel")?(a=V(_t,{}),e[7]=a):a=e[7],a}function T({summary:t}){return F(Ct,{children:t.map((e,r)=>{let n="tsx";return e.kind==="code"&&e.text.startsWith("```")&&(n=e.text.substring(3,e.text.indexOf(`
3
+ `))),F(Re,{children:e.kind==="code"?F(Re,{children:e.text.startsWith("```")?F(Nt,{className:"doc-props-description__summary-code",code:e.text.replace(/```.*\r\n/,"").replace(/\r\n```/,"").replace(/```.*\n/,"").replace(/\n```/,""),disableCopy:!0,language:n}):F("span",{children:bt(e.text)})},r):e.kind==="inline-tag"?F(Ae,{inlineTag:e},r):e.text===`
4
4
  `?F("br",{}):F("span",{dangerouslySetInnerHTML:{__html:e.text.replaceAll(`
5
5
 
6
6
  `,"<br /><br />").replaceAll(`
7
- -`,"<br />-")}})},r)})})}function re({tags:t}){let e=t.filter(r=>r.tag in Re);return j(kt,{children:e.map((r,n)=>{let s=Re[r.tag];return j(Lt,{children:s?j(s,{tag:r}):j(T,{summary:r.content})},`${r.name}-${n}`)})})}var Re={"@example":({tag:t})=>j("div",{className:"doc-props-description__example-tag",children:j(T,{summary:t.content})}),"@remarks":function({tag:e}){return j("div",{className:"doc-props-description__remarks-tag",children:Dt(wt,{children:[j(jt,{children:"Remarks"}),j(St,{children:j(T,{summary:e.content})})]})})}};import{jsx as Ee}from"react/jsx-runtime";function oe({prop:t}){let e=t.comment?.blockTags??[];return Ee("div",{className:"doc-props-description__extra-details",children:Ee(re,{tags:e})})}function ne(t){return t.comment&&t.comment.blockTags?.some(e=>e.tag==="@example"||e.tag==="@remarks")}import{jsx as J,jsxs as At}from"react/jsx-runtime";function se({functionArgs:t}){let e=t.filter(r=>r.name&&r.summary?.length);return J("ul",{className:"doc-props__function-args-list",children:e.map(r=>J("li",{className:"doc-props__function-args-list-item",children:At("span",{children:[J("span",{className:"doc-props__function-arg-name",children:r.name}),J("span",{children:J(T,{summary:r.summary})})]})},r.name))})}import{jsx as xe}from"react/jsx-runtime";function Fe({tags:t}){return xe("ul",{className:"doc-props-description__option-tags",children:t.map((e,r)=>xe("li",{children:xe(T,{summary:e.content})},r))})}import{c as Rt}from"react/compiler-runtime";import{jsx as D,jsxs as Et}from"react/jsx-runtime";import{Fragment as Ft}from"react";import{Link as Ie}from"@qualcomm-ui/react/link";import{useMdxDocsContext as It}from"@qualcomm-ui/react-mdx/context";function $t(t){return t.content.length===1&&(t.content[0].docLink||t.content[0].kind==="text"&&!t.content[0].text.includes(" "))}function Mt(t){if(t.content.length%3!==0||t.content.length<3)return!1;for(let r=0;r<t.content.length;r+=3){let n=t.content.slice(r,r+3);if(n[0].text!==" - "||n[2].text!==`
8
- `)return!1}return!0}function $e(t){return t.docLink?{text:t.text,url:t.docLink}:{text:t.text,url:`./#${t.text}`}}function Me(t){let e=Rt(6),{hideTitle:r,seeTags:n}=t,{renderLink:s}=It(),o;if(e[0]!==s||e[1]!==r||e[2]!==n){let c;e[4]!==s?(c=(p,i)=>{if($t(p)){let{text:a,url:m}=$e(p.content[0]);return D("li",{children:D(Ie,{render:D(s,{href:m}),children:a})},i)}return Mt(p)?D(Ft,{children:p.content.filter(Ht).map(a=>{let{text:m,url:d}=$e(a);return D("li",{children:D(Ie,{render:D(s,{href:d}),children:m})},a.text)})},i):D("li",{children:D(T,{summary:p.content})},i)},e[4]=s,e[5]=c):c=e[5],o=Et("div",{className:"doc-props-description__see-tags",children:[r?null:D("div",{children:"Related symbols:"}),D("ul",{className:"see-tag-list",children:n.map(c)})]}),e[0]=s,e[1]=r,e[2]=n,e[3]=o}else o=e[3];return o}function Ht(t){return t.text!==" - "&&t.text!==`
9
- `}import{jsx as I,jsxs as ge}from"react/jsx-runtime";import{mergeProps as Wt}from"@qualcomm-ui/utils/merge-props";function ie({children:t,prop:e,...r}){let n=e.comment??{blockTags:[],summary:[]},s=n?.blockTags?.find(a=>a.tag==="@deprecated"),o=(e.resolvedType.parameters??[]).reduce((a,m)=>(m.args&&a.push(m.args),a),[]),c=n.blockTags?.filter(a=>a.tag==="@option")??[],p=n?.blockTags?.filter(a=>a.tag==="@see")??[];if(!n.summary.length&&!s&&!c.length&&!p.length&&!o.length&&!e.resolvedType.functionArgs?.length&&!e.resolvedType.parameters?.length&&!o.length)return null;let i=Wt({className:"doc-props-description__root"},r);return ge("div",{...i,children:[ge("span",{children:[I(T,{summary:n.summary}),s?ge("span",{children:["Deprecated"," ",I(T,{summary:s.content})]}):null,e.resolvedType.functionArgs?I(se,{functionArgs:e.resolvedType.functionArgs}):null,e.resolvedType.parameters&&e.resolvedType.baseType==="reflection"?I(se,{functionArgs:e.resolvedType.parameters}):null,o.length?o.map((a,m)=>I("div",{children:I(se,{functionArgs:a})},`${e.name}-parameter-function-args-${m}`)):null]}),c.length?I(Fe,{tags:c}):null,p.length?I(Me,{seeTags:p}):null,t]})}import{jsx as b,jsxs as Te}from"react/jsx-runtime";import"react";import{Info as Bt}from"lucide-react";import{Icon as Vt}from"@qualcomm-ui/react/icon";import{Link as We}from"@qualcomm-ui/react/link";import{Tooltip as pe}from"@qualcomm-ui/react/tooltip";import{useMdxDocsContext as qe}from"@qualcomm-ui/react-mdx/context";import{createContext as qt,useContext as Ut}from"react";var He=qt(null),ce=He.Provider;function $(){return Ut(He)}function Ot(t,e){return e?e.startsWith("v")?`${t}#${e.substring(1).split(".").join("")}`:`${t}#${e.split(".").join("")}`:""}function le(t){let{changelogPathname:e,id:r,prop:n}=t,{renderLink:s}=qe(),{disableRequired:o,linkifyPrimaryColumn:c}=$(),p=n.resolvedType.required&&!o,i=n.resolvedType.deprecated,a=n.resolvedType.type?.match(/^((EventEmitter)|(OutputEmitterRef))/),m=a?!1:n.resolvedType?.type?.startsWith("ModelSignal"),u=n.comment?.blockTags?.find?.(zt)?.content?.[0]?.text,h=a?`(${n.name})`:m?`[(${n.name})]`:n.name,{docProps:y}=qe(),k=e||y?.changelogUrl||"/changelog",l=c?b(We,{render:b(s,{href:`#${r||n.name}`}),style:{textDecoration:i?"line-through":"unset"},suppressHydrationWarning:!0,children:String(h)}):b("code",{className:"qui-docs-code",children:String(h)});return Te("div",{className:"doc-props-item__name",children:[Te("div",{className:"doc-props-item__label",children:[l,p?b("div",{className:"doc-props-item__required-indicator",children:b("sup",{children:"*"})}):null,i?b("div",{className:"doc-props-item__deprecated-indicator",children:b("sup",{children:"*"})}):null]}),m?Te(pe.Root,{children:[b(pe.Trigger,{children:b(Vt,{icon:Bt,size:"xs"})}),b(pe.Positioner,{children:b(pe.Content,{children:"This property supports two-way binding"})})]}):null,u?e===null?b("div",{className:"doc-props__since",children:u}):b(We,{className:"doc-props__since",emphasis:"neutral",render:b(s,{href:Ot(k,u)}),children:u}):null]})}function zt(t){return t.tag==="@since"}import{c as Lr}from"react/compiler-runtime";import{Fragment as Sr,jsx as L,jsxs as Pe}from"react/jsx-runtime";import{CodeHighlight as wr}from"@qualcomm-ui/react-mdx/code-highlight";import{useMdxDocsContext as jr}from"@qualcomm-ui/react-mdx/context";import{c as pr}from"react/compiler-runtime";import{Fragment as lr,jsx as f}from"react/jsx-runtime";var Xt=/([\p{Ll}\d])(\p{Lu})/gu,Jt=/(\p{Lu})([\p{Lu}][\p{Ll}])/gu,Gt=/(\d)\p{Ll}|(\p{L})\d/u,Kt=/[^\p{L}\d]+/giu,Ue="$1\0$2";function Be(t){let e=t.trim();e=e.replace(Xt,Ue).replace(Jt,Ue),e=e.replace(Kt,"\0");let r=0,n=e.length;for(;e.charAt(r)==="\0";)r++;if(r===n)return[];for(;e.charAt(n-1)==="\0";)n--;return e.slice(r,n).split(/\0/g)}function Qt(t){let e=Be(t);for(let r=0;r<e.length;r++){let n=e[r],s=Gt.exec(n);if(s){let o=s.index+(s[1]??s[2]).length;e.splice(r,1,n.slice(0,o),n.slice(o))}}return e}function Ve(t,e){let[r,n,s]=rr(t,e),o=Yt(e?.locale),c=Zt(e?.locale),p=e?.mergeAmbiguousCharacters?er(o,c):tr(o,c);return r+n.map(p).join(e?.delimiter??"")+s}function Yt(t){return t===!1?e=>e.toLowerCase():e=>e.toLocaleLowerCase(t)}function Zt(t){return t===!1?e=>e.toUpperCase():e=>e.toLocaleUpperCase(t)}function er(t,e){return r=>`${e(r[0])}${t(r.slice(1))}`}function tr(t,e){return(r,n)=>{let s=r[0];return(n>0&&s>="0"&&s<="9"?"_"+s:e(s))+t(r.slice(1))}}function rr(t,e={}){let r=e.split??(e.separateNumbers?Qt:Be),n=e.prefixCharacters??"",s=e.suffixCharacters??"",o=0,c=t.length;for(;o<t.length;){let p=t.charAt(o);if(!n.includes(p))break;o++}for(;c>o;){let p=c-1,i=t.charAt(p);if(!s.includes(i))break;c=p}return[t.slice(0,o),r(t.slice(o,c)),t.slice(c)]}import{Link as G}from"@qualcomm-ui/react/link";import{CodeHighlight as ar}from"@qualcomm-ui/react-mdx/code-highlight";import{useMdxDocsContext as mr}from"@qualcomm-ui/react-mdx/context";import{useMdxDocsLayoutContext as dr}from"@qualcomm-ui/react-mdx/docs-layout";import{dummyTypePrefix as ur}from"@qualcomm-ui/react-mdx/shiki";import{createContext as or,useContext as nr}from"react";var Oe=or(null),vn=Oe.Provider;function V(){let t=nr(Oe);if(!t)throw new Error("Error, expected a <PropsContextProvider> somewhere in the component tree.");return t}import{Fragment as sr,jsx as ze}from"react/jsx-runtime";import{CodeHighlight as ir}from"@qualcomm-ui/react-mdx/code-highlight";import{dummyTypePrefix as cr}from"@qualcomm-ui/react-mdx/shiki";function W({content:t}){return t==="''"?ze(sr,{}):ze(ir,{className:"qui-docs-code fit",code:t?`${cr}${t}`:"",disableCopy:!0,language:"tsx"})}function Xe(t){let e=pr(37),{prop:r}=t,n=V(),{toc:s}=dr(),{renderLink:o}=mr();if(r.resolvedType.type==="ReactNode"){let l;return e[0]===Symbol.for("react.memo_cache_sentinel")?(l=f(B,{href:"https://github.com/DefinitelyTyped/DefinitelyTyped/blob/d076add9f29db350a19bd94c37b197729cc02f87/types/react/index.d.ts#L237",text:"ReactNode"}),e[0]=l):l=e[0],l}if(r.resolvedType.type==="LucideIconBase"){let l;return e[1]===Symbol.for("react.memo_cache_sentinel")?(l=f(B,{href:"https://lucide.dev/icons",text:"LucideIcon"}),e[1]=l):l=e[1],l}if(r.resolvedType.type==="CSSProperties"){let l;return e[2]===Symbol.for("react.memo_cache_sentinel")?(l=f(B,{href:"https://www.npmjs.com/package/csstype",text:"CSSProperties"}),e[2]=l):l=e[2],l}let c=n[r.resolvedType.name];if(r.resolvedType.type==="any"&&c?.resolvedType?.docLink){let l;return e[3]!==o||e[4]!==c?.resolvedType?.docLink||e[5]!==r.resolvedType.name?(l=f("pre",{className:"qui-docs-code font-code-demo fit",children:f(G,{render:f(o,{href:c?.resolvedType?.docLink}),children:r.resolvedType.name})}),e[3]=o,e[4]=c?.resolvedType?.docLink,e[5]=r.resolvedType.name,e[6]=l):l=e[6],l}let{docLink:p,inheritDoc:i,prettyType:a,reference:m,referenceLink:d,type:u,typeArgs:h}=r.resolvedType,y=a===void 0?"":a;if(d){if(i){let l;return e[7]!==o||e[8]!==y||e[9]!==d||e[10]!==u?(l=f("pre",{className:"qui-docs-code font-code-demo fit",children:f(G,{render:f(o,{href:d}),children:y||u})}),e[7]=o,e[8]=y,e[9]=d,e[10]=u,e[11]=l):l=e[11],l}else if(m){let l;return e[12]!==m||e[13]!==d?(l=f(B,{href:d,text:m}),e[12]=m,e[13]=d,e[14]=l):l=e[14],l}}if(p){if(i){let l;return e[15]!==o||e[16]!==p||e[17]!==y||e[18]!==u?(l=f("pre",{className:"qui-docs-code font-code-demo fit",children:f(G,{render:f(o,{href:p}),children:y||u})}),e[15]=o,e[16]=p,e[17]=y,e[18]=u,e[19]=l):l=e[19],l}else if(m){let l;return e[20]!==p||e[21]!==m?(l=f(B,{href:p,text:m}),e[20]=p,e[21]=m,e[22]=l):l=e[22],l}}else if(i){let l,g;if(e[23]!==o||e[24]!==l||e[25]!==n||e[26]!==s||e[27]!==u||e[28]!==h){g=Symbol.for("react.early_return_sentinel");e:{let x;if(h?.[0]?.baseType==="reference"&&h[0].type&&(x=h[0].type,l=n[x]),!l&&u&&(x=u,l=n[x],!l&&u.endsWith(">")&&(x=u.slice(0,u.indexOf("<")),l=n[x])),l){let q=s.find(A=>{if(A.textContent===x)return!0;if(x&&A.textContent.startsWith("<")){if(A.id===x.toLowerCase())return!0;if(x.endsWith("Props"))return Ve(A.id)===x.substring(0,x.length-5)}return!1})?.id;if(q){g=f("pre",{className:"qui-docs-code font-code-demo fit",children:f(G,{render:f(o,{href:`#${q}`}),children:x||u})});break e}}}e[23]=o,e[24]=l,e[25]=n,e[26]=s,e[27]=u,e[28]=h,e[29]=g,e[30]=l}else g=e[29],l=e[30];if(g!==Symbol.for("react.early_return_sentinel"))return g}if(r.resolvedType.parentTypeParam){let l;return e[31]!==r.resolvedType.parentTypeParam.type?(l=f(W,{content:r.resolvedType.parentTypeParam.type}),e[31]=r.resolvedType.parentTypeParam.type,e[32]=l):l=e[32],l}if(!y)return null;let k;return e[33]!==o||e[34]!==y||e[35]!==r.resolvedType.docLink?(k=f(lr,{children:r.resolvedType.docLink?f("pre",{className:"qui-docs-code font-code-demo fit",children:f(G,{render:f(o,{href:r.resolvedType.docLink}),children:y})}):f(ar,{className:"qui-docs-code fit",code:`${ur}${y}`,disableCopy:!0,language:"tsx"})}),e[33]=o,e[34]=y,e[35]=r.resolvedType.docLink,e[36]=k):k=e[36],k}import{c as vr}from"react/compiler-runtime";import{jsx as Ge,jsxs as Cr}from"react/jsx-runtime";import"react";import{CodeHighlight as br}from"@qualcomm-ui/react-mdx/code-highlight";import{useMdxDocsContext as Nr}from"@qualcomm-ui/react-mdx/context";import{useMdxDocsLayoutContext as kr}from"@qualcomm-ui/react-mdx/docs-layout";import{dummyTypePrefix as Dr}from"@qualcomm-ui/react-mdx/shiki";import{jsx as M,jsxs as hr}from"react/jsx-runtime";import{useMemo as yr,useRef as xr,useState as gr}from"react";import{Popover as K}from"@qualcomm-ui/react/popover";import{CodeHighlight as Tr}from"@qualcomm-ui/react-mdx/code-highlight";import{CopyToClipboardContextProvider as _r,useCopyToClipboard as Pr}from"@qualcomm-ui/react-mdx/copy-to-clipboard";import{jsx as _e,jsxs as fr}from"react/jsx-runtime";function Je(t){return fr("svg",{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",...t,children:[_e("path",{d:"M40,6H8C6.895,6,6,6.895,6,8v32c0,1.105,0.895,2,2,2h32c1.105,0,2-0.895,2-2V8 C42,6.895,41.105,6,40,6z",fill:"currentColor"}),_e("path",{d:"M29.832,33.824c0.45,0.485,0.809,0.998,1.284,1.359c1.031,0.784,2.197,0.921,3.401,0.413 c0.579-0.244,0.917-0.716,0.937-1.35c0.018-0.56-0.252-1.019-0.741-1.276c-0.942-0.494-1.93-0.903-2.861-1.417 c-0.834-0.46-1.705-0.916-2.405-1.546c-1.855-1.67-1.851-4.942-0.132-6.617c0.935-0.911,2.064-1.351,3.374-1.385 c4.31,0,5.279,2.716,5.279,2.716c-0.715,0.517-2.714,1.803-2.714,1.803c-0.358-0.549-1.09-1.246-1.747-1.37 c-0.826-0.155-1.593,0.159-1.855,0.798c-0.302,0.737-0.04,1.466,0.782,1.905c0.979,0.522,1.997,0.973,2.997,1.457 c0.98,0.474,1.918,1.018,2.592,1.899c1.704,2.229,1.365,6.494-2.537,7.506c-2.133,0.553-4.218,0.427-6.177-0.718 c-0.923-0.539-1.783-1.581-2.311-2.488C27,35.513,28.967,34.329,29.832,33.824z",fill:"#fff"}),_e("polygon",{fill:"#fff",points:"14,22 14,25.034 18.972,25.034 18.972,38.972 21.965,38.972 22.018,25.034 27,25.034 27,22"})]})}function Q({importStatement:t}){let{copyToClipboard:e,isCopied:r}=Pr({valueOrFn:t}),n=yr(()=>({copyToClipboard:e,isCopied:r}),[e,r]),[s,o]=gr(!1),c=xr(void 0);return M(_r,{value:n,children:hr(K.Root,{onOpenChange:o,open:s,positioning:{offset:{mainAxis:12}},children:[M(K.Anchor,{children:M(K.Trigger,{children:M("button",{"aria-label":"Show full type import",className:"doc-props__type-info-popup-trigger",onClick:p=>{p.stopPropagation(),p.preventDefault()},onMouseEnter:()=>{o(!0),clearTimeout(c.current)},onMouseLeave:()=>{c.current=setTimeout(()=>{o(!1)},100)},children:M(Je,{className:"doc-props__type-info-icon",height:22,onClick:()=>{e()},width:22})})})}),M(K.Positioner,{children:M(K.Content,{className:"doc-props__type-info-popup-content",onMouseEnter:()=>clearTimeout(c.current),onMouseLeave:()=>o(!1),children:M(Tr,{className:"code-highlight-popup",code:t,forceShowCopyButton:!0,language:"tsx"})})})]})})}function Ke(t){let e=vr(14),{prop:r}=t,{renderLink:n}=Nr(),{resolvedType:s}=r,{toc:o}=kr(),c=V(),p=s.prettyType??"",i;if(e[0]!==p||e[1]!==c||e[2]!==s.functionArgs||e[3]!==o){let d;e[5]!==p||e[6]!==c||e[7]!==o?(d=(u,h)=>{if(h.referenceType&&c[h.referenceType]&&p.includes(h.referenceType)){let y=o.find(k=>k.textContent===h.referenceType)?.id;y&&(u[h.referenceType]={href:`#${y}`,prettyType:h.prettyType||h.type})}return u},e[5]=p,e[6]=c,e[7]=o,e[8]=d):d=e[8],i=(s.functionArgs??[]).reduce(d,{}),e[0]=p,e[1]=c,e[2]=s.functionArgs,e[3]=o,e[4]=i}else i=e[4];let a=i,m;return e[9]!==p||e[10]!==a||e[11]!==n||e[12]!==s.importStatement?(m=Cr("div",{className:"doc-props__type-wrapper",children:[s.importStatement?Ge(Q,{importStatement:s.importStatement}):null,Ge(br,{code:`${Dr}${p}`,disableCopy:!0,highlightedReferences:a,language:"tsx",renderLink:n,style:{width:"fit-content"}})]}),e[9]=p,e[10]=a,e[11]=n,e[12]=s.importStatement,e[13]=m):m=e[13],m}function ae(t){let e=Lr(20),{prop:r}=t,{layout:n}=$(),{renderLink:s}=jr();if(!r.resolvedType){console.debug("unsupported type",r.type);let i;return e[0]===Symbol.for("react.memo_cache_sentinel")?(i=L(Sr,{}),e[0]=i):i=e[0],i}let o=r.resolvedType,c=o.prettyType??"";e:switch(o.baseType??r.type){case"intrinsic":{let i;return e[1]!==c?(i=L(W,{content:c}),e[1]=c,e[2]=i):i=e[2],i}case"reference":{let i=o.typeArgs?.[0]?.importStatement||o.importStatement,a;return e[3]!==i||e[4]!==r?(a=Pe("div",{className:"doc-props__type-wrapper",children:[i?L(Q,{importStatement:i}):null,L(Xe,{prop:r})]}),e[3]=i,e[4]=r,e[5]=a):a=e[5],a}case"array":{if(o.docLink&&o.inheritDoc){let i;return e[6]!==s||e[7]!==c||e[8]!==o.docLink||e[9]!==o.type?(i=L("pre",{className:"qui-docs-code font-code-demo fit",children:L(s,{href:o.docLink,children:c||o.type})}),e[6]=s,e[7]=c,e[8]=o.docLink,e[9]=o.type,e[10]=i):i=e[10],i}break e}case"reflection":{let i;return e[11]!==r?(i=L(Ke,{prop:r}),e[11]=r,e[12]=i):i=e[12],i}case"union":if(n==="table"){let i;return e[13]!==c||e[14]!==o.importStatement?(i=Pe("div",{className:"doc-props__type-wrapper",children:[o.importStatement?L(Q,{importStatement:o.importStatement}):null,L(wr,{className:"prop-type__union qui-docs-code fit",code:c,disableCopy:!0,language:"tsx"})]}),e[13]=c,e[14]=o.importStatement,e[15]=i):i=e[15],i}else if(o.type){let i;if(e[16]!==o.type){let a=o.type.split("|");i=L("pre",{className:"qui-docs-code font-code-demo doc-props__resolved-type",children:a.map((m,d)=>Pe("span",{children:[m,d<a.length-1?"|":""]},m))}),e[16]=o.type,e[17]=i}else i=e[17];return i}}let p;return e[18]!==c?(p=L(W,{content:c}),e[18]=c,e[19]=p):p=e[19],p}import{jsx as N,jsxs as Y}from"react/jsx-runtime";function Qe({parameters:t}){return N("div",{className:"typedoc-props__table-wrapper",children:Y("table",{children:[N("thead",{children:Y("tr",{children:[N("th",{children:"Parameter Name"}),N("th",{children:"Parameter Type"}),N("th",{children:"Default"})]})}),N("tbody",{children:t.map(e=>{let r=e.name;return Y("tr",{children:[Y("td",{className:"doc-props-table__name-cell",children:[N("span",{className:"doc-props-table__row-anchor",id:r,suppressHydrationWarning:!0}),Y("div",{className:"doc-props-item__description",children:[N("div",{className:"doc-props-item__border",children:N("div",{className:"doc-props-item__name",children:N("div",{className:"doc-props-item__label",children:e.name})})}),N("div",{className:"doc-props-description__root doc-props-table",children:N(T,{summary:e.summary??[]})})]})]}),N("td",{children:N(W,{content:e.type})})]},r)})})]})})}import{c as $r}from"react/compiler-runtime";import{Fragment as et,jsx as H,jsxs as tt}from"react/jsx-runtime";import{CodeHighlight as Mr}from"@qualcomm-ui/react-mdx/code-highlight";import{createContext as Ar,useContext as Rr}from"react";var Ye=Ar(null),Ls=Ye.Provider,Er={propsLayout:"table",setPropsLayout:t=>{}};function me(t){let{strict:e}=t===void 0?{}:t,r=Rr(Ye);if(!r&&e)throw new Error("PropsLayout components must be wrapped in a <PropsLayoutProvider>");return r??Er}import{jsx as Fr}from"react/jsx-runtime";import{CodeHighlight as Ir}from"@qualcomm-ui/react-mdx/code-highlight";function Ze({resolvedType:t}){return Fr(Ir,{code:t.prettyType||"",disableCopy:!0,language:"tsx"})}function rt(t){let e=$r(6),{resolvedType:r}=t,{propsLayout:n}=me(),s,o;if(e[0]!==n||e[1]!==r){o=Symbol.for("react.early_return_sentinel");e:{let c=r.parameters||[];if(!c.length){let p;e[4]!==r.prettyType?(p=r.prettyType?H("div",{className:"doc-props__symbol-wrapper",children:H(Mr,{code:r.prettyType,disableCopy:!0,language:"tsx"})}):null,e[4]=r.prettyType,e[5]=p):p=e[5],o=p;break e}s=tt("div",{className:"doc-props__root",children:[n==="table"?tt(et,{children:[H("div",{className:"docs-table__wrapper",children:H(Qe,{parameters:c})}),H("div",{className:"docs-list-wrapper"})]}):H(et,{}),H("h5",{className:"mdx",children:"Full Signature:"}),H(Ze,{resolvedType:r})]})}e[0]=n,e[1]=r,e[2]=s,e[3]=o}else s=e[2],o=e[3];return o!==Symbol.for("react.early_return_sentinel")?o:s}import{jsx as ro}from"react/jsx-runtime";import{jsx as fe,jsxs as mt}from"react/jsx-runtime";import{ChevronRight as Qr}from"lucide-react";import{Collapsible as ke}from"@qualcomm-ui/react/collapsible";import{Icon as Yr}from"@qualcomm-ui/react/icon";import{Fragment as Vr,jsx as P,jsxs as Ne}from"react/jsx-runtime";import{useEffect as pt,useMemo as ue,useState as lt}from"react";import{ExternalLink as Or}from"lucide-react";import{InlineNotification as zr}from"@qualcomm-ui/react/inline-notification";import{Link as Xr}from"@qualcomm-ui/react/link";import{CodeHighlight as Jr}from"@qualcomm-ui/react-mdx/code-highlight";import{ensureArray as Gr}from"@qualcomm-ui/utils/array";import{mergeProps as Kr}from"@qualcomm-ui/utils/merge-props";import{jsx as ot,jsxs as Hr}from"react/jsx-runtime";function nt({comment:t}){let e=t?.summary||[],r=t?.blockTags||[];return!e.length&&!r.length?null:Hr("div",{className:"doc-props-description__root doc-props__top-level-jsdoc-comment",children:[e.length?ot(T,{summary:e}):null,r.length?ot(re,{tags:r}):null]})}function de(t){return t.resolvedType.required}function ve(t,e){return t.sort((r,n)=>{if(e){if(de(r)&&!de(n))return-1;if(de(n)&&!de(r))return 1}let s=r.name,o=n.name;return s.localeCompare(o)})}import{ensureArray as Wr}from"@qualcomm-ui/utils/array";function Ce(t){let{angularConfig:e={},name:r,pageProps:n,partial:s,propFilter:o,propTransformer:c,sortRequiredPropsFirst:p,unionWithPick:i}=t,{mergeInputAndOutput:a=!0,output:m,publicMethods:d}=e,u=i?Object.keys(i).reduce((R,v)=>{let C=i[v],E=Ce({angularConfig:{},name:v,omit:[],omitFrom:void 0,pageProps:n,partial:s,pick:C,propFilter:o,sortRequiredPropsFirst:p,unionWithPick:void 0});return R.push(...E),R},[]):[];if(!n)return[];let h=Wr(r),y=new Map;for(let R of h){let v=n[R];if(!v)continue;let C=m?v.output??[]:d?v.publicMethods??[]:v.input??v.props??[];for(let E of C)y.set(E.name,E)}let k=Array.from(y.values()),l=p&&!s,g=ve([...st(k,t),...u],l);if(o&&(g=g.filter(o)),c&&(g=g.map(c)),!a)return g;let x=new Map;for(let R of h){let v=n[R];if(v)for(let C of v.output??[])x.set(C.name,C)}let q=Array.from(x.values()),A=ve(st(q,t),l);return[...g,...A]}function it(t,e){for(let r of t)if(r.endsWith("Props")){let n=r.substring(0,r.length-5),s=e[n]?.comment;if(s)return s}else return e[r]?.comment}function st(t,e){let{omit:r,omitFrom:n,pageProps:s,pick:o}=e,c=n?s?.[n]:void 0,p=[...t];if(r){let i=new Set(r??[]);i.size&&(p=p.filter(a=>!i.has(a.name)))}if(o){let i=new Set(o??[]);i.size&&(p=p.filter(a=>i.has(a.name)))}if(c){let i=[c.props,c.input,c.output,c.publicMethods].filter(m=>!!m).flat(),a=new Set((i?.map(m=>m.name)??[]).filter(Boolean));a.size&&(p=p.filter(m=>!a.has(m.name)))}return p}import{c as qr}from"react/compiler-runtime";import{jsx as S,jsxs as Z}from"react/jsx-runtime";function be(t){let e=qr(11),{changelogPathname:r,props:n,suppressIds:s}=t,{columnNames:o,hideDefaultColumn:c}=$();if(!n.length)return null;let p;if(e[0]!==r||e[1]!==o||e[2]!==c||e[3]!==s||e[4]!==n){let i;e[6]!==r||e[7]!==o||e[8]!==c||e[9]!==s?(i=a=>{let m=a.id,d=typeof a.defaultValue<"u";return Z("div",{className:"doc-props-list-item__root",suppressHydrationWarning:!0,children:[S("span",{className:"doc-props-table__row-anchor",id:s?void 0:m,suppressHydrationWarning:!0}),S("div",{className:"doc-props-list-item__name-wrapper",suppressHydrationWarning:!0,children:S(le,{changelogPathname:r,id:m,prop:a})}),Z("div",{className:"doc-props-columns",children:[Z("div",{className:"doc-props__content",children:[S("div",{className:"doc-props__title",children:o.type}),S(ae,{prop:a})]}),d&&c?Z("div",{className:"doc-props__content",children:[S("div",{className:"doc-props__title",children:o.defaultValue||"Default"}),S(ee,{prop:a})]}):null,a.comment?Z("div",{className:"doc-props__content",children:[S("div",{className:"doc-props__title",children:"Description"}),S(ie,{prop:a,children:ne(a)?S(oe,{prop:a}):null})]}):null]})]},`${m}-${s}`)},e[6]=r,e[7]=o,e[8]=c,e[9]=s,e[10]=i):i=e[10],p=S("div",{className:"doc-props-list__root",suppressHydrationWarning:!0,children:n.map(i)}),e[0]=r,e[1]=o,e[2]=c,e[3]=s,e[4]=n,e[5]=p}else p=e[5];return p}import{c as Ur}from"react/compiler-runtime";import{jsx as _,jsxs as O}from"react/jsx-runtime";import{Fragment as Br}from"react";function ct(t){let e=Ur(14),{changelogPathname:r,props:n,suppressIds:s}=t,{columnNames:o,hideDefaultColumn:c}=$(),p=c?2:3;if(!n.length)return null;let i;if(e[0]!==r||e[1]!==o.defaultValue||e[2]!==o.name||e[3]!==o.type||e[4]!==p||e[5]!==c||e[6]!==s||e[7]!==n){let a;e[9]!==r||e[10]!==p||e[11]!==c||e[12]!==s?(a=m=>{let d=m.id,u=ne(m);return O(Br,{children:[O("tr",{suppressHydrationWarning:!0,children:[O("td",{className:"doc-props-table__name-cell",suppressHydrationWarning:!0,children:[_("span",{className:"doc-props-table__row-anchor",id:s?void 0:d,suppressHydrationWarning:!0}),O("div",{className:"doc-props-item__description",children:[_("div",{className:"doc-props-item__border",children:_(le,{changelogPathname:r,id:d,prop:m})}),_(ie,{className:"doc-props-table__description",prop:m})]})]}),_("td",{children:_(ae,{prop:m})}),c?null:_("td",{children:_(ee,{prop:m})})]}),u?_("tr",{className:"doc-props-table__details-row",children:_("td",{colSpan:p,children:_(oe,{prop:m})})}):null]},`${d}-${s}`)},e[9]=r,e[10]=p,e[11]=c,e[12]=s,e[13]=a):a=e[13],i=_("div",{className:"typedoc-props__table-wrapper",suppressHydrationWarning:!0,children:O("table",{children:[_("thead",{children:O("tr",{children:[_("th",{children:o.name}),_("th",{children:o.type}),c?null:_("th",{children:o.defaultValue||"Default"})]})}),_("tbody",{children:n.map(a)})]})}),e[0]=r,e[1]=o.defaultValue,e[2]=o.name,e[3]=o.type,e[4]=p,e[5]=c,e[6]=s,e[7]=n,e[8]=i}else i=e[8];return i}function at({angularConfig:t,changelogPathname:e,columnNames:r,hideDefaultColumn:n=!1,linkifyPrimaryColumn:s=!0,name:o,omit:c,omitFrom:p,partial:i,pick:a,propFilter:m,propTransformer:d,showComponentJsdoc:u=!0,sortRequiredPropsFirst:h=!0,unionWithPick:y,...k}){let l=V(),{propsLayout:g}=me(),[x,q]=lt(!1);pt(()=>{q(!0)},[]);let[A,R]=lt(()=>typeof window<"u"&&window.matchMedia("(min-width: 950px)").matches);pt(()=>{let w=window.matchMedia("(min-width: 950px)"),z=X=>R(X.matches);return w.addEventListener("change",z),R(w.matches),()=>w.removeEventListener("change",z)},[]);let v=Gr(o),{firstValidPropTypes:C,missingNames:E}=ue(()=>{let w=[],z=[],X;for(let ye of v){let Se=l[ye];Se?(w.push(ye),X||(X=Se)):z.push(ye)}return{existingNames:w,firstValidPropTypes:X,missingNames:z}},[v,l]),U=ue(()=>Ce({angularConfig:t,name:o,omit:c,omitFrom:p,pageProps:l,partial:i,pick:a,propFilter:m,propTransformer:d,sortRequiredPropsFirst:h,unionWithPick:y}),[t,o,c,p,i,a,l,m,d,h,y]),De=ue(()=>[t?.output,t?.publicMethods,n].some(w=>!!w)||U.every(w=>!w.defaultValue),[t?.output,t?.publicMethods,n,U]),he=ue(()=>({columnNames:r??{defaultValue:"Default",description:"Description",name:"Prop",type:"Type"},disableRequired:i??!1,hideDefaultColumn:De,layout:g,linkifyPrimaryColumn:s}),[r,De,s,i,g]);if(E.length)return P(zr,{description:P(Xr,{endIcon:Or,href:"https://docs.qui.qualcomm.com/guide/typedoc#type-detection",rel:"noreferrer",size:"md",target:"_blank",children:"Learn more"}),emphasis:"danger",label:Ne("div",{children:[P("span",{children:E.length===1?"Entity not found: ":"Some entities could not be found: "}),P("code",{className:"qui-docs-code",children:E.join(", ")})]}),orientation:"vertical",style:{marginTop:24}});let Le=u&&it(v,l);if(!U.length){if(C?.resolvedType?.type==="signature")return P(ce,{value:he,children:P(rt,{comment:C.comment,name:C.name,resolvedType:C.resolvedType})});if(C?.resolvedType?.prettyType&&C?.resolvedType?.type!=="any")return P(ce,{value:he,children:P("div",{className:"doc-props__symbol-wrapper",children:P(Jr,{code:C.resolvedType.prettyType,disableCopy:!0,language:"tsx"})})});if(!Le)return null}return P(ce,{value:he,children:Ne("div",{...Kr({className:"doc-props__root"},k),suppressHydrationWarning:!0,children:[P(nt,{comment:Le||null}),g==="table"?Ne(Vr,{children:[P("div",{className:"docs-table__wrapper",suppressHydrationWarning:!0,children:P(ct,{changelogPathname:e,props:U,suppressIds:x&&!A})}),P("div",{className:"docs-list-wrapper",children:P(be,{changelogPathname:e,props:U,suppressIds:!x||A})})]}):P(be,{changelogPathname:e,props:U})]})})}var Zr={description:"Description",name:"Attribute / Property",type:"Value"},eo=new Set(["className","hidden","style","tabIndex"]),to=t=>t.name.startsWith("data-")||eo.has(t.name);function dt(t){return mt(ke.Root,{className:"mdx-spoiler__root",children:[mt(ke.Trigger,{className:"mdx-spoiler__trigger",children:["Attributes",fe(Yr,{className:"mdx-spoiler__indicator",icon:Qr})]}),fe(ke.Content,{className:"mdx-spoiler__content",children:fe("div",{className:"mdx-spoiler__content-body",children:fe(at,{columnNames:Zr,hideDefaultColumn:!0,linkifyPrimaryColumn:!1,partial:!0,propFilter:to,showComponentJsdoc:!1,sortRequiredPropsFirst:!1,...t})})})]})}function oo(t){return{...t,name:t.name==="className"?"class":t.name}}function Wi(t){return ro(dt,{propTransformer:oo,...t})}export{B as DocsExternalLink,ee as PropDefault,ie as PropDescription,re as PropDescriptionBlockTags,oe as PropDescriptionExtraDetails,se as PropDescriptionFunctionArgs,je as PropDescriptionInlineTag,Fe as PropDescriptionOptionTags,Me as PropDescriptionSeeTags,T as PropDescriptionSummary,le as PropName,ae as PropType,vn as PropsContextProvider,Ls as PropsLayoutProvider,Xe as Reference,Ke as Reflection,W as SimpleType,Je as TsIcon,Wi as TypeDocAngularAttributes,dt as TypeDocAttributes,ce as TypeDocContextProvider,Qe as TypeDocParametersTable,at as TypeDocProps,rt as TypeDocReflection,Q as TypeInfoPopup,be as TypedocPropsList,ct as TypedocPropsTable,ne as getHasExtraDetails,V as usePropsContext,me as usePropsLayoutContext,$ as useTypeDocContext};
7
+ -`,"<br />-")}})},r)})})}function re({tags:t}){let e=t.filter(r=>r.tag in Ee);return j(kt,{children:e.map((r,n)=>{let s=Ee[r.tag];return j(Lt,{children:s?j(s,{tag:r}):j(T,{summary:r.content})},`${r.name}-${n}`)})})}var Ee={"@example":({tag:t})=>j("div",{className:"doc-props-description__example-tag",children:j(T,{summary:t.content})}),"@remarks":function({tag:e}){return j("div",{className:"doc-props-description__remarks-tag",children:Dt(wt,{children:[j(jt,{children:"Remarks"}),j(St,{children:j(T,{summary:e.content})})]})})}};import{jsx as Fe}from"react/jsx-runtime";function oe({prop:t}){let e=t.comment?.blockTags??[];return Fe("div",{className:"doc-props-description__extra-details",children:Fe(re,{tags:e})})}function ne(t){return t.comment&&t.comment.blockTags?.some(e=>e.tag==="@example"||e.tag==="@remarks")}import{jsx as G,jsxs as At}from"react/jsx-runtime";function se({functionArgs:t}){let e=t.filter(r=>r.name&&r.summary?.length);return G("ul",{className:"doc-props__function-args-list",children:e.map(r=>G("li",{className:"doc-props__function-args-list-item",children:At("span",{children:[G("span",{className:"doc-props__function-arg-name",children:r.name}),G("span",{children:G(T,{summary:r.summary})})]})},r.name))})}import{jsx as ge}from"react/jsx-runtime";function Ie({tags:t}){return ge("ul",{className:"doc-props-description__option-tags",children:t.map((e,r)=>ge("li",{children:ge(T,{summary:e.content})},r))})}import{c as Rt}from"react/compiler-runtime";import{jsx as D,jsxs as Et}from"react/jsx-runtime";import{Fragment as Ft}from"react";import{Link as $e}from"@qualcomm-ui/react/link";import{useMdxDocsContext as It}from"@qualcomm-ui/react-mdx/context";function $t(t){return t.content.length===1&&(t.content[0].docLink||t.content[0].kind==="text"&&!t.content[0].text.includes(" "))}function Mt(t){if(t.content.length%3!==0||t.content.length<3)return!1;for(let r=0;r<t.content.length;r+=3){let n=t.content.slice(r,r+3);if(n[0].text!==" - "||n[2].text!==`
8
+ `)return!1}return!0}function Me(t){return t.docLink?{text:t.text,url:t.docLink}:{text:t.text,url:`./#${t.text}`}}function He(t){let e=Rt(6),{hideTitle:r,seeTags:n}=t,{renderLink:s}=It(),o;if(e[0]!==s||e[1]!==r||e[2]!==n){let c;e[4]!==s?(c=(p,i)=>{if($t(p)){let{text:a,url:m}=Me(p.content[0]);return D("li",{children:D($e,{render:D(s,{href:m}),children:a})},i)}return Mt(p)?D(Ft,{children:p.content.filter(Ht).map(a=>{let{text:m,url:d}=Me(a);return D("li",{children:D($e,{render:D(s,{href:d}),children:m})},a.text)})},i):D("li",{children:D(T,{summary:p.content})},i)},e[4]=s,e[5]=c):c=e[5],o=Et("div",{className:"doc-props-description__see-tags",children:[r?null:D("div",{children:"Related symbols:"}),D("ul",{className:"see-tag-list",children:n.map(c)})]}),e[0]=s,e[1]=r,e[2]=n,e[3]=o}else o=e[3];return o}function Ht(t){return t.text!==" - "&&t.text!==`
9
+ `}import{jsx as I,jsxs as Te}from"react/jsx-runtime";import{mergeProps as Wt}from"@qualcomm-ui/utils/merge-props";function ie({children:t,prop:e,...r}){let n=e.comment??{blockTags:[],summary:[]},s=n?.blockTags?.find(a=>a.tag==="@deprecated"),o=(e.resolvedType.parameters??[]).reduce((a,m)=>(m.args&&a.push(m.args),a),[]),c=n.blockTags?.filter(a=>a.tag==="@option")??[],p=n?.blockTags?.filter(a=>a.tag==="@see")??[];if(!n.summary.length&&!s&&!c.length&&!p.length&&!o.length&&!e.resolvedType.functionArgs?.length&&!e.resolvedType.parameters?.length&&!o.length)return null;let i=Wt({className:"doc-props-description__root"},r);return Te("div",{...i,children:[Te("span",{children:[I(T,{summary:n.summary}),s?Te("span",{children:["Deprecated"," ",I(T,{summary:s.content})]}):null,e.resolvedType.functionArgs?I(se,{functionArgs:e.resolvedType.functionArgs}):null,e.resolvedType.parameters&&e.resolvedType.baseType==="reflection"?I(se,{functionArgs:e.resolvedType.parameters}):null,o.length?o.map((a,m)=>I("div",{children:I(se,{functionArgs:a})},`${e.name}-parameter-function-args-${m}`)):null]}),c.length?I(Ie,{tags:c}):null,p.length?I(He,{seeTags:p}):null,t]})}import{jsx as b,jsxs as _e}from"react/jsx-runtime";import"react";import{Info as Bt}from"lucide-react";import{Icon as Vt}from"@qualcomm-ui/react/icon";import{Link as qe}from"@qualcomm-ui/react/link";import{Tooltip as pe}from"@qualcomm-ui/react/tooltip";import{useMdxDocsContext as Ue}from"@qualcomm-ui/react-mdx/context";import{createContext as qt,useContext as Ut}from"react";var We=qt(null),ce=We.Provider;function $(){return Ut(We)}function zt(t,e){return e?e.startsWith("v")?`${t}#${e.substring(1).split(".").join("")}`:`${t}#${e.split(".").join("")}`:""}function le(t){let{changelogPathname:e,id:r,prop:n}=t,{renderLink:s}=Ue(),{disableRequired:o,linkifyPrimaryColumn:c}=$(),p=n.resolvedType.required&&!o,i=n.resolvedType.deprecated,a=n.resolvedType.type?.match(/^((EventEmitter)|(OutputEmitterRef))/),m=a?!1:n.resolvedType?.type?.startsWith("ModelSignal"),u=n.comment?.blockTags?.find?.(Ot)?.content?.[0]?.text,h=a?`(${n.name})`:m?`[(${n.name})]`:n.name,{docProps:y}=Ue(),k=e||y?.changelogUrl||"/changelog",l=c?b(qe,{render:b(s,{href:`#${r||n.name}`}),style:{textDecoration:i?"line-through":"unset"},suppressHydrationWarning:!0,children:String(h)}):b("code",{className:"qui-docs-code",children:String(h)});return _e("div",{className:"doc-props-item__name",children:[_e("div",{className:"doc-props-item__label",children:[l,p?b("div",{className:"doc-props-item__required-indicator",children:b("sup",{children:"*"})}):null,i?b("div",{className:"doc-props-item__deprecated-indicator",children:b("sup",{children:"*"})}):null]}),m?_e(pe.Root,{children:[b(pe.Trigger,{children:b(Vt,{icon:Bt,size:"xs"})}),b(pe.Positioner,{children:b(pe.Content,{children:"This property supports two-way binding"})})]}):null,u?e===null?b("div",{className:"doc-props__since",children:u}):b(qe,{className:"doc-props__since",emphasis:"neutral",render:b(s,{href:zt(k,u)}),children:u}):null]})}function Ot(t){return t.tag==="@since"}import{c as Lr}from"react/compiler-runtime";import{Fragment as Sr,jsx as L,jsxs as ve}from"react/jsx-runtime";import{CodeHighlight as wr}from"@qualcomm-ui/react-mdx/code-highlight";import{useMdxDocsContext as jr}from"@qualcomm-ui/react-mdx/context";import{c as pr}from"react/compiler-runtime";import{Fragment as lr,jsx as f}from"react/jsx-runtime";var Xt=/([\p{Ll}\d])(\p{Lu})/gu,Jt=/(\p{Lu})([\p{Lu}][\p{Ll}])/gu,Gt=/(\d)\p{Ll}|(\p{L})\d/u,Kt=/[^\p{L}\d]+/giu,Be="$1\0$2";function Ve(t){let e=t.trim();e=e.replace(Xt,Be).replace(Jt,Be),e=e.replace(Kt,"\0");let r=0,n=e.length;for(;e.charAt(r)==="\0";)r++;if(r===n)return[];for(;e.charAt(n-1)==="\0";)n--;return e.slice(r,n).split(/\0/g)}function Qt(t){let e=Ve(t);for(let r=0;r<e.length;r++){let n=e[r],s=Gt.exec(n);if(s){let o=s.index+(s[1]??s[2]).length;e.splice(r,1,n.slice(0,o),n.slice(o))}}return e}function ze(t,e){let[r,n,s]=rr(t,e),o=Yt(e?.locale),c=Zt(e?.locale),p=e?.mergeAmbiguousCharacters?er(o,c):tr(o,c);return r+n.map(p).join(e?.delimiter??"")+s}function Yt(t){return t===!1?e=>e.toLowerCase():e=>e.toLocaleLowerCase(t)}function Zt(t){return t===!1?e=>e.toUpperCase():e=>e.toLocaleUpperCase(t)}function er(t,e){return r=>`${e(r[0])}${t(r.slice(1))}`}function tr(t,e){return(r,n)=>{let s=r[0];return(n>0&&s>="0"&&s<="9"?"_"+s:e(s))+t(r.slice(1))}}function rr(t,e={}){let r=e.split??(e.separateNumbers?Qt:Ve),n=e.prefixCharacters??"",s=e.suffixCharacters??"",o=0,c=t.length;for(;o<t.length;){let p=t.charAt(o);if(!n.includes(p))break;o++}for(;c>o;){let p=c-1,i=t.charAt(p);if(!s.includes(i))break;c=p}return[t.slice(0,o),r(t.slice(o,c)),t.slice(c)]}import{Link as K}from"@qualcomm-ui/react/link";import{CodeHighlight as ar}from"@qualcomm-ui/react-mdx/code-highlight";import{useMdxDocsContext as mr}from"@qualcomm-ui/react-mdx/context";import{useMdxDocsLayoutContext as dr}from"@qualcomm-ui/react-mdx/docs-layout";import{dummyTypePrefix as ur}from"@qualcomm-ui/react-mdx/shiki";import{createContext as or,useContext as nr}from"react";var Oe=or(null),vn=Oe.Provider;function z(){let t=nr(Oe);if(!t)throw new Error("Error, expected a <PropsContextProvider> somewhere in the component tree.");return t}import{Fragment as sr,jsx as Xe}from"react/jsx-runtime";import{CodeHighlight as ir}from"@qualcomm-ui/react-mdx/code-highlight";import{dummyTypePrefix as cr}from"@qualcomm-ui/react-mdx/shiki";function W({content:t}){return t==="''"?Xe(sr,{}):Xe(ir,{className:"qui-docs-code fit",code:t?`${cr}${t}`:"",disableCopy:!0,language:"tsx"})}function Je(t){let e=pr(37),{prop:r}=t,n=z(),{toc:s}=dr(),{renderLink:o}=mr();if(r.resolvedType.type==="ReactNode"){let l;return e[0]===Symbol.for("react.memo_cache_sentinel")?(l=f(B,{href:"https://github.com/DefinitelyTyped/DefinitelyTyped/blob/d076add9f29db350a19bd94c37b197729cc02f87/types/react/index.d.ts#L237",text:"ReactNode"}),e[0]=l):l=e[0],l}if(r.resolvedType.type==="LucideIconBase"){let l;return e[1]===Symbol.for("react.memo_cache_sentinel")?(l=f(B,{href:"https://lucide.dev/icons",text:"LucideIcon"}),e[1]=l):l=e[1],l}if(r.resolvedType.type==="CSSProperties"){let l;return e[2]===Symbol.for("react.memo_cache_sentinel")?(l=f(B,{href:"https://www.npmjs.com/package/csstype",text:"CSSProperties"}),e[2]=l):l=e[2],l}let c=n[r.resolvedType.name];if(r.resolvedType.type==="any"&&c?.resolvedType?.docLink){let l;return e[3]!==o||e[4]!==c?.resolvedType?.docLink||e[5]!==r.resolvedType.name?(l=f("pre",{className:"qui-docs-code font-code-demo fit",children:f(K,{render:f(o,{href:c?.resolvedType?.docLink}),children:r.resolvedType.name})}),e[3]=o,e[4]=c?.resolvedType?.docLink,e[5]=r.resolvedType.name,e[6]=l):l=e[6],l}let{docLink:p,inheritDoc:i,prettyType:a,reference:m,referenceLink:d,type:u,typeArgs:h}=r.resolvedType,y=a===void 0?"":a;if(d){if(i){let l;return e[7]!==o||e[8]!==y||e[9]!==d||e[10]!==u?(l=f("pre",{className:"qui-docs-code font-code-demo fit",children:f(K,{render:f(o,{href:d}),children:y||u})}),e[7]=o,e[8]=y,e[9]=d,e[10]=u,e[11]=l):l=e[11],l}else if(m){let l;return e[12]!==m||e[13]!==d?(l=f(B,{href:d,text:m}),e[12]=m,e[13]=d,e[14]=l):l=e[14],l}}if(p){if(i){let l;return e[15]!==o||e[16]!==p||e[17]!==y||e[18]!==u?(l=f("pre",{className:"qui-docs-code font-code-demo fit",children:f(K,{render:f(o,{href:p}),children:y||u})}),e[15]=o,e[16]=p,e[17]=y,e[18]=u,e[19]=l):l=e[19],l}else if(m){let l;return e[20]!==p||e[21]!==m?(l=f(B,{href:p,text:m}),e[20]=p,e[21]=m,e[22]=l):l=e[22],l}}else if(i){let l,g;if(e[23]!==o||e[24]!==l||e[25]!==n||e[26]!==s||e[27]!==u||e[28]!==h){g=Symbol.for("react.early_return_sentinel");e:{let x;if(h?.[0]?.baseType==="reference"&&h[0].type&&(x=h[0].type,l=n[x]),!l&&u&&(x=u,l=n[x],!l&&u.endsWith(">")&&(x=u.slice(0,u.indexOf("<")),l=n[x])),l){let q=s.find(A=>{if(A.textContent===x)return!0;if(x&&A.textContent.startsWith("<")){if(A.id===x.toLowerCase())return!0;if(x.endsWith("Props"))return ze(A.id)===x.substring(0,x.length-5)}return!1})?.id;if(q){g=f("pre",{className:"qui-docs-code font-code-demo fit",children:f(K,{render:f(o,{href:`#${q}`}),children:x||u})});break e}}}e[23]=o,e[24]=l,e[25]=n,e[26]=s,e[27]=u,e[28]=h,e[29]=g,e[30]=l}else g=e[29],l=e[30];if(g!==Symbol.for("react.early_return_sentinel"))return g}if(r.resolvedType.parentTypeParam){let l;return e[31]!==r.resolvedType.parentTypeParam.type?(l=f(W,{content:r.resolvedType.parentTypeParam.type}),e[31]=r.resolvedType.parentTypeParam.type,e[32]=l):l=e[32],l}if(!y)return null;let k;return e[33]!==o||e[34]!==y||e[35]!==r.resolvedType.docLink?(k=f(lr,{children:r.resolvedType.docLink?f("pre",{className:"qui-docs-code font-code-demo fit",children:f(K,{render:f(o,{href:r.resolvedType.docLink}),children:y})}):f(ar,{className:"qui-docs-code fit",code:`${ur}${y}`,disableCopy:!0,language:"tsx"})}),e[33]=o,e[34]=y,e[35]=r.resolvedType.docLink,e[36]=k):k=e[36],k}import{c as vr}from"react/compiler-runtime";import{jsx as Ke,jsxs as Cr}from"react/jsx-runtime";import"react";import{CodeHighlight as br}from"@qualcomm-ui/react-mdx/code-highlight";import{useMdxDocsContext as Nr}from"@qualcomm-ui/react-mdx/context";import{useMdxDocsLayoutContext as kr}from"@qualcomm-ui/react-mdx/docs-layout";import{dummyTypePrefix as Dr}from"@qualcomm-ui/react-mdx/shiki";import{jsx as M,jsxs as hr}from"react/jsx-runtime";import{useMemo as yr,useRef as xr,useState as gr}from"react";import{Popover as Q}from"@qualcomm-ui/react/popover";import{CodeHighlight as Tr}from"@qualcomm-ui/react-mdx/code-highlight";import{CopyToClipboardContextProvider as _r,useCopyToClipboard as Pr}from"@qualcomm-ui/react-mdx/copy-to-clipboard";import{jsx as Pe,jsxs as fr}from"react/jsx-runtime";function Ge(t){return fr("svg",{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",...t,children:[Pe("path",{d:"M40,6H8C6.895,6,6,6.895,6,8v32c0,1.105,0.895,2,2,2h32c1.105,0,2-0.895,2-2V8 C42,6.895,41.105,6,40,6z",fill:"currentColor"}),Pe("path",{d:"M29.832,33.824c0.45,0.485,0.809,0.998,1.284,1.359c1.031,0.784,2.197,0.921,3.401,0.413 c0.579-0.244,0.917-0.716,0.937-1.35c0.018-0.56-0.252-1.019-0.741-1.276c-0.942-0.494-1.93-0.903-2.861-1.417 c-0.834-0.46-1.705-0.916-2.405-1.546c-1.855-1.67-1.851-4.942-0.132-6.617c0.935-0.911,2.064-1.351,3.374-1.385 c4.31,0,5.279,2.716,5.279,2.716c-0.715,0.517-2.714,1.803-2.714,1.803c-0.358-0.549-1.09-1.246-1.747-1.37 c-0.826-0.155-1.593,0.159-1.855,0.798c-0.302,0.737-0.04,1.466,0.782,1.905c0.979,0.522,1.997,0.973,2.997,1.457 c0.98,0.474,1.918,1.018,2.592,1.899c1.704,2.229,1.365,6.494-2.537,7.506c-2.133,0.553-4.218,0.427-6.177-0.718 c-0.923-0.539-1.783-1.581-2.311-2.488C27,35.513,28.967,34.329,29.832,33.824z",fill:"#fff"}),Pe("polygon",{fill:"#fff",points:"14,22 14,25.034 18.972,25.034 18.972,38.972 21.965,38.972 22.018,25.034 27,25.034 27,22"})]})}function Y({importStatement:t}){let{copyToClipboard:e,isCopied:r}=Pr({valueOrFn:t}),n=yr(()=>({copyToClipboard:e,isCopied:r}),[e,r]),[s,o]=gr(!1),c=xr(void 0);return M(_r,{value:n,children:hr(Q.Root,{onOpenChange:o,open:s,positioning:{offset:{mainAxis:12}},children:[M(Q.Anchor,{children:M(Q.Trigger,{children:M("button",{"aria-label":"Show full type import",className:"doc-props__type-info-popup-trigger",onClick:p=>{p.stopPropagation(),p.preventDefault()},onMouseEnter:()=>{o(!0),clearTimeout(c.current)},onMouseLeave:()=>{c.current=setTimeout(()=>{o(!1)},100)},children:M(Ge,{className:"doc-props__type-info-icon",height:22,onClick:()=>{e()},width:22})})})}),M(Q.Positioner,{children:M(Q.Content,{className:"doc-props__type-info-popup-content",onMouseEnter:()=>clearTimeout(c.current),onMouseLeave:()=>o(!1),children:M(Tr,{className:"code-highlight-popup",code:t,forceShowCopyButton:!0,language:"tsx"})})})]})})}function Qe(t){let e=vr(14),{prop:r}=t,{renderLink:n}=Nr(),{resolvedType:s}=r,{toc:o}=kr(),c=z(),p=s.prettyType??"",i;if(e[0]!==p||e[1]!==c||e[2]!==s.functionArgs||e[3]!==o){let d;e[5]!==p||e[6]!==c||e[7]!==o?(d=(u,h)=>{if(h.referenceType&&c[h.referenceType]&&p.includes(h.referenceType)){let y=o.find(k=>k.textContent===h.referenceType)?.id;y&&(u[h.referenceType]={href:`#${y}`,prettyType:h.prettyType||h.type})}return u},e[5]=p,e[6]=c,e[7]=o,e[8]=d):d=e[8],i=(s.functionArgs??[]).reduce(d,{}),e[0]=p,e[1]=c,e[2]=s.functionArgs,e[3]=o,e[4]=i}else i=e[4];let a=i,m;return e[9]!==p||e[10]!==a||e[11]!==n||e[12]!==s.importStatement?(m=Cr("div",{className:"doc-props__type-wrapper",children:[s.importStatement?Ke(Y,{importStatement:s.importStatement}):null,Ke(br,{code:`${Dr}${p}`,disableCopy:!0,highlightedReferences:a,language:"tsx",renderLink:n,style:{width:"fit-content"}})]}),e[9]=p,e[10]=a,e[11]=n,e[12]=s.importStatement,e[13]=m):m=e[13],m}function ae(t){let e=Lr(20),{prop:r}=t,{layout:n}=$(),{renderLink:s}=jr();if(!r.resolvedType){console.debug("unsupported type",r.type);let i;return e[0]===Symbol.for("react.memo_cache_sentinel")?(i=L(Sr,{}),e[0]=i):i=e[0],i}let o=r.resolvedType,c=o.prettyType??"";e:switch(o.baseType??r.type){case"intrinsic":{let i;return e[1]!==c?(i=L(W,{content:c}),e[1]=c,e[2]=i):i=e[2],i}case"reference":{let i=o.typeArgs?.[0]?.importStatement||o.importStatement,a;return e[3]!==i||e[4]!==r?(a=ve("div",{className:"doc-props__type-wrapper",children:[i?L(Y,{importStatement:i}):null,L(Je,{prop:r})]}),e[3]=i,e[4]=r,e[5]=a):a=e[5],a}case"array":{if(o.docLink&&o.inheritDoc){let i;return e[6]!==s||e[7]!==c||e[8]!==o.docLink||e[9]!==o.type?(i=L("pre",{className:"qui-docs-code font-code-demo fit",children:L(s,{href:o.docLink,children:c||o.type})}),e[6]=s,e[7]=c,e[8]=o.docLink,e[9]=o.type,e[10]=i):i=e[10],i}break e}case"reflection":{let i;return e[11]!==r?(i=L(Qe,{prop:r}),e[11]=r,e[12]=i):i=e[12],i}case"union":if(n==="table"){let i;return e[13]!==c||e[14]!==o.importStatement?(i=ve("div",{className:"doc-props__type-wrapper",children:[o.importStatement?L(Y,{importStatement:o.importStatement}):null,L(wr,{className:"prop-type__union qui-docs-code fit",code:c,disableCopy:!0,language:"tsx"})]}),e[13]=c,e[14]=o.importStatement,e[15]=i):i=e[15],i}else if(o.type){let i;if(e[16]!==o.type){let a=o.type.split("|");i=L("pre",{className:"qui-docs-code font-code-demo doc-props__resolved-type",children:a.map((m,d)=>ve("span",{children:[m,d<a.length-1?"|":""]},m))}),e[16]=o.type,e[17]=i}else i=e[17];return i}}let p;return e[18]!==c?(p=L(W,{content:c}),e[18]=c,e[19]=p):p=e[19],p}import{jsx as N,jsxs as Z}from"react/jsx-runtime";function Ye({parameters:t}){return N("div",{className:"typedoc-props__table-wrapper",children:Z("table",{children:[N("thead",{children:Z("tr",{children:[N("th",{children:"Parameter Name"}),N("th",{children:"Parameter Type"}),N("th",{children:"Default"})]})}),N("tbody",{children:t.map(e=>{let r=e.name;return Z("tr",{children:[Z("td",{className:"doc-props-table__name-cell",children:[N("span",{className:"doc-props-table__row-anchor",id:r,suppressHydrationWarning:!0}),Z("div",{className:"doc-props-item__description",children:[N("div",{className:"doc-props-item__border",children:N("div",{className:"doc-props-item__name",children:N("div",{className:"doc-props-item__label",children:e.name})})}),N("div",{className:"doc-props-description__root doc-props-table",children:N(T,{summary:e.summary??[]})})]})]}),N("td",{children:N(W,{content:e.type})})]},r)})})]})})}import{c as $r}from"react/compiler-runtime";import{Fragment as tt,jsx as H,jsxs as rt}from"react/jsx-runtime";import{CodeHighlight as Mr}from"@qualcomm-ui/react-mdx/code-highlight";import{createContext as Ar,useContext as Rr}from"react";var Ze=Ar(null),Ls=Ze.Provider,Er={propsLayout:"table",setPropsLayout:t=>{}};function me(t){let{strict:e}=t===void 0?{}:t,r=Rr(Ze);if(!r&&e)throw new Error("PropsLayout components must be wrapped in a <PropsLayoutProvider>");return r??Er}import{jsx as Fr}from"react/jsx-runtime";import{CodeHighlight as Ir}from"@qualcomm-ui/react-mdx/code-highlight";function et({resolvedType:t}){return Fr(Ir,{code:t.prettyType||"",disableCopy:!0,language:"tsx"})}function ot(t){let e=$r(6),{resolvedType:r}=t,{propsLayout:n}=me(),s,o;if(e[0]!==n||e[1]!==r){o=Symbol.for("react.early_return_sentinel");e:{let c=r.parameters||[];if(!c.length){let p;e[4]!==r.prettyType?(p=r.prettyType?H("div",{className:"doc-props__symbol-wrapper",children:H(Mr,{code:r.prettyType,disableCopy:!0,language:"tsx"})}):null,e[4]=r.prettyType,e[5]=p):p=e[5],o=p;break e}s=rt("div",{className:"doc-props__root",children:[n==="table"?rt(tt,{children:[H("div",{className:"docs-table__wrapper",children:H(Ye,{parameters:c})}),H("div",{className:"docs-list-wrapper"})]}):H(tt,{}),H("h5",{className:"mdx",children:"Full Signature:"}),H(et,{resolvedType:r})]})}e[0]=n,e[1]=r,e[2]=s,e[3]=o}else s=e[2],o=e[3];return o!==Symbol.for("react.early_return_sentinel")?o:s}import{jsx as ro}from"react/jsx-runtime";import{jsx as fe,jsxs as dt}from"react/jsx-runtime";import{ChevronRight as Qr}from"lucide-react";import{Collapsible as De}from"@qualcomm-ui/react/collapsible";import{Icon as Yr}from"@qualcomm-ui/react/icon";import{Fragment as Vr,jsx as P,jsxs as ke}from"react/jsx-runtime";import{useEffect as lt,useMemo as ue,useState as at}from"react";import{ExternalLink as zr}from"lucide-react";import{InlineNotification as Or}from"@qualcomm-ui/react/inline-notification";import{Link as Xr}from"@qualcomm-ui/react/link";import{CodeHighlight as Jr}from"@qualcomm-ui/react-mdx/code-highlight";import{ensureArray as Gr}from"@qualcomm-ui/utils/array";import{mergeProps as Kr}from"@qualcomm-ui/utils/merge-props";import{jsx as nt,jsxs as Hr}from"react/jsx-runtime";function st({comment:t}){let e=t?.summary||[],r=t?.blockTags||[];return!e.length&&!r.length?null:Hr("div",{className:"doc-props-description__root doc-props__top-level-jsdoc-comment",children:[e.length?nt(T,{summary:e}):null,r.length?nt(re,{tags:r}):null]})}function de(t){return t.resolvedType.required}function Ce(t,e){return t.sort((r,n)=>{if(e){if(de(r)&&!de(n))return-1;if(de(n)&&!de(r))return 1}let s=r.name,o=n.name;return s.localeCompare(o)})}import{ensureArray as Wr}from"@qualcomm-ui/utils/array";function be(t){let{angularConfig:e={},name:r,pageProps:n,partial:s,propFilter:o,propTransformer:c,sortRequiredPropsFirst:p,unionWithPick:i}=t,{mergeInputAndOutput:a=!0,output:m,publicMethods:d}=e,u=i?Object.keys(i).reduce((R,v)=>{let C=i[v],E=be({angularConfig:{},name:v,omit:[],omitFrom:void 0,pageProps:n,partial:s,pick:C,propFilter:o,sortRequiredPropsFirst:p,unionWithPick:void 0});return R.push(...E),R},[]):[];if(!n)return[];let h=Wr(r),y=new Map;for(let R of h){let v=n[R];if(!v)continue;let C=m?v.output??[]:d?v.publicMethods??[]:v.input??v.props??[];for(let E of C)y.set(E.name,E)}let k=Array.from(y.values()),l=p&&!s,g=Ce([...it(k,t),...u],l);if(o&&(g=g.filter(o)),c&&(g=g.map(c)),!a)return g;let x=new Map;for(let R of h){let v=n[R];if(v)for(let C of v.output??[])x.set(C.name,C)}let q=Array.from(x.values()),A=Ce(it(q,t),l);return[...g,...A]}function ct(t,e){for(let r of t)if(r.endsWith("Props")){let n=r.substring(0,r.length-5),s=e[n]?.comment;if(s)return s}else return e[r]?.comment}function it(t,e){let{omit:r,omitFrom:n,pageProps:s,pick:o}=e,c=n?s?.[n]:void 0,p=[...t];if(r){let i=new Set(r??[]);i.size&&(p=p.filter(a=>!i.has(a.name)))}if(o){let i=new Set(o??[]);i.size&&(p=p.filter(a=>i.has(a.name)))}if(c){let i=[c.props,c.input,c.output,c.publicMethods].filter(m=>!!m).flat(),a=new Set((i?.map(m=>m.name)??[]).filter(Boolean));a.size&&(p=p.filter(m=>!a.has(m.name)))}return p}import{c as qr}from"react/compiler-runtime";import{jsx as S,jsxs as ee}from"react/jsx-runtime";function Ne(t){let e=qr(11),{changelogPathname:r,props:n,suppressIds:s}=t,{columnNames:o,hideDefaultColumn:c}=$();if(!n.length)return null;let p;if(e[0]!==r||e[1]!==o||e[2]!==c||e[3]!==s||e[4]!==n){let i;e[6]!==r||e[7]!==o||e[8]!==c||e[9]!==s?(i=a=>{let m=a.id,d=typeof a.defaultValue<"u";return ee("div",{className:"doc-props-list-item__root",suppressHydrationWarning:!0,children:[S("span",{className:"doc-props-table__row-anchor",id:s?void 0:m,suppressHydrationWarning:!0}),S("div",{className:"doc-props-list-item__name-wrapper",suppressHydrationWarning:!0,children:S(le,{changelogPathname:r,id:m,prop:a})}),ee("div",{className:"doc-props-columns",children:[ee("div",{className:"doc-props__content",children:[S("div",{className:"doc-props__title",children:o.type}),S(ae,{prop:a})]}),d&&c?ee("div",{className:"doc-props__content",children:[S("div",{className:"doc-props__title",children:o.defaultValue||"Default"}),S(te,{prop:a})]}):null,a.comment?ee("div",{className:"doc-props__content",children:[S("div",{className:"doc-props__title",children:"Description"}),S(ie,{prop:a,children:ne(a)?S(oe,{prop:a}):null})]}):null]})]},`${m}-${s}`)},e[6]=r,e[7]=o,e[8]=c,e[9]=s,e[10]=i):i=e[10],p=S("div",{className:"doc-props-list__root",suppressHydrationWarning:!0,children:n.map(i)}),e[0]=r,e[1]=o,e[2]=c,e[3]=s,e[4]=n,e[5]=p}else p=e[5];return p}import{c as Ur}from"react/compiler-runtime";import{jsx as _,jsxs as O}from"react/jsx-runtime";import{Fragment as Br}from"react";function pt(t){let e=Ur(14),{changelogPathname:r,props:n,suppressIds:s}=t,{columnNames:o,hideDefaultColumn:c}=$(),p=c?2:3;if(!n.length)return null;let i;if(e[0]!==r||e[1]!==o.defaultValue||e[2]!==o.name||e[3]!==o.type||e[4]!==p||e[5]!==c||e[6]!==s||e[7]!==n){let a;e[9]!==r||e[10]!==p||e[11]!==c||e[12]!==s?(a=m=>{let d=m.id,u=ne(m);return O(Br,{children:[O("tr",{suppressHydrationWarning:!0,children:[O("td",{className:"doc-props-table__name-cell",suppressHydrationWarning:!0,children:[_("span",{className:"doc-props-table__row-anchor",id:s?void 0:d,suppressHydrationWarning:!0}),O("div",{className:"doc-props-item__description",children:[_("div",{className:"doc-props-item__border",children:_(le,{changelogPathname:r,id:d,prop:m})}),_(ie,{className:"doc-props-table__description",prop:m})]})]}),_("td",{children:_(ae,{prop:m})}),c?null:_("td",{children:_(te,{prop:m})})]}),u?_("tr",{className:"doc-props-table__details-row",children:_("td",{colSpan:p,children:_(oe,{prop:m})})}):null]},`${d}-${s}`)},e[9]=r,e[10]=p,e[11]=c,e[12]=s,e[13]=a):a=e[13],i=_("div",{className:"typedoc-props__table-wrapper",suppressHydrationWarning:!0,children:O("table",{children:[_("thead",{children:O("tr",{children:[_("th",{children:o.name}),_("th",{children:o.type}),c?null:_("th",{children:o.defaultValue||"Default"})]})}),_("tbody",{children:n.map(a)})]})}),e[0]=r,e[1]=o.defaultValue,e[2]=o.name,e[3]=o.type,e[4]=p,e[5]=c,e[6]=s,e[7]=n,e[8]=i}else i=e[8];return i}function mt({angularConfig:t,changelogPathname:e,columnNames:r,hideDefaultColumn:n=!1,linkifyPrimaryColumn:s=!0,name:o,omit:c,omitFrom:p,partial:i,pick:a,propFilter:m,propTransformer:d,showComponentJsdoc:u=!0,sortRequiredPropsFirst:h=!0,unionWithPick:y,...k}){let l=z(),{propsLayout:g}=me(),[x,q]=at(!1);lt(()=>{q(!0)},[]);let[A,R]=at(()=>typeof window<"u"&&window.matchMedia("(min-width: 950px)").matches);lt(()=>{let w=window.matchMedia("(min-width: 950px)"),X=J=>R(J.matches);return w.addEventListener("change",X),R(w.matches),()=>w.removeEventListener("change",X)},[]);let v=Gr(o),{firstValidPropTypes:C,missingNames:E}=ue(()=>{let w=[],X=[],J;for(let ye of v){let we=l[ye];we?(w.push(ye),J||(J=we)):X.push(ye)}return{existingNames:w,firstValidPropTypes:J,missingNames:X}},[v,l]),U=ue(()=>be({angularConfig:t,name:o,omit:c,omitFrom:p,pageProps:l,partial:i,pick:a,propFilter:m,propTransformer:d,sortRequiredPropsFirst:h,unionWithPick:y}),[t,o,c,p,i,a,l,m,d,h,y]),Le=ue(()=>[t?.output,t?.publicMethods,n].some(w=>!!w)||U.every(w=>!w.defaultValue),[t?.output,t?.publicMethods,n,U]),he=ue(()=>({columnNames:r??{defaultValue:"Default",description:"Description",name:"Prop",type:"Type"},disableRequired:i??!1,hideDefaultColumn:Le,layout:g,linkifyPrimaryColumn:s}),[r,Le,s,i,g]);if(E.length)return P(Or,{description:P(Xr,{endIcon:zr,href:"https://docs.qui.qualcomm.com/guide/typedoc#type-detection",rel:"noreferrer",size:"md",target:"_blank",children:"Learn more"}),emphasis:"danger",label:ke("div",{children:[P("span",{children:E.length===1?"Entity not found: ":"Some entities could not be found: "}),P("code",{className:"qui-docs-code",children:E.join(", ")})]}),orientation:"vertical",style:{marginTop:24}});let Se=u&&ct(v,l);if(!U.length){if(C?.resolvedType?.type==="signature")return P(ce,{value:he,children:P(ot,{comment:C.comment,name:C.name,resolvedType:C.resolvedType})});if(C?.resolvedType?.prettyType&&C?.resolvedType?.type!=="any")return P(ce,{value:he,children:P("div",{className:"doc-props__symbol-wrapper",children:P(Jr,{code:C.resolvedType.prettyType,disableCopy:!0,language:"tsx"})})});if(!Se)return null}return P(ce,{value:he,children:ke("div",{...Kr({className:"doc-props__root"},k),suppressHydrationWarning:!0,children:[P(st,{comment:Se||null}),g==="table"?ke(Vr,{children:[P("div",{className:"docs-table__wrapper",suppressHydrationWarning:!0,children:P(pt,{changelogPathname:e,props:U,suppressIds:x&&!A})}),P("div",{className:"docs-list-wrapper",children:P(Ne,{changelogPathname:e,props:U,suppressIds:!x||A})})]}):P(Ne,{changelogPathname:e,props:U})]})})}var Zr={description:"Description",name:"Attribute / Property",type:"Value"},eo=new Set(["className","hidden","style","tabIndex"]),to=t=>t.name.startsWith("data-")||eo.has(t.name);function ut(t){return dt(De.Root,{className:"mdx-spoiler__root",children:[dt(De.Trigger,{className:"mdx-spoiler__trigger",children:["Attributes",fe(Yr,{className:"mdx-spoiler__indicator",icon:Qr})]}),fe(De.Content,{className:"mdx-spoiler__content",children:fe("div",{className:"mdx-spoiler__content-body",children:fe(mt,{columnNames:Zr,hideDefaultColumn:!0,linkifyPrimaryColumn:!1,partial:!0,propFilter:to,showComponentJsdoc:!1,sortRequiredPropsFirst:!1,...t})})})]})}function oo(t){return{...t,name:t.name==="className"?"class":t.name}}function Wi(t){return ro(ut,{propTransformer:oo,...t})}export{B as DocsExternalLink,te as PropDefault,ie as PropDescription,re as PropDescriptionBlockTags,oe as PropDescriptionExtraDetails,se as PropDescriptionFunctionArgs,Ae as PropDescriptionInlineTag,Ie as PropDescriptionOptionTags,He as PropDescriptionSeeTags,T as PropDescriptionSummary,le as PropName,ae as PropType,vn as PropsContextProvider,Ls as PropsLayoutProvider,Je as Reference,Qe as Reflection,W as SimpleType,Ge as TsIcon,Wi as TypeDocAngularAttributes,ut as TypeDocAttributes,ce as TypeDocContextProvider,Ye as TypeDocParametersTable,mt as TypeDocProps,ot as TypeDocReflection,Y as TypeInfoPopup,Ne as TypedocPropsList,pt as TypedocPropsTable,ne as getHasExtraDetails,z as usePropsContext,me as usePropsLayoutContext,$ as useTypeDocContext};
10
10
  //# sourceMappingURL=index.js.map