@carlonicora/nextjs-jsonapi 1.71.0 → 1.73.0
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-NFMUHBKE.js → BlockNoteEditor-ETTYTXDX.js} +14 -14
- package/dist/{BlockNoteEditor-NFMUHBKE.js.map → BlockNoteEditor-ETTYTXDX.js.map} +1 -1
- package/dist/{BlockNoteEditor-JWTEY33V.mjs → BlockNoteEditor-MZ6G4XN4.mjs} +4 -4
- package/dist/billing/index.js +346 -346
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-6ROMPIIP.js → chunk-5QTDS6V7.js} +11 -11
- package/dist/{chunk-6ROMPIIP.js.map → chunk-5QTDS6V7.js.map} +1 -1
- package/dist/{chunk-RSMG3K44.mjs → chunk-6O3YOOQM.mjs} +9 -7
- package/dist/chunk-6O3YOOQM.mjs.map +1 -0
- package/dist/{chunk-GZNHBAZF.mjs → chunk-73ANSE3J.mjs} +14 -1
- package/dist/chunk-73ANSE3J.mjs.map +1 -0
- package/dist/{chunk-WJYWWOTG.mjs → chunk-HP6AJBWE.mjs} +2 -2
- package/dist/{chunk-WBYS53RC.js → chunk-OPUWDWFH.js} +654 -652
- package/dist/chunk-OPUWDWFH.js.map +1 -0
- package/dist/{chunk-56VU7A4I.js → chunk-QLICTZL7.js} +14 -1
- package/dist/chunk-QLICTZL7.js.map +1 -0
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.d.mts +3 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +3 -3
- package/dist/contexts/index.d.mts +2 -0
- package/dist/contexts/index.d.ts +2 -0
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.d.mts +2 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/containers/RoundPageContainerTitle.tsx +1 -1
- package/src/components/forms/EditorSheet.tsx +12 -6
- package/src/contexts/SharedContext.tsx +2 -0
- package/src/core/registry/ModuleRegistry.ts +17 -0
- package/dist/chunk-56VU7A4I.js.map +0 -1
- package/dist/chunk-GZNHBAZF.mjs.map +0 -1
- package/dist/chunk-RSMG3K44.mjs.map +0 -1
- package/dist/chunk-WBYS53RC.js.map +0 -1
- /package/dist/{BlockNoteEditor-JWTEY33V.mjs.map → BlockNoteEditor-MZ6G4XN4.mjs.map} +0 -0
- /package/dist/{chunk-WJYWWOTG.mjs.map → chunk-HP6AJBWE.mjs.map} +0 -0
|
@@ -982,6 +982,16 @@ var ModuleRegistryClass = class {
|
|
|
982
982
|
}
|
|
983
983
|
return module;
|
|
984
984
|
}
|
|
985
|
+
findByFeature(feature) {
|
|
986
|
+
const response = [];
|
|
987
|
+
for (const module of this._modules.values()) {
|
|
988
|
+
const m = module;
|
|
989
|
+
if (m.feature === feature) {
|
|
990
|
+
response.push(m);
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
return response;
|
|
994
|
+
}
|
|
985
995
|
};
|
|
986
996
|
var ModuleRegistry = new ModuleRegistryClass();
|
|
987
997
|
var Modules = new Proxy({}, {
|
|
@@ -992,6 +1002,9 @@ var Modules = new Proxy({}, {
|
|
|
992
1002
|
if (prop === "findByModelName") {
|
|
993
1003
|
return (name) => ModuleRegistry.findByModelName(name);
|
|
994
1004
|
}
|
|
1005
|
+
if (prop === "findByFeature") {
|
|
1006
|
+
return (feature) => ModuleRegistry.findByFeature(feature);
|
|
1007
|
+
}
|
|
995
1008
|
return ModuleRegistry.get(prop);
|
|
996
1009
|
}
|
|
997
1010
|
});
|
|
@@ -7142,4 +7155,4 @@ export {
|
|
|
7142
7155
|
AuditLogService,
|
|
7143
7156
|
AuditLogModule
|
|
7144
7157
|
};
|
|
7145
|
-
//# sourceMappingURL=chunk-
|
|
7158
|
+
//# sourceMappingURL=chunk-73ANSE3J.mjs.map
|