@carlonicora/nextjs-jsonapi 1.58.3 → 1.58.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -47,7 +47,7 @@ import {
47
47
  TabsList,
48
48
  TabsTrigger,
49
49
  useCurrentUserContext
50
- } from "../chunk-EA3LXVPR.mjs";
50
+ } from "../chunk-4VBDFVKU.mjs";
51
51
  import {
52
52
  getRoleId,
53
53
  getStripePublishableKey
@@ -8368,7 +8368,7 @@ __name(FormCheckbox, "FormCheckbox");
8368
8368
  import dynamic from "next/dynamic";
8369
8369
  import React14 from "react";
8370
8370
  import { jsx as jsx69 } from "react/jsx-runtime";
8371
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-N4ZQEQKQ.mjs"), {
8371
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-X2JDR4RJ.mjs"), {
8372
8372
  ssr: false
8373
8373
  });
8374
8374
  var BlockNoteEditorContainer = React14.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -8751,7 +8751,7 @@ function FormInput({
8751
8751
  const value = e.target.value.replace(/[^0-9]/g, "");
8752
8752
  field.onChange(+value);
8753
8753
  if (onChange) onChange(+value);
8754
- } else if (type === "currency") {
8754
+ } else if (type === "currency" || type === "decimal") {
8755
8755
  let value = e.target.value.replace(/[^0-9.,]/g, "");
8756
8756
  const firstSep = value.search(/[.,]/);
8757
8757
  if (firstSep !== -1) {
@@ -8771,8 +8771,8 @@ function FormInput({
8771
8771
  ...field,
8772
8772
  autoFocus: autoFocus === true,
8773
8773
  type: type === "password" ? "password" : "text",
8774
- inputMode: type === "number" || type === "currency" ? "decimal" : void 0,
8775
- className: `w-full ${type === "number" || type === "currency" ? "text-end" : ""}`,
8774
+ inputMode: type === "number" || type === "currency" || type === "decimal" ? "decimal" : void 0,
8775
+ className: `w-full ${type === "number" || type === "currency" || type === "decimal" ? "text-end" : ""}`,
8776
8776
  disabled: disabled === true || form.formState.isSubmitting,
8777
8777
  placeholder: placeholder || "",
8778
8778
  onBlur: handleBlur,
@@ -18806,4 +18806,4 @@ export {
18806
18806
  useOAuthClients,
18807
18807
  useOAuthClient
18808
18808
  };
18809
- //# sourceMappingURL=chunk-EA3LXVPR.mjs.map
18809
+ //# sourceMappingURL=chunk-4VBDFVKU.mjs.map