| Server IP : 38.190.208.107 / Your IP : 216.73.217.46 Web Server : nginx/1.28.1 System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 User : root ( 0) PHP Version : 8.2.28 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/wp.9/wp-content/themes/blocksy/static/js/ |
Upload File : |
import './public-path'
import $ from 'jquery'
import { initAllPanels } from './options/initPanels'
import { initWidget } from './backend/widgets'
import { initAllWooVariations } from './backend/woo-variation'
import { initTaxonomies } from './backend/taxonomies'
import { initAllWooAttributesOptions } from './backend/woo-attributes'
import { mountCoreBlocksFix } from './editor/utils/fix-core-blocks-registration'
mountCoreBlocksFix()
if ($ && $.fn) {
$(document).on('widget-added', (event, widget) => {
initWidget(widget[0])
})
initAllWooVariations()
setTimeout(() => {
initAllWooAttributesOptions()
$(document.body).on(
'woocommerce_variations_added woocommerce_variations_loaded',
function () {
initAllWooVariations()
}
)
$(document.body).on('woocommerce_attributes_saved', function () {
initAllWooAttributesOptions()
})
}, 1000)
}
document.addEventListener('DOMContentLoaded', () => {
initAllPanels()
initTaxonomies()
;[
...document.querySelectorAll('.notice-blocksy-plugin'),
...document.querySelectorAll('.notice-blocksy-blocks-move'),
...document.querySelectorAll('[data-dismiss]'),
].map((el) => import('./notification/main').then(({ mount }) => mount(el)))
if ($) {
$(document).on(
'click',
'[href*="technical_support"][href*="ct-dashboard"]',
(e) => {
e.preventDefault()
location.href = 'https://creativethemes.com/blocksy/support'
}
)
}
})
export { default as Overlay } from './customizer/components/Overlay'
export {
getValueFromInput,
getFirstLevelOptions,
} from './options/helpers/get-value-from-input'
export { default as OptionsPanel } from './options/OptionsPanel'
export { default as Panel, PanelMetaWrapper } from './options/options/ct-panel'
export { DeviceManagerProvider } from './customizer/components/useDeviceManager'
export { default as PanelLevel } from './options/components/PanelLevel'
export { default as Switch } from './options/options/ct-switch'
export { default as Checkboxes } from './options/options/ct-checkboxes'
export { default as ImageUploader } from './options/options/ct-image-uploader'
export { default as Select } from './options/options/ct-select'
export { default as OutsideClickHandler } from './options/options/react-outside-click-handler'
export { default as DateTimePicker } from './options/options/date-time-picker'
export { default as EntityIdPicker } from './options/options/ct-entity-picker'
export { Transition, animated } from 'react-spring'
export { default as bezierEasing } from 'bezier-easing'
export { default as usePopoverMaker } from './options/helpers/usePopoverMaker'
export { default as ToolsWithOptionsPanel } from './editor/components/ToolsWithOptionsPanel'
// gutenberg blocks
export { default as ColorsPanel } from './editor/components/ColorsPanel'
export * as syncHelpers from 'customizer-sync-helpers'
export {
getAttributesFromOptions,
getDefaultsFromOptions,
getOptionsForBlock,
} from './editor/utils'
export { getColorsDefaults } from './editor/utils/colors'
export const onDocumentLoaded = (cb) => {
if (/comp|inter|loaded/.test(document.readyState)) {
cb()
} else {
document.addEventListener('DOMContentLoaded', cb, false)
}
}
export const mountFlexy = (sliderEl, args) => {
return import('./frontend/flexy')
}