"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.allowTable = exports.disposePopover = exports.createPopover = exports.Popover = void 0;
const bootstrap_1 = require("bootstrap");
Object.defineProperty(exports, "Popover", { enumerable: true, get: function () { return bootstrap_1.Popover; } });
function createPopover(element, options) {
    return new bootstrap_1.Popover(element, options);
}
exports.createPopover = createPopover;
function disposePopover(el) {
    return el.dispose();
}
exports.disposePopover = disposePopover;
function allowTable() {
    bootstrap_1.Popover.Default.allowList.table = [];
    bootstrap_1.Popover.Default.allowList.tr = [];
    bootstrap_1.Popover.Default.allowList.td = [];
    bootstrap_1.Popover.Default.allowList.th = [];
    bootstrap_1.Popover.Default.allowList.tbody = [];
    bootstrap_1.Popover.Default.allowList.thead = [];
}
exports.allowTable = allowTable;
