@localazy/strapi-plugin 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/_chunks/{FetchIdentity-DeThazz9.mjs → FetchIdentity-C8-hFqEW.mjs} +1 -1
  2. package/dist/_chunks/{FetchIdentity-CevvxeEj.js → FetchIdentity-Dl2vx6zB.js} +1 -1
  3. package/dist/_chunks/{LanguagesSelector-BExpl4Vx.js → LanguagesSelector-DsW3aJ7p.js} +2 -2
  4. package/dist/_chunks/{LanguagesSelector-D62gLZsM.mjs → LanguagesSelector-vu-Lj7L6.mjs} +2 -2
  5. package/dist/_chunks/{LocalazyApp-DIcO748C.js → LocalazyApp-BIll8u_G.js} +5 -5
  6. package/dist/_chunks/{LocalazyApp-Czkb4s5J.mjs → LocalazyApp-Dxygk1mM.mjs} +5 -5
  7. package/dist/_chunks/{LocalazyContentTransferSetup-DAyZdwi9.js → LocalazyContentTransferSetup-BhEjlIgE.js} +3 -3
  8. package/dist/_chunks/{LocalazyContentTransferSetup-Dx0Z6DXc.mjs → LocalazyContentTransferSetup-Cz88htly.mjs} +3 -3
  9. package/dist/_chunks/{LocalazyGlobalSettings-DjrXGVxl.js → LocalazyGlobalSettings-B3Z8f4G8.js} +4 -4
  10. package/dist/_chunks/{LocalazyGlobalSettings-DWMBqlN4.mjs → LocalazyGlobalSettings-CgOADY93.mjs} +4 -4
  11. package/dist/_chunks/{LocalazyPanel-B-0HBTL_.mjs → LocalazyPanel-BjrSVZpI.mjs} +1 -1
  12. package/dist/_chunks/{LocalazyPanel-nBOpQo5B.js → LocalazyPanel-CQ8-K88T.js} +1 -1
  13. package/dist/_chunks/{LocalazyStatusColumn-cGsUDMlX.js → LocalazyStatusColumn-CA34yhSE.js} +1 -1
  14. package/dist/_chunks/{LocalazyStatusColumn-CpO3yccG.mjs → LocalazyStatusColumn-D0b2LCpg.mjs} +1 -1
  15. package/dist/_chunks/{RequireLocalazyAuth-56K8HUNR.js → RequireLocalazyAuth-BPsrUlFm.js} +2 -2
  16. package/dist/_chunks/{RequireLocalazyAuth-Dh-mAMcg.mjs → RequireLocalazyAuth-DpimzlRh.mjs} +2 -2
  17. package/dist/_chunks/{entry-exclusion-service-Dm5_iP7I.mjs → entry-exclusion-service-DNJZg3U2.mjs} +1 -1
  18. package/dist/_chunks/{entry-exclusion-service-Rf4Tr0zW.js → entry-exclusion-service-nJswJPwF.js} +1 -1
  19. package/dist/_chunks/{has-model-changed-CGyDQARr.js → has-model-changed-BnL6D-eR.js} +2 -2
  20. package/dist/_chunks/{has-model-changed-6p1lR-Ho.mjs → has-model-changed-D6fjlIdc.mjs} +2 -2
  21. package/dist/_chunks/{index-BsQ_ie4C.js → index-BXPaiO0d.js} +7 -7
  22. package/dist/_chunks/{index-Bpf1Mw2A.mjs → index-CPBTdynk.mjs} +7 -7
  23. package/dist/_chunks/{strapi-api-base-W_bUTSlY.js → strapi-api-base-DkjMgMHl.js} +4 -4
  24. package/dist/_chunks/{strapi-api-base-Bem_CGuz.mjs → strapi-api-base-GgrMbYak.mjs} +4 -4
  25. package/dist/admin/index.js +1 -1
  26. package/dist/admin/index.mjs +1 -1
  27. package/dist/server/index.js +1 -1
  28. package/dist/server/index.mjs +1 -1
  29. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-Bem_CGuz.mjs";
1
+ import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-GgrMbYak.mjs";
2
2
  import { U as darkTheme, V as lightTheme } from "./index-CHjIMO9T.mjs";
3
3
  import { createGlobalStyle } from "styled-components";
4
4
  import { useState, useMemo, createContext, useContext, useEffect } from "react";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const strapiApiBase = require("./strapi-api-base-W_bUTSlY.js");
2
+ const strapiApiBase = require("./strapi-api-base-DkjMgMHl.js");
3
3
  const index = require("./index-BK7lmZSN.js");
4
4
  const styled = require("styled-components");
5
5
  const React = require("react");
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
- const strapiApiBase = require("./strapi-api-base-W_bUTSlY.js");
2
+ const strapiApiBase = require("./strapi-api-base-DkjMgMHl.js");
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const React = require("react");
5
- const FetchIdentity = require("./FetchIdentity-CevvxeEj.js");
5
+ const FetchIdentity = require("./FetchIdentity-Dl2vx6zB.js");
6
6
  const index = require("./index-BK7lmZSN.js");
7
7
  const useTranslation = require("./useTranslation-BdIl-aLe.js");
8
8
  const strapiApiInstance = strapiApiBase.createStrapiApiAxiosInstance();
@@ -1,7 +1,7 @@
1
- import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-Bem_CGuz.mjs";
1
+ import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-GgrMbYak.mjs";
2
2
  import { jsxs, jsx } from "react/jsx-runtime";
3
3
  import { useState, useEffect } from "react";
4
- import { c as cloneDeep } from "./FetchIdentity-DeThazz9.mjs";
4
+ import { c as cloneDeep } from "./FetchIdentity-C8-hFqEW.mjs";
5
5
  import { F as Field, M as MultiSelect, b as MultiSelectOption } from "./index-CHjIMO9T.mjs";
6
6
  import { u as useTranslation } from "./useTranslation-CZQ4lU1m.mjs";
7
7
  const strapiApiInstance = createStrapiApiAxiosInstance();
@@ -4,15 +4,15 @@ const jsxRuntime = require("react/jsx-runtime");
4
4
  const reactRouterDom = require("react-router-dom");
5
5
  const index$1 = require("./index-BK7lmZSN.js");
6
6
  const React = require("react");
7
- const FetchIdentity = require("./FetchIdentity-CevvxeEj.js");
8
- const index = require("./index-BsQ_ie4C.js");
7
+ const FetchIdentity = require("./FetchIdentity-Dl2vx6zB.js");
8
+ const index = require("./index-BXPaiO0d.js");
9
9
  const useTranslation = require("./useTranslation-BdIl-aLe.js");
10
10
  const _commonjsHelpers = require("./_commonjsHelpers-Bc2YnDe1.js");
11
- const strapiApiBase = require("./strapi-api-base-W_bUTSlY.js");
12
- const LanguagesSelector = require("./LanguagesSelector-BExpl4Vx.js");
11
+ const strapiApiBase = require("./strapi-api-base-DkjMgMHl.js");
12
+ const LanguagesSelector = require("./LanguagesSelector-DsW3aJ7p.js");
13
13
  const admin = require("@strapi/strapi/admin");
14
14
  require("./i18n-CAsbU4pi.js");
15
- const hasModelChanged = require("./has-model-changed-CGyDQARr.js");
15
+ const hasModelChanged = require("./has-model-changed-BnL6D-eR.js");
16
16
  const styled = require("styled-components");
17
17
  const _interopDefault = (e2) => e2 && e2.__esModule ? e2 : { default: e2 };
18
18
  const React__default = /* @__PURE__ */ _interopDefault(React);
@@ -2,15 +2,15 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { useNavigate, useLocation, NavLink, useParams, Routes, Route } from "react-router-dom";
3
3
  import { o as ForwardRef$2H, p as ForwardRef$d, q as ForwardRef$3P, r as ForwardRef$4j, c as Flex, L as Loader, e as Button, B as Box, T as Typography, g as Link, s as SubNav, t as SubNavHeader, u as SubNavSections, v as SubNavSection, w as SubNavLink, x as ForwardRef$L, G as Grid, j as Divider, f as ForwardRef$3, A as Alert, D as Dialog, y as ForwardRef$4L, z as ForwardRef$4N, P as Pagination, E as PreviousLink, H as PageLink, I as Dots, N as NextLink, J as lodashExports, K as ForwardRef$j, i as ForwardRef$2x, F as Field, O as DatePicker$1, Q as Tabs, R as ForwardRef$57, l as DesignSystemProvider } from "./index-CHjIMO9T.mjs";
4
4
  import React__default, { useState, useEffect, useCallback, useMemo, useRef } from "react";
5
- import { u as useLocalazyIdentity, w as LocalazyUserService, x as emptyIdentity, P as PluginSettingsService, c as cloneDeep, s as set, g as getDefaultTheme, H as HeadingFixGlobalStyle, L as LocalazyIdentityProvider, F as FetchIdentity } from "./FetchIdentity-DeThazz9.mjs";
6
- import { P as PLUGIN_ID } from "./index-Bpf1Mw2A.mjs";
5
+ import { u as useLocalazyIdentity, w as LocalazyUserService, x as emptyIdentity, P as PluginSettingsService, c as cloneDeep, s as set, g as getDefaultTheme, H as HeadingFixGlobalStyle, L as LocalazyIdentityProvider, F as FetchIdentity } from "./FetchIdentity-C8-hFqEW.mjs";
6
+ import { P as PLUGIN_ID } from "./index-CPBTdynk.mjs";
7
7
  import { u as useTranslation } from "./useTranslation-CZQ4lU1m.mjs";
8
8
  import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DWwsNxpa.mjs";
9
- import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-Bem_CGuz.mjs";
10
- import { P as ProjectService, L as LanguagesSelector } from "./LanguagesSelector-D62gLZsM.mjs";
9
+ import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-GgrMbYak.mjs";
10
+ import { P as ProjectService, L as LanguagesSelector } from "./LanguagesSelector-vu-Lj7L6.mjs";
11
11
  import { Layouts, Page } from "@strapi/strapi/admin";
12
12
  import "./i18n-QelOdIB2.mjs";
13
- import { h as hasModelChanged } from "./has-model-changed-6p1lR-Ho.mjs";
13
+ import { h as hasModelChanged } from "./has-model-changed-D6fjlIdc.mjs";
14
14
  import { useTheme } from "styled-components";
15
15
  var PLUGIN_ROUTES = /* @__PURE__ */ ((PLUGIN_ROUTES2) => {
16
16
  PLUGIN_ROUTES2["ROOT"] = "";
@@ -3,10 +3,10 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const index = require("./index-BK7lmZSN.js");
5
5
  const React = require("react");
6
- const RequireLocalazyAuth = require("./RequireLocalazyAuth-56K8HUNR.js");
7
- const FetchIdentity = require("./FetchIdentity-CevvxeEj.js");
6
+ const RequireLocalazyAuth = require("./RequireLocalazyAuth-BPsrUlFm.js");
7
+ const FetchIdentity = require("./FetchIdentity-Dl2vx6zB.js");
8
8
  const admin = require("@strapi/strapi/admin");
9
- const hasModelChanged = require("./has-model-changed-CGyDQARr.js");
9
+ const hasModelChanged = require("./has-model-changed-BnL6D-eR.js");
10
10
  const useTranslation = require("./useTranslation-BdIl-aLe.js");
11
11
  const styled = require("styled-components");
12
12
  const index$1 = require("./index-1he9s_bs.js");
@@ -1,10 +1,10 @@
1
1
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import { C as CheckboxImpl, B as Box, m as Accordion, c as Flex, n as SwitchImpl, T as Typography, e as Button, d as ForwardRef$4z, A as Alert, j as Divider, l as DesignSystemProvider } from "./index-CHjIMO9T.mjs";
3
3
  import { forwardRef, useState, useEffect } from "react";
4
- import { i as isEqual, R as RequireLocalazyAuth } from "./RequireLocalazyAuth-Dh-mAMcg.mjs";
5
- import { s as set, n as keys, o as isArrayLike, p as arrayEach, l as isArray, q as isObject, P as PluginSettingsService, c as cloneDeep, g as getDefaultTheme, H as HeadingFixGlobalStyle, L as LocalazyIdentityProvider, F as FetchIdentity } from "./FetchIdentity-DeThazz9.mjs";
4
+ import { i as isEqual, R as RequireLocalazyAuth } from "./RequireLocalazyAuth-DpimzlRh.mjs";
5
+ import { s as set, n as keys, o as isArrayLike, p as arrayEach, l as isArray, q as isObject, P as PluginSettingsService, c as cloneDeep, g as getDefaultTheme, H as HeadingFixGlobalStyle, L as LocalazyIdentityProvider, F as FetchIdentity } from "./FetchIdentity-C8-hFqEW.mjs";
6
6
  import { Layouts } from "@strapi/strapi/admin";
7
- import { S as SUPPORTED_CONTENT_TYPE_FIELDS, a as SUPPORTED_CUSTOM_FIELD_PLUGINS, g as getContentTransferSetupKeysSets, b as get, f as findModelValueByKey, c as StrapiModelService, d as getModelsTree, h as hasModelChanged } from "./has-model-changed-6p1lR-Ho.mjs";
7
+ import { S as SUPPORTED_CONTENT_TYPE_FIELDS, a as SUPPORTED_CUSTOM_FIELD_PLUGINS, g as getContentTransferSetupKeysSets, b as get, f as findModelValueByKey, c as StrapiModelService, d as getModelsTree, h as hasModelChanged } from "./has-model-changed-D6fjlIdc.mjs";
8
8
  import { u as useTranslation } from "./useTranslation-CZQ4lU1m.mjs";
9
9
  import styled from "styled-components";
10
10
  import { Trans } from "./index-BIbKC7-V.mjs";
@@ -3,12 +3,12 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const index = require("./index-BK7lmZSN.js");
5
5
  const React = require("react");
6
- const FetchIdentity = require("./FetchIdentity-CevvxeEj.js");
6
+ const FetchIdentity = require("./FetchIdentity-Dl2vx6zB.js");
7
7
  const admin = require("@strapi/strapi/admin");
8
- const RequireLocalazyAuth = require("./RequireLocalazyAuth-56K8HUNR.js");
9
- const LanguagesSelector = require("./LanguagesSelector-BExpl4Vx.js");
8
+ const RequireLocalazyAuth = require("./RequireLocalazyAuth-BPsrUlFm.js");
9
+ const LanguagesSelector = require("./LanguagesSelector-DsW3aJ7p.js");
10
10
  const useTranslation = require("./useTranslation-BdIl-aLe.js");
11
- const strapiApiBase = require("./strapi-api-base-W_bUTSlY.js");
11
+ const strapiApiBase = require("./strapi-api-base-DkjMgMHl.js");
12
12
  require("./i18n-CAsbU4pi.js");
13
13
  const WEBHOOK_PATH = "/api/localazy/public/transfer/download";
14
14
  const LOCALAZY_DOCS_URL = "https://localazy.com/docs/general/webhooks";
@@ -1,12 +1,12 @@
1
1
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import { c as Flex, L as Loader, T as Typography, B as Box, A as Alert, d as ForwardRef$4z, e as Button, f as ForwardRef$3, g as Link, h as ForwardRef$2l, D as Dialog, F as Field, i as ForwardRef$2x, a as Toggle, M as MultiSelect, b as MultiSelectOption, j as Divider, S as SingleSelect, k as SingleSelectOption, l as DesignSystemProvider } from "./index-CHjIMO9T.mjs";
3
3
  import { useState, useEffect } from "react";
4
- import { P as PluginSettingsService$1, c as cloneDeep, s as set, g as getDefaultTheme, H as HeadingFixGlobalStyle, L as LocalazyIdentityProvider, F as FetchIdentity } from "./FetchIdentity-DeThazz9.mjs";
4
+ import { P as PluginSettingsService$1, c as cloneDeep, s as set, g as getDefaultTheme, H as HeadingFixGlobalStyle, L as LocalazyIdentityProvider, F as FetchIdentity } from "./FetchIdentity-C8-hFqEW.mjs";
5
5
  import { Layouts } from "@strapi/strapi/admin";
6
- import { i as isEqual, R as RequireLocalazyAuth } from "./RequireLocalazyAuth-Dh-mAMcg.mjs";
7
- import { P as ProjectService, L as LanguagesSelector } from "./LanguagesSelector-D62gLZsM.mjs";
6
+ import { i as isEqual, R as RequireLocalazyAuth } from "./RequireLocalazyAuth-DpimzlRh.mjs";
7
+ import { P as ProjectService, L as LanguagesSelector } from "./LanguagesSelector-vu-Lj7L6.mjs";
8
8
  import { u as useTranslation } from "./useTranslation-CZQ4lU1m.mjs";
9
- import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-Bem_CGuz.mjs";
9
+ import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-GgrMbYak.mjs";
10
10
  import "./i18n-QelOdIB2.mjs";
11
11
  const WEBHOOK_PATH = "/api/localazy/public/transfer/download";
12
12
  const LOCALAZY_DOCS_URL = "https://localazy.com/docs/general/webhooks";
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useState, useEffect } from "react";
3
3
  import { useLocation } from "react-router-dom";
4
4
  import { T as Typography, a as Toggle } from "./index-CHjIMO9T.mjs";
5
- import EntryExclusionService from "./entry-exclusion-service-Dm5_iP7I.mjs";
5
+ import EntryExclusionService from "./entry-exclusion-service-DNJZg3U2.mjs";
6
6
  import "./i18n-QelOdIB2.mjs";
7
7
  import { u as useTranslation } from "./useTranslation-CZQ4lU1m.mjs";
8
8
  const LocalazyPanel = () => {
@@ -4,7 +4,7 @@ const jsxRuntime = require("react/jsx-runtime");
4
4
  const React = require("react");
5
5
  const reactRouterDom = require("react-router-dom");
6
6
  const index = require("./index-BK7lmZSN.js");
7
- const entryExclusionService = require("./entry-exclusion-service-Rf4Tr0zW.js");
7
+ const entryExclusionService = require("./entry-exclusion-service-nJswJPwF.js");
8
8
  require("./i18n-CAsbU4pi.js");
9
9
  const useTranslation = require("./useTranslation-BdIl-aLe.js");
10
10
  const LocalazyPanel = () => {
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const React = require("react");
5
5
  const styled = require("styled-components");
6
- const entryExclusionService = require("./entry-exclusion-service-Rf4Tr0zW.js");
6
+ const entryExclusionService = require("./entry-exclusion-service-nJswJPwF.js");
7
7
  require("./i18n-CAsbU4pi.js");
8
8
  const useTranslation = require("./useTranslation-BdIl-aLe.js");
9
9
  const LocalazyStatusColumn = ({ data, model }) => {
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useState, useEffect } from "react";
3
3
  import { useTheme } from "styled-components";
4
- import EntryExclusionService from "./entry-exclusion-service-Dm5_iP7I.mjs";
4
+ import EntryExclusionService from "./entry-exclusion-service-DNJZg3U2.mjs";
5
5
  import "./i18n-QelOdIB2.mjs";
6
6
  import { u as useTranslation } from "./useTranslation-CZQ4lU1m.mjs";
7
7
  const LocalazyStatusColumn = ({ data, model }) => {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
- const FetchIdentity = require("./FetchIdentity-CevvxeEj.js");
2
+ const FetchIdentity = require("./FetchIdentity-Dl2vx6zB.js");
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
- const index$1 = require("./index-BsQ_ie4C.js");
4
+ const index$1 = require("./index-BXPaiO0d.js");
5
5
  const index = require("./index-BK7lmZSN.js");
6
6
  const admin = require("@strapi/strapi/admin");
7
7
  require("./i18n-CAsbU4pi.js");
@@ -1,6 +1,6 @@
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";
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-C8-hFqEW.mjs";
2
2
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
3
- import { P as PLUGIN_ID } from "./index-Bpf1Mw2A.mjs";
3
+ import { P as PLUGIN_ID } from "./index-CPBTdynk.mjs";
4
4
  import { B as Box, T as Typography } from "./index-CHjIMO9T.mjs";
5
5
  import { Layouts } from "@strapi/strapi/admin";
6
6
  import "./i18n-QelOdIB2.mjs";
@@ -1,4 +1,4 @@
1
- import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-Bem_CGuz.mjs";
1
+ import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-GgrMbYak.mjs";
2
2
  const BASE_PATH = "/entry-exclusion";
3
3
  const axiosInstance = createStrapiApiAxiosInstance();
4
4
  class EntryExclusionService {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const strapiApiBase = require("./strapi-api-base-W_bUTSlY.js");
3
+ const strapiApiBase = require("./strapi-api-base-DkjMgMHl.js");
4
4
  const BASE_PATH = "/entry-exclusion";
5
5
  const axiosInstance = strapiApiBase.createStrapiApiAxiosInstance();
6
6
  class EntryExclusionService {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
- const FetchIdentity = require("./FetchIdentity-CevvxeEj.js");
3
- const strapiApiBase = require("./strapi-api-base-W_bUTSlY.js");
2
+ const FetchIdentity = require("./FetchIdentity-Dl2vx6zB.js");
3
+ const strapiApiBase = require("./strapi-api-base-DkjMgMHl.js");
4
4
  const _commonjsHelpers = require("./_commonjsHelpers-Bc2YnDe1.js");
5
5
  function baseGet(object, path) {
6
6
  path = FetchIdentity.castPath(path, object);
@@ -1,5 +1,5 @@
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";
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-C8-hFqEW.mjs";
2
+ import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-GgrMbYak.mjs";
3
3
  import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DWwsNxpa.mjs";
4
4
  function baseGet(object, path) {
5
5
  path = castPath(path, object);
@@ -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-nBOpQo5B.js"));
86
+ const { default: LocalazyPanel } = await Promise.resolve().then(() => require("./LocalazyPanel-CQ8-K88T.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-cGsUDMlX.js"));
92
+ const { default: LocalazyStatusColumn } = await Promise.resolve().then(() => require("./LocalazyStatusColumn-CA34yhSE.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);
@@ -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-Rf4Tr0zW.js"));
140
+ const { default: EntryExclusionService } = await Promise.resolve().then(() => require("./entry-exclusion-service-nJswJPwF.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-Rf4Tr0zW.js"));
171
+ const { default: EntryExclusionService } = await Promise.resolve().then(() => require("./entry-exclusion-service-nJswJPwF.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-DIcO748C.js"))
207
+ Component: () => Promise.resolve().then(() => require("./LocalazyApp-BIll8u_G.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-DjrXGVxl.js")),
228
+ Component: () => Promise.resolve().then(() => require("./LocalazyGlobalSettings-B3Z8f4G8.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-DAyZdwi9.js")),
239
+ Component: () => Promise.resolve().then(() => require("./LocalazyContentTransferSetup-BhEjlIgE.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-B-0HBTL_.mjs");
61
+ const { default: LocalazyPanel } = await import("./LocalazyPanel-BjrSVZpI.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-CpO3yccG.mjs");
67
+ const { default: LocalazyStatusColumn } = await import("./LocalazyStatusColumn-D0b2LCpg.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);
@@ -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-Dm5_iP7I.mjs");
115
+ const { default: EntryExclusionService } = await import("./entry-exclusion-service-DNJZg3U2.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-Dm5_iP7I.mjs");
146
+ const { default: EntryExclusionService } = await import("./entry-exclusion-service-DNJZg3U2.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-Czkb4s5J.mjs")
182
+ Component: () => import("./LocalazyApp-Dxygk1mM.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-DWMBqlN4.mjs"),
203
+ Component: () => import("./LocalazyGlobalSettings-CgOADY93.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-Dx0Z6DXc.mjs"),
214
+ Component: () => import("./LocalazyContentTransferSetup-Cz88htly.mjs"),
215
215
  permissions: []
216
216
  }
217
217
  ]
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const index = require("./index-BsQ_ie4C.js");
2
+ const index = require("./index-BXPaiO0d.js");
3
3
  function bind(fn, thisArg) {
4
4
  return function wrap() {
5
5
  return fn.apply(thisArg, arguments);
@@ -2393,11 +2393,11 @@ const createStrapiApiAxiosInstance = (baseUrl = null) => {
2393
2393
  if (baseUrl === null) {
2394
2394
  baseUrl = `${BASE_PLUGIN_PATH}`;
2395
2395
  }
2396
- const instance = axios.create({
2397
- baseURL: `${baseUrl}`
2398
- });
2396
+ const instance = axios.create();
2399
2397
  instance.interceptors.request.use(
2400
2398
  async (config) => {
2399
+ const backendURL = (window.strapi?.backendURL || "").replace(/\/$/, "");
2400
+ config.baseURL = `${backendURL}${baseUrl}`;
2401
2401
  config.headers.set({
2402
2402
  Accept: "application/json",
2403
2403
  "Content-Type": "application/json",
@@ -1,4 +1,4 @@
1
- import { P as PLUGIN_ID } from "./index-Bpf1Mw2A.mjs";
1
+ import { P as PLUGIN_ID } from "./index-CPBTdynk.mjs";
2
2
  function bind(fn, thisArg) {
3
3
  return function wrap() {
4
4
  return fn.apply(thisArg, arguments);
@@ -2392,11 +2392,11 @@ const createStrapiApiAxiosInstance = (baseUrl = null) => {
2392
2392
  if (baseUrl === null) {
2393
2393
  baseUrl = `${BASE_PLUGIN_PATH}`;
2394
2394
  }
2395
- const instance = axios.create({
2396
- baseURL: `${baseUrl}`
2397
- });
2395
+ const instance = axios.create();
2398
2396
  instance.interceptors.request.use(
2399
2397
  async (config) => {
2398
+ const backendURL = (window.strapi?.backendURL || "").replace(/\/$/, "");
2399
+ config.baseURL = `${backendURL}${baseUrl}`;
2400
2400
  config.headers.set({
2401
2401
  Accept: "application/json",
2402
2402
  "Content-Type": "application/json",
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- const index = require("../_chunks/index-BsQ_ie4C.js");
2
+ const index = require("../_chunks/index-BXPaiO0d.js");
3
3
  require("react");
4
4
  module.exports = index.index;
@@ -1,4 +1,4 @@
1
- import { i } from "../_chunks/index-Bpf1Mw2A.mjs";
1
+ import { i } from "../_chunks/index-CPBTdynk.mjs";
2
2
  import "react";
3
3
  export {
4
4
  i as default
@@ -20532,7 +20532,7 @@ var distExports = dist$1.exports;
20532
20532
  const io = /* @__PURE__ */ getDefaultExportFromCjs(distExports);
20533
20533
  const { Server: Server2, Namespace, Socket: Socket3 } = io;
20534
20534
  const name = "@localazy/strapi-plugin";
20535
- const version = "1.1.2";
20535
+ const version = "1.1.3";
20536
20536
  const description = "The official Strapi Plugin by Localazy.";
20537
20537
  const keywords = [
20538
20538
  "strapi",
@@ -20519,7 +20519,7 @@ var distExports = dist$1.exports;
20519
20519
  const io = /* @__PURE__ */ getDefaultExportFromCjs(distExports);
20520
20520
  const { Server: Server2, Namespace, Socket: Socket3 } = io;
20521
20521
  const name = "@localazy/strapi-plugin";
20522
- const version = "1.1.2";
20522
+ const version = "1.1.3";
20523
20523
  const description = "The official Strapi Plugin by Localazy.";
20524
20524
  const keywords = [
20525
20525
  "strapi",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@localazy/strapi-plugin",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "The official Strapi Plugin by Localazy.",
5
5
  "keywords": [
6
6
  "strapi",