homebirdscomponents
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -1828,4 +1828,4 @@ 'use strict'; | ||
} | ||
this.performingSearch = setTimeout(ths => { | ||
ths.results = this.fuse.search(this.searchTerms.trim()); | ||
this.performingSearch = setTimeout(async (ths) => { | ||
ths.results = await this.fuse.search(this.searchTerms.trim()); | ||
ths.results.splice(this.maxResultsShown); | ||
@@ -1835,3 +1835,3 @@ if (ths.results.length) { | ||
} | ||
}, 500, this); | ||
}, 400, this); | ||
} | ||
@@ -1838,0 +1838,0 @@ changeTerms(item) { |
@@ -53,4 +53,4 @@ import { Component, Prop, h, Element, Event, State, Watch, Listen } from '@stencil/core'; | ||
} | ||
this.performingSearch = setTimeout(ths => { | ||
ths.results = this.fuse.search(this.searchTerms.trim()); | ||
this.performingSearch = setTimeout(async (ths) => { | ||
ths.results = await this.fuse.search(this.searchTerms.trim()); | ||
ths.results.splice(this.maxResultsShown); | ||
@@ -60,3 +60,3 @@ if (ths.results.length) { | ||
} | ||
}, 500, this); | ||
}, 400, this); | ||
} | ||
@@ -63,0 +63,0 @@ changeTerms(item) { |
@@ -1971,4 +1971,4 @@ import { attachShadow, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client'; | ||
} | ||
this.performingSearch = setTimeout(ths => { | ||
ths.results = this.fuse.search(this.searchTerms.trim()); | ||
this.performingSearch = setTimeout(async (ths) => { | ||
ths.results = await this.fuse.search(this.searchTerms.trim()); | ||
ths.results.splice(this.maxResultsShown); | ||
@@ -1978,3 +1978,3 @@ if (ths.results.length) { | ||
} | ||
}, 500, this); | ||
}, 400, this); | ||
} | ||
@@ -1981,0 +1981,0 @@ changeTerms(item) { |
@@ -1824,4 +1824,4 @@ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-ab3cece5.js'; | ||
} | ||
this.performingSearch = setTimeout(ths => { | ||
ths.results = this.fuse.search(this.searchTerms.trim()); | ||
this.performingSearch = setTimeout(async (ths) => { | ||
ths.results = await this.fuse.search(this.searchTerms.trim()); | ||
ths.results.splice(this.maxResultsShown); | ||
@@ -1831,3 +1831,3 @@ if (ths.results.length) { | ||
} | ||
}, 500, this); | ||
}, 400, this); | ||
} | ||
@@ -1834,0 +1834,0 @@ changeTerms(item) { |
@@ -1,1 +0,1 @@ | ||
import{p as e,b as a}from"./p-6e605cc7.js";(()=>{const a=import.meta.url,s={};return""!==a&&(s.resourcesUrl=new URL(".",a).href),e(s)})().then(e=>a([["p-8db36953",[[1,"ba-google-map",{apiKey:[1,"api-key"],centerLat:[2,"map-center-lat"],centerLon:[2,"map-center-lon"],zoom:[2,"map-zoom"],mapPins:[16],height:[1,"map-height"],disableControls:[4,"map-disable-controls"],google:[32],map:[32],markers:[32]}]]],["p-a6d8e8d5",[[1,"ba-search-input",{value:[1025],suggestions:[16],placeholder:[1],maxResultsShown:[2,"max-results"],searchTerms:[32],fuse:[32],results:[32],suggestionsPaneOpen:[32]},[[0,"blur","handleElementBlur"]]]]],["p-ba85ba80",[[1,"ba-text-input-one",{type:[513],placeholder:[513],value:[1537]}]]]],e)); | ||
import{p as e,b as a}from"./p-6e605cc7.js";(()=>{const a=import.meta.url,s={};return""!==a&&(s.resourcesUrl=new URL(".",a).href),e(s)})().then(e=>a([["p-8db36953",[[1,"ba-google-map",{apiKey:[1,"api-key"],centerLat:[2,"map-center-lat"],centerLon:[2,"map-center-lon"],zoom:[2,"map-zoom"],mapPins:[16],height:[1,"map-height"],disableControls:[4,"map-disable-controls"],google:[32],map:[32],markers:[32]}]]],["p-e8913a65",[[1,"ba-search-input",{value:[1025],suggestions:[16],placeholder:[1],maxResultsShown:[2,"max-results"],searchTerms:[32],fuse:[32],results:[32],suggestionsPaneOpen:[32]},[[0,"blur","handleElementBlur"]]]]],["p-ba85ba80",[[1,"ba-text-input-one",{type:[513],placeholder:[513],value:[1537]}]]]],e)); |
{ | ||
"name": "homebirdscomponents", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"description": "Stencil Component Starter", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
502696