import { eZ as e, e_ as o, w as s, c_ as r, a4 as t, cv as i, ej as a, e$ as n, f0 as d, f1 as l, f2 as m } from "./index-f50c05c4.js";
import { D as p, l as c, S as j, h as g, g as u, F as f } from "./devextreme-2fa5bb9a.js";
import { useRef as h } from "react";
import { lR as w, lA as b } from "./ant-design-icons-b1480d8d.js";
import "./axios-84bb1c75.js";
import "./redux-devtools-d38e5b33.js";
import "./alasql-0ff6dabf.js";
import "./react-router-a1807b5b.js";
import "./antd-04a23d13.js";
import "react-dom";
import "./dayjs-844325ae.js";
import "./lodash-f1e42446.js";
import "./fontawesome-2445f580.js";
import "./dnd-kit-56a2f36f.js";
import "./styled-components-1e696d6b.js";
import "./numbro-c1edb412.js";
import "./papaparse-1bac8e5f.js";
import "./uuid-82f303b2.js";
import "./supabase-c27c62e3.js";
import "./fetch-a3c8ad94.js";
import "./react-draggable-60f59f09.js";
import "./remark-gfm-f2973785.js";
import "./buffer-d3713d77.js";
import "./rehype-raw-41b6145f.js";
import "./parse5-6476676e.js";
import "./rehype-sanitize-deb53e9a.js";
import "./simplebar-react-e1b123a3.js";
import "./react-best-gradient-color-picker-4dd60dac.js";
import "./ua-parser-js-094f59ba.js";
import "./clsx-469c2c43.js";
import "./loglevel-6fb66d22.js";
import "./crypto-js-d5eac8ba.js";
import "./codemirror-73d8c217.js";
import "./really-relaxed-json-49b6a70d.js";
import "./immer-c0428a8d.js";
import "./redux-saga-5514e228.js";
import "./hotkeys-js-0dddb21a.js";
import "./cnchar-5678e6bc.js";
import "./react-documents-eb6de859.js";
import "./sql-formatter-69e8df59.js";
import "./rc-trigger-5125aafe.js";
import "./react-json-view-9403d8a1.js";
import "./qrcode-react-cb73d2b6.js";
import "./katex-a34f0265.js";
import "./ecogis-maps-bb0d63f9.js";
function y(e2, o2) {
  return m(e2, ["array", "undefined"], o2, (e3, o3) => (m(e3, ["object"], o3), m(e3.ID, ["number", "undefined"], "ID"), m(e3.CompanyName, ["string", "undefined"], "CompanyName"), m(e3.Address, ["string", "undefined"], "Address"), m(e3.City, ["string", "undefined"], "City"), m(e3.State, ["string", "undefined"], "State"), m(e3.Zipcode, ["number", "undefined"], "Zipcode"), m(e3.Phone, ["string", "undefined"], "Phone"), m(e3.Fax, ["string", "undefined"], "Fax"), m(e3.Website, ["string", "undefined"], "Website"), y(e3.children, "children"), e3));
}
const S = { gridData: e(function(e2) {
  return "" === e2 ? [] : y(e2) ?? [];
}, o), visible: s(t, true), enabled: s(t, true), pageIndex: s(i, 0), pageSize: s(i, 10), pagerMode: r(a, "full"), showPageSizeSelector: s(t, true), showInfo: s(t, true), showNavigationButtons: s(t, true), selectionDataGridMode: r(n, "single"), allowSelectAll: s(t, true), showCheckBoxesDataGridMode: r(d, "onCLick"), scrollingsDataGridMode: r(l, "vertical"), scrollByContent: s(t, true) }, x = ({ props: e2, gridBoxValue: o2, dataGridOnSelectionChanged: s2 }) => {
  const r2 = h(null);
  return w(p, { ref: r2, dataSource: e2.gridData, columns: ["CompanyName", "City", "Phone"], hoverStateEnabled: true, showBorders: true, selectedRowKeys: o2, onSelectionChanged: s2, height: "100%", children: [b(c, { mode: e2.selectionDataGridMode, allowSelectAll: e2.allowSelectAll, showCheckBoxesMode: e2.showCheckBoxesDataGridMode }), b(j, { mode: e2.scrollingsDataGridMode, scrollByContent: e2.scrollByContent }), b(g, { visible: e2.enabled, allowedPageSizes: e2.enabled ? "auto" : ["all"], displayMode: e2.pagerMode, showPageSizeSelector: e2.showPageSizeSelector, showInfo: e2.showInfo, showNavigationButtons: e2.showNavigationButtons }), b(u, { defaultPageSize: e2.enabled ? e2.pageSize : void 0, defaultPageIndex: e2.pageIndex }), b(f, { visible: e2.visible })] });
};
export {
  S as dataGridCommonChildren,
  x as default
};
