1 line
1.4 KiB
JavaScript
1 line
1.4 KiB
JavaScript
define(["exports","./../modules/tabbedview/itemstab.js"],function(_exports,_itemstab){function SongsTab(view,params,options){_itemstab.default.call(this,view,params,options)}Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0,Object.assign(SongsTab.prototype,_itemstab.default.prototype),SongsTab.prototype.supportsAlphaPicker=function(){return!0},SongsTab.prototype.getBaseListRendererOptions=function(){var options=_itemstab.default.prototype.getBaseListRendererOptions.apply(this,arguments);return options.action="playallfromhere",options},SongsTab.prototype.getCardOptions=function(items,settings){var options=_itemstab.default.prototype.getCardOptions.apply(this,arguments);return options.fields.push("ParentName"),options.hoverPlayButton=!1,options.sideFooter=!0,options.centerText=!1,options},SongsTab.prototype.getListViewOptions=function(items,settings){var options=_itemstab.default.prototype.getListViewOptions.apply(this,arguments);return options.fields.push("ParentName"),options},SongsTab.prototype.getContext=function(){return"music"},SongsTab.prototype.getSettingsKey=function(){return _itemstab.default.prototype.getSettingsKey.call(this)+"-songs"},SongsTab.prototype.getPlayAction=function(){return"playallfromhere"},SongsTab.prototype.getItemTypes=function(){return["Audio"]},SongsTab.prototype.loadTemplate=function(){return this.loadItemsTemplate()},_exports.default=SongsTab}); |