@carlonicora/nextjs-jsonapi 3.7.0 → 3.8.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-WKLA5WEG.js → BlockNoteEditor-55FMZZOR.js} +9 -9
- package/dist/{BlockNoteEditor-WKLA5WEG.js.map → BlockNoteEditor-55FMZZOR.js.map} +1 -1
- package/dist/{BlockNoteEditor-FOMCB6IB.mjs → BlockNoteEditor-KXONPDJR.mjs} +2 -2
- package/dist/billing/index.js +333 -333
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-D5KFWA2H.js → chunk-SJ3EW2FD.js} +5 -4
- package/dist/chunk-SJ3EW2FD.js.map +1 -0
- package/dist/{chunk-WBXZGSRA.mjs → chunk-YOYYVEEY.mjs} +5 -4
- package/dist/chunk-YOYYVEEY.mjs.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +6 -0
- package/dist/components/index.d.ts +6 -0
- 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 +7 -1
- package/src/components/tables/__tests__/ContentListTable.spec.tsx +62 -0
- package/src/hooks/__tests__/usePushNotifications.spec.tsx +70 -0
- package/src/hooks/usePushNotifications.ts +6 -1
- package/dist/chunk-D5KFWA2H.js.map +0 -1
- package/dist/chunk-WBXZGSRA.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-FOMCB6IB.mjs.map → BlockNoteEditor-KXONPDJR.mjs.map} +0 -0
|
@@ -10343,7 +10343,7 @@ import { useRef as useRef17 } from "react";
|
|
|
10343
10343
|
import dynamic from "next/dynamic";
|
|
10344
10344
|
import React18 from "react";
|
|
10345
10345
|
import { jsx as jsx89 } from "react/jsx-runtime";
|
|
10346
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
10346
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-KXONPDJR.mjs"), {
|
|
10347
10347
|
ssr: false
|
|
10348
10348
|
});
|
|
10349
10349
|
var BlockNoteEditorContainer = React18.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -14623,7 +14623,8 @@ function usePushNotifications() {
|
|
|
14623
14623
|
try {
|
|
14624
14624
|
const sessionKey = `push_registered_${currentUser?.id}`;
|
|
14625
14625
|
const lastRegisteredSubscription = sessionStorage.getItem(sessionKey);
|
|
14626
|
-
const
|
|
14626
|
+
const swUrl = ENV.IS_PRODUCTION ? `${getAppUrl()}/sw.js` : `${getAppUrl()}/sw-dev.js`;
|
|
14627
|
+
const registration = await navigator.serviceWorker.register(swUrl);
|
|
14627
14628
|
let permission = Notification.permission;
|
|
14628
14629
|
if (permission === "default") {
|
|
14629
14630
|
permission = await Notification.requestPermission();
|
|
@@ -17411,7 +17412,7 @@ var ContentListTable = memo(/* @__PURE__ */ __name(function ContentListTable2(pr
|
|
|
17411
17412
|
rows: groupMap.get(groupKey)
|
|
17412
17413
|
}));
|
|
17413
17414
|
}, [props.groupBy, props.groupOrder, rowModel]);
|
|
17414
|
-
const showFooter = !!(data.next || data.previous);
|
|
17415
|
+
const showFooter = !props.hidePagination && !!(data.next || data.previous);
|
|
17415
17416
|
const titleIsLarge = (props.titleSize ?? (fullWidth ? `lg` : `sm`)) === `lg`;
|
|
17416
17417
|
return /* @__PURE__ */ jsx187("div", { className: "flex w-full flex-col", children: /* @__PURE__ */ jsx187("div", { className: cn(`overflow-clip`, fullWidth ? `` : `rounded-md border`), children: /* @__PURE__ */ jsxs103(Table, { children: [
|
|
17417
17418
|
/* @__PURE__ */ jsxs103(TableHeader, { className: "bg-muted font-semibold", children: [
|
|
@@ -25648,4 +25649,4 @@ export {
|
|
|
25648
25649
|
useOAuthClients,
|
|
25649
25650
|
useOAuthClient
|
|
25650
25651
|
};
|
|
25651
|
-
//# sourceMappingURL=chunk-
|
|
25652
|
+
//# sourceMappingURL=chunk-YOYYVEEY.mjs.map
|