@uniformdev/canvas 17.0.0 → 17.1.1-alpha.152
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-PFL3XEAQ.mjs +4 -0
- package/dist/cli/cli.d.ts +1 -1
- package/dist/cli/cli.js +44 -45
- package/dist/cli/cli.mjs +22 -22
- package/dist/{createEventBus-aea3860f.d.ts → createEventBus-b9cdb6ff.d.ts} +540 -47
- package/dist/index.d.ts +1582 -60
- package/dist/index.esm.js +1 -1
- package/dist/index.js +2 -3
- package/dist/index.mjs +1 -1
- package/package.json +6 -6
- package/dist/chunk-VQFPUXRX.mjs +0 -5
@@ -0,0 +1,4 @@
|
|
1
|
+
var oe=Object.create;var P=Object.defineProperty;var ie=Object.getOwnPropertyDescriptor;var ae=Object.getOwnPropertyNames;var se=Object.getPrototypeOf,ce=Object.prototype.hasOwnProperty;var pe=(t,e,n)=>e in t?P(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var we=(t=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(t,{get:(e,n)=>(typeof require!="undefined"?require:e)[n]}):t)(function(t){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+t+'" is not supported')});var Ie=(t,e)=>()=>(t&&(e=t(t=0)),e);var x=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Re=(t,e)=>{for(var n in e)P(t,n,{get:e[n],enumerable:!0})},U=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of ae(e))!ce.call(t,o)&&o!==n&&P(t,o,{get:()=>e[o],enumerable:!(r=ie(e,o))||r.enumerable});return t};var me=(t,e,n)=>(n=t!=null?oe(se(t)):{},U(e||!t||!t.__esModule?P(n,"default",{value:t,enumerable:!0}):n,t)),be=t=>U(P({},"__esModule",{value:!0}),t);var Se=(t,e,n)=>(pe(t,typeof e!="symbol"?e+"":e,n),n),L=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)};var T=(t,e,n)=>(L(t,e,"read from private field"),n?n.call(t):e.get(t)),j=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},le=(t,e,n,r)=>(L(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),Oe=(t,e,n,r)=>({set _(o){le(t,e,o,n)},get _(){return T(t,e,r)}});var G=x((Be,k)=>{function u(t,e){typeof e=="boolean"&&(e={forever:e}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=e||{},this._maxRetryTime=e&&e.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}k.exports=u;u.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};u.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};u.prototype.retry=function(t){if(this._timeout&&clearTimeout(this._timeout),!t)return!1;var e=new Date().getTime();if(t&&e-this._operationStart>=this._maxRetryTime)return this._errors.push(t),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(t);var n=this._timeouts.shift();if(n===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),n=this._cachedTimeouts.slice(-1);else return!1;var r=this;return this._timer=setTimeout(function(){r._attempts++,r._operationTimeoutCb&&(r._timeout=setTimeout(function(){r._operationTimeoutCb(r._attempts)},r._operationTimeout),r._options.unref&&r._timeout.unref()),r._fn(r._attempts)},n),this._options.unref&&this._timer.unref(),!0};u.prototype.attempt=function(t,e){this._fn=t,e&&(e.timeout&&(this._operationTimeout=e.timeout),e.cb&&(this._operationTimeoutCb=e.cb));var n=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){n._operationTimeoutCb()},n._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};u.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};u.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};u.prototype.start=u.prototype.try;u.prototype.errors=function(){return this._errors};u.prototype.attempts=function(){return this._attempts};u.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,n=0,r=0;r<this._errors.length;r++){var o=this._errors[r],i=o.message,a=(t[i]||0)+1;t[i]=a,a>=n&&(e=o,n=a)}return e}});var F=x(f=>{var ue=G();f.operation=function(t){var e=f.timeouts(t);return new ue(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};f.timeouts=function(t){if(t instanceof Array)return[].concat(t);var e={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var n in t)e[n]=t[n];if(e.minTimeout>e.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var r=[],o=0;o<e.retries;o++)r.push(this.createTimeout(o,e));return t&&t.forever&&!r.length&&r.push(this.createTimeout(o,e)),r.sort(function(i,a){return i-a}),r};f.createTimeout=function(t,e){var n=e.randomize?Math.random()+1:1,r=Math.round(n*Math.max(e.minTimeout,1)*Math.pow(e.factor,t));return r=Math.min(r,e.maxTimeout),r};f.wrap=function(t,e,n){if(e instanceof Array&&(n=e,e=null),!n){n=[];for(var r in t)typeof t[r]=="function"&&n.push(r)}for(var o=0;o<n.length;o++){var i=n[o],a=t[i];t[i]=function(c){var p=f.operation(e),m=Array.prototype.slice.call(arguments,1),l=m.pop();m.push(function(h){p.retry(h)||(h&&(arguments[0]=p.mainError()),l.apply(this,arguments))}),p.attempt(function(){c.apply(t,m)})}.bind(t,a),t[i].options=e}}});var z=x((Ge,$)=>{$.exports=F()});function _(t,e){let n=[{ancestorsAndSelf:[{component:t,parentSlot:void 0,parentSlotIndex:void 0}]}];do{let r=n.pop();if(!r)continue;let o=r.ancestorsAndSelf[0],i=!0;e(o.component,r.ancestorsAndSelf,{replaceComponent:s=>{Object.assign(o.component,s),["parameters","variant","slots","data","_pattern","_patternError"].forEach(p=>{s[p]||delete o.component[p]})},removeComponent:()=>{let{parentSlot:s,parentComponent:c,correctedParentSlotIndex:p}=M(r,o.component);if(s&&typeof p!="undefined")c.component.slots[s].splice(p,1);else throw new Error("Unable to delete composition.")},insertAfter:s=>{let c=Array.isArray(s)?s:[s],{parentSlot:p,parentComponent:m,correctedParentSlotIndex:l}=M(r,o.component);if(p&&typeof l!="undefined")m.component.slots[p].splice(l+1,0,...c);else throw new Error("Unable to insert after a component not in a slot.")},stopProcessingDescendants(){i=!1}});let a=o.component.slots;if(i&&a){let s=Object.keys(a);for(let c=s.length-1;c>=0;c--){let p=s[c],m=a[p];for(let l=m.length-1;l>=0;l--)n.push({ancestorsAndSelf:[{component:m[l],parentSlot:p,parentSlotIndex:l},...r.ancestorsAndSelf]})}}}while(n.length>0)}function g(t){let e=[];for(let n=t.length-1;n>=0;n--){let{parentSlot:r,parentSlotIndex:o}=t[n];r&&o!==void 0&&e.push(`${r}[${o}]`)}return`.${e.join(".")}`}function M(t,e){let{parentSlot:n,parentSlotIndex:r}=t.ancestorsAndSelf[0],o=t.ancestorsAndSelf[1],i=r;return n&&r!==void 0&&o.component.slots&&o.component.slots[n][r]!==e&&(i=o.component.slots[n].findIndex(a=>a===e)),{parentSlot:n,parentComponent:o,correctedParentSlotIndex:i}}var V=class{constructor(e,n){this.groups=e.reduce((r,o)=>{var a;let i=n(o.args);return r[i]=(a=r[i])!=null?a:[],r[i].push(o),r},{})}resolveKey(e,n){this.groups[e].forEach(r=>r.resolve(n))}resolveRemaining(e){Object.keys(this.groups).forEach(n=>{this.groups[n].forEach(r=>{r.isCompleted||r.resolve(e)})})}};var v=class{constructor(){this._paramMatches=Array();this._dataMatches=new Map}parameter(e){return this._paramMatches.push({enhancer:this._resolveParameterEnhancer(e)}),this}parameterName(e,n){return(Array.isArray(e)?e:[e]).forEach(o=>this._paramMatches.push({name:o,enhancer:this._resolveParameterEnhancer(n)})),this}parameterType(e,n){return(Array.isArray(e)?e:[e]).forEach(o=>this._paramMatches.push({type:o,enhancer:this._resolveParameterEnhancer(n)})),this}data(e,n){if(this._dataMatches.has(e))throw new Error(`${e} enhancer data key has been used more than once. This will cause data loss.`);return this._dataMatches.set(e,typeof n=="function"?{enhanceOne:n}:n),this}resolveParameterEnhancer(e,n){var r;return(r=this._paramMatches.find(o=>o.name&&o.name===e||o.type&&o.type===n.type||!o.type&&!o.name))==null?void 0:r.enhancer}resolveComponentEnhancers(){return this._dataMatches}_resolveParameterEnhancer(e){return typeof e=="function"?{enhanceOne:e}:e}},B=class{constructor(){this._componentIndex={};this._rootBuilder=new v}parameter(e){return this._rootBuilder.parameter(e),this}parameterName(e,n){return this._rootBuilder.parameterName(e,n),this}parameterType(e,n){return this._rootBuilder.parameterType(e,n),this}data(e,n){return this._rootBuilder.data(e,n),this}component(e,n){return(Array.isArray(e)?e:[e]).forEach(o=>{this._componentIndex[o]=this._componentIndex[o]||new v,n(this._componentIndex[o])}),this}resolveParameterEnhancer(e,n,r){let o=this._componentIndex[e.type];if(o){let i=o.resolveParameterEnhancer(n,r);if(i)return i}return this._rootBuilder.resolveParameterEnhancer(n,r)}resolveComponentEnhancers(e){let n=this._rootBuilder.resolveComponentEnhancers(),r=this._componentIndex[e.type];if(r){n=new Map(n);for(let[o,i]of r.resolveComponentEnhancers())n.set(o,i)}return n}};var w=class{constructor(e,n,r){this._resolve=e;this._reject=n;this.args=r;this._isCompleted=!1}resolve(e){this._resolve(e),this._isCompleted=!0}reject(e){this._reject(e),this._isCompleted=!0}get isCompleted(){return this._isCompleted}};function je({handleBatch:t,shouldQueue:e,limitPolicy:n}){let r=[];return{enhanceOne:async a=>{if(!e||e(a))return new Promise((s,c)=>{r.push(new w(s,c,a))})},completeAll:async()=>{if(r.length>0){try{await t(r)}catch(s){r.forEach(c=>c.reject(s))}if(r.some(s=>!s.isCompleted))throw new Error("The completeAll() function failed to resolve or reject all promises in the batch!")}let a=r.length;return r=[],a},limitPolicy:n}}var I=class extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}};function R({limit:t,interval:e,strict:n}){if(!Number.isFinite(t))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(e))throw new TypeError("Expected `interval` to be a finite number");let r=new Map,o=0,i=0;function a(){let m=Date.now();return m-o>e?(i=1,o=m,0):(i<t?i++:(o+=e,i=1),o-m)}let s=[];function c(){let m=Date.now();if(s.length<t)return s.push(m),0;let l=s.shift()+e;return m>=l?(s.push(m),0):(s.push(l),l-m)}let p=n?c:a;return m=>{let l=function(...h){if(!l.isEnabled)return(async()=>m.apply(this,h))();let y;return new Promise((E,re)=>{y=setTimeout(()=>{E(m.apply(this,h)),r.delete(y)},p()),r.set(y,re)})};return l.abort=()=>{for(let h of r.keys())clearTimeout(h),r.get(h)(new I);r.clear(),s.splice(0,s.length)},l.isEnabled=!0,l}}var Z=me(z(),1),he=new Set(["Failed to fetch","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Network request failed"]),b=class extends Error{constructor(e){super(),e instanceof Error?(this.originalError=e,{message:e}=e):(this.originalError=new Error(e),this.originalError.stack=this.stack),this.name="AbortError",this.message=e}},fe=(t,e,n)=>{let r=n.retries-(e-1);return t.attemptNumber=e,t.retriesLeft=r,t},de=t=>he.has(t),J=t=>globalThis.DOMException===void 0?new Error(t):new DOMException(t);async function S(t,e){return new Promise((n,r)=>{e={onFailedAttempt(){},retries:10,...e};let o=Z.default.operation(e);o.attempt(async i=>{try{n(await t(i))}catch(a){if(!(a instanceof Error)){r(new TypeError(`Non-error was thrown: "${a}". You should only throw errors.`));return}if(a instanceof b)o.stop(),r(a.originalError);else if(a instanceof TypeError&&!de(a.message))o.stop(),r(a);else{fe(a,i,e);try{await e.onFailedAttempt(a)}catch(s){r(s);return}o.retry(a)||r(o.mainError())}}}),e.signal&&!e.signal.aborted&&e.signal.addEventListener("abort",()=>{o.stop();let i=e.signal.reason===void 0?J("The operation was aborted."):e.signal.reason;r(i instanceof Error?i:J(i))},{once:!0})})}function W({throttle:t={interval:1e3,limit:10},retry:e={retries:1,factor:1.66}}){let n=t?R(t):null;return function(o){let i=async()=>await o();if(n&&(i=n(i)),e){let a=i;i=()=>S(a,e)}return i()}}var d=async t=>await t();async function Qe({composition:t,enhancers:e,context:n,onErrors:r=o=>{throw new Error(o.map(i=>`${i.message}
|
2
|
+
${typeof i.error=="object"&&"stack"in i.error?i.error.stack:i.error}`).join(`
|
3
|
+
|
4
|
+
`))}}){let o=[],i=new Set,a=new Set;_(t,(c,p)=>{var l;Object.entries((l=c.parameters)!=null?l:{}).forEach(([h,y])=>{let E=e.resolveParameterEnhancer(c,h,y);E&&(a.add(E),o.push(Ce(c,p,h,y,E,n)))});let m=e.resolveComponentEnhancers(c);o.push(ye(c,p,m,n)),i.add(m)}),o.push(...Array.from(i).flatMap(c=>Array.from(c).map(async([,p])=>{var m;try{p.completeAll&&await((m=p.limitPolicy)!=null?m:d)(()=>p.completeAll())}catch(l){return{error:l,message:"Batch component enhancer failed. Individual failed components should receive their own rejections."}}}))),o.push(...Array.from(a).map(async c=>{var p;try{c.completeAll&&await((p=c.limitPolicy)!=null?p:d)(()=>c.completeAll())}catch(m){return{error:m,message:"Batch parameter enhancer failed. Individual failed parameters should receive their own rejections."}}}));let s=(await Promise.all(o)).flatMap(c=>Array.isArray(c)?c:[c]).filter(c=>c);s.length&&r(s)}async function ye(t,e,n,r){return n.size&&(t.data={}),await Promise.all(Array.from(n).map(async([o,i])=>{var a;try{let c=await(i.completeAll?d:(a=i.limitPolicy)!=null?a:d)(async()=>i.enhanceOne({component:t,context:r}));c!=null&&(t.data[o]=c)}catch(s){let c=`Component ${g(e)} (type: ${t.type}): data.${o} enhancer threw exception. Data key will not be present.`;return delete t.data[o],{message:c,error:s}}}))}async function Ce(t,e,n,r,o,i){var a;try{let c=await(o.completeAll?d:(a=o.limitPolicy)!=null?a:d)(async()=>o.enhanceOne({parameter:r,parameterName:n,component:t,context:i}));c===null?delete t.parameters[n]:typeof c=="undefined"?t.parameters[n]={...r,value:r.value}:t.parameters[n]={...r,value:c}}catch(s){let c=`Component ${g(e)} (type: ${t.type}): enhancing parameter ${n} (type: ${r.type}) threw exception. Parameter will be removed.`;return delete t.parameters[n],{message:c,error:s}}}var Xe=(t,...e)=>({enhanceOne:r=>{let o="enhanceOne"in t?t.enhanceOne(r):t(r);for(let i of e){let a=Ee(o)?o:Promise.resolve(o),s="enhanceOne"in i?i.enhanceOne:i;o=a.then(c=>s({...r,parameter:{type:r.parameter.type,value:c}}))}return o},completeAll:async()=>{var r,o;for(let i of e)if("completeAll"in i)throw new Error("Only the first enhancer in a compose chain can use the completeAll function (batching)");return(o="completeAll"in t?(r=t.completeAll)==null?void 0:r.call(t):0)!=null?o:0}});function Ee(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}import{ApiClient as Pe}from"@uniformdev/context/api";var O=class extends Pe{constructor(e){e.limitPolicy||(e.limitPolicy=W({})),super(e)}get canvasUrl(){return this.options.experiment14?"/api/edge/v1/composition":"/api/v1/canvas"}async getCompositionList(e){let{projectId:n}=this.options,r=this.createUrl(this.canvasUrl,{...e,projectId:n});return await this.apiClient(r)}async getCompositionBySlug(e){let{projectId:n}=this.options,r=this.createUrl(this.canvasUrl,{...e,projectId:n});return await this.apiClient(r)}async getCompositionById(e){let{projectId:n}=this.options,r=this.createUrl(this.canvasUrl,{...e,projectId:n});return await this.apiClient(r)}async updateComposition(e){let n=this.createUrl("/api/v1/canvas");await this.apiClient(n,{method:"PUT",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}async removeComposition(e){let n=this.createUrl("/api/v1/canvas"),{projectId:r}=this.options;await this.apiClient(n,{method:"DELETE",body:JSON.stringify({...e,projectId:r}),expectNoContent:!0})}async getComponentDefinitions(e){let{projectId:n}=this.options,r=this.createUrl("/api/v1/canvas-definitions",{...e,projectId:n});return await this.apiClient(r)}async updateComponentDefinition(e){let n=this.createUrl("/api/v1/canvas-definitions");await this.apiClient(n,{method:"PUT",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}async removeComponentDefinition(e){let n=this.createUrl("/api/v1/canvas-definitions");await this.apiClient(n,{method:"DELETE",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}},H=class extends O{constructor(e){super({...e,bypassCache:!0})}};import{ApiClient as Te}from"@uniformdev/context/api";var N="/api/v1/data-connection",Ae="/api/v1/data-connections",q=class extends Te{constructor(e){super(e)}async get(e){let{projectId:n}=this.options,r=this.createUrl(N,{...e,projectId:n});return await this.apiClient(r)}async getList(e){let{projectId:n}=this.options,r=this.createUrl(Ae,{...e,projectId:n});return await this.apiClient(r)}async upsert(e){let n=this.createUrl(N);await this.apiClient(n,{method:"PUT",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}async remove(e){let n=this.createUrl(N);await this.apiClient(n,{method:"DELETE",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}};import{ApiClient as _e}from"@uniformdev/context/api";var C,A=class extends _e{constructor(e){super(e)}async get(e){let{projectId:n}=this.options,r=this.createUrl(T(A,C),{...e,projectId:n});return await this.apiClient(r)}async upsert(e){let n=this.createUrl(T(A,C));await this.apiClient(n,{method:"PUT",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}async remove(e){let n=this.createUrl(T(A,C));await this.apiClient(n,{method:"DELETE",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}},D=A;C=new WeakMap,j(D,C,"/api/v1/data-types");var ht="$personalization",ft="$test",Y="$localization",dt="intentTag",Q="locale",yt="pz",Ct="test",K="localized",Et=0,Pt=64,X="$pzCrit",ee="$tstVrnt",Tt="$enr";var _t=t=>t.startsWith("$");function gt(t){return t?t.map((e,n)=>{var i,a;let r=(a=(i=e.parameters)==null?void 0:i[X])==null?void 0:a.value,o=(r==null?void 0:r.name)||`pz-${n}-${e.type}`;return{...e,id:o,pz:r}}):[]}function Rt(t){return t?t.map((e,n)=>{var i,a,s;let r=(a=(i=e.parameters)==null?void 0:i[ee])==null?void 0:a.value,o=(s=r==null?void 0:r.id)!=null?s:"testId"in e?e.testId:`ab-${n}-${e.type}`;return{...e,id:o}}):[]}var te="https://js.pusher.com/7.0.3/pusher.min.js";async function ve(){if(!(typeof document=="undefined"||typeof window=="undefined"))return window.Pusher?window.Pusher:new Promise((t,e)=>{let n=setTimeout(()=>{window.Pusher&&t(window.Pusher),e(`Unable to load pusher.js; Uniform Canvas live preview disabled. Consider adding <script src="${te}"><\/script> manually.`)},5e3),r=document.createElement("script");r.src=te,r.addEventListener("load",()=>{clearTimeout(n),t(window.Pusher)}),document.head.appendChild(r)})}async function St(){let t=await ve();if(!t)return;let e=window.__UNIFORM_EVENT_BUS__;if(!e){let n=new t("7b5f5abd160fea549ffe",{cluster:"mt1"});n.connect(),console.log("[canvas] \u{1F525} preview connected"),e=window.__UNIFORM_EVENT_BUS__={subscribe:r=>{let o=n.subscribe(r);return{unsubscribe:()=>n.unsubscribe(r),addEventHandler:(i,a)=>(o.bind(i,a),()=>o.unbind(i,a))}}}}return e}function ne(t,e,n){return`${t}.${e}@${n}`}function Ut({projectId:t,compositionId:e,compositionState:n=0,eventBus:{subscribe:r},callback:o,event:i="updated"}){let a=ne(t,e,n),s=r(a),c=s.addEventHandler(i,o);return()=>{c(),s.unsubscribe()}}function xe({component:t}){var r;let e={},n=(r=t.slots)==null?void 0:r[K];return n==null||n.forEach(o=>{var a;let i=(a=o.parameters)==null?void 0:a[Q];(i==null?void 0:i.value)&&typeof i.value=="string"&&(e[i.value]=e[i.value]||[],e[i.value].push(o))}),e}function Vt({composition:t,locale:e}){_(t,(n,r,o)=>{if(n.type===Y){let i=xe({component:n}),a=typeof e=="string"?e:e({component:n,locales:i}),s;if(a&&(s=i[a]),s!=null&&s.length){let[c,...p]=s;o.replaceComponent(c),p.length&&o.insertAfter(p)}else o.removeComponent()}})}export{we as a,Ie as b,x as c,Re as d,me as e,be as f,Se as g,T as h,j as i,le as j,Oe as k,_ as l,g as m,V as n,v as o,B as p,w as q,je as r,W as s,d as t,Qe as u,Xe as v,O as w,H as x,q as y,D as z,ht as A,ft as B,Y as C,dt as D,Q as E,yt as F,Ct as G,K as H,Et as I,Pt as J,X as K,ee as L,Tt as M,_t as N,gt as O,Rt as P,St as Q,ne as R,Ut as S,xe as T,Vt as U};
|
package/dist/cli/cli.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { UniformCLIPlugin } from '@uniformdev/cli';
|
2
|
-
import {
|
2
|
+
import { H as CanvasDefinitions } from '../createEventBus-b9cdb6ff.js';
|
3
3
|
import { UniformPackage } from '@uniformdev/cli/sync';
|
4
4
|
import 'pusher-js';
|
5
5
|
|