@carlonicora/nextjs-jsonapi 1.47.1 → 1.47.2

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-L7RMKAGH.mjs";
50
+ } from "../chunk-3AYMUFM6.mjs";
51
51
  import {
52
52
  getRoleId,
53
53
  getStripePublishableKey
@@ -10925,7 +10925,7 @@ __name(AllowedUsersDetails, "AllowedUsersDetails");
10925
10925
  import dynamic from "next/dynamic";
10926
10926
  import React15 from "react";
10927
10927
  import { jsx as jsx126 } from "react/jsx-runtime";
10928
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-34PX47L4.mjs"), {
10928
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-CZXTJL3R.mjs"), {
10929
10929
  ssr: false
10930
10930
  });
10931
10931
  var BlockNoteEditorContainer = React15.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -12162,7 +12162,9 @@ import { Fragment as Fragment19, jsx as jsx139, jsxs as jsxs80 } from "react/jsx
12162
12162
  var EMPTY_ARRAY = [];
12163
12163
  var ContentListTable = memo(/* @__PURE__ */ __name(function ContentListTable2(props) {
12164
12164
  const { data, fields, checkedIds, toggleId, allowSearch, filters: _filters } = props;
12165
- const [expanded, setExpanded] = useState46({});
12165
+ const [expanded, setExpanded] = useState46(
12166
+ props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
12167
+ );
12166
12168
  const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
12167
12169
  data: data?.data ?? EMPTY_ARRAY,
12168
12170
  fields,
@@ -16883,4 +16885,4 @@ export {
16883
16885
  useOAuthClients,
16884
16886
  useOAuthClient
16885
16887
  };
16886
- //# sourceMappingURL=chunk-L7RMKAGH.mjs.map
16888
+ //# sourceMappingURL=chunk-3AYMUFM6.mjs.map