@localazy/strapi-plugin 1.1.0 → 1.1.1
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-DfV1OWMB.js → FetchIdentity-CevvxeEj.js} +73 -46
- package/dist/_chunks/{FetchIdentity-lkoWjYjn.mjs → FetchIdentity-DeThazz9.mjs} +43 -16
- package/dist/_chunks/{LanguagesSelector-BmWfSZq6.js → LanguagesSelector-BExpl4Vx.js} +15 -3
- package/dist/_chunks/{LanguagesSelector-vSZvVGUT.mjs → LanguagesSelector-D62gLZsM.mjs} +15 -3
- package/dist/_chunks/{LocalazyApp-st8mwIbM.mjs → LocalazyApp-Czkb4s5J.mjs} +791 -61
- package/dist/_chunks/{LocalazyApp-BUfYt7UL.js → LocalazyApp-DIcO748C.js} +791 -59
- package/dist/_chunks/{LocalazyContentTransferSetup-BjLBgqFO.js → LocalazyContentTransferSetup-DAyZdwi9.js} +13 -10
- package/dist/_chunks/{LocalazyContentTransferSetup-D2YvBYs_.mjs → LocalazyContentTransferSetup-Dx0Z6DXc.mjs} +13 -10
- package/dist/_chunks/{LocalazyGlobalSettings-DHCU2_RH.mjs → LocalazyGlobalSettings-DWMBqlN4.mjs} +149 -12
- package/dist/_chunks/{LocalazyGlobalSettings-Do5tOyhB.js → LocalazyGlobalSettings-DjrXGVxl.js} +148 -11
- package/dist/_chunks/{LocalazyPanel-CulgT97p.mjs → LocalazyPanel-B-0HBTL_.mjs} +4 -4
- package/dist/_chunks/{LocalazyPanel-BDxUI_RH.js → LocalazyPanel-nBOpQo5B.js} +4 -4
- package/dist/_chunks/{LocalazyStatusColumn-DoTWD2eL.mjs → LocalazyStatusColumn-CpO3yccG.mjs} +9 -7
- package/dist/_chunks/{LocalazyStatusColumn-Dpwoc5Ig.js → LocalazyStatusColumn-cGsUDMlX.js} +9 -7
- package/dist/_chunks/{RequireLocalazyAuth-BzM7C6Yw.js → RequireLocalazyAuth-56K8HUNR.js} +4 -4
- package/dist/_chunks/{RequireLocalazyAuth-CqHrZ1Ah.mjs → RequireLocalazyAuth-Dh-mAMcg.mjs} +4 -4
- package/dist/_chunks/{entry-exclusion-service-DWFMKgkA.mjs → entry-exclusion-service-Dm5_iP7I.mjs} +1 -1
- package/dist/_chunks/{entry-exclusion-service-Cvu8PQUI.js → entry-exclusion-service-Rf4Tr0zW.js} +1 -1
- package/dist/_chunks/{has-model-changed-CWdMNRB1.mjs → has-model-changed-6p1lR-Ho.mjs} +2 -2
- package/dist/_chunks/{has-model-changed-D1f6is8z.js → has-model-changed-CGyDQARr.js} +2 -2
- package/dist/_chunks/{i18n-DaBjUC3Y.js → i18n-CAsbU4pi.js} +62 -4
- package/dist/_chunks/{i18n-Bga-GG_Z.mjs → i18n-QelOdIB2.mjs} +62 -4
- package/dist/_chunks/{index-BSNW1ypR.js → index-BK7lmZSN.js} +57 -19
- package/dist/_chunks/{index-CtvR-R3c.mjs → index-Bpf1Mw2A.mjs} +8 -8
- package/dist/_chunks/{index-BgPI2yQD.js → index-BsQ_ie4C.js} +8 -8
- package/dist/_chunks/{index-BIHAiJnE.mjs → index-CHjIMO9T.mjs} +78 -40
- package/dist/_chunks/{strapi-api-base-CturxOqD.mjs → strapi-api-base-Bem_CGuz.mjs} +2 -2
- package/dist/_chunks/{strapi-api-base-CN6q5tPh.js → strapi-api-base-W_bUTSlY.js} +2 -2
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/components/PluginErrorBoundary.d.ts +5 -0
- package/dist/admin/src/modules/@common/locale/en.d.ts +4 -0
- package/dist/admin/src/modules/@common/services/project-service.d.ts +9 -0
- package/dist/admin/src/modules/@common/styles/heading-fix.d.ts +7 -0
- package/dist/admin/src/modules/@common/utils/export-json.d.ts +1 -0
- package/dist/admin/src/modules/@common/utils/redirect-to-plugin-route.d.ts +1 -0
- package/dist/admin/src/modules/activity-logs/components/HighlightMatch.d.ts +6 -0
- package/dist/admin/src/modules/activity-logs/components/SessionMetadata.d.ts +7 -0
- package/dist/admin/src/modules/activity-logs/components/SessionsTable.d.ts +17 -0
- package/dist/admin/src/modules/activity-logs/components/SortableHeader.d.ts +10 -0
- package/dist/admin/src/modules/activity-logs/components/StatusLabel.d.ts +6 -0
- package/dist/admin/src/modules/activity-logs/hooks/use-debounced-search.d.ts +6 -0
- package/dist/admin/src/modules/activity-logs/locale/en.d.ts +33 -0
- package/dist/admin/src/modules/activity-logs/models/activity-logs.d.ts +19 -0
- package/dist/admin/src/modules/activity-logs/services/activity-logs-service.d.ts +6 -0
- package/dist/admin/src/modules/activity-logs/utils/export-logs.d.ts +1 -0
- package/dist/admin/src/modules/activity-logs/utils/format-utils.d.ts +4 -0
- package/dist/admin/src/modules/plugin-settings/components/WebhookSetup.d.ts +2 -0
- package/dist/admin/src/modules/plugin-settings/locale/en.d.ts +21 -0
- package/dist/admin/src/pages/ActivityLogDetail.d.ts +7 -0
- package/dist/admin/src/pages/ActivityLogs.d.ts +7 -0
- package/dist/server/index.js +392 -47
- package/dist/server/index.mjs +392 -47
- package/dist/server/src/controllers/activity-logs-controller.d.ts +10 -0
- package/dist/server/src/controllers/index.d.ts +12 -1
- package/dist/server/src/controllers/localazy-project-controller.d.ts +4 -1
- package/dist/server/src/core/index.d.ts +13 -0
- package/dist/server/src/db/model/activity-logs.d.ts +20 -0
- package/dist/server/src/db/model/plugin-settings.d.ts +14 -0
- package/dist/server/src/index.d.ts +27 -1
- package/dist/server/src/routes/activity-logs-routes.d.ts +9 -0
- package/dist/server/src/services/activity-logs-service.d.ts +17 -0
- package/dist/server/src/services/index.d.ts +15 -0
- package/dist/server/src/services/localazy-pubapi-service.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const FetchIdentity = require("./FetchIdentity-
|
|
2
|
+
const FetchIdentity = require("./FetchIdentity-CevvxeEj.js");
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const index$1 = require("./index-
|
|
5
|
-
const index = require("./index-
|
|
4
|
+
const index$1 = require("./index-BsQ_ie4C.js");
|
|
5
|
+
const index = require("./index-BK7lmZSN.js");
|
|
6
6
|
const admin = require("@strapi/strapi/admin");
|
|
7
|
-
require("./i18n-
|
|
7
|
+
require("./i18n-CAsbU4pi.js");
|
|
8
8
|
const useTranslation = require("./useTranslation-BdIl-aLe.js");
|
|
9
9
|
function arraySome(array, predicate) {
|
|
10
10
|
var index2 = -1, length = array == null ? 0 : array.length;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { S as SetCache, a as cacheHas, b as Symbol$1, e as eq, U as Uint8Array, d as setToArray,
|
|
1
|
+
import { S as SetCache, a as cacheHas, b as Symbol$1, e as eq, U as Uint8Array, d as setToArray, f as getAllKeys, h as getTag, i as isBuffer, j as Stack, k as isTypedArray, l as isArray, m as isObjectLike, u as useLocalazyIdentity } from "./FetchIdentity-DeThazz9.mjs";
|
|
2
2
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
3
|
-
import { P as PLUGIN_ID } from "./index-
|
|
4
|
-
import {
|
|
3
|
+
import { P as PLUGIN_ID } from "./index-Bpf1Mw2A.mjs";
|
|
4
|
+
import { B as Box, T as Typography } from "./index-CHjIMO9T.mjs";
|
|
5
5
|
import { Layouts } from "@strapi/strapi/admin";
|
|
6
|
-
import "./i18n-
|
|
6
|
+
import "./i18n-QelOdIB2.mjs";
|
|
7
7
|
import { u as useTranslation } from "./useTranslation-CZQ4lU1m.mjs";
|
|
8
8
|
function arraySome(array, predicate) {
|
|
9
9
|
var index = -1, length = array == null ? 0 : array.length;
|
package/dist/_chunks/{entry-exclusion-service-DWFMKgkA.mjs → entry-exclusion-service-Dm5_iP7I.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-
|
|
1
|
+
import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-Bem_CGuz.mjs";
|
|
2
2
|
const BASE_PATH = "/entry-exclusion";
|
|
3
3
|
const axiosInstance = createStrapiApiAxiosInstance();
|
|
4
4
|
class EntryExclusionService {
|
package/dist/_chunks/{entry-exclusion-service-Cvu8PQUI.js → entry-exclusion-service-Rf4Tr0zW.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const strapiApiBase = require("./strapi-api-base-
|
|
3
|
+
const strapiApiBase = require("./strapi-api-base-W_bUTSlY.js");
|
|
4
4
|
const BASE_PATH = "/entry-exclusion";
|
|
5
5
|
const axiosInstance = strapiApiBase.createStrapiApiAxiosInstance();
|
|
6
6
|
class EntryExclusionService {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-
|
|
1
|
+
import { r as castPath, t as toKey, v as Set, d as setToArray, S as SetCache, a as cacheHas, P as PluginSettingsService } from "./FetchIdentity-DeThazz9.mjs";
|
|
2
|
+
import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-Bem_CGuz.mjs";
|
|
3
3
|
import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DWwsNxpa.mjs";
|
|
4
4
|
function baseGet(object, path) {
|
|
5
5
|
path = castPath(path, object);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const FetchIdentity = require("./FetchIdentity-
|
|
3
|
-
const strapiApiBase = require("./strapi-api-base-
|
|
2
|
+
const FetchIdentity = require("./FetchIdentity-CevvxeEj.js");
|
|
3
|
+
const strapiApiBase = require("./strapi-api-base-W_bUTSlY.js");
|
|
4
4
|
const _commonjsHelpers = require("./_commonjsHelpers-Bc2YnDe1.js");
|
|
5
5
|
function baseGet(object, path) {
|
|
6
6
|
path = FetchIdentity.castPath(path, object);
|
|
@@ -2226,10 +2226,14 @@ const en_common = {
|
|
|
2226
2226
|
upload_to_localazy: "Upload to Localazy",
|
|
2227
2227
|
download_to_strapi: "Download to Strapi",
|
|
2228
2228
|
overview: "Overview",
|
|
2229
|
+
activity_logs: "Activity Logs",
|
|
2229
2230
|
loading_content: "Loading content...",
|
|
2230
2231
|
report_will_be_available_after_an_action: "Report will be available after performing an action...",
|
|
2231
2232
|
report: "Report",
|
|
2232
|
-
select_languages: "Select languages"
|
|
2233
|
+
select_languages: "Select languages",
|
|
2234
|
+
error_boundary_title: "Something went wrong",
|
|
2235
|
+
error_boundary_description: "The plugin encountered an error. This usually happens when the connected Localazy project has been deleted or your session has become invalid. Please disconnect and log in again.",
|
|
2236
|
+
error_boundary_disconnect: "Disconnect & return to login"
|
|
2233
2237
|
};
|
|
2234
2238
|
const en_login = {
|
|
2235
2239
|
login_with_localazy: "Login with Localazy",
|
|
@@ -2356,7 +2360,60 @@ const en_plugin_settings = {
|
|
|
2356
2360
|
bulk_action_success_message: "Entries successfully updated.",
|
|
2357
2361
|
bulk_action_include_to_translation: "Include to translation",
|
|
2358
2362
|
status_excluded: "Excluded",
|
|
2359
|
-
status_included: "Included"
|
|
2363
|
+
status_included: "Included",
|
|
2364
|
+
webhook_setup_title: "Webhook Configuration",
|
|
2365
|
+
webhook_behavior_title: "Webhook Behavior",
|
|
2366
|
+
webhook_setup_description: "To enable automatic downloads when translations are published in Localazy, a webhook needs to be configured in your Localazy project.",
|
|
2367
|
+
webhook_setup_not_configured: "Webhook is not configured",
|
|
2368
|
+
webhook_setup_button: "Set up webhook",
|
|
2369
|
+
webhook_setup_reconfigure: "Reconfigure webhook",
|
|
2370
|
+
webhook_setup_success: "Webhook configured successfully! Translations will be automatically downloaded when published in Localazy.",
|
|
2371
|
+
webhook_setup_already_configured: "Webhook is active and configured.",
|
|
2372
|
+
webhook_setup_docs_link: "Learn more about Localazy webhooks",
|
|
2373
|
+
webhook_setup_loading: "Checking webhook status...",
|
|
2374
|
+
webhook_setup_error: "Failed to set up webhook. Please try again or configure it manually in Localazy.",
|
|
2375
|
+
webhook_setup_modal_title: "Set up Localazy webhook",
|
|
2376
|
+
webhook_setup_step1_title: "1. Verify your Strapi URL",
|
|
2377
|
+
webhook_setup_step1_description: "This is the URL that Localazy will call when translations are published. It must be publicly accessible from the internet.",
|
|
2378
|
+
webhook_setup_step2_title: "2. Confirm the webhook endpoint",
|
|
2379
|
+
webhook_setup_url_hint: "The URL is prefilled from your Strapi server configuration. Edit it if your public URL is different.",
|
|
2380
|
+
webhook_setup_ngrok_hint: "💡 For local development, use a tunneling tool like ngrok (e.g. ngrok http 1337) to expose your local Strapi instance to the internet.",
|
|
2381
|
+
webhook_setup_step3_title: "3. Click confirm to register",
|
|
2382
|
+
webhook_setup_step3_description: 'This will register a webhook in your Localazy project that triggers on "Project Published" events. You can manage webhooks anytime in your Localazy project settings.',
|
|
2383
|
+
webhook_setup_confirm: "Confirm & set up webhook",
|
|
2384
|
+
webhook_setup_local_warning: "The detected URL points to a local/private address. Localazy will not be able to reach this URL. Use a tunneling tool or replace with your public URL."
|
|
2385
|
+
};
|
|
2386
|
+
const en_activity_logs = {
|
|
2387
|
+
title: "Activity Logs",
|
|
2388
|
+
description: "View upload, download, and webhook activity logs",
|
|
2389
|
+
tab_upload: "Upload",
|
|
2390
|
+
tab_download: "Download",
|
|
2391
|
+
tab_webhooks: "Webhooks",
|
|
2392
|
+
search_placeholder: "Search by status, date, user, or summary...",
|
|
2393
|
+
search_entries_placeholder: "Search entries...",
|
|
2394
|
+
no_sessions: "No activity logs found.",
|
|
2395
|
+
no_entries: "No log entries found.",
|
|
2396
|
+
export_logs: "Export logs",
|
|
2397
|
+
clear_logs: "Clear logs",
|
|
2398
|
+
clear_logs_confirm: "Are you sure you want to clear all activity logs? This action cannot be undone.",
|
|
2399
|
+
clear_logs_success: "Activity logs cleared successfully.",
|
|
2400
|
+
back_to_list: "Back to Activity Logs",
|
|
2401
|
+
session_detail: "Session Detail",
|
|
2402
|
+
status: "Status",
|
|
2403
|
+
started_at: "Started at",
|
|
2404
|
+
finished_at: "Finished at",
|
|
2405
|
+
initiated_by: "Initiated by",
|
|
2406
|
+
summary: "Summary",
|
|
2407
|
+
duration: "Duration",
|
|
2408
|
+
entries_count: "Entries",
|
|
2409
|
+
status_in_progress: "In Progress",
|
|
2410
|
+
status_completed: "Completed",
|
|
2411
|
+
status_failed: "Failed",
|
|
2412
|
+
close: "Close",
|
|
2413
|
+
clear: "Clear",
|
|
2414
|
+
date_from: "From",
|
|
2415
|
+
date_to: "To",
|
|
2416
|
+
retention_info: "Activity logs are retained for the past year. Older entries are automatically removed."
|
|
2360
2417
|
};
|
|
2361
2418
|
const initI18nParams = () => {
|
|
2362
2419
|
return {
|
|
@@ -2375,11 +2432,12 @@ const initI18nParams = () => {
|
|
|
2375
2432
|
overview: en_overview,
|
|
2376
2433
|
download: en_download,
|
|
2377
2434
|
upload: en_upload,
|
|
2378
|
-
plugin_settings: en_plugin_settings
|
|
2435
|
+
plugin_settings: en_plugin_settings,
|
|
2436
|
+
activity_logs: en_activity_logs
|
|
2379
2437
|
}
|
|
2380
2438
|
}
|
|
2381
2439
|
}
|
|
2382
2440
|
};
|
|
2383
2441
|
};
|
|
2384
|
-
instance.use(initReactI18next.initReactI18next).init(initI18nParams());
|
|
2442
|
+
void instance.use(initReactI18next.initReactI18next).init(initI18nParams());
|
|
2385
2443
|
exports.default = instance;
|
|
@@ -2224,10 +2224,14 @@ const en_common = {
|
|
|
2224
2224
|
upload_to_localazy: "Upload to Localazy",
|
|
2225
2225
|
download_to_strapi: "Download to Strapi",
|
|
2226
2226
|
overview: "Overview",
|
|
2227
|
+
activity_logs: "Activity Logs",
|
|
2227
2228
|
loading_content: "Loading content...",
|
|
2228
2229
|
report_will_be_available_after_an_action: "Report will be available after performing an action...",
|
|
2229
2230
|
report: "Report",
|
|
2230
|
-
select_languages: "Select languages"
|
|
2231
|
+
select_languages: "Select languages",
|
|
2232
|
+
error_boundary_title: "Something went wrong",
|
|
2233
|
+
error_boundary_description: "The plugin encountered an error. This usually happens when the connected Localazy project has been deleted or your session has become invalid. Please disconnect and log in again.",
|
|
2234
|
+
error_boundary_disconnect: "Disconnect & return to login"
|
|
2231
2235
|
};
|
|
2232
2236
|
const en_login = {
|
|
2233
2237
|
login_with_localazy: "Login with Localazy",
|
|
@@ -2354,7 +2358,60 @@ const en_plugin_settings = {
|
|
|
2354
2358
|
bulk_action_success_message: "Entries successfully updated.",
|
|
2355
2359
|
bulk_action_include_to_translation: "Include to translation",
|
|
2356
2360
|
status_excluded: "Excluded",
|
|
2357
|
-
status_included: "Included"
|
|
2361
|
+
status_included: "Included",
|
|
2362
|
+
webhook_setup_title: "Webhook Configuration",
|
|
2363
|
+
webhook_behavior_title: "Webhook Behavior",
|
|
2364
|
+
webhook_setup_description: "To enable automatic downloads when translations are published in Localazy, a webhook needs to be configured in your Localazy project.",
|
|
2365
|
+
webhook_setup_not_configured: "Webhook is not configured",
|
|
2366
|
+
webhook_setup_button: "Set up webhook",
|
|
2367
|
+
webhook_setup_reconfigure: "Reconfigure webhook",
|
|
2368
|
+
webhook_setup_success: "Webhook configured successfully! Translations will be automatically downloaded when published in Localazy.",
|
|
2369
|
+
webhook_setup_already_configured: "Webhook is active and configured.",
|
|
2370
|
+
webhook_setup_docs_link: "Learn more about Localazy webhooks",
|
|
2371
|
+
webhook_setup_loading: "Checking webhook status...",
|
|
2372
|
+
webhook_setup_error: "Failed to set up webhook. Please try again or configure it manually in Localazy.",
|
|
2373
|
+
webhook_setup_modal_title: "Set up Localazy webhook",
|
|
2374
|
+
webhook_setup_step1_title: "1. Verify your Strapi URL",
|
|
2375
|
+
webhook_setup_step1_description: "This is the URL that Localazy will call when translations are published. It must be publicly accessible from the internet.",
|
|
2376
|
+
webhook_setup_step2_title: "2. Confirm the webhook endpoint",
|
|
2377
|
+
webhook_setup_url_hint: "The URL is prefilled from your Strapi server configuration. Edit it if your public URL is different.",
|
|
2378
|
+
webhook_setup_ngrok_hint: "💡 For local development, use a tunneling tool like ngrok (e.g. ngrok http 1337) to expose your local Strapi instance to the internet.",
|
|
2379
|
+
webhook_setup_step3_title: "3. Click confirm to register",
|
|
2380
|
+
webhook_setup_step3_description: 'This will register a webhook in your Localazy project that triggers on "Project Published" events. You can manage webhooks anytime in your Localazy project settings.',
|
|
2381
|
+
webhook_setup_confirm: "Confirm & set up webhook",
|
|
2382
|
+
webhook_setup_local_warning: "The detected URL points to a local/private address. Localazy will not be able to reach this URL. Use a tunneling tool or replace with your public URL."
|
|
2383
|
+
};
|
|
2384
|
+
const en_activity_logs = {
|
|
2385
|
+
title: "Activity Logs",
|
|
2386
|
+
description: "View upload, download, and webhook activity logs",
|
|
2387
|
+
tab_upload: "Upload",
|
|
2388
|
+
tab_download: "Download",
|
|
2389
|
+
tab_webhooks: "Webhooks",
|
|
2390
|
+
search_placeholder: "Search by status, date, user, or summary...",
|
|
2391
|
+
search_entries_placeholder: "Search entries...",
|
|
2392
|
+
no_sessions: "No activity logs found.",
|
|
2393
|
+
no_entries: "No log entries found.",
|
|
2394
|
+
export_logs: "Export logs",
|
|
2395
|
+
clear_logs: "Clear logs",
|
|
2396
|
+
clear_logs_confirm: "Are you sure you want to clear all activity logs? This action cannot be undone.",
|
|
2397
|
+
clear_logs_success: "Activity logs cleared successfully.",
|
|
2398
|
+
back_to_list: "Back to Activity Logs",
|
|
2399
|
+
session_detail: "Session Detail",
|
|
2400
|
+
status: "Status",
|
|
2401
|
+
started_at: "Started at",
|
|
2402
|
+
finished_at: "Finished at",
|
|
2403
|
+
initiated_by: "Initiated by",
|
|
2404
|
+
summary: "Summary",
|
|
2405
|
+
duration: "Duration",
|
|
2406
|
+
entries_count: "Entries",
|
|
2407
|
+
status_in_progress: "In Progress",
|
|
2408
|
+
status_completed: "Completed",
|
|
2409
|
+
status_failed: "Failed",
|
|
2410
|
+
close: "Close",
|
|
2411
|
+
clear: "Clear",
|
|
2412
|
+
date_from: "From",
|
|
2413
|
+
date_to: "To",
|
|
2414
|
+
retention_info: "Activity logs are retained for the past year. Older entries are automatically removed."
|
|
2358
2415
|
};
|
|
2359
2416
|
const initI18nParams = () => {
|
|
2360
2417
|
return {
|
|
@@ -2373,13 +2430,14 @@ const initI18nParams = () => {
|
|
|
2373
2430
|
overview: en_overview,
|
|
2374
2431
|
download: en_download,
|
|
2375
2432
|
upload: en_upload,
|
|
2376
|
-
plugin_settings: en_plugin_settings
|
|
2433
|
+
plugin_settings: en_plugin_settings,
|
|
2434
|
+
activity_logs: en_activity_logs
|
|
2377
2435
|
}
|
|
2378
2436
|
}
|
|
2379
2437
|
}
|
|
2380
2438
|
};
|
|
2381
2439
|
};
|
|
2382
|
-
instance.use(initReactI18next).init(initI18nParams());
|
|
2440
|
+
void instance.use(initReactI18next).init(initI18nParams());
|
|
2383
2441
|
export {
|
|
2384
2442
|
instance as default
|
|
2385
2443
|
};
|
|
@@ -6447,7 +6447,7 @@ const ComboboxCreateItem = React__namespace.forwardRef((props, ref) => {
|
|
|
6447
6447
|
);
|
|
6448
6448
|
});
|
|
6449
6449
|
ComboboxCreateItem.displayName = "ComboboxCreateItem";
|
|
6450
|
-
const Root$1 = Combobox$1;
|
|
6450
|
+
const Root$1$1 = Combobox$1;
|
|
6451
6451
|
const Trigger$1 = ComboboxTrigger;
|
|
6452
6452
|
const TextInput$2 = ComboxboxTextInput;
|
|
6453
6453
|
const Icon$1 = ComboboxIcon;
|
|
@@ -6479,7 +6479,7 @@ const Combobox$1$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.define
|
|
|
6479
6479
|
ItemText: ItemText$1,
|
|
6480
6480
|
NoValueFound,
|
|
6481
6481
|
Portal: Portal$1$1,
|
|
6482
|
-
Root: Root$1,
|
|
6482
|
+
Root: Root$1$1,
|
|
6483
6483
|
TextInput: TextInput$2,
|
|
6484
6484
|
Trigger: Trigger$1,
|
|
6485
6485
|
Viewport: Viewport$1$1
|
|
@@ -7624,11 +7624,11 @@ const toggleArrayValue = (value, array = []) => {
|
|
|
7624
7624
|
return [...array.slice(0, index2), ...array.slice(index2 + 1)];
|
|
7625
7625
|
};
|
|
7626
7626
|
const Root$2 = Select;
|
|
7627
|
-
const Trigger = SelectTrigger$1;
|
|
7627
|
+
const Trigger$2 = SelectTrigger$1;
|
|
7628
7628
|
const Value$1 = SelectValue$1;
|
|
7629
7629
|
const Icon = SelectIcon;
|
|
7630
7630
|
const Portal$2 = SelectPortal;
|
|
7631
|
-
const Content = SelectContent$1;
|
|
7631
|
+
const Content$2 = SelectContent$1;
|
|
7632
7632
|
const Viewport$4 = SelectViewport$1;
|
|
7633
7633
|
const Group = SelectGroup;
|
|
7634
7634
|
const Label$1 = SelectLabel;
|
|
@@ -7642,7 +7642,7 @@ const Arrow = SelectArrow;
|
|
|
7642
7642
|
const Select$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7643
7643
|
__proto__: null,
|
|
7644
7644
|
Arrow,
|
|
7645
|
-
Content,
|
|
7645
|
+
Content: Content$2,
|
|
7646
7646
|
Group,
|
|
7647
7647
|
Icon,
|
|
7648
7648
|
Item: Item$3,
|
|
@@ -7670,7 +7670,7 @@ const Select$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
|
|
|
7670
7670
|
SelectValue: SelectValue$1,
|
|
7671
7671
|
SelectViewport: SelectViewport$1,
|
|
7672
7672
|
Separator,
|
|
7673
|
-
Trigger,
|
|
7673
|
+
Trigger: Trigger$2,
|
|
7674
7674
|
Value: Value$1,
|
|
7675
7675
|
Viewport: Viewport$4,
|
|
7676
7676
|
createSelectScope
|
|
@@ -8141,7 +8141,8 @@ const SvgArrowLeft = ({
|
|
|
8141
8141
|
const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
|
|
8142
8142
|
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M28.5 16a1.5 1.5 0 0 1-1.5 1.5H8.625l6.44 6.439a1.502 1.502 0 1 1-2.125 2.125l-9-9a1.5 1.5 0 0 1 0-2.125l9-9a1.503 1.503 0 0 1 2.125 2.125L8.625 14.5H27a1.5 1.5 0 0 1 1.5 1.5" }) });
|
|
8143
8143
|
};
|
|
8144
|
-
React.forwardRef(SvgArrowLeft);
|
|
8144
|
+
const ForwardRef$56 = React.forwardRef(SvgArrowLeft);
|
|
8145
|
+
const ForwardRef$57 = ForwardRef$56;
|
|
8145
8146
|
const SvgArrowRight = ({
|
|
8146
8147
|
fill: fillProp = "currentColor",
|
|
8147
8148
|
stroke: strokeProp,
|
|
@@ -8299,7 +8300,8 @@ const SvgCaretUp = ({
|
|
|
8299
8300
|
const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
|
|
8300
8301
|
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M26.924 20.383A1 1 0 0 1 26 21H6a1 1 0 0 1-.708-1.707l10-10a1 1 0 0 1 1.415 0l10 10a1 1 0 0 1 .217 1.09" }) });
|
|
8301
8302
|
};
|
|
8302
|
-
React.forwardRef(SvgCaretUp);
|
|
8303
|
+
const ForwardRef$4K = React.forwardRef(SvgCaretUp);
|
|
8304
|
+
const ForwardRef$4L = ForwardRef$4K;
|
|
8303
8305
|
const SvgCast = ({
|
|
8304
8306
|
fill: fillProp = "currentColor",
|
|
8305
8307
|
stroke: strokeProp,
|
|
@@ -8486,7 +8488,8 @@ const SvgClockCounterClockwise = ({
|
|
|
8486
8488
|
const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
|
|
8487
8489
|
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M28 16a12 12 0 0 1-20.236 8.728 1.002 1.002 0 0 1 1.375-1.456 10 10 0 1 0-.21-14.343c-.441.446-.857.885-1.26 1.321l2.039 2.043A1 1 0 0 1 9 14H4a1 1 0 0 1-1-1V8a1 1 0 0 1 1.707-.707L6.25 8.838c.402-.437.817-.875 1.258-1.32A12 12 0 0 1 28 16M16 9a1 1 0 0 0-1 1v6a1 1 0 0 0 .485.858l5 3a.999.999 0 0 0 1.486-1.1 1 1 0 0 0-.456-.616L17 15.434V10a1 1 0 0 0-1-1" }) });
|
|
8488
8490
|
};
|
|
8489
|
-
React.forwardRef(SvgClockCounterClockwise);
|
|
8491
|
+
const ForwardRef$4i = React.forwardRef(SvgClockCounterClockwise);
|
|
8492
|
+
const ForwardRef$4j = ForwardRef$4i;
|
|
8490
8493
|
const SvgCloud = ({
|
|
8491
8494
|
fill: fillProp = "currentColor",
|
|
8492
8495
|
stroke: strokeProp,
|
|
@@ -9313,7 +9316,8 @@ const SvgLink = ({
|
|
|
9313
9316
|
const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
|
|
9314
9317
|
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17.046 23.441a1.5 1.5 0 0 1 0 2.125l-.742.743a7.502 7.502 0 1 1-10.61-10.61l3.015-3.014A7.5 7.5 0 0 1 19 12.375a1.506 1.506 0 0 1-2 2.25 4.5 4.5 0 0 0-6.171.184l-3.013 3.01a4.5 4.5 0 0 0 6.365 6.365l.743-.743a1.5 1.5 0 0 1 2.122 0m9.26-17.75a7.51 7.51 0 0 0-10.61 0l-.742.743a1.503 1.503 0 1 0 2.125 2.125l.742-.743a4.5 4.5 0 0 1 6.365 6.365l-3.014 3.015a4.5 4.5 0 0 1-6.172.179 1.506 1.506 0 1 0-2 2.25 7.5 7.5 0 0 0 10.288-.304l3.014-3.014a7.51 7.51 0 0 0 .004-10.613z" }) });
|
|
9315
9318
|
};
|
|
9316
|
-
React.forwardRef(SvgLink);
|
|
9319
|
+
const ForwardRef$2k = React.forwardRef(SvgLink);
|
|
9320
|
+
const ForwardRef$2l = ForwardRef$2k;
|
|
9317
9321
|
const SvgList = ({
|
|
9318
9322
|
fill: fillProp = "currentColor",
|
|
9319
9323
|
stroke: strokeProp,
|
|
@@ -10166,7 +10170,8 @@ const SvgTrash = ({
|
|
|
10166
10170
|
const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
|
|
10167
10171
|
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M27 6h-5V5a3 3 0 0 0-3-3h-6a3 3 0 0 0-3 3v1H5a1 1 0 0 0 0 2h1v18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8h1a1 1 0 1 0 0-2M14 21a1 1 0 0 1-2 0v-8a1 1 0 0 1 2 0zm6 0a1 1 0 0 1-2 0v-8a1 1 0 0 1 2 0zm0-15h-8V5a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1z" }) });
|
|
10168
10172
|
};
|
|
10169
|
-
React.forwardRef(SvgTrash);
|
|
10173
|
+
const ForwardRef$i = React.forwardRef(SvgTrash);
|
|
10174
|
+
const ForwardRef$j = ForwardRef$i;
|
|
10170
10175
|
const SvgTyphoon = ({
|
|
10171
10176
|
fill: fillProp = "currentColor",
|
|
10172
10177
|
stroke: strokeProp,
|
|
@@ -44292,7 +44297,7 @@ lodash.exports;
|
|
|
44292
44297
|
}
|
|
44293
44298
|
}).call(_commonjsHelpers.commonjsGlobal);
|
|
44294
44299
|
})(lodash, lodash.exports);
|
|
44295
|
-
lodash.exports;
|
|
44300
|
+
var lodashExports = lodash.exports;
|
|
44296
44301
|
const createContext = (rootComponentName, defaultContext) => {
|
|
44297
44302
|
const Context = React__namespace.createContext(defaultContext);
|
|
44298
44303
|
const Provider2 = (props) => {
|
|
@@ -49482,7 +49487,13 @@ function useControllableState({
|
|
|
49482
49487
|
}
|
|
49483
49488
|
const PaginationContext = React__namespace.createContext({ activePage: 1, pageCount: 1 });
|
|
49484
49489
|
const usePagination = () => React__namespace.useContext(PaginationContext);
|
|
49485
|
-
|
|
49490
|
+
const Pagination = ({ children, label = "Pagination", activePage, pageCount }) => {
|
|
49491
|
+
const context = React__namespace.useMemo(() => ({ activePage, pageCount }), [activePage, pageCount]);
|
|
49492
|
+
return /* @__PURE__ */ jsxRuntime.jsx(PaginationContext.Provider, { value: context, children: /* @__PURE__ */ jsxRuntime.jsx(Box, { "aria-label": label, tag: "nav", children: /* @__PURE__ */ jsxRuntime.jsx(Flex, { tag: "ol", gap: 1, children: React__namespace.Children.map(children, (child, index2) => {
|
|
49493
|
+
return /* @__PURE__ */ jsxRuntime.jsx("li", { children: child }, index2);
|
|
49494
|
+
}) }) }) });
|
|
49495
|
+
};
|
|
49496
|
+
const PreviousLink = forwardRef(
|
|
49486
49497
|
({ children, ...props }, ref) => {
|
|
49487
49498
|
const { activePage } = usePagination();
|
|
49488
49499
|
const disabled = activePage === 1;
|
|
@@ -49492,7 +49503,7 @@ forwardRef(
|
|
|
49492
49503
|
] });
|
|
49493
49504
|
}
|
|
49494
49505
|
);
|
|
49495
|
-
forwardRef(
|
|
49506
|
+
const NextLink = forwardRef(
|
|
49496
49507
|
({ children, ...props }, ref) => {
|
|
49497
49508
|
const { activePage, pageCount } = usePagination();
|
|
49498
49509
|
const disabled = activePage === pageCount;
|
|
@@ -49529,7 +49540,7 @@ const ActionLinkWrapper = styled.styled(LinkWrapper)`
|
|
|
49529
49540
|
pointer-events: none;
|
|
49530
49541
|
` : void 0}
|
|
49531
49542
|
`;
|
|
49532
|
-
forwardRef(
|
|
49543
|
+
const PageLink = forwardRef(
|
|
49533
49544
|
({ number: number2, children, ...props }, ref) => {
|
|
49534
49545
|
const { activePage } = usePagination();
|
|
49535
49546
|
const isActive = activePage === number2;
|
|
@@ -49547,6 +49558,10 @@ const PageLinkWrapper = styled.styled(LinkWrapper)`
|
|
|
49547
49558
|
box-shadow: ${({ theme: theme2 }) => theme2.shadows.filterShadow};
|
|
49548
49559
|
}
|
|
49549
49560
|
`;
|
|
49561
|
+
const Dots = ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsxs(Box, { ...props, children: [
|
|
49562
|
+
/* @__PURE__ */ jsxRuntime.jsx(VisuallyHidden, { children }),
|
|
49563
|
+
/* @__PURE__ */ jsxRuntime.jsx(Typography, { "aria-hidden": true, lineHeight: "revert", textColor: "neutral800", variant: "pi", children: "…" })
|
|
49564
|
+
] });
|
|
49550
49565
|
React__namespace.forwardRef((props, forwardedRef) => {
|
|
49551
49566
|
return /* @__PURE__ */ jsxRuntime.jsx($cb5cc270b50c6fcd$export$41fb9f06171c75f4, { ...props, asChild: true, ref: forwardedRef });
|
|
49552
49567
|
});
|
|
@@ -50557,7 +50572,7 @@ const LabelTypography = styled.styled(Typography)`
|
|
|
50557
50572
|
}
|
|
50558
50573
|
`;
|
|
50559
50574
|
const [TabsProvider, useTabs] = createContext("Tabs");
|
|
50560
|
-
React__namespace.forwardRef(
|
|
50575
|
+
const Root$1 = React__namespace.forwardRef(
|
|
50561
50576
|
({ disabled = false, variant: variant2 = "regular", hasError, ...props }, forwardedRef) => {
|
|
50562
50577
|
return /* @__PURE__ */ jsxRuntime.jsx(TabsProvider, { disabled, hasError, variant: variant2, children: /* @__PURE__ */ jsxRuntime.jsx(TabsRoot, { ref: forwardedRef, ...props }) });
|
|
50563
50578
|
}
|
|
@@ -50566,7 +50581,7 @@ const TabsRoot = styled.styled($69cb30bb0017df05$export$be92b6f5f03c0fe9)`
|
|
|
50566
50581
|
width: 100%;
|
|
50567
50582
|
position: relative;
|
|
50568
50583
|
`;
|
|
50569
|
-
React__namespace.forwardRef((props, forwardedRef) => {
|
|
50584
|
+
const List = React__namespace.forwardRef((props, forwardedRef) => {
|
|
50570
50585
|
const { variant: variant2 } = useTabs("List");
|
|
50571
50586
|
return /* @__PURE__ */ jsxRuntime.jsx(TabsList, { ref: forwardedRef, ...props, $variant: variant2 });
|
|
50572
50587
|
});
|
|
@@ -50576,7 +50591,7 @@ const TabsList = styled.styled($69cb30bb0017df05$export$54c2e3dc7acea9f5)`
|
|
|
50576
50591
|
position: relative;
|
|
50577
50592
|
z-index: 0;
|
|
50578
50593
|
`;
|
|
50579
|
-
React__namespace.forwardRef(
|
|
50594
|
+
const Trigger = React__namespace.forwardRef(
|
|
50580
50595
|
({ children, disabled: disabledProp, ...props }, forwardedRef) => {
|
|
50581
50596
|
const { disabled: disabledContext, variant: variant2, hasError } = useTabs("Trigger");
|
|
50582
50597
|
const isDisabled = disabledContext === true || disabledContext === props.value || disabledProp;
|
|
@@ -50654,7 +50669,7 @@ const TabsTrigger = styled.styled($69cb30bb0017df05$export$41fb9f06171c75f4)`
|
|
|
50654
50669
|
color: ${(props) => props.theme.colors.neutral400};
|
|
50655
50670
|
}
|
|
50656
50671
|
`;
|
|
50657
|
-
React__namespace.forwardRef((props, forwardedRef) => {
|
|
50672
|
+
const Content = React__namespace.forwardRef((props, forwardedRef) => {
|
|
50658
50673
|
const { variant: variant2 } = useTabs("Content");
|
|
50659
50674
|
return /* @__PURE__ */ jsxRuntime.jsx(TabsContent, { $variant: variant2, ref: forwardedRef, ...props });
|
|
50660
50675
|
});
|
|
@@ -50671,6 +50686,13 @@ const TabsContent = styled.styled($69cb30bb0017df05$export$7c6e2c02157bb7d2)`
|
|
|
50671
50686
|
}
|
|
50672
50687
|
}}
|
|
50673
50688
|
`;
|
|
50689
|
+
const Tabs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
50690
|
+
__proto__: null,
|
|
50691
|
+
Content,
|
|
50692
|
+
List,
|
|
50693
|
+
Root: Root$1,
|
|
50694
|
+
Trigger
|
|
50695
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
50674
50696
|
const TableContainer = styled.styled(Box)`
|
|
50675
50697
|
overflow: hidden;
|
|
50676
50698
|
border: 1px solid ${({ theme: theme2 }) => theme2.colors.neutral150};
|
|
@@ -51080,21 +51102,35 @@ exports.Alert = Alert;
|
|
|
51080
51102
|
exports.Box = Box;
|
|
51081
51103
|
exports.Button = Button;
|
|
51082
51104
|
exports.CheckboxImpl = CheckboxImpl;
|
|
51105
|
+
exports.DatePicker$1 = DatePicker$1;
|
|
51083
51106
|
exports.DesignSystemProvider = DesignSystemProvider;
|
|
51084
51107
|
exports.Dialog = Dialog;
|
|
51085
51108
|
exports.Divider = Divider;
|
|
51109
|
+
exports.Dots = Dots;
|
|
51086
51110
|
exports.Field = Field;
|
|
51087
51111
|
exports.Flex = Flex;
|
|
51088
51112
|
exports.ForwardRef$2H = ForwardRef$2H;
|
|
51113
|
+
exports.ForwardRef$2l = ForwardRef$2l;
|
|
51114
|
+
exports.ForwardRef$2x = ForwardRef$2x;
|
|
51115
|
+
exports.ForwardRef$3 = ForwardRef$3;
|
|
51089
51116
|
exports.ForwardRef$3P = ForwardRef$3P;
|
|
51117
|
+
exports.ForwardRef$4L = ForwardRef$4L;
|
|
51118
|
+
exports.ForwardRef$4N = ForwardRef$4N;
|
|
51119
|
+
exports.ForwardRef$4j = ForwardRef$4j;
|
|
51090
51120
|
exports.ForwardRef$4z = ForwardRef$4z;
|
|
51121
|
+
exports.ForwardRef$57 = ForwardRef$57;
|
|
51091
51122
|
exports.ForwardRef$L = ForwardRef$L;
|
|
51092
51123
|
exports.ForwardRef$d = ForwardRef$d;
|
|
51124
|
+
exports.ForwardRef$j = ForwardRef$j;
|
|
51093
51125
|
exports.Grid = Grid;
|
|
51094
51126
|
exports.Link = Link;
|
|
51095
51127
|
exports.Loader = Loader;
|
|
51096
51128
|
exports.MultiSelect = MultiSelect;
|
|
51097
51129
|
exports.MultiSelectOption = MultiSelectOption;
|
|
51130
|
+
exports.NextLink = NextLink;
|
|
51131
|
+
exports.PageLink = PageLink;
|
|
51132
|
+
exports.Pagination = Pagination;
|
|
51133
|
+
exports.PreviousLink = PreviousLink;
|
|
51098
51134
|
exports.SingleSelect = SingleSelect;
|
|
51099
51135
|
exports.SingleSelectOption = SingleSelectOption;
|
|
51100
51136
|
exports.SubNav = SubNav;
|
|
@@ -51103,7 +51139,9 @@ exports.SubNavLink = SubNavLink;
|
|
|
51103
51139
|
exports.SubNavSection = SubNavSection;
|
|
51104
51140
|
exports.SubNavSections = SubNavSections;
|
|
51105
51141
|
exports.SwitchImpl = SwitchImpl;
|
|
51142
|
+
exports.Tabs = Tabs;
|
|
51106
51143
|
exports.Toggle = Toggle;
|
|
51107
51144
|
exports.Typography = Typography;
|
|
51108
51145
|
exports.darkTheme = darkTheme;
|
|
51109
51146
|
exports.lightTheme = lightTheme;
|
|
51147
|
+
exports.lodashExports = lodashExports;
|
|
@@ -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-
|
|
61
|
+
const { default: LocalazyPanel } = await import("./LocalazyPanel-B-0HBTL_.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-
|
|
67
|
+
const { default: LocalazyStatusColumn } = await import("./LocalazyStatusColumn-CpO3yccG.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-
|
|
100
|
+
await import("./i18n-QelOdIB2.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-
|
|
115
|
+
const { default: EntryExclusionService } = await import("./entry-exclusion-service-Dm5_iP7I.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-
|
|
146
|
+
const { default: EntryExclusionService } = await import("./entry-exclusion-service-Dm5_iP7I.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-
|
|
182
|
+
Component: () => import("./LocalazyApp-Czkb4s5J.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-
|
|
203
|
+
Component: () => import("./LocalazyGlobalSettings-DWMBqlN4.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-
|
|
214
|
+
Component: () => import("./LocalazyContentTransferSetup-Dx0Z6DXc.mjs"),
|
|
215
215
|
permissions: []
|
|
216
216
|
}
|
|
217
217
|
]
|
|
@@ -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-nBOpQo5B.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-cGsUDMlX.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-CAsbU4pi.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-Rf4Tr0zW.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-Rf4Tr0zW.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-
|
|
207
|
+
Component: () => Promise.resolve().then(() => require("./LocalazyApp-DIcO748C.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-DjrXGVxl.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-DAyZdwi9.js")),
|
|
240
240
|
permissions: []
|
|
241
241
|
}
|
|
242
242
|
]
|