@fluid-topics/ft-icon 1.0.13 → 1.0.15
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-icon.light.js +1 -1
- package/build/ft-icon.min.js +2 -2
- package/build/icons.d.ts +6 -1
- package/build/icons.js +5 -0
- package/package.json +3 -3
package/build/ft-icon.light.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t,a,i,o){var x,n;e.FtIcons=void 0,(x=e.FtIcons||(e.FtIcons={})).THUMBS_DOWN="",x.THUMBS_DOWN_PLAIN="",x.THUMBS_UP="",x.THUMBS_UP_PLAIN="",x.STAR="",x.STAR_PLAIN="",x.DESKTOP="",x.TABLET_LANDSCAPE="",x.TABLET_PORTRAIT="",x.MOBILE_LANDSCAPE="",x.MOBILE_PORTRAIT="",x.ARROW_RIGHT_TO_LINE="",x.THIN_ARROW_UP="",x.CONTEXTUAL="",x.UNSTRUCTURED_DOC="",x.RESET="",x.THIN_ARROW_LEFT="",x.THIN_ARROW_RIGHT="",x.MY_COLLECTIONS="",x.OFFLINE_SETTINGS="",x.MY_LIBRARY="",x.RATE_PLAIN="",x.RATE="",x.FEEDBACK_PLAIN="",x.PAUSE="",x.PLAY="",x.RELATIVES_PLAIN="",x.RELATIVES="",x.SHORTCUT_MENU="",x.PRINT="",x.DEFAULT_ROLES="",x.ACCOUNT_SETTINGS="",x.ONLINE="",x.OFFLINE="",x.UPLOAD="",x.BOOK_PLAIN="",x.SYNC="",x.SHARED_PBK="",x.COLLECTIONS="",x.SEARCH_IN_PUBLICATION="",x.BOOKS="",x.LOCKER="",x.ARROW_DOWN="",x.ARROW_LEFT="",x.ARROW_RIGHT="",x.ARROW_UP="",x.SAVE="",x.MAILS_AND_NOTIFICATIONS="",x.DOT="",x.MINUS="",x.PLUS="",x.FILTERS="",x.STRIPE_ARROW_RIGHT="",x.STRIPE_ARROW_LEFT="",x.ATTACHMENTS="",x.ADD_BOOKMARK="",x.BOOKMARK="",x.EXPORT="",x.MENU="",x.TAG="",x.TAG_PLAIN="",x.COPY_TO_CLIPBOARD="",x.COLUMNS="",x.ARTICLE="",x.CLOSE_PLAIN="",x.CHECK_PLAIN="",x.LOGOUT="",x.SIGN_IN="",x.THIN_ARROW="",x.TRIANGLE_BOTTOM="",x.TRIANGLE_LEFT="",x.TRIANGLE_RIGHT="",x.TRIANGLE_TOP="",x.FACET_HAS_DESCENDANT="",x.MINUS_PLAIN="",x.PLUS_PLAIN="",x.INFO="",x.ICON_EXPAND="",x.ICON_COLLAPSE="",x.ADD_TO_PBK="",x.ALERT="",x.ADD_ALERT="",x.BACK_TO_SEARCH="",x.DOWNLOAD="",x.EDIT="",x.FEEDBACK="",x.MODIFY_PBK="",x.SCHEDULED="",x.SEARCH="",x.SHARE="󨃱",x.TOC="",x.WRITE_UGC="",x.TRASH="",x.EXTLINK="",x.CALENDAR="",x.BOOK="",x.DOWNLOAD_PLAIN="",x.CHECK="",x.TOPICS="",x.EYE="",x.DISC="",x.CIRCLE="",x.SHARED="",x.SORT_UNSORTED="",x.SORT_UP="",x.SORT_DOWN="",x.WORKING="",x.CLOSE="",x.ZOOM_OUT="",x.ZOOM_IN="",x.ZOOM_REALSIZE="",x.ZOOM_FULLSCREEN="",x.ADMIN_RESTRICTED="",x.ADMIN_THEME="",x.WARNING="",x.CONTEXT="",x.SEARCH_HOME="",x.STEPS="",x.HOME="",x.TRANSLATE="",x.USER="",x.ADMIN="",x.ANALYTICS="",x.ADMIN_KHUB="",x.ADMIN_USERS="",x.ADMIN_INTEGRATION="",x.ADMIN_PORTAL="",e.FtFileFormatIcons=void 0,(n=e.FtFileFormatIcons||(e.FtFileFormatIcons={})).UNKNOWN="",n.ABW="",n.AUDIO="",n.AVI="",n.CHM="",n.CODE="",n.CSV="",n.DITA="",n.EPUB="",n.EXCEL="",n.FLAC="",n.GIF="",n.GZIP="",n.HTML="",n.IMAGE="",n.JPEG="",n.JSON="",n.M4A="",n.MOV="",n.MP3="",n.MP4="",n.OGG="",n.PDF="",n.PNG="",n.POWERPOINT="",n.RAR="",n.STP="",n.TEXT="",n.VIDEO="",n.WAV="",n.WMA="",n.WORD="",n.XML="",n.YAML="",n.ZIP="";const p=new Map([...["abw"].map((t=>[t,e.FtFileFormatIcons.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,e.FtFileFormatIcons.AUDIO])),...["avi"].map((t=>[t,e.FtFileFormatIcons.AVI])),...["chm","xhs"].map((t=>[t,e.FtFileFormatIcons.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,e.FtFileFormatIcons.CODE])),...["csv"].map((t=>[t,e.FtFileFormatIcons.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,e.FtFileFormatIcons.DITA])),...["epub"].map((t=>[t,e.FtFileFormatIcons.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,e.FtFileFormatIcons.EXCEL])),...["flac"].map((t=>[t,e.FtFileFormatIcons.FLAC])),...["gif"].map((t=>[t,e.FtFileFormatIcons.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,e.FtFileFormatIcons.GZIP])),...["html","htm","xhtml"].map((t=>[t,e.FtFileFormatIcons.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,e.FtFileFormatIcons.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,e.FtFileFormatIcons.JPEG])),...["json"].map((t=>[t,e.FtFileFormatIcons.JSON])),...["m4a","m4p"].map((t=>[t,e.FtFileFormatIcons.M4A])),...["mov","qt"].map((t=>[t,e.FtFileFormatIcons.MOV])),...["mp3"].map((t=>[t,e.FtFileFormatIcons.MP3])),...["mp4","m4v"].map((t=>[t,e.FtFileFormatIcons.MP4])),...["ogg","oga"].map((t=>[t,e.FtFileFormatIcons.OGG])),...["pdf","ps"].map((t=>[t,e.FtFileFormatIcons.PDF])),...["png"].map((t=>[t,e.FtFileFormatIcons.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,e.FtFileFormatIcons.POWERPOINT])),...["rar"].map((t=>[t,e.FtFileFormatIcons.RAR])),...["stp"].map((t=>[t,e.FtFileFormatIcons.STP])),...["txt","rtf","md","mdown"].map((t=>[t,e.FtFileFormatIcons.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,e.FtFileFormatIcons.VIDEO])),...["wav"].map((t=>[t,e.FtFileFormatIcons.WAV])),...["wma"].map((t=>[t,e.FtFileFormatIcons.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,e.FtFileFormatIcons.WORD])),...["xml","xsl","rdf"].map((t=>[t,e.FtFileFormatIcons.XML])),...["yaml","yml","x-yaml"].map((t=>[t,e.FtFileFormatIcons.YAML])),...["zip"].map((t=>[t,e.FtFileFormatIcons.ZIP]))]),l=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);const s={size:t.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:t.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",t.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:t.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",t.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:t.FtCssVariableFactory.extend("--ft-icon-material-font-family",t.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:t.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")},c=a.css`
|
|
1
|
+
!function(e,t,a,i,o){var x,n;e.FtIcons=void 0,(x=e.FtIcons||(e.FtIcons={})).THUMBS_DOWN="",x.THUMBS_DOWN_PLAIN="",x.THUMBS_UP="",x.THUMBS_UP_PLAIN="",x.STAR="",x.STAR_PLAIN="",x.DESKTOP="",x.TABLET_LANDSCAPE="",x.TABLET_PORTRAIT="",x.MOBILE_LANDSCAPE="",x.MOBILE_PORTRAIT="",x.ARROW_RIGHT_TO_LINE="",x.THIN_ARROW_UP="",x.CONTEXTUAL="",x.DIAGRAM_SUNBURST="",x.DIAGRAM_SANKEY="",x.UNSTRUCTURED_DOC="",x.RESET="",x.THIN_ARROW_LEFT="",x.THIN_ARROW_RIGHT="",x.MY_COLLECTIONS="",x.OFFLINE_SETTINGS="",x.MY_LIBRARY="",x.RATE_PLAIN="",x.RATE="",x.FEEDBACK_PLAIN="",x.PAUSE="",x.PLAY="",x.RELATIVES_PLAIN="",x.RELATIVES="",x.SHORTCUT_MENU="",x.PRINT="",x.DEFAULT_ROLES="",x.ACCOUNT_SETTINGS="",x.ONLINE="",x.OFFLINE="",x.UPLOAD="",x.BOOK_PLAIN="",x.SYNC="",x.SHARED_PBK="",x.COLLECTIONS="",x.SEARCH_IN_PUBLICATION="",x.BOOKS="",x.LOCKER="",x.ARROW_DOWN="",x.ARROW_LEFT="",x.ARROW_RIGHT="",x.ARROW_UP="",x.SAVE="",x.MAILS_AND_NOTIFICATIONS="",x.DOT="",x.MINUS="",x.PLUS="",x.FILTERS="",x.STRIPE_ARROW_RIGHT="",x.STRIPE_ARROW_LEFT="",x.ATTACHMENTS="",x.ADD_BOOKMARK="",x.BOOKMARK="",x.EXPORT="",x.MENU="",x.TAG="",x.TAG_PLAIN="",x.COPY_TO_CLIPBOARD="",x.COLUMNS="",x.ARTICLE="",x.CLOSE_PLAIN="",x.CHECK_PLAIN="",x.LOGOUT="",x.SIGN_IN="",x.THIN_ARROW="",x.TRIANGLE_BOTTOM="",x.TRIANGLE_LEFT="",x.TRIANGLE_RIGHT="",x.TRIANGLE_TOP="",x.FACET_HAS_DESCENDANT="",x.MINUS_PLAIN="",x.PLUS_PLAIN="",x.INFO="",x.ICON_EXPAND="",x.ICON_COLLAPSE="",x.ADD_TO_PBK="",x.ALERT="",x.ADD_ALERT="",x.BACK_TO_SEARCH="",x.DOWNLOAD="",x.EDIT="",x.FEEDBACK="",x.MODIFY_PBK="",x.SCHEDULED="",x.SEARCH="",x.SHARE="󨃱",x.TOC="",x.WRITE_UGC="",x.TRASH="",x.EXTLINK="",x.CALENDAR="",x.BOOK="",x.DOWNLOAD_PLAIN="",x.CHECK="",x.TOPICS="",x.EYE="",x.DISC="",x.CIRCLE="",x.SHARED="",x.SORT_UNSORTED="",x.SORT_UP="",x.SORT_DOWN="",x.WORKING="",x.CLOSE="",x.ZOOM_OUT="",x.ZOOM_IN="",x.ZOOM_REALSIZE="",x.ZOOM_FULLSCREEN="",x.ADMIN_RESTRICTED="",x.ADMIN_THEME="",x.WARNING="",x.CONTEXT="",x.SEARCH_HOME="",x.STEPS="",x.HOME="",x.TRANSLATE="",x.USER="",x.ADMIN="",x.ANALYTICS="",x.ADMIN_KHUB="",x.ADMIN_USERS="",x.ADMIN_INTEGRATION="",x.ADMIN_PORTAL="",x.COMMENT_QUESTION="",x.COMMENT_QUESTION_PLAIN="",x.MESSAGE_BOT="",e.FtFileFormatIcons=void 0,(n=e.FtFileFormatIcons||(e.FtFileFormatIcons={})).UNKNOWN="",n.ABW="",n.AUDIO="",n.AVI="",n.CHM="",n.CODE="",n.CSV="",n.DITA="",n.EPUB="",n.EXCEL="",n.FLAC="",n.GIF="",n.GZIP="",n.HTML="",n.IMAGE="",n.JPEG="",n.JSON="",n.M4A="",n.MOV="",n.MP3="",n.MP4="",n.OGG="",n.PDF="",n.PNG="",n.POWERPOINT="",n.RAR="",n.STP="",n.TEXT="",n.VIDEO="",n.WAV="",n.WMA="",n.WORD="",n.XML="",n.YAML="",n.ZIP="";const p=new Map([...["abw"].map((t=>[t,e.FtFileFormatIcons.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,e.FtFileFormatIcons.AUDIO])),...["avi"].map((t=>[t,e.FtFileFormatIcons.AVI])),...["chm","xhs"].map((t=>[t,e.FtFileFormatIcons.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,e.FtFileFormatIcons.CODE])),...["csv"].map((t=>[t,e.FtFileFormatIcons.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,e.FtFileFormatIcons.DITA])),...["epub"].map((t=>[t,e.FtFileFormatIcons.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,e.FtFileFormatIcons.EXCEL])),...["flac"].map((t=>[t,e.FtFileFormatIcons.FLAC])),...["gif"].map((t=>[t,e.FtFileFormatIcons.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,e.FtFileFormatIcons.GZIP])),...["html","htm","xhtml"].map((t=>[t,e.FtFileFormatIcons.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,e.FtFileFormatIcons.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,e.FtFileFormatIcons.JPEG])),...["json"].map((t=>[t,e.FtFileFormatIcons.JSON])),...["m4a","m4p"].map((t=>[t,e.FtFileFormatIcons.M4A])),...["mov","qt"].map((t=>[t,e.FtFileFormatIcons.MOV])),...["mp3"].map((t=>[t,e.FtFileFormatIcons.MP3])),...["mp4","m4v"].map((t=>[t,e.FtFileFormatIcons.MP4])),...["ogg","oga"].map((t=>[t,e.FtFileFormatIcons.OGG])),...["pdf","ps"].map((t=>[t,e.FtFileFormatIcons.PDF])),...["png"].map((t=>[t,e.FtFileFormatIcons.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,e.FtFileFormatIcons.POWERPOINT])),...["rar"].map((t=>[t,e.FtFileFormatIcons.RAR])),...["stp"].map((t=>[t,e.FtFileFormatIcons.STP])),...["txt","rtf","md","mdown"].map((t=>[t,e.FtFileFormatIcons.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,e.FtFileFormatIcons.VIDEO])),...["wav"].map((t=>[t,e.FtFileFormatIcons.WAV])),...["wma"].map((t=>[t,e.FtFileFormatIcons.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,e.FtFileFormatIcons.WORD])),...["xml","xsl","rdf"].map((t=>[t,e.FtFileFormatIcons.XML])),...["yaml","yml","x-yaml"].map((t=>[t,e.FtFileFormatIcons.YAML])),...["zip"].map((t=>[t,e.FtFileFormatIcons.ZIP]))]),l=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);const s={size:t.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:t.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",t.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:t.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",t.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:t.FtCssVariableFactory.extend("--ft-icon-material-font-family",t.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:t.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")},c=a.css`
|
|
2
2
|
:host, i.ft-icon {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
align-items: center;
|
package/build/ft-icon.min.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
|
|
16
16
|
*/
|
|
17
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,s=window.customElements,o=new WeakMap,n=new WeakMap,r=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,o){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(o))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=o.prototype.attributeChangedCallback,l=new Set(o.observedAttributes||[]);d(o,l,a);const c={elementClass:o,connectedCallback:o.prototype.connectedCallback,disconnectedCallback:o.prototype.disconnectedCallback,adoptedCallback:o.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:o.formAssociated,formAssociatedCallback:o.prototype.formAssociatedCallback,formDisabledCallback:o.prototype.formDisabledCallback,formResetCallback:o.prototype.formResetCallback,formStateRestoreCallback:o.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(o,c);let h=i.call(s,t);h||(h=p(t),e.call(s,t,h)),this===window.customElements&&(r.set(o,c),c.standInClass=h);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),f(t,c,!0)}const x=this._whenDefinedPromises.get(t);return void 0!==x&&(x.resolve(o),this._whenDefinedPromises.delete(t)),o}upgrade(){v.push(this),s.upgrade.apply(s,arguments),v.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let s=this._awaitingUpgrade.get(e);s||this._awaitingUpgrade.set(e,s=new Set),i?s.add(t):s.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),o.set(e,i),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!c(e)){const t=v[v.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const s=h(i)||window.customElements,o=s._getDefinition(e);return o?f(i,o):n.set(i,s),i}connectedCallback(){const t=o.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=o.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=o.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=o.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=o.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=o.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=o.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,i)=>{if(0===e.size||void 0===i)return;const s=t.prototype.setAttribute;s&&(t.prototype.setAttribute=function(t,o){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);s.call(this,n,o),i.call(this,n,t,o)}else s.call(this,n,o)});const o=t.prototype.removeAttribute;o&&(t.prototype.removeAttribute=function(t){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s),i.call(this,s,t,null)}else o.call(this,s)})},u=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):u(i)},f=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),o.set(t,e),l=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},x=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=x.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let v=[document];const m=(t,e,i=void 0)=>{const s=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){v.push(this);const t=s.apply(i||this,arguments);return void 0!==t&&a.set(t,this),v.pop(),t}};m(ShadowRoot,"createElement",document),m(ShadowRoot,"importNode",document),m(Element,"insertAdjacentHTML");const b=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){v.push(this),i.set.call(this,t),v.pop()}})};if(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const s=e.call(this,...i);return t.set(s,this),s},i.forEach((e=>{const i=window.ElementInternals.prototype,s=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==o.get(i).formAssociated)throw new DOMException(`Failed to execute ${s} on 'ElementInternals': The target element is not a form-associated custom element.`);s?.call(this,...e)}}));class s extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const s=t.getAttribute("name"),o=e.get(s)||[];this[+i]=t,o.push(t),e.set(s,o)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new s(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=o.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Nt){const t=window.customElements.define;window.customElements.define=(e,i,s)=>{try{t.bind(window.customElements)(e,i,s)}catch(t){console.info(e,i,s,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const s=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,o=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void s(t)}o(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
17
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,s=window.customElements,o=new WeakMap,n=new WeakMap,r=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,o){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(o))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=o.prototype.attributeChangedCallback,l=new Set(o.observedAttributes||[]);d(o,l,a);const c={elementClass:o,connectedCallback:o.prototype.connectedCallback,disconnectedCallback:o.prototype.disconnectedCallback,adoptedCallback:o.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:o.formAssociated,formAssociatedCallback:o.prototype.formAssociatedCallback,formDisabledCallback:o.prototype.formDisabledCallback,formResetCallback:o.prototype.formResetCallback,formStateRestoreCallback:o.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(o,c);let h=i.call(s,t);h||(h=p(t),e.call(s,t,h)),this===window.customElements&&(r.set(o,c),c.standInClass=h);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),f(t,c,!0)}const x=this._whenDefinedPromises.get(t);return void 0!==x&&(x.resolve(o),this._whenDefinedPromises.delete(t)),o}upgrade(){v.push(this),s.upgrade.apply(s,arguments),v.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let s=this._awaitingUpgrade.get(e);s||this._awaitingUpgrade.set(e,s=new Set),i?s.add(t):s.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),o.set(e,i),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!c(e)){const t=v[v.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const s=h(i)||window.customElements,o=s._getDefinition(e);return o?f(i,o):n.set(i,s),i}connectedCallback(){const t=o.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=o.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=o.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=o.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=o.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=o.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=o.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,i)=>{if(0===e.size||void 0===i)return;const s=t.prototype.setAttribute;s&&(t.prototype.setAttribute=function(t,o){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);s.call(this,n,o),i.call(this,n,t,o)}else s.call(this,n,o)});const o=t.prototype.removeAttribute;o&&(t.prototype.removeAttribute=function(t){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s),i.call(this,s,t,null)}else o.call(this,s)})},u=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):u(i)},f=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),o.set(t,e),l=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},x=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=x.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let v=[document];const m=(t,e,i=void 0)=>{const s=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){v.push(this);const t=s.apply(i||this,arguments);return void 0!==t&&a.set(t,this),v.pop(),t}};m(ShadowRoot,"createElement",document),m(ShadowRoot,"importNode",document),m(Element,"insertAdjacentHTML");const b=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){v.push(this),i.set.call(this,t),v.pop()}})};if(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const s=e.call(this,...i);return t.set(s,this),s},i.forEach((e=>{const i=window.ElementInternals.prototype,s=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==o.get(i).formAssociated)throw new DOMException(`Failed to execute ${s} on 'ElementInternals': The target element is not a form-associated custom element.`);s?.call(this,...e)}}));class s extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const s=t.getAttribute("name"),o=e.get(s)||[];this[+i]=t,o.push(t),e.set(s,o)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new s(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=o.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Nt){const t=window.customElements.define;window.customElements.define=(e,i,s)=>{if(null!==i)try{t.bind(window.customElements)(e,i,s)}catch(t){console.info(e,i,s,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const s=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,o=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void s(t)}o(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
18
18
|
/**
|
|
19
19
|
* @license
|
|
20
20
|
* Copyright 2017 Google LLC
|
|
@@ -96,7 +96,7 @@ const yt=2;class Ot{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
|
|
|
96
96
|
* @license
|
|
97
97
|
* Copyright 2017 Google LLC
|
|
98
98
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
99
|
-
*/class Nt extends Ot{constructor(t){if(super(t),this.et=Z,t.type!==yt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||null==t)return this.ft=void 0,this.et=t;if(t===P)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Nt.directiveName="unsafeHTML",Nt.resultType=1;const Et=(t=>(...e)=>({_$litDirective$:t,values:e}))(Nt);var $t,Ct;t.FtIcons=void 0,($t=t.FtIcons||(t.FtIcons={})).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="",t.FtFileFormatIcons=void 0,(Ct=t.FtFileFormatIcons||(t.FtFileFormatIcons={})).UNKNOWN="",Ct.ABW="",Ct.AUDIO="",Ct.AVI="",Ct.CHM="",Ct.CODE="",Ct.CSV="",Ct.DITA="",Ct.EPUB="",Ct.EXCEL="",Ct.FLAC="",Ct.GIF="",Ct.GZIP="",Ct.HTML="",Ct.IMAGE="",Ct.JPEG="",Ct.JSON="",Ct.M4A="",Ct.MOV="",Ct.MP3="",Ct.MP4="",Ct.OGG="",Ct.PDF="",Ct.PNG="",Ct.POWERPOINT="",Ct.RAR="",Ct.STP="",Ct.TEXT="",Ct.VIDEO="",Ct.WAV="",Ct.WMA="",Ct.WORD="",Ct.XML="",Ct.YAML="",Ct.ZIP="";const Rt=new Map([...["abw"].map((e=>[e,t.FtFileFormatIcons.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,t.FtFileFormatIcons.AUDIO])),...["avi"].map((e=>[e,t.FtFileFormatIcons.AVI])),...["chm","xhs"].map((e=>[e,t.FtFileFormatIcons.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,t.FtFileFormatIcons.CODE])),...["csv"].map((e=>[e,t.FtFileFormatIcons.CSV])),...["dita","ditamap","ditaval"].map((e=>[e,t.FtFileFormatIcons.DITA])),...["epub"].map((e=>[e,t.FtFileFormatIcons.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((e=>[e,t.FtFileFormatIcons.EXCEL])),...["flac"].map((e=>[e,t.FtFileFormatIcons.FLAC])),...["gif"].map((e=>[e,t.FtFileFormatIcons.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((e=>[e,t.FtFileFormatIcons.GZIP])),...["html","htm","xhtml"].map((e=>[e,t.FtFileFormatIcons.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,t.FtFileFormatIcons.IMAGE])),...["jpeg","jpg","jpe"].map((e=>[e,t.FtFileFormatIcons.JPEG])),...["json"].map((e=>[e,t.FtFileFormatIcons.JSON])),...["m4a","m4p"].map((e=>[e,t.FtFileFormatIcons.M4A])),...["mov","qt"].map((e=>[e,t.FtFileFormatIcons.MOV])),...["mp3"].map((e=>[e,t.FtFileFormatIcons.MP3])),...["mp4","m4v"].map((e=>[e,t.FtFileFormatIcons.MP4])),...["ogg","oga"].map((e=>[e,t.FtFileFormatIcons.OGG])),...["pdf","ps"].map((e=>[e,t.FtFileFormatIcons.PDF])),...["png"].map((e=>[e,t.FtFileFormatIcons.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((e=>[e,t.FtFileFormatIcons.POWERPOINT])),...["rar"].map((e=>[e,t.FtFileFormatIcons.RAR])),...["stp"].map((e=>[e,t.FtFileFormatIcons.STP])),...["txt","rtf","md","mdown"].map((e=>[e,t.FtFileFormatIcons.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,t.FtFileFormatIcons.VIDEO])),...["wav"].map((e=>[e,t.FtFileFormatIcons.WAV])),...["wma"].map((e=>[e,t.FtFileFormatIcons.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((e=>[e,t.FtFileFormatIcons.WORD])),...["xml","xsl","rdf"].map((e=>[e,t.FtFileFormatIcons.XML])),...["yaml","yml","x-yaml"].map((e=>[e,t.FtFileFormatIcons.YAML])),...["zip"].map((e=>[e,t.FtFileFormatIcons.ZIP]))]),St=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);const Mt={size:pt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:pt.extend("--ft-icon-fluid-topics-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:pt.extend("--ft-icon-file-format-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:pt.extend("--ft-icon-material-font-family",pt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:pt.create("--ft-icon-vertical-align","UNKNOWN","unset")},kt=d`
|
|
99
|
+
*/class Nt extends Ot{constructor(t){if(super(t),this.et=Z,t.type!==yt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||null==t)return this.ft=void 0,this.et=t;if(t===P)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Nt.directiveName="unsafeHTML",Nt.resultType=1;const Et=(t=>(...e)=>({_$litDirective$:t,values:e}))(Nt);var $t,Ct;t.FtIcons=void 0,($t=t.FtIcons||(t.FtIcons={})).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.DIAGRAM_SUNBURST="",$t.DIAGRAM_SANKEY="",$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="",$t.COMMENT_QUESTION="",$t.COMMENT_QUESTION_PLAIN="",$t.MESSAGE_BOT="",t.FtFileFormatIcons=void 0,(Ct=t.FtFileFormatIcons||(t.FtFileFormatIcons={})).UNKNOWN="",Ct.ABW="",Ct.AUDIO="",Ct.AVI="",Ct.CHM="",Ct.CODE="",Ct.CSV="",Ct.DITA="",Ct.EPUB="",Ct.EXCEL="",Ct.FLAC="",Ct.GIF="",Ct.GZIP="",Ct.HTML="",Ct.IMAGE="",Ct.JPEG="",Ct.JSON="",Ct.M4A="",Ct.MOV="",Ct.MP3="",Ct.MP4="",Ct.OGG="",Ct.PDF="",Ct.PNG="",Ct.POWERPOINT="",Ct.RAR="",Ct.STP="",Ct.TEXT="",Ct.VIDEO="",Ct.WAV="",Ct.WMA="",Ct.WORD="",Ct.XML="",Ct.YAML="",Ct.ZIP="";const Rt=new Map([...["abw"].map((e=>[e,t.FtFileFormatIcons.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,t.FtFileFormatIcons.AUDIO])),...["avi"].map((e=>[e,t.FtFileFormatIcons.AVI])),...["chm","xhs"].map((e=>[e,t.FtFileFormatIcons.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,t.FtFileFormatIcons.CODE])),...["csv"].map((e=>[e,t.FtFileFormatIcons.CSV])),...["dita","ditamap","ditaval"].map((e=>[e,t.FtFileFormatIcons.DITA])),...["epub"].map((e=>[e,t.FtFileFormatIcons.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((e=>[e,t.FtFileFormatIcons.EXCEL])),...["flac"].map((e=>[e,t.FtFileFormatIcons.FLAC])),...["gif"].map((e=>[e,t.FtFileFormatIcons.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((e=>[e,t.FtFileFormatIcons.GZIP])),...["html","htm","xhtml"].map((e=>[e,t.FtFileFormatIcons.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,t.FtFileFormatIcons.IMAGE])),...["jpeg","jpg","jpe"].map((e=>[e,t.FtFileFormatIcons.JPEG])),...["json"].map((e=>[e,t.FtFileFormatIcons.JSON])),...["m4a","m4p"].map((e=>[e,t.FtFileFormatIcons.M4A])),...["mov","qt"].map((e=>[e,t.FtFileFormatIcons.MOV])),...["mp3"].map((e=>[e,t.FtFileFormatIcons.MP3])),...["mp4","m4v"].map((e=>[e,t.FtFileFormatIcons.MP4])),...["ogg","oga"].map((e=>[e,t.FtFileFormatIcons.OGG])),...["pdf","ps"].map((e=>[e,t.FtFileFormatIcons.PDF])),...["png"].map((e=>[e,t.FtFileFormatIcons.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((e=>[e,t.FtFileFormatIcons.POWERPOINT])),...["rar"].map((e=>[e,t.FtFileFormatIcons.RAR])),...["stp"].map((e=>[e,t.FtFileFormatIcons.STP])),...["txt","rtf","md","mdown"].map((e=>[e,t.FtFileFormatIcons.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,t.FtFileFormatIcons.VIDEO])),...["wav"].map((e=>[e,t.FtFileFormatIcons.WAV])),...["wma"].map((e=>[e,t.FtFileFormatIcons.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((e=>[e,t.FtFileFormatIcons.WORD])),...["xml","xsl","rdf"].map((e=>[e,t.FtFileFormatIcons.XML])),...["yaml","yml","x-yaml"].map((e=>[e,t.FtFileFormatIcons.YAML])),...["zip"].map((e=>[e,t.FtFileFormatIcons.ZIP]))]),St=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);const Mt={size:pt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:pt.extend("--ft-icon-fluid-topics-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:pt.extend("--ft-icon-file-format-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:pt.extend("--ft-icon-material-font-family",pt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:pt.create("--ft-icon-vertical-align","UNKNOWN","unset")},kt=d`
|
|
100
100
|
:host, i.ft-icon {
|
|
101
101
|
display: inline-flex;
|
|
102
102
|
align-items: center;
|
package/build/icons.d.ts
CHANGED
|
@@ -13,6 +13,8 @@ export declare enum FtIcons {
|
|
|
13
13
|
ARROW_RIGHT_TO_LINE = "",
|
|
14
14
|
THIN_ARROW_UP = "",
|
|
15
15
|
CONTEXTUAL = "",
|
|
16
|
+
DIAGRAM_SUNBURST = "",
|
|
17
|
+
DIAGRAM_SANKEY = "",
|
|
16
18
|
UNSTRUCTURED_DOC = "",
|
|
17
19
|
RESET = "",
|
|
18
20
|
THIN_ARROW_LEFT = "",
|
|
@@ -125,7 +127,10 @@ export declare enum FtIcons {
|
|
|
125
127
|
ADMIN_KHUB = "",
|
|
126
128
|
ADMIN_USERS = "",
|
|
127
129
|
ADMIN_INTEGRATION = "",
|
|
128
|
-
ADMIN_PORTAL = ""
|
|
130
|
+
ADMIN_PORTAL = "",
|
|
131
|
+
COMMENT_QUESTION = "",
|
|
132
|
+
COMMENT_QUESTION_PLAIN = "",
|
|
133
|
+
MESSAGE_BOT = ""
|
|
129
134
|
}
|
|
130
135
|
export declare enum FtFileFormatIcons {
|
|
131
136
|
UNKNOWN = "",
|
package/build/icons.js
CHANGED
|
@@ -14,6 +14,8 @@ export var FtIcons;
|
|
|
14
14
|
FtIcons["ARROW_RIGHT_TO_LINE"] = "";
|
|
15
15
|
FtIcons["THIN_ARROW_UP"] = "";
|
|
16
16
|
FtIcons["CONTEXTUAL"] = "";
|
|
17
|
+
FtIcons["DIAGRAM_SUNBURST"] = "";
|
|
18
|
+
FtIcons["DIAGRAM_SANKEY"] = "";
|
|
17
19
|
FtIcons["UNSTRUCTURED_DOC"] = "";
|
|
18
20
|
FtIcons["RESET"] = "";
|
|
19
21
|
FtIcons["THIN_ARROW_LEFT"] = "";
|
|
@@ -127,6 +129,9 @@ export var FtIcons;
|
|
|
127
129
|
FtIcons["ADMIN_USERS"] = "";
|
|
128
130
|
FtIcons["ADMIN_INTEGRATION"] = "";
|
|
129
131
|
FtIcons["ADMIN_PORTAL"] = "";
|
|
132
|
+
FtIcons["COMMENT_QUESTION"] = "";
|
|
133
|
+
FtIcons["COMMENT_QUESTION_PLAIN"] = "";
|
|
134
|
+
FtIcons["MESSAGE_BOT"] = "";
|
|
130
135
|
})(FtIcons || (FtIcons = {}));
|
|
131
136
|
export var FtFileFormatIcons;
|
|
132
137
|
(function (FtFileFormatIcons) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-icon",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"description": "Typography components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-wc-utils": "1.0.
|
|
22
|
+
"@fluid-topics/ft-wc-utils": "1.0.15",
|
|
23
23
|
"lit": "2.7.2"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "1790145546a4c4eb194a606ec2decb59f7339532"
|
|
26
26
|
}
|