@carlonicora/nextjs-jsonapi 3.21.0 → 3.23.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 (63) hide show
  1. package/dist/{BlockNoteEditor-NRI2TZXY.js → BlockNoteEditor-BUSOUPQ7.js} +19 -19
  2. package/dist/{BlockNoteEditor-NRI2TZXY.js.map → BlockNoteEditor-BUSOUPQ7.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-CSLA3M32.mjs → BlockNoteEditor-W42IQTGL.mjs} +4 -4
  4. package/dist/{BlockNoteViewer-ZY4ZF3HO.mjs → BlockNoteViewer-FQ23TZ3J.mjs} +2 -2
  5. package/dist/{BlockNoteViewer-XCGBX4ST.js → BlockNoteViewer-MCX53AR4.js} +3 -3
  6. package/dist/{BlockNoteViewer-XCGBX4ST.js.map → BlockNoteViewer-MCX53AR4.js.map} +1 -1
  7. package/dist/{HandbookSectionInterface-DqU_d0sy.d.mts → HandbookSectionInterface-BYsmnPEz.d.mts} +36 -0
  8. package/dist/{HandbookSectionInterface-DFj2zErb.d.ts → HandbookSectionInterface-OePKPbqN.d.ts} +36 -0
  9. package/dist/billing/index.js +401 -401
  10. package/dist/billing/index.mjs +3 -3
  11. package/dist/{chunk-SYQMVTIC.js → chunk-FXWO5J2R.js} +7 -7
  12. package/dist/{chunk-SYQMVTIC.js.map → chunk-FXWO5J2R.js.map} +1 -1
  13. package/dist/{chunk-HSVAW3DQ.mjs → chunk-GFLEFIAW.mjs} +35 -9
  14. package/dist/chunk-GFLEFIAW.mjs.map +1 -0
  15. package/dist/{chunk-U55JQ4NY.mjs → chunk-JZUBFAAY.mjs} +2 -2
  16. package/dist/{chunk-CK47KSFV.mjs → chunk-O5MKEU7G.mjs} +56 -2
  17. package/dist/chunk-O5MKEU7G.mjs.map +1 -0
  18. package/dist/{chunk-U32IWQZM.js → chunk-VR65NRE4.js} +853 -827
  19. package/dist/chunk-VR65NRE4.js.map +1 -0
  20. package/dist/{chunk-MWZCCOTS.js → chunk-YCHPWXHD.js} +56 -2
  21. package/dist/chunk-YCHPWXHD.js.map +1 -0
  22. package/dist/client/index.js +4 -4
  23. package/dist/client/index.mjs +3 -3
  24. package/dist/components/index.d.mts +6 -4
  25. package/dist/components/index.d.ts +6 -4
  26. package/dist/components/index.js +6 -4
  27. package/dist/components/index.js.map +1 -1
  28. package/dist/components/index.mjs +5 -3
  29. package/dist/contexts/index.js +4 -4
  30. package/dist/contexts/index.mjs +3 -3
  31. package/dist/core/index.d.mts +2 -2
  32. package/dist/core/index.d.ts +2 -2
  33. package/dist/core/index.js +2 -2
  34. package/dist/core/index.mjs +1 -1
  35. package/dist/features/help/index.js +37 -37
  36. package/dist/features/help/index.mjs +3 -3
  37. package/dist/features/tokenusage/index.js +101 -101
  38. package/dist/features/tokenusage/index.mjs +3 -3
  39. package/dist/index.d.mts +1 -1
  40. package/dist/index.d.ts +1 -1
  41. package/dist/index.js +3 -3
  42. package/dist/index.mjs +2 -2
  43. package/dist/server/index.js +3 -3
  44. package/dist/server/index.mjs +1 -1
  45. package/package.json +1 -1
  46. package/src/components/containers/RoundPageContainer.tsx +6 -2
  47. package/src/components/containers/__tests__/RoundPageContainer.padding.spec.tsx +64 -0
  48. package/src/components/navigations/Header.tsx +3 -2
  49. package/src/components/navigations/__tests__/Header.spec.tsx +60 -0
  50. package/src/features/ai-connection/components/forms/AiConnectionEditor.tsx +1 -0
  51. package/src/features/ai-connection/components/lists/AiConnectionTypeCard.tsx +9 -0
  52. package/src/features/ai-connection/data/__tests__/ai-connection.test.ts +51 -0
  53. package/src/features/ai-connection/data/ai-connection.interface.ts +18 -0
  54. package/src/features/ai-connection/data/ai-connection.ts +63 -0
  55. package/src/features/ai-connection/i18n-keys.ts +9 -0
  56. package/src/shadcnui/ui/sidebar.tsx +6 -0
  57. package/dist/chunk-CK47KSFV.mjs.map +0 -1
  58. package/dist/chunk-HSVAW3DQ.mjs.map +0 -1
  59. package/dist/chunk-MWZCCOTS.js.map +0 -1
  60. package/dist/chunk-U32IWQZM.js.map +0 -1
  61. /package/dist/{BlockNoteEditor-CSLA3M32.mjs.map → BlockNoteEditor-W42IQTGL.mjs.map} +0 -0
  62. /package/dist/{BlockNoteViewer-ZY4ZF3HO.mjs.map → BlockNoteViewer-FQ23TZ3J.mjs.map} +0 -0
  63. /package/dist/{chunk-U55JQ4NY.mjs.map → chunk-JZUBFAAY.mjs.map} +0 -0
@@ -2,7 +2,7 @@ import {
2
2
  AbstractService,
3
3
  EndpointCreator,
4
4
  Modules
5
- } from "./chunk-CK47KSFV.mjs";
5
+ } from "./chunk-O5MKEU7G.mjs";
6
6
  import {
7
7
  ENV,
8
8
  setBootstrapper
@@ -291,4 +291,4 @@ export {
291
291
  ACTION_TYPES,
292
292
  RbacService
293
293
  };
294
- //# sourceMappingURL=chunk-U55JQ4NY.mjs.map
294
+ //# sourceMappingURL=chunk-JZUBFAAY.mjs.map
@@ -5030,6 +5030,15 @@ var AiConnection = class extends AbstractApiData {
5030
5030
  _language;
5031
5031
  _directFormat;
5032
5032
  _directProvider;
5033
+ _costPerImage;
5034
+ _negativePrompt;
5035
+ _width;
5036
+ _height;
5037
+ _steps;
5038
+ _cfgScale;
5039
+ _safeMode;
5040
+ _hideWatermark;
5041
+ _imageFormat;
5033
5042
  _hasApiKey;
5034
5043
  _hasGoogleCredentials;
5035
5044
  _companyId;
@@ -5102,6 +5111,33 @@ var AiConnection = class extends AbstractApiData {
5102
5111
  get directProvider() {
5103
5112
  return this._directProvider;
5104
5113
  }
5114
+ get costPerImage() {
5115
+ return this._costPerImage;
5116
+ }
5117
+ get negativePrompt() {
5118
+ return this._negativePrompt;
5119
+ }
5120
+ get width() {
5121
+ return this._width;
5122
+ }
5123
+ get height() {
5124
+ return this._height;
5125
+ }
5126
+ get steps() {
5127
+ return this._steps;
5128
+ }
5129
+ get cfgScale() {
5130
+ return this._cfgScale;
5131
+ }
5132
+ get safeMode() {
5133
+ return this._safeMode;
5134
+ }
5135
+ get hideWatermark() {
5136
+ return this._hideWatermark;
5137
+ }
5138
+ get imageFormat() {
5139
+ return this._imageFormat;
5140
+ }
5105
5141
  get hasApiKey() {
5106
5142
  return this._hasApiKey ?? false;
5107
5143
  }
@@ -5137,6 +5173,15 @@ var AiConnection = class extends AbstractApiData {
5137
5173
  this._language = attributes.language;
5138
5174
  this._directFormat = attributes.directFormat;
5139
5175
  this._directProvider = attributes.directProvider;
5176
+ this._costPerImage = attributes.costPerImage;
5177
+ this._negativePrompt = attributes.negativePrompt;
5178
+ this._width = attributes.width;
5179
+ this._height = attributes.height;
5180
+ this._steps = attributes.steps;
5181
+ this._cfgScale = attributes.cfgScale;
5182
+ this._safeMode = attributes.safeMode;
5183
+ this._hideWatermark = attributes.hideWatermark;
5184
+ this._imageFormat = attributes.imageFormat;
5140
5185
  this._hasApiKey = attributes.hasApiKey;
5141
5186
  this._hasGoogleCredentials = attributes.hasGoogleCredentials;
5142
5187
  this._companyId = attributes.companyId;
@@ -5178,7 +5223,16 @@ var AiConnection = class extends AbstractApiData {
5178
5223
  "directUrl",
5179
5224
  "language",
5180
5225
  "directFormat",
5181
- "directProvider"
5226
+ "directProvider",
5227
+ "costPerImage",
5228
+ "negativePrompt",
5229
+ "width",
5230
+ "height",
5231
+ "steps",
5232
+ "cfgScale",
5233
+ "safeMode",
5234
+ "hideWatermark",
5235
+ "imageFormat"
5182
5236
  ].forEach(setIfDefined);
5183
5237
  if (data.apiKey) response.data.attributes.apiKey = data.apiKey;
5184
5238
  if (data.googleCredentialsBase64) {
@@ -9711,4 +9765,4 @@ export {
9711
9765
  AuditLogService,
9712
9766
  AuditLogModule
9713
9767
  };
9714
- //# sourceMappingURL=chunk-CK47KSFV.mjs.map
9768
+ //# sourceMappingURL=chunk-O5MKEU7G.mjs.map