Initial Commit

This commit is contained in:
David Stone
2024-11-30 18:24:12 -07:00
commit e8f7955c1c
5432 changed files with 1397750 additions and 0 deletions

View File

@ -0,0 +1,46 @@
/* eslint-disable no-unused-vars */
/* global Vue, wu_event_view_payload, ClipboardJS */
(function ($) {
$(function () {
if (($('#wu_payload').length)) {
wu_event_view_payload = new Vue({
el: '#wu_payload',
data() {
return {
loading: false,
payload: $('#hidden_textarea').val(),
};
},
methods: {},
});
}
// eslint-disable-next-line no-unused-vars
const clipboard = new ClipboardJS('.btn-clipboard');
clipboard.on('success', function (e) {
const target = $(e.trigger);
const default_text = target.text();
target.attr('disabled', 'disabled').text('Copied!');
setTimeout(function () {
target.text(default_text).removeAttr('disabled');
}, 3000);
});
});
}(jQuery));