@fluid-topics/ft-resizer
Advanced tools
Comparing version 0.2.15 to 0.2.16
@@ -92,4 +92,6 @@ !function(){ | ||
`}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:""}getIcon(){var t,e;let i=this.textContent;return this.variant===xt.file_format?null!==(t=ft[i.toUpperCase()])&&void 0!==t?t:i:this.variant===xt.fluid_topics?null!==(e=pt[i.toUpperCase()])&&void 0!==e?e:i:P}}wt.elementDefinitions={},wt.styles=c` | ||
:host { | ||
display: inline-block; | ||
} | ||
:host, i.ft-icon { | ||
display: inline-block; | ||
width: ${vt}; | ||
@@ -96,0 +98,0 @@ height: ${vt}; |
@@ -7,4 +7,6 @@ !function(e,t,i,x,s){var o,n;!function(e){e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.MY_COLLECTIONS="",e.OFFLINE_SETTINGS="",e.MY_LIBRARY="",e.RATE_PLAIN="",e.RATE="",e.FEEDBACK_PLAIN="",e.STAR_PLAIN="",e.STAR="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_DOWN="",e.THUMBS_UP_PLAIN="",e.THUMBS_UP="",e.PAUSE="",e.PLAY="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.SHORTCUT_MENU="",e.PRINT="",e.DEFAULT_ROLES="",e.ACCOUNT_SETTINGS="",e.ONLINE="",e.OFFLINE="",e.UPLOAD="",e.BOOK_PLAIN="",e.SYNC="",e.SHARED_PBK="",e.COLLECTIONS="",e.SEARCH_IN_PUBLICATION="",e.BOOKS="",e.LOCKER="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SAVE="",e.MAILS_AND_NOTIFICATIONS="",e.DOT="",e.MINUS="",e.PLUS="",e.FILTERS="",e.STRIPE_ARROW_RIGHT="",e.STRIPE_ARROW_LEFT="",e.ATTACHMENTS="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.EXPORT="",e.MENU="",e.TAG="",e.TAG_PLAIN="",e.COPY_TO_CLIPBOARD="",e.COLUMNS="",e.ARTICLE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.LOGOUT="",e.SIGN_IN="",e.THIN_ARROW="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.FACET_HAS_DESCENDANT="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.INFO="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.SHARE="󨃱",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.EXTLINK="",e.CALENDAR="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.TOPICS="",e.EYE="\f06e",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN_THEME="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.HOME="",e.TRANSLATE="",e.USER="",e.ADMIN="",e.ANALYTICS="",e.ADMIN_KHUB="",e.ADMIN_USERS="",e.ADMIN_INTEGRATION="",e.ADMIN_PORTAL=""}(o||(o={})),function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""}(n||(n={})),new Map([...["abw"].map((e=>[e,n.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((e=>[e,n.AUDIO])),...["avi"].map((e=>[e,n.AVI])),...["chm","xhs"].map((e=>[e,n.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((e=>[e,n.CODE])),...["csv"].map((e=>[e,n.CSV])),...["dita","ditamap","ditaval"].map((e=>[e,n.DITA])),...["epub"].map((e=>[e,n.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((e=>[e,n.EXCEL])),...["flac"].map((e=>[e,n.FLAC])),...["gif"].map((e=>[e,n.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((e=>[e,n.GZIP])),...["html","htm","xhtml"].map((e=>[e,n.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((e=>[e,n.IMAGE])),...["jpeg","jpg","jpe"].map((e=>[e,n.JPEG])),...["json"].map((e=>[e,n.JSON])),...["m4a","m4p"].map((e=>[e,n.M4A])),...["mov","qt"].map((e=>[e,n.MOV])),...["mp3"].map((e=>[e,n.MP3])),...["mp4","m4v"].map((e=>[e,n.MP4])),...["ogg","oga"].map((e=>[e,n.OGG])),...["pdf","ps"].map((e=>[e,n.PDF])),...["png"].map((e=>[e,n.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((e=>[e,n.POWERPOINT])),...["rar"].map((e=>[e,n.RAR])),...["stp"].map((e=>[e,n.STP])),...["txt","rtf","md","mdown"].map((e=>[e,n.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((e=>[e,n.VIDEO])),...["wav"].map((e=>[e,n.WAV])),...["wma"].map((e=>[e,n.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((e=>[e,n.WORD])),...["xml","xsl","rdf"].map((e=>[e,n.XML])),...["yaml","yml","x-yaml"].map((e=>[e,n.YAML])),...["zip"].map((e=>[e,n.ZIP]))]);var a,c=function(e,t,i,x){for(var s,o=arguments.length,n=o<3?t:null===x?x=Object.getOwnPropertyDescriptor(t,i):x,a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};!function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"}(a||(a={}));const l=t.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),r=t.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",t.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),m=t.FtCssVariable.extend("--ft-icon-file-format-font-family",t.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),f=t.FtCssVariable.extend("--ft-icon-material-font-family",t.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class h extends t.FtLitElement{constructor(){super(...arguments),this.variant=a.fluid_topics}render(){return i.html` | ||
`}get textContent(){var e,t;return null!==(t=null===(e=this.slottedContent)||void 0===e?void 0:e.assignedNodes().map((e=>e.textContent)).join("").trim())&&void 0!==t?t:""}getIcon(){var e,t;let x=this.textContent;return this.variant===a.file_format?null!==(e=n[x.toUpperCase()])&&void 0!==e?e:x:this.variant===a.fluid_topics?null!==(t=o[x.toUpperCase()])&&void 0!==t?t:x:i.nothing}}h.elementDefinitions={},h.styles=i.css` | ||
:host { | ||
display: inline-block; | ||
} | ||
:host, i.ft-icon { | ||
display: inline-block; | ||
width: ${l}; | ||
@@ -11,0 +13,0 @@ height: ${l}; |
@@ -92,4 +92,6 @@ !function(t){ | ||
`}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:""}getIcon(){var t,e;let i=this.textContent;return this.variant===mt.file_format?null!==(t=xt[i.toUpperCase()])&&void 0!==t?t:i:this.variant===mt.fluid_topics?null!==(e=ft[i.toUpperCase()])&&void 0!==e?e:i:z}}Ot.elementDefinitions={},Ot.styles=h` | ||
:host { | ||
display: inline-block; | ||
} | ||
:host, i.ft-icon { | ||
display: inline-block; | ||
width: ${yt}; | ||
@@ -96,0 +98,0 @@ height: ${yt}; |
{ | ||
"name": "@fluid-topics/ft-resizer", | ||
"version": "0.2.15", | ||
"version": "0.2.16", | ||
"description": "small", | ||
@@ -22,7 +22,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@fluid-topics/ft-icon": "^0.2.15", | ||
"@fluid-topics/ft-wc-utils": "^0.2.15", | ||
"@fluid-topics/ft-icon": "^0.2.16", | ||
"@fluid-topics/ft-wc-utils": "^0.2.16", | ||
"lit": "2.1.3" | ||
}, | ||
"gitHead": "d8f4700bb2461618dc2d1786e0091360556e9e24" | ||
"gitHead": "d57a682474d27df7e667d8616a2fbca7643d51c2" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
112838
891