@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.
- package/dist/_chunks/{FetchIdentity-4kkW9N7Y.js → FetchIdentity-BB5V79aG.js} +9 -1
- package/dist/_chunks/{FetchIdentity-BWSQAXt-.mjs → FetchIdentity-CkL7UYRt.mjs} +9 -1
- package/dist/_chunks/{LanguagesSelector-DwAGgpcR.mjs → LanguagesSelector-BUSLrXE9.mjs} +3 -3
- package/dist/_chunks/{LanguagesSelector-yWC_Yb_S.js → LanguagesSelector-DDjJ90sz.js} +3 -3
- package/dist/_chunks/{LocalazyApp-DnaA768k.js → LocalazyApp-BzcT9jmq.js} +104 -29
- package/dist/_chunks/{LocalazyApp-zySanVTu.mjs → LocalazyApp-H3kYTy7p.mjs} +104 -29
- package/dist/_chunks/{LocalazyContentTransferSetup-C7qVIeix.mjs → LocalazyContentTransferSetup-BrLho135.mjs} +5 -5
- package/dist/_chunks/{LocalazyContentTransferSetup-CeOM6bYA.js → LocalazyContentTransferSetup-rrXuAqRA.js} +5 -5
- package/dist/_chunks/{LocalazyGlobalSettings-ewETL3oG.js → LocalazyGlobalSettings-Dj93M25t.js} +22 -7
- package/dist/_chunks/{LocalazyGlobalSettings-QvuLdsLe.mjs → LocalazyGlobalSettings-NhjPAqfZ.mjs} +22 -7
- package/dist/_chunks/{LocalazyPanel-BXVLvFgD.js → LocalazyPanel-C1r8FU9w.js} +3 -3
- package/dist/_chunks/{LocalazyPanel-BotUsX-y.mjs → LocalazyPanel-DokDDR0T.mjs} +3 -3
- package/dist/_chunks/{LocalazyStatusColumn-C81HewMg.mjs → LocalazyStatusColumn-CaAL-caH.mjs} +2 -2
- package/dist/_chunks/{LocalazyStatusColumn-Dt96YcGQ.js → LocalazyStatusColumn-D50ZkXY-.js} +2 -2
- package/dist/_chunks/{RequireLocalazyAuth-CWBWETzC.js → RequireLocalazyAuth-C9qzj01C.js} +13 -6
- package/dist/_chunks/{RequireLocalazyAuth-CDuyGCrT.mjs → RequireLocalazyAuth-c-nP7C0A.mjs} +13 -6
- package/dist/_chunks/{entry-exclusion-service-CGV6iOkB.js → entry-exclusion-service-0Ul5AWi-.js} +1 -1
- package/dist/_chunks/{entry-exclusion-service-BVPICve2.mjs → entry-exclusion-service-Db6jzNVM.mjs} +1 -1
- package/dist/_chunks/{has-model-changed-DVYRxVhM.js → has-model-changed-CmZh9bwD.js} +2 -2
- package/dist/_chunks/{has-model-changed-DZL36gWh.mjs → has-model-changed-VkgGfN-6.mjs} +2 -2
- package/dist/_chunks/{i18n-RoETLXdU.mjs → i18n-Bga-GG_Z.mjs} +8 -1
- package/dist/_chunks/{i18n-0dV2P-Hm.js → i18n-DaBjUC3Y.js} +8 -1
- package/dist/_chunks/{index-CgI_aKe_.mjs → index-BIHAiJnE.mjs} +60 -8
- package/dist/_chunks/{index-CaY3BYnQ.js → index-BSNW1ypR.js} +59 -7
- package/dist/_chunks/{index-DsrYI6aB.mjs → index-C_svJuLd.mjs} +9 -9
- package/dist/_chunks/{index-CCxXsn7Z.js → index-CaHacyle.js} +9 -9
- package/dist/_chunks/{strapi-api-base-DjeKGUw7.mjs → strapi-api-base-BTpukPev.mjs} +1 -1
- package/dist/_chunks/{strapi-api-base-BE8VMlaA.js → strapi-api-base-DJi1gdZT.js} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/modules/@common/components/TransferReport.d.ts +8 -1
- package/dist/admin/src/modules/localazy-download/locale/en.d.ts +5 -0
- package/dist/admin/src/modules/plugin-settings/locale/en.d.ts +2 -0
- package/dist/admin/src/modules/plugin-settings/services/plugin-settings-service.d.ts +1 -0
- package/dist/server/index.js +4114 -3975
- package/dist/server/index.mjs +4113 -3974
- package/dist/server/src/controllers/index.d.ts +1 -0
- package/dist/server/src/controllers/plugin-settings-controller.d.ts +1 -0
- package/dist/server/src/core/index.d.ts +8 -5
- package/dist/server/src/db/model/sync-cursor.d.ts +9 -0
- package/dist/server/src/index.d.ts +9 -5
- package/dist/server/src/services/helpers/plugin-settings-service-helper.d.ts +1 -0
- package/dist/server/src/services/index.d.ts +8 -5
- package/dist/server/src/services/localazy-transfer-download-service.d.ts +2 -1
- package/dist/server/src/services/plugin-settings-service.d.ts +3 -0
- package/dist/server/src/services/strapi-i18n-service.d.ts +2 -2
- package/dist/server/src/services/strapi-localazy-i18n-service.d.ts +2 -2
- 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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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:
|
|
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-
|
|
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-
|
|
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-
|
|
239
|
+
Component: () => Promise.resolve().then(() => require("./LocalazyContentTransferSetup-rrXuAqRA.js")),
|
|
240
240
|
permissions: []
|
|
241
241
|
}
|
|
242
242
|
]
|
package/dist/admin/index.js
CHANGED
package/dist/admin/index.mjs
CHANGED
|
@@ -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:
|
|
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;
|