@localazy/strapi-plugin 1.0.10 → 1.1.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.
- package/dist/_chunks/{FetchIdentity-W-xq7F8q.js → FetchIdentity-DfV1OWMB.js} +9 -1
- package/dist/_chunks/{FetchIdentity-B9hYlR1E.mjs → FetchIdentity-lkoWjYjn.mjs} +9 -1
- package/dist/_chunks/{LanguagesSelector-Cq9JuASq.js → LanguagesSelector-BmWfSZq6.js} +3 -3
- package/dist/_chunks/{LanguagesSelector-zGN0icsS.mjs → LanguagesSelector-vSZvVGUT.mjs} +3 -3
- package/dist/_chunks/{LocalazyApp-CTMwUa44.js → LocalazyApp-BUfYt7UL.js} +91 -27
- package/dist/_chunks/{LocalazyApp-CxQTCwbi.mjs → LocalazyApp-st8mwIbM.mjs} +91 -27
- package/dist/_chunks/{LocalazyContentTransferSetup-DhSv2HJo.js → LocalazyContentTransferSetup-BjLBgqFO.js} +5 -5
- package/dist/_chunks/{LocalazyContentTransferSetup-DOHIserI.mjs → LocalazyContentTransferSetup-D2YvBYs_.mjs} +5 -5
- package/dist/_chunks/{LocalazyGlobalSettings-DCFs8AA1.mjs → LocalazyGlobalSettings-DHCU2_RH.mjs} +22 -7
- package/dist/_chunks/{LocalazyGlobalSettings-D7fyS9ih.js → LocalazyGlobalSettings-Do5tOyhB.js} +22 -7
- package/dist/_chunks/{LocalazyPanel-CDgAmxqx.js → LocalazyPanel-BDxUI_RH.js} +3 -3
- package/dist/_chunks/{LocalazyPanel-N7__R7p9.mjs → LocalazyPanel-CulgT97p.mjs} +3 -3
- package/dist/_chunks/{LocalazyStatusColumn-CuGDwwZ8.mjs → LocalazyStatusColumn-DoTWD2eL.mjs} +2 -2
- package/dist/_chunks/{LocalazyStatusColumn-CTjBaBqb.js → LocalazyStatusColumn-Dpwoc5Ig.js} +2 -2
- package/dist/_chunks/{RequireLocalazyAuth-BDtwyPLH.js → RequireLocalazyAuth-BzM7C6Yw.js} +12 -5
- package/dist/_chunks/{RequireLocalazyAuth-BmimcHYI.mjs → RequireLocalazyAuth-CqHrZ1Ah.mjs} +12 -5
- package/dist/_chunks/{entry-exclusion-service-BZkbrd3B.js → entry-exclusion-service-Cvu8PQUI.js} +1 -1
- package/dist/_chunks/{entry-exclusion-service-COp5ZXUY.mjs → entry-exclusion-service-DWFMKgkA.mjs} +1 -1
- package/dist/_chunks/{has-model-changed-K3Z8BNhV.mjs → has-model-changed-CWdMNRB1.mjs} +2 -2
- package/dist/_chunks/{has-model-changed-BXqyvCRA.js → has-model-changed-D1f6is8z.js} +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-BtofOkFA.js → index-BgPI2yQD.js} +8 -8
- package/dist/_chunks/{index-B_KJR1Xk.mjs → index-CtvR-R3c.mjs} +8 -8
- package/dist/_chunks/{strapi-api-base-S2_cFlNu.js → strapi-api-base-CN6q5tPh.js} +1 -1
- package/dist/_chunks/{strapi-api-base-BfIxEUh2.mjs → strapi-api-base-CturxOqD.mjs} +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/@common/services/product-analytics-service.d.ts +1 -0
- 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 +4643 -4394
- package/dist/server/index.mjs +4642 -4393
- package/dist/server/src/controllers/index.d.ts +5 -4
- package/dist/server/src/controllers/localazy-auth-controller.d.ts +1 -1
- package/dist/server/src/controllers/localazy-project-controller.d.ts +1 -1
- package/dist/server/src/controllers/localazy-user-controller.d.ts +1 -1
- package/dist/server/src/controllers/plugin-settings-controller.d.ts +2 -1
- package/dist/server/src/core/index.d.ts +9 -5
- package/dist/server/src/db/model/sync-cursor.d.ts +9 -0
- package/dist/server/src/destroy.d.ts +1 -1
- package/dist/server/src/index.d.ts +15 -10
- package/dist/server/src/services/helpers/plugin-settings-service-helper.d.ts +1 -0
- package/dist/server/src/services/index.d.ts +9 -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/dist/server/src/services/strapi-service.d.ts +1 -0
- package/dist/server/src/utils/get-character-limits-metadata.d.ts +13 -0
- package/dist/server/src/utils/get-picked-flatten-keys-for-hook-entry.d.ts +3 -1
- package/package.json +6 -5
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
3
|
import { useLocation } from "react-router-dom";
|
|
4
|
-
import { T as Typography, a as Toggle } from "./index-
|
|
5
|
-
import EntryExclusionService from "./entry-exclusion-service-
|
|
6
|
-
import "./i18n-
|
|
4
|
+
import { T as Typography, a as Toggle } from "./index-BIHAiJnE.mjs";
|
|
5
|
+
import EntryExclusionService from "./entry-exclusion-service-DWFMKgkA.mjs";
|
|
6
|
+
import "./i18n-Bga-GG_Z.mjs";
|
|
7
7
|
import { u as useTranslation } from "./useTranslation-CZQ4lU1m.mjs";
|
|
8
8
|
const LocalazyPanel = () => {
|
|
9
9
|
const { t } = useTranslation();
|
package/dist/_chunks/{LocalazyStatusColumn-CuGDwwZ8.mjs → LocalazyStatusColumn-DoTWD2eL.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
|
-
import EntryExclusionService from "./entry-exclusion-service-
|
|
4
|
-
import "./i18n-
|
|
3
|
+
import EntryExclusionService from "./entry-exclusion-service-DWFMKgkA.mjs";
|
|
4
|
+
import "./i18n-Bga-GG_Z.mjs";
|
|
5
5
|
import { u as useTranslation } from "./useTranslation-CZQ4lU1m.mjs";
|
|
6
6
|
const LocalazyStatusColumn = ({ data, model }) => {
|
|
7
7
|
const { t } = useTranslation();
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const React = require("react");
|
|
5
|
-
const entryExclusionService = require("./entry-exclusion-service-
|
|
6
|
-
require("./i18n-
|
|
5
|
+
const entryExclusionService = require("./entry-exclusion-service-Cvu8PQUI.js");
|
|
6
|
+
require("./i18n-DaBjUC3Y.js");
|
|
7
7
|
const useTranslation = require("./useTranslation-BdIl-aLe.js");
|
|
8
8
|
const LocalazyStatusColumn = ({ data, model }) => {
|
|
9
9
|
const { t } = useTranslation.useTranslation();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const FetchIdentity = require("./FetchIdentity-
|
|
2
|
+
const FetchIdentity = require("./FetchIdentity-DfV1OWMB.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-BgPI2yQD.js");
|
|
5
|
+
const index = require("./index-BSNW1ypR.js");
|
|
6
6
|
const admin = require("@strapi/strapi/admin");
|
|
7
|
-
require("./i18n-
|
|
7
|
+
require("./i18n-DaBjUC3Y.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;
|
|
@@ -213,7 +213,14 @@ const RequireLocalazyAuth = ({ children }) => {
|
|
|
213
213
|
const { t } = useTranslation.useTranslation();
|
|
214
214
|
if (!isFetchingIdentity && !isLoggedIn) {
|
|
215
215
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
216
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
216
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
217
|
+
admin.Layouts.Header,
|
|
218
|
+
{
|
|
219
|
+
title: t("common.localazy_plugin"),
|
|
220
|
+
subtitle: t("common.localazy_plugin_description"),
|
|
221
|
+
as: "h2"
|
|
222
|
+
}
|
|
223
|
+
),
|
|
217
224
|
/* @__PURE__ */ jsxRuntime.jsxs(index.Box, { marginLeft: 10, marginRight: 10, background: "neutral0", padding: 7, hasRadius: true, shadow: "tableShadow", children: [
|
|
218
225
|
/* @__PURE__ */ jsxRuntime.jsx(index.Typography, { variant: "epsilon", textColor: "neutral600", children: t("login.you_have_to_own_account_for_the_plugin_to_work_properly") }),
|
|
219
226
|
/* @__PURE__ */ jsxRuntime.jsx(index.Box, { paddingTop: 4, children: /* @__PURE__ */ jsxRuntime.jsx(index.Typography, { variant: "omega", children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: `/admin/plugins/${index$1.PLUGIN_ID}/login`, children: t("login.login_with_localazy") }) }) })
|
|
@@ -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, g as getAllKeys, f as getTag, i as isBuffer, h as Stack, j as isTypedArray, k as isArray, l as isObjectLike, u as useLocalazyIdentity } from "./FetchIdentity-
|
|
1
|
+
import { S as SetCache, a as cacheHas, b as Symbol$1, e as eq, U as Uint8Array, d as setToArray, g as getAllKeys, f as getTag, i as isBuffer, h as Stack, j as isTypedArray, k as isArray, l as isObjectLike, u as useLocalazyIdentity } from "./FetchIdentity-lkoWjYjn.mjs";
|
|
2
2
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
3
|
-
import { P as PLUGIN_ID } from "./index-
|
|
4
|
-
import { e as Box, T as Typography } from "./index-
|
|
3
|
+
import { P as PLUGIN_ID } from "./index-CtvR-R3c.mjs";
|
|
4
|
+
import { e as Box, T as Typography } from "./index-BIHAiJnE.mjs";
|
|
5
5
|
import { Layouts } from "@strapi/strapi/admin";
|
|
6
|
-
import "./i18n-
|
|
6
|
+
import "./i18n-Bga-GG_Z.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;
|
|
@@ -212,7 +212,14 @@ const RequireLocalazyAuth = ({ children }) => {
|
|
|
212
212
|
const { t } = useTranslation();
|
|
213
213
|
if (!isFetchingIdentity && !isLoggedIn) {
|
|
214
214
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
215
|
-
/* @__PURE__ */ jsx(
|
|
215
|
+
/* @__PURE__ */ jsx(
|
|
216
|
+
Layouts.Header,
|
|
217
|
+
{
|
|
218
|
+
title: t("common.localazy_plugin"),
|
|
219
|
+
subtitle: t("common.localazy_plugin_description"),
|
|
220
|
+
as: "h2"
|
|
221
|
+
}
|
|
222
|
+
),
|
|
216
223
|
/* @__PURE__ */ jsxs(Box, { marginLeft: 10, marginRight: 10, background: "neutral0", padding: 7, hasRadius: true, shadow: "tableShadow", children: [
|
|
217
224
|
/* @__PURE__ */ jsx(Typography, { variant: "epsilon", textColor: "neutral600", children: t("login.you_have_to_own_account_for_the_plugin_to_work_properly") }),
|
|
218
225
|
/* @__PURE__ */ jsx(Box, { paddingTop: 4, children: /* @__PURE__ */ jsx(Typography, { variant: "omega", children: /* @__PURE__ */ jsx("a", { href: `/admin/plugins/${PLUGIN_ID}/login`, children: t("login.login_with_localazy") }) }) })
|
package/dist/_chunks/{entry-exclusion-service-BZkbrd3B.js → entry-exclusion-service-Cvu8PQUI.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-CN6q5tPh.js");
|
|
4
4
|
const BASE_PATH = "/entry-exclusion";
|
|
5
5
|
const axiosInstance = strapiApiBase.createStrapiApiAxiosInstance();
|
|
6
6
|
class EntryExclusionService {
|
package/dist/_chunks/{entry-exclusion-service-COp5ZXUY.mjs → entry-exclusion-service-DWFMKgkA.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-
|
|
1
|
+
import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-CturxOqD.mjs";
|
|
2
2
|
const BASE_PATH = "/entry-exclusion";
|
|
3
3
|
const axiosInstance = createStrapiApiAxiosInstance();
|
|
4
4
|
class EntryExclusionService {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { q as castPath, t as toKey, r as Set, d as setToArray, S as SetCache, a as cacheHas, P as PluginSettingsService } from "./FetchIdentity-
|
|
2
|
-
import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-
|
|
1
|
+
import { q as castPath, t as toKey, r as Set, d as setToArray, S as SetCache, a as cacheHas, P as PluginSettingsService } from "./FetchIdentity-lkoWjYjn.mjs";
|
|
2
|
+
import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-CturxOqD.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-DfV1OWMB.js");
|
|
3
|
+
const strapiApiBase = require("./strapi-api-base-CN6q5tPh.js");
|
|
4
4
|
const _commonjsHelpers = require("./_commonjsHelpers-Bc2YnDe1.js");
|
|
5
5
|
function baseGet(object, path) {
|
|
6
6
|
path = FetchIdentity.castPath(path, object);
|
|
@@ -2268,7 +2268,12 @@ const en_download = {
|
|
|
2268
2268
|
ui_languages_info: "Select translations of which languages wil be downloaded from Localazy",
|
|
2269
2269
|
ui_languages_placeholder: "Download all languages",
|
|
2270
2270
|
download_in_progress: "Download in progress: Please do not close or refresh this page if you wish to see the progress information.",
|
|
2271
|
-
to_see_to_progress: "The operation will continue running in the background even if you close the page, but you will lose access to the status report."
|
|
2271
|
+
to_see_to_progress: "The operation will continue running in the background even if you close the page, but you will lose access to the status report.",
|
|
2272
|
+
full_sync: "Full Sync",
|
|
2273
|
+
full_sync_confirm_title: "Full Sync Warning",
|
|
2274
|
+
full_sync_confirm_message: "Full sync will download all translations and may take a significant amount of time depending on project size. Continue?",
|
|
2275
|
+
incremental_download: "Download changes",
|
|
2276
|
+
incremental_disabled_hint: "Run a Full Sync first to enable incremental downloads."
|
|
2272
2277
|
};
|
|
2273
2278
|
const en_upload = {
|
|
2274
2279
|
description: "Upload your content from Strapi to Localazy",
|
|
@@ -2317,6 +2322,8 @@ const en_plugin_settings = {
|
|
|
2317
2322
|
webhook_languages: "Allowed webhook languages",
|
|
2318
2323
|
webhook_languages_info: "Select the languages from Localazy. Translations of selected languages would be downloaded. If no language is selected, all translations will be downloaded.",
|
|
2319
2324
|
webhook_languages_placeholder: "Download all languages",
|
|
2325
|
+
webhook_incremental_sync: "Use incremental sync for webhooks",
|
|
2326
|
+
webhook_incremental_sync_info: "When enabled, webhook-triggered downloads will only fetch recently changed translations. Disable to always perform a full sync via webhook.",
|
|
2320
2327
|
global_settings_saved_successfully: "Global Settings were saved",
|
|
2321
2328
|
/* Content Transfer Setup */
|
|
2322
2329
|
content_transfer_setup: "Content Transfer Setup",
|
|
@@ -2270,7 +2270,12 @@ const en_download = {
|
|
|
2270
2270
|
ui_languages_info: "Select translations of which languages wil be downloaded from Localazy",
|
|
2271
2271
|
ui_languages_placeholder: "Download all languages",
|
|
2272
2272
|
download_in_progress: "Download in progress: Please do not close or refresh this page if you wish to see the progress information.",
|
|
2273
|
-
to_see_to_progress: "The operation will continue running in the background even if you close the page, but you will lose access to the status report."
|
|
2273
|
+
to_see_to_progress: "The operation will continue running in the background even if you close the page, but you will lose access to the status report.",
|
|
2274
|
+
full_sync: "Full Sync",
|
|
2275
|
+
full_sync_confirm_title: "Full Sync Warning",
|
|
2276
|
+
full_sync_confirm_message: "Full sync will download all translations and may take a significant amount of time depending on project size. Continue?",
|
|
2277
|
+
incremental_download: "Download changes",
|
|
2278
|
+
incremental_disabled_hint: "Run a Full Sync first to enable incremental downloads."
|
|
2274
2279
|
};
|
|
2275
2280
|
const en_upload = {
|
|
2276
2281
|
description: "Upload your content from Strapi to Localazy",
|
|
@@ -2319,6 +2324,8 @@ const en_plugin_settings = {
|
|
|
2319
2324
|
webhook_languages: "Allowed webhook languages",
|
|
2320
2325
|
webhook_languages_info: "Select the languages from Localazy. Translations of selected languages would be downloaded. If no language is selected, all translations will be downloaded.",
|
|
2321
2326
|
webhook_languages_placeholder: "Download all languages",
|
|
2327
|
+
webhook_incremental_sync: "Use incremental sync for webhooks",
|
|
2328
|
+
webhook_incremental_sync_info: "When enabled, webhook-triggered downloads will only fetch recently changed translations. Disable to always perform a full sync via webhook.",
|
|
2322
2329
|
global_settings_saved_successfully: "Global Settings were saved",
|
|
2323
2330
|
/* Content Transfer Setup */
|
|
2324
2331
|
content_transfer_setup: "Content Transfer Setup",
|
|
@@ -12120,6 +12120,35 @@ ReactRemoveScroll$2.classNames = RemoveScroll$2.classNames;
|
|
|
12120
12120
|
const $5d3850c4d0b4e6c7$var$DIALOG_NAME = "Dialog";
|
|
12121
12121
|
const [$5d3850c4d0b4e6c7$var$createDialogContext, $5d3850c4d0b4e6c7$export$cc702773b8ea3e41] = $c512c27ab02ef895$export$50c7b4e9d9f19c1($5d3850c4d0b4e6c7$var$DIALOG_NAME);
|
|
12122
12122
|
const [$5d3850c4d0b4e6c7$var$DialogProvider, $5d3850c4d0b4e6c7$var$useDialogContext] = $5d3850c4d0b4e6c7$var$createDialogContext($5d3850c4d0b4e6c7$var$DIALOG_NAME);
|
|
12123
|
+
const $5d3850c4d0b4e6c7$export$3ddf2d174ce01153 = (props) => {
|
|
12124
|
+
const { __scopeDialog, children, open: openProp, defaultOpen, onOpenChange, modal = true } = props;
|
|
12125
|
+
const triggerRef = useRef(null);
|
|
12126
|
+
const contentRef = useRef(null);
|
|
12127
|
+
const [open = false, setOpen] = $71cd76cc60e0454e$export$6f32135080cb4c3({
|
|
12128
|
+
prop: openProp,
|
|
12129
|
+
defaultProp: defaultOpen,
|
|
12130
|
+
onChange: onOpenChange
|
|
12131
|
+
});
|
|
12132
|
+
return /* @__PURE__ */ createElement($5d3850c4d0b4e6c7$var$DialogProvider, {
|
|
12133
|
+
scope: __scopeDialog,
|
|
12134
|
+
triggerRef,
|
|
12135
|
+
contentRef,
|
|
12136
|
+
contentId: $1746a345f3d73bb7$export$f680877a34711e37(),
|
|
12137
|
+
titleId: $1746a345f3d73bb7$export$f680877a34711e37(),
|
|
12138
|
+
descriptionId: $1746a345f3d73bb7$export$f680877a34711e37(),
|
|
12139
|
+
open,
|
|
12140
|
+
onOpenChange: setOpen,
|
|
12141
|
+
onOpenToggle: useCallback(
|
|
12142
|
+
() => setOpen(
|
|
12143
|
+
(prevOpen) => !prevOpen
|
|
12144
|
+
),
|
|
12145
|
+
[
|
|
12146
|
+
setOpen
|
|
12147
|
+
]
|
|
12148
|
+
),
|
|
12149
|
+
modal
|
|
12150
|
+
}, children);
|
|
12151
|
+
};
|
|
12123
12152
|
const $5d3850c4d0b4e6c7$var$TRIGGER_NAME = "DialogTrigger";
|
|
12124
12153
|
const $5d3850c4d0b4e6c7$export$2e1e1122cf0cba88 = /* @__PURE__ */ forwardRef$1((props, forwardedRef) => {
|
|
12125
12154
|
const { __scopeDialog, ...triggerProps } = props;
|
|
@@ -12343,6 +12372,7 @@ const [$5d3850c4d0b4e6c7$export$69b62a49393917d6, $5d3850c4d0b4e6c7$var$useWarni
|
|
|
12343
12372
|
titleName: $5d3850c4d0b4e6c7$var$TITLE_NAME,
|
|
12344
12373
|
docsSlug: "dialog"
|
|
12345
12374
|
});
|
|
12375
|
+
const $5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9 = $5d3850c4d0b4e6c7$export$3ddf2d174ce01153;
|
|
12346
12376
|
const $5d3850c4d0b4e6c7$export$41fb9f06171c75f4 = $5d3850c4d0b4e6c7$export$2e1e1122cf0cba88;
|
|
12347
12377
|
const $5d3850c4d0b4e6c7$export$602eac185826482c = $5d3850c4d0b4e6c7$export$dad7c95542bacce0;
|
|
12348
12378
|
const $5d3850c4d0b4e6c7$export$c6fdb837b070b4ff = $5d3850c4d0b4e6c7$export$bd1d06c79be19e17;
|
|
@@ -12355,6 +12385,13 @@ const [$905f4ae918aab1aa$var$createAlertDialogContext, $905f4ae918aab1aa$export$
|
|
|
12355
12385
|
$5d3850c4d0b4e6c7$export$cc702773b8ea3e41
|
|
12356
12386
|
]);
|
|
12357
12387
|
const $905f4ae918aab1aa$var$useDialogScope = $5d3850c4d0b4e6c7$export$cc702773b8ea3e41();
|
|
12388
|
+
const $905f4ae918aab1aa$export$de466dd8317b0b75 = (props) => {
|
|
12389
|
+
const { __scopeAlertDialog, ...alertDialogProps } = props;
|
|
12390
|
+
const dialogScope = $905f4ae918aab1aa$var$useDialogScope(__scopeAlertDialog);
|
|
12391
|
+
return /* @__PURE__ */ createElement($5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9, _extends({}, dialogScope, alertDialogProps, {
|
|
12392
|
+
modal: true
|
|
12393
|
+
}));
|
|
12394
|
+
};
|
|
12358
12395
|
const $905f4ae918aab1aa$export$6edd7a623ef0f40b = /* @__PURE__ */ forwardRef$1((props, forwardedRef) => {
|
|
12359
12396
|
const { __scopeAlertDialog, ...triggerProps } = props;
|
|
12360
12397
|
const dialogScope = $905f4ae918aab1aa$var$useDialogScope(__scopeAlertDialog);
|
|
@@ -12436,6 +12473,7 @@ const $905f4ae918aab1aa$export$2f67a923571aaea0 = /* @__PURE__ */ forwardRef$1((
|
|
|
12436
12473
|
ref
|
|
12437
12474
|
}));
|
|
12438
12475
|
});
|
|
12476
|
+
const $905f4ae918aab1aa$export$be92b6f5f03c0fe9 = $905f4ae918aab1aa$export$de466dd8317b0b75;
|
|
12439
12477
|
const $905f4ae918aab1aa$export$41fb9f06171c75f4 = $905f4ae918aab1aa$export$6edd7a623ef0f40b;
|
|
12440
12478
|
const $905f4ae918aab1aa$export$602eac185826482c = $905f4ae918aab1aa$export$660f2bfdb986706c;
|
|
12441
12479
|
const $905f4ae918aab1aa$export$c6fdb837b070b4ff = $905f4ae918aab1aa$export$a707a4895ce23256;
|
|
@@ -47257,10 +47295,11 @@ const OptionBox = styled.div`
|
|
|
47257
47295
|
font-weight: bold;
|
|
47258
47296
|
}
|
|
47259
47297
|
`;
|
|
47260
|
-
|
|
47298
|
+
const Root$5 = $905f4ae918aab1aa$export$be92b6f5f03c0fe9;
|
|
47299
|
+
const Trigger$4 = React.forwardRef((props, forwardedRef) => {
|
|
47261
47300
|
return /* @__PURE__ */ jsx($905f4ae918aab1aa$export$41fb9f06171c75f4, { ...props, asChild: true, ref: forwardedRef });
|
|
47262
47301
|
});
|
|
47263
|
-
React.forwardRef((props, forwardedRef) => {
|
|
47302
|
+
const Content$4 = React.forwardRef((props, forwardedRef) => {
|
|
47264
47303
|
return /* @__PURE__ */ jsxs($905f4ae918aab1aa$export$602eac185826482c, { children: [
|
|
47265
47304
|
/* @__PURE__ */ jsx(Overlay$1, {}),
|
|
47266
47305
|
/* @__PURE__ */ jsx(ContentImpl$1, { ref: forwardedRef, ...props })
|
|
@@ -47311,7 +47350,7 @@ const ContentImpl$1 = styled($905f4ae918aab1aa$export$7c6e2c02157bb7d2)`
|
|
|
47311
47350
|
}
|
|
47312
47351
|
}
|
|
47313
47352
|
`;
|
|
47314
|
-
React.forwardRef(({ children, ...restProps }, forwardedRef) => {
|
|
47353
|
+
const Header$1 = React.forwardRef(({ children, ...restProps }, forwardedRef) => {
|
|
47315
47354
|
return /* @__PURE__ */ jsx($905f4ae918aab1aa$export$f99233281efd08a0, { asChild: true, children: /* @__PURE__ */ jsx(Title$1, { tag: "h2", variant: "beta", ref: forwardedRef, padding: 6, fontWeight: "bold", ...restProps, children }) });
|
|
47316
47355
|
});
|
|
47317
47356
|
const Title$1 = styled(Typography)`
|
|
@@ -47319,7 +47358,7 @@ const Title$1 = styled(Typography)`
|
|
|
47319
47358
|
justify-content: center;
|
|
47320
47359
|
border-bottom: solid 1px ${(props) => props.theme.colors.neutral150};
|
|
47321
47360
|
`;
|
|
47322
|
-
React.forwardRef(({ children, icon, ...restProps }, forwardedRef) => {
|
|
47361
|
+
const Body$1 = React.forwardRef(({ children, icon, ...restProps }, forwardedRef) => {
|
|
47323
47362
|
return /* @__PURE__ */ jsx(
|
|
47324
47363
|
Flex,
|
|
47325
47364
|
{
|
|
@@ -47344,19 +47383,31 @@ React.forwardRef(({ children, icon, ...restProps }, forwardedRef) => {
|
|
|
47344
47383
|
const Description = React.forwardRef((props, forwardedRef) => {
|
|
47345
47384
|
return /* @__PURE__ */ jsx($905f4ae918aab1aa$export$393edc798c47379d, { asChild: true, children: /* @__PURE__ */ jsx(Typography, { ref: forwardedRef, variant: "omega", ...props, tag: "p" }) });
|
|
47346
47385
|
});
|
|
47347
|
-
React.forwardRef((props, forwardedRef) => {
|
|
47386
|
+
const Footer$1 = React.forwardRef((props, forwardedRef) => {
|
|
47348
47387
|
return /* @__PURE__ */ jsx(Foot$1, { ref: forwardedRef, gap: 2, padding: 4, justifyContent: "space-between", ...props, tag: "footer" });
|
|
47349
47388
|
});
|
|
47350
47389
|
const Foot$1 = styled(Flex)`
|
|
47351
47390
|
border-top: solid 1px ${(props) => props.theme.colors.neutral150};
|
|
47352
47391
|
flex: 1;
|
|
47353
47392
|
`;
|
|
47354
|
-
React.forwardRef((props, forwardedRef) => {
|
|
47393
|
+
const Cancel = React.forwardRef((props, forwardedRef) => {
|
|
47355
47394
|
return /* @__PURE__ */ jsx($905f4ae918aab1aa$export$848c9b7ead0df967, { ...props, asChild: true, ref: forwardedRef });
|
|
47356
47395
|
});
|
|
47357
|
-
React.forwardRef((props, forwardedRef) => {
|
|
47396
|
+
const Action = React.forwardRef((props, forwardedRef) => {
|
|
47358
47397
|
return /* @__PURE__ */ jsx($905f4ae918aab1aa$export$e19cd5f9376f8cee, { ...props, asChild: true, ref: forwardedRef });
|
|
47359
47398
|
});
|
|
47399
|
+
const Dialog = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
47400
|
+
__proto__: null,
|
|
47401
|
+
Action,
|
|
47402
|
+
Body: Body$1,
|
|
47403
|
+
Cancel,
|
|
47404
|
+
Content: Content$4,
|
|
47405
|
+
Description,
|
|
47406
|
+
Footer: Footer$1,
|
|
47407
|
+
Header: Header$1,
|
|
47408
|
+
Root: Root$5,
|
|
47409
|
+
Trigger: Trigger$4
|
|
47410
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
47360
47411
|
function useDateFormatter(locale, options) {
|
|
47361
47412
|
const lastOptions = React.useRef(null);
|
|
47362
47413
|
if (options && lastOptions.current && isEqual(options, lastOptions.current)) {
|
|
@@ -51037,5 +51088,6 @@ export {
|
|
|
51037
51088
|
ForwardRef$L as r,
|
|
51038
51089
|
darkTheme as s,
|
|
51039
51090
|
lightTheme as t,
|
|
51040
|
-
|
|
51091
|
+
Dialog as u,
|
|
51092
|
+
DesignSystemProvider as v
|
|
51041
51093
|
};
|
|
@@ -12138,6 +12138,35 @@ ReactRemoveScroll$2.classNames = RemoveScroll$2.classNames;
|
|
|
12138
12138
|
const $5d3850c4d0b4e6c7$var$DIALOG_NAME = "Dialog";
|
|
12139
12139
|
const [$5d3850c4d0b4e6c7$var$createDialogContext, $5d3850c4d0b4e6c7$export$cc702773b8ea3e41] = $c512c27ab02ef895$export$50c7b4e9d9f19c1($5d3850c4d0b4e6c7$var$DIALOG_NAME);
|
|
12140
12140
|
const [$5d3850c4d0b4e6c7$var$DialogProvider, $5d3850c4d0b4e6c7$var$useDialogContext] = $5d3850c4d0b4e6c7$var$createDialogContext($5d3850c4d0b4e6c7$var$DIALOG_NAME);
|
|
12141
|
+
const $5d3850c4d0b4e6c7$export$3ddf2d174ce01153 = (props) => {
|
|
12142
|
+
const { __scopeDialog, children, open: openProp, defaultOpen, onOpenChange, modal = true } = props;
|
|
12143
|
+
const triggerRef = React.useRef(null);
|
|
12144
|
+
const contentRef = React.useRef(null);
|
|
12145
|
+
const [open = false, setOpen] = $71cd76cc60e0454e$export$6f32135080cb4c3({
|
|
12146
|
+
prop: openProp,
|
|
12147
|
+
defaultProp: defaultOpen,
|
|
12148
|
+
onChange: onOpenChange
|
|
12149
|
+
});
|
|
12150
|
+
return /* @__PURE__ */ React.createElement($5d3850c4d0b4e6c7$var$DialogProvider, {
|
|
12151
|
+
scope: __scopeDialog,
|
|
12152
|
+
triggerRef,
|
|
12153
|
+
contentRef,
|
|
12154
|
+
contentId: $1746a345f3d73bb7$export$f680877a34711e37(),
|
|
12155
|
+
titleId: $1746a345f3d73bb7$export$f680877a34711e37(),
|
|
12156
|
+
descriptionId: $1746a345f3d73bb7$export$f680877a34711e37(),
|
|
12157
|
+
open,
|
|
12158
|
+
onOpenChange: setOpen,
|
|
12159
|
+
onOpenToggle: React.useCallback(
|
|
12160
|
+
() => setOpen(
|
|
12161
|
+
(prevOpen) => !prevOpen
|
|
12162
|
+
),
|
|
12163
|
+
[
|
|
12164
|
+
setOpen
|
|
12165
|
+
]
|
|
12166
|
+
),
|
|
12167
|
+
modal
|
|
12168
|
+
}, children);
|
|
12169
|
+
};
|
|
12141
12170
|
const $5d3850c4d0b4e6c7$var$TRIGGER_NAME = "DialogTrigger";
|
|
12142
12171
|
const $5d3850c4d0b4e6c7$export$2e1e1122cf0cba88 = /* @__PURE__ */ React.forwardRef((props, forwardedRef) => {
|
|
12143
12172
|
const { __scopeDialog, ...triggerProps } = props;
|
|
@@ -12361,6 +12390,7 @@ const [$5d3850c4d0b4e6c7$export$69b62a49393917d6, $5d3850c4d0b4e6c7$var$useWarni
|
|
|
12361
12390
|
titleName: $5d3850c4d0b4e6c7$var$TITLE_NAME,
|
|
12362
12391
|
docsSlug: "dialog"
|
|
12363
12392
|
});
|
|
12393
|
+
const $5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9 = $5d3850c4d0b4e6c7$export$3ddf2d174ce01153;
|
|
12364
12394
|
const $5d3850c4d0b4e6c7$export$41fb9f06171c75f4 = $5d3850c4d0b4e6c7$export$2e1e1122cf0cba88;
|
|
12365
12395
|
const $5d3850c4d0b4e6c7$export$602eac185826482c = $5d3850c4d0b4e6c7$export$dad7c95542bacce0;
|
|
12366
12396
|
const $5d3850c4d0b4e6c7$export$c6fdb837b070b4ff = $5d3850c4d0b4e6c7$export$bd1d06c79be19e17;
|
|
@@ -12373,6 +12403,13 @@ const [$905f4ae918aab1aa$var$createAlertDialogContext, $905f4ae918aab1aa$export$
|
|
|
12373
12403
|
$5d3850c4d0b4e6c7$export$cc702773b8ea3e41
|
|
12374
12404
|
]);
|
|
12375
12405
|
const $905f4ae918aab1aa$var$useDialogScope = $5d3850c4d0b4e6c7$export$cc702773b8ea3e41();
|
|
12406
|
+
const $905f4ae918aab1aa$export$de466dd8317b0b75 = (props) => {
|
|
12407
|
+
const { __scopeAlertDialog, ...alertDialogProps } = props;
|
|
12408
|
+
const dialogScope = $905f4ae918aab1aa$var$useDialogScope(__scopeAlertDialog);
|
|
12409
|
+
return /* @__PURE__ */ React.createElement($5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9, _extends({}, dialogScope, alertDialogProps, {
|
|
12410
|
+
modal: true
|
|
12411
|
+
}));
|
|
12412
|
+
};
|
|
12376
12413
|
const $905f4ae918aab1aa$export$6edd7a623ef0f40b = /* @__PURE__ */ React.forwardRef((props, forwardedRef) => {
|
|
12377
12414
|
const { __scopeAlertDialog, ...triggerProps } = props;
|
|
12378
12415
|
const dialogScope = $905f4ae918aab1aa$var$useDialogScope(__scopeAlertDialog);
|
|
@@ -12454,6 +12491,7 @@ const $905f4ae918aab1aa$export$2f67a923571aaea0 = /* @__PURE__ */ React.forwardR
|
|
|
12454
12491
|
ref
|
|
12455
12492
|
}));
|
|
12456
12493
|
});
|
|
12494
|
+
const $905f4ae918aab1aa$export$be92b6f5f03c0fe9 = $905f4ae918aab1aa$export$de466dd8317b0b75;
|
|
12457
12495
|
const $905f4ae918aab1aa$export$41fb9f06171c75f4 = $905f4ae918aab1aa$export$6edd7a623ef0f40b;
|
|
12458
12496
|
const $905f4ae918aab1aa$export$602eac185826482c = $905f4ae918aab1aa$export$660f2bfdb986706c;
|
|
12459
12497
|
const $905f4ae918aab1aa$export$c6fdb837b070b4ff = $905f4ae918aab1aa$export$a707a4895ce23256;
|
|
@@ -47275,10 +47313,11 @@ const OptionBox = styled.styled.div`
|
|
|
47275
47313
|
font-weight: bold;
|
|
47276
47314
|
}
|
|
47277
47315
|
`;
|
|
47278
|
-
|
|
47316
|
+
const Root$5 = $905f4ae918aab1aa$export$be92b6f5f03c0fe9;
|
|
47317
|
+
const Trigger$4 = React__namespace.forwardRef((props, forwardedRef) => {
|
|
47279
47318
|
return /* @__PURE__ */ jsxRuntime.jsx($905f4ae918aab1aa$export$41fb9f06171c75f4, { ...props, asChild: true, ref: forwardedRef });
|
|
47280
47319
|
});
|
|
47281
|
-
React__namespace.forwardRef((props, forwardedRef) => {
|
|
47320
|
+
const Content$4 = React__namespace.forwardRef((props, forwardedRef) => {
|
|
47282
47321
|
return /* @__PURE__ */ jsxRuntime.jsxs($905f4ae918aab1aa$export$602eac185826482c, { children: [
|
|
47283
47322
|
/* @__PURE__ */ jsxRuntime.jsx(Overlay$1, {}),
|
|
47284
47323
|
/* @__PURE__ */ jsxRuntime.jsx(ContentImpl$1, { ref: forwardedRef, ...props })
|
|
@@ -47329,7 +47368,7 @@ const ContentImpl$1 = styled.styled($905f4ae918aab1aa$export$7c6e2c02157bb7d2)`
|
|
|
47329
47368
|
}
|
|
47330
47369
|
}
|
|
47331
47370
|
`;
|
|
47332
|
-
React__namespace.forwardRef(({ children, ...restProps }, forwardedRef) => {
|
|
47371
|
+
const Header$1 = React__namespace.forwardRef(({ children, ...restProps }, forwardedRef) => {
|
|
47333
47372
|
return /* @__PURE__ */ jsxRuntime.jsx($905f4ae918aab1aa$export$f99233281efd08a0, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(Title$1, { tag: "h2", variant: "beta", ref: forwardedRef, padding: 6, fontWeight: "bold", ...restProps, children }) });
|
|
47334
47373
|
});
|
|
47335
47374
|
const Title$1 = styled.styled(Typography)`
|
|
@@ -47337,7 +47376,7 @@ const Title$1 = styled.styled(Typography)`
|
|
|
47337
47376
|
justify-content: center;
|
|
47338
47377
|
border-bottom: solid 1px ${(props) => props.theme.colors.neutral150};
|
|
47339
47378
|
`;
|
|
47340
|
-
React__namespace.forwardRef(({ children, icon, ...restProps }, forwardedRef) => {
|
|
47379
|
+
const Body$1 = React__namespace.forwardRef(({ children, icon, ...restProps }, forwardedRef) => {
|
|
47341
47380
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
47342
47381
|
Flex,
|
|
47343
47382
|
{
|
|
@@ -47362,19 +47401,31 @@ React__namespace.forwardRef(({ children, icon, ...restProps }, forwardedRef) =>
|
|
|
47362
47401
|
const Description = React__namespace.forwardRef((props, forwardedRef) => {
|
|
47363
47402
|
return /* @__PURE__ */ jsxRuntime.jsx($905f4ae918aab1aa$export$393edc798c47379d, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { ref: forwardedRef, variant: "omega", ...props, tag: "p" }) });
|
|
47364
47403
|
});
|
|
47365
|
-
React__namespace.forwardRef((props, forwardedRef) => {
|
|
47404
|
+
const Footer$1 = React__namespace.forwardRef((props, forwardedRef) => {
|
|
47366
47405
|
return /* @__PURE__ */ jsxRuntime.jsx(Foot$1, { ref: forwardedRef, gap: 2, padding: 4, justifyContent: "space-between", ...props, tag: "footer" });
|
|
47367
47406
|
});
|
|
47368
47407
|
const Foot$1 = styled.styled(Flex)`
|
|
47369
47408
|
border-top: solid 1px ${(props) => props.theme.colors.neutral150};
|
|
47370
47409
|
flex: 1;
|
|
47371
47410
|
`;
|
|
47372
|
-
React__namespace.forwardRef((props, forwardedRef) => {
|
|
47411
|
+
const Cancel = React__namespace.forwardRef((props, forwardedRef) => {
|
|
47373
47412
|
return /* @__PURE__ */ jsxRuntime.jsx($905f4ae918aab1aa$export$848c9b7ead0df967, { ...props, asChild: true, ref: forwardedRef });
|
|
47374
47413
|
});
|
|
47375
|
-
React__namespace.forwardRef((props, forwardedRef) => {
|
|
47414
|
+
const Action = React__namespace.forwardRef((props, forwardedRef) => {
|
|
47376
47415
|
return /* @__PURE__ */ jsxRuntime.jsx($905f4ae918aab1aa$export$e19cd5f9376f8cee, { ...props, asChild: true, ref: forwardedRef });
|
|
47377
47416
|
});
|
|
47417
|
+
const Dialog = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
47418
|
+
__proto__: null,
|
|
47419
|
+
Action,
|
|
47420
|
+
Body: Body$1,
|
|
47421
|
+
Cancel,
|
|
47422
|
+
Content: Content$4,
|
|
47423
|
+
Description,
|
|
47424
|
+
Footer: Footer$1,
|
|
47425
|
+
Header: Header$1,
|
|
47426
|
+
Root: Root$5,
|
|
47427
|
+
Trigger: Trigger$4
|
|
47428
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
47378
47429
|
function useDateFormatter(locale, options) {
|
|
47379
47430
|
const lastOptions = React__namespace.useRef(null);
|
|
47380
47431
|
if (options && lastOptions.current && isEqual(options, lastOptions.current)) {
|
|
@@ -51030,6 +51081,7 @@ exports.Box = Box;
|
|
|
51030
51081
|
exports.Button = Button;
|
|
51031
51082
|
exports.CheckboxImpl = CheckboxImpl;
|
|
51032
51083
|
exports.DesignSystemProvider = DesignSystemProvider;
|
|
51084
|
+
exports.Dialog = Dialog;
|
|
51033
51085
|
exports.Divider = Divider;
|
|
51034
51086
|
exports.Field = Field;
|
|
51035
51087
|
exports.Flex = Flex;
|
|
@@ -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-BDxUI_RH.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-Dpwoc5Ig.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-Cvu8PQUI.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-Cvu8PQUI.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-BUfYt7UL.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-Do5tOyhB.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-BjLBgqFO.js")),
|
|
240
240
|
permissions: []
|
|
241
241
|
}
|
|
242
242
|
]
|
|
@@ -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-CulgT97p.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-DoTWD2eL.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-Bga-GG_Z.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-DWFMKgkA.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-DWFMKgkA.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-st8mwIbM.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-DHCU2_RH.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-D2YvBYs_.mjs"),
|
|
215
215
|
permissions: []
|
|
216
216
|
}
|
|
217
217
|
]
|
package/dist/admin/index.js
CHANGED
package/dist/admin/index.mjs
CHANGED