@fluid-topics/ft-reader-search-in-document 2.2.30 → 2.2.32
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.
|
@@ -338,12 +338,12 @@
|
|
|
338
338
|
.ft-icon--material {
|
|
339
339
|
font-family: ${Je.materialFontFamily}, "Material Icons", sans-serif;
|
|
340
340
|
}
|
|
341
|
-
`,Kt.noTextSelect]});var et,ac=l(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(et||(et={}))});var Hn=ji((L_,_m)=>{_m.exports=ftGlobals.litUnsafeHTML});function jn(t,e){var r,i,s,o;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[n,a]=(((r=vE.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(o=(s=(i=lc.get(a))!==null&&i!==void 0?i:lc.get(e))!==null&&s!==void 0?s:lc.get(n))!==null&&o!==void 0?o:b.UNKNOWN}var we,b,lc,vE,$_,cc=l(()=>{"use strict";(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",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="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE="",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",t.PAPER_PLANE_SLASH="",t.COMPRESS="",t.EXPAND="",t.ARROW_ROTATE_LEFT="",t.MOBILE_SMALL="",t.SPARKLES="",t.HAND_SOLID="",t.CLOCK_SOLID="",t.CONTEXT_MENU_CURSOR="",t.LANGUAGE_SLASH="",t.MAGNIFYING_GLASS_FLOPPY_DISK="",t.CABINET_FILING_FLOPPY_DISK="",t.BOOKMARK_SLASH="",t.CIRCLE_PAUSE="",t.CIRCLE_PLAY="",t.CIRCLE_STOP_PLAIN="",t.CIRCLE_ARROW_DOWN="",t.SHARE_NODES="",t.BELL="",t.BELL_SLASH="",t.FILE="",t.HAND="",t.SQUARE_INFO_SOLID="",t.FILE_CODE="",t.BOX_CODE="",t.TOPICS_SOLID="",t.PHOTO_FILM="",t.HYPHEN_SOLID="",t.CROSSHAIRS="",t.PERSON_CHALKBOARD="",t.CIRCLE_ARROW_DOWN_SLASH="",t.BOOK_OPEN_COVER="",t.LIGHTBULB="",t.MESSAGE_BOT_AGENTIC_SOLID="",t.CHART_LINE_USER="",t.SERVER_CIRCLE_ARROW_DOWN="",t.EYE="",t.SHARE="󨃱"})(we||(we={}));(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=""})(b||(b={}));lc=new Map([...["abw"].map(t=>[t,b.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,b.AUDIO]),...["avi"].map(t=>[t,b.AVI]),...["chm","xhs"].map(t=>[t,b.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,b.CODE]),...["csv"].map(t=>[t,b.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,b.DITA]),...["epub"].map(t=>[t,b.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,b.EXCEL]),...["flac"].map(t=>[t,b.FLAC]),...["gif"].map(t=>[t,b.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,b.GZIP]),...["html","htm","xhtml"].map(t=>[t,b.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,b.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,b.JPEG]),...["json"].map(t=>[t,b.JSON]),...["m4a","m4p"].map(t=>[t,b.M4A]),...["mov","qt"].map(t=>[t,b.MOV]),...["mp3"].map(t=>[t,b.MP3]),...["mp4","m4v"].map(t=>[t,b.MP4]),...["ogg","oga"].map(t=>[t,b.OGG]),...["pdf","ps"].map(t=>[t,b.PDF]),...["png"].map(t=>[t,b.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,b.POWERPOINT]),...["rar"].map(t=>[t,b.RAR]),...["stp"].map(t=>[t,b.STP]),...["txt","rtf","md","mdown"].map(t=>[t,b.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,b.VIDEO]),...["wav"].map(t=>[t,b.WAV]),...["wma"].map(t=>[t,b.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,b.WORD]),...["xml","xsl","rdf"].map(t=>[t,b.XML]),...["yaml","yml","x-yaml"].map(t=>[t,b.YAML]),...["zip"].map(t=>[t,b.ZIP])]),vE=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"]]);$_={[b.ABW]:"#91ABC6",[b.AUDIO]:"#1795E3",[b.AVI]:"#E63324",[b.CHM]:"#71C3EB",[b.CODE]:"#71C3EB",[b.CSV]:"#1F7345",[b.DITA]:"#71C3EB",[b.EPUB]:"#85B926",[b.EXCEL]:"#1F7345",[b.FLAC]:"#1795E3",[b.GIF]:"#59B031",[b.GZIP]:"#F8AB36",[b.HTML]:"#71C3EB",[b.IMAGE]:"#59B031",[b.JPEG]:"#59B031",[b.JSON]:"#71C3EB",[b.M4A]:"#1795E3",[b.MOV]:"#E63324",[b.MP3]:"#1795E3",[b.MP4]:"#E63324",[b.OGG]:"#1795E3",[b.PDF]:"#E44948",[b.PNG]:"#59B031",[b.POWERPOINT]:"#B54A2B",[b.RAR]:"#F8AB36",[b.STP]:"#3764B1",[b.TEXT]:"#3162AB",[b.UNKNOWN]:"#999999",[b.VIDEO]:"#E63324",[b.WAV]:"#1795E3",[b.WMA]:"#1795E3",[b.WORD]:"#3162AB",[b.XML]:"#71C3EB",[b.YAML]:"#71C3EB",[b.ZIP]:"#F8AB36"}});var ss,Kr,Rm,Tm,ns,ne,uc=l(()=>{"use strict";ss=c(y()),Kr=c(F()),Rm=c(f()),Tm=c(Hn());cc();po();ac();ns=function(t,e,r,i){var s=arguments.length,o=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(o=(s<3?n(o):s>3?n(e,r,o):n(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o},ne=class extends Rm.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=ss.nothing}render(){let e=this.variant&&Object.values(et).includes(this.variant)?this.variant:et.fluid_topics,r=e!==et.material||!!this.value;return ss.html`
|
|
341
|
+
`,Kt.noTextSelect]});var et,ac=l(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(et||(et={}))});var Hn=ji((L_,_m)=>{_m.exports=ftGlobals.litUnsafeHTML});function jn(t,e){var r,i,s,o;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[n,a]=(((r=vE.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(o=(s=(i=lc.get(a))!==null&&i!==void 0?i:lc.get(e))!==null&&s!==void 0?s:lc.get(n))!==null&&o!==void 0?o:b.UNKNOWN}var we,b,lc,vE,$_,cc=l(()=>{"use strict";(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",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="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE="",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",t.PAPER_PLANE_SLASH="",t.COMPRESS="",t.EXPAND="",t.ARROW_ROTATE_LEFT="",t.MOBILE_SMALL="",t.SPARKLES="",t.HAND_SOLID="",t.CLOCK_SOLID="",t.CONTEXT_MENU_CURSOR="",t.LANGUAGE_SLASH="",t.MAGNIFYING_GLASS_FLOPPY_DISK="",t.CABINET_FILING_FLOPPY_DISK="",t.BOOKMARK_SLASH="",t.CIRCLE_PAUSE="",t.CIRCLE_PLAY="",t.CIRCLE_STOP_PLAIN="",t.CIRCLE_ARROW_DOWN="",t.SHARE_NODES="",t.BELL="",t.BELL_SLASH="",t.FILE="",t.HAND="",t.SQUARE_INFO_SOLID="",t.FILE_CODE="",t.BOX_CODE="",t.TOPICS_SOLID="",t.PHOTO_FILM="",t.HYPHEN_SOLID="",t.CROSSHAIRS="",t.PERSON_CHALKBOARD="",t.CIRCLE_ARROW_DOWN_SLASH="",t.BOOK_OPEN_COVER="",t.LIGHTBULB="",t.MESSAGE_BOT_AGENTIC_SOLID="",t.CHART_LINE_USER="",t.SERVER_CIRCLE_ARROW_DOWN="",t.EYE="",t.SHARE="󨃱"})(we||(we={}));(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=""})(b||(b={}));lc=new Map([...["abw"].map(t=>[t,b.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,b.AUDIO]),...["avi"].map(t=>[t,b.AVI]),...["chm","xhs"].map(t=>[t,b.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,b.CODE]),...["csv"].map(t=>[t,b.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,b.DITA]),...["epub"].map(t=>[t,b.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,b.EXCEL]),...["flac"].map(t=>[t,b.FLAC]),...["gif"].map(t=>[t,b.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,b.GZIP]),...["html","htm","xhtml"].map(t=>[t,b.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,b.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,b.JPEG]),...["json"].map(t=>[t,b.JSON]),...["m4a","m4p"].map(t=>[t,b.M4A]),...["mov","qt"].map(t=>[t,b.MOV]),...["mp3"].map(t=>[t,b.MP3]),...["mp4","m4v"].map(t=>[t,b.MP4]),...["ogg","oga"].map(t=>[t,b.OGG]),...["pdf","ps"].map(t=>[t,b.PDF]),...["png"].map(t=>[t,b.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,b.POWERPOINT]),...["rar"].map(t=>[t,b.RAR]),...["stp"].map(t=>[t,b.STP]),...["txt","rtf","md","mdown"].map(t=>[t,b.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,b.VIDEO]),...["wav"].map(t=>[t,b.WAV]),...["wma"].map(t=>[t,b.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,b.WORD]),...["xml","xsl","rdf"].map(t=>[t,b.XML]),...["yaml","yml","x-yaml"].map(t=>[t,b.YAML]),...["zip"].map(t=>[t,b.ZIP])]),vE=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"]]);$_={[b.ABW]:"#91ABC6",[b.AUDIO]:"#1795E3",[b.AVI]:"#E63324",[b.CHM]:"#71C3EB",[b.CODE]:"#71C3EB",[b.CSV]:"#1F7345",[b.DITA]:"#71C3EB",[b.EPUB]:"#85B926",[b.EXCEL]:"#1F7345",[b.FLAC]:"#1795E3",[b.GIF]:"#59B031",[b.GZIP]:"#F8AB36",[b.HTML]:"#71C3EB",[b.IMAGE]:"#59B031",[b.JPEG]:"#59B031",[b.JSON]:"#71C3EB",[b.M4A]:"#1795E3",[b.MOV]:"#E63324",[b.MP3]:"#1795E3",[b.MP4]:"#E63324",[b.OGG]:"#1795E3",[b.PDF]:"#E44948",[b.PNG]:"#59B031",[b.POWERPOINT]:"#B54A2B",[b.RAR]:"#F8AB36",[b.STP]:"#3764B1",[b.TEXT]:"#3162AB",[b.UNKNOWN]:"#999999",[b.VIDEO]:"#E63324",[b.WAV]:"#1795E3",[b.WMA]:"#1795E3",[b.WORD]:"#3162AB",[b.XML]:"#71C3EB",[b.YAML]:"#71C3EB",[b.ZIP]:"#F8AB36"}});var ss,Kr,Rm,Tm,ns,ae,uc=l(()=>{"use strict";ss=c(y()),Kr=c(F()),Rm=c(f()),Tm=c(Hn());cc();po();ac();ns=function(t,e,r,i){var s=arguments.length,o=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(o=(s<3?n(o):s>3?n(e,r,o):n(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o},ae=class extends Rm.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=ss.nothing}render(){let e=this.variant&&Object.values(et).includes(this.variant)?this.variant:et.fluid_topics,r=e!==et.material||!!this.value;return ss.html`
|
|
342
342
|
<i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
|
|
343
343
|
${(0,Tm.unsafeHTML)(this.resolvedIcon)}
|
|
344
344
|
<slot ?hidden=${r}></slot>
|
|
345
345
|
</i>
|
|
346
|
-
`}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let i=this.value||this.getTextContent();switch(this.variant){case et.file_format:this.resolvedIcon=(e=b[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case et.material:this.resolvedIcon=this.value||ss.nothing;break;default:this.resolvedIcon=(r=we[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};
|
|
346
|
+
`}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let i=this.value||this.getTextContent();switch(this.variant){case et.file_format:this.resolvedIcon=(e=b[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case et.material:this.resolvedIcon=this.value||ss.nothing;break;default:this.resolvedIcon=(r=we[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ae.elementDefinitions={};ae.styles=Om;ns([(0,Kr.property)()],ae.prototype,"variant",void 0);ns([(0,Kr.property)()],ae.prototype,"value",void 0);ns([(0,Kr.property)({reflect:!0,attribute:"aria-hidden"})],ae.prototype,"ariaHidden",void 0);ns([(0,Kr.state)()],ae.prototype,"resolvedIcon",void 0);ns([(0,Kr.query)("slot")],ae.prototype,"slottedContent",void 0)});var km,Lm=l(()=>{"use strict";uc();km={"ft-icon":ae}});var $m,Im=l(()=>{"use strict";$m=c(f());Lm();(0,$m.customElements)(km)});var _r=l(()=>{"use strict";po();ac();uc();cc();Im()});var Dm,as,_i,Pm,qn=l(()=>{"use strict";Dm=c(y()),as=c(f()),_i={color:as.FtCssVariableFactory.extend("--ft-loader-color","",as.designSystemVariables.colorPrimary),size:as.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Pm=Dm.css`
|
|
347
347
|
:host {
|
|
348
348
|
line-height: 0;
|
|
349
349
|
}
|
|
@@ -561,7 +561,7 @@
|
|
|
561
561
|
${(0,I.setVariable)(_i.size,$.iconSize)};
|
|
562
562
|
${(0,I.setVariable)(_i.color,"var(--button-internal-color)")};
|
|
563
563
|
}
|
|
564
|
-
`});var pr,Wr,Gn,ee,
|
|
564
|
+
`});var pr,Wr,Gn,ee,le,w,hc=l(()=>{"use strict";pr=c(f());Xe();nc();_r();Hm();Wr=c(y()),Gn=c(st()),ee=c(F());Kn();ve();Ti();le=function(t,e,r,i){var s=arguments.length,o=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(o=(s<3?n(o):s>3?n(e,r,o):n(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o},w=class t extends(0,pr.toFtFormComponent)(pr.FtLitElement){get buttonClasses(){return{"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--no-text":!this.hasTextContent,"ft-no-text-select":!0}}constructor(){super(),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1,this.disabled=!1,this.icon=void 0,this.trailingIcon=!1,this.type="button",this.href=void 0,this.target=void 0,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.hasTextContent=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,i;let s={"ft-button--label":!0,"ft-safari-ellipsis-fix":pr.isSafari},o=Wr.html`
|
|
565
565
|
<ft-ripple part="ripple"
|
|
566
566
|
?disabled=${this.isDisabled()}
|
|
567
567
|
?activated=${this.activated}
|
|
@@ -602,11 +602,11 @@
|
|
|
602
602
|
<ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
|
|
603
603
|
`:Wr.html`
|
|
604
604
|
<slot part="icon" name="icon"></slot>
|
|
605
|
-
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var i;return(i=this.tooltip)===null||i===void 0?void 0:i.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}isDisabled(){return this.disabled||this.loading}contentAvailableCallback(e){super.contentAvailableCallback(e),this.labelContainer&&t.labelsObserver.observe(this.labelContainer)}disconnectedCallback(){super.disconnectedCallback(),this.labelContainer&&t.labelsObserver.unobserve(this.labelContainer)}};w.elementDefinitions={"ft-ripple":L,"ft-tooltip":xe,"ft-icon":
|
|
605
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var i;return(i=this.tooltip)===null||i===void 0?void 0:i.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}isDisabled(){return this.disabled||this.loading}contentAvailableCallback(e){super.contentAvailableCallback(e),this.labelContainer&&t.labelsObserver.observe(this.labelContainer)}disconnectedCallback(){super.disconnectedCallback(),this.labelContainer&&t.labelsObserver.unobserve(this.labelContainer)}};w.elementDefinitions={"ft-ripple":L,"ft-tooltip":xe,"ft-icon":ae,"ft-loader":Ri,"ft-typography":z};w.styles=[pr.safariEllipsisFix,Wm,pr.noTextSelect];w.labelsObserver=new IntersectionObserver(t=>{for(let e of t){let r=e.target.getRootNode();r instanceof ShadowRoot&&r.host?r.host.hasTextContent=e.boundingClientRect.width>0:w.labelsObserver.unobserve(e.target)}});le([(0,ee.property)({type:Boolean})],w.prototype,"primary",void 0);le([(0,ee.property)({type:Boolean})],w.prototype,"outlined",void 0);le([(0,ee.property)({type:Boolean})],w.prototype,"dense",void 0);le([(0,ee.property)({type:Boolean})],w.prototype,"round",void 0);le([(0,ee.property)({type:Boolean})],w.prototype,"disabled",void 0);le([(0,ee.property)()],w.prototype,"icon",void 0);le([(0,ee.property)()],w.prototype,"iconVariant",void 0);le([(0,ee.property)({type:Boolean})],w.prototype,"trailingIcon",void 0);le([(0,ee.property)()],w.prototype,"label",void 0);le([(0,ee.property)()],w.prototype,"type",void 0);le([(0,ee.property)()],w.prototype,"href",void 0);le([(0,ee.property)()],w.prototype,"target",void 0);le([(0,ee.property)({type:Boolean})],w.prototype,"loading",void 0);le([(0,ee.property)({attribute:"aria-label"})],w.prototype,"ariaLabel",void 0);le([(0,ee.property)()],w.prototype,"ariaHasPopup",void 0);le([(0,ee.property)({attribute:"aria-pressed"})],w.prototype,"ariaPressed",void 0);le([(0,ee.property)()],w.prototype,"tooltipPosition",void 0);le([(0,ee.property)({type:Boolean})],w.prototype,"hideTooltip",void 0);le([(0,ee.property)({type:Boolean})],w.prototype,"forceTooltip",void 0);le([(0,ee.property)({type:Boolean})],w.prototype,"activated",void 0);le([(0,ee.query)(".ft-button")],w.prototype,"button",void 0);le([(0,ee.query)(".ft-button--label")],w.prototype,"labelContainer",void 0);le([(0,ee.state)()],w.prototype,"hasTextContent",void 0);le([(0,ee.query)(".ft-button--label slot")],w.prototype,"slottedContent",void 0);le([(0,ee.query)("[part=tooltip]")],w.prototype,"tooltip",void 0)});var Gm=l(()=>{"use strict"});var Qm,Xm=l(()=>{"use strict";hc();Qm={"ft-button":w}});var Ym,Zm=l(()=>{"use strict";Ym=c(f());Xm();(0,Ym.customElements)(Qm)});var Gt=l(()=>{"use strict";hc();Ti();Gm();Zm()});var Jm,te,oe,fc,ls=l(()=>{"use strict";Jm=c(y()),te=c(f());Gt();oe={height:te.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:te.FtCssVariableFactory.extend("--ft-search-input-border-radius","",te.designSystemVariables.borderRadiusS),desktopFiltersHeight:te.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:te.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:te.FtCssVariableFactory.extend("--ft-search-input-background-color","",te.designSystemVariables.colorSurface),colorOnSurface:te.FtCssVariableFactory.extend("--ft-search-input-color","",te.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:te.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",te.designSystemVariables.colorOnSurfaceMedium),colorOutline:te.FtCssVariableFactory.extend("--ft-search-input-outline-color","",te.designSystemVariables.colorOutline),elevation02:te.FtCssVariableFactory.extend("--ft-search-input-elevation","",te.designSystemVariables.elevation02),focusOutlineColor:te.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",te.designSystemVariables.colorPrimary),buttonColor:te.FtCssVariableFactory.extend("--ft-search-input-button-color","",te.designSystemVariables.colorPrimary),buttonRippleColor:te.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",te.designSystemVariables.colorPrimary)},fc=Jm.css`
|
|
606
606
|
* {
|
|
607
607
|
box-sizing: border-box;
|
|
608
|
-
${(0,te.setVariable)($.color,
|
|
609
|
-
${(0,te.setVariable)($.rippleColor,
|
|
608
|
+
${(0,te.setVariable)($.color,oe.buttonColor)};
|
|
609
|
+
${(0,te.setVariable)($.rippleColor,oe.buttonRippleColor)};
|
|
610
610
|
}
|
|
611
611
|
|
|
612
612
|
.ft-search-input {
|
|
@@ -614,11 +614,11 @@
|
|
|
614
614
|
display: flex;
|
|
615
615
|
flex-direction: row;
|
|
616
616
|
align-items: center;
|
|
617
|
-
height: ${
|
|
617
|
+
height: ${oe.height};
|
|
618
618
|
|
|
619
|
-
background: ${
|
|
620
|
-
border: 1px solid ${
|
|
621
|
-
border-radius: ${
|
|
619
|
+
background: ${oe.colorSurface};
|
|
620
|
+
border: 1px solid ${oe.colorOutline};
|
|
621
|
+
border-radius: ${oe.borderRadius};
|
|
622
622
|
}
|
|
623
623
|
|
|
624
624
|
.ft-search-input--input-container {
|
|
@@ -633,11 +633,11 @@
|
|
|
633
633
|
width: 100%;
|
|
634
634
|
display: grid;
|
|
635
635
|
padding: 0 8px;
|
|
636
|
-
border-radius: ${
|
|
636
|
+
border-radius: ${oe.borderRadius};
|
|
637
637
|
}
|
|
638
638
|
|
|
639
639
|
.ft-search-input--input-container:focus-within .ft-search-input--input-outline {
|
|
640
|
-
outline: 2px solid ${
|
|
640
|
+
outline: 2px solid ${oe.focusOutlineColor};
|
|
641
641
|
}
|
|
642
642
|
|
|
643
643
|
.ft-search-input--input {
|
|
@@ -645,12 +645,12 @@
|
|
|
645
645
|
width: 100%;
|
|
646
646
|
border: none;
|
|
647
647
|
background-color: transparent;
|
|
648
|
-
color: ${
|
|
648
|
+
color: ${oe.colorOnSurface};
|
|
649
649
|
outline: none;
|
|
650
650
|
}
|
|
651
651
|
|
|
652
652
|
.ft-search-input--input::placeholder {
|
|
653
|
-
color: ${
|
|
653
|
+
color: ${oe.colorOnSurfaceMedium};
|
|
654
654
|
}
|
|
655
655
|
|
|
656
656
|
.ft-search-input--actions {
|
|
@@ -674,7 +674,7 @@
|
|
|
674
674
|
|
|
675
675
|
.ft-search-input--separator {
|
|
676
676
|
height: 20px;
|
|
677
|
-
border-right: 1px solid ${
|
|
677
|
+
border-right: 1px solid ${oe.colorOutline};
|
|
678
678
|
}
|
|
679
679
|
`});var eg,tg,Qn,mc,Xn=l(()=>{"use strict";eg=c(y()),tg=c(f()),Qn={highlightBackgroundColor:tg.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},mc=eg.css`
|
|
680
680
|
.kwicmatch {
|
|
@@ -1125,7 +1125,7 @@
|
|
|
1125
1125
|
@change=${r=>this.optionsChanged(r,e)}>
|
|
1126
1126
|
${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
|
|
1127
1127
|
</ft-radio>
|
|
1128
|
-
`}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}updated(e){super.updated(e),e.has("filter")&&e.has("filteredOptions")&&e.get("filteredOptions")!==void 0&&e.get("filter")!==void 0&&this.ariaNotificationDebouncer.run(async()=>{if(this.filteredOptionsNumberAriaNotification==null)return;let r=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(r)})}};me.elementDefinitions={"ft-button":w,"ft-ripple":L,"ft-typography":z,"ft-checkbox":Me,"ft-icon":
|
|
1128
|
+
`}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}updated(e){super.updated(e),e.has("filter")&&e.has("filteredOptions")&&e.get("filteredOptions")!==void 0&&e.get("filter")!==void 0&&this.ariaNotificationDebouncer.run(async()=>{if(this.filteredOptionsNumberAriaNotification==null)return;let r=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(r)})}};me.elementDefinitions={"ft-button":w,"ft-ripple":L,"ft-typography":z,"ft-checkbox":Me,"ft-icon":ae,"ft-radio":$e};me.styles=Gg;Ne([(0,Te.property)({type:String})],me.prototype,"filterId",void 0);Ne([(0,Te.property)({type:Object})],me.prototype,"parent",void 0);Ne([(0,Te.property)({type:Array,hasChanged:pt.hasChanged})],me.prototype,"options",void 0);Ne([(0,Te.property)({type:Boolean})],me.prototype,"multivalued",void 0);Ne([(0,Te.property)({type:Boolean})],me.prototype,"disabled",void 0);Ne([(0,Te.property)({type:Boolean})],me.prototype,"hideSelectedOptions",void 0);Ne([(0,Te.property)({type:Boolean})],me.prototype,"displayCount",void 0);Ne([(0,Te.property)({type:Boolean})],me.prototype,"preventNavigation",void 0);Ne([(0,Te.property)({type:String})],me.prototype,"filter",void 0);Ne([(0,Te.property)({type:String})],me.prototype,"moreValuesButtonLabel",void 0);Ne([(0,Te.property)({type:String})],me.prototype,"noValuesLabel",void 0);Ne([(0,Te.property)()],me.prototype,"filteredOptionsNumberAriaNotification",void 0);Ne([(0,pt.numberProperty)()],me.prototype,"displayedValuesLimit",void 0);Ne([(0,Te.query)(".ft-filter-level--container")],me.prototype,"container",void 0);Ne([(0,Te.state)()],me.prototype,"radios",void 0);Ne([(0,Te.state)()],me.prototype,"displayedPages",void 0);Ne([(0,Te.state)()],me.prototype,"filteredOptions",void 0)});var Ey,Yt,rt,Cy,pa=l(()=>{"use strict";Ey=c(y()),Yt=c(f());Ti();rt={buttonsColor:Yt.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",Yt.designSystemVariables.colorPrimary),buttonsZIndex:Yt.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:Yt.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Yt.FtCssVariableFactory.external(Yt.designSystemVariables.colorSurface,"Design system")},Cy=Ey.css`
|
|
1129
1129
|
.ft-snap-scroll {
|
|
1130
1130
|
box-sizing: border-box;
|
|
1131
1131
|
position: relative;
|
|
@@ -1274,7 +1274,7 @@
|
|
|
1274
1274
|
@click=${this.next}
|
|
1275
1275
|
></ft-button>
|
|
1276
1276
|
</div>
|
|
1277
|
-
`}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new Gc(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,i;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};Oe.elementDefinitions={"ft-button":w};Oe.styles=Cy;fr([(0,Et.property)({type:Boolean})],Oe.prototype,"horizontal",void 0);fr([(0,Et.property)({type:Boolean})],Oe.prototype,"hideScrollbar",void 0);fr([(0,Et.property)({type:Boolean})],Oe.prototype,"controls",void 0);fr([(0,Et.property)({type:Boolean})],Oe.prototype,"limitSize",void 0);fr([(0,Et.state)()],Oe.prototype,"elements",void 0);fr([(0,Et.state)()],Oe.prototype,"currentElement",void 0);fr([(0,Et.state)()],Oe.prototype,"withScroll",void 0);fr([(0,Et.state)()],Oe.prototype,"startReached",void 0);fr([(0,Et.state)()],Oe.prototype,"endReached",void 0);fr([(0,Et.query)(".ft-snap-scroll--content")],Oe.prototype,"contentSlot",void 0)});var Oy=l(()=>{"use strict"});var _y,Ry=l(()=>{"use strict";Qc();_y={"ft-snap-scroll":Oe}});var Ty,ky=l(()=>{"use strict";Ty=c(f());Ry();(0,Ty.customElements)(_y)});var ha=l(()=>{"use strict";Qc();pa();Oy();ky()});var Ly,
|
|
1277
|
+
`}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new Gc(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,i;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};Oe.elementDefinitions={"ft-button":w};Oe.styles=Cy;fr([(0,Et.property)({type:Boolean})],Oe.prototype,"horizontal",void 0);fr([(0,Et.property)({type:Boolean})],Oe.prototype,"hideScrollbar",void 0);fr([(0,Et.property)({type:Boolean})],Oe.prototype,"controls",void 0);fr([(0,Et.property)({type:Boolean})],Oe.prototype,"limitSize",void 0);fr([(0,Et.state)()],Oe.prototype,"elements",void 0);fr([(0,Et.state)()],Oe.prototype,"currentElement",void 0);fr([(0,Et.state)()],Oe.prototype,"withScroll",void 0);fr([(0,Et.state)()],Oe.prototype,"startReached",void 0);fr([(0,Et.state)()],Oe.prototype,"endReached",void 0);fr([(0,Et.query)(".ft-snap-scroll--content")],Oe.prototype,"contentSlot",void 0)});var Oy=l(()=>{"use strict"});var _y,Ry=l(()=>{"use strict";Qc();_y={"ft-snap-scroll":Oe}});var Ty,ky=l(()=>{"use strict";Ty=c(f());Ry();(0,Ty.customElements)(_y)});var ha=l(()=>{"use strict";Qc();pa();Oy();ky()});var Ly,ce,ht,$y,fa=l(()=>{"use strict";Ly=c(y()),ce=c(f());Ut();Ti();ht={colorOutline:ce.FtCssVariableFactory.external(ce.designSystemVariables.colorOutline,"Design system"),colorOnSurface:ce.FtCssVariableFactory.external(ce.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:ce.FtCssVariableFactory.external(ce.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:ce.FtCssVariableFactory.external(ce.designSystemVariables.colorPrimary,"Design system"),colorSurface:ce.FtCssVariableFactory.external(ce.designSystemVariables.colorSurface,"Design system"),transitionDuration:ce.FtCssVariableFactory.external(ce.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:ce.FtCssVariableFactory.external(ce.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:ce.FtCssVariableFactory.extend("--ft-filter-label-color","",ce.designSystemVariables.colorOnSurface),labelFontSize:ce.FtCssVariableFactory.extend("--ft-filter-label-font-size","",v.fontSize,"16px")},$y=[Mr,ce.noTextInputDefaultClearButton,Ly.css`
|
|
1278
1278
|
:host {
|
|
1279
1279
|
display: flex;
|
|
1280
1280
|
max-height: 100%;
|
|
@@ -1302,7 +1302,7 @@
|
|
|
1302
1302
|
.ft-filter--header ft-button {
|
|
1303
1303
|
flex-shrink: 0;
|
|
1304
1304
|
margin-left: auto;
|
|
1305
|
-
${(0,
|
|
1305
|
+
${(0,ce.setVariable)($.iconSize,"18px")};
|
|
1306
1306
|
}
|
|
1307
1307
|
|
|
1308
1308
|
.filter-label {
|
|
@@ -1316,8 +1316,8 @@
|
|
|
1316
1316
|
word-break: break-word;
|
|
1317
1317
|
color: ${ht.labelColor};
|
|
1318
1318
|
font-size: ${ht.labelFontSize};
|
|
1319
|
-
${(0,
|
|
1320
|
-
${(0,
|
|
1319
|
+
${(0,ce.setVariable)(v.lineHeight,"22px")};
|
|
1320
|
+
${(0,ce.setVariable)(v.fontWeight,"bold")};
|
|
1321
1321
|
}
|
|
1322
1322
|
|
|
1323
1323
|
.ft-filter--filter {
|
|
@@ -1391,7 +1391,7 @@
|
|
|
1391
1391
|
slot:not([name]) {
|
|
1392
1392
|
display: none;
|
|
1393
1393
|
}
|
|
1394
|
-
`]});var Pi,
|
|
1394
|
+
`]});var Pi,se,Se,ue,Xc,K,Yc=l(()=>{"use strict";Pi=c(y()),se=c(F()),Se=c(f());ve();Sy();Gt();ha();fa();ue=function(t,e,r,i){var s=arguments.length,o=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(o=(s<3?n(o):s>3?n(e,r,o):n(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o},Xc=class extends CustomEvent{constructor(e){super("change",{detail:e})}},K=class extends(0,Se.withAnalytics)(Se.FtLitElement,Wc){constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new Se.Debouncer(300),this.changeDebouncer=new Se.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,Se.flatDeep)(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,Se.flatDeep)(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(s=>s.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return Pi.html`
|
|
1395
1395
|
<div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
|
|
1396
1396
|
part="container">
|
|
1397
1397
|
${!this.label&&!e?null:Pi.html`
|
|
@@ -1475,7 +1475,7 @@
|
|
|
1475
1475
|
noValuesLabel="${this.noValuesLabel}"
|
|
1476
1476
|
.filteredOptionsNumberAriaNotification=${this.filteredOptionsNumberAriaNotification}
|
|
1477
1477
|
></ft-filter-level>
|
|
1478
|
-
`}goBack(e){this.slideOut=e.detail.value,(0,Se.waitUntil)(()=>this.slideOut===void 0).then(()=>{var r;let i=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");i?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,(0,Se.waitUntil)(()=>this.slideIn===void 0).then(()=>{var r;let i=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");i?.focusOnBackButton()})}focusOnFirstOption(){(0,Se.waitUntil)(()=>this.slideOut===void 0).then(()=>{var e;let r=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");r?.focusOnFirstOption()})}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let i=this.flatOptions.find(o=>o.value===e.detail.value);i.selected=!i.selected;let s=o=>{var n;o!==i&&(o.selected=!1),(n=o.subOptions)===null||n===void 0||n.forEach(s)};this.multivalued?(r=i.subOptions)===null||r===void 0||r.forEach(s):this.options.forEach(s),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.updateFilteredOptions())})}sendEventIfValuesChanged(){let e=this.selectedValues;(0,Se.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new Xc(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};K.elementDefinitions={"ft-button":w,"ft-filter-level":me,"ft-snap-scroll":Oe,"ft-typography":z};K.styles=$y;
|
|
1478
|
+
`}goBack(e){this.slideOut=e.detail.value,(0,Se.waitUntil)(()=>this.slideOut===void 0).then(()=>{var r;let i=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");i?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,(0,Se.waitUntil)(()=>this.slideIn===void 0).then(()=>{var r;let i=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");i?.focusOnBackButton()})}focusOnFirstOption(){(0,Se.waitUntil)(()=>this.slideOut===void 0).then(()=>{var e;let r=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");r?.focusOnFirstOption()})}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let i=this.flatOptions.find(o=>o.value===e.detail.value);i.selected=!i.selected;let s=o=>{var n;o!==i&&(o.selected=!1),(n=o.subOptions)===null||n===void 0||n.forEach(s)};this.multivalued?(r=i.subOptions)===null||r===void 0||r.forEach(s):this.options.forEach(s),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.updateFilteredOptions())})}sendEventIfValuesChanged(){let e=this.selectedValues;(0,Se.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new Xc(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};K.elementDefinitions={"ft-button":w,"ft-filter-level":me,"ft-snap-scroll":Oe,"ft-typography":z};K.styles=$y;ue([(0,se.property)({type:String})],K.prototype,"id",void 0);ue([(0,se.property)({type:String})],K.prototype,"label",void 0);ue([(0,se.property)({type:String})],K.prototype,"filterPlaceHolder",void 0);ue([(0,se.property)({type:String})],K.prototype,"clearButtonLabel",void 0);ue([(0,se.property)({type:String})],K.prototype,"moreValuesButtonLabel",void 0);ue([(0,se.property)({type:String})],K.prototype,"noValuesLabel",void 0);ue([(0,Se.jsonProperty)([])],K.prototype,"options",void 0);ue([(0,se.property)({type:Boolean})],K.prototype,"multivalued",void 0);ue([(0,se.property)({type:Boolean})],K.prototype,"disabled",void 0);ue([(0,se.property)({type:Boolean})],K.prototype,"raiseSelectedOptions",void 0);ue([(0,se.property)({type:Boolean})],K.prototype,"displayCount",void 0);ue([(0,Se.numberProperty)()],K.prototype,"displayedValuesLimit",void 0);ue([(0,Se.jsonProperty)(void 0)],K.prototype,"filteredOptionsNumberAriaNotification",void 0);ue([(0,se.property)({type:Boolean})],K.prototype,"hideClearButton",void 0);ue([(0,se.query)(".ft-filter--slot")],K.prototype,"slotElement",void 0);ue([(0,se.query)(".ft-filter--container")],K.prototype,"container",void 0);ue([(0,se.query)(".ft-filter--values")],K.prototype,"valuesContainer",void 0);ue([(0,se.query)(".ft-filter--levels")],K.prototype,"levelsContainer",void 0);ue([(0,se.state)()],K.prototype,"lastLevelHasHiddenvalues",void 0);ue([(0,se.query)(".ft-filter--filter input")],K.prototype,"filterInput",void 0);ue([(0,se.queryAll)(".ft-filter--levels ft-filter-level")],K.prototype,"levels",void 0);ue([(0,se.state)()],K.prototype,"withScroll",void 0);ue([(0,se.state)()],K.prototype,"filter",void 0);ue([(0,se.state)()],K.prototype,"slideIn",void 0);ue([(0,se.state)()],K.prototype,"slideOut",void 0)});var Iy=l(()=>{"use strict"});var ma,Mi,Dy,bo,Ct,Zc=l(()=>{"use strict";ma=c(f()),Mi=c(F()),Dy=c(y()),bo=function(t,e,r,i){var s=arguments.length,o=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(o=(s<3?n(o):s>3?n(e,r,o):n(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o},Ct=class extends ma.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Dy.html`
|
|
1479
1479
|
<slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
|
|
1480
1480
|
`}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Ct.elementDefinitions={};bo([(0,Mi.property)({type:String})],Ct.prototype,"label",void 0);bo([(0,Mi.property)({type:Object,converter:t=>t})],Ct.prototype,"value",void 0);bo([(0,Mi.property)({type:Boolean,reflect:!0})],Ct.prototype,"selected",void 0);bo([(0,Mi.property)({type:Object})],Ct.prototype,"subOptions",void 0);bo([(0,ma.jsonProperty)({})],Ct.prototype,"renderOption",void 0);bo([(0,Mi.query)(".ft-filter-option--slot")],Ct.prototype,"slotElement",void 0)});var Py=l(()=>{"use strict"});var My,Ny=l(()=>{"use strict";Yc();Zc();My={"ft-filter":K,"ft-filter-option":Ct}});var Fy,By=l(()=>{"use strict";Fy=c(f());Ny();(0,Fy.customElements)(My)});var Uy=l(()=>{"use strict";Fc();Yc();fa();Iy();Zc();Py();By()});var Vy,zy,Jc=l(()=>{"use strict";Vy=c(y()),zy=Vy.css`
|
|
1481
1481
|
.ft-accordion {
|
|
@@ -1561,7 +1561,7 @@
|
|
|
1561
1561
|
</div>
|
|
1562
1562
|
<div class="ft-accordion-item--separator" part="separator"></div>
|
|
1563
1563
|
</div>
|
|
1564
|
-
`}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};Nt.elementDefinitions={"ft-ripple":L,"ft-typography":z,"ft-icon":
|
|
1564
|
+
`}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};Nt.elementDefinitions={"ft-ripple":L,"ft-typography":z,"ft-icon":ae};Nt.styles=Gy;ya([(0,xs.property)()],Nt.prototype,"icon",void 0);ya([(0,xs.property)()],Nt.prototype,"iconVariant",void 0);ya([(0,xs.property)()],Nt.prototype,"label",void 0);ya([(0,xs.property)({type:Boolean,reflect:!0})],Nt.prototype,"active",void 0)});var Xy=l(()=>{"use strict"});var Yy,Zy=l(()=>{"use strict";eu();ru();Yy={"ft-accordion":mr,"ft-accordion-item":Nt}});var Jy,eb=l(()=>{"use strict";Jy=c(f());Zy();(0,Jy.customElements)(Yy)});var tb=l(()=>{"use strict";eu();Jc();Ky();ru();tu();Xy();eb()});var Ss,B,rb,Fe,ib,iu,ob,sb,ou=l(()=>{"use strict";Ss=c(y()),B=c(f());xr();Ut();po();Gt();rb=B.FtCssVariableFactory.extend("--ft-chip-color","",B.designSystemVariables.colorOnSurface),Fe={backgroundColor:B.FtCssVariableFactory.extend("--ft-chip-background-color","",B.designSystemVariables.colorSurface),color:rb,fontSize:B.FtCssVariableFactory.extend("--ft-chip-font-size","",Ae.fontSize),fontWeight:B.FtCssVariableFactory.extend("--ft-chip-font-weight","",Ae.fontWeight),iconSize:B.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:B.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:B.FtCssVariableFactory.extend("--ft-chip-ripple-color","",rb),horizontalPadding:B.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:B.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:B.FtCssVariableFactory.extend("--ft-chip-border-color","",B.designSystemVariables.colorOutline),opacityDisabled:B.FtCssVariableFactory.external(B.designSystemVariables.colorOpacityDisabled,"Design system")},ib=B.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",B.FtCssVariableFactory.extend("--ft-chip-color","",B.designSystemVariables.colorOnPrimary)),iu={backgroundColor:B.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",B.FtCssVariableFactory.extend("--ft-chip-background-color","",B.designSystemVariables.colorPrimary)),color:ib,rippleColor:B.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",ib)},ob={horizontalPadding:B.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:B.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},sb=[B.noTextSelect,Ss.css`
|
|
1565
1565
|
:host {
|
|
1566
1566
|
display: inline-block;
|
|
1567
1567
|
max-width: 100%;
|
|
@@ -1729,7 +1729,7 @@
|
|
|
1729
1729
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
1730
1730
|
<ft-icon .variant=${this.iconVariant} .value=${this.internalIcon} part="icon"></ft-icon>
|
|
1731
1731
|
</div>
|
|
1732
|
-
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new ba))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new ba))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,vo.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};he.elementDefinitions={"ft-ripple":L,"ft-typography":z,"ft-icon":
|
|
1732
|
+
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new ba))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new ba))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,vo.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};he.elementDefinitions={"ft-ripple":L,"ft-typography":z,"ft-icon":ae,"ft-button":w};he.styles=sb;Ge([(0,Ie.property)({type:Boolean})],he.prototype,"highlighted",void 0);Ge([(0,Ie.property)({type:Boolean})],he.prototype,"removable",void 0);Ge([(0,Ie.property)({type:Boolean})],he.prototype,"disabled",void 0);Ge([(0,Ie.property)({type:Boolean})],he.prototype,"clickable",void 0);Ge([(0,Ie.property)({type:Boolean})],he.prototype,"iconClickable",void 0);Ge([(0,Ie.property)({type:Boolean})],he.prototype,"dense",void 0);Ge([(0,Ie.property)({type:Boolean})],he.prototype,"multiLine",void 0);Ge([(0,Ie.property)()],he.prototype,"label",void 0);Ge([(0,Ie.property)()],he.prototype,"iconLabel",void 0);Ge([(0,Ie.property)({type:Boolean})],he.prototype,"hideIconTooltip",void 0);Ge([(0,Ie.property)({type:Boolean})],he.prototype,"accessibleLabelOnIcon",void 0);Ge([(0,Ie.property)()],he.prototype,"icon",void 0);Ge([(0,Ie.property)()],he.prototype,"iconVariant",void 0);Ge([(0,Ie.property)({type:Boolean})],he.prototype,"trailingIcon",void 0);Ge([(0,Ie.property)()],he.prototype,"typographyVariant",void 0);Ge([(0,Ie.query)("ft-typography slot")],he.prototype,"slottedContent",void 0)});var ab=l(()=>{"use strict"});var lb,cb=l(()=>{"use strict";su();lb={"ft-chip":he}});var ub,db=l(()=>{"use strict";ub=c(f());cb();(0,ub.customElements)(lb)});var nu=l(()=>{"use strict";su();ou();ab();db()});function Es(t,e,r){return t?e(t):r?.(t)}var pb=l(()=>{});var au=l(()=>{pb()});var hb,de,j,fb,Cs=l(()=>{"use strict";hb=c(y()),de=c(f());Ut();j={fontSize:de.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:de.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:de.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:de.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:de.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:de.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:de.FtCssVariableFactory.extend("--ft-input-label-border-color","",de.designSystemVariables.colorOutline),textColor:de.FtCssVariableFactory.extend("--ft-input-label-text-color","",de.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:de.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",de.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:de.FtCssVariableFactory.extend("--ft-input-label-background-color","",de.designSystemVariables.colorSurface),borderRadius:de.FtCssVariableFactory.extend("--ft-input-label-border-radius","",de.designSystemVariables.borderRadiusS),colorError:de.FtCssVariableFactory.external(de.designSystemVariables.colorError,"Design system")},fb=hb.css`
|
|
1733
1733
|
.ft-input-label {
|
|
1734
1734
|
position: absolute;
|
|
1735
1735
|
inset: 0;
|
|
@@ -1775,8 +1775,8 @@
|
|
|
1775
1775
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
1776
1776
|
max-width: calc(${j.labelMaxWidth} - 2 * (${j.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
1777
1777
|
text-overflow: ellipsis;
|
|
1778
|
-
${(0,
|
|
1779
|
-
${(0,
|
|
1778
|
+
${(0,de.setVariable)(at.fontSize,j.fontSize)};
|
|
1779
|
+
${(0,de.setVariable)(at.lineHeight,j.fontSize)};
|
|
1780
1780
|
}
|
|
1781
1781
|
|
|
1782
1782
|
.ft-input-label--in-error .ft-input-label--text {
|
|
@@ -1808,8 +1808,8 @@
|
|
|
1808
1808
|
}
|
|
1809
1809
|
|
|
1810
1810
|
.ft-input-label--raised .ft-input-label--text {
|
|
1811
|
-
${(0,
|
|
1812
|
-
${(0,
|
|
1811
|
+
${(0,de.setVariable)(at.fontSize,j.raisedFontSize)};
|
|
1812
|
+
${(0,de.setVariable)(at.lineHeight,j.raisedFontSize)};
|
|
1813
1813
|
}
|
|
1814
1814
|
|
|
1815
1815
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
@@ -2007,7 +2007,7 @@
|
|
|
2007
2007
|
</slot>
|
|
2008
2008
|
${this.isSlotEmpty?xo.html`<span>${this.label}</span>`:xo.html``}
|
|
2009
2009
|
</div>
|
|
2010
|
-
`}onSlotChange(){this.isSlotEmpty=(0,xa.isSlotEmptyOrWithoutContent)(this.slotElement)}onClick(){this.dispatchEvent(new Event("select-option",{bubbles:!0,composed:!0}))}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Qe.elementDefinitions={"ft-ripple":L};Qe.shadowRootOptions={...xo.LitElement.shadowRootOptions,delegatesFocus:!0};Qe.styles=[Rb,Pr];ws([(0,Yr.property)({type:String})],Qe.prototype,"label",void 0);ws([(0,Yr.property)({type:Object,converter:t=>t})],Qe.prototype,"value",void 0);ws([(0,Yr.property)({type:Boolean,reflect:!0})],Qe.prototype,"selected",void 0);ws([(0,Yr.query)("slot")],Qe.prototype,"slotElement",void 0);ws([(0,Yr.state)()],Qe.prototype,"isSlotEmpty",void 0)});var So,_e,$b,Ib,Ft,Be,
|
|
2010
|
+
`}onSlotChange(){this.isSlotEmpty=(0,xa.isSlotEmptyOrWithoutContent)(this.slotElement)}onClick(){this.dispatchEvent(new Event("select-option",{bubbles:!0,composed:!0}))}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Qe.elementDefinitions={"ft-ripple":L};Qe.shadowRootOptions={...xo.LitElement.shadowRootOptions,delegatesFocus:!0};Qe.styles=[Rb,Pr];ws([(0,Yr.property)({type:String})],Qe.prototype,"label",void 0);ws([(0,Yr.property)({type:Object,converter:t=>t})],Qe.prototype,"value",void 0);ws([(0,Yr.property)({type:Boolean,reflect:!0})],Qe.prototype,"selected",void 0);ws([(0,Yr.query)("slot")],Qe.prototype,"slotElement",void 0);ws([(0,Yr.state)()],Qe.prototype,"isSlotEmpty",void 0)});var So,_e,$b,Ib,Ft,Be,ne,hu=l(()=>{"use strict";So=c(y()),_e=c(F()),$b=c(st()),Ib=c(Tr());au();Kn();Ft=c(f());ve();Ab();Xe();_r();As();Lb();Be=function(t,e,r,i){var s=arguments.length,o=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(o=(s<3?n(o):s>3?n(e,r,o):n(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o},ne=class t extends Ft.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.isSlotEmpty=!0,this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}get firstOption(){return this.optionsList[0]}get optionsList(){let e=[...this.querySelectorAll("ft-select-option")];return e.length>0?e:[...this.shadowRoot.querySelectorAll("ft-select-option")]}get focusedOption(){return this.optionsList.find(e=>e.matches(":focus-within"))}get selectedOptionElement(){return this.optionsList.find(e=>e.selected)}get lastOption(){return(0,Ft.last)(this.optionsList)}render(){var e,r,i,s,o;let n=this.hasOptionsMenuOpen,a=this.disabled||!this.hasOptions,u=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((s=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&s!==void 0?s:"").length>0,d={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":a,"ft-select--options-displayed":n,"ft-select--has-option-selected":u,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return So.html`
|
|
2011
2011
|
<div class="${(0,$b.classMap)(d)}" part="container">
|
|
2012
2012
|
<div class="ft-select--main-panel" part="main-panel">
|
|
2013
2013
|
<ft-input-label text="${this.label}"
|
|
@@ -2063,7 +2063,7 @@
|
|
|
2063
2063
|
label="${e.label}"
|
|
2064
2064
|
.value=${e.value}
|
|
2065
2065
|
></ft-select-option>
|
|
2066
|
-
`}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,i;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((r=(i=this.selectedOptionElement)!==null&&i!==void 0?i:this.firstOption)===null||r===void 0||r.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&(this.optionsDisplayed?document.addEventListener("click",this.hideOptions):document.removeEventListener("click",this.hideOptions)),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let s=["bottom","top"];(0,Ft.computeOffsetAutoPosition)(this.mainPanel,this.optionsMenu,"bottom",s,"fixed",M.optionsHeight,0).then(({x:o,y:n})=>{this.optionsMenu.style.left=`${o}px`,this.optionsMenu.style.top=`${n}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation(),this.isSlotEmpty=(0,Ft.isSlotEmptyOrWithoutContent)(this.optionsSlot);let i=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(s=>s);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key===" "&&(e.preventDefault(),e.stopPropagation()),e.key){case" ":case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,i;let s,o=this.focusedOption?this.optionsList.indexOf(this.focusedOption):0;switch(e.key){case" ":case"Enter":e.preventDefault(),e.stopPropagation(),this.onSelectOption(e),this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Escape":this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),s=this.optionsList[(o-1+this.optionsList.length)%this.optionsList.length];break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),s=this.optionsList[(o+1)%this.optionsList.length];break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(s=this.handleAlphanumericPress(e.key));break}s?.focus()}isKeyAlphanumeric(e){let r=e.charCodeAt(0);return r>47&&r<58||r>64&&r<91||r>96&&r<123}handleAlphanumericPress(e){let r=new Date;r.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let i=this.options.find(s=>{var o;return((o=s.label)===null||o===void 0?void 0:o.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});return this.lastSearchInputDate=r,i&&this.optionsList.find(s=>s.value===i.value)}getOptionId(e){if(!e)return;let r=this.options.findIndex(i=>(0,Ft.deepEqual)(i.value,e.value));if(r!==-1)return`option-${r}`}onSelectOption(e){e.stopPropagation(),this.setValue(e.target.value)}setValue(e,r=!0){let i=this.options.find(s=>(0,Ft.deepEqual)(s.value,e));i&&this.selectOption(i,r)}selectOption(e,r=!0){var i,s;if(!(0,Ft.deepEqual)((i=this.selectedOption)===null||i===void 0?void 0:i.value,e?.value)){this.selectedOption=e;for(let o of this.options)o.selected=o===e;r&&this.dispatchEvent(new CustomEvent("change",{detail:(s=this.selectedOption)===null||s===void 0?void 0:s.value}))}this.optionsDisplayed=!1}};
|
|
2066
|
+
`}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,i;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((r=(i=this.selectedOptionElement)!==null&&i!==void 0?i:this.firstOption)===null||r===void 0||r.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&(this.optionsDisplayed?document.addEventListener("click",this.hideOptions):document.removeEventListener("click",this.hideOptions)),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let s=["bottom","top"];(0,Ft.computeOffsetAutoPosition)(this.mainPanel,this.optionsMenu,"bottom",s,"fixed",M.optionsHeight,0).then(({x:o,y:n})=>{this.optionsMenu.style.left=`${o}px`,this.optionsMenu.style.top=`${n}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation(),this.isSlotEmpty=(0,Ft.isSlotEmptyOrWithoutContent)(this.optionsSlot);let i=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(s=>s);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key===" "&&(e.preventDefault(),e.stopPropagation()),e.key){case" ":case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,i;let s,o=this.focusedOption?this.optionsList.indexOf(this.focusedOption):0;switch(e.key){case" ":case"Enter":e.preventDefault(),e.stopPropagation(),this.onSelectOption(e),this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Escape":this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),s=this.optionsList[(o-1+this.optionsList.length)%this.optionsList.length];break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),s=this.optionsList[(o+1)%this.optionsList.length];break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(s=this.handleAlphanumericPress(e.key));break}s?.focus()}isKeyAlphanumeric(e){let r=e.charCodeAt(0);return r>47&&r<58||r>64&&r<91||r>96&&r<123}handleAlphanumericPress(e){let r=new Date;r.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let i=this.options.find(s=>{var o;return((o=s.label)===null||o===void 0?void 0:o.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});return this.lastSearchInputDate=r,i&&this.optionsList.find(s=>s.value===i.value)}getOptionId(e){if(!e)return;let r=this.options.findIndex(i=>(0,Ft.deepEqual)(i.value,e.value));if(r!==-1)return`option-${r}`}onSelectOption(e){e.stopPropagation(),this.setValue(e.target.value)}setValue(e,r=!0){let i=this.options.find(s=>(0,Ft.deepEqual)(s.value,e));i&&this.selectOption(i,r)}selectOption(e,r=!0){var i,s;if(!(0,Ft.deepEqual)((i=this.selectedOption)===null||i===void 0?void 0:i.value,e?.value)){this.selectedOption=e;for(let o of this.options)o.selected=o===e;r&&this.dispatchEvent(new CustomEvent("change",{detail:(s=this.selectedOption)===null||s===void 0?void 0:s.value}))}this.optionsDisplayed=!1}};ne.elementDefinitions={"ft-input-label":Zt,"ft-typography":z,"ft-ripple":L,"ft-icon":ae,"ft-select-option":Qe};ne.searchTimeoutMilliseconds=2e3;ne.styles=[Mr,Ob];Be([(0,_e.property)({type:String})],ne.prototype,"label",void 0);Be([(0,_e.property)({type:String})],ne.prototype,"ariaLabel",void 0);Be([(0,_e.property)({type:String})],ne.prototype,"helper",void 0);Be([(0,_e.property)({type:Boolean})],ne.prototype,"outlined",void 0);Be([(0,_e.property)({type:Boolean})],ne.prototype,"disabled",void 0);Be([(0,_e.property)({type:Boolean})],ne.prototype,"error",void 0);Be([(0,_e.property)({type:Boolean})],ne.prototype,"fixedMenuPosition",void 0);Be([(0,_e.property)({type:Array})],ne.prototype,"options",void 0);Be([(0,_e.state)()],ne.prototype,"selectedOption",void 0);Be([(0,_e.state)()],ne.prototype,"optionsDisplayed",void 0);Be([(0,_e.state)()],ne.prototype,"focusOptions",void 0);Be([(0,_e.state)()],ne.prototype,"currentSearch",void 0);Be([(0,_e.state)()],ne.prototype,"lastSearchInputDate",void 0);Be([(0,_e.query)(".ft-select")],ne.prototype,"container",void 0);Be([(0,_e.query)(".ft-select--options")],ne.prototype,"optionsMenu",void 0);Be([(0,_e.query)(".ft-select--input-panel")],ne.prototype,"mainPanel",void 0);Be([(0,_e.query)("slot:not([name])")],ne.prototype,"optionsSlot",void 0)});var Db=l(()=>{"use strict"});var Pb,Mb=l(()=>{"use strict";hu();Pb={"ft-select":ne,"ft-select-option":Qe}});var Nb,Fb=l(()=>{"use strict";Nb=c(f());Mb();(0,Nb.customElements)(Pb)});var Bb=l(()=>{"use strict";hu();As();Db();Fb()});var Ub,Jt,Ue,Vb,Sa=l(()=>{"use strict";Ub=c(y()),Jt=c(f()),Ue={display:Jt.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:Jt.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:Jt.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:Jt.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:Jt.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:Jt.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:Jt.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:Jt.FtCssVariableFactory.external(Jt.designSystemVariables.borderRadiusM,"Design system")},Vb=Ub.css`
|
|
2067
2067
|
:host {
|
|
2068
2068
|
width: ${Ue.width};
|
|
2069
2069
|
height: ${Ue.height};
|
|
@@ -2808,7 +2808,7 @@
|
|
|
2808
2808
|
</div>
|
|
2809
2809
|
`}onSearchBarKeyDown(e){var r;switch(["Escape","Tab","Shift"].includes(e.key)||(this.searchBar.displaySuggestListbox=!0),e.key){case"Tab":this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0;break;case"Escape":this.suggestManager.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0),this.searchBar.mobileMenuOpen=!1;break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusPreviousSuggestion();break;case"ArrowLeft":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowLeft());break;case"ArrowRight":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowRight());break;case"Enter":if(this.searchBar.selectedSuggestRemoveRecent)(r=this.suggestManager.selectedSuggestRemoveRecentButton)===null||r===void 0||r.click();else{let i=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;i?.click()}break}}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}onClick(){this.onFocus()}onFocus(){this.searchBar.reactToFocus&&(this.searchBar.displaySuggestListbox=!0)}};Ao.styles=ot.css`
|
|
2810
2810
|
|
|
2811
|
-
`;_E([(0,iv.ignoreComposingEvents)()],Ao.prototype,"onSearchBarKeyDown",null)});var G,H,Os,
|
|
2811
|
+
`;_E([(0,iv.ignoreComposingEvents)()],Ao.prototype,"onSearchBarKeyDown",null)});var G,H,Os,ie,U,sv,bu,RE,T,vu=l(()=>{"use strict";G=c(y()),H=c(F()),Os=c(Tr()),ie=c(f());Vg();ve();Nc();Uy();_r();tb();Gt();nu();Bb();ha();nc();Xe();Ea();Yb();Ca();wa();ev();ov();Kc();jt();U=function(t,e,r,i){var s=arguments.length,o=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(o=(s<3?n(o):s>3?n(e,r,o):n(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");sv={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove {0}",back:"Back",selectLocale:"Select a language"},bu=class extends CustomEvent{constructor(e){super("change",{detail:e})}},RE=()=>{},T=class extends ie.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new ie.ParametrizedLabelResolver(sv,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new ie.SearchPlaceConverter(this.baseUrl).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=Mt.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.displaySuggestListbox=!1,this.selectedSuggestRemoveRecent=!1,this.suggestManager=new yr(this),this.selectedFacetsManager=new br(this),this.desktopSearchBarManager=new Ao(this),this.mobileSearchBarManager=new Co(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new ie.Debouncer(10),this.updateLocalesDebouncer=new ie.Debouncer(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,this.availableContentLocalesInitialized=!0})}),this.updateFacets()},this.facetsLoaded=!1,this.updateFacetsDebouncer=new ie.Debouncer(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(r=>r===this.floatingContainer))},this.closeSuggestListbox=e=>{e.composedPath().some(s=>s===this||s===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.compareUnknownFilters=(e,r)=>e.valueFilter&&r.valueFilter?this.compareValueFilters(e.valueFilter,r.valueFilter):e.dateFilter&&r.dateFilter?this.compareDateFilters(e.dateFilter,r.dateFilter):e.rangeFilter&&r.rangeFilter?this.compareRangeFilters(e.rangeFilter,r.rangeFilter):!1,this.compareValueFilters=(e,r)=>e.negative==r.negative&&e.values.length===r.values.length&&e.values.every(i=>r.values.includes(i)),this.compareDateFilters=(e,r)=>e.type===r.type,this.compareRangeFilters=(e,r)=>e.from===r.from&&e.to===r.to,this.compareFilters=(e,r)=>e.key===r.key&&this.compareUnknownFilters(e,r),this.compareRequests=(e,r)=>(e.contentLocale==null||r.contentLocale==null||e.contentLocale===r.contentLocale)&&e.metadataFilters.length===r.metadataFilters.length&&e.metadataFilters.every(i=>r.metadataFilters.some(s=>this.compareFilters(i,s)))}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(r=>{var i,s;return((s=(i=r.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&s!==void 0?s:0)>0&&!this.displayedFilters.includes(r.key)}).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===Mt.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}focusInput(){var e;this.reactToFocus=!1,(e=this.input)===null||e===void 0||e.focus(),this.reactToFocus=!0}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return G.html`
|
|
2812
2812
|
<ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
|
|
2813
2813
|
<div class="sr-only" aria-live="polite" aria-atomic="true">
|
|
2814
2814
|
${this.renderLiveText()}
|
|
@@ -2948,28 +2948,28 @@
|
|
|
2948
2948
|
></ft-filter>
|
|
2949
2949
|
`})}
|
|
2950
2950
|
</ft-snap-scroll>
|
|
2951
|
-
`:G.nothing}firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var r,i,s,o,n;if(e.has("labels")&&(this.labelResolver=new
|
|
2951
|
+
`:G.nothing}firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var r,i,s,o,n;if(e.has("labels")&&(this.labelResolver=new ie.ParametrizedLabelResolver(sv,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let a=u=>this.availableContentLocales.some(d=>d.lang==u);a(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&a(e.get("contentLocale"))?e.get("contentLocale"):(r=this.availableContentLocales[0])===null||r===void 0?void 0:r.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((s=this.presets)!==null&&s!==void 0?s:[]).forEach(a=>a.metadataFilters.forEach(u=>{u.valueFilter&&(u.valueFilter.values=u.valueFilter.values.map(d=>ca(d)))})),e.has("presets")||e.has("selectedPreset")){let a=((o=this.presets)!==null&&o!==void 0?o:[]).find(u=>u.name===this.selectedPreset);a&&!this.compareRequests(this.request,a)&&this.setFiltersFromPreset(a)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(a=>e.has(a))&&(this.selectedPreset=(i=((n=this.presets)!==null&&n!==void 0?n:[]).find(a=>this.compareRequests(a,this.request)))===null||i===void 0?void 0:i.name),["baseUrl","apiIntegrationIdentifier"].some(a=>e.has(a))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(a=>e.has(a))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(a=>e.has(a))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(a=>e.has(a))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new bu(this.request)))}updateFacets(){this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run(async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0},this.facetsInitialized?500:10)):(this.facets=[],this.facetsLoaded=!0,this.facetsInitialized=!0)}contentAvailableCallback(e){var r,i,s;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((r=this.floatingContainer)===null||r===void 0||r.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(i=this.scrollingFiltersContainer)===null||i===void 0||i.scrollIndexIntoView(this.facets.findIndex(n=>n.key===this.scrollToFacet));let o=(s=this.shadowRoot)===null||s===void 0?void 0:s.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);o&&(o.active=!0),this.scrollToFacet=void 0}}initApi(){this.api==null&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout(()=>this.initApi(),10))}async retrieveFacetsFromSearch(){var e;if(this.facetsRequest.length==0){this.facets=[];return}let r=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(i=>i.facets.forEach(s=>{this.knownFacetLabels.set(s.key,s.label),r.set(s.key,s)})).catch(RE)),this.facets=[];for(let i of this.facetsRequest)r.has(i.id)?this.facets.push(r.get(i.id)):this.knownFacetLabels.has(i.id)&&this.facets.push({key:i.id,label:this.knownFacetLabels.get(i.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var r;e.key==="Escape"&&(this.displayFacets=!1,(r=this.filtersOpener)===null||r===void 0||r.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(r=>r.toLowerCase()!==this.query.toLowerCase()).filter((r,i)=>i<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var e;this.recentSearches=JSON.parse((e=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&e!==void 0?e:"[]")}saveRecentSearches(){let e=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:e,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),S.addEventListener("authentication-change",this.initSearchData),this.initSearchData(),this.focusOnDisplay&&(0,ie.waitFor)(()=>this.input,50).then(e=>{ie.FocusHelper.allowAutoFocus(e)&&this.focusInput()})}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox),document.removeEventListener("focusin",this.closeFloatingContainer),document.removeEventListener("click",this.closeFloatingContainer),S.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,r){let i=this.metadataFilters.filter(s=>!s.valueFilter||s.key!==e);this.facets.forEach(s=>{s.key===e&&(0,ie.flatDeep)(s.rootNodes,o=>o.childNodes).forEach(o=>o.selected=r.includes(o.value))}),r.length&&i.push({key:e,valueFilter:{negative:!1,values:r}}),this.metadataFilters=i,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(r=>(0,ie.flatDeep)(r.rootNodes,i=>i.childNodes).forEach(i=>i.selected=!1)),this.metadataFilters=[];let e=this.facets[0];this.scrollToFacet=e?.key}querySelector(e){return this.shadowRoot.querySelector(e)}querySelectorAll(e){return this.shadowRoot.querySelectorAll(e)}renderDesktopFloatingMenu(){return this.forceMenuOpen?G.nothing:G.html`
|
|
2952
2952
|
<div class="ft-search-bar--floating-panel"
|
|
2953
2953
|
id="ft-search-bar-floating-panel"
|
|
2954
2954
|
@keyup=${this.onFloatingContainerKeyUp}
|
|
2955
2955
|
part="floating-panel"
|
|
2956
2956
|
tabindex="-1">
|
|
2957
2957
|
${this.renderDesktopMenu()}
|
|
2958
|
-
</div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};T.elementDefinitions={"ft-accordion":mr,"ft-accordion-item":Nt,"ft-button":w,"ft-chip":he,"ft-filter":K,"ft-filter-option":Ct,"ft-icon":
|
|
2958
|
+
</div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};T.elementDefinitions={"ft-accordion":mr,"ft-accordion-item":Nt,"ft-button":w,"ft-chip":he,"ft-filter":K,"ft-filter-option":Ct,"ft-icon":ae,"ft-ripple":L,"ft-select":ne,"ft-select-option":Qe,"ft-size-watcher":bt,"ft-skeleton":Zr,"ft-snap-scroll":Oe,"ft-tooltip":xe,"ft-typography":z,"ft-radio-group":xt,"ft-radio":$e};T.styles=[Pr,ie.noTextInputDefaultClearButton,zb,Hb,br.styles,yr.styles,ie.screenReaderStyles];U([(0,H.property)({type:Boolean})],T.prototype,"dense",void 0);U([(0,H.property)()],T.prototype,"mode",void 0);U([(0,H.property)({type:Boolean})],T.prototype,"forceMobileMenuOpen",void 0);U([(0,H.property)({type:Boolean})],T.prototype,"forceMenuOpen",void 0);U([(0,H.property)()],T.prototype,"baseUrl",void 0);U([(0,H.property)()],T.prototype,"apiIntegrationIdentifier",void 0);U([(0,H.property)()],T.prototype,"contentLocale",void 0);U([(0,H.state)()],T.prototype,"availableContentLocales",void 0);U([(0,H.state)()],T.prototype,"availableContentLocalesInitialized",void 0);U([(0,H.property)()],T.prototype,"uiLocale",void 0);U([(0,ie.jsonProperty)({})],T.prototype,"labels",void 0);U([(0,ie.jsonProperty)([])],T.prototype,"displayedFilters",void 0);U([(0,ie.jsonProperty)([])],T.prototype,"presets",void 0);U([(0,H.property)({type:String,reflect:!0})],T.prototype,"selectedPreset",void 0);U([(0,ie.jsonProperty)([])],T.prototype,"priors",void 0);U([(0,H.property)()],T.prototype,"searchRequestSerializer",void 0);U([(0,H.property)({type:Boolean})],T.prototype,"focusOnDisplay",void 0);U([(0,H.state)()],T.prototype,"metadataFilters",void 0);U([(0,H.state)()],T.prototype,"sizeCategory",void 0);U([(0,H.state)()],T.prototype,"displayFacets",void 0);U([(0,H.state)()],T.prototype,"mobileMenuOpen",void 0);U([(0,H.state)()],T.prototype,"facets",void 0);U([(0,H.state)()],T.prototype,"facetsInitialized",void 0);U([(0,H.query)(".ft-search-bar--container")],T.prototype,"container",void 0);U([(0,H.query)(".ft-search-bar--filters-opener")],T.prototype,"filtersOpener",void 0);U([(0,H.query)(".ft-search-bar--floating-panel")],T.prototype,"floatingContainer",void 0);U([(0,H.query)("ft-snap-scroll.ft-search-bar--filters-container")],T.prototype,"scrollingFiltersContainer",void 0);U([(0,H.query)(".ft-search-bar--input")],T.prototype,"input",void 0);U([(0,H.query)(".ft-search-bar--launch-search")],T.prototype,"launchSearchButton",void 0);U([(0,H.state)()],T.prototype,"query",void 0);U([(0,H.state)()],T.prototype,"suggestions",void 0);U([(0,H.state)()],T.prototype,"recentSearches",void 0);U([(0,H.state)()],T.prototype,"scrollToFacet",void 0);U([(0,H.state)()],T.prototype,"api",void 0);U([(0,H.state)()],T.prototype,"displaySuggestListbox",void 0);U([(0,H.state)()],T.prototype,"selectedSuggestOptionId",void 0);U([(0,H.state)()],T.prototype,"selectedSuggestRemoveRecent",void 0);U([(0,H.state)()],T.prototype,"facetsLoaded",void 0)});var nv=l(()=>{"use strict"});var av,lv=l(()=>{"use strict";vu();av={"ft-search-bar":T}});var cv,uv=l(()=>{"use strict";cv=c(f());lv();(0,cv.customElements)(av)});var dv=l(()=>{"use strict";vu();Ea();nv();uv()});var pv,hv,fv,mv=l(()=>{"use strict";pv=c(y());ls();hv=c(f());Xe();dv();fv=pv.css`
|
|
2959
2959
|
* {
|
|
2960
2960
|
box-sizing: border-box;
|
|
2961
2961
|
}
|
|
2962
2962
|
|
|
2963
2963
|
.ft-search-input-suggestion {
|
|
2964
2964
|
position: absolute;
|
|
2965
|
-
z-index: ${
|
|
2965
|
+
z-index: ${oe.floatingZIndex};
|
|
2966
2966
|
top: calc(100% + 2px);
|
|
2967
2967
|
left: -1px;
|
|
2968
2968
|
right: -1px;
|
|
2969
|
-
background: ${
|
|
2970
|
-
border: 1px solid ${
|
|
2971
|
-
border-radius: 0 0 ${
|
|
2972
|
-
box-shadow: ${
|
|
2969
|
+
background: ${oe.colorSurface};
|
|
2970
|
+
border: 1px solid ${oe.colorOutline};
|
|
2971
|
+
border-radius: 0 0 ${oe.borderRadius} ${oe.borderRadius};
|
|
2972
|
+
box-shadow: ${oe.elevation02};
|
|
2973
2973
|
}
|
|
2974
2974
|
|
|
2975
2975
|
.ft-search-input-suggestion--container {
|
|
@@ -2991,7 +2991,7 @@
|
|
|
2991
2991
|
padding: 8px;
|
|
2992
2992
|
gap: 8px;
|
|
2993
2993
|
cursor: pointer;
|
|
2994
|
-
color: ${
|
|
2994
|
+
color: ${oe.colorOnSurface};
|
|
2995
2995
|
min-height: 44px;
|
|
2996
2996
|
flex-grow: 1;
|
|
2997
2997
|
}
|
|
@@ -3048,7 +3048,7 @@
|
|
|
3048
3048
|
</ft-button>
|
|
3049
3049
|
`:Vi.nothing}
|
|
3050
3050
|
</div>
|
|
3051
|
-
`}onRemoveRecentQuery(e){var r;(r=this.ftSearchInput.stateManager)===null||r===void 0||r.removeRecentQuery(e)}onSelectOption(e){this.ftSearchInput.onSuggestionSelected(e)}get activeElementId(){let{selectedSuggestOptionIndex:e,selectedSuggestOptionRemove:r}=this.ftSearchInput;if(e!==void 0)return(r?"remove-suggestion-":"suggestion-")+e}get activeElement(){var e;let r=this.activeElementId;if(r!==void 0)return(e=this.ftSearchInput.shadowRoot.getElementById(r))!==null&&e!==void 0?e:void 0}recentQueriesCount(){return this.ftSearchInput.recentQuerySuggestions.length}suggestionsCount(){var e,r;return(r=(e=this.ftSearchInput.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:0}optionsCount(){return this.recentQueriesCount()+this.suggestionsCount()}clearSelection(){this.ftSearchInput.selectedSuggestOptionIndex=void 0,this.ftSearchInput.selectedSuggestOptionRemove=!1}selectNext(){this.ftSearchInput.selectedSuggestOptionIndex===void 0?this.ftSearchInput.selectedSuggestOptionIndex=0:(this.ftSearchInput.selectedSuggestOptionIndex++,this.ftSearchInput.selectedSuggestOptionIndex>=this.optionsCount()&&this.clearSelection())}selectPrevious(){this.ftSearchInput.selectedSuggestOptionIndex===void 0?this.ftSearchInput.selectedSuggestOptionIndex=this.optionsCount()-1:(this.ftSearchInput.selectedSuggestOptionIndex--,this.ftSearchInput.selectedSuggestOptionIndex<0&&this.clearSelection())}selectLeft(){this.ftSearchInput.selectedSuggestOptionIndex!==void 0&&(this.ftSearchInput.selectedSuggestOptionRemove?this.ftSearchInput.selectedSuggestOptionRemove=!1:this.clearSelection())}isRemovable(e){return e<this.recentQueriesCount()}selectRight(){let e=this.ftSearchInput.selectedSuggestOptionIndex;e!==void 0&&(!this.ftSearchInput.selectedSuggestOptionRemove&&this.isRemovable(e)?this.ftSearchInput.selectedSuggestOptionRemove=!0:this.clearSelection())}closeBox(){this.ftSearchInput.displaySuggestListbox=!1,this.clearSelection()}};Jr.elementDefinitions={"ft-ripple":L,"ft-typography":z,"ft-icon":
|
|
3051
|
+
`}onRemoveRecentQuery(e){var r;(r=this.ftSearchInput.stateManager)===null||r===void 0||r.removeRecentQuery(e)}onSelectOption(e){this.ftSearchInput.onSuggestionSelected(e)}get activeElementId(){let{selectedSuggestOptionIndex:e,selectedSuggestOptionRemove:r}=this.ftSearchInput;if(e!==void 0)return(r?"remove-suggestion-":"suggestion-")+e}get activeElement(){var e;let r=this.activeElementId;if(r!==void 0)return(e=this.ftSearchInput.shadowRoot.getElementById(r))!==null&&e!==void 0?e:void 0}recentQueriesCount(){return this.ftSearchInput.recentQuerySuggestions.length}suggestionsCount(){var e,r;return(r=(e=this.ftSearchInput.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:0}optionsCount(){return this.recentQueriesCount()+this.suggestionsCount()}clearSelection(){this.ftSearchInput.selectedSuggestOptionIndex=void 0,this.ftSearchInput.selectedSuggestOptionRemove=!1}selectNext(){this.ftSearchInput.selectedSuggestOptionIndex===void 0?this.ftSearchInput.selectedSuggestOptionIndex=0:(this.ftSearchInput.selectedSuggestOptionIndex++,this.ftSearchInput.selectedSuggestOptionIndex>=this.optionsCount()&&this.clearSelection())}selectPrevious(){this.ftSearchInput.selectedSuggestOptionIndex===void 0?this.ftSearchInput.selectedSuggestOptionIndex=this.optionsCount()-1:(this.ftSearchInput.selectedSuggestOptionIndex--,this.ftSearchInput.selectedSuggestOptionIndex<0&&this.clearSelection())}selectLeft(){this.ftSearchInput.selectedSuggestOptionIndex!==void 0&&(this.ftSearchInput.selectedSuggestOptionRemove?this.ftSearchInput.selectedSuggestOptionRemove=!1:this.clearSelection())}isRemovable(e){return e<this.recentQueriesCount()}selectRight(){let e=this.ftSearchInput.selectedSuggestOptionIndex;e!==void 0&&(!this.ftSearchInput.selectedSuggestOptionRemove&&this.isRemovable(e)?this.ftSearchInput.selectedSuggestOptionRemove=!0:this.clearSelection())}closeBox(){this.ftSearchInput.displaySuggestListbox=!1,this.clearSelection()}};Jr.elementDefinitions={"ft-ripple":L,"ft-typography":z,"ft-icon":ae,"ft-button":w};Jr.styles=[gv.wordWrap,fv]});function kE(t){let e=t.liveQuery.trim().toLowerCase();return t.recentQueries.filter(r=>r.toLowerCase().includes(e)).slice(0,TE)}var wo,ft,At,bv,Ve,TE,fe,Su=l(()=>{"use strict";wo=c(y()),ft=c(f());ls();$i();$t();kc();At=c(F()),bv=c(st());yv();Gt();ve();jt();Un();Ve=function(t,e,r,i){var s=arguments.length,o=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(o=(s<3?n(o):s>3?n(e,r,o):n(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o},TE=5;fe=class extends ct(Pt){constructor(){super(),this.liveQuery="",this.recentQuerySuggestions=[],this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.selectedSuggestOptionRemove=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.focusOnDisplay=!1,this.suggestions=new Jr(this),this.showSuggestionsOnFocus=!0,this.onPointerDown=e=>{e.composedPath().some(s=>s===this||s===this.shadowRoot)||this.suggestions.closeBox()},this.addI18nContext(Rr)}render(){var e;let r=this.suggestions.optionsCount()>0,i={"ft-search-input":!0,"ft-search-input--with-suggestions":r,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},s={...this.request,query:this.liveQuery},o=this.useCustomSearchPath?this.launchSearchPath:void 0,n=wr.get().serializeToCurrentPageIfPossible(s,o),a=!this.forceCloseSuggestion&&this.displaySuggestListbox&&r;return wo.html`
|
|
3052
3052
|
<div class="${(0,bv.classMap)(i)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
|
|
3053
3053
|
<div class="ft-search-input--input-container" part="input-container" tabindex="-1">
|
|
3054
3054
|
<div class="ft-search-input--input-outline" part="input-outline">
|
|
@@ -3095,7 +3095,7 @@
|
|
|
3095
3095
|
></ft-button>
|
|
3096
3096
|
</div>
|
|
3097
3097
|
</div>
|
|
3098
|
-
`}onSearchBarKeyDown(e){switch(this.forceCloseSuggestion=!1,["Escape","Tab","Shift"].includes(e.key)||(this.displaySuggestListbox=!0),e.key){case"Tab":this.suggestions.closeBox();break;case"Escape":this.displaySuggestListbox&&this.suggestions.optionsCount()>0&&(e.stopPropagation(),e.preventDefault(),this.suggestions.closeBox());break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestions.selectNext();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestions.selectPrevious();break;case"ArrowLeft":this.selectedSuggestOptionIndex!==void 0&&(e.stopPropagation(),e.preventDefault(),this.suggestions.selectLeft());break;case"ArrowRight":this.selectedSuggestOptionIndex!==void 0&&(e.stopPropagation(),e.preventDefault(),this.suggestions.selectRight());break;case"Enter":{let r=this.suggestions.activeElement;if(r){r.click();break}this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break}case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){e.key==="Backspace"&&e.stopPropagation()}onInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear&&this.launchSearch(""),this.input.focus()}launchSearch(e){var r,i;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(r=this.stateManager)===null||r===void 0||r.setQuery(e),(i=this.stateManager)===null||i===void 0||i.addRecentQuery(e)}onSuggestionSelected(e){this.launchSearch(e),this.suggestions.closeBox()}onClick(){this.onFocus()}onFocus(){this.showSuggestionsOnFocus&&(this.displaySuggestListbox=!0),this.forceCloseSuggestion=!1}connectedCallback(){super.connectedCallback(),this.focusOnDisplay&&this.updateComplete.then(()=>{this.input&&ft.FocusHelper.allowAutoFocus(this.input)&&(this.showSuggestionsOnFocus=!1,this.input.focus(),this.showSuggestionsOnFocus=!0)})}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("displaySuggestListbox")&&(this.displaySuggestListbox?document.addEventListener("pointerdown",this.onPointerDown):document.removeEventListener("pointerdown",this.onPointerDown))}};fe.elementDefinitions={"ft-button":w,...Jr.elementDefinitions};fe.styles=[Pr,ft.noTextInputDefaultClearButton,fc,...Jr.styles,ft.screenReaderStyles];Ve([(0,ft.redux)()],fe.prototype,"request",void 0);Ve([(0,ft.redux)()],fe.prototype,"liveQuery",void 0);Ve([(0,ft.redux)()],fe.prototype,"suggestResults",void 0);Ve([(0,ft.redux)({selector:kE})],fe.prototype,"recentQuerySuggestions",void 0);Ve([(0,At.state)()],fe.prototype,"forceCloseSuggestion",void 0);Ve([(0,At.state)()],fe.prototype,"displaySuggestListbox",void 0);Ve([(0,At.state)()],fe.prototype,"selectedSuggestOptionIndex",void 0);Ve([(0,At.state)()],fe.prototype,"selectedSuggestOptionRemove",void 0);Ve([(0,At.property)()],fe.prototype,"launchSearchPath",void 0);Ve([lo()],fe.prototype,"placeholder",void 0);Ve([(0,At.property)({type:Boolean})],fe.prototype,"useCustomSearchPath",void 0);Ve([(0,At.property)({type:Boolean})],fe.prototype,"triggerSearchOnClear",void 0);Ve([(0,At.property)({type:Boolean})],fe.prototype,"focusOnDisplay",void 0);Ve([(0,At.query)(".ft-search-input--input")],fe.prototype,"input",void 0);Ve([(0,At.query)('[part="launch-search-in-input"]')],fe.prototype,"launchSearchButton",void 0);Ve([(0,ft.ignoreComposingEvents)()],fe.prototype,"onSearchBarKeyDown",null);Ve([(0,ft.ignoreComposingEvents)()],fe.prototype,"onSearchBarKeyUp",null)});var vv,xv=l(()=>{"use strict";Su();vv={"ft-search-input":fe}});var Sv,Ev=l(()=>{"use strict";Sv=c(f());xv();(0,Sv.customElements)(vv)});var Cv={};ii(Cv,{FtSearchInput:()=>fe,FtSearchInputCssVariables:()=>
|
|
3098
|
+
`}onSearchBarKeyDown(e){switch(this.forceCloseSuggestion=!1,["Escape","Tab","Shift"].includes(e.key)||(this.displaySuggestListbox=!0),e.key){case"Tab":this.suggestions.closeBox();break;case"Escape":this.displaySuggestListbox&&this.suggestions.optionsCount()>0&&(e.stopPropagation(),e.preventDefault(),this.suggestions.closeBox());break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestions.selectNext();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestions.selectPrevious();break;case"ArrowLeft":this.selectedSuggestOptionIndex!==void 0&&(e.stopPropagation(),e.preventDefault(),this.suggestions.selectLeft());break;case"ArrowRight":this.selectedSuggestOptionIndex!==void 0&&(e.stopPropagation(),e.preventDefault(),this.suggestions.selectRight());break;case"Enter":{let r=this.suggestions.activeElement;if(r){r.click();break}this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break}case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){e.key==="Backspace"&&e.stopPropagation()}onInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear&&this.launchSearch(""),this.input.focus()}launchSearch(e){var r,i;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(r=this.stateManager)===null||r===void 0||r.setQuery(e),(i=this.stateManager)===null||i===void 0||i.addRecentQuery(e)}onSuggestionSelected(e){this.launchSearch(e),this.suggestions.closeBox()}onClick(){this.onFocus()}onFocus(){this.showSuggestionsOnFocus&&(this.displaySuggestListbox=!0),this.forceCloseSuggestion=!1}connectedCallback(){super.connectedCallback(),this.focusOnDisplay&&this.updateComplete.then(()=>{this.input&&ft.FocusHelper.allowAutoFocus(this.input)&&(this.showSuggestionsOnFocus=!1,this.input.focus(),this.showSuggestionsOnFocus=!0)})}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("displaySuggestListbox")&&(this.displaySuggestListbox?document.addEventListener("pointerdown",this.onPointerDown):document.removeEventListener("pointerdown",this.onPointerDown))}};fe.elementDefinitions={"ft-button":w,...Jr.elementDefinitions};fe.styles=[Pr,ft.noTextInputDefaultClearButton,fc,...Jr.styles,ft.screenReaderStyles];Ve([(0,ft.redux)()],fe.prototype,"request",void 0);Ve([(0,ft.redux)()],fe.prototype,"liveQuery",void 0);Ve([(0,ft.redux)()],fe.prototype,"suggestResults",void 0);Ve([(0,ft.redux)({selector:kE})],fe.prototype,"recentQuerySuggestions",void 0);Ve([(0,At.state)()],fe.prototype,"forceCloseSuggestion",void 0);Ve([(0,At.state)()],fe.prototype,"displaySuggestListbox",void 0);Ve([(0,At.state)()],fe.prototype,"selectedSuggestOptionIndex",void 0);Ve([(0,At.state)()],fe.prototype,"selectedSuggestOptionRemove",void 0);Ve([(0,At.property)()],fe.prototype,"launchSearchPath",void 0);Ve([lo()],fe.prototype,"placeholder",void 0);Ve([(0,At.property)({type:Boolean})],fe.prototype,"useCustomSearchPath",void 0);Ve([(0,At.property)({type:Boolean})],fe.prototype,"triggerSearchOnClear",void 0);Ve([(0,At.property)({type:Boolean})],fe.prototype,"focusOnDisplay",void 0);Ve([(0,At.query)(".ft-search-input--input")],fe.prototype,"input",void 0);Ve([(0,At.query)('[part="launch-search-in-input"]')],fe.prototype,"launchSearchButton",void 0);Ve([(0,ft.ignoreComposingEvents)()],fe.prototype,"onSearchBarKeyDown",null);Ve([(0,ft.ignoreComposingEvents)()],fe.prototype,"onSearchBarKeyUp",null)});var vv,xv=l(()=>{"use strict";Su();vv={"ft-search-input":fe}});var Sv,Ev=l(()=>{"use strict";Sv=c(f());xv();(0,Sv.customElements)(vv)});var Cv={};ii(Cv,{FtSearchInput:()=>fe,FtSearchInputCssVariables:()=>oe,styles:()=>fc});var Av=l(()=>{"use strict";ls();$g();Su();Ev()});var wv,LE,Eu,Cu=l(()=>{"use strict";wv=c(y()),LE={},Eu=wv.css`
|
|
3099
3099
|
`});var Ov=l(()=>{"use strict"});var Au,_v=l(()=>{"use strict";$t();Au=ur.fromGwt("designedActionBlockAriaLabels")});var Oa,wu,Rv,Lr,Ou=l(()=>{"use strict";Oa=c(y()),wu=c(f());Cu();Gt();$i();$t();_v();mo();Rv=function(t,e,r,i){var s=arguments.length,o=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(o=(s<3?n(o):s>3?n(e,r,o):n(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o},Lr=class extends ct(Pt){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.neededSearchRequests=[Qt.CLUSTERED_SEARCH],this.addI18nContext(Au)}render(){return this.isLastPage?Oa.nothing:Oa.html`
|
|
3100
3100
|
<ft-button @click=${this.loadMore}>
|
|
3101
3101
|
${Au.messages.searchPageLoadMore()}
|
|
@@ -3244,11 +3244,11 @@
|
|
|
3244
3244
|
}
|
|
3245
3245
|
|
|
3246
3246
|
ft-search-input {
|
|
3247
|
-
${(0,O.setVariable)(
|
|
3248
|
-
${(0,O.setVariable)(
|
|
3249
|
-
${(0,O.setVariable)(
|
|
3250
|
-
${(0,O.setVariable)(
|
|
3251
|
-
${(0,O.setVariable)(
|
|
3247
|
+
${(0,O.setVariable)(oe.colorSurface,We.searchFieldBackgroundColor)};
|
|
3248
|
+
${(0,O.setVariable)(oe.colorOutline,We.searchFieldBorderColor)};
|
|
3249
|
+
${(0,O.setVariable)(oe.colorOnSurface,We.searchFieldTextColor)};
|
|
3250
|
+
${(0,O.setVariable)(oe.borderRadius,We.searchFieldBorderRadius)};
|
|
3251
|
+
${(0,O.setVariable)(oe.buttonColor,We.searchButtonColor)};
|
|
3252
3252
|
}
|
|
3253
3253
|
|
|
3254
3254
|
ft-search-results-number {
|