@tanstack/angular-table-devtools
Version:
Angular devtools for TanStack Table.
12 lines (10 loc) • 807 B
JavaScript
import { TableDevtoolsPanel as TableDevtoolsPanel$1, TableDevtoolsPanelNoOp } from "./TableDevtools.js";
import { tableDevtoolsNoOpPlugin, tableDevtoolsPlugin as tableDevtoolsPlugin$1 } from "./plugin.js";
import { injectTanStackTableDevtools as injectTanStackTableDevtools$1, injectTanStackTableDevtoolsNoOp } from "./injectTanStackTableDevtools.js";
import { isDevMode } from "@angular/core";
//#region src/index.ts
const TableDevtoolsPanel = isDevMode() ? TableDevtoolsPanel$1 : TableDevtoolsPanelNoOp;
const tableDevtoolsPlugin = isDevMode() ? tableDevtoolsPlugin$1 : tableDevtoolsNoOpPlugin;
const injectTanStackTableDevtools = isDevMode() ? injectTanStackTableDevtools$1 : injectTanStackTableDevtoolsNoOp;
//#endregion
export { TableDevtoolsPanel, injectTanStackTableDevtools, tableDevtoolsPlugin };