import { jsx as t } from "react/jsx-runtime";
import { useLoadJsxFiles as s } from "./hooks/useLoadFiles.js";
import { Q as x } from "./useQuery-n4ls1rLk.js";
import { J as n, F as g } from "./index-ec7CVlTE.js";
import { P as a, a as l } from "./PdfViewer-tzZO2boW.js";
import c from "./components/Buttons/index.js";
import v from "./components/Card/index.js";
import { AppFormProvider as h } from "./components/FormProvider.js";
import { ImpuestoPredial as u } from "./components/Forms/ImpuestoPredial.js";
import { I as f } from "./index-OHO5PlsB.js";
import d from "./components/Layouts.js";
import { ActivitiesCards as j } from "./composables/govco/CardActivities.js";
import { Modal as C } from "./composables/Modal.js";
import { FeatureComponents as y } from "./feature/index.js";
import { GeneralStoreProvider as I, useGeneralForm as e } from "./context/generalContext/index.js";
import { staticOptions as V } from "./config/index.js";
import { Q as J } from "./index-5sPke2Og.js";
import "react";
import "./index.esm--ZdnNCdl.js";
import "./_commonjsHelpers-2ufMB8rV.js";
import "./index.esm-BQxOvVZs.js";
import "./components/AlertDialog/index.js";
import "react-dom";
import "./components/Icons.js";
import "./utils/functions.js";
import "./clsx-7d8NmkQq.js";
import "./utils/components/RenderIf.js";
import "./components/AlertDialog/variants.js";
import "./index-xVF7D3FM.js";
import "./components/Maps/index.js";
import "./hooks/useDeepCompareEffect.js";
import "./components/Inputs/InputFileSimple.js";
import "./hooks/useUploadFiles.js";
import "./axios-f2q_J-wz.js";
import "./components/Inputs/CircleProgressLoading.js";
import "./index-JtU1DT1I.js";
import "./index-XF2mSoW7.js";
import "./components/Table/context/index.js";
import "./context/index.js";
import "./style.module-m7wnmRz9.js";
import "./components/Buttons/variants.js";
import "./components/Card/variants.js";
import "./feature/govco/FormModal.js";
import "./feature/RenderFeatureComponents.js";
import "./dayjs.min-KYonM6tp.js";
import "./utils/components/RenderEach.js";
import "./components/Inputs/variants.js";
import "./motion-dVICNqWI.js";
import "./SVGVisualElement-aqO4D4Z5.js";
import "./LayoutGroupContext-3euHzeKi.js";
import "./hooks/useHasNextSiblingByAttribute.js";
import "./hooks/useAnimatePresence.js";
import "./use-unmount-effect-Wy5iLAex.js";
import "./index-T7wQHOux.js";
import "./feature/govco/ActivityModal.js";
import "./feature/SelectMunicipality.js";
import "./components/Table/components/Basic.js";
import "./components/Table/utils/useTableInfoRest.js";
import "./components/Table/components/Elements.js";
import "./components/Table/components/TdComponents/WrapperTableTdComponents.js";
import "./components/Table/components/variants.js";
import "./components/Table/components/Filters.js";
import "./hooks/useClickOutside.js";
import "./components/Table/context/useCases.js";
import "./components/Table/hooks/usePaginationSelector.js";
import "./components/Table/hooks/useHandleInputWithTimer.js";
import "./components/Table/components/TableStatesComponents.js";
import "./components/Table/components/HeaderComponents/QuickSearch.js";
import "./composables/FunctionalComponents.js";
import "./hooks/useDebounce.js";
const To = ({
  config: r,
  queryConfig: m,
  formString: i,
  submitCallback: o = (p) => {
    console.log("data", p);
  },
  cancelCallback: F,
  formSchema: b,
  imageBaseURL: P
}) => {
  const p = new J(m);
  return console.log("Ver 0.7"), /* @__PURE__ */ t(x, { client: p, children: /* @__PURE__ */ t(
    I,
    {
      defaultValue: { mainConfig: r, formString: i, submitCallback: o, cancelCallback: F, formSchema: b, imageBaseURL: P },
      children: /* @__PURE__ */ t(Q, {})
    }
  ) });
}, A = () => {
  const { jsx: r } = s();
  return console.log("Ver 0.0.27"), //@ts-ignore
  /* @__PURE__ */ t(
    n,
    {
      bindings: { age: 2023, staticOptions: V },
      components: { FormInput: g, Layouts: d, Buttons: c, Card: v, ActivitiesCards: j, FeatureComponents: y, ImpuestoPredial: u, InputCs3: f, Modal: C, PdfViewer: a, Page: l },
      jsx: r
    }
  );
}, Q = () => {
  const { validationScheme: r } = s(), [m] = e((o) => o.submitCallback), [i] = e((o) => o.cancelCallback);
  return (
    //@ts-ignore
    /* @__PURE__ */ t(
      n,
      {
        bindings: {
          submit: (o) => {
            m && m(o);
          },
          schema: r,
          cancelCallback: i
        },
        components: { AppFormProvider: h, Inputs: A, Buttons: c, Layouts: d, ImpuestoPredial: u, InputCs3: f, Modal: C, PdfViewer: a, Page: l },
        jsx: `
          <>
            <AppFormProvider defaultValue={initialValues} className="_py-[8px]" submit={submit} schema={schema}>
              <Inputs/>
            </AppFormProvider>
          </>
          `
      }
    )
  );
};
export {
  A as FormJsonContent,
  Q as FormJsonMainLayout,
  To as Formjson
};
