@localazy/strapi-plugin 1.3.0 → 1.4.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 (45) hide show
  1. package/dist/_chunks/{FetchIdentity-CtBRO-Cn.js → FetchIdentity-BpFOT163.js} +2 -2
  2. package/dist/_chunks/{FetchIdentity-BJGoZPpM.mjs → FetchIdentity-Cor4ooZv.mjs} +2 -2
  3. package/dist/_chunks/{LanguagesSelector-DJxgCwgM.mjs → LanguagesSelector-BbrMKwQY.mjs} +3 -3
  4. package/dist/_chunks/{LanguagesSelector-CNaKrS-m.js → LanguagesSelector-CC1ecWnc.js} +3 -3
  5. package/dist/_chunks/{LocalazyApp-B1qCCEPe.js → LocalazyApp-D0JGRQeF.js} +85 -8
  6. package/dist/_chunks/{LocalazyApp-CJRpsTKr.mjs → LocalazyApp-DpFR8p10.mjs} +86 -9
  7. package/dist/_chunks/{LocalazyContentTransferSetup-CCxiLHdG.js → LocalazyContentTransferSetup-Cr7D-BUi.js} +5 -5
  8. package/dist/_chunks/{LocalazyContentTransferSetup-CLAWn95U.mjs → LocalazyContentTransferSetup-Dael1Q4w.mjs} +5 -5
  9. package/dist/_chunks/{LocalazyGlobalSettings-BJ5qfFfK.js → LocalazyGlobalSettings-D3nG4zl7.js} +6 -6
  10. package/dist/_chunks/{LocalazyGlobalSettings-Z-4Ykc_J.mjs → LocalazyGlobalSettings-DzBI5M-K.mjs} +6 -6
  11. package/dist/_chunks/{LocalazyPanel-DE3TtHOQ.js → LocalazyPanel-KQPLxTDz.js} +3 -3
  12. package/dist/_chunks/{LocalazyPanel-CL_mzzfD.mjs → LocalazyPanel-W6j8N1WC.mjs} +3 -3
  13. package/dist/_chunks/{LocalazyStatusColumn-BMLcklG-.js → LocalazyStatusColumn-B7Q_U2Lu.js} +2 -2
  14. package/dist/_chunks/{LocalazyStatusColumn-R5n6q_cx.mjs → LocalazyStatusColumn-CrhsCjgp.mjs} +2 -2
  15. package/dist/_chunks/{RequireLocalazyAuth-Dzsu6UNS.mjs → RequireLocalazyAuth-BwoGRfJq.mjs} +4 -4
  16. package/dist/_chunks/{RequireLocalazyAuth-WKKFdQlR.js → RequireLocalazyAuth-D3GeZPDh.js} +4 -4
  17. package/dist/_chunks/{entry-exclusion-service-CggmAKxq.js → entry-exclusion-service-Bwruvyce.js} +1 -1
  18. package/dist/_chunks/{entry-exclusion-service-DxqTlZFR.mjs → entry-exclusion-service-D7gaRHPE.mjs} +1 -1
  19. package/dist/_chunks/{has-model-changed-BR53L6pA.js → has-model-changed-5IV9WI_-.js} +2 -2
  20. package/dist/_chunks/{has-model-changed-FMGVcFHU.mjs → has-model-changed-Dp2Vkwjw.mjs} +2 -2
  21. package/dist/_chunks/{i18n-CAsbU4pi.js → i18n-C_5tJvr0.js} +5 -1
  22. package/dist/_chunks/{i18n-QelOdIB2.mjs → i18n-o24yXf-j.mjs} +5 -1
  23. package/dist/_chunks/{index-CHjIMO9T.mjs → index-BjL9XpRh.mjs} +4 -3
  24. package/dist/_chunks/{index-toauQlIK.mjs → index-C9hN3KbD.mjs} +8 -8
  25. package/dist/_chunks/{index-BK7lmZSN.js → index-CTkxoioB.js} +1 -0
  26. package/dist/_chunks/{index-BmxGKspv.js → index-jAg6jjCu.js} +8 -8
  27. package/dist/_chunks/{strapi-api-base-BflplVsH.mjs → strapi-api-base-CAzGcwF6.mjs} +1 -1
  28. package/dist/_chunks/{strapi-api-base-CT9lknwW.js → strapi-api-base-IG3Pe5Sg.js} +1 -1
  29. package/dist/admin/index.js +1 -1
  30. package/dist/admin/index.mjs +1 -1
  31. package/dist/admin/src/modules/activity-logs/locale/en.d.ts +4 -0
  32. package/dist/admin/src/modules/activity-logs/services/debug-bundle-service.d.ts +10 -0
  33. package/dist/server/index.js +510 -4
  34. package/dist/server/index.mjs +510 -5
  35. package/dist/server/src/controllers/debug-bundle-controller.d.ts +7 -0
  36. package/dist/server/src/controllers/index.d.ts +5 -0
  37. package/dist/server/src/core/index.d.ts +2 -0
  38. package/dist/server/src/db/model/activity-logs.d.ts +10 -0
  39. package/dist/server/src/index.d.ts +7 -0
  40. package/dist/server/src/routes/debug-bundle-routes.d.ts +9 -0
  41. package/dist/server/src/services/activity-logs-service.d.ts +3 -1
  42. package/dist/server/src/services/index.d.ts +2 -0
  43. package/dist/server/src/utils/build-debug-bundle.d.ts +68 -0
  44. package/dist/server/src/utils/sanitize-debug-bundle.d.ts +25 -0
  45. package/package.json +2 -1
@@ -58,13 +58,13 @@ const index = {
58
58
  try {
59
59
  const contentManagerPlugin = app.getPlugin("content-manager");
60
60
  if (contentManagerPlugin?.apis?.addEditViewSidePanel) {
61
- const { default: LocalazyPanel } = await import("./LocalazyPanel-CL_mzzfD.mjs");
61
+ const { default: LocalazyPanel } = await import("./LocalazyPanel-W6j8N1WC.mjs");
62
62
  const apis = contentManagerPlugin.apis;
63
63
  apis.addEditViewSidePanel([LocalazyPanel]);
64
64
  } else {
65
65
  console.warn('Localazy Plugin: Content Manager "addEditViewSidePanel" API not available');
66
66
  }
67
- const { default: LocalazyStatusColumn } = await import("./LocalazyStatusColumn-R5n6q_cx.mjs");
67
+ const { default: LocalazyStatusColumn } = await import("./LocalazyStatusColumn-CrhsCjgp.mjs");
68
68
  app.registerHook("Admin/CM/pages/ListView/inject-column-in-table", (params) => {
69
69
  try {
70
70
  console.log("Localazy: Hook called with params:", params);
@@ -97,7 +97,7 @@ const index = {
97
97
  });
98
98
  if (contentManagerPlugin?.apis?.addBulkAction) {
99
99
  const { useNotification } = await import("@strapi/strapi/admin");
100
- await import("./i18n-QelOdIB2.mjs");
100
+ await import("./i18n-o24yXf-j.mjs");
101
101
  const { useTranslation } = await import("./index-BIbKC7-V.mjs");
102
102
  const ExcludeFromTranslationAction = (props) => {
103
103
  const { documents, model } = props;
@@ -112,7 +112,7 @@ const index = {
112
112
  type: "info",
113
113
  message: t("plugin_settings.bulk_action_updating_entries")
114
114
  });
115
- const { default: EntryExclusionService } = await import("./entry-exclusion-service-DxqTlZFR.mjs");
115
+ const { default: EntryExclusionService } = await import("./entry-exclusion-service-D7gaRHPE.mjs");
116
116
  const documentIds = documents.map((doc) => doc.documentId);
117
117
  await EntryExclusionService.setMultipleEntriesExclusion(model, documentIds, true);
118
118
  toggleNotification({
@@ -143,7 +143,7 @@ const index = {
143
143
  type: "info",
144
144
  message: t("plugin_settings.bulk_action_updating_entries")
145
145
  });
146
- const { default: EntryExclusionService } = await import("./entry-exclusion-service-DxqTlZFR.mjs");
146
+ const { default: EntryExclusionService } = await import("./entry-exclusion-service-D7gaRHPE.mjs");
147
147
  const documentIds = documents.map((doc) => doc.documentId);
148
148
  await EntryExclusionService.setMultipleEntriesExclusion(model, documentIds, false);
149
149
  toggleNotification({
@@ -179,7 +179,7 @@ const addMenuLink = (app) => {
179
179
  id: `${PLUGIN_ID}.name`,
180
180
  defaultMessage: "Localazy"
181
181
  },
182
- Component: () => import("./LocalazyApp-CJRpsTKr.mjs")
182
+ Component: () => import("./LocalazyApp-DpFR8p10.mjs")
183
183
  });
184
184
  };
185
185
  const addSettingsSection = (app) => {
@@ -200,7 +200,7 @@ const addSettingsSection = (app) => {
200
200
  defaultMessage: "Localazy Settings"
201
201
  },
202
202
  to: `${PLUGIN_ID}/global-settings`,
203
- Component: () => import("./LocalazyGlobalSettings-Z-4Ykc_J.mjs"),
203
+ Component: () => import("./LocalazyGlobalSettings-DzBI5M-K.mjs"),
204
204
  permissions: []
205
205
  },
206
206
  // Content Transfer Setup
@@ -211,7 +211,7 @@ const addSettingsSection = (app) => {
211
211
  defaultMessage: "Content Transfer Setup"
212
212
  },
213
213
  to: `${PLUGIN_ID}/content-transfer-setup`,
214
- Component: () => import("./LocalazyContentTransferSetup-CLAWn95U.mjs"),
214
+ Component: () => import("./LocalazyContentTransferSetup-Dael1Q4w.mjs"),
215
215
  permissions: []
216
216
  }
217
217
  ]
@@ -51141,6 +51141,7 @@ exports.SubNavSections = SubNavSections;
51141
51141
  exports.SwitchImpl = SwitchImpl;
51142
51142
  exports.Tabs = Tabs;
51143
51143
  exports.Toggle = Toggle;
51144
+ exports.TooltipImpl = TooltipImpl;
51144
51145
  exports.Typography = Typography;
51145
51146
  exports.darkTheme = darkTheme;
51146
51147
  exports.lightTheme = lightTheme;
@@ -83,13 +83,13 @@ const index = {
83
83
  try {
84
84
  const contentManagerPlugin = app.getPlugin("content-manager");
85
85
  if (contentManagerPlugin?.apis?.addEditViewSidePanel) {
86
- const { default: LocalazyPanel } = await Promise.resolve().then(() => require("./LocalazyPanel-DE3TtHOQ.js"));
86
+ const { default: LocalazyPanel } = await Promise.resolve().then(() => require("./LocalazyPanel-KQPLxTDz.js"));
87
87
  const apis = contentManagerPlugin.apis;
88
88
  apis.addEditViewSidePanel([LocalazyPanel]);
89
89
  } else {
90
90
  console.warn('Localazy Plugin: Content Manager "addEditViewSidePanel" API not available');
91
91
  }
92
- const { default: LocalazyStatusColumn } = await Promise.resolve().then(() => require("./LocalazyStatusColumn-BMLcklG-.js"));
92
+ const { default: LocalazyStatusColumn } = await Promise.resolve().then(() => require("./LocalazyStatusColumn-B7Q_U2Lu.js"));
93
93
  app.registerHook("Admin/CM/pages/ListView/inject-column-in-table", (params) => {
94
94
  try {
95
95
  console.log("Localazy: Hook called with params:", params);
@@ -122,7 +122,7 @@ const index = {
122
122
  });
123
123
  if (contentManagerPlugin?.apis?.addBulkAction) {
124
124
  const { useNotification } = await import("@strapi/strapi/admin");
125
- await Promise.resolve().then(() => require("./i18n-CAsbU4pi.js"));
125
+ await Promise.resolve().then(() => require("./i18n-C_5tJvr0.js"));
126
126
  const { useTranslation } = await Promise.resolve().then(() => require("./index-1he9s_bs.js"));
127
127
  const ExcludeFromTranslationAction = (props) => {
128
128
  const { documents, model } = props;
@@ -137,7 +137,7 @@ const index = {
137
137
  type: "info",
138
138
  message: t("plugin_settings.bulk_action_updating_entries")
139
139
  });
140
- const { default: EntryExclusionService } = await Promise.resolve().then(() => require("./entry-exclusion-service-CggmAKxq.js"));
140
+ const { default: EntryExclusionService } = await Promise.resolve().then(() => require("./entry-exclusion-service-Bwruvyce.js"));
141
141
  const documentIds = documents.map((doc) => doc.documentId);
142
142
  await EntryExclusionService.setMultipleEntriesExclusion(model, documentIds, true);
143
143
  toggleNotification({
@@ -168,7 +168,7 @@ const index = {
168
168
  type: "info",
169
169
  message: t("plugin_settings.bulk_action_updating_entries")
170
170
  });
171
- const { default: EntryExclusionService } = await Promise.resolve().then(() => require("./entry-exclusion-service-CggmAKxq.js"));
171
+ const { default: EntryExclusionService } = await Promise.resolve().then(() => require("./entry-exclusion-service-Bwruvyce.js"));
172
172
  const documentIds = documents.map((doc) => doc.documentId);
173
173
  await EntryExclusionService.setMultipleEntriesExclusion(model, documentIds, false);
174
174
  toggleNotification({
@@ -204,7 +204,7 @@ const addMenuLink = (app) => {
204
204
  id: `${PLUGIN_ID}.name`,
205
205
  defaultMessage: "Localazy"
206
206
  },
207
- Component: () => Promise.resolve().then(() => require("./LocalazyApp-B1qCCEPe.js"))
207
+ Component: () => Promise.resolve().then(() => require("./LocalazyApp-D0JGRQeF.js"))
208
208
  });
209
209
  };
210
210
  const addSettingsSection = (app) => {
@@ -225,7 +225,7 @@ const addSettingsSection = (app) => {
225
225
  defaultMessage: "Localazy Settings"
226
226
  },
227
227
  to: `${PLUGIN_ID}/global-settings`,
228
- Component: () => Promise.resolve().then(() => require("./LocalazyGlobalSettings-BJ5qfFfK.js")),
228
+ Component: () => Promise.resolve().then(() => require("./LocalazyGlobalSettings-D3nG4zl7.js")),
229
229
  permissions: []
230
230
  },
231
231
  // Content Transfer Setup
@@ -236,7 +236,7 @@ const addSettingsSection = (app) => {
236
236
  defaultMessage: "Content Transfer Setup"
237
237
  },
238
238
  to: `${PLUGIN_ID}/content-transfer-setup`,
239
- Component: () => Promise.resolve().then(() => require("./LocalazyContentTransferSetup-CCxiLHdG.js")),
239
+ Component: () => Promise.resolve().then(() => require("./LocalazyContentTransferSetup-Cr7D-BUi.js")),
240
240
  permissions: []
241
241
  }
242
242
  ]
@@ -1,5 +1,5 @@
1
1
  import { getFetchClient } from "@strapi/strapi/admin";
2
- import { P as PLUGIN_ID } from "./index-toauQlIK.mjs";
2
+ import { P as PLUGIN_ID } from "./index-C9hN3KbD.mjs";
3
3
  const BASE_PLUGIN_PATH = `/${PLUGIN_ID}`;
4
4
  const LOCALAZY_HEADER = { "X-Localazy-Initiated-By": "strapi-plugin-localazy" };
5
5
  const withPluginHeader = (config) => ({
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  const admin = require("@strapi/strapi/admin");
3
- const index = require("./index-BmxGKspv.js");
3
+ const index = require("./index-jAg6jjCu.js");
4
4
  const BASE_PLUGIN_PATH = `/${index.PLUGIN_ID}`;
5
5
  const LOCALAZY_HEADER = { "X-Localazy-Initiated-By": "strapi-plugin-localazy" };
6
6
  const withPluginHeader = (config) => ({
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- const index = require("../_chunks/index-BmxGKspv.js");
2
+ const index = require("../_chunks/index-jAg6jjCu.js");
3
3
  require("react");
4
4
  module.exports = index.index;
@@ -1,4 +1,4 @@
1
- import { i } from "../_chunks/index-toauQlIK.mjs";
1
+ import { i } from "../_chunks/index-C9hN3KbD.mjs";
2
2
  import "react";
3
3
  export {
4
4
  i as default
@@ -29,5 +29,9 @@ declare const _default: {
29
29
  date_from: string;
30
30
  date_to: string;
31
31
  retention_info: string;
32
+ download_bundle: string;
33
+ download_bundle_warning: string;
34
+ download_bundle_success: string;
35
+ download_bundle_error: string;
32
36
  };
33
37
  export default _default;
@@ -0,0 +1,10 @@
1
+ export type BrowserInfo = {
2
+ userAgent?: string;
3
+ language?: string;
4
+ viewport?: {
5
+ width: number;
6
+ height: number;
7
+ };
8
+ consoleErrors?: string[];
9
+ };
10
+ export declare const downloadDebugBundle: (sessionId: string, token: string | null, browserInfo: BrowserInfo) => Promise<void>;