// Link elements bound by rails-ujs const linkClickSelector = “a, a, a:not(), a, a”
// Button elements bound by rails-ujs const buttonClickSelector = {
selector: "button[data-remote]:not([form]), button[data-confirm]:not([form])", exclude: "form button"
}
// Select elements bound by rails-ujs const inputChangeSelector = “select, input, textarea”
// Form elements bound by rails-ujs const formSubmitSelector = “form:not()”
// Form input elements bound by rails-ujs const formInputClickSelector = “form:not() input, form:not() input, form:not() button, form:not() button:not(), input[form], input[form], button[form], button:not()”
// Form input elements disabled during form submission const formDisableSelector = “input:enabled, button:enabled, textarea:enabled, input:enabled, button:enabled, textarea:enabled”
// Form input elements re-enabled after form submission const formEnableSelector = “input:disabled, button:disabled, textarea:disabled, input:disabled, button:disabled, textarea:disabled”
// Form file input elements const fileInputSelector = “input[type=file]:not()”
// Link onClick disable selector with possible re-enable after remote submission const linkDisableSelector = “a, a”
// Button onClick disable selector with possible re-enable after remote submission const buttonDisableSelector = “button[data-disable-with], button[data-disable]”
export {
linkClickSelector, buttonClickSelector, inputChangeSelector, formSubmitSelector, formInputClickSelector, formDisableSelector, formEnableSelector, fileInputSelector, linkDisableSelector, buttonDisableSelector
}