@fluid-topics/ft-search-input 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.
|
@@ -890,7 +890,7 @@ const Zo=Symbol.for(""),zo=t=>{if(t?.r===Zo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
890
890
|
<span class="ft-i18n">
|
|
891
891
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
892
892
|
</span>
|
|
893
|
-
`: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:""})}}ir.elementDefinitions={},ir.styles=Vi,er([o.redux()],ir.prototype,"editorMode",void 0),er([i.property()],ir.prototype,"context",void 0),er([i.property()],ir.prototype,"key",void 0),er([o.jsonProperty([])],ir.prototype,"args",void 0),er([i.property()],ir.prototype,"defaultMessage",void 0);class rr{static build(t){return new rr(t)}static fromGwt(t){return new rr(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)=>Zi.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(ir);const nr=rr.build("designedSearchInput"),ar=e.css`
|
|
893
|
+
`: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:""})}}ir.elementDefinitions={},ir.styles=Vi,er([o.redux()],ir.prototype,"editorMode",void 0),er([i.property()],ir.prototype,"context",void 0),er([i.property()],ir.prototype,"key",void 0),er([o.jsonProperty([])],ir.prototype,"args",void 0),er([i.property()],ir.prototype,"defaultMessage",void 0);class rr{static build(t){return new rr(t)}static fromGwt(t){return new rr(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)=>Zi.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(ir);const nr=rr.build("designedSearchInput"),ar=e.css`
|
|
894
894
|
* {
|
|
895
895
|
box-sizing: border-box;
|
|
896
896
|
}
|
|
@@ -1025,7 +1025,7 @@ class os extends Ma{constructor(t){if(super(t),this.et=it,t.type!==Da)throw Erro
|
|
|
1025
1025
|
<span class="ft-i18n">
|
|
1026
1026
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1027
1027
|
</span>
|
|
1028
|
-
`:this.editorMode?"Select a context and a label key.":fe}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:""})}}uc.elementDefinitions={},uc.styles=ic,pc([qo()],uc.prototype,"editorMode",void 0),pc([$()],uc.prototype,"context",void 0),pc([$()],uc.prototype,"key",void 0),pc([K([])],uc.prototype,"args",void 0),pc([$()],uc.prototype,"defaultMessage",void 0);class hc{static build(t){return new hc(t)}static fromGwt(t){return new hc(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)=>_s.resolveMessage(this.name,e,...t)})}}A("ft-i18n")(uc);const dc=hc.build("designedSearchInput"),yc=Et`
|
|
1028
|
+
`:this.editorMode?"Select a context and a label key.":fe}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:""})}}uc.elementDefinitions={},uc.styles=ic,pc([qo()],uc.prototype,"editorMode",void 0),pc([$()],uc.prototype,"context",void 0),pc([$()],uc.prototype,"key",void 0),pc([K([])],uc.prototype,"args",void 0),pc([$()],uc.prototype,"defaultMessage",void 0);class hc{static build(t){return new hc(t)}static fromGwt(t){return new hc(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)=>_s.resolveMessage(this.name,e,...t)})}}A("ft-i18n")(uc);const dc=hc.build("designedSearchInput"),yc=Et`
|
|
1029
1029
|
* {
|
|
1030
1030
|
box-sizing: border-box;
|
|
1031
1031
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-search-input",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.33",
|
|
4
4
|
"description": "Search bar input for integrated search component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,17 +19,17 @@
|
|
|
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-i18n": "1.1.
|
|
24
|
-
"@fluid-topics/ft-icon": "1.1.
|
|
25
|
-
"@fluid-topics/ft-ripple": "1.1.
|
|
26
|
-
"@fluid-topics/ft-search-context": "1.1.
|
|
27
|
-
"@fluid-topics/ft-typography": "1.1.
|
|
28
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-button": "1.1.33",
|
|
23
|
+
"@fluid-topics/ft-i18n": "1.1.33",
|
|
24
|
+
"@fluid-topics/ft-icon": "1.1.33",
|
|
25
|
+
"@fluid-topics/ft-ripple": "1.1.33",
|
|
26
|
+
"@fluid-topics/ft-search-context": "1.1.33",
|
|
27
|
+
"@fluid-topics/ft-typography": "1.1.33",
|
|
28
|
+
"@fluid-topics/ft-wc-utils": "1.1.33",
|
|
29
29
|
"lit": "3.1.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@fluid-topics/public-api": "1.0.58"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "25cbbfada37d7c107ea0a7742ff3230c0dc74b3b"
|
|
35
35
|
}
|