@fluid-topics/ft-search-load-more-button 1.1.31 → 1.1.33
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.
|
@@ -807,7 +807,7 @@ const Zo=Symbol.for(""),zo=t=>{if(t?.r===Zo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
807
807
|
<span class="ft-i18n">
|
|
808
808
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
809
809
|
</span>
|
|
810
|
-
`:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}ii.elementDefinitions={},ii.styles=Xr,ri([o.redux()],ii.prototype,"editorMode",void 0),ri([r.property()],ii.prototype,"context",void 0),ri([r.property()],ii.prototype,"key",void 0),ri([o.jsonProperty([])],ii.prototype,"args",void 0),ri([r.property()],ii.prototype,"defaultMessage",void 0);class ni{static build(t){return new ni(t)}static fromGwt(t){return new ni(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>zr.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(ii);const ai=ni.fromGwt("designedActionBlockAriaLabels");var li=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class si extends(ti(Vr)){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(ai)}render(){return this.isLastPage?e.nothing:e.html`
|
|
810
|
+
`:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}ii.elementDefinitions={},ii.styles=Xr,ri([o.redux()],ii.prototype,"editorMode",void 0),ri([r.property()],ii.prototype,"context",void 0),ri([r.property()],ii.prototype,"key",void 0),ri([o.jsonProperty([])],ii.prototype,"args",void 0),ri([r.property()],ii.prototype,"defaultMessage",void 0);class ni{static build(t){return new ni(t)}static fromGwt(t){return new ni(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>zr.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(ii);const ai=ni.fromGwt("designedActionBlockAriaLabels");var li=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class si extends(ti(Vr)){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(ai)}render(){return this.isLastPage?e.nothing:e.html`
|
|
811
811
|
<ft-button @click="${this.loadMore}">
|
|
812
812
|
${ai.messages.searchPageLoadMore()}
|
|
813
813
|
</ft-button>
|
|
@@ -937,7 +937,7 @@ class rs extends Fa{constructor(t){if(super(t),this.et=rt,t.type!==Aa)throw Erro
|
|
|
937
937
|
<span class="ft-i18n">
|
|
938
938
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
939
939
|
</span>
|
|
940
|
-
`:this.editorMode?"Select a context and a label key.":ae}update(t){var e;super.update(t),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}lc.elementDefinitions={},lc.styles=ec,cc([Bo()],lc.prototype,"editorMode",void 0),cc([U()],lc.prototype,"context",void 0),cc([U()],lc.prototype,"key",void 0),cc([K([])],lc.prototype,"args",void 0),cc([U()],lc.prototype,"defaultMessage",void 0);class fc{static build(t){return new fc(t)}static fromGwt(t){return new fc(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>Ts.resolveMessage(this.name,e,...t)})}}A("ft-i18n")(lc);const pc=fc.fromGwt("designedActionBlockAriaLabels");var hc=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class uc extends(ic(tc)){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(pc)}render(){return this.isLastPage?ae:ne`
|
|
940
|
+
`:this.editorMode?"Select a context and a label key.":ae}update(t){var e;super.update(t),["context","key","defaultMessage"].some((e=>t.has(e)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}lc.elementDefinitions={},lc.styles=ec,cc([Bo()],lc.prototype,"editorMode",void 0),cc([U()],lc.prototype,"context",void 0),cc([U()],lc.prototype,"key",void 0),cc([K([])],lc.prototype,"args",void 0),cc([U()],lc.prototype,"defaultMessage",void 0);class fc{static build(t){return new fc(t)}static fromGwt(t){return new fc(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>Ts.resolveMessage(this.name,e,...t)})}}A("ft-i18n")(lc);const pc=fc.fromGwt("designedActionBlockAriaLabels");var hc=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class uc extends(ic(tc)){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(pc)}render(){return this.isLastPage?ae:ne`
|
|
941
941
|
<ft-button @click="${this.loadMore}">
|
|
942
942
|
${pc.messages.searchPageLoadMore()}
|
|
943
943
|
</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.1.
|
|
3
|
+
"version": "1.1.33",
|
|
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.1.
|
|
23
|
-
"@fluid-topics/ft-search-context": "1.1.
|
|
24
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-button": "1.1.33",
|
|
23
|
+
"@fluid-topics/ft-search-context": "1.1.33",
|
|
24
|
+
"@fluid-topics/ft-wc-utils": "1.1.33",
|
|
25
25
|
"@fluid-topics/public-api": "1.0.58",
|
|
26
26
|
"lit": "3.1.0"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "25cbbfada37d7c107ea0a7742ff3230c0dc74b3b"
|
|
29
29
|
}
|