@fluid-topics/ft-search-bar 1.0.47 → 1.0.49
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.
- package/build/ft-search-bar.min.js +1 -1
- package/package.json +14 -14
|
@@ -104,7 +104,7 @@ var gt,xt;let yt=class extends N{constructor(){super(...arguments),this.renderOp
|
|
|
104
104
|
display: inline-block;
|
|
105
105
|
width: 0;
|
|
106
106
|
}
|
|
107
|
-
`;class It{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var i,o;t=this.resolvePluralKey(t,e);let s=null!==(o=null!==(i=this.labels[t])&&void 0!==i?i:this.defaultLabels[t])&&void 0!==o?o:"";return e.forEach(((t,e)=>s=s.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,i)=>this.formatValue(t,i))))),s}resolvePluralKey(t,e){for(let i of e)if("number"==typeof i){const e=`${String(t)}[\\=${i}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const i=i=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(i):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(i):t.toLocaleString(i);try{return i(document.documentElement.lang)}catch(t){return i()}}}var Lt,Dt,jt;const Ut=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(jt=null===(Dt=null===(Lt=window.safari)||void 0===Lt?void 0:Lt.pushNotification)||void 0===Dt?void 0:Dt.toString())&&void 0!==jt?jt:""),Pt=1,At=2,Tt=t=>(...e)=>({_$litDirective$:t,values:e});
|
|
107
|
+
`;class It{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var i,o;t=this.resolvePluralKey(t,e);let s=null!==(o=null!==(i=this.labels[t])&&void 0!==i?i:this.defaultLabels[t])&&void 0!==o?o:"";return e.forEach(((t,e)=>s=s.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,i)=>this.formatValue(t,i))))),s}resolvePluralKey(t,e){for(let i of e)if("number"==typeof i){const e=`${String(t)}[\\=${i}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const i=i=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(i):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(i):t.toLocaleString(i);try{return i(document.documentElement.lang)}catch(t){return i()}}}var Lt,Dt,jt;window.ftReduxStores||(window.ftReduxStores={});const Ut=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(jt=null===(Dt=null===(Lt=window.safari)||void 0===Lt?void 0:Lt.pushNotification)||void 0===Dt?void 0:Dt.toString())&&void 0!==jt?jt:""),Pt=1,At=2,Tt=t=>(...e)=>({_$litDirective$:t,values:e});
|
|
108
108
|
/**
|
|
109
109
|
* @license
|
|
110
110
|
* Copyright 2017 Google LLC
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-search-bar",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.49",
|
|
4
4
|
"description": "Search bar component using Fluid Topics public API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,22 +19,22 @@
|
|
|
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.0.
|
|
23
|
-
"@fluid-topics/ft-button": "1.0.
|
|
24
|
-
"@fluid-topics/ft-chip": "1.0.
|
|
25
|
-
"@fluid-topics/ft-filter": "1.0.
|
|
26
|
-
"@fluid-topics/ft-icon": "1.0.
|
|
27
|
-
"@fluid-topics/ft-select": "1.0.
|
|
28
|
-
"@fluid-topics/ft-size-watcher": "1.0.
|
|
29
|
-
"@fluid-topics/ft-skeleton": "1.0.
|
|
30
|
-
"@fluid-topics/ft-snap-scroll": "1.0.
|
|
31
|
-
"@fluid-topics/ft-tooltip": "1.0.
|
|
32
|
-
"@fluid-topics/ft-typography": "1.0.
|
|
33
|
-
"@fluid-topics/ft-wc-utils": "1.0.
|
|
22
|
+
"@fluid-topics/ft-accordion": "1.0.49",
|
|
23
|
+
"@fluid-topics/ft-button": "1.0.49",
|
|
24
|
+
"@fluid-topics/ft-chip": "1.0.49",
|
|
25
|
+
"@fluid-topics/ft-filter": "1.0.49",
|
|
26
|
+
"@fluid-topics/ft-icon": "1.0.49",
|
|
27
|
+
"@fluid-topics/ft-select": "1.0.49",
|
|
28
|
+
"@fluid-topics/ft-size-watcher": "1.0.49",
|
|
29
|
+
"@fluid-topics/ft-skeleton": "1.0.49",
|
|
30
|
+
"@fluid-topics/ft-snap-scroll": "1.0.49",
|
|
31
|
+
"@fluid-topics/ft-tooltip": "1.0.49",
|
|
32
|
+
"@fluid-topics/ft-typography": "1.0.49",
|
|
33
|
+
"@fluid-topics/ft-wc-utils": "1.0.49",
|
|
34
34
|
"lit": "2.7.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@fluid-topics/public-api": "1.0.39"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "77eac237aeec17a50f5bcc09890746d9a9f097f0"
|
|
40
40
|
}
|