ntopng/http_src/utilities/utilities.js
Matteo Biscosi 4e31f600f6 Revert "Added Vite to frontend builds"
This reverts commit 2b5d2d7949.
2025-05-22 15:32:21 +02:00

35 lines
1.8 KiB
JavaScript

import NtopUtils from './ntop-utils'
window.NtopUtils = NtopUtils
import { datatableInitRefreshRows, datatableForEachRow, datatableIsEmpty, datatableRemoveEmptyRow, datatableAddEmptyRow, datatableGetNumDisplayedItems, datatableGetByForm, datatableUndoAddRow, datatableAddButtonCallback, datatableAddDeleteButtonCallback, datatableAddActionButtonCallback, datatableAddFilterButtonCallback, datatableAddLinkButtonCallback, datatableMakeSelectUnique, datatableIsLastPage, datatableGetColumn, datatableGetColumnIndex } from './datatable/bootstrap-datatable-utils'
window.datatableInitRefreshRows = datatableInitRefreshRows
window.datatableForEachRow = datatableForEachRow
window.datatableIsEmpty = datatableIsEmpty
window.datatableRemoveEmptyRow = datatableRemoveEmptyRow
window.datatableAddEmptyRow = datatableAddEmptyRow
window.datatableGetNumDisplayedItems = datatableGetNumDisplayedItems
window.datatableGetByForm = datatableGetByForm
window.datatableUndoAddRow = datatableUndoAddRow
window.datatableAddButtonCallback = datatableAddButtonCallback
window.datatableAddDeleteButtonCallback = datatableAddDeleteButtonCallback
window.datatableAddActionButtonCallback = datatableAddActionButtonCallback
window.datatableAddFilterButtonCallback = datatableAddFilterButtonCallback
window.datatableAddLinkButtonCallback = datatableAddLinkButtonCallback
window.datatableMakeSelectUnique = datatableMakeSelectUnique
window.datatableIsLastPage = datatableIsLastPage
window.datatableGetColumn = datatableGetColumn
window.datatableGetColumnIndex = datatableGetColumnIndex
import './ebpf-utils'
import modalHandler from './modal/modal-utils'
window.$.fn.modalHandler = modalHandler
import './sequence_sunburst'
import * as ebpfUtils from './ebpf-utils'
window.ebpfUtils = ebpfUtils
import formatterUtils from "./formatter-utils";
window.ntopFormatterUtils = formatterUtils;