@fluid-topics/ft-search-bar 1.1.67 → 1.1.68
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.
|
@@ -2778,9 +2778,9 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
|
|
|
2778
2778
|
`}onSearchBarKeyDown(t){var e;switch(t.key){case"Escape":this.searchBar.mobileMenuOpen=!1,null===(e=this.searchBar.input)||void 0===e||e.blur();break;case"ArrowDown":t.stopPropagation(),t.preventDefault(),this.suggestManager.focusFirstSuggestion()}}onSearchBarKeyUp(t){"Enter"===t.key&&this.searchBar.launchSearch()}onInput(t){const e=t.composedPath()[0];this.searchBar.query=e.value}}Ur.styles=o.css`
|
|
2779
2779
|
|
|
2780
2780
|
`;const Rr=o.css`
|
|
2781
|
-
`,Wr=e.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1}});class Zr{static get(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Wr.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static await(t){return new Promise((e=>{let o=Zr.get(t);if(o)e(o);else{const i=Wr.subscribe((()=>{o=Zr.get(t),o&&(i(),e(o))}))}}))}}class Br{constructor(t=!0,o){var i;this.overrideApi=o;let r=this.constructor;r.commonCache=null!==(i=r.commonCache)&&void 0!==i?i:new e.CacheRegistry,this.cache=t?r.commonCache:new e.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Zr.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Zr.await()}clearCache(){this.cache.clearAll()}}var Fr;const Dr=Symbol("clearAfterUnitTest");class Kr extends Br{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Fr]=()=>{this.defaultMessages={},this.cache=new e.CacheRegistry,this.listeners={}},this.currentUiLocale=Wr.getState().uiLocale,Wr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Wr.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var i;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...o};e.deepEqual(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...i){var r,a,n;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(a=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==a?a:{};return new e.ParametrizedLabelResolver(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},l).resolve(o,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>e.delay(0).then((()=>t())).catch((()=>null)))))}}Fr=Dr,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Kr{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Kr{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const Ar=window.FluidTopicsI18nService;var Hr=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Mr extends e.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.
|
|
2781
|
+
`,Wr=e.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});class Zr{static get(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Wr.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static await(t){return new Promise((e=>{let o=Zr.get(t);if(o)e(o);else{const i=Wr.subscribe((()=>{o=Zr.get(t),o&&(i(),e(o))}))}}))}}class Br{constructor(t=!0,o){var i;this.overrideApi=o;let r=this.constructor;r.commonCache=null!==(i=r.commonCache)&&void 0!==i?i:new e.CacheRegistry,this.cache=t?r.commonCache:new e.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Zr.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Zr.await()}clearCache(){this.cache.clearAll()}}var Fr;const Dr=Symbol("clearAfterUnitTest");class Kr extends Br{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Fr]=()=>{this.defaultMessages={},this.cache=new e.CacheRegistry,this.listeners={}},this.currentUiLocale=Wr.getState().uiLocale,Wr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Wr.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var i;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...o};e.deepEqual(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...i){var r,a,n;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(a=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==a?a:{};return new e.ParametrizedLabelResolver(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},l).resolve(o,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>e.delay(0).then((()=>t())).catch((()=>null)))))}}Fr=Dr,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Kr{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Kr{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const Ar=window.FluidTopicsI18nService;var Hr=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Mr extends e.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Zr.get(),this.messageContexts=[],this.cache=new e.CacheRegistry,this.cleanSessionDebouncer=new e.Debouncer}render(){return o.html`
|
|
2782
2782
|
<slot></slot>
|
|
2783
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(Wr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Wr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Wr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Wr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Wr.actions.noCustom(this.noCustom),t.has("editorMode")&&Wr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Wr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Wr.actions.session(this.session),t.has("availableUiLocales")&&Wr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Ar.addContext(t))),t.has("openExternalDocumentInNewTab")&&Wr.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Mr.elementDefinitions={},Mr.styles=Rr,Hr([i.property()],Mr.prototype,"baseUrl",void 0),Hr([i.property()],Mr.prototype,"apiIntegrationIdentifier",void 0),Hr([i.property()],Mr.prototype,"uiLocale",void 0),Hr([e.jsonProperty(null)],Mr.prototype,"availableUiLocales",void 0),Hr([e.jsonProperty(null)],Mr.prototype,"metadataConfiguration",void 0),Hr([i.property({type:Boolean})],Mr.prototype,"editorMode",void 0),Hr([i.property({type:Boolean})],Mr.prototype,"noCustom",void 0),Hr([i.property({type:Boolean})],Mr.prototype,"openExternalDocumentInNewTab",void 0),Hr([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Mr.prototype,"noCustomComponent",void 0),Hr([i.property({type:Boolean})],Mr.prototype,"withManualResources",void 0),Hr([
|
|
2783
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(Wr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Wr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Wr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Wr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Wr.actions.noCustom(this.noCustom),t.has("editorMode")&&Wr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Wr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Wr.actions.session(this.session),t.has("availableUiLocales")&&Wr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Ar.addContext(t))),t.has("openExternalDocumentInNewTab")&&Wr.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&Wr.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&Wr.actions.forcedOffline(this.forcedOffline),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Mr.elementDefinitions={},Mr.styles=Rr,Hr([i.property()],Mr.prototype,"baseUrl",void 0),Hr([i.property()],Mr.prototype,"apiIntegrationIdentifier",void 0),Hr([i.property()],Mr.prototype,"uiLocale",void 0),Hr([e.jsonProperty(null)],Mr.prototype,"availableUiLocales",void 0),Hr([e.jsonProperty(null)],Mr.prototype,"metadataConfiguration",void 0),Hr([i.property({type:Boolean})],Mr.prototype,"editorMode",void 0),Hr([i.property({type:Boolean})],Mr.prototype,"noCustom",void 0),Hr([i.property({type:Boolean})],Mr.prototype,"openExternalDocumentInNewTab",void 0),Hr([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Mr.prototype,"noCustomComponent",void 0),Hr([i.property({type:Boolean})],Mr.prototype,"withManualResources",void 0),Hr([i.property({type:Boolean})],Mr.prototype,"navigatorOnline",void 0),Hr([i.property({type:Boolean})],Mr.prototype,"forcedOffline",void 0),Hr([i.property({type:Object})],Mr.prototype,"apiProvider",void 0),Hr([e.jsonProperty([])],Mr.prototype,"messageContexts",void 0),Hr([e.jsonProperty(void 0)],Mr.prototype,"session",void 0);class Pr extends Br{async listMySearches(){let t=Wr.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class jr extends Br{async listMyBookmarks(){let t=Wr.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Tr=e.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Wr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new jr,this.savedSearchesService=new Pr,Wr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=Wr.getState();e.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Tr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Tr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Tr.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Tr.actions.bookmarks(e)}}},e.customElement("ft-app-context")(Mr);var Gr=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};null==window.fluidtopics&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");const _r={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove",back:"Back"};class Vr extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}}class qr extends CustomEvent{constructor(t){super("change",{detail:t})}}const Yr=()=>{};class Xr extends e.FtLitElement{isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}constructor(){super(),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new e.ParametrizedLabelResolver(_r,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=t=>e.serializeRequest(this.baseUrl,t),this.focusOnDisplay=!1,this.searchFilters=[],this.sizeCategory=l.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new Er(this),this.selectedFacetsManager=new zr(this),this.desktopSearchBarManager=new Ur(this),this.mobileSearchBarManager=new Lr(this,this.selectedFacetsManager,this.suggestManager),this.currentSession=Wr.getState().session,this.stateChangeEventDebouncer=new e.Debouncer(10),this.updateLocalesDebouncer=new e.Debouncer(10),this.facetsLoaded=!1,this.updateFacetsDebouncer=new e.Debouncer(500),this.closeFloatingContainer=t=>{this.isMobile()||(this.displayFacets=this.displayFacets&&t.composedPath().some((t=>t===this.floatingContainer)))},this.compareFilters=(t,e)=>t.key===e.key&&t.negative==e.negative&&t.values.length===e.values.length&&t.values.every((t=>e.values.includes(t))),this.compareRequests=(t,e)=>(null==t.contentLocale||null==e.contentLocale||t.contentLocale===e.contentLocale)&&t.filters.length===e.filters.length&&t.filters.every((t=>e.filters.some((e=>this.compareFilters(t,e))))),this.enableFocusReactionCallback=()=>this.enableFocusReaction(),Wr.subscribe((()=>this.reloadWhenUserSessionChanges()))}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){const t=this.searchFilters.filter((t=>t.values.length>0&&!this.displayedFilters.includes(t.key))).map((t=>({id:t.key})));return[...this.displayedFilters.map((t=>({id:t}))),...t]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===l.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return null!=this.presets&&this.presets.length>0}get hasPriors(){return null!=this.priors&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var t;null===(t=this.container)||void 0===t||t.focus()}async focusInput(t=!1){this.reactToFocus=t,await e.waitFor((()=>this.input),50),this.input.focus(),t||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return o.html`
|
|
2784
2784
|
<ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
|
|
2785
2785
|
${this.renderSearchBar()}
|
|
2786
2786
|
`}renderSearchBar(){return this.facetsInitialized&&this.availableContentLocalesInitialized?this.isMobile()?this.mobileSearchBarManager.render():this.desktopSearchBarManager.render():o.html`
|
|
@@ -2946,9 +2946,9 @@ const vs=Symbol.for(""),xs=t=>{if(t?.r===vs)return t?._$litStatic$},ws=t=>({_$li
|
|
|
2946
2946
|
`}onSearchBarKeyDown(t){var e;switch(t.key){case"Escape":this.searchBar.mobileMenuOpen=!1,null===(e=this.searchBar.input)||void 0===e||e.blur();break;case"ArrowDown":t.stopPropagation(),t.preventDefault(),this.suggestManager.focusFirstSuggestion()}}onSearchBarKeyUp(t){"Enter"===t.key&&this.searchBar.launchSearch()}onInput(t){const e=t.composedPath()[0];this.searchBar.query=e.value}}Gh.styles=pt`
|
|
2947
2947
|
|
|
2948
2948
|
`;const qh=pt`
|
|
2949
|
-
`,Yh=es.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1}});class Jh{static get(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Yh.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static await(t){return new Promise((e=>{let o=Jh.get(t);if(o)e(o);else{const i=Yh.subscribe((()=>{o=Jh.get(t),o&&(i(),e(o))}))}}))}}class Xh{constructor(t=!0,e){var o;this.overrideApi=e;let i=this.constructor;i.commonCache=null!==(o=i.commonCache)&&void 0!==o?o:new ro,this.cache=t?i.commonCache:new ro}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Jh.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Jh.await()}clearCache(){this.cache.clearAll()}}var Qh;const tf=Symbol("clearAfterUnitTest");class ef extends Xh{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Qh]=()=>{this.defaultMessages={},this.cache=new ro,this.listeners={}},this.currentUiLocale=Yh.getState().uiLocale,Yh.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Yh.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};bo(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var i,r,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(r=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==r?r:{};return new on(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>ho(0).then((()=>t())).catch((()=>null)))))}}Qh=tf,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends ef{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends ef{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const of=window.FluidTopicsI18nService;var rf=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class nf extends _r{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.
|
|
2949
|
+
`,Yh=es.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});class Jh{static get(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Yh.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static await(t){return new Promise((e=>{let o=Jh.get(t);if(o)e(o);else{const i=Yh.subscribe((()=>{o=Jh.get(t),o&&(i(),e(o))}))}}))}}class Xh{constructor(t=!0,e){var o;this.overrideApi=e;let i=this.constructor;i.commonCache=null!==(o=i.commonCache)&&void 0!==o?o:new ro,this.cache=t?i.commonCache:new ro}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Jh.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Jh.await()}clearCache(){this.cache.clearAll()}}var Qh;const tf=Symbol("clearAfterUnitTest");class ef extends Xh{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Qh]=()=>{this.defaultMessages={},this.cache=new ro,this.listeners={}},this.currentUiLocale=Yh.getState().uiLocale,Yh.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Yh.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};bo(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var i,r,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(r=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==r?r:{};return new on(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>ho(0).then((()=>t())).catch((()=>null)))))}}Qh=tf,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends ef{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends ef{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const of=window.FluidTopicsI18nService;var rf=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class nf extends _r{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Jh.get(),this.messageContexts=[],this.cache=new ro,this.cleanSessionDebouncer=new lo}render(){return Jt`
|
|
2950
2950
|
<slot></slot>
|
|
2951
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(Yh.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Yh.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Yh.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Yh.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Yh.actions.noCustom(this.noCustom),t.has("editorMode")&&Yh.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Yh.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Yh.actions.session(this.session),t.has("availableUiLocales")&&Yh.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>of.addContext(t))),t.has("openExternalDocumentInNewTab")&&Yh.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}nf.elementDefinitions={},nf.styles=qh,rf([Oe()],nf.prototype,"baseUrl",void 0),rf([Oe()],nf.prototype,"apiIntegrationIdentifier",void 0),rf([Oe()],nf.prototype,"uiLocale",void 0),rf([mo(null)],nf.prototype,"availableUiLocales",void 0),rf([mo(null)],nf.prototype,"metadataConfiguration",void 0),rf([Oe({type:Boolean})],nf.prototype,"editorMode",void 0),rf([Oe({type:Boolean})],nf.prototype,"noCustom",void 0),rf([Oe({type:Boolean})],nf.prototype,"openExternalDocumentInNewTab",void 0),rf([Oe({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],nf.prototype,"noCustomComponent",void 0),rf([Oe({type:Boolean})],nf.prototype,"withManualResources",void 0),rf([
|
|
2951
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(Yh.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Yh.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Yh.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Yh.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Yh.actions.noCustom(this.noCustom),t.has("editorMode")&&Yh.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Yh.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Yh.actions.session(this.session),t.has("availableUiLocales")&&Yh.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>of.addContext(t))),t.has("openExternalDocumentInNewTab")&&Yh.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&Yh.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&Yh.actions.forcedOffline(this.forcedOffline),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}nf.elementDefinitions={},nf.styles=qh,rf([Oe()],nf.prototype,"baseUrl",void 0),rf([Oe()],nf.prototype,"apiIntegrationIdentifier",void 0),rf([Oe()],nf.prototype,"uiLocale",void 0),rf([mo(null)],nf.prototype,"availableUiLocales",void 0),rf([mo(null)],nf.prototype,"metadataConfiguration",void 0),rf([Oe({type:Boolean})],nf.prototype,"editorMode",void 0),rf([Oe({type:Boolean})],nf.prototype,"noCustom",void 0),rf([Oe({type:Boolean})],nf.prototype,"openExternalDocumentInNewTab",void 0),rf([Oe({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],nf.prototype,"noCustomComponent",void 0),rf([Oe({type:Boolean})],nf.prototype,"withManualResources",void 0),rf([Oe({type:Boolean})],nf.prototype,"navigatorOnline",void 0),rf([Oe({type:Boolean})],nf.prototype,"forcedOffline",void 0),rf([Oe({type:Object})],nf.prototype,"apiProvider",void 0),rf([mo([])],nf.prototype,"messageContexts",void 0),rf([mo(void 0)],nf.prototype,"session",void 0);class af extends Xh{async listMySearches(){let t=Yh.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class sf extends Xh{async listMyBookmarks(){let t=Yh.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const lf=es.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Yh.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new sf,this.savedSearchesService=new af,Yh.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Yh.getState();bo(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),lf.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),lf.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();lf.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;lf.actions.bookmarks(e)}}},yo("ft-app-context")(nf);var cf=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};null==window.fluidtopics&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");const hf={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove",back:"Back"};class ff extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}}class pf extends CustomEvent{constructor(t){super("change",{detail:t})}}const df=()=>{};class uf extends _r{isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}constructor(){super(),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new on(hf,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=t=>is(this.baseUrl,t),this.focusOnDisplay=!1,this.searchFilters=[],this.sizeCategory=us.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new Hh(this),this.selectedFacetsManager=new Th(this),this.desktopSearchBarManager=new Gh(this),this.mobileSearchBarManager=new Vh(this,this.selectedFacetsManager,this.suggestManager),this.currentSession=Yh.getState().session,this.stateChangeEventDebouncer=new lo(10),this.updateLocalesDebouncer=new lo(10),this.facetsLoaded=!1,this.updateFacetsDebouncer=new lo(500),this.closeFloatingContainer=t=>{this.isMobile()||(this.displayFacets=this.displayFacets&&t.composedPath().some((t=>t===this.floatingContainer)))},this.compareFilters=(t,e)=>t.key===e.key&&t.negative==e.negative&&t.values.length===e.values.length&&t.values.every((t=>e.values.includes(t))),this.compareRequests=(t,e)=>(null==t.contentLocale||null==e.contentLocale||t.contentLocale===e.contentLocale)&&t.filters.length===e.filters.length&&t.filters.every((t=>e.filters.some((e=>this.compareFilters(t,e))))),this.enableFocusReactionCallback=()=>this.enableFocusReaction(),Yh.subscribe((()=>this.reloadWhenUserSessionChanges()))}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){const t=this.searchFilters.filter((t=>t.values.length>0&&!this.displayedFilters.includes(t.key))).map((t=>({id:t.key})));return[...this.displayedFilters.map((t=>({id:t}))),...t]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===us.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return null!=this.presets&&this.presets.length>0}get hasPriors(){return null!=this.priors&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var t;null===(t=this.container)||void 0===t||t.focus()}async focusInput(t=!1){this.reactToFocus=t,await fo((()=>this.input),50),this.input.focus(),t||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return Jt`
|
|
2952
2952
|
<ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
|
|
2953
2953
|
${this.renderSearchBar()}
|
|
2954
2954
|
`}renderSearchBar(){return this.facetsInitialized&&this.availableContentLocalesInitialized?this.isMobile()?this.mobileSearchBarManager.render():this.desktopSearchBarManager.render():Jt`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-search-bar",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.68",
|
|
4
4
|
"description": "Search bar component using Fluid Topics public API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,23 +19,23 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-accordion": "1.1.
|
|
23
|
-
"@fluid-topics/ft-app-context": "1.1.
|
|
24
|
-
"@fluid-topics/ft-button": "1.1.
|
|
25
|
-
"@fluid-topics/ft-chip": "1.1.
|
|
26
|
-
"@fluid-topics/ft-filter": "1.1.
|
|
27
|
-
"@fluid-topics/ft-icon": "1.1.
|
|
28
|
-
"@fluid-topics/ft-select": "1.1.
|
|
29
|
-
"@fluid-topics/ft-size-watcher": "1.1.
|
|
30
|
-
"@fluid-topics/ft-skeleton": "1.1.
|
|
31
|
-
"@fluid-topics/ft-snap-scroll": "1.1.
|
|
32
|
-
"@fluid-topics/ft-tooltip": "1.1.
|
|
33
|
-
"@fluid-topics/ft-typography": "1.1.
|
|
34
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-accordion": "1.1.68",
|
|
23
|
+
"@fluid-topics/ft-app-context": "1.1.68",
|
|
24
|
+
"@fluid-topics/ft-button": "1.1.68",
|
|
25
|
+
"@fluid-topics/ft-chip": "1.1.68",
|
|
26
|
+
"@fluid-topics/ft-filter": "1.1.68",
|
|
27
|
+
"@fluid-topics/ft-icon": "1.1.68",
|
|
28
|
+
"@fluid-topics/ft-select": "1.1.68",
|
|
29
|
+
"@fluid-topics/ft-size-watcher": "1.1.68",
|
|
30
|
+
"@fluid-topics/ft-skeleton": "1.1.68",
|
|
31
|
+
"@fluid-topics/ft-snap-scroll": "1.1.68",
|
|
32
|
+
"@fluid-topics/ft-tooltip": "1.1.68",
|
|
33
|
+
"@fluid-topics/ft-typography": "1.1.68",
|
|
34
|
+
"@fluid-topics/ft-wc-utils": "1.1.68",
|
|
35
35
|
"lit": "3.1.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@fluid-topics/public-api": "1.0.67"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "d10171ba718cee726044d0cc44820ebbb1ab7cbc"
|
|
41
41
|
}
|