All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.butterfaces-dist-js.butterfaces-trivial-components-wrapper.min.js Maven / Gradle / Ivy

There is a newer version: 3.5.0
Show newest version
var ButterFaces;!function(e){e.createTrivialTagComponent=function(e,t){return new TrivialComponents.TrivialTagComboBox(e,{autoComplete:t.autoComplete,allowFreeText:!0,showTrigger:t.showTrigger,distinct:t.distinct,editingMode:t.editingMode,matchingOptions:{matchingMode:"contains",ignoreCase:!0,maxLevenshteinDistance:0},maxSelectedEntries:t.maxSelectedEntries,selectedEntries:t.selectedEntries,freeTextSeparators:t.freeTextSeparators,entries:t.entries,valueFunction:function(e){return e.map(function(e){return null!=e.id?e.id:e.title}).join(",")},freeTextEntryFactory:function(e){return{title:(t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},e.replace(/[&<>"'\/]/g,function(e){return t[e]}))};var t},entryRenderingFunction:function(e){return"
"+e.title+"
"}})},e.createTrivialTreeComponent=function(e,n){return new TrivialComponents.TrivialTree(e,{searchBarMode:n.searchBarMode,selectedEntryId:n.selectedEntryId,performanceOptimizationSettings:n.performanceOptimizationSettings,entryRenderingFunction:function(e,t){return Mustache.render(n.templates[Math.min(n.templates.length-1,t)],e)},spinnerTemplate:n.spinnerTemplate,noEntriesTemplate:n.noEntriesTemplate,entries:n.entries,queryFunction:TrivialComponents.customTreeQueryFunctionFactory(n.entries,"children","expanded",function(e,t,n){var r=e.title&&0




© 2015 - 2024 Weber Informatics LLC | Privacy Policy