1 line
916 B
JavaScript
1 line
916 B
JavaScript
define(["exports","./itemstab.js"],function(_exports,_itemstab){function CollectionsTab(view,params,options){_itemstab.default.call(this,view,params,options),this.options=options}Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0,Object.assign(CollectionsTab.prototype,_itemstab.default.prototype),CollectionsTab.prototype.supportsAlphaPicker=function(){return!0},CollectionsTab.prototype.getSettingsKey=function(){return _itemstab.default.prototype.getSettingsKey.call(this)+"-collections"},CollectionsTab.prototype.getBaseQuery=function(){var query=_itemstab.default.prototype.getBaseQuery.apply(this,arguments);return this.options&&this.options.parentId&&(query.ParentId=this.options.parentId),query},CollectionsTab.prototype.getItemTypes=function(){return["BoxSet"]},CollectionsTab.prototype.loadTemplate=function(){return this.loadItemsTemplate()},_exports.default=CollectionsTab}); |