define(["exports","./../list/list.js","./../modules/emby-elements/emby-button/emby-button.js","./../modules/emby-elements/emby-itemscontainer/emby-itemscontainer.js","./../modules/common/globalize.js","./../modules/approuter.js","./../librarysetup/librariescontroller.js"],function(_exports,_list,_embyButton,_embyItemscontainer,_globalize,_approuter,_librariescontroller){function onWizardNextClick(){_approuter.default.show("wizard/wizardremoteaccess.html")}function LibrarySetupPage(view,params){this.supportsViewSettings=!1,this.hasOtherViewButtons=!0,this.enableAlphaNumericShortcuts=!1,_list.default.call(this,view,params),this.itemsContainer.refreshOnItemUpdated=!0,view.querySelector(".btnWizardNext").addEventListener("click",onWizardNextClick),_librariescontroller.default.addButtons(this,!1)}Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0,Object.assign(LibrarySetupPage.prototype,_list.default.prototype),LibrarySetupPage.prototype.getItems=function(query){return this.getApiClient().getVirtualFolders(query)},LibrarySetupPage.prototype.getItemTypes=function(){return["VirtualFolder"]},LibrarySetupPage.prototype.getSettingsKey=function(){return"libraries"},LibrarySetupPage.prototype.getEmptyListMessage=function(){return Promise.resolve("")},LibrarySetupPage.prototype.getItemCountText=function(numItems){return 1===numItems?_globalize.default.translate("OneLibrary"):_globalize.default.translate("LibraryCountValue",numItems)},LibrarySetupPage.prototype.getContext=function(){return null},LibrarySetupPage.prototype.setTitle=function(){},LibrarySetupPage.prototype.getBaseListRendererOptions=function(){var options=_list.default.prototype.getBaseListRendererOptions.apply(this,arguments);return options.draggable=!1,options.draggableXActions=!0,options.multiSelect=!1,options.action="edit",options},LibrarySetupPage.prototype.getCardOptions=function(items,settings){var options=_list.default.prototype.getCardOptions.apply(this,arguments);return Object.assign(options,{shape:"backdrop",fields:["Name","CollectionType","LibraryFolders"],cardLayout:!0,hoverPlayButton:!1,defaultBackground:!0,linkButtonAction:"edit"})},LibrarySetupPage.prototype.getSortMenuOptions=function(){return[]};_exports.default=LibrarySetupPage});