@carlonicora/nextjs-jsonapi 3.20.0 → 3.20.1
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.
- package/dist/{BlockNoteEditor-2WFPGK64.js → BlockNoteEditor-2M2M7MT4.js} +9 -9
- package/dist/{BlockNoteEditor-2WFPGK64.js.map → BlockNoteEditor-2M2M7MT4.js.map} +1 -1
- package/dist/{BlockNoteEditor-CTRQ6JWE.mjs → BlockNoteEditor-FKYWM4NJ.mjs} +2 -2
- package/dist/billing/index.js +335 -335
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-CJHBL5AN.mjs → chunk-HP3SPOPP.mjs} +16 -4
- package/dist/{chunk-CJHBL5AN.mjs.map → chunk-HP3SPOPP.mjs.map} +1 -1
- package/dist/{chunk-IQMJAYCJ.js → chunk-XMYHR2EF.js} +116 -104
- package/dist/chunk-XMYHR2EF.js.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/contexts/index.js +2 -2
- package/dist/contexts/index.mjs +1 -1
- package/dist/features/help/index.js +31 -31
- package/dist/features/help/index.mjs +1 -1
- package/dist/features/tokenusage/index.js +75 -75
- package/dist/features/tokenusage/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/tables/ContentListTable.tsx +32 -2
- package/dist/chunk-IQMJAYCJ.js.map +0 -1
- /package/dist/{BlockNoteEditor-CTRQ6JWE.mjs.map → BlockNoteEditor-FKYWM4NJ.mjs.map} +0 -0
package/dist/billing/index.mjs
CHANGED
|
@@ -10393,7 +10393,7 @@ import { useRef as useRef17 } from "react";
|
|
|
10393
10393
|
import dynamic from "next/dynamic";
|
|
10394
10394
|
import React18 from "react";
|
|
10395
10395
|
import { jsx as jsx90 } from "react/jsx-runtime";
|
|
10396
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
10396
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-FKYWM4NJ.mjs"), {
|
|
10397
10397
|
ssr: false
|
|
10398
10398
|
});
|
|
10399
10399
|
var BlockNoteEditorContainer = React18.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -17661,6 +17661,18 @@ function getGroupKeys(item, field) {
|
|
|
17661
17661
|
return [String(value ?? "")];
|
|
17662
17662
|
}
|
|
17663
17663
|
__name(getGroupKeys, "getGroupKeys");
|
|
17664
|
+
var isClassComponent = /* @__PURE__ */ __name((component) => typeof component === "function" && !!component.prototype?.isReactComponent, "isClassComponent");
|
|
17665
|
+
function StableCell({ render, context }) {
|
|
17666
|
+
return /* @__PURE__ */ jsx191(Fragment28, { children: render(context) });
|
|
17667
|
+
}
|
|
17668
|
+
__name(StableCell, "StableCell");
|
|
17669
|
+
function renderCell(cellDef, context) {
|
|
17670
|
+
if (typeof cellDef === "function" && !isClassComponent(cellDef)) {
|
|
17671
|
+
return /* @__PURE__ */ jsx191(StableCell, { render: cellDef, context });
|
|
17672
|
+
}
|
|
17673
|
+
return flexRender(cellDef, context);
|
|
17674
|
+
}
|
|
17675
|
+
__name(renderCell, "renderCell");
|
|
17664
17676
|
var ContentListTable = memo(/* @__PURE__ */ __name(function ContentListTable2(props) {
|
|
17665
17677
|
const { data, fields, checkedIds, toggleId, allowSearch, filters: _filters, fullWidth, onRowClick } = props;
|
|
17666
17678
|
const t = useTranslations61();
|
|
@@ -17786,7 +17798,7 @@ var ContentListTable = memo(/* @__PURE__ */ __name(function ContentListTable2(pr
|
|
|
17786
17798
|
className: `group ${onRowClick ? "hover:bg-muted/50 cursor-pointer" : ""}`,
|
|
17787
17799
|
children: row.getVisibleCells().map((cell) => {
|
|
17788
17800
|
const meta = cell.column.columnDef.meta;
|
|
17789
|
-
return /* @__PURE__ */ jsx191(TableCell, { className: meta?.className, children:
|
|
17801
|
+
return /* @__PURE__ */ jsx191(TableCell, { className: meta?.className, children: renderCell(cell.column.columnDef.cell, cell.getContext()) }, cell.id);
|
|
17790
17802
|
})
|
|
17791
17803
|
},
|
|
17792
17804
|
row.id
|
|
@@ -17798,7 +17810,7 @@ var ContentListTable = memo(/* @__PURE__ */ __name(function ContentListTable2(pr
|
|
|
17798
17810
|
className: `group ${onRowClick ? "hover:bg-muted/50 cursor-pointer" : ""}`,
|
|
17799
17811
|
children: row.getVisibleCells().map((cell) => {
|
|
17800
17812
|
const meta = cell.column.columnDef.meta;
|
|
17801
|
-
return /* @__PURE__ */ jsx191(TableCell, { className: meta?.className, children:
|
|
17813
|
+
return /* @__PURE__ */ jsx191(TableCell, { className: meta?.className, children: renderCell(cell.column.columnDef.cell, cell.getContext()) }, cell.id);
|
|
17802
17814
|
})
|
|
17803
17815
|
},
|
|
17804
17816
|
row.id
|
|
@@ -27247,4 +27259,4 @@ export {
|
|
|
27247
27259
|
useOAuthClients,
|
|
27248
27260
|
useOAuthClient
|
|
27249
27261
|
};
|
|
27250
|
-
//# sourceMappingURL=chunk-
|
|
27262
|
+
//# sourceMappingURL=chunk-HP3SPOPP.mjs.map
|