@teambit/ui 1.0.1221 → 1.0.1223

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,31 +1,31 @@
1
1
  {
2
2
  "files": {
3
- "static/js/scope.65c53a88.js": "/static/js/scope.65c53a88.js",
3
+ "static/js/164.f7a67968.js": "/static/js/164.f7a67968.js",
4
4
  "static/js/821.05a0a194.js": "/static/js/821.05a0a194.js",
5
- "static/js/runtime-scope.7591b1f9.js": "/static/js/runtime-scope.7591b1f9.js",
6
5
  "workspace.html": "/workspace.html",
7
- "static/js/528.de9a4284.js": "/static/js/528.de9a4284.js",
6
+ "static/js/runtime-scope.7591b1f9.js": "/static/js/runtime-scope.7591b1f9.js",
8
7
  "static/js/runtime-workspace.8653589e.js": "/static/js/runtime-workspace.8653589e.js",
9
8
  "static/js/workspace.7a03bd5d.js": "/static/js/workspace.7a03bd5d.js",
10
9
  "scope.html": "/scope.html",
11
10
  "service-worker.js": "/service-worker.js",
12
11
  "workbox-29b0ed90.js": "/workbox-29b0ed90.js",
12
+ "static/js/scope.65c53a88.js": "/static/js/scope.65c53a88.js",
13
13
  "static/css/528.2465e446.css": "/static/css/528.2465e446.css",
14
- "static/js/164.f7a67968.js": "/static/js/164.f7a67968.js"
14
+ "static/js/528.cc92379a.js": "/static/js/528.cc92379a.js"
15
15
  },
16
16
  "entrypoints": [],
17
17
  "entrypointsByName": {
18
18
  "scope": [
19
19
  "static/js/runtime-scope.7591b1f9.js",
20
- "static/js/528.de9a4284.js",
21
20
  "static/css/528.2465e446.css",
21
+ "static/js/528.cc92379a.js",
22
22
  "static/js/164.f7a67968.js",
23
23
  "static/js/scope.65c53a88.js"
24
24
  ],
25
25
  "workspace": [
26
26
  "static/js/runtime-workspace.8653589e.js",
27
- "static/js/528.de9a4284.js",
28
27
  "static/css/528.2465e446.css",
28
+ "static/js/528.cc92379a.js",
29
29
  "static/js/821.05a0a194.js",
30
30
  "static/js/workspace.7a03bd5d.js"
31
31
  ]
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1.0"><title>bit-local-81795c73</title><script>!function(){try{var e=null,t=new URL(window.location.href).searchParams.get("theme");if(t&&(e=t),!e)try{e=sessionStorage.getItem("workspace-theme")}catch(e){}if(!e)try{e=localStorage.getItem("workspace-theme")}catch(e){}"dark"===e?(document.documentElement.dataset.theme="dark",document.documentElement.style.backgroundColor="#060414"):"light"===e&&(document.documentElement.dataset.theme="light",document.documentElement.style.backgroundColor="#fdfdff")}catch(e){}}();try{window.__REACT_DEVTOOLS_GLOBAL_HOOK__=window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__}catch{}</script><script defer src="/static/js/runtime-scope.7591b1f9.js"></script><script defer src="/static/js/528.de9a4284.js"></script><script defer src="/static/js/164.f7a67968.js"></script><script defer src="/static/js/scope.65c53a88.js"></script><link href="/static/css/528.2465e446.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1.0"><title>bit-local-ae56e59d</title><script>!function(){try{var e=null,t=new URL(window.location.href).searchParams.get("theme");if(t&&(e=t),!e)try{e=sessionStorage.getItem("workspace-theme")}catch(e){}if(!e)try{e=localStorage.getItem("workspace-theme")}catch(e){}"dark"===e?(document.documentElement.dataset.theme="dark",document.documentElement.style.backgroundColor="#060414"):"light"===e&&(document.documentElement.dataset.theme="light",document.documentElement.style.backgroundColor="#fdfdff")}catch(e){}}();try{window.__REACT_DEVTOOLS_GLOBAL_HOOK__=window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__}catch{}</script><script defer src="/static/js/runtime-scope.7591b1f9.js"></script><script defer src="/static/js/528.cc92379a.js"></script><script defer src="/static/js/164.f7a67968.js"></script><script defer src="/static/js/scope.65c53a88.js"></script><link href="/static/css/528.2465e446.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
@@ -1 +1 @@
1
- if(!self.define){let s,e={};const i=(i,r)=>(i=new URL(i+".js",r).href,e[i]||new Promise(e=>{if("document"in self){const s=document.createElement("script");s.src=i,s.onload=e,document.head.appendChild(s)}else s=i,importScripts(i),e()}).then(()=>{let s=e[i];if(!s)throw new Error(`Module ${i} didn’t register its module`);return s}));self.define=(r,t)=>{const l=s||("document"in self?document.currentScript.src:"")||location.href;if(e[l])return;let n={};const o=s=>i(s,l),c={module:{uri:l},exports:n,require:o};e[l]=Promise.all(r.map(s=>c[s]||o(s))).then(s=>(t(...s),n))}}define(["./workbox-29b0ed90"],function(s){"use strict";self.addEventListener("message",s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()}),s.clientsClaim(),s.precacheAndRoute([{url:"/scope.html",revision:"43d91eef17de6c71bf85e560038c7715"},{url:"/static/css/528.2465e446.css",revision:null},{url:"/static/js/164.f7a67968.js",revision:null},{url:"/static/js/821.05a0a194.js",revision:null},{url:"/static/js/runtime-scope.7591b1f9.js",revision:null},{url:"/static/js/runtime-workspace.8653589e.js",revision:null},{url:"/static/js/scope.65c53a88.js",revision:null},{url:"/static/js/workspace.7a03bd5d.js",revision:null},{url:"/workspace.html",revision:"6f11b41ffccb7cadf291a1fbf7397093"}],{})});
1
+ if(!self.define){let s,e={};const i=(i,r)=>(i=new URL(i+".js",r).href,e[i]||new Promise(e=>{if("document"in self){const s=document.createElement("script");s.src=i,s.onload=e,document.head.appendChild(s)}else s=i,importScripts(i),e()}).then(()=>{let s=e[i];if(!s)throw new Error(`Module ${i} didn’t register its module`);return s}));self.define=(r,t)=>{const l=s||("document"in self?document.currentScript.src:"")||location.href;if(e[l])return;let n={};const o=s=>i(s,l),c={module:{uri:l},exports:n,require:o};e[l]=Promise.all(r.map(s=>c[s]||o(s))).then(s=>(t(...s),n))}}define(["./workbox-29b0ed90"],function(s){"use strict";self.addEventListener("message",s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()}),s.clientsClaim(),s.precacheAndRoute([{url:"/scope.html",revision:"8c3298c403124944f8aa0f529eb0cbd7"},{url:"/static/css/528.2465e446.css",revision:null},{url:"/static/js/164.f7a67968.js",revision:null},{url:"/static/js/821.05a0a194.js",revision:null},{url:"/static/js/runtime-scope.7591b1f9.js",revision:null},{url:"/static/js/runtime-workspace.8653589e.js",revision:null},{url:"/static/js/scope.65c53a88.js",revision:null},{url:"/static/js/workspace.7a03bd5d.js",revision:null},{url:"/workspace.html",revision:"2455caadde085962d068c84073c63325"}],{})});
@@ -1010,7 +1010,7 @@ ${r}`}).join("\n\n")+"\n\n"}toFullSignature(t={showDocs:!0}){let n=`API Schema o
1010
1010
 
1011
1011
  `;let i=o.map(n=>n.toFullSignature(t)).join("\n\n");a+=`${i}
1012
1012
 
1013
- `}return a.trim()}getReadableSectionName(t){return({ModuleSchema:"Namespaces",ClassSchema:"Classes",InterfaceSchema:"Interfaces",FunctionLikeSchema:"Functions",VariableLikeSchema:"Variables",TypeSchema:"Types",EnumSchema:"Enums",TypeRefSchema:"Type References",UnresolvedSchema:"Unresolved",ReactSchema:"React Components"})[t]||t}listSignatures(){return this.module.exports.map(t=>t.signature)}toObject(){return{...super.toObject(),module:this.module.toObject(),internals:this.internals.map(t=>t.toObject()),componentId:this.componentId.toObject(),taggedModuleExports:this.taggedModuleExports.map(t=>t.toObject())}}static fromObject(t){return new APISchema(t.location,i().ModuleSchema.fromObject(t.module),(t.internals||[]).map(t=>i().ModuleSchema.fromObject(t)),o().ComponentID.fromObject(t.componentId),(t.taggedModuleExports||[]).map(t=>u().SchemaRegistry.fromObject(t)))}static empty(t){return new APISchema({filePath:"",line:0,character:0},new(i()).ModuleSchema({filePath:"",line:0,character:0},[],[]),[],t)}};n.APISchema=APISchema},52593(t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Export=void 0;let Export=class Export{constructor(t,n){this.identifier=t,this.staticProperties=n}toObject(){return{constructorName:this.constructor.name,identifier:this.identifier}}};n.Export=Export},9003(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a={Schemas:!0,SchemaNode:!0,ISchemaNode:!0,APISchema:!0,schemaDisplayName:!0,typeStr:!0,typesAreSemanticallyEqual:!0,deepEqualNoLocation:!0,diffDoc:!0,Export:!0,StaticProperties:!0,TagName:!0,SchemaRegistry:!0,SchemaNodeConstructor:!0,Modifier:!0};Object.defineProperty(n,"APISchema",{enumerable:!0,get:function(){return s().APISchema}}),Object.defineProperty(n,"Export",{enumerable:!0,get:function(){return u().Export}}),Object.defineProperty(n,"ISchemaNode",{enumerable:!0,get:function(){return i().ISchemaNode}}),Object.defineProperty(n,"Modifier",{enumerable:!0,get:function(){return m().Modifier}}),Object.defineProperty(n,"SchemaNode",{enumerable:!0,get:function(){return i().SchemaNode}}),Object.defineProperty(n,"SchemaNodeConstructor",{enumerable:!0,get:function(){return p().SchemaNodeConstructor}}),Object.defineProperty(n,"SchemaRegistry",{enumerable:!0,get:function(){return d().SchemaRegistry}}),n.Schemas=void 0,Object.defineProperty(n,"StaticProperties",{enumerable:!0,get:function(){return u().StaticProperties}}),Object.defineProperty(n,"TagName",{enumerable:!0,get:function(){return c().TagName}}),Object.defineProperty(n,"deepEqualNoLocation",{enumerable:!0,get:function(){return l().deepEqualNoLocation}}),Object.defineProperty(n,"diffDoc",{enumerable:!0,get:function(){return l().diffDoc}}),Object.defineProperty(n,"schemaDisplayName",{enumerable:!0,get:function(){return l().schemaDisplayName}}),Object.defineProperty(n,"typeStr",{enumerable:!0,get:function(){return l().typeStr}}),Object.defineProperty(n,"typesAreSemanticallyEqual",{enumerable:!0,get:function(){return l().typesAreSemanticallyEqual}});var o=f(r(56480));function i(){let t=r(37185);return i=function(){return t},t}function s(){let t=r(35447);return s=function(){return t},t}function l(){let t=r(34226);return l=function(){return t},t}function u(){let t=r(52593);return u=function(){return t},t}function c(){let t=r(86902);return c=function(){return t},t}function d(){let t=r(81170);return d=function(){return t},t}function p(){let t=r(67328);return p=function(){return t},t}function m(){let t=r(60268);return m=function(){return t},t}function f(t,n){if("function"==typeof WeakMap)var r=new WeakMap,a=new WeakMap;return(f=function(t,n){if(!n&&t&&t.__esModule)return t;var o,i,s={__proto__:null,default:t};if(null===t||"object"!=typeof t&&"function"!=typeof t)return s;if(o=n?a:r){if(o.has(t))return o.get(t);o.set(t,s)}for(let n in t)"default"!==n&&({}).hasOwnProperty.call(t,n)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(t,n))&&(i.get||i.set)?o(s,n,i):s[n]=t[n]);return s})(t,n)}n.Schemas=o,Object.keys(o).forEach(function(t){"default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(a,t)||t in n&&n[t]===o[t]||Object.defineProperty(n,t,{enumerable:!0,get:function(){return o[t]}})})},30844(t,n,r){"use strict";function a(){let t=r(34226);return a=function(){return t},t}Object.defineProperty(n,"__esModule",{value:!0}),n.diffMembers=function(t,n,r,s){let l=i(t.members||[]),u=i(n.members||[]);return[...function(t,n){let r=[];for(let[o,i]of t){if(n.has(o))continue;let t=(0,a().schemaDisplayName)(i.__schema||"",!0);r.push({changeKind:"member-added",description:`${t} '${o}' added${i.isOptional?" (optional)":""}: ${i.signature||o}`,context:{memberName:o,memberKind:t,isOptional:!!i.isOptional,signature:i.signature||o},to:i.signature||o})}return r}(u,l),...function(t,n){let r=[];for(let[o,i]of t){if(n.has(o))continue;let t=(0,a().schemaDisplayName)(i.__schema||"",!0),s=!(i.modifiers||[]).includes("private");r.push({changeKind:"member-removed",description:`${t} '${o}' removed${s?" \u2014 consumers using it will break":" (was private)"}`,context:{memberName:o,memberKind:t,isPublic:s,signature:i.signature||o},from:i.signature||o})}return r}(l,u),...function(t,n,r,i){let s=[];for(let[l,u]of t){let t=n.get(l);if(!t||(0,a().deepEqualNoLocation)({...u,location:void 0},{...t,location:void 0}))continue;let c=(0,a().schemaDisplayName)(u.__schema||"",!0);if("FunctionLikeSchema"===u.__schema&&"FunctionLikeSchema"===t.__schema){let n=r.members?.find(t=>t.name===l),a=i.members?.find(t=>t.name===l);if(n&&a){let r=t.signature||u.signature;for(let t of n.diff(a))s.push({...t,description:`${c} '${l}': ${t.description}`,signature:r});continue}}let d=function(t,n){let r={...t,location:void 0,doc:void 0},o={...n,location:void 0,doc:void 0};return(0,a().deepEqualNoLocation)(r,o)?"member-documentation-changed":t.signature&&n.signature&&t.signature!==n.signature?"member-signature-changed":"member-definition-changed"}(u,t);s.push({changeKind:d,description:`${c} '${l}' ${o[d]}`,context:{memberName:l,memberKind:c},from:u.signature||l,to:t.signature||l})}return s}(l,u,r,s),...function(t,n){let r=[];if(!(0,a().deepEqualNoLocation)(t.typeParams,n.typeParams)){let a=(t.typeParams||[]).join(", "),o=(n.typeParams||[]).join(", ");a!==o&&r.push({changeKind:"type-parameters-changed",description:`type parameters changed: <${a||"none"}> \u{2192} <${o||"none"}>`,context:{from:a,to:o},from:a,to:o})}if(!(0,a().deepEqualNoLocation)(t.extendsNodes,n.extendsNodes)){let o=(t.extendsNodes||[]).map(t=>t.name||(0,a().typeStr)(t)).join(", ")||"none",i=(n.extendsNodes||[]).map(t=>t.name||(0,a().typeStr)(t)).join(", ")||"none";o!==i&&r.push({changeKind:"extends-changed",description:`extends changed: ${o} \u{2192} ${i}`,context:{from:o,to:i},from:o,to:i})}if((t.implementNodes||n.implementNodes)&&!(0,a().deepEqualNoLocation)(t.implementNodes,n.implementNodes)){let o=(t.implementNodes||[]).map(t=>t.name||(0,a().typeStr)(t)).join(", ")||"none",i=(n.implementNodes||[]).map(t=>t.name||(0,a().typeStr)(t)).join(", ")||"none";o!==i&&r.push({changeKind:"implements-changed",description:`implements changed: ${o} \u{2192} ${i}`,context:{from:o,to:i},from:o,to:i})}return r}(t,n),...(0,a().diffDoc)(t.doc,n.doc)]};let o={"member-documentation-changed":"documentation changed","member-signature-changed":"signature changed","member-definition-changed":"internal definition changed"};function i(t){return new Map(t.map(t=>[t.name||t.signature||"",t]))}},34226(t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.deepEqualNoLocation=l,n.diffDoc=function(t,n){if(l(t,n))return[];if(!t&&n)return[{changeKind:"documentation-added",description:"documentation added",context:{},to:u(n)||"(doc added)"}];if(t&&!n)return[{changeKind:"documentation-removed",description:"documentation removed",context:{},from:u(t)||"(doc removed)"}];let r=[];return t?.comment!==n?.comment&&r.push("description"),l((t?.tags||[]).map(t=>t.tagName||t.name).sort(),(n?.tags||[]).map(t=>t.tagName||t.name).sort())||r.push("tags"),0===r.length&&r.push("content"),[{changeKind:"documentation-changed",description:`documentation ${r.join(" and ")} changed`,context:{},from:u(t),to:u(n)}]},n.schemaDisplayName=a,n.typeStr=s,n.typesAreSemanticallyEqual=function t(n,r){if(!n&&!r)return!0;if(!n||!r)return!1;if("TypeRefSchema"===n.__schema&&"TypeRefSchema"===r.__schema){if(n.name!==r.name)return!1;let a=n.typeArgs||[],o=r.typeArgs||[];return a.length===o.length&&a.every((n,r)=>t(n,o[r]))}return l(n,r)};let r={FunctionLikeSchema:"Function",ClassSchema:"Class",InterfaceSchema:"Interface",TypeSchema:"Type Alias",EnumSchema:"Enum",VariableLikeSchema:"Variable",ModuleSchema:"Namespace",ReactSchema:"React Component",TypeRefSchema:"Type Reference",TypeUnionSchema:"Union Type",TypeIntersectionSchema:"Intersection Type",TypeLiteralSchema:"Type Literal",TypeArraySchema:"Array Type",TupleTypeSchema:"Tuple Type",ParameterSchema:"Parameter",ExportSchema:"Export",DecoratorSchema:"Decorator",ConstructorSchema:"Constructor",GetAccessorSchema:"Getter",SetAccessorSchema:"Setter",IndexSignatureSchema:"Index Signature",KeywordTypeSchema:"Keyword Type",LiteralTypeSchema:"Literal Type",InferenceTypeSchema:"Inferred Type"};function a(t,n=!0){let i=r[t];if(i)return n?i:o(i);let s=t.replace(/Schema$/,"").replace(/([A-Z])/g," $1").trim();return n?s:o(s)}function o(t){return t.endsWith("s")||t.endsWith("x")||t.endsWith("z")?`${t}es`:t.endsWith("y")&&!/[aeiou]y$/i.test(t)?`${t.slice(0,-1)}ies`:`${t}s`}let i={TypeUnionSchema:t=>(t.types||[]).map(t=>s(t)).join(" | ")||"unknown",TypeIntersectionSchema:t=>(t.types||[]).map(t=>s(t)).join(" & ")||"unknown",TypeArraySchema:t=>`${s(t.type)}[]`,TupleTypeSchema:t=>`[${(t.members||[]).map(t=>s(t)).join(", ")}]`,InferenceTypeSchema:t=>t.type||t.name||"inferred",KeywordTypeSchema:t=>t.name||"keyword",LiteralTypeSchema:t=>void 0!==t.value?String(t.value):t.name||"literal",TypeRefSchema:t=>{let n=t.name||"Ref";return t.typeArgs?.length?`${n}<${t.typeArgs.map(t=>s(t)).join(", ")}>`:n},TypeLiteralSchema:t=>{let n=(t.members||[]).map(t=>t.signature||t.name||"").filter(Boolean);return n.length<=3?`{ ${n.join("; ")} }`:`{ ${n.slice(0,3).join("; ")}; ... }`},ParenthesizedTypeSchema:t=>`(${s(t.type)})`};function s(t){var n;if(!t)return"unknown";let r=i[t.__schema];return r?r(t):t.signature||t.name||((n=t).type&&"string"==typeof n.type?n.type:n.type&&"object"==typeof n.type?s(n.type):a(n.__schema||"unknown",!0))}function l(t,n){if(t===n)return!0;if(null==t||null==n||typeof t!==typeof n)return!1;if(Array.isArray(t))return!!Array.isArray(n)&&t.length===n.length&&t.every((t,r)=>l(t,n[r]));if("object"==typeof t){let r=Object.keys(t).filter(t=>"location"!==t),a=Object.keys(n).filter(t=>"location"!==t);return r.length===a.length&&r.every(r=>l(t[r],n[r]))}return!1}function u(t){if(!t)return;let n=[];for(let r of(t.comment&&n.push(t.comment),t.tags||[])){let t=r.tagName||r.name;t&&n.push(`@${t}${r.comment?` ${r.comment}`:""}`)}return n.join("\n")||t.raw||void 0}},67328(){},37185(t,n,r){"use strict";function a(){let t=r(46746);return a=function(){return t},t}function o(){var t;let n=(t=r(11929))&&t.__esModule?t:{default:t};return o=function(){return n},n}function i(){let t=r(34226);return i=function(){return t},t}Object.defineProperty(n,"__esModule",{value:!0}),n.SchemaNode=void 0;let SchemaNode=class SchemaNode{__schema=this.constructor.name;displaySchemaName=(0,o().default)(this.constructor.name.replace(/Schema$/,"").replace(/([A-Z])/g," $1").trim());static fromObject(t){throw Error("Method 'fromObject' not implemented in subclass.")}toObject(){return(0,a().pickBy)({__schema:this.__schema,location:this.location,doc:this.doc?this.doc.toObject():void 0,signature:this.signature,name:this.name},t=>void 0!==t)}getNodes(){return[this]}getAllNodesRecursively(t=new Set){return t.has(this)?[]:(t.add(this),[this,...this.getNodes().flatMap(n=>n.getAllNodesRecursively(t))])}findNode(t,n=new Set){if(t(this))return this;if(!n.has(this))for(let r of(n.add(this),this.getNodes())){let a=r.findNode(t,n);if(a)return a}}diff(t){let n=[],r=this.toObject(),a=t.toObject();n.push(...(0,i().diffDoc)(r.doc,a.doc));let o={...r,doc:void 0,location:void 0},s={...a,doc:void 0,location:void 0};return(0,i().deepEqualNoLocation)(o,s)||r.signature&&a.signature&&r.signature!==a.signature&&n.push({changeKind:"signature-changed",description:"signature changed",context:{fromSignature:r.signature,toSignature:a.signature},from:r.signature,to:a.signature}),n}};n.SchemaNode=SchemaNode},81170(t,n,r){"use strict";function a(){let t=r(79042);return a=function(){return t},t}Object.defineProperty(n,"__esModule",{value:!0}),n.SchemaRegistry=void 0;let SchemaRegistry=class SchemaRegistry{static instance=new SchemaRegistry;_getSchemas=[];constructor(){this._schemas={}}static registerGetSchemas(t){this.instance._getSchemas.push(t)}static register(t){this.instance._schemas[t.name]||(this.instance._schemas[t.name]=t)}static schemas(){return this.instance._getSchemas.forEach(t=>{t().forEach(t=>{this.instance._schemas[t.name]||(this.instance._schemas[t.name]=t)})}),this.instance._getSchemas=[],this.instance._schemas}static fromObject(t){if(!t.__schema)throw Error('fatal: "__schema" is missing, make sure the transformer is set on SchemaNode type');let n=this.schemas()[t.__schema];return n?n.fromObject(t):a().UnknownSchemaFactory.create(t.location||{path:"",line:0,character:0},t.__schema,t)}};n.SchemaRegistry=SchemaRegistry},52938(t,n,r){"use strict";function a(){let t=r(37185);return a=function(){return t},t}function o(){let t=r(81170);return o=function(){return t},t}Object.defineProperty(n,"__esModule",{value:!0}),n.ArrayLiteralExpressionSchema=void 0;let ArrayLiteralExpressionSchema=class ArrayLiteralExpressionSchema extends a().SchemaNode{constructor(t,n){super(),this.members=t,this.location=n}toObject(){return{...super.toObject(),members:this.members.map(t=>t.toObject()),location:this.location}}static fromObject(t){return new ArrayLiteralExpressionSchema(t.members.map(t=>o().SchemaRegistry.fromObject(t)),t.location)}toString(){return`[${this.members.join(", ")}]`}toFullSignature(t){let n=this.members.map(n=>n.toFullSignature(t)).join(", ");return`[${n}]`}};n.ArrayLiteralExpressionSchema=ArrayLiteralExpressionSchema},32620(t,n,r){"use strict";function a(){var t;let n=(t=r(52404))&&t.__esModule?t:{default:t};return a=function(){return n},n}function o(){let t=r(37185);return o=function(){return t},t}function i(){let t=r(30844);return i=function(){return t},t}function s(){let t=r(33902);return s=function(){return t},t}function l(){let t=r(18920);return l=function(){return t},t}function u(){let t=r(81170);return u=function(){return t},t}Object.defineProperty(n,"__esModule",{value:!0}),n.ClassSchema=void 0;let ClassSchema=class ClassSchema extends o().SchemaNode{constructor(t,n,r,a,o,i,s,l,u){super(),this.name=t,this.location=r,this.signature=a,this.typeParams=i,this.extendsNodes=s,this.implementNodes=l,this.decorators=u,this.members=n,this.doc=o}getNodes(){return this.members}toString(t){let n=t?.color?a().default.bold.underline:t=>t,r=this.members.map(n=>`* ${n.toString(t)}`).join("\n"),o=this.decorators?.map(n=>n.toString(t)).join("\n");return`${this.decorators?`${o}
1013
+ `}return a.trim()}getReadableSectionName(t){return({ModuleSchema:"Namespaces",ClassSchema:"Classes",InterfaceSchema:"Interfaces",FunctionLikeSchema:"Functions",VariableLikeSchema:"Variables",TypeSchema:"Types",EnumSchema:"Enums",TypeRefSchema:"Type References",UnresolvedSchema:"Unresolved",ReactSchema:"React Components"})[t]||t}listSignatures(){return this.module.exports.map(t=>t.signature)}toObject(){return{...super.toObject(),module:this.module.toObject(),internals:this.internals.map(t=>t.toObject()),componentId:this.componentId.toObject(),taggedModuleExports:this.taggedModuleExports.map(t=>t.toObject())}}static fromObject(t){return new APISchema(t.location,i().ModuleSchema.fromObject(t.module),(t.internals||[]).map(t=>i().ModuleSchema.fromObject(t)),o().ComponentID.fromObject(t.componentId),(t.taggedModuleExports||[]).map(t=>u().SchemaRegistry.fromObject(t)))}static empty(t){return new APISchema({filePath:"",line:0,character:0},new(i()).ModuleSchema({filePath:"",line:0,character:0},[],[]),[],t)}};n.APISchema=APISchema},52593(t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Export=void 0;let Export=class Export{constructor(t,n){this.identifier=t,this.staticProperties=n}toObject(){return{constructorName:this.constructor.name,identifier:this.identifier}}};n.Export=Export},9003(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a={Schemas:!0,SchemaNode:!0,ISchemaNode:!0,APISchema:!0,schemaDisplayName:!0,typeStr:!0,typesAreSemanticallyEqual:!0,deepEqualNoLocation:!0,diffDoc:!0,Export:!0,StaticProperties:!0,TagName:!0,SchemaRegistry:!0,SchemaNodeConstructor:!0,Modifier:!0};Object.defineProperty(n,"APISchema",{enumerable:!0,get:function(){return s().APISchema}}),Object.defineProperty(n,"Export",{enumerable:!0,get:function(){return u().Export}}),Object.defineProperty(n,"ISchemaNode",{enumerable:!0,get:function(){return i().ISchemaNode}}),Object.defineProperty(n,"Modifier",{enumerable:!0,get:function(){return m().Modifier}}),Object.defineProperty(n,"SchemaNode",{enumerable:!0,get:function(){return i().SchemaNode}}),Object.defineProperty(n,"SchemaNodeConstructor",{enumerable:!0,get:function(){return p().SchemaNodeConstructor}}),Object.defineProperty(n,"SchemaRegistry",{enumerable:!0,get:function(){return d().SchemaRegistry}}),n.Schemas=void 0,Object.defineProperty(n,"StaticProperties",{enumerable:!0,get:function(){return u().StaticProperties}}),Object.defineProperty(n,"TagName",{enumerable:!0,get:function(){return c().TagName}}),Object.defineProperty(n,"deepEqualNoLocation",{enumerable:!0,get:function(){return l().deepEqualNoLocation}}),Object.defineProperty(n,"diffDoc",{enumerable:!0,get:function(){return l().diffDoc}}),Object.defineProperty(n,"schemaDisplayName",{enumerable:!0,get:function(){return l().schemaDisplayName}}),Object.defineProperty(n,"typeStr",{enumerable:!0,get:function(){return l().typeStr}}),Object.defineProperty(n,"typesAreSemanticallyEqual",{enumerable:!0,get:function(){return l().typesAreSemanticallyEqual}});var o=f(r(56480));function i(){let t=r(37185);return i=function(){return t},t}function s(){let t=r(35447);return s=function(){return t},t}function l(){let t=r(34226);return l=function(){return t},t}function u(){let t=r(52593);return u=function(){return t},t}function c(){let t=r(86902);return c=function(){return t},t}function d(){let t=r(81170);return d=function(){return t},t}function p(){let t=r(67328);return p=function(){return t},t}function m(){let t=r(60268);return m=function(){return t},t}function f(t,n){if("function"==typeof WeakMap)var r=new WeakMap,a=new WeakMap;return(f=function(t,n){if(!n&&t&&t.__esModule)return t;var o,i,s={__proto__:null,default:t};if(null===t||"object"!=typeof t&&"function"!=typeof t)return s;if(o=n?a:r){if(o.has(t))return o.get(t);o.set(t,s)}for(let n in t)"default"!==n&&({}).hasOwnProperty.call(t,n)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(t,n))&&(i.get||i.set)?o(s,n,i):s[n]=t[n]);return s})(t,n)}n.Schemas=o,Object.keys(o).forEach(function(t){"default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(a,t)||t in n&&n[t]===o[t]||Object.defineProperty(n,t,{enumerable:!0,get:function(){return o[t]}})})},30844(t,n,r){"use strict";function a(){let t=r(34226);return a=function(){return t},t}Object.defineProperty(n,"__esModule",{value:!0}),n.diffMembers=function(t,n,r,s){let l=i(t.members||[]),u=i(n.members||[]);return[...function(t,n){let r=[];for(let[o,i]of t){if(n.has(o))continue;let t=(0,a().schemaDisplayName)(i.__schema||"",!0);r.push({changeKind:"member-added",description:`${t} '${o}' added${i.isOptional?" (optional)":""}: ${i.signature||o}`,context:{memberName:o,memberKind:t,isOptional:!!i.isOptional,signature:i.signature||o},to:i.signature||o})}return r}(u,l),...function(t,n){let r=[];for(let[o,i]of t){if(n.has(o))continue;let t=(0,a().schemaDisplayName)(i.__schema||"",!0),s=!(i.modifiers||[]).includes("private");r.push({changeKind:"member-removed",description:`${t} '${o}' removed${s?" \u2014 consumers using it will break":" (was private)"}`,context:{memberName:o,memberKind:t,isPublic:s,signature:i.signature||o},from:i.signature||o})}return r}(l,u),...function(t,n,r,i){let s=[];for(let[l,u]of t){let t=n.get(l);if(!t||(0,a().deepEqualNoLocation)({...u,location:void 0},{...t,location:void 0}))continue;let c=(0,a().schemaDisplayName)(u.__schema||"",!0);if("FunctionLikeSchema"===u.__schema&&"FunctionLikeSchema"===t.__schema){let n=r.members?.find(t=>t.name===l),a=i.members?.find(t=>t.name===l);if(n&&a){let r=t.signature||u.signature;for(let t of n.diff(a))s.push({...t,description:`${c} '${l}': ${t.description}`,signature:r});continue}}let d=function(t,n){let r={...t,location:void 0,doc:void 0},o={...n,location:void 0,doc:void 0};return(0,a().deepEqualNoLocation)(r,o)?"member-documentation-changed":t.signature&&n.signature&&t.signature!==n.signature?"member-signature-changed":"member-definition-changed"}(u,t);s.push({changeKind:d,description:`${c} '${l}' ${o[d]}`,context:{memberName:l,memberKind:c},from:u.signature||l,to:t.signature||l})}return s}(l,u,r,s),...function(t,n){let r=[];if(!(0,a().deepEqualNoLocation)(t.typeParams,n.typeParams)){let a=(t.typeParams||[]).join(", "),o=(n.typeParams||[]).join(", ");a!==o&&r.push({changeKind:"type-parameters-changed",description:`type parameters changed: <${a||"none"}> \u{2192} <${o||"none"}>`,context:{from:a,to:o},from:a,to:o})}if(!(0,a().deepEqualNoLocation)(t.extendsNodes,n.extendsNodes)){let o=(t.extendsNodes||[]).map(t=>t.name||(0,a().typeStr)(t)).join(", ")||"none",i=(n.extendsNodes||[]).map(t=>t.name||(0,a().typeStr)(t)).join(", ")||"none";o!==i&&r.push({changeKind:"extends-changed",description:`extends changed: ${o} \u{2192} ${i}`,context:{from:o,to:i},from:o,to:i})}if((t.implementNodes||n.implementNodes)&&!(0,a().deepEqualNoLocation)(t.implementNodes,n.implementNodes)){let o=(t.implementNodes||[]).map(t=>t.name||(0,a().typeStr)(t)).join(", ")||"none",i=(n.implementNodes||[]).map(t=>t.name||(0,a().typeStr)(t)).join(", ")||"none";o!==i&&r.push({changeKind:"implements-changed",description:`implements changed: ${o} \u{2192} ${i}`,context:{from:o,to:i},from:o,to:i})}return r}(t,n),...(0,a().diffDoc)(t.doc,n.doc)]};let o={"member-documentation-changed":"documentation changed","member-signature-changed":"signature changed","member-definition-changed":"internal definition changed"};function i(t){return new Map(t.map(t=>[t.name||t.signature||"",t]))}},34226(t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.deepEqualNoLocation=l,n.diffDoc=function(t,n){if(l(t,n))return[];if(!t&&n)return[{changeKind:"documentation-added",description:"documentation added",context:{},to:u(n)||"(doc added)"}];if(t&&!n)return[{changeKind:"documentation-removed",description:"documentation removed",context:{},from:u(t)||"(doc removed)"}];let r=[];return t?.comment!==n?.comment&&r.push("description"),l((t?.tags||[]).map(t=>t.tagName||t.name).sort(),(n?.tags||[]).map(t=>t.tagName||t.name).sort())||r.push("tags"),0===r.length&&r.push("content"),[{changeKind:"documentation-changed",description:`documentation ${r.join(" and ")} changed`,context:{},from:u(t),to:u(n)}]},n.schemaDisplayName=a,n.typeStr=s,n.typesAreSemanticallyEqual=function t(n,r){if(!n&&!r)return!0;if(!n||!r)return!1;if("TypeRefSchema"===n.__schema&&"TypeRefSchema"===r.__schema){if(n.name!==r.name)return!1;let a=n.typeArgs||[],o=r.typeArgs||[];return a.length===o.length&&a.every((n,r)=>t(n,o[r]))}return l(n,r)};let r={FunctionLikeSchema:"Function",ClassSchema:"Class",InterfaceSchema:"Interface",TypeSchema:"Type Alias",EnumSchema:"Enum",VariableLikeSchema:"Variable",ModuleSchema:"Namespace",ReactSchema:"React Component",TypeRefSchema:"Type Reference",TypeUnionSchema:"Union Type",TypeIntersectionSchema:"Intersection Type",TypeLiteralSchema:"Type Literal",TypeArraySchema:"Array Type",TupleTypeSchema:"Tuple Type",ParameterSchema:"Parameter",ExportSchema:"Export",DecoratorSchema:"Decorator",ConstructorSchema:"Constructor",GetAccessorSchema:"Getter",SetAccessorSchema:"Setter",IndexSignatureSchema:"Index Signature",KeywordTypeSchema:"Keyword Type",LiteralTypeSchema:"Literal Type",InferenceTypeSchema:"Inferred Type"};function a(t,n=!0){let i=r[t];if(i)return n?i:o(i);let s=t.replace(/Schema$/,"").replace(/([A-Z])/g," $1").trim();return n?s:o(s)}function o(t){return t.endsWith("s")||t.endsWith("x")||t.endsWith("z")?`${t}es`:t.endsWith("y")&&!/[aeiou]y$/i.test(t)?`${t.slice(0,-1)}ies`:`${t}s`}let i={TypeUnionSchema:t=>(t.types||[]).map(t=>s(t)).join(" | ")||"unknown",TypeIntersectionSchema:t=>(t.types||[]).map(t=>s(t)).join(" & ")||"unknown",TypeArraySchema:t=>`${s(t.type)}[]`,TupleTypeSchema:t=>`[${(t.members||[]).map(t=>s(t)).join(", ")}]`,InferenceTypeSchema:t=>t.type||t.name||"inferred",KeywordTypeSchema:t=>t.name||"keyword",LiteralTypeSchema:t=>void 0!==t.value?String(t.value):t.name||"literal",TypeRefSchema:t=>{let n=t.name||"Ref";return t.typeArgs?.length?`${n}<${t.typeArgs.map(t=>s(t)).join(", ")}>`:n},TypeLiteralSchema:t=>{let n=(t.members||[]).map(t=>t.signature||t.name||"").filter(Boolean);return n.length<=3?`{ ${n.join("; ")} }`:`{ ${n.slice(0,3).join("; ")}; ... }`},ParenthesizedTypeSchema:t=>`(${s(t.type)})`};function s(t){var n;if(!t)return"unknown";let r=i[t.__schema];return r?r(t):t.signature||t.name||((n=t).type&&"string"==typeof n.type?n.type:n.type&&"object"==typeof n.type?s(n.type):a(n.__schema||"unknown",!0))}function l(t,n){if(t===n)return!0;if(null==t||null==n||typeof t!==typeof n)return!1;if(Array.isArray(t))return!!Array.isArray(n)&&t.length===n.length&&t.every((t,r)=>l(t,n[r]));if("object"==typeof t){let r=Object.keys(t).filter(t=>"location"!==t),a=Object.keys(n).filter(t=>"location"!==t);return r.length===a.length&&r.every(r=>l(t[r],n[r]))}return!1}function u(t){if(!t)return;let n=[];for(let r of(t.comment&&n.push(t.comment),t.tags||[])){let t=r.tagName||r.name;t&&n.push(`@${t}${r.comment?` ${r.comment}`:""}`)}return n.join("\n")||t.raw||void 0}},67328(){},37185(t,n,r){"use strict";function a(){let t=r(46746);return a=function(){return t},t}function o(){var t;let n=(t=r(11929))&&t.__esModule?t:{default:t};return o=function(){return n},n}function i(){let t=r(34226);return i=function(){return t},t}Object.defineProperty(n,"__esModule",{value:!0}),n.SchemaNode=void 0;let SchemaNode=class SchemaNode{__schema=this.constructor.name;displaySchemaName=(0,o().default)(this.constructor.name.replace(/Schema$/,"").replace(/([A-Z])/g," $1").trim());static fromObject(t){throw Error("Method 'fromObject' not implemented in subclass.")}toObject(){return(0,a().pickBy)({__schema:this.__schema,location:this.location,doc:this.doc?this.doc.toObject():void 0,signature:this.signature,name:this.name},t=>void 0!==t)}getNodes(){return[this]}getAllNodesRecursively(t=new Set){return t.has(this)?[]:(t.add(this),[this,...this.getNodes().flatMap(n=>n.getAllNodesRecursively(t))])}findNode(t,n=new Set){if(t(this))return this;if(!n.has(this))for(let r of(n.add(this),this.getNodes())){let a=r.findNode(t,n);if(a)return a}}diff(t){let n=[],r=this.toObject(),a=t.toObject();n.push(...(0,i().diffDoc)(r.doc,a.doc));let o={...r,doc:void 0,location:void 0},s={...a,doc:void 0,location:void 0};return(0,i().deepEqualNoLocation)(o,s)||r.signature&&a.signature&&r.signature!==a.signature&&n.push({changeKind:"signature-changed",description:"signature changed",context:{fromSignature:r.signature,toSignature:a.signature},from:r.signature,to:a.signature}),n}};n.SchemaNode=SchemaNode},81170(t,n,r){"use strict";function a(){let t=r(79042);return a=function(){return t},t}Object.defineProperty(n,"__esModule",{value:!0}),n.SchemaRegistry=void 0;let SchemaRegistry=class SchemaRegistry{static instance=new SchemaRegistry;_getSchemas=[];constructor(){this._schemas={}}static registerGetSchemas(t){this.instance._getSchemas.includes(t)||this.instance._getSchemas.push(t)}static register(t){this.instance._schemas[t.name]||(this.instance._schemas[t.name]=t)}static schemas(){return this.instance._getSchemas.forEach(t=>{t().forEach(t=>{this.instance._schemas[t.name]||(this.instance._schemas[t.name]=t)})}),this.instance._getSchemas=[],this.instance._schemas}static fromObject(t){if(!t.__schema)throw Error('fatal: "__schema" is missing, make sure the transformer is set on SchemaNode type');let n=this.schemas()[t.__schema];return n?n.fromObject(t):a().UnknownSchemaFactory.create(t.location||{path:"",line:0,character:0},t.__schema,t)}};n.SchemaRegistry=SchemaRegistry},52938(t,n,r){"use strict";function a(){let t=r(37185);return a=function(){return t},t}function o(){let t=r(81170);return o=function(){return t},t}Object.defineProperty(n,"__esModule",{value:!0}),n.ArrayLiteralExpressionSchema=void 0;let ArrayLiteralExpressionSchema=class ArrayLiteralExpressionSchema extends a().SchemaNode{constructor(t,n){super(),this.members=t,this.location=n}toObject(){return{...super.toObject(),members:this.members.map(t=>t.toObject()),location:this.location}}static fromObject(t){return new ArrayLiteralExpressionSchema(t.members.map(t=>o().SchemaRegistry.fromObject(t)),t.location)}toString(){return`[${this.members.join(", ")}]`}toFullSignature(t){let n=this.members.map(n=>n.toFullSignature(t)).join(", ");return`[${n}]`}};n.ArrayLiteralExpressionSchema=ArrayLiteralExpressionSchema},32620(t,n,r){"use strict";function a(){var t;let n=(t=r(52404))&&t.__esModule?t:{default:t};return a=function(){return n},n}function o(){let t=r(37185);return o=function(){return t},t}function i(){let t=r(30844);return i=function(){return t},t}function s(){let t=r(33902);return s=function(){return t},t}function l(){let t=r(18920);return l=function(){return t},t}function u(){let t=r(81170);return u=function(){return t},t}Object.defineProperty(n,"__esModule",{value:!0}),n.ClassSchema=void 0;let ClassSchema=class ClassSchema extends o().SchemaNode{constructor(t,n,r,a,o,i,s,l,u){super(),this.name=t,this.location=r,this.signature=a,this.typeParams=i,this.extendsNodes=s,this.implementNodes=l,this.decorators=u,this.members=n,this.doc=o}getNodes(){return this.members}toString(t){let n=t?.color?a().default.bold.underline:t=>t,r=this.members.map(n=>`* ${n.toString(t)}`).join("\n"),o=this.decorators?.map(n=>n.toString(t)).join("\n");return`${this.decorators?`${o}
1014
1014
  `:""}${n(this.name)}
1015
1015
  ${r}`}toFullSignature(t){let n="";t?.showDocs&&this.doc&&(n+=`${this.doc.toFullSignature()}
1016
1016
  `);let r=this.decorators?.map(n=>n.toFullSignature(t)).join("\n");r&&(n+=`${r}
@@ -1009,7 +1009,7 @@ ${r}`}).join("\n\n")+"\n\n"}toFullSignature(t={showDocs:!0}){let n=`API Schema o
1009
1009
 
1010
1010
  `;let i=o.map(n=>n.toFullSignature(t)).join("\n\n");a+=`${i}
1011
1011
 
1012
- `}return a.trim()}getReadableSectionName(t){return({ModuleSchema:"Namespaces",ClassSchema:"Classes",InterfaceSchema:"Interfaces",FunctionLikeSchema:"Functions",VariableLikeSchema:"Variables",TypeSchema:"Types",EnumSchema:"Enums",TypeRefSchema:"Type References",UnresolvedSchema:"Unresolved",ReactSchema:"React Components"})[t]||t}listSignatures(){return this.module.exports.map(t=>t.signature)}toObject(){return{...super.toObject(),module:this.module.toObject(),internals:this.internals.map(t=>t.toObject()),componentId:this.componentId.toObject(),taggedModuleExports:this.taggedModuleExports.map(t=>t.toObject())}}static fromObject(t){return new APISchema(t.location,i().ModuleSchema.fromObject(t.module),(t.internals||[]).map(t=>i().ModuleSchema.fromObject(t)),o().ComponentID.fromObject(t.componentId),(t.taggedModuleExports||[]).map(t=>u().SchemaRegistry.fromObject(t)))}static empty(t){return new APISchema({filePath:"",line:0,character:0},new(i()).ModuleSchema({filePath:"",line:0,character:0},[],[]),[],t)}};n.APISchema=APISchema},52593(t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Export=void 0;let Export=class Export{constructor(t,n){this.identifier=t,this.staticProperties=n}toObject(){return{constructorName:this.constructor.name,identifier:this.identifier}}};n.Export=Export},9003(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a={Schemas:!0,SchemaNode:!0,ISchemaNode:!0,APISchema:!0,schemaDisplayName:!0,typeStr:!0,typesAreSemanticallyEqual:!0,deepEqualNoLocation:!0,diffDoc:!0,Export:!0,StaticProperties:!0,TagName:!0,SchemaRegistry:!0,SchemaNodeConstructor:!0,Modifier:!0};Object.defineProperty(n,"APISchema",{enumerable:!0,get:function(){return s().APISchema}}),Object.defineProperty(n,"Export",{enumerable:!0,get:function(){return u().Export}}),Object.defineProperty(n,"ISchemaNode",{enumerable:!0,get:function(){return i().ISchemaNode}}),Object.defineProperty(n,"Modifier",{enumerable:!0,get:function(){return f().Modifier}}),Object.defineProperty(n,"SchemaNode",{enumerable:!0,get:function(){return i().SchemaNode}}),Object.defineProperty(n,"SchemaNodeConstructor",{enumerable:!0,get:function(){return p().SchemaNodeConstructor}}),Object.defineProperty(n,"SchemaRegistry",{enumerable:!0,get:function(){return d().SchemaRegistry}}),n.Schemas=void 0,Object.defineProperty(n,"StaticProperties",{enumerable:!0,get:function(){return u().StaticProperties}}),Object.defineProperty(n,"TagName",{enumerable:!0,get:function(){return c().TagName}}),Object.defineProperty(n,"deepEqualNoLocation",{enumerable:!0,get:function(){return l().deepEqualNoLocation}}),Object.defineProperty(n,"diffDoc",{enumerable:!0,get:function(){return l().diffDoc}}),Object.defineProperty(n,"schemaDisplayName",{enumerable:!0,get:function(){return l().schemaDisplayName}}),Object.defineProperty(n,"typeStr",{enumerable:!0,get:function(){return l().typeStr}}),Object.defineProperty(n,"typesAreSemanticallyEqual",{enumerable:!0,get:function(){return l().typesAreSemanticallyEqual}});var o=m(r(56480));function i(){let t=r(37185);return i=function(){return t},t}function s(){let t=r(35447);return s=function(){return t},t}function l(){let t=r(34226);return l=function(){return t},t}function u(){let t=r(52593);return u=function(){return t},t}function c(){let t=r(86902);return c=function(){return t},t}function d(){let t=r(81170);return d=function(){return t},t}function p(){let t=r(67328);return p=function(){return t},t}function f(){let t=r(60268);return f=function(){return t},t}function m(t,n){if("function"==typeof WeakMap)var r=new WeakMap,a=new WeakMap;return(m=function(t,n){if(!n&&t&&t.__esModule)return t;var o,i,s={__proto__:null,default:t};if(null===t||"object"!=typeof t&&"function"!=typeof t)return s;if(o=n?a:r){if(o.has(t))return o.get(t);o.set(t,s)}for(let n in t)"default"!==n&&({}).hasOwnProperty.call(t,n)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(t,n))&&(i.get||i.set)?o(s,n,i):s[n]=t[n]);return s})(t,n)}n.Schemas=o,Object.keys(o).forEach(function(t){"default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(a,t)||t in n&&n[t]===o[t]||Object.defineProperty(n,t,{enumerable:!0,get:function(){return o[t]}})})},30844(t,n,r){"use strict";function a(){let t=r(34226);return a=function(){return t},t}Object.defineProperty(n,"__esModule",{value:!0}),n.diffMembers=function(t,n,r,s){let l=i(t.members||[]),u=i(n.members||[]);return[...function(t,n){let r=[];for(let[o,i]of t){if(n.has(o))continue;let t=(0,a().schemaDisplayName)(i.__schema||"",!0);r.push({changeKind:"member-added",description:`${t} '${o}' added${i.isOptional?" (optional)":""}: ${i.signature||o}`,context:{memberName:o,memberKind:t,isOptional:!!i.isOptional,signature:i.signature||o},to:i.signature||o})}return r}(u,l),...function(t,n){let r=[];for(let[o,i]of t){if(n.has(o))continue;let t=(0,a().schemaDisplayName)(i.__schema||"",!0),s=!(i.modifiers||[]).includes("private");r.push({changeKind:"member-removed",description:`${t} '${o}' removed${s?" \u2014 consumers using it will break":" (was private)"}`,context:{memberName:o,memberKind:t,isPublic:s,signature:i.signature||o},from:i.signature||o})}return r}(l,u),...function(t,n,r,i){let s=[];for(let[l,u]of t){let t=n.get(l);if(!t||(0,a().deepEqualNoLocation)({...u,location:void 0},{...t,location:void 0}))continue;let c=(0,a().schemaDisplayName)(u.__schema||"",!0);if("FunctionLikeSchema"===u.__schema&&"FunctionLikeSchema"===t.__schema){let n=r.members?.find(t=>t.name===l),a=i.members?.find(t=>t.name===l);if(n&&a){let r=t.signature||u.signature;for(let t of n.diff(a))s.push({...t,description:`${c} '${l}': ${t.description}`,signature:r});continue}}let d=function(t,n){let r={...t,location:void 0,doc:void 0},o={...n,location:void 0,doc:void 0};return(0,a().deepEqualNoLocation)(r,o)?"member-documentation-changed":t.signature&&n.signature&&t.signature!==n.signature?"member-signature-changed":"member-definition-changed"}(u,t);s.push({changeKind:d,description:`${c} '${l}' ${o[d]}`,context:{memberName:l,memberKind:c},from:u.signature||l,to:t.signature||l})}return s}(l,u,r,s),...function(t,n){let r=[];if(!(0,a().deepEqualNoLocation)(t.typeParams,n.typeParams)){let a=(t.typeParams||[]).join(", "),o=(n.typeParams||[]).join(", ");a!==o&&r.push({changeKind:"type-parameters-changed",description:`type parameters changed: <${a||"none"}> \u{2192} <${o||"none"}>`,context:{from:a,to:o},from:a,to:o})}if(!(0,a().deepEqualNoLocation)(t.extendsNodes,n.extendsNodes)){let o=(t.extendsNodes||[]).map(t=>t.name||(0,a().typeStr)(t)).join(", ")||"none",i=(n.extendsNodes||[]).map(t=>t.name||(0,a().typeStr)(t)).join(", ")||"none";o!==i&&r.push({changeKind:"extends-changed",description:`extends changed: ${o} \u{2192} ${i}`,context:{from:o,to:i},from:o,to:i})}if((t.implementNodes||n.implementNodes)&&!(0,a().deepEqualNoLocation)(t.implementNodes,n.implementNodes)){let o=(t.implementNodes||[]).map(t=>t.name||(0,a().typeStr)(t)).join(", ")||"none",i=(n.implementNodes||[]).map(t=>t.name||(0,a().typeStr)(t)).join(", ")||"none";o!==i&&r.push({changeKind:"implements-changed",description:`implements changed: ${o} \u{2192} ${i}`,context:{from:o,to:i},from:o,to:i})}return r}(t,n),...(0,a().diffDoc)(t.doc,n.doc)]};let o={"member-documentation-changed":"documentation changed","member-signature-changed":"signature changed","member-definition-changed":"internal definition changed"};function i(t){return new Map(t.map(t=>[t.name||t.signature||"",t]))}},34226(t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.deepEqualNoLocation=l,n.diffDoc=function(t,n){if(l(t,n))return[];if(!t&&n)return[{changeKind:"documentation-added",description:"documentation added",context:{},to:u(n)||"(doc added)"}];if(t&&!n)return[{changeKind:"documentation-removed",description:"documentation removed",context:{},from:u(t)||"(doc removed)"}];let r=[];return t?.comment!==n?.comment&&r.push("description"),l((t?.tags||[]).map(t=>t.tagName||t.name).sort(),(n?.tags||[]).map(t=>t.tagName||t.name).sort())||r.push("tags"),0===r.length&&r.push("content"),[{changeKind:"documentation-changed",description:`documentation ${r.join(" and ")} changed`,context:{},from:u(t),to:u(n)}]},n.schemaDisplayName=a,n.typeStr=s,n.typesAreSemanticallyEqual=function t(n,r){if(!n&&!r)return!0;if(!n||!r)return!1;if("TypeRefSchema"===n.__schema&&"TypeRefSchema"===r.__schema){if(n.name!==r.name)return!1;let a=n.typeArgs||[],o=r.typeArgs||[];return a.length===o.length&&a.every((n,r)=>t(n,o[r]))}return l(n,r)};let r={FunctionLikeSchema:"Function",ClassSchema:"Class",InterfaceSchema:"Interface",TypeSchema:"Type Alias",EnumSchema:"Enum",VariableLikeSchema:"Variable",ModuleSchema:"Namespace",ReactSchema:"React Component",TypeRefSchema:"Type Reference",TypeUnionSchema:"Union Type",TypeIntersectionSchema:"Intersection Type",TypeLiteralSchema:"Type Literal",TypeArraySchema:"Array Type",TupleTypeSchema:"Tuple Type",ParameterSchema:"Parameter",ExportSchema:"Export",DecoratorSchema:"Decorator",ConstructorSchema:"Constructor",GetAccessorSchema:"Getter",SetAccessorSchema:"Setter",IndexSignatureSchema:"Index Signature",KeywordTypeSchema:"Keyword Type",LiteralTypeSchema:"Literal Type",InferenceTypeSchema:"Inferred Type"};function a(t,n=!0){let i=r[t];if(i)return n?i:o(i);let s=t.replace(/Schema$/,"").replace(/([A-Z])/g," $1").trim();return n?s:o(s)}function o(t){return t.endsWith("s")||t.endsWith("x")||t.endsWith("z")?`${t}es`:t.endsWith("y")&&!/[aeiou]y$/i.test(t)?`${t.slice(0,-1)}ies`:`${t}s`}let i={TypeUnionSchema:t=>(t.types||[]).map(t=>s(t)).join(" | ")||"unknown",TypeIntersectionSchema:t=>(t.types||[]).map(t=>s(t)).join(" & ")||"unknown",TypeArraySchema:t=>`${s(t.type)}[]`,TupleTypeSchema:t=>`[${(t.members||[]).map(t=>s(t)).join(", ")}]`,InferenceTypeSchema:t=>t.type||t.name||"inferred",KeywordTypeSchema:t=>t.name||"keyword",LiteralTypeSchema:t=>void 0!==t.value?String(t.value):t.name||"literal",TypeRefSchema:t=>{let n=t.name||"Ref";return t.typeArgs?.length?`${n}<${t.typeArgs.map(t=>s(t)).join(", ")}>`:n},TypeLiteralSchema:t=>{let n=(t.members||[]).map(t=>t.signature||t.name||"").filter(Boolean);return n.length<=3?`{ ${n.join("; ")} }`:`{ ${n.slice(0,3).join("; ")}; ... }`},ParenthesizedTypeSchema:t=>`(${s(t.type)})`};function s(t){var n;if(!t)return"unknown";let r=i[t.__schema];return r?r(t):t.signature||t.name||((n=t).type&&"string"==typeof n.type?n.type:n.type&&"object"==typeof n.type?s(n.type):a(n.__schema||"unknown",!0))}function l(t,n){if(t===n)return!0;if(null==t||null==n||typeof t!==typeof n)return!1;if(Array.isArray(t))return!!Array.isArray(n)&&t.length===n.length&&t.every((t,r)=>l(t,n[r]));if("object"==typeof t){let r=Object.keys(t).filter(t=>"location"!==t),a=Object.keys(n).filter(t=>"location"!==t);return r.length===a.length&&r.every(r=>l(t[r],n[r]))}return!1}function u(t){if(!t)return;let n=[];for(let r of(t.comment&&n.push(t.comment),t.tags||[])){let t=r.tagName||r.name;t&&n.push(`@${t}${r.comment?` ${r.comment}`:""}`)}return n.join("\n")||t.raw||void 0}},67328(){},37185(t,n,r){"use strict";function a(){let t=r(46746);return a=function(){return t},t}function o(){var t;let n=(t=r(11929))&&t.__esModule?t:{default:t};return o=function(){return n},n}function i(){let t=r(34226);return i=function(){return t},t}Object.defineProperty(n,"__esModule",{value:!0}),n.SchemaNode=void 0;let SchemaNode=class SchemaNode{__schema=this.constructor.name;displaySchemaName=(0,o().default)(this.constructor.name.replace(/Schema$/,"").replace(/([A-Z])/g," $1").trim());static fromObject(t){throw Error("Method 'fromObject' not implemented in subclass.")}toObject(){return(0,a().pickBy)({__schema:this.__schema,location:this.location,doc:this.doc?this.doc.toObject():void 0,signature:this.signature,name:this.name},t=>void 0!==t)}getNodes(){return[this]}getAllNodesRecursively(t=new Set){return t.has(this)?[]:(t.add(this),[this,...this.getNodes().flatMap(n=>n.getAllNodesRecursively(t))])}findNode(t,n=new Set){if(t(this))return this;if(!n.has(this))for(let r of(n.add(this),this.getNodes())){let a=r.findNode(t,n);if(a)return a}}diff(t){let n=[],r=this.toObject(),a=t.toObject();n.push(...(0,i().diffDoc)(r.doc,a.doc));let o={...r,doc:void 0,location:void 0},s={...a,doc:void 0,location:void 0};return(0,i().deepEqualNoLocation)(o,s)||r.signature&&a.signature&&r.signature!==a.signature&&n.push({changeKind:"signature-changed",description:"signature changed",context:{fromSignature:r.signature,toSignature:a.signature},from:r.signature,to:a.signature}),n}};n.SchemaNode=SchemaNode},81170(t,n,r){"use strict";function a(){let t=r(79042);return a=function(){return t},t}Object.defineProperty(n,"__esModule",{value:!0}),n.SchemaRegistry=void 0;let SchemaRegistry=class SchemaRegistry{static instance=new SchemaRegistry;_getSchemas=[];constructor(){this._schemas={}}static registerGetSchemas(t){this.instance._getSchemas.push(t)}static register(t){this.instance._schemas[t.name]||(this.instance._schemas[t.name]=t)}static schemas(){return this.instance._getSchemas.forEach(t=>{t().forEach(t=>{this.instance._schemas[t.name]||(this.instance._schemas[t.name]=t)})}),this.instance._getSchemas=[],this.instance._schemas}static fromObject(t){if(!t.__schema)throw Error('fatal: "__schema" is missing, make sure the transformer is set on SchemaNode type');let n=this.schemas()[t.__schema];return n?n.fromObject(t):a().UnknownSchemaFactory.create(t.location||{path:"",line:0,character:0},t.__schema,t)}};n.SchemaRegistry=SchemaRegistry},52938(t,n,r){"use strict";function a(){let t=r(37185);return a=function(){return t},t}function o(){let t=r(81170);return o=function(){return t},t}Object.defineProperty(n,"__esModule",{value:!0}),n.ArrayLiteralExpressionSchema=void 0;let ArrayLiteralExpressionSchema=class ArrayLiteralExpressionSchema extends a().SchemaNode{constructor(t,n){super(),this.members=t,this.location=n}toObject(){return{...super.toObject(),members:this.members.map(t=>t.toObject()),location:this.location}}static fromObject(t){return new ArrayLiteralExpressionSchema(t.members.map(t=>o().SchemaRegistry.fromObject(t)),t.location)}toString(){return`[${this.members.join(", ")}]`}toFullSignature(t){let n=this.members.map(n=>n.toFullSignature(t)).join(", ");return`[${n}]`}};n.ArrayLiteralExpressionSchema=ArrayLiteralExpressionSchema},32620(t,n,r){"use strict";function a(){var t;let n=(t=r(52404))&&t.__esModule?t:{default:t};return a=function(){return n},n}function o(){let t=r(37185);return o=function(){return t},t}function i(){let t=r(30844);return i=function(){return t},t}function s(){let t=r(33902);return s=function(){return t},t}function l(){let t=r(18920);return l=function(){return t},t}function u(){let t=r(81170);return u=function(){return t},t}Object.defineProperty(n,"__esModule",{value:!0}),n.ClassSchema=void 0;let ClassSchema=class ClassSchema extends o().SchemaNode{constructor(t,n,r,a,o,i,s,l,u){super(),this.name=t,this.location=r,this.signature=a,this.typeParams=i,this.extendsNodes=s,this.implementNodes=l,this.decorators=u,this.members=n,this.doc=o}getNodes(){return this.members}toString(t){let n=t?.color?a().default.bold.underline:t=>t,r=this.members.map(n=>`* ${n.toString(t)}`).join("\n"),o=this.decorators?.map(n=>n.toString(t)).join("\n");return`${this.decorators?`${o}
1012
+ `}return a.trim()}getReadableSectionName(t){return({ModuleSchema:"Namespaces",ClassSchema:"Classes",InterfaceSchema:"Interfaces",FunctionLikeSchema:"Functions",VariableLikeSchema:"Variables",TypeSchema:"Types",EnumSchema:"Enums",TypeRefSchema:"Type References",UnresolvedSchema:"Unresolved",ReactSchema:"React Components"})[t]||t}listSignatures(){return this.module.exports.map(t=>t.signature)}toObject(){return{...super.toObject(),module:this.module.toObject(),internals:this.internals.map(t=>t.toObject()),componentId:this.componentId.toObject(),taggedModuleExports:this.taggedModuleExports.map(t=>t.toObject())}}static fromObject(t){return new APISchema(t.location,i().ModuleSchema.fromObject(t.module),(t.internals||[]).map(t=>i().ModuleSchema.fromObject(t)),o().ComponentID.fromObject(t.componentId),(t.taggedModuleExports||[]).map(t=>u().SchemaRegistry.fromObject(t)))}static empty(t){return new APISchema({filePath:"",line:0,character:0},new(i()).ModuleSchema({filePath:"",line:0,character:0},[],[]),[],t)}};n.APISchema=APISchema},52593(t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Export=void 0;let Export=class Export{constructor(t,n){this.identifier=t,this.staticProperties=n}toObject(){return{constructorName:this.constructor.name,identifier:this.identifier}}};n.Export=Export},9003(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a={Schemas:!0,SchemaNode:!0,ISchemaNode:!0,APISchema:!0,schemaDisplayName:!0,typeStr:!0,typesAreSemanticallyEqual:!0,deepEqualNoLocation:!0,diffDoc:!0,Export:!0,StaticProperties:!0,TagName:!0,SchemaRegistry:!0,SchemaNodeConstructor:!0,Modifier:!0};Object.defineProperty(n,"APISchema",{enumerable:!0,get:function(){return s().APISchema}}),Object.defineProperty(n,"Export",{enumerable:!0,get:function(){return u().Export}}),Object.defineProperty(n,"ISchemaNode",{enumerable:!0,get:function(){return i().ISchemaNode}}),Object.defineProperty(n,"Modifier",{enumerable:!0,get:function(){return f().Modifier}}),Object.defineProperty(n,"SchemaNode",{enumerable:!0,get:function(){return i().SchemaNode}}),Object.defineProperty(n,"SchemaNodeConstructor",{enumerable:!0,get:function(){return p().SchemaNodeConstructor}}),Object.defineProperty(n,"SchemaRegistry",{enumerable:!0,get:function(){return d().SchemaRegistry}}),n.Schemas=void 0,Object.defineProperty(n,"StaticProperties",{enumerable:!0,get:function(){return u().StaticProperties}}),Object.defineProperty(n,"TagName",{enumerable:!0,get:function(){return c().TagName}}),Object.defineProperty(n,"deepEqualNoLocation",{enumerable:!0,get:function(){return l().deepEqualNoLocation}}),Object.defineProperty(n,"diffDoc",{enumerable:!0,get:function(){return l().diffDoc}}),Object.defineProperty(n,"schemaDisplayName",{enumerable:!0,get:function(){return l().schemaDisplayName}}),Object.defineProperty(n,"typeStr",{enumerable:!0,get:function(){return l().typeStr}}),Object.defineProperty(n,"typesAreSemanticallyEqual",{enumerable:!0,get:function(){return l().typesAreSemanticallyEqual}});var o=m(r(56480));function i(){let t=r(37185);return i=function(){return t},t}function s(){let t=r(35447);return s=function(){return t},t}function l(){let t=r(34226);return l=function(){return t},t}function u(){let t=r(52593);return u=function(){return t},t}function c(){let t=r(86902);return c=function(){return t},t}function d(){let t=r(81170);return d=function(){return t},t}function p(){let t=r(67328);return p=function(){return t},t}function f(){let t=r(60268);return f=function(){return t},t}function m(t,n){if("function"==typeof WeakMap)var r=new WeakMap,a=new WeakMap;return(m=function(t,n){if(!n&&t&&t.__esModule)return t;var o,i,s={__proto__:null,default:t};if(null===t||"object"!=typeof t&&"function"!=typeof t)return s;if(o=n?a:r){if(o.has(t))return o.get(t);o.set(t,s)}for(let n in t)"default"!==n&&({}).hasOwnProperty.call(t,n)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(t,n))&&(i.get||i.set)?o(s,n,i):s[n]=t[n]);return s})(t,n)}n.Schemas=o,Object.keys(o).forEach(function(t){"default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(a,t)||t in n&&n[t]===o[t]||Object.defineProperty(n,t,{enumerable:!0,get:function(){return o[t]}})})},30844(t,n,r){"use strict";function a(){let t=r(34226);return a=function(){return t},t}Object.defineProperty(n,"__esModule",{value:!0}),n.diffMembers=function(t,n,r,s){let l=i(t.members||[]),u=i(n.members||[]);return[...function(t,n){let r=[];for(let[o,i]of t){if(n.has(o))continue;let t=(0,a().schemaDisplayName)(i.__schema||"",!0);r.push({changeKind:"member-added",description:`${t} '${o}' added${i.isOptional?" (optional)":""}: ${i.signature||o}`,context:{memberName:o,memberKind:t,isOptional:!!i.isOptional,signature:i.signature||o},to:i.signature||o})}return r}(u,l),...function(t,n){let r=[];for(let[o,i]of t){if(n.has(o))continue;let t=(0,a().schemaDisplayName)(i.__schema||"",!0),s=!(i.modifiers||[]).includes("private");r.push({changeKind:"member-removed",description:`${t} '${o}' removed${s?" \u2014 consumers using it will break":" (was private)"}`,context:{memberName:o,memberKind:t,isPublic:s,signature:i.signature||o},from:i.signature||o})}return r}(l,u),...function(t,n,r,i){let s=[];for(let[l,u]of t){let t=n.get(l);if(!t||(0,a().deepEqualNoLocation)({...u,location:void 0},{...t,location:void 0}))continue;let c=(0,a().schemaDisplayName)(u.__schema||"",!0);if("FunctionLikeSchema"===u.__schema&&"FunctionLikeSchema"===t.__schema){let n=r.members?.find(t=>t.name===l),a=i.members?.find(t=>t.name===l);if(n&&a){let r=t.signature||u.signature;for(let t of n.diff(a))s.push({...t,description:`${c} '${l}': ${t.description}`,signature:r});continue}}let d=function(t,n){let r={...t,location:void 0,doc:void 0},o={...n,location:void 0,doc:void 0};return(0,a().deepEqualNoLocation)(r,o)?"member-documentation-changed":t.signature&&n.signature&&t.signature!==n.signature?"member-signature-changed":"member-definition-changed"}(u,t);s.push({changeKind:d,description:`${c} '${l}' ${o[d]}`,context:{memberName:l,memberKind:c},from:u.signature||l,to:t.signature||l})}return s}(l,u,r,s),...function(t,n){let r=[];if(!(0,a().deepEqualNoLocation)(t.typeParams,n.typeParams)){let a=(t.typeParams||[]).join(", "),o=(n.typeParams||[]).join(", ");a!==o&&r.push({changeKind:"type-parameters-changed",description:`type parameters changed: <${a||"none"}> \u{2192} <${o||"none"}>`,context:{from:a,to:o},from:a,to:o})}if(!(0,a().deepEqualNoLocation)(t.extendsNodes,n.extendsNodes)){let o=(t.extendsNodes||[]).map(t=>t.name||(0,a().typeStr)(t)).join(", ")||"none",i=(n.extendsNodes||[]).map(t=>t.name||(0,a().typeStr)(t)).join(", ")||"none";o!==i&&r.push({changeKind:"extends-changed",description:`extends changed: ${o} \u{2192} ${i}`,context:{from:o,to:i},from:o,to:i})}if((t.implementNodes||n.implementNodes)&&!(0,a().deepEqualNoLocation)(t.implementNodes,n.implementNodes)){let o=(t.implementNodes||[]).map(t=>t.name||(0,a().typeStr)(t)).join(", ")||"none",i=(n.implementNodes||[]).map(t=>t.name||(0,a().typeStr)(t)).join(", ")||"none";o!==i&&r.push({changeKind:"implements-changed",description:`implements changed: ${o} \u{2192} ${i}`,context:{from:o,to:i},from:o,to:i})}return r}(t,n),...(0,a().diffDoc)(t.doc,n.doc)]};let o={"member-documentation-changed":"documentation changed","member-signature-changed":"signature changed","member-definition-changed":"internal definition changed"};function i(t){return new Map(t.map(t=>[t.name||t.signature||"",t]))}},34226(t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.deepEqualNoLocation=l,n.diffDoc=function(t,n){if(l(t,n))return[];if(!t&&n)return[{changeKind:"documentation-added",description:"documentation added",context:{},to:u(n)||"(doc added)"}];if(t&&!n)return[{changeKind:"documentation-removed",description:"documentation removed",context:{},from:u(t)||"(doc removed)"}];let r=[];return t?.comment!==n?.comment&&r.push("description"),l((t?.tags||[]).map(t=>t.tagName||t.name).sort(),(n?.tags||[]).map(t=>t.tagName||t.name).sort())||r.push("tags"),0===r.length&&r.push("content"),[{changeKind:"documentation-changed",description:`documentation ${r.join(" and ")} changed`,context:{},from:u(t),to:u(n)}]},n.schemaDisplayName=a,n.typeStr=s,n.typesAreSemanticallyEqual=function t(n,r){if(!n&&!r)return!0;if(!n||!r)return!1;if("TypeRefSchema"===n.__schema&&"TypeRefSchema"===r.__schema){if(n.name!==r.name)return!1;let a=n.typeArgs||[],o=r.typeArgs||[];return a.length===o.length&&a.every((n,r)=>t(n,o[r]))}return l(n,r)};let r={FunctionLikeSchema:"Function",ClassSchema:"Class",InterfaceSchema:"Interface",TypeSchema:"Type Alias",EnumSchema:"Enum",VariableLikeSchema:"Variable",ModuleSchema:"Namespace",ReactSchema:"React Component",TypeRefSchema:"Type Reference",TypeUnionSchema:"Union Type",TypeIntersectionSchema:"Intersection Type",TypeLiteralSchema:"Type Literal",TypeArraySchema:"Array Type",TupleTypeSchema:"Tuple Type",ParameterSchema:"Parameter",ExportSchema:"Export",DecoratorSchema:"Decorator",ConstructorSchema:"Constructor",GetAccessorSchema:"Getter",SetAccessorSchema:"Setter",IndexSignatureSchema:"Index Signature",KeywordTypeSchema:"Keyword Type",LiteralTypeSchema:"Literal Type",InferenceTypeSchema:"Inferred Type"};function a(t,n=!0){let i=r[t];if(i)return n?i:o(i);let s=t.replace(/Schema$/,"").replace(/([A-Z])/g," $1").trim();return n?s:o(s)}function o(t){return t.endsWith("s")||t.endsWith("x")||t.endsWith("z")?`${t}es`:t.endsWith("y")&&!/[aeiou]y$/i.test(t)?`${t.slice(0,-1)}ies`:`${t}s`}let i={TypeUnionSchema:t=>(t.types||[]).map(t=>s(t)).join(" | ")||"unknown",TypeIntersectionSchema:t=>(t.types||[]).map(t=>s(t)).join(" & ")||"unknown",TypeArraySchema:t=>`${s(t.type)}[]`,TupleTypeSchema:t=>`[${(t.members||[]).map(t=>s(t)).join(", ")}]`,InferenceTypeSchema:t=>t.type||t.name||"inferred",KeywordTypeSchema:t=>t.name||"keyword",LiteralTypeSchema:t=>void 0!==t.value?String(t.value):t.name||"literal",TypeRefSchema:t=>{let n=t.name||"Ref";return t.typeArgs?.length?`${n}<${t.typeArgs.map(t=>s(t)).join(", ")}>`:n},TypeLiteralSchema:t=>{let n=(t.members||[]).map(t=>t.signature||t.name||"").filter(Boolean);return n.length<=3?`{ ${n.join("; ")} }`:`{ ${n.slice(0,3).join("; ")}; ... }`},ParenthesizedTypeSchema:t=>`(${s(t.type)})`};function s(t){var n;if(!t)return"unknown";let r=i[t.__schema];return r?r(t):t.signature||t.name||((n=t).type&&"string"==typeof n.type?n.type:n.type&&"object"==typeof n.type?s(n.type):a(n.__schema||"unknown",!0))}function l(t,n){if(t===n)return!0;if(null==t||null==n||typeof t!==typeof n)return!1;if(Array.isArray(t))return!!Array.isArray(n)&&t.length===n.length&&t.every((t,r)=>l(t,n[r]));if("object"==typeof t){let r=Object.keys(t).filter(t=>"location"!==t),a=Object.keys(n).filter(t=>"location"!==t);return r.length===a.length&&r.every(r=>l(t[r],n[r]))}return!1}function u(t){if(!t)return;let n=[];for(let r of(t.comment&&n.push(t.comment),t.tags||[])){let t=r.tagName||r.name;t&&n.push(`@${t}${r.comment?` ${r.comment}`:""}`)}return n.join("\n")||t.raw||void 0}},67328(){},37185(t,n,r){"use strict";function a(){let t=r(46746);return a=function(){return t},t}function o(){var t;let n=(t=r(11929))&&t.__esModule?t:{default:t};return o=function(){return n},n}function i(){let t=r(34226);return i=function(){return t},t}Object.defineProperty(n,"__esModule",{value:!0}),n.SchemaNode=void 0;let SchemaNode=class SchemaNode{__schema=this.constructor.name;displaySchemaName=(0,o().default)(this.constructor.name.replace(/Schema$/,"").replace(/([A-Z])/g," $1").trim());static fromObject(t){throw Error("Method 'fromObject' not implemented in subclass.")}toObject(){return(0,a().pickBy)({__schema:this.__schema,location:this.location,doc:this.doc?this.doc.toObject():void 0,signature:this.signature,name:this.name},t=>void 0!==t)}getNodes(){return[this]}getAllNodesRecursively(t=new Set){return t.has(this)?[]:(t.add(this),[this,...this.getNodes().flatMap(n=>n.getAllNodesRecursively(t))])}findNode(t,n=new Set){if(t(this))return this;if(!n.has(this))for(let r of(n.add(this),this.getNodes())){let a=r.findNode(t,n);if(a)return a}}diff(t){let n=[],r=this.toObject(),a=t.toObject();n.push(...(0,i().diffDoc)(r.doc,a.doc));let o={...r,doc:void 0,location:void 0},s={...a,doc:void 0,location:void 0};return(0,i().deepEqualNoLocation)(o,s)||r.signature&&a.signature&&r.signature!==a.signature&&n.push({changeKind:"signature-changed",description:"signature changed",context:{fromSignature:r.signature,toSignature:a.signature},from:r.signature,to:a.signature}),n}};n.SchemaNode=SchemaNode},81170(t,n,r){"use strict";function a(){let t=r(79042);return a=function(){return t},t}Object.defineProperty(n,"__esModule",{value:!0}),n.SchemaRegistry=void 0;let SchemaRegistry=class SchemaRegistry{static instance=new SchemaRegistry;_getSchemas=[];constructor(){this._schemas={}}static registerGetSchemas(t){this.instance._getSchemas.includes(t)||this.instance._getSchemas.push(t)}static register(t){this.instance._schemas[t.name]||(this.instance._schemas[t.name]=t)}static schemas(){return this.instance._getSchemas.forEach(t=>{t().forEach(t=>{this.instance._schemas[t.name]||(this.instance._schemas[t.name]=t)})}),this.instance._getSchemas=[],this.instance._schemas}static fromObject(t){if(!t.__schema)throw Error('fatal: "__schema" is missing, make sure the transformer is set on SchemaNode type');let n=this.schemas()[t.__schema];return n?n.fromObject(t):a().UnknownSchemaFactory.create(t.location||{path:"",line:0,character:0},t.__schema,t)}};n.SchemaRegistry=SchemaRegistry},52938(t,n,r){"use strict";function a(){let t=r(37185);return a=function(){return t},t}function o(){let t=r(81170);return o=function(){return t},t}Object.defineProperty(n,"__esModule",{value:!0}),n.ArrayLiteralExpressionSchema=void 0;let ArrayLiteralExpressionSchema=class ArrayLiteralExpressionSchema extends a().SchemaNode{constructor(t,n){super(),this.members=t,this.location=n}toObject(){return{...super.toObject(),members:this.members.map(t=>t.toObject()),location:this.location}}static fromObject(t){return new ArrayLiteralExpressionSchema(t.members.map(t=>o().SchemaRegistry.fromObject(t)),t.location)}toString(){return`[${this.members.join(", ")}]`}toFullSignature(t){let n=this.members.map(n=>n.toFullSignature(t)).join(", ");return`[${n}]`}};n.ArrayLiteralExpressionSchema=ArrayLiteralExpressionSchema},32620(t,n,r){"use strict";function a(){var t;let n=(t=r(52404))&&t.__esModule?t:{default:t};return a=function(){return n},n}function o(){let t=r(37185);return o=function(){return t},t}function i(){let t=r(30844);return i=function(){return t},t}function s(){let t=r(33902);return s=function(){return t},t}function l(){let t=r(18920);return l=function(){return t},t}function u(){let t=r(81170);return u=function(){return t},t}Object.defineProperty(n,"__esModule",{value:!0}),n.ClassSchema=void 0;let ClassSchema=class ClassSchema extends o().SchemaNode{constructor(t,n,r,a,o,i,s,l,u){super(),this.name=t,this.location=r,this.signature=a,this.typeParams=i,this.extendsNodes=s,this.implementNodes=l,this.decorators=u,this.members=n,this.doc=o}getNodes(){return this.members}toString(t){let n=t?.color?a().default.bold.underline:t=>t,r=this.members.map(n=>`* ${n.toString(t)}`).join("\n"),o=this.decorators?.map(n=>n.toString(t)).join("\n");return`${this.decorators?`${o}
1013
1013
  `:""}${n(this.name)}
1014
1014
  ${r}`}toFullSignature(t){let n="";t?.showDocs&&this.doc&&(n+=`${this.doc.toFullSignature()}
1015
1015
  `);let r=this.decorators?.map(n=>n.toFullSignature(t)).join("\n");r&&(n+=`${r}
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1.0"><title>bit</title><script>!function(){try{var e=null,t=new URL(window.location.href).searchParams.get("theme");if(t&&(e=t),!e)try{e=sessionStorage.getItem("workspace-theme")}catch(e){}if(!e)try{e=localStorage.getItem("workspace-theme")}catch(e){}"dark"===e?(document.documentElement.dataset.theme="dark",document.documentElement.style.backgroundColor="#060414"):"light"===e&&(document.documentElement.dataset.theme="light",document.documentElement.style.backgroundColor="#fdfdff")}catch(e){}}();try{window.__REACT_DEVTOOLS_GLOBAL_HOOK__=window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__}catch{}</script><script defer src="/static/js/runtime-workspace.8653589e.js"></script><script defer src="/static/js/528.de9a4284.js"></script><script defer src="/static/js/821.05a0a194.js"></script><script defer src="/static/js/workspace.7a03bd5d.js"></script><link href="/static/css/528.2465e446.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1.0"><title>bit</title><script>!function(){try{var e=null,t=new URL(window.location.href).searchParams.get("theme");if(t&&(e=t),!e)try{e=sessionStorage.getItem("workspace-theme")}catch(e){}if(!e)try{e=localStorage.getItem("workspace-theme")}catch(e){}"dark"===e?(document.documentElement.dataset.theme="dark",document.documentElement.style.backgroundColor="#060414"):"light"===e&&(document.documentElement.dataset.theme="light",document.documentElement.style.backgroundColor="#fdfdff")}catch(e){}}();try{window.__REACT_DEVTOOLS_GLOBAL_HOOK__=window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__}catch{}</script><script defer src="/static/js/runtime-workspace.8653589e.js"></script><script defer src="/static/js/528.cc92379a.js"></script><script defer src="/static/js/821.05a0a194.js"></script><script defer src="/static/js/workspace.7a03bd5d.js"></script><link href="/static/css/528.2465e446.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.ui-foundation_ui@1.0.1221/dist/ui.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.ui-foundation_ui@1.0.1221/dist/ui.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.ui-foundation_ui@1.0.1223/dist/ui.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.ui-foundation_ui@1.0.1223/dist/ui.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/ui",
3
- "version": "1.0.1221",
3
+ "version": "1.0.1223",
4
4
  "homepage": "https://bit.cloud/teambit/ui-foundation/ui",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.ui-foundation",
8
8
  "name": "ui",
9
- "version": "1.0.1221"
9
+ "version": "1.0.1223"
10
10
  },
11
11
  "dependencies": {
12
12
  "p-map-series": "2.1.0",
@@ -36,18 +36,14 @@
36
36
  "sass": "1.63.6",
37
37
  "sanitize.css": "12.0.1",
38
38
  "postcss": "8.4.18",
39
- "@teambit/logger": "0.0.1498",
40
39
  "@teambit/react.rendering.ssr": "1.0.5",
41
40
  "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.512",
42
41
  "@teambit/bit-error": "0.0.404",
43
42
  "@teambit/legacy.constants": "0.0.49",
44
- "@teambit/express": "0.0.1504",
45
- "@teambit/graphql": "1.0.1205",
46
43
  "@teambit/toolbox.network.get-port": "1.0.30",
47
44
  "@teambit/toolbox.string.strip-trailing-char": "0.0.518",
48
45
  "@teambit/harmony.modules.runtimes": "0.0.4",
49
46
  "@teambit/harmony": "0.4.12",
50
- "@teambit/cache": "0.0.1498",
51
47
  "@teambit/harmony.modules.harmony-root-generator": "0.0.49",
52
48
  "@teambit/pubsub": "1.0.1213",
53
49
  "@teambit/toolbox.crypto.sha1": "0.0.24",
@@ -57,11 +53,9 @@
57
53
  "@teambit/api-reference.hooks.use-api": "0.0.59",
58
54
  "@teambit/base-ui.graph.tree.recursive-tree": "1.0.5",
59
55
  "@teambit/code.ui.code-editor": "0.0.22",
60
- "@teambit/component.ui.component-compare.context": "0.0.140",
61
56
  "@teambit/lanes.entities.lane-diff": "0.0.206",
62
57
  "@teambit/lanes.hooks.use-lanes": "0.0.300",
63
58
  "@teambit/rspack.modules.generate-asset-manifest": "0.0.21",
64
- "@teambit/semantics.entities.semantic-schema": "0.0.120",
65
59
  "@teambit/webpack.modules.exclude-node-modules-js": "0.0.1",
66
60
  "@teambit/webpack.modules.style-regexps": "1.0.37",
67
61
  "@teambit/base-ui.loaders.loader-ribbon": "1.0.0",
@@ -73,12 +67,18 @@
73
67
  "@teambit/design.themes.base-theme": "0.1.60",
74
68
  "@teambit/design.themes.dark-theme": "1.91.64",
75
69
  "@teambit/design.themes.light-theme": "0.1.61",
76
- "@teambit/builder": "1.0.1221",
77
- "@teambit/isolator": "1.0.1221",
78
- "@teambit/cli": "0.0.1413",
79
- "@teambit/aspect-loader": "1.0.1220",
80
- "@teambit/bundler": "1.0.1221",
81
- "@teambit/component": "1.0.1220"
70
+ "@teambit/builder": "1.0.1223",
71
+ "@teambit/isolator": "1.0.1223",
72
+ "@teambit/logger": "0.0.1499",
73
+ "@teambit/cli": "0.0.1414",
74
+ "@teambit/aspect-loader": "1.0.1222",
75
+ "@teambit/bundler": "1.0.1223",
76
+ "@teambit/component": "1.0.1222",
77
+ "@teambit/express": "0.0.1505",
78
+ "@teambit/graphql": "1.0.1206",
79
+ "@teambit/cache": "0.0.1499",
80
+ "@teambit/component.ui.component-compare.context": "0.0.141",
81
+ "@teambit/semantics.entities.semantic-schema": "0.0.121"
82
82
  },
83
83
  "devDependencies": {
84
84
  "@types/express": "^4.17.21",