@fluid-topics/ft-search-results 1.3.19 → 1.3.21

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.
@@ -173,7 +173,7 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
173
173
  <span class="ft-i18n">
174
174
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
175
175
  </span>
176
- `}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};ne.elementDefinitions={};ne.styles=Di;Et([(0,hr.redux)()],ne.prototype,"editorMode",void 0);Et([(0,fr.property)()],ne.prototype,"context",void 0);Et([(0,fr.property)()],ne.prototype,"key",void 0);Et([(0,hr.jsonProperty)([])],ne.prototype,"args",void 0);Et([(0,fr.property)()],ne.prototype,"defaultMessage",void 0);var yr=class r{static build(t){return new r(t)}static buildCustom(t){return new r(t,!0)}static fromGwt(t){return new r(t)}get service(){return this.custom?kt:ze}constructor(t,o=!1){this.name=t,this.custom=o,this.properties=new Proxy({},{get:(n,i)=>{let s=i;return c=>({context:this.name,key:s,custom:this.custom,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c:void 0})}}),this.messages=new Proxy({},{get:(n,i)=>(...s)=>this.service.resolveMessage(this.name,i,...s)}),this.rawMessages=new Proxy({},{get:(n,i)=>this.service.resolveRawMessage(this.name,i)})}};(0,Gi.customElement)("ft-i18n")(ne);var xo=yr.build("searchResultsNumber");var Fe=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},J=class extends ur(Ze){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>gr.html`
176
+ `}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};ne.elementDefinitions={};ne.styles=Di;Et([(0,hr.redux)()],ne.prototype,"editorMode",void 0);Et([(0,fr.property)()],ne.prototype,"context",void 0);Et([(0,fr.property)()],ne.prototype,"key",void 0);Et([(0,hr.jsonProperty)([])],ne.prototype,"args",void 0);Et([(0,fr.property)()],ne.prototype,"defaultMessage",void 0);var yr=class r{static build(t){return new r(t)}static buildCustom(t){return new r(t,!0)}static fromGwt(t){return new r(t)}get service(){return this.custom?kt:ze}constructor(t,o=!1){this.name=t,this.custom=o,this.properties=new Proxy({},{get:(n,i)=>{let s=i;return c=>({context:this.name,key:s,custom:this.custom,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c:void 0})}}),this.messages=new Proxy({},{get:(n,i)=>(...s)=>this.service.resolveMessage(this.name,i,...s)}),this.rawMessages=new Proxy({},{get:(n,i)=>this.service.resolveRawMessage(this.name,i)}),this.keys=new Proxy({},{get:(n,i)=>()=>i})}};(0,Gi.customElement)("ft-i18n")(ne);var xo=yr.build("searchResultsNumber");var Fe=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},J=class extends ur(Ze){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>gr.html`
177
177
  <ft-search-result-title></ft-search-result-title>
178
178
  <ft-search-result-abstract></ft-search-result-abstract>
179
179
  `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(xo)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return gr.html`
@@ -240,7 +240,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
240
240
  <span class="ft-i18n">
241
241
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
242
242
  </span>
243
- `}update(e){var o;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};me.elementDefinitions={};me.styles=pl;Ir([Be()],me.prototype,"editorMode",void 0);Ir([T()],me.prototype,"context",void 0);Ir([T()],me.prototype,"key",void 0);Ir([ne([])],me.prototype,"args",void 0);Ir([T()],me.prototype,"defaultMessage",void 0);var No=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?go:Ut}constructor(e,o=!1){this.name=e,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return s=>({context:this.name,key:i,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)})}};J("ft-i18n")(me);var hi=No.build("searchResultsNumber");var ut=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ce=class extends Io(Bt){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>G`
243
+ `}update(e){var o;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};me.elementDefinitions={};me.styles=pl;Ir([Be()],me.prototype,"editorMode",void 0);Ir([T()],me.prototype,"context",void 0);Ir([T()],me.prototype,"key",void 0);Ir([ne([])],me.prototype,"args",void 0);Ir([T()],me.prototype,"defaultMessage",void 0);var No=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?go:Ut}constructor(e,o=!1){this.name=e,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return s=>({context:this.name,key:i,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)}),this.keys=new Proxy({},{get:(n,a)=>()=>a})}};J("ft-i18n")(me);var hi=No.build("searchResultsNumber");var ut=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ce=class extends Io(Bt){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>G`
244
244
  <ft-search-result-title></ft-search-result-title>
245
245
  <ft-search-result-abstract></ft-search-result-abstract>
246
246
  `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(hi)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return G`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-search-results",
3
- "version": "1.3.19",
3
+ "version": "1.3.21",
4
4
  "description": "Search result list for integrated search component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-search-result-context": "1.3.19",
23
- "@fluid-topics/ft-wc-utils": "1.3.19",
22
+ "@fluid-topics/ft-search-result-context": "1.3.21",
23
+ "@fluid-topics/ft-wc-utils": "1.3.21",
24
24
  "lit": "3.1.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@fluid-topics/public-api": "1.0.102"
28
28
  },
29
- "gitHead": "d3142bbeffbc47e550279b0d5d4e23ce72aaf514"
29
+ "gitHead": "fd30595cd89395cbcac48ca8146aecef2e9b8673"
30
30
  }