| 
														
															@@ -109,18 +109,21 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 						> 
														 | 
														
														 | 
														
															 						> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 							theater_comedy 
														 | 
														
														 | 
														
															 							theater_comedy 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 						</i> 
														 | 
														
														 | 
														
															 						</i> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-						<quick-confirm 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-							placement="left" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-							@confirm="deleteMany(slotProps.item)" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+						<i 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+							class="material-icons delete-songs-icon" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+							@click.prevent=" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+								confirmAction({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+									message: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+										'Removing this song will remove it from all playlists and cause a ratings recalculation.', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+									action: 'deleteMany', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+									params: slotProps.item 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+								}) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+							" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+							content="Delete Songs" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+							v-tippy 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 						> 
														 | 
														
														 | 
														
															 						> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-							<i 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-								class="material-icons delete-songs-icon" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-								content="Delete Songs" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-								v-tippy 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-							> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-								delete_forever 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-							</i> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-						</quick-confirm> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+							delete_forever 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+						</i> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 					</div> 
														 | 
														
														 | 
														
															 					</div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 				</template> 
														 | 
														
														 | 
														
															 				</template> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 				<!-- <template #bulk-actions-right="slotProps"> 
														 | 
														
														 | 
														
															 				<!-- <template #bulk-actions-right="slotProps"> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -129,6 +132,11 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		</div> 
														 | 
														
														 | 
														
															 		</div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		<edit-song v-if="modals.editSong" song-type="songs" :key="song._id" /> 
														 | 
														
														 | 
														
															 		<edit-song v-if="modals.editSong" song-type="songs" :key="song._id" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		<report v-if="modals.report" /> 
														 | 
														
														 | 
														
															 		<report v-if="modals.report" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		<confirm 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			v-if="modals.confirm" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			:confirm="confirm" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			@confirmed="handleConfirmed()" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		/> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	</div> 
														 | 
														
														 | 
														
															 	</div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 </template> 
														 | 
														
														 | 
														
															 </template> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -139,18 +147,19 @@ import { defineAsyncComponent } from "vue"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import Toast from "toasters"; 
														 | 
														
														 | 
														
															 import Toast from "toasters"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import AdvancedTable from "@/components/AdvancedTable.vue"; 
														 | 
														
														 | 
														
															 import AdvancedTable from "@/components/AdvancedTable.vue"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import UserIdToUsername from "@/components/UserIdToUsername.vue"; 
														 | 
														
														 | 
														
															 import UserIdToUsername from "@/components/UserIdToUsername.vue"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import QuickConfirm from "@/components/QuickConfirm.vue"; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 export default { 
														 | 
														
														 | 
														
															 export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	components: { 
														 | 
														
														 | 
														
															 	components: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		AdvancedTable, 
														 | 
														
														 | 
														
															 		AdvancedTable, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		UserIdToUsername, 
														 | 
														
														 | 
														
															 		UserIdToUsername, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-		QuickConfirm, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		EditSong: defineAsyncComponent(() => 
														 | 
														
														 | 
														
															 		EditSong: defineAsyncComponent(() => 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			import("@/components/modals/EditSong") 
														 | 
														
														 | 
														
															 			import("@/components/modals/EditSong") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		), 
														 | 
														
														 | 
														
															 		), 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		Report: defineAsyncComponent(() => 
														 | 
														
														 | 
														
															 		Report: defineAsyncComponent(() => 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			import("@/components/modals/Report.vue") 
														 | 
														
														 | 
														
															 			import("@/components/modals/Report.vue") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		), 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		Confirm: defineAsyncComponent(() => 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			import("@/components/modals/Confirm.vue") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		) 
														 | 
														
														 | 
														
															 		) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	}, 
														 | 
														
														 | 
														
															 	}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	data() { 
														 | 
														
														 | 
														
															 	data() { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -274,7 +283,12 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 					filterTypes: ["contains", "exact", "regex"], 
														 | 
														
														 | 
														
															 					filterTypes: ["contains", "exact", "regex"], 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 					defaultFilterType: "contains" 
														 | 
														
														 | 
														
															 					defaultFilterType: "contains" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 				} 
														 | 
														
														 | 
														
															 				} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			] 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			], 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			confirm: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+				message: "", 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+				action: "", 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+				params: null 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		}; 
														 | 
														
														 | 
														
															 		}; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	}, 
														 | 
														
														 | 
														
															 	}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	computed: { 
														 | 
														
														 | 
														
															 	computed: { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -314,7 +328,25 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		deleteMany() { 
														 | 
														
														 | 
														
															 		deleteMany() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			new Toast("Bulk deleting not yet implemented."); 
														 | 
														
														 | 
														
															 			new Toast("Bulk deleting not yet implemented."); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		}, 
														 | 
														
														 | 
														
															 		}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		confirmAction(confirm) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			this.confirm = confirm; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			this.updateConfirmMessage(confirm.message); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			this.openModal("confirm"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		handleConfirmed() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			const { action, params } = this.confirm; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			if (typeof this[action] === "function") { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+				if (params) this[action](params); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+				else this[action](); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			this.confirm = { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+				message: "", 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+				action: "", 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+				params: null 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			}; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		...mapActions("modals/editSong", ["editSong"]), 
														 | 
														
														 | 
														
															 		...mapActions("modals/editSong", ["editSong"]), 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		...mapActions("modals/confirm", ["updateConfirmMessage"]), 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		...mapActions("modalVisibility", ["openModal"]) 
														 | 
														
														 | 
														
															 		...mapActions("modalVisibility", ["openModal"]) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	} 
														 | 
														
														 | 
														
															 	} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 }; 
														 | 
														
														 | 
														
															 }; 
														 |