@localazy/strapi-plugin 1.0.9 → 1.0.11

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/_chunks/{FetchIdentity-4kkW9N7Y.js → FetchIdentity-BB5V79aG.js} +9 -1
  2. package/dist/_chunks/{FetchIdentity-BWSQAXt-.mjs → FetchIdentity-CkL7UYRt.mjs} +9 -1
  3. package/dist/_chunks/{LanguagesSelector-DwAGgpcR.mjs → LanguagesSelector-BUSLrXE9.mjs} +3 -3
  4. package/dist/_chunks/{LanguagesSelector-yWC_Yb_S.js → LanguagesSelector-DDjJ90sz.js} +3 -3
  5. package/dist/_chunks/{LocalazyApp-DnaA768k.js → LocalazyApp-BzcT9jmq.js} +104 -29
  6. package/dist/_chunks/{LocalazyApp-zySanVTu.mjs → LocalazyApp-H3kYTy7p.mjs} +104 -29
  7. package/dist/_chunks/{LocalazyContentTransferSetup-C7qVIeix.mjs → LocalazyContentTransferSetup-BrLho135.mjs} +5 -5
  8. package/dist/_chunks/{LocalazyContentTransferSetup-CeOM6bYA.js → LocalazyContentTransferSetup-rrXuAqRA.js} +5 -5
  9. package/dist/_chunks/{LocalazyGlobalSettings-ewETL3oG.js → LocalazyGlobalSettings-Dj93M25t.js} +22 -7
  10. package/dist/_chunks/{LocalazyGlobalSettings-QvuLdsLe.mjs → LocalazyGlobalSettings-NhjPAqfZ.mjs} +22 -7
  11. package/dist/_chunks/{LocalazyPanel-BXVLvFgD.js → LocalazyPanel-C1r8FU9w.js} +3 -3
  12. package/dist/_chunks/{LocalazyPanel-BotUsX-y.mjs → LocalazyPanel-DokDDR0T.mjs} +3 -3
  13. package/dist/_chunks/{LocalazyStatusColumn-C81HewMg.mjs → LocalazyStatusColumn-CaAL-caH.mjs} +2 -2
  14. package/dist/_chunks/{LocalazyStatusColumn-Dt96YcGQ.js → LocalazyStatusColumn-D50ZkXY-.js} +2 -2
  15. package/dist/_chunks/{RequireLocalazyAuth-CWBWETzC.js → RequireLocalazyAuth-C9qzj01C.js} +13 -6
  16. package/dist/_chunks/{RequireLocalazyAuth-CDuyGCrT.mjs → RequireLocalazyAuth-c-nP7C0A.mjs} +13 -6
  17. package/dist/_chunks/{entry-exclusion-service-CGV6iOkB.js → entry-exclusion-service-0Ul5AWi-.js} +1 -1
  18. package/dist/_chunks/{entry-exclusion-service-BVPICve2.mjs → entry-exclusion-service-Db6jzNVM.mjs} +1 -1
  19. package/dist/_chunks/{has-model-changed-DVYRxVhM.js → has-model-changed-CmZh9bwD.js} +2 -2
  20. package/dist/_chunks/{has-model-changed-DZL36gWh.mjs → has-model-changed-VkgGfN-6.mjs} +2 -2
  21. package/dist/_chunks/{i18n-RoETLXdU.mjs → i18n-Bga-GG_Z.mjs} +8 -1
  22. package/dist/_chunks/{i18n-0dV2P-Hm.js → i18n-DaBjUC3Y.js} +8 -1
  23. package/dist/_chunks/{index-CgI_aKe_.mjs → index-BIHAiJnE.mjs} +60 -8
  24. package/dist/_chunks/{index-CaY3BYnQ.js → index-BSNW1ypR.js} +59 -7
  25. package/dist/_chunks/{index-DsrYI6aB.mjs → index-C_svJuLd.mjs} +9 -9
  26. package/dist/_chunks/{index-CCxXsn7Z.js → index-CaHacyle.js} +9 -9
  27. package/dist/_chunks/{strapi-api-base-DjeKGUw7.mjs → strapi-api-base-BTpukPev.mjs} +1 -1
  28. package/dist/_chunks/{strapi-api-base-BE8VMlaA.js → strapi-api-base-DJi1gdZT.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/@common/components/TransferReport.d.ts +8 -1
  32. package/dist/admin/src/modules/localazy-download/locale/en.d.ts +5 -0
  33. package/dist/admin/src/modules/plugin-settings/locale/en.d.ts +2 -0
  34. package/dist/admin/src/modules/plugin-settings/services/plugin-settings-service.d.ts +1 -0
  35. package/dist/server/index.js +4114 -3975
  36. package/dist/server/index.mjs +4113 -3974
  37. package/dist/server/src/controllers/index.d.ts +1 -0
  38. package/dist/server/src/controllers/plugin-settings-controller.d.ts +1 -0
  39. package/dist/server/src/core/index.d.ts +8 -5
  40. package/dist/server/src/db/model/sync-cursor.d.ts +9 -0
  41. package/dist/server/src/index.d.ts +9 -5
  42. package/dist/server/src/services/helpers/plugin-settings-service-helper.d.ts +1 -0
  43. package/dist/server/src/services/index.d.ts +8 -5
  44. package/dist/server/src/services/localazy-transfer-download-service.d.ts +2 -1
  45. package/dist/server/src/services/plugin-settings-service.d.ts +3 -0
  46. package/dist/server/src/services/strapi-i18n-service.d.ts +2 -2
  47. package/dist/server/src/services/strapi-localazy-i18n-service.d.ts +2 -2
  48. package/package.json +2 -2
@@ -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-BXVLvFgD.js"));
86
+ const { default: LocalazyPanel } = await Promise.resolve().then(() => require("./LocalazyPanel-C1r8FU9w.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-Dt96YcGQ.js"));
92
+ const { default: LocalazyStatusColumn } = await Promise.resolve().then(() => require("./LocalazyStatusColumn-D50ZkXY-.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-0dV2P-Hm.js"));
125
+ await Promise.resolve().then(() => require("./i18n-DaBjUC3Y.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-CGV6iOkB.js"));
140
+ const { default: EntryExclusionService } = await Promise.resolve().then(() => require("./entry-exclusion-service-0Ul5AWi-.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-CGV6iOkB.js"));
171
+ const { default: EntryExclusionService } = await Promise.resolve().then(() => require("./entry-exclusion-service-0Ul5AWi-.js"));
172
172
  const documentIds = documents.map((doc) => doc.documentId);
173
173
  await EntryExclusionService.setMultipleEntriesExclusion(model, documentIds, false);
174
174
  toggleNotification({
@@ -198,13 +198,13 @@ const index = {
198
198
  };
199
199
  const addMenuLink = (app) => {
200
200
  app.addMenuLink({
201
- to: `plugins/${PLUGIN_ID}/`,
201
+ to: `/plugins/${PLUGIN_ID}`,
202
202
  icon: Localazy,
203
203
  intlLabel: {
204
204
  id: `${PLUGIN_ID}.name`,
205
205
  defaultMessage: "Localazy"
206
206
  },
207
- Component: () => Promise.resolve().then(() => require("./LocalazyApp-DnaA768k.js"))
207
+ Component: () => Promise.resolve().then(() => require("./LocalazyApp-BzcT9jmq.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-ewETL3oG.js")),
228
+ Component: () => Promise.resolve().then(() => require("./LocalazyGlobalSettings-Dj93M25t.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-CeOM6bYA.js")),
239
+ Component: () => Promise.resolve().then(() => require("./LocalazyContentTransferSetup-rrXuAqRA.js")),
240
240
  permissions: []
241
241
  }
242
242
  ]
@@ -1,4 +1,4 @@
1
- import { P as PLUGIN_ID } from "./index-DsrYI6aB.mjs";
1
+ import { P as PLUGIN_ID } from "./index-C_svJuLd.mjs";
2
2
  function bind(fn, thisArg) {
3
3
  return function wrap() {
4
4
  return fn.apply(thisArg, arguments);
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const index = require("./index-CCxXsn7Z.js");
2
+ const index = require("./index-CaHacyle.js");
3
3
  function bind(fn, thisArg) {
4
4
  return function wrap() {
5
5
  return fn.apply(thisArg, arguments);
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- const index = require("../_chunks/index-CCxXsn7Z.js");
2
+ const index = require("../_chunks/index-CaHacyle.js");
3
3
  require("react");
4
4
  module.exports = index.index;
@@ -1,4 +1,4 @@
1
- import { i } from "../_chunks/index-DsrYI6aB.mjs";
1
+ import { i } from "../_chunks/index-C_svJuLd.mjs";
2
2
  import "react";
3
3
  export {
4
4
  i as default
@@ -1,5 +1,12 @@
1
1
  import React from 'react';
2
+ type ReportItem = string | {
3
+ message: string;
4
+ links?: {
5
+ strapi?: string;
6
+ localazy?: string;
7
+ };
8
+ };
2
9
  declare const TransferReport: React.FC<{
3
- report: any[];
10
+ report: ReportItem[];
4
11
  }>;
5
12
  export { TransferReport };
@@ -20,5 +20,10 @@ declare const _default: {
20
20
  ui_languages_placeholder: string;
21
21
  download_in_progress: string;
22
22
  to_see_to_progress: string;
23
+ full_sync: string;
24
+ full_sync_confirm_title: string;
25
+ full_sync_confirm_message: string;
26
+ incremental_download: string;
27
+ incremental_disabled_hint: string;
23
28
  };
24
29
  export default _default;
@@ -26,6 +26,8 @@ declare const _default: {
26
26
  webhook_languages: string;
27
27
  webhook_languages_info: string;
28
28
  webhook_languages_placeholder: string;
29
+ webhook_incremental_sync: string;
30
+ webhook_incremental_sync_info: string;
29
31
  global_settings_saved_successfully: string;
30
32
  content_transfer_setup: string;
31
33
  content_transfer_setup_description: string;
@@ -3,4 +3,5 @@ export default class PluginSettingsService {
3
3
  static updateContentTransferSetup(data: any): Promise<any>;
4
4
  static getPluginSettings(): Promise<any>;
5
5
  static updatePluginSettings(data: any): Promise<any>;
6
+ static getSyncCursor(): Promise<any>;
6
7
  }