EmbyCrackedClient/web/modules/tabbedview/genrestab.js

1 line
961 B
JavaScript
Raw Normal View History

2025-06-25 11:46:04 +08:00
import ItemsTab from"./itemstab.js";function GenresTab(view,params,options){ItemsTab.apply(this,arguments)}Object.assign(GenresTab.prototype,ItemsTab.prototype),GenresTab.prototype.supportsAlphaPicker=function(){return!0},GenresTab.prototype.getSettingsKey=function(){return ItemsTab.prototype.getSettingsKey.call(this)+"-genres"},GenresTab.prototype.getPrefixesApiClientMethodName=function(){return this.options&&this.options.prefixesApiClientMethod?this.options.prefixesApiClientMethod:ItemsTab.prototype.getPrefixesApiClientMethodName.apply(this,arguments)},GenresTab.prototype.getApiClientQueryMethodName=function(){return"getGenres"},GenresTab.prototype.getSortMenuOptions=function(){return[]},GenresTab.prototype.loadTemplate=function(){return this.loadItemsTemplate()},GenresTab.prototype.getQueryIncludeItemTypes=function(){return this.options.queryIncludeItemTypes},GenresTab.prototype.getItemTypes=function(){return["Genre"]};export default GenresTab;