hotstaq 0.9.12 → 0.9.13

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.
@@ -229,7 +229,7 @@ h=new B.HotTesterAPI(h.testerAPIBaseUrl,q);h.connection.api=h;g.testerAPI=h}}sta
229
229
  h}static onInitalLoad(g){"complete"===document.readyState||"interactive"===document.readyState?g():window.addEventListener("load",g,{once:!0})}static displayUrl(g){return k(this,arguments,void 0,function*(h,q=null,f=null,y=null){return new Promise((C,G)=>{z.onInitalLoad(()=>k(this,void 0,void 0,function*(){var F={url:""};F.name=null==q?"string"==typeof h?h:h.name:q;""===F.name&&(F.name="string"==typeof h?h:h.name);"string"==typeof h?F.url=h:(F.url=h.url,null==f&&null!=h.processor&&(f=h.processor),
230
230
  null==y&&null!=h.args&&(y=h.args),null!=h.testerMap&&(F.testerMap=h.testerMap),null!=h.testerName&&(F.testerName=h.testerName),null!=h.testerAPIBaseUrl&&(F.testerAPIBaseUrl=h.testerAPIBaseUrl));null==f&&(f=new z);f.mode===a.DeveloperMode.Development&&(a.Hot.Debugger.benchmark=!0);z.setupTesters(f,F);F.processor=f;F.args=y;F.url.indexOf("hstqserve")<0&&(F.url+="?hstqserve=nahfam");F=yield z.processUrl(F);F+=z.setupClientTesters(f);yield z.useOutput(F);C(f)}))})})}static displayContent(g){return k(this,
231
231
  arguments,void 0,function*(h,q=null,f=null,y=null){return new Promise((C,G)=>{z.onInitalLoad(()=>k(this,void 0,void 0,function*(){var F={content:""};F.name=null==q?"string"==typeof h?"":h.name:q;""===F.name&&(F.name="string"==typeof h?"":h.name);"string"==typeof h?F.content=h:(F.content=h.content,null==f&&null!=h.processor&&(f=h.processor),null==y&&null!=h.args&&(y=h.args),null!=h.testerMap&&(F.testerMap=h.testerMap),null!=h.testerName&&(F.testerName=h.testerName),null!=h.testerAPIBaseUrl&&(F.testerAPIBaseUrl=
232
- h.testerAPIBaseUrl));null==f&&(f=new z);z.setupTesters(f,F);F.processor=f;F.args=y;F=yield z.processContent(F);yield z.useOutput(F);C(f)}))})})}}p.HotStaq=z;z.version="0.9.12";z.isWeb=!1;z.isReadyForTesting=!1;z.onReadyForTesting=null;z.onOutputReceived=null;z.onReadyEvent=null;z.dispatchReadyEvents=!0;z.spaTarget=null;z.routerManager={};z.routerWildcards=[];z.spaProcessor=null;z.spaEnabled=!1;z.onBeforeNavigate=null;z.onAfterNavigate=null;z.onRouteNotFound=null;z.autoInstallFetchInterceptors=!0;
232
+ h.testerAPIBaseUrl));null==f&&(f=new z);z.setupTesters(f,F);F.processor=f;F.args=y;F=yield z.processContent(F);yield z.useOutput(F);C(f)}))})})}}p.HotStaq=z;z.version="0.9.13";z.isWeb=!1;z.isReadyForTesting=!1;z.onReadyForTesting=null;z.onOutputReceived=null;z.onReadyEvent=null;z.dispatchReadyEvents=!0;z.spaTarget=null;z.routerManager={};z.routerWildcards=[];z.spaProcessor=null;z.spaEnabled=!1;z.onBeforeNavigate=null;z.onAfterNavigate=null;z.onRouteNotFound=null;z.autoInstallFetchInterceptors=!0;
233
233
  z.navAbort=null;z.fetchInterceptorsInstalled=!1;z.fetchInterceptorOptions={};z.errors={};z.preValidate=null;z.valids={};z.postValidate=null;z.setupValidators();"undefined"!=typeof document&&(window.HotAPI=J.HotAPI,window.addEventListener("load",r.hotStaqWebStart,{once:!0}))},[6019](J,p,v){Object.defineProperty(p,"__esModule",{value:!0});p.registerComponent=function(r,n){if(null==r||""===r)throw Error("All components must have a tag!");if(void 0===customElements.get(r)){var l=this.components;customElements.define(r,
234
234
  class extends HTMLElement{constructor(){super();var d=l[r];if(this.component=new d.componentType(d.processor,d.api),this.hotComponent=this.component,this.component.htmlElements=[this],this.component.inner=this.innerHTML,null!=this.component.handleAttributes)this.component.handleAttributes(this.attributes);else for(d=0;d<this.attributes.length;d++){var b=this.attributes[d],c=b.name.toLowerCase();b=b.value;if("id"===c&&(this.component.name=b),"name"===c&&(this.component.name=b),"value"===c&&(this.component.value=
235
235
  b),c.indexOf("hot-")>-1)c=c.substring(4),this.component[c]=b}if(null==this.component.onPreOutput||!1!==this.component.onPreOutput())for(c=this.component.output(),null!=this.component.onPostOutput&&(c=this.component.onPostOutput(c)),d=[],"string"==typeof c?d.push({html:c}):d=c instanceof Array?c:[c],c=0;c<d.length;c++){b=d[c];var e=b.html,u="",a=this.component["place-here"];null!=b.addFunctionsTo&&(u=b.addFunctionsTo);null!=a&&(b.documentSelector=`hot-place-here[name="${a}"]`);e=w.HotFile.parseContent(e,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hotstaq",
3
- "version": "0.9.12",
3
+ "version": "0.9.13",
4
4
  "description": "A friendly web framework that fits nicely into devops and CI/CD pipelines.",
5
5
  "bin": {
6
6
  "hotstaq": "./bin/hotstaq"
package/src/HotStaq.ts CHANGED
@@ -238,7 +238,7 @@ export class HotStaq implements IHotStaq
238
238
  /**
239
239
  * The current version of HotStaq.
240
240
  */
241
- static version: string = "0.9.12";
241
+ static version: string = "0.9.13";
242
242
  /**
243
243
  * Indicates if this is a web build.
244
244
  */
@@ -418,7 +418,10 @@ export class HotTestSeleniumDriver extends HotTestDriver
418
418
  }
419
419
  }
420
420
 
421
- this.processor.logger.verbose (`HotTestSeleniumDriver: findTestElement - Found ${nameStr}`);
421
+ if (foundElm != null)
422
+ this.processor.logger.verbose (`HotTestSeleniumDriver: findTestElement - Found ${nameStr}`);
423
+ else
424
+ this.processor.logger.verbose (`HotTestSeleniumDriver: findTestElement - Not found ${nameStr}`);
422
425
 
423
426
  return (foundElm);
424
427
  }