@carlonicora/nextjs-jsonapi 1.9.1 → 1.11.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.
Files changed (48) hide show
  1. package/dist/{BlockNoteEditor-TF7MR7IP.mjs → BlockNoteEditor-2GCDAIKS.mjs} +5 -5
  2. package/dist/{BlockNoteEditor-PX5RPSZR.js → BlockNoteEditor-PQTIP7BM.js} +15 -15
  3. package/dist/{BlockNoteEditor-PX5RPSZR.js.map → BlockNoteEditor-PQTIP7BM.js.map} +1 -1
  4. package/dist/JsonApiRequest-FXZCYIER.js +24 -0
  5. package/dist/{JsonApiRequest-FZAFAES3.js.map → JsonApiRequest-FXZCYIER.js.map} +1 -1
  6. package/dist/{JsonApiRequest-ARXYJ2AG.mjs → JsonApiRequest-HFWXMKMA.mjs} +2 -2
  7. package/dist/{chunk-I7OQ5WKX.js → chunk-6YD42BP6.js} +3 -3
  8. package/dist/{chunk-I7OQ5WKX.js.map → chunk-6YD42BP6.js.map} +1 -1
  9. package/dist/{chunk-LPBABDEP.js → chunk-AE3J2MAT.js} +45 -38
  10. package/dist/chunk-AE3J2MAT.js.map +1 -0
  11. package/dist/{chunk-PFBYNJ2R.js → chunk-AHEG4IYG.js} +422 -406
  12. package/dist/chunk-AHEG4IYG.js.map +1 -0
  13. package/dist/{chunk-UVXEP2ED.js → chunk-FPZPD4JI.js} +37 -12
  14. package/dist/chunk-FPZPD4JI.js.map +1 -0
  15. package/dist/{chunk-33UYFFIK.mjs → chunk-SJIVGCNM.mjs} +2 -2
  16. package/dist/{chunk-CHNXYTKO.mjs → chunk-TGBXBUWM.mjs} +37 -12
  17. package/dist/chunk-TGBXBUWM.mjs.map +1 -0
  18. package/dist/{chunk-MOVONDSX.mjs → chunk-UJY3EIUK.mjs} +12 -5
  19. package/dist/chunk-UJY3EIUK.mjs.map +1 -0
  20. package/dist/{chunk-AEZWDB5X.mjs → chunk-VSB546UN.mjs} +33 -17
  21. package/dist/{chunk-AEZWDB5X.mjs.map → chunk-VSB546UN.mjs.map} +1 -1
  22. package/dist/client/index.js +5 -5
  23. package/dist/client/index.mjs +4 -4
  24. package/dist/components/index.js +5 -5
  25. package/dist/components/index.mjs +4 -4
  26. package/dist/contexts/index.js +5 -5
  27. package/dist/contexts/index.mjs +4 -4
  28. package/dist/core/index.d.mts +6 -1
  29. package/dist/core/index.d.ts +6 -1
  30. package/dist/core/index.js +3 -3
  31. package/dist/core/index.mjs +2 -2
  32. package/dist/index.js +4 -4
  33. package/dist/index.mjs +3 -3
  34. package/dist/server/index.js +12 -12
  35. package/dist/server/index.mjs +2 -2
  36. package/package.json +1 -1
  37. package/src/components/pages/PageContentContainer.tsx +22 -9
  38. package/src/core/registry/ModuleRegistry.ts +16 -1
  39. package/src/core/registry/bootstrapStore.ts +51 -11
  40. package/dist/JsonApiRequest-FZAFAES3.js +0 -24
  41. package/dist/chunk-CHNXYTKO.mjs.map +0 -1
  42. package/dist/chunk-LPBABDEP.js.map +0 -1
  43. package/dist/chunk-MOVONDSX.mjs.map +0 -1
  44. package/dist/chunk-PFBYNJ2R.js.map +0 -1
  45. package/dist/chunk-UVXEP2ED.js.map +0 -1
  46. /package/dist/{BlockNoteEditor-TF7MR7IP.mjs.map → BlockNoteEditor-2GCDAIKS.mjs.map} +0 -0
  47. /package/dist/{JsonApiRequest-ARXYJ2AG.mjs.map → JsonApiRequest-HFWXMKMA.mjs.map} +0 -0
  48. /package/dist/{chunk-33UYFFIK.mjs.map → chunk-SJIVGCNM.mjs.map} +0 -0
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2; var _class3; var _class4; var _class5;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2; var _class3; var _class4;
2
2
 
3
3
  var _chunkIBS6NI7Djs = require('./chunk-IBS6NI7D.js');
4
4
 
@@ -11,7 +11,7 @@ var _chunkIBS6NI7Djs = require('./chunk-IBS6NI7D.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkUVXEP2EDjs = require('./chunk-UVXEP2ED.js');
14
+ var _chunkFPZPD4JIjs = require('./chunk-FPZPD4JI.js');
15
15
 
16
16
 
17
17
  var _chunkLXKSUWAVjs = require('./chunk-LXKSUWAV.js');
@@ -25,12 +25,12 @@ var RehydrationFactory = class {
25
25
  _chunk7QVYU63Ejs.__name.call(void 0, this, "RehydrationFactory");
26
26
  }
27
27
  static rehydrate(classKey, data) {
28
- const factoryClass = _chunkUVXEP2EDjs.DataClassRegistry.get(classKey);
28
+ const factoryClass = _chunkFPZPD4JIjs.DataClassRegistry.get(classKey);
29
29
  const instance = new factoryClass();
30
30
  return instance.rehydrate(data);
31
31
  }
32
32
  static rehydrateList(classKey, data) {
33
- const factoryClass = _chunkUVXEP2EDjs.DataClassRegistry.get(classKey);
33
+ const factoryClass = _chunkFPZPD4JIjs.DataClassRegistry.get(classKey);
34
34
  const response = data.map((item) => {
35
35
  const instance = new factoryClass();
36
36
  return instance.rehydrate(item);
@@ -227,7 +227,7 @@ var AbstractService = class {
227
227
  * Make an API call with automatic environment detection and error handling.
228
228
  */
229
229
  static async callApi(params) {
230
- const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-FZAFAES3.js")));
230
+ const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-FXZCYIER.js")));
231
231
  let apiResponse;
232
232
  let language = "en";
233
233
  if (typeof window === "undefined") {
@@ -312,7 +312,7 @@ var AbstractService = class {
312
312
  * Get raw JSON:API response data without deserialization.
313
313
  */
314
314
  static async getRawData(params) {
315
- const { JsonApiGet: JsonApiGet2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-FZAFAES3.js")));
315
+ const { JsonApiGet: JsonApiGet2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-FXZCYIER.js")));
316
316
  let language = "en";
317
317
  if (typeof window === "undefined") {
318
318
  const { getLocale } = await Promise.resolve().then(() => _interopRequireWildcard(require("next-intl/server")));
@@ -346,7 +346,7 @@ var _clientConfig = null;
346
346
  function configureClientJsonApi(config) {
347
347
  _clientConfig = config;
348
348
  if (config.bootstrapper) {
349
- _chunkUVXEP2EDjs.setBootstrapper.call(void 0, config.bootstrapper);
349
+ _chunkFPZPD4JIjs.setBootstrapper.call(void 0, config.bootstrapper);
350
350
  config.bootstrapper();
351
351
  }
352
352
  }
@@ -403,7 +403,7 @@ async function ClientJsonApiGet(params) {
403
403
  language: params.language,
404
404
  additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _19 => _19.additionalHeaders])
405
405
  });
406
- return _chunkUVXEP2EDjs.translateResponse.call(void 0, {
406
+ return _chunkFPZPD4JIjs.translateResponse.call(void 0, {
407
407
  classKey: params.classKey,
408
408
  apiResponse,
409
409
  companyId: params.companyId,
@@ -424,7 +424,7 @@ async function ClientJsonApiPost(params) {
424
424
  if (!body) {
425
425
  body = {};
426
426
  } else if (params.overridesJsonApiCreation !== true) {
427
- body = _chunkUVXEP2EDjs.JsonApiDataFactory.create(params.classKey, body);
427
+ body = _chunkFPZPD4JIjs.JsonApiDataFactory.create(params.classKey, body);
428
428
  }
429
429
  const apiResponse = await _chunkIBS6NI7Djs.directFetch.call(void 0, {
430
430
  method: "POST",
@@ -436,7 +436,7 @@ async function ClientJsonApiPost(params) {
436
436
  language: params.language,
437
437
  additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _20 => _20.additionalHeaders])
438
438
  });
439
- return _chunkUVXEP2EDjs.translateResponse.call(void 0, {
439
+ return _chunkFPZPD4JIjs.translateResponse.call(void 0, {
440
440
  classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
441
441
  apiResponse,
442
442
  companyId: params.companyId,
@@ -451,7 +451,7 @@ async function ClientJsonApiPut(params) {
451
451
  if (!body) {
452
452
  body = {};
453
453
  } else {
454
- body = _chunkUVXEP2EDjs.JsonApiDataFactory.create(params.classKey, body);
454
+ body = _chunkFPZPD4JIjs.JsonApiDataFactory.create(params.classKey, body);
455
455
  }
456
456
  const apiResponse = await _chunkIBS6NI7Djs.directFetch.call(void 0, {
457
457
  method: "PUT",
@@ -463,7 +463,7 @@ async function ClientJsonApiPut(params) {
463
463
  language: params.language,
464
464
  additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _21 => _21.additionalHeaders])
465
465
  });
466
- return _chunkUVXEP2EDjs.translateResponse.call(void 0, {
466
+ return _chunkFPZPD4JIjs.translateResponse.call(void 0, {
467
467
  classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
468
468
  apiResponse,
469
469
  companyId: params.companyId,
@@ -478,7 +478,7 @@ async function ClientJsonApiPatch(params) {
478
478
  if (!body) {
479
479
  body = {};
480
480
  } else if (params.overridesJsonApiCreation !== true) {
481
- body = _chunkUVXEP2EDjs.JsonApiDataFactory.create(params.classKey, body);
481
+ body = _chunkFPZPD4JIjs.JsonApiDataFactory.create(params.classKey, body);
482
482
  }
483
483
  const apiResponse = await _chunkIBS6NI7Djs.directFetch.call(void 0, {
484
484
  method: "PATCH",
@@ -490,7 +490,7 @@ async function ClientJsonApiPatch(params) {
490
490
  language: params.language,
491
491
  additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _22 => _22.additionalHeaders])
492
492
  });
493
- return _chunkUVXEP2EDjs.translateResponse.call(void 0, {
493
+ return _chunkFPZPD4JIjs.translateResponse.call(void 0, {
494
494
  classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
495
495
  apiResponse,
496
496
  companyId: params.companyId,
@@ -509,7 +509,7 @@ async function ClientJsonApiDelete(params) {
509
509
  language: params.language,
510
510
  additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _23 => _23.additionalHeaders])
511
511
  });
512
- return _chunkUVXEP2EDjs.translateResponse.call(void 0, {
512
+ return _chunkFPZPD4JIjs.translateResponse.call(void 0, {
513
513
  classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
514
514
  apiResponse,
515
515
  companyId: params.companyId,
@@ -711,7 +711,7 @@ var ModuleRegistrar = (_class = class {
711
711
  }).map((key) => modulesClass[key]);
712
712
  data.forEach((item) => {
713
713
  if (item && item.model) {
714
- _chunkUVXEP2EDjs.DataClassRegistry.registerObjectClass(item, item.model);
714
+ _chunkFPZPD4JIjs.DataClassRegistry.registerObjectClass(item, item.model);
715
715
  }
716
716
  });
717
717
  this._isBootstrapped = true;
@@ -721,36 +721,43 @@ var ModuleRegistrar = (_class = class {
721
721
  */
722
722
  static reset() {
723
723
  this._isBootstrapped = false;
724
- _chunkUVXEP2EDjs.DataClassRegistry.clear();
724
+ _chunkFPZPD4JIjs.DataClassRegistry.clear();
725
725
  }
726
726
  }, _class.__initStatic(), _class);
727
727
 
728
728
  // src/core/registry/ModuleRegistry.ts
729
- var ModuleRegistryClass = (_class2 = class {constructor() { _class2.prototype.__init.call(this); }
729
+ var MODULES_KEY = /* @__PURE__ */ Symbol.for("nextjs-jsonapi:modules");
730
+ var globalStore = globalThis;
731
+ if (!globalStore[MODULES_KEY]) {
732
+ globalStore[MODULES_KEY] = /* @__PURE__ */ new Map();
733
+ }
734
+ var ModuleRegistryClass = class {
730
735
  static {
731
736
  _chunk7QVYU63Ejs.__name.call(void 0, this, "ModuleRegistryClass");
732
737
  }
733
- __init() {this._modules = /* @__PURE__ */ new Map()}
738
+ get _modules() {
739
+ return globalStore[MODULES_KEY];
740
+ }
734
741
  register(name, module) {
735
742
  this._modules.set(name, module);
736
743
  }
737
744
  get(name) {
738
745
  let module = this._modules.get(name);
739
746
  if (!module) {
740
- const didBootstrap = _chunkUVXEP2EDjs.tryBootstrap.call(void 0, );
747
+ const didBootstrap = _chunkFPZPD4JIjs.tryBootstrap.call(void 0, );
741
748
  if (didBootstrap) {
742
749
  module = this._modules.get(name);
743
750
  }
744
751
  }
745
752
  if (!module) {
746
- const hint = _chunkUVXEP2EDjs.hasBootstrapper.call(void 0, ) ? "Bootstrap was called but module still not found. Check module registration." : "No bootstrapper registered. Ensure configureJsonApi({ bootstrapper }) is called before accessing modules.";
753
+ const hint = _chunkFPZPD4JIjs.hasBootstrapper.call(void 0, ) ? "Bootstrap was called but module still not found. Check module registration." : "No bootstrapper registered. Ensure configureJsonApi({ bootstrapper }) is called before accessing modules.";
747
754
  throw new Error(`Module "${String(name)}" not registered. ${hint}`);
748
755
  }
749
756
  return module;
750
757
  }
751
758
  findByName(moduleName) {
752
759
  if (this._modules.size === 0) {
753
- _chunkUVXEP2EDjs.tryBootstrap.call(void 0, );
760
+ _chunkFPZPD4JIjs.tryBootstrap.call(void 0, );
754
761
  }
755
762
  for (const module of this._modules.values()) {
756
763
  if (module.name === moduleName) {
@@ -762,7 +769,7 @@ var ModuleRegistryClass = (_class2 = class {constructor() { _class2.prototype.__
762
769
  findByModelName(modelName) {
763
770
  let module = this._modules.get(modelName);
764
771
  if (!module) {
765
- const didBootstrap = _chunkUVXEP2EDjs.tryBootstrap.call(void 0, );
772
+ const didBootstrap = _chunkFPZPD4JIjs.tryBootstrap.call(void 0, );
766
773
  if (didBootstrap) {
767
774
  module = this._modules.get(modelName);
768
775
  }
@@ -772,7 +779,7 @@ var ModuleRegistryClass = (_class2 = class {constructor() { _class2.prototype.__
772
779
  }
773
780
  return module;
774
781
  }
775
- }, _class2);
782
+ };
776
783
  var ModuleRegistry = new ModuleRegistryClass();
777
784
  var Modules = new Proxy({}, {
778
785
  get(_, prop) {
@@ -1044,7 +1051,7 @@ var entityObjectSchema = _zod.z.object({
1044
1051
  });
1045
1052
 
1046
1053
  // src/utils/blocknote-diff.util.ts
1047
- var BlockNoteDiffUtil = (_class3 = class {
1054
+ var BlockNoteDiffUtil = (_class2 = class {
1048
1055
  static {
1049
1056
  _chunk7QVYU63Ejs.__name.call(void 0, this, "BlockNoteDiffUtil");
1050
1057
  }
@@ -1617,7 +1624,7 @@ var BlockNoteDiffUtil = (_class3 = class {
1617
1624
  const similarity = 1 - distance / maxLen;
1618
1625
  return similarity > 0.7;
1619
1626
  }
1620
- }, _class3.__initStatic2(), _class3);
1627
+ }, _class2.__initStatic2(), _class2);
1621
1628
 
1622
1629
  // src/utils/blocknote-word-diff-renderer.util.ts
1623
1630
  var BlockNoteWordDiffRendererUtil = class {
@@ -2122,7 +2129,7 @@ var AuthService = class extends AbstractService {
2122
2129
  }
2123
2130
  static async login(params) {
2124
2131
  const language = params.language || "en-US";
2125
- const apiResponse = await _chunkUVXEP2EDjs.JsonApiPost.call(void 0, {
2132
+ const apiResponse = await _chunkFPZPD4JIjs.JsonApiPost.call(void 0, {
2126
2133
  classKey: Modules.Auth,
2127
2134
  endpoint: new EndpointCreator({ endpoint: Modules.Auth, id: "login" }).generate(),
2128
2135
  body: { email: params.email, password: params.password },
@@ -2150,7 +2157,7 @@ var AuthService = class extends AbstractService {
2150
2157
  }
2151
2158
  static async logout(params) {
2152
2159
  const language = _optionalChain([params, 'optionalAccess', _55 => _55.language]) || "en-US";
2153
- await _chunkUVXEP2EDjs.JsonApiDelete.call(void 0, {
2160
+ await _chunkFPZPD4JIjs.JsonApiDelete.call(void 0, {
2154
2161
  classKey: Modules.Auth,
2155
2162
  endpoint: new EndpointCreator({ endpoint: Modules.Auth }).generate(),
2156
2163
  language
@@ -2162,7 +2169,7 @@ var AuthService = class extends AbstractService {
2162
2169
  }
2163
2170
  static async initialiseForgotPassword(params) {
2164
2171
  const language = params.language || "en-US";
2165
- const response = await _chunkUVXEP2EDjs.JsonApiPost.call(void 0, {
2172
+ const response = await _chunkFPZPD4JIjs.JsonApiPost.call(void 0, {
2166
2173
  classKey: Modules.Auth,
2167
2174
  endpoint: new EndpointCreator({ endpoint: Modules.Auth, id: "forgot" }).generate(),
2168
2175
  body: { email: params.email },
@@ -2191,7 +2198,7 @@ var AuthService = class extends AbstractService {
2191
2198
  }
2192
2199
  static async validateCode(params) {
2193
2200
  const language = params.language || "en-US";
2194
- const apiResponse = await _chunkUVXEP2EDjs.JsonApiGet.call(void 0, {
2201
+ const apiResponse = await _chunkFPZPD4JIjs.JsonApiGet.call(void 0, {
2195
2202
  classKey: Modules.Auth,
2196
2203
  endpoint: new EndpointCreator({ endpoint: Modules.Auth, id: "validate", childEndpoint: params.code }).generate(),
2197
2204
  language
@@ -2573,13 +2580,13 @@ var ContentModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factor
2573
2580
  }), "ContentModule");
2574
2581
 
2575
2582
  // src/features/feature/data/feature.ts
2576
- var Feature = (_class4 = class extends AbstractApiData {constructor(...args) { super(...args); _class4.prototype.__init2.call(this); }
2583
+ var Feature = (_class3 = class extends AbstractApiData {constructor(...args) { super(...args); _class3.prototype.__init.call(this); }
2577
2584
  static {
2578
2585
  _chunk7QVYU63Ejs.__name.call(void 0, this, "Feature");
2579
2586
  }
2580
2587
 
2581
2588
 
2582
- __init2() {this._modules = []}
2589
+ __init() {this._modules = []}
2583
2590
  get name() {
2584
2591
  return _nullishCoalesce(this._name, () => ( ""));
2585
2592
  }
@@ -2596,7 +2603,7 @@ var Feature = (_class4 = class extends AbstractApiData {constructor(...args) { s
2596
2603
  this._modules = this._readIncluded(data, `modules`, Modules.Module);
2597
2604
  return this;
2598
2605
  }
2599
- }, _class4);
2606
+ }, _class3);
2600
2607
 
2601
2608
  // src/features/feature/data/feature.service.ts
2602
2609
  var FeatureService = class extends AbstractService {
@@ -3042,7 +3049,7 @@ var S3Service = class extends AbstractService {
3042
3049
  };
3043
3050
 
3044
3051
  // src/features/user/data/user.ts
3045
- var User = (_class5 = class extends AbstractApiData {constructor(...args2) { super(...args2); _class5.prototype.__init3.call(this);_class5.prototype.__init4.call(this); }
3052
+ var User = (_class4 = class extends AbstractApiData {constructor(...args2) { super(...args2); _class4.prototype.__init2.call(this);_class4.prototype.__init3.call(this); }
3046
3053
  static {
3047
3054
  _chunk7QVYU63Ejs.__name.call(void 0, this, "User");
3048
3055
  }
@@ -3058,9 +3065,9 @@ var User = (_class5 = class extends AbstractApiData {constructor(...args2) { sup
3058
3065
 
3059
3066
 
3060
3067
 
3061
- __init3() {this._roles = []}
3068
+ __init2() {this._roles = []}
3062
3069
 
3063
- __init4() {this._modules = []}
3070
+ __init3() {this._modules = []}
3064
3071
  get searchResult() {
3065
3072
  return _nullishCoalesce(this._name, () => ( ""));
3066
3073
  }
@@ -3168,7 +3175,7 @@ var User = (_class5 = class extends AbstractApiData {constructor(...args2) { sup
3168
3175
  }
3169
3176
  return response;
3170
3177
  }
3171
- }, _class5);
3178
+ }, _class4);
3172
3179
 
3173
3180
  // src/features/user/data/user.fields.ts
3174
3181
  var UserFields = /* @__PURE__ */ ((UserFields2) => {
@@ -3475,4 +3482,4 @@ var AuthorModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory
3475
3482
 
3476
3483
 
3477
3484
  exports.RehydrationFactory = RehydrationFactory; exports.AbstractApiData = AbstractApiData; exports.HttpMethod = HttpMethod; exports.setGlobalErrorHandler = setGlobalErrorHandler; exports.getGlobalErrorHandler = getGlobalErrorHandler; exports.AbstractService = AbstractService; exports.configureClientJsonApi = configureClientJsonApi; exports.getClientApiUrl = getClientApiUrl; exports.getClientAppUrl = getClientAppUrl; exports.getClientTrackablePages = getClientTrackablePages; exports.ClientJsonApiGet = ClientJsonApiGet; exports.ClientJsonApiPost = ClientJsonApiPost; exports.ClientJsonApiPut = ClientJsonApiPut; exports.ClientJsonApiPatch = ClientJsonApiPatch; exports.ClientJsonApiDelete = ClientJsonApiDelete; exports.ClientHttpMethod = ClientHttpMethod; exports.setClientGlobalErrorHandler = setClientGlobalErrorHandler; exports.getClientGlobalErrorHandler = getClientGlobalErrorHandler; exports.ClientAbstractService = ClientAbstractService; exports.ModuleRegistrar = ModuleRegistrar; exports.ModuleRegistry = ModuleRegistry; exports.Modules = Modules; exports.EndpointCreator = EndpointCreator; exports.createJsonApiInclusion = createJsonApiInclusion; exports.rehydrate = rehydrate; exports.rehydrateList = rehydrateList; exports.cn = cn; exports.composeRefs = composeRefs; exports.useComposedRefs = useComposedRefs; exports.useIsMobile = useIsMobile; exports.formatDate = formatDate; exports.exists = exists; exports.TableOptions = TableOptions; exports.getTableOptions = getTableOptions; exports.getTableComponents = getTableComponents; exports.userObjectSchema = userObjectSchema; exports.entityObjectSchema = entityObjectSchema; exports.BlockNoteDiffUtil = BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = BlockNoteWordDiffRendererUtil; exports.getIconByModule = getIconByModule; exports.getIcon = getIcon; exports.getIconByModuleName = getIconByModuleName; exports.getLucideIcon = getLucideIcon; exports.getLucideIconByModule = getLucideIconByModule; exports.getLucideIconByModuleName = getLucideIconByModuleName; exports.Action = Action; exports.checkPermissions = checkPermissions; exports.checkPermissionsFromServer = checkPermissionsFromServer; exports.getValueFromPath = getValueFromPath; exports.Auth = Auth; exports.configureAuth = configureAuth; exports.getTokenHandler = getTokenHandler; exports.AuthService = AuthService; exports.AuthComponent = AuthComponent; exports.AuthModule = AuthModule; exports.Company = Company; exports.CompanyFields = CompanyFields; exports.CompanyService = CompanyService; exports.CompanyModule = CompanyModule; exports.Content = Content; exports.ContentFields = ContentFields; exports.ContentService = ContentService; exports.ContentModule = ContentModule; exports.Feature = Feature; exports.FeatureService = FeatureService; exports.FeatureModule = FeatureModule; exports.Module = Module; exports.ModuleModule = ModuleModule; exports.Notification = Notification; exports.NotificationFields = NotificationFields; exports.NotificationService = NotificationService; exports.NotificationModule = NotificationModule; exports.Push = Push; exports.PushService = PushService; exports.PushModule = PushModule; exports.Role = Role; exports.RoleFields = RoleFields; exports.RoleService = RoleService; exports.RoleModule = RoleModule; exports.S3 = S3; exports.S3Module = S3Module; exports.S3Service = S3Service; exports.User = User; exports.UserFields = UserFields; exports.UserService = UserService; exports.UserModule = UserModule; exports.AuthorModule = AuthorModule;
3478
- //# sourceMappingURL=chunk-LPBABDEP.js.map
3485
+ //# sourceMappingURL=chunk-AE3J2MAT.js.map