@fluid-topics/ft-filter 0.3.49 → 0.3.50
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-filter.light.js +14 -6
- package/build/ft-filter.min.js +22 -14
- package/package.json +10 -10
package/build/ft-filter.light.js
CHANGED
|
@@ -344,18 +344,21 @@ const V=Symbol.for(""),H=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
344
344
|
<div></div>
|
|
345
345
|
<div></div>
|
|
346
346
|
</div>
|
|
347
|
-
`}}var Ei,Di;ji.styles=Bi,i.customElement("ft-loader")(ji),function(t){t.
|
|
348
|
-
:host {
|
|
349
|
-
display: inline-
|
|
347
|
+
`}}var Ei,Di;ji.styles=Bi,i.customElement("ft-loader")(ji),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL=""}(Ei||(Ei={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Di||(Di={})),new Map([...["abw"].map((t=>[t,Di.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Di.AUDIO])),...["avi"].map((t=>[t,Di.AVI])),...["chm","xhs"].map((t=>[t,Di.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Di.CODE])),...["csv"].map((t=>[t,Di.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Di.DITA])),...["epub"].map((t=>[t,Di.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Di.EXCEL])),...["flac"].map((t=>[t,Di.FLAC])),...["gif"].map((t=>[t,Di.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Di.GZIP])),...["html","htm","xhtml"].map((t=>[t,Di.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Di.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Di.JPEG])),...["json"].map((t=>[t,Di.JSON])),...["m4a","m4p"].map((t=>[t,Di.M4A])),...["mov","qt"].map((t=>[t,Di.MOV])),...["mp3"].map((t=>[t,Di.MP3])),...["mp4","m4v"].map((t=>[t,Di.MP4])),...["ogg","oga"].map((t=>[t,Di.OGG])),...["pdf","ps"].map((t=>[t,Di.PDF])),...["png"].map((t=>[t,Di.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Di.POWERPOINT])),...["rar"].map((t=>[t,Di.RAR])),...["stp"].map((t=>[t,Di.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Di.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Di.VIDEO])),...["wav"].map((t=>[t,Di.WAV])),...["wma"].map((t=>[t,Di.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Di.WORD])),...["xml","xsl","rdf"].map((t=>[t,Di.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Di.YAML])),...["zip"].map((t=>[t,Di.ZIP]))]);const Ni={size:i.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariableFactory.extend("--ft-icon-material-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:i.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")},Ti=e.css`
|
|
348
|
+
:host, i.ft-icon {
|
|
349
|
+
display: inline-flex;
|
|
350
|
+
align-items: center;
|
|
351
|
+
justify-content: center;
|
|
350
352
|
}
|
|
351
353
|
|
|
352
|
-
:host
|
|
354
|
+
:host {
|
|
353
355
|
width: ${Ni.size};
|
|
354
356
|
height: ${Ni.size};
|
|
355
|
-
text-align: center;
|
|
356
357
|
}
|
|
357
358
|
|
|
358
359
|
i.ft-icon {
|
|
360
|
+
width: 100%;
|
|
361
|
+
height: 100%;
|
|
359
362
|
font-size: ${Ni.size};
|
|
360
363
|
line-height: 1;
|
|
361
364
|
font-weight: normal;
|
|
@@ -370,8 +373,13 @@ const V=Symbol.for(""),H=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
370
373
|
vertical-align: ${Ni.verticalAlign};
|
|
371
374
|
}
|
|
372
375
|
|
|
373
|
-
.ft-icon--fluid-topics {
|
|
376
|
+
i.ft-icon.ft-icon--fluid-topics {
|
|
374
377
|
font-family: ${Ni.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
378
|
+
|
|
379
|
+
/* Ugly fix because font is broken */
|
|
380
|
+
font-size: calc(0.9 * ${Ni.size});
|
|
381
|
+
position: relative;
|
|
382
|
+
top: -5%;
|
|
375
383
|
}
|
|
376
384
|
|
|
377
385
|
.ft-icon--file-format {
|
package/build/ft-filter.min.js
CHANGED
|
@@ -66,7 +66,7 @@ var l;const a=null!=(null===(l=window.HTMLSlotElement)||void 0===l?void 0:l.prot
|
|
|
66
66
|
* Copyright 2017 Google LLC
|
|
67
67
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
68
|
*/
|
|
69
|
-
var R;z.finalized=!0,z.elementProperties=new Map,z.elementStyles=[],z.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:z}),(null!==($=w.reactiveElementVersions)&&void 0!==$?$:w.reactiveElementVersions=[]).push("1.4.1");const M=window,B=M.trustedTypes,
|
|
69
|
+
var R;z.finalized=!0,z.elementProperties=new Map,z.elementStyles=[],z.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:z}),(null!==($=w.reactiveElementVersions)&&void 0!==$?$:w.reactiveElementVersions=[]).push("1.4.1");const M=window,B=M.trustedTypes,j=B?B.createPolicy("lit-html",{createHTML:t=>t}):void 0,F=`lit$${(Math.random()+"").slice(9)}$`,U="?"+F,L=`<${U}>`,D=document,T=(t="")=>D.createComment(t),A=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,_=t=>P(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),I=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,W=/-->/g,H=/>/g,K=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),V=/'/g,Z=/"/g,J=/^(?:script|style|textarea|title)$/i,q=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),X=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),G=new WeakMap,Q=D.createTreeWalker(D,129,null,!1),tt=(t,e)=>{const i=t.length-1,o=[];let s,r=2===e?"<svg>":"",n=I;for(let e=0;e<i;e++){const i=t[e];let l,a,h=-1,c=0;for(;c<i.length&&(n.lastIndex=c,a=n.exec(i),null!==a);)c=n.lastIndex,n===I?"!--"===a[1]?n=W:void 0!==a[1]?n=H:void 0!==a[2]?(J.test(a[2])&&(s=RegExp("</"+a[2],"g")),n=K):void 0!==a[3]&&(n=K):n===K?">"===a[0]?(n=null!=s?s:I,h=-1):void 0===a[1]?h=-2:(h=n.lastIndex-a[2].length,l=a[1],n=void 0===a[3]?K:'"'===a[3]?Z:V):n===Z||n===V?n=K:n===W||n===H?n=I:(n=K,s=void 0);const p=n===K&&t[e+1].startsWith("/>")?" ":"";r+=n===I?i+L:h>=0?(o.push(l),i.slice(0,h)+"$lit$"+i.slice(h)+F+p):i+F+(-2===h?(o.push(void 0),e):p)}const l=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==j?j.createHTML(l):l,o]};class et{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,r=0;const n=t.length-1,l=this.parts,[a,h]=tt(t,e);if(this.el=et.createElement(a,i),Q.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Q.nextNode())&&l.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(F)){const i=h[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(F),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?nt:"?"===e[1]?at:"@"===e[1]?ht:rt})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(J.test(o.tagName)){const t=o.textContent.split(F),e=t.length-1;if(e>0){o.textContent=B?B.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],T()),Q.nextNode(),l.push({type:2,index:++s});o.append(t[e],T())}}}else if(8===o.nodeType)if(o.data===U)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(F,t+1));)l.push({type:7,index:s}),t+=F.length-1}s++}}static createElement(t,e){const i=D.createElement("template");return i.innerHTML=t,i}}function it(t,e,i=t,o){var s,r,n,l;if(e===X)return e;let a=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const h=A(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==h&&(null===(r=null==a?void 0:a._$AO)||void 0===r||r.call(a,!1),void 0===h?a=void 0:(a=new h(t),a._$AT(t,i,o)),void 0!==o?(null!==(n=(l=i)._$Co)&&void 0!==n?n:l._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=it(t,a._$AS(t,e.values),a,o)),e}class ot{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:D).importNode(i,!0);Q.currentNode=s;let r=Q.nextNode(),n=0,l=0,a=o[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new st(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new ct(r,this,t)),this.u.push(e),a=o[++l]}n!==(null==a?void 0:a.index)&&(r=Q.nextNode(),n++)}return s}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class st{constructor(t,e,i,o){var s;this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=it(this,t,e),A(t)?t===Y||null==t||""===t?(this._$AH!==Y&&this._$AR(),this._$AH=Y):t!==this._$AH&&t!==X&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):_(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==Y&&A(this._$AH)?this._$AA.nextSibling.data=t:this.T(D.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=et.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.p(i);else{const t=new ot(s,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=G.get(t.strings);return void 0===e&&G.set(t.strings,e=new et(t)),e}k(t){P(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new st(this.O(T()),this.O(T()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class rt{constructor(t,e,i,o,s){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Y}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let r=!1;if(void 0===s)t=it(this,t,e,0),r=!A(t)||t!==this._$AH&&t!==X,r&&(this._$AH=t);else{const o=t;let n,l;for(t=s[0],n=0;n<s.length-1;n++)l=it(this,o[i+n],e,n),l===X&&(l=this._$AH[n]),r||(r=!A(l)||l!==this._$AH[n]),l===Y?t=Y:t!==Y&&(t+=(null!=l?l:"")+s[n+1]),this._$AH[n]=l}r&&!o&&this.j(t)}j(t){t===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class nt extends rt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Y?void 0:t}}const lt=B?B.emptyScript:"";class at extends rt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Y?this.element.setAttribute(this.name,lt):this.element.removeAttribute(this.name)}}class ht extends rt{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=it(this,t,e,0))&&void 0!==i?i:Y)===X)return;const o=this._$AH,s=t===Y&&o!==Y||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==Y&&(o===Y||s);s&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class ct{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){it(this,t)}}const pt={P:"$lit$",A:F,M:U,C:1,L:tt,R:ot,D:_,V:it,I:st,H:rt,N:at,U:ht,B:nt,F:ct},dt=M.litHtmlPolyfillSupport;null==dt||dt(et,st),(null!==(R=M.litHtmlVersions)&&void 0!==R?R:M.litHtmlVersions=[]).push("2.4.0");
|
|
70
70
|
/**
|
|
71
71
|
* @license
|
|
72
72
|
* Copyright 2017 Google LLC
|
|
@@ -108,7 +108,7 @@ var ft,ut;class vt extends z{constructor(){super(...arguments),this.renderOption
|
|
|
108
108
|
* @license
|
|
109
109
|
* Copyright 2020 Google LLC
|
|
110
110
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
111
|
-
*/var Bt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(Bt||(Bt={}));const
|
|
111
|
+
*/var Bt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(Bt||(Bt={}));const jt=xt.extend("--ft-typography-font-family",gt.titleFont),Ft=xt.extend("--ft-typography-font-family",gt.contentFont),Ut={fontFamily:Ft,fontSize:xt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:xt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:xt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:xt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:xt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Lt=xt.extend("--ft-typography-title-font-family",jt),Dt=xt.extend("--ft-typography-title-font-size",Ut.fontSize,"20px"),Tt=xt.extend("--ft-typography-title-font-weight",Ut.fontWeight,"normal"),At=xt.extend("--ft-typography-title-letter-spacing",Ut.letterSpacing,"0.15px"),Pt=xt.extend("--ft-typography-title-line-height",Ut.lineHeight,"1.2"),_t=xt.extend("--ft-typography-title-text-transform",Ut.textTransform,"inherit"),It=xt.extend("--ft-typography-title-dense-font-family",jt),Wt=xt.extend("--ft-typography-title-dense-font-size",Ut.fontSize,"14px"),Ht=xt.extend("--ft-typography-title-dense-font-weight",Ut.fontWeight,"normal"),Kt=xt.extend("--ft-typography-title-dense-letter-spacing",Ut.letterSpacing,"0.105px"),Vt=xt.extend("--ft-typography-title-dense-line-height",Ut.lineHeight,"1.7"),Zt=xt.extend("--ft-typography-title-dense-text-transform",Ut.textTransform,"inherit"),Jt=xt.extend("--ft-typography-subtitle1-font-family",Ft),qt=xt.extend("--ft-typography-subtitle1-font-size",Ut.fontSize,"16px"),Xt=xt.extend("--ft-typography-subtitle1-font-weight",Ut.fontWeight,"600"),Yt=xt.extend("--ft-typography-subtitle1-letter-spacing",Ut.letterSpacing,"0.144px"),Gt=xt.extend("--ft-typography-subtitle1-line-height",Ut.lineHeight,"1.5"),Qt=xt.extend("--ft-typography-subtitle1-text-transform",Ut.textTransform,"inherit"),te=xt.extend("--ft-typography-subtitle2-font-family",Ft),ee=xt.extend("--ft-typography-subtitle2-font-size",Ut.fontSize,"14px"),ie=xt.extend("--ft-typography-subtitle2-font-weight",Ut.fontWeight,"normal"),oe=xt.extend("--ft-typography-subtitle2-letter-spacing",Ut.letterSpacing,"0.098px"),se=xt.extend("--ft-typography-subtitle2-line-height",Ut.lineHeight,"1.7"),re=xt.extend("--ft-typography-subtitle2-text-transform",Ut.textTransform,"inherit"),ne=xt.extend("--ft-typography-body1-font-family",Ft),le=xt.extend("--ft-typography-body1-font-size",Ut.fontSize,"16px"),ae=xt.extend("--ft-typography-body1-font-weight",Ut.fontWeight,"normal"),he=xt.extend("--ft-typography-body1-letter-spacing",Ut.letterSpacing,"0.496px"),ce=xt.extend("--ft-typography-body1-line-height",Ut.lineHeight,"1.5"),pe=xt.extend("--ft-typography-body1-text-transform",Ut.textTransform,"inherit"),de={fontFamily:xt.extend("--ft-typography-body2-font-family",Ft),fontSize:xt.extend("--ft-typography-body2-font-size",Ut.fontSize,"14px"),fontWeight:xt.extend("--ft-typography-body2-font-weight",Ut.fontWeight,"normal"),letterSpacing:xt.extend("--ft-typography-body2-letter-spacing",Ut.letterSpacing,"0.252px"),lineHeight:xt.extend("--ft-typography-body2-line-height",Ut.lineHeight,"1.4"),textTransform:xt.extend("--ft-typography-body2-text-transform",Ut.textTransform,"inherit")},fe=xt.extend("--ft-typography-caption-font-family",Ft),ue=xt.extend("--ft-typography-caption-font-size",Ut.fontSize,"12px"),ve=xt.extend("--ft-typography-caption-font-weight",Ut.fontWeight,"normal"),be=xt.extend("--ft-typography-caption-letter-spacing",Ut.letterSpacing,"0.396px"),xe=xt.extend("--ft-typography-caption-line-height",Ut.lineHeight,"1.33"),ye=xt.extend("--ft-typography-caption-text-transform",Ut.textTransform,"inherit"),ge=xt.extend("--ft-typography-breadcrumb-font-family",Ft),me=xt.extend("--ft-typography-breadcrumb-font-size",Ut.fontSize,"10px"),$e=xt.extend("--ft-typography-breadcrumb-font-weight",Ut.fontWeight,"normal"),we=xt.extend("--ft-typography-breadcrumb-letter-spacing",Ut.letterSpacing,"0.33px"),ke=xt.extend("--ft-typography-breadcrumb-line-height",Ut.lineHeight,"1.6"),Oe=xt.extend("--ft-typography-breadcrumb-text-transform",Ut.textTransform,"inherit"),Se=xt.extend("--ft-typography-overline-font-family",Ft),Ce=xt.extend("--ft-typography-overline-font-size",Ut.fontSize,"10px"),Ee=xt.extend("--ft-typography-overline-font-weight",Ut.fontWeight,"normal"),Ne=xt.extend("--ft-typography-overline-letter-spacing",Ut.letterSpacing,"1.5px"),ze=xt.extend("--ft-typography-overline-line-height",Ut.lineHeight,"1.6"),Re=xt.extend("--ft-typography-overline-text-transform",Ut.textTransform,"uppercase"),Me={fontFamily:xt.extend("--ft-typography-button-font-family",Ft),fontSize:xt.extend("--ft-typography-button-font-size",Ut.fontSize,"14px"),fontWeight:xt.extend("--ft-typography-button-font-weight",Ut.fontWeight,"600"),letterSpacing:xt.extend("--ft-typography-button-letter-spacing",Ut.letterSpacing,"1.246px"),lineHeight:xt.extend("--ft-typography-button-line-height",Ut.lineHeight,"1.15"),textTransform:xt.extend("--ft-typography-button-text-transform",Ut.textTransform,"uppercase")},Be=y`
|
|
112
112
|
.ft-typography--title {
|
|
113
113
|
font-family: ${Lt};
|
|
114
114
|
font-size: ${Dt};
|
|
@@ -117,7 +117,7 @@ var ft,ut;class vt extends z{constructor(){super(...arguments),this.renderOption
|
|
|
117
117
|
line-height: ${Pt};
|
|
118
118
|
text-transform: ${_t};
|
|
119
119
|
}
|
|
120
|
-
`,
|
|
120
|
+
`,je=y`
|
|
121
121
|
.ft-typography--title-dense {
|
|
122
122
|
font-family: ${It};
|
|
123
123
|
font-size: ${Wt};
|
|
@@ -126,7 +126,7 @@ var ft,ut;class vt extends z{constructor(){super(...arguments),this.renderOption
|
|
|
126
126
|
line-height: ${Vt};
|
|
127
127
|
text-transform: ${Zt};
|
|
128
128
|
}
|
|
129
|
-
`,
|
|
129
|
+
`,Fe=y`
|
|
130
130
|
.ft-typography--subtitle1 {
|
|
131
131
|
font-family: ${Jt};
|
|
132
132
|
font-size: ${qt};
|
|
@@ -215,7 +215,7 @@ var ft,ut;class vt extends z{constructor(){super(...arguments),this.renderOption
|
|
|
215
215
|
* @license
|
|
216
216
|
* Copyright 2017 Google LLC
|
|
217
217
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
218
|
-
*/He.styles=[Be,Fe,
|
|
218
|
+
*/He.styles=[Be,je,Fe,Ue,Le,De,Te,Ae,Pe,_e,Ie],We([o()],He.prototype,"element",void 0),We([o()],He.prototype,"variant",void 0),c("ft-typography")(He);const Ve=1,Ze=2,Je=t=>(...e)=>({_$litDirective$:t,values:e});class qe{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
|
|
219
219
|
/**
|
|
220
220
|
* @license
|
|
221
221
|
* Copyright 2020 Google LLC
|
|
@@ -463,18 +463,21 @@ var ft,ut;class vt extends z{constructor(){super(...arguments),this.renderOption
|
|
|
463
463
|
* Copyright 2017 Google LLC
|
|
464
464
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
465
465
|
*/
|
|
466
|
-
class Ni extends qe{constructor(t){if(super(t),this.it=Y,t.type!==Ze)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Y||null==t)return this._t=void 0,this.it=t;if(t===X)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Ni.directiveName="unsafeHTML",Ni.resultType=1;const zi=Je(Ni);var Ri,Mi;!function(t){t.
|
|
467
|
-
:host {
|
|
468
|
-
display: inline-
|
|
466
|
+
class Ni extends qe{constructor(t){if(super(t),this.it=Y,t.type!==Ze)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Y||null==t)return this._t=void 0,this.it=t;if(t===X)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Ni.directiveName="unsafeHTML",Ni.resultType=1;const zi=Je(Ni);var Ri,Mi;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL=""}(Ri||(Ri={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Mi||(Mi={})),new Map([...["abw"].map((t=>[t,Mi.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Mi.AUDIO])),...["avi"].map((t=>[t,Mi.AVI])),...["chm","xhs"].map((t=>[t,Mi.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Mi.CODE])),...["csv"].map((t=>[t,Mi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Mi.DITA])),...["epub"].map((t=>[t,Mi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Mi.EXCEL])),...["flac"].map((t=>[t,Mi.FLAC])),...["gif"].map((t=>[t,Mi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Mi.GZIP])),...["html","htm","xhtml"].map((t=>[t,Mi.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Mi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Mi.JPEG])),...["json"].map((t=>[t,Mi.JSON])),...["m4a","m4p"].map((t=>[t,Mi.M4A])),...["mov","qt"].map((t=>[t,Mi.MOV])),...["mp3"].map((t=>[t,Mi.MP3])),...["mp4","m4v"].map((t=>[t,Mi.MP4])),...["ogg","oga"].map((t=>[t,Mi.OGG])),...["pdf","ps"].map((t=>[t,Mi.PDF])),...["png"].map((t=>[t,Mi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Mi.POWERPOINT])),...["rar"].map((t=>[t,Mi.RAR])),...["stp"].map((t=>[t,Mi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Mi.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Mi.VIDEO])),...["wav"].map((t=>[t,Mi.WAV])),...["wma"].map((t=>[t,Mi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Mi.WORD])),...["xml","xsl","rdf"].map((t=>[t,Mi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Mi.YAML])),...["zip"].map((t=>[t,Mi.ZIP]))]);const Bi={size:xt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:xt.extend("--ft-icon-fluid-topics-font-family",xt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:xt.extend("--ft-icon-file-format-font-family",xt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:xt.extend("--ft-icon-material-font-family",xt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:xt.create("--ft-icon-vertical-align","UNKNOWN","unset")},ji=y`
|
|
467
|
+
:host, i.ft-icon {
|
|
468
|
+
display: inline-flex;
|
|
469
|
+
align-items: center;
|
|
470
|
+
justify-content: center;
|
|
469
471
|
}
|
|
470
472
|
|
|
471
|
-
:host
|
|
473
|
+
:host {
|
|
472
474
|
width: ${Bi.size};
|
|
473
475
|
height: ${Bi.size};
|
|
474
|
-
text-align: center;
|
|
475
476
|
}
|
|
476
477
|
|
|
477
478
|
i.ft-icon {
|
|
479
|
+
width: 100%;
|
|
480
|
+
height: 100%;
|
|
478
481
|
font-size: ${Bi.size};
|
|
479
482
|
line-height: 1;
|
|
480
483
|
font-weight: normal;
|
|
@@ -489,8 +492,13 @@ class Ni extends qe{constructor(t){if(super(t),this.it=Y,t.type!==Ze)throw Error
|
|
|
489
492
|
vertical-align: ${Bi.verticalAlign};
|
|
490
493
|
}
|
|
491
494
|
|
|
492
|
-
.ft-icon--fluid-topics {
|
|
495
|
+
i.ft-icon.ft-icon--fluid-topics {
|
|
493
496
|
font-family: ${Bi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
497
|
+
|
|
498
|
+
/* Ugly fix because font is broken */
|
|
499
|
+
font-size: calc(0.9 * ${Bi.size});
|
|
500
|
+
position: relative;
|
|
501
|
+
top: -5%;
|
|
494
502
|
}
|
|
495
503
|
|
|
496
504
|
.ft-icon--file-format {
|
|
@@ -500,12 +508,12 @@ class Ni extends qe{constructor(t){if(super(t),this.it=Y,t.type!==Ze)throw Error
|
|
|
500
508
|
.ft-icon--material {
|
|
501
509
|
font-family: ${Bi.materialFontFamily}, "Material Icons", sans-serif;
|
|
502
510
|
}
|
|
503
|
-
`;var
|
|
511
|
+
`;var Fi;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Fi||(Fi={}));var Ui=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Li extends $t{constructor(){super(...arguments),this.variant=Fi.fluid_topics,this.resolvedIcon=Y}render(){const t="material"!==this.variant||this.value;return q`
|
|
504
512
|
<i class="ft-icon ${"ft-icon--"+this.variant}">
|
|
505
513
|
${zi(this.resolvedIcon)}
|
|
506
514
|
<slot ?hidden=${t}></slot>
|
|
507
515
|
</i>
|
|
508
|
-
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case
|
|
516
|
+
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case Fi.file_format:this.resolvedIcon=null!==(t=Mi[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Fi.fluid_topics:this.resolvedIcon=null!==(e=Ri[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i;break;default:this.resolvedIcon=this.value||Y}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Li.elementDefinitions={},Li.styles=ji,Ui([o()],Li.prototype,"variant",void 0),Ui([o()],Li.prototype,"value",void 0),Ui([s()],Li.prototype,"resolvedIcon",void 0),Ui([n("slot")],Li.prototype,"slottedContent",void 0),c("ft-icon")(Li);const Di=xt.extend("--ft-button-color",gt.colorPrimary),Ti={backgroundColor:xt.extend("--ft-button-background-color",gt.colorSurface),borderRadius:xt.extend("--ft-button-border-radius",gt.borderRadiusL),color:Di,fontSize:xt.extend("--ft-button-font-size",Me.fontSize),iconSize:xt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:xt.extend("--ft-button-ripple-color",Di),opacityDisabled:xt.external(gt.colorOpacityDisabled,"Design system")},Ai=xt.extend("--ft-button-primary-color",xt.extend("--ft-button-color",gt.colorOnPrimary)),Pi={backgroundColor:xt.extend("--ft-button-primary-background-color",xt.extend("--ft-button-background-color",gt.colorPrimary)),color:Ai,rippleColor:xt.extend("--ft-button-primary-ripple-color",Ai)},_i=xt.extend("--ft-button-dense-border-radius",xt.extend("--ft-button-border-radius",gt.borderRadiusM)),Ii=[wt,y`
|
|
509
517
|
:host {
|
|
510
518
|
display: inline-block;
|
|
511
519
|
max-width: 100%;
|
|
@@ -638,7 +646,7 @@ class Ni extends qe{constructor(t){if(super(t),this.it=Y,t.type!==Ze)throw Error
|
|
|
638
646
|
${yt(Si.size,Ti.iconSize)};
|
|
639
647
|
${yt(Si.color,"var(--ft-button-internal-color)")};
|
|
640
648
|
}
|
|
641
|
-
`];var Wi=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Hi extends $t{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.iconVariant=
|
|
649
|
+
`];var Wi=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Hi extends $t{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.iconVariant=Fi.material,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-button--safari-fix":Ct,"ft-no-text-select":!0};return this.addTooltipIfNeeded(q`
|
|
642
650
|
<button part="button"
|
|
643
651
|
class="${si(t)}"
|
|
644
652
|
aria-label="${this.getLabel()}"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-filter",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.50",
|
|
4
4
|
"description": "Flat selector for multivalued or monovalued filters",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,15 +19,15 @@
|
|
|
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": "0.3.
|
|
23
|
-
"@fluid-topics/ft-checkbox": "0.3.
|
|
24
|
-
"@fluid-topics/ft-icon": "0.3.
|
|
25
|
-
"@fluid-topics/ft-radio": "0.3.
|
|
26
|
-
"@fluid-topics/ft-ripple": "0.3.
|
|
27
|
-
"@fluid-topics/ft-snap-scroll": "0.3.
|
|
28
|
-
"@fluid-topics/ft-typography": "0.3.
|
|
29
|
-
"@fluid-topics/ft-wc-utils": "0.3.
|
|
22
|
+
"@fluid-topics/ft-button": "0.3.50",
|
|
23
|
+
"@fluid-topics/ft-checkbox": "0.3.50",
|
|
24
|
+
"@fluid-topics/ft-icon": "0.3.50",
|
|
25
|
+
"@fluid-topics/ft-radio": "0.3.50",
|
|
26
|
+
"@fluid-topics/ft-ripple": "0.3.50",
|
|
27
|
+
"@fluid-topics/ft-snap-scroll": "0.3.50",
|
|
28
|
+
"@fluid-topics/ft-typography": "0.3.50",
|
|
29
|
+
"@fluid-topics/ft-wc-utils": "0.3.50",
|
|
30
30
|
"lit": "2.2.8"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "ed73266ceb5360df2eefd4cbb314c1b9b2e811dc"
|
|
33
33
|
}
|