@fluid-topics/ft-search-load-more-button 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.
@@ -1070,7 +1070,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1070
1070
  <span class="ft-i18n">
1071
1071
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
1072
1072
  </span>
1073
- `}update(r){var o;super.update(r),["context","key","defaultMessage"].some(n=>r.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Ne.elementDefinitions={};Ne.styles=Ac;mr([(0,po.redux)()],Ne.prototype,"editorMode",void 0);mr([(0,uo.property)()],Ne.prototype,"context",void 0);mr([(0,uo.property)()],Ne.prototype,"key",void 0);mr([(0,po.jsonProperty)([])],Ne.prototype,"args",void 0);mr([(0,uo.property)()],Ne.prototype,"defaultMessage",void 0);var fo=class e{static build(r){return new e(r)}static buildCustom(r){return new e(r,!0)}static fromGwt(r){return new e(r)}get service(){return this.custom?Fr:Ht}constructor(r,o=!1){this.name=r,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return c=>({context:this.name,key:i,custom:this.custom,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c: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)})}};(0,Pc.customElement)("ft-i18n")(Ne);var wn=fo.fromGwt("designedActionBlockAriaLabels");var _c=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},it=class extends co(no){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(wn)}render(){return this.isLastPage?ho.nothing:ho.html`
1073
+ `}update(r){var o;super.update(r),["context","key","defaultMessage"].some(n=>r.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Ne.elementDefinitions={};Ne.styles=Ac;mr([(0,po.redux)()],Ne.prototype,"editorMode",void 0);mr([(0,uo.property)()],Ne.prototype,"context",void 0);mr([(0,uo.property)()],Ne.prototype,"key",void 0);mr([(0,po.jsonProperty)([])],Ne.prototype,"args",void 0);mr([(0,uo.property)()],Ne.prototype,"defaultMessage",void 0);var fo=class e{static build(r){return new e(r)}static buildCustom(r){return new e(r,!0)}static fromGwt(r){return new e(r)}get service(){return this.custom?Fr:Ht}constructor(r,o=!1){this.name=r,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return c=>({context:this.name,key:i,custom:this.custom,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c: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})}};(0,Pc.customElement)("ft-i18n")(Ne);var wn=fo.fromGwt("designedActionBlockAriaLabels");var _c=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},it=class extends co(no){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(wn)}render(){return this.isLastPage?ho.nothing:ho.html`
1074
1074
  <ft-button @click="${this.loadMore}">
1075
1075
  ${wn.messages.searchPageLoadMore()}
1076
1076
  </ft-button>
@@ -1137,7 +1137,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1137
1137
  <span class="ft-i18n">
1138
1138
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
1139
1139
  </span>
1140
- `}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:""})}};Le.elementDefinitions={};Le.styles=Bl;Kr([wt()],Le.prototype,"editorMode",void 0);Kr([A()],Le.prototype,"context",void 0);Kr([A()],Le.prototype,"key",void 0);Kr([De([])],Le.prototype,"args",void 0);Kr([A()],Le.prototype,"defaultMessage",void 0);var jo=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?Bo:gr}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)})}};oe("ft-i18n")(Le);var Ii=jo.fromGwt("designedActionBlockAriaLabels");var zl=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},ft=class extends Go(Wo){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(Ii)}render(){return this.isLastPage?G:q`
1140
+ `}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:""})}};Le.elementDefinitions={};Le.styles=Bl;Kr([wt()],Le.prototype,"editorMode",void 0);Kr([A()],Le.prototype,"context",void 0);Kr([A()],Le.prototype,"key",void 0);Kr([De([])],Le.prototype,"args",void 0);Kr([A()],Le.prototype,"defaultMessage",void 0);var jo=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?Bo:gr}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})}};oe("ft-i18n")(Le);var Ii=jo.fromGwt("designedActionBlockAriaLabels");var zl=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},ft=class extends Go(Wo){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(Ii)}render(){return this.isLastPage?G:q`
1141
1141
  <ft-button @click="${this.loadMore}">
1142
1142
  ${Ii.messages.searchPageLoadMore()}
1143
1143
  </ft-button>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-search-load-more-button",
3
- "version": "1.3.19",
3
+ "version": "1.3.21",
4
4
  "description": "A button to load more result in a search context",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,11 +19,11 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-button": "1.3.19",
23
- "@fluid-topics/ft-search-context": "1.3.19",
24
- "@fluid-topics/ft-wc-utils": "1.3.19",
22
+ "@fluid-topics/ft-button": "1.3.21",
23
+ "@fluid-topics/ft-search-context": "1.3.21",
24
+ "@fluid-topics/ft-wc-utils": "1.3.21",
25
25
  "@fluid-topics/public-api": "1.0.102",
26
26
  "lit": "3.1.0"
27
27
  },
28
- "gitHead": "d3142bbeffbc47e550279b0d5d4e23ce72aaf514"
28
+ "gitHead": "fd30595cd89395cbcac48ca8146aecef2e9b8673"
29
29
  }