@localazy/strapi-plugin 1.6.0 → 1.7.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-CcEjakiz.js → FetchIdentity-D89DgpbN.js} +1 -1
- package/dist/_chunks/{FetchIdentity-Bm7bc5bS.mjs → FetchIdentity-DkHj24S5.mjs} +1 -1
- package/dist/_chunks/{LanguagesSelector-DejYCwBl.js → LanguagesSelector-638KGQYw.js} +2 -2
- package/dist/_chunks/{LanguagesSelector-B1rwN7-Y.mjs → LanguagesSelector-CR_7I2R1.mjs} +2 -2
- package/dist/_chunks/{LocalazyApp-jPO7Yr1S.js → LocalazyApp-Benn8pkA.js} +5 -5
- package/dist/_chunks/{LocalazyApp-C4kbsnQh.mjs → LocalazyApp-DM3zg5E4.mjs} +5 -5
- package/dist/_chunks/{LocalazyContentTransferSetup-C1wDD9hA.mjs → LocalazyContentTransferSetup-BA_rtSBM.mjs} +4 -4
- package/dist/_chunks/{LocalazyContentTransferSetup-DZh4ZdSi.js → LocalazyContentTransferSetup-CWchyGdD.js} +4 -4
- package/dist/_chunks/{LocalazyGlobalSettings-D76it6rn.js → LocalazyGlobalSettings-88jqQbD4.js} +5 -5
- package/dist/_chunks/{LocalazyGlobalSettings-DOW5rjLn.mjs → LocalazyGlobalSettings-BWF0s9tM.mjs} +5 -5
- package/dist/_chunks/{LocalazyPanel-C_Z4W49T.mjs → LocalazyPanel-4HRa1jNl.mjs} +2 -2
- package/dist/_chunks/{LocalazyPanel-D2LQpqii.js → LocalazyPanel-D0w9JSIS.js} +2 -2
- package/dist/_chunks/{LocalazyStatusColumn-Dy6N4_X6.js → LocalazyStatusColumn-BR3f8rKp.js} +2 -2
- package/dist/_chunks/{LocalazyStatusColumn-C_ZCd_s7.mjs → LocalazyStatusColumn-D4-rZZUK.mjs} +2 -2
- package/dist/_chunks/{RequireLocalazyAuth-BVwF0bRC.js → RequireLocalazyAuth-C442750b.js} +2 -2
- package/dist/_chunks/{RequireLocalazyAuth-DNhTZZ_6.mjs → RequireLocalazyAuth-DbNjEOq-.mjs} +2 -2
- package/dist/_chunks/{entry-exclusion-service-CF_yNCly.mjs → entry-exclusion-service-Bd3mUDde.mjs} +1 -1
- package/dist/_chunks/{entry-exclusion-service-CH3ZoJQN.js → entry-exclusion-service-CAIcybXX.js} +1 -1
- package/dist/_chunks/{has-model-changed-CVJEuGxM.mjs → has-model-changed-BNs3d9q5.mjs} +4 -3
- package/dist/_chunks/{has-model-changed-DdYbyv0v.js → has-model-changed-BrDeyHFt.js} +4 -3
- package/dist/_chunks/{index-DP2ugzc_.mjs → index-C9Px4v-A.mjs} +7 -7
- package/dist/_chunks/{index-CEGaWWh3.js → index-DwFm1TyM.js} +7 -7
- package/dist/_chunks/{strapi-api-base-CCUuu7EY.js → strapi-api-base-BWZYbxxj.js} +1 -1
- package/dist/_chunks/{strapi-api-base-IiMEtDoH.mjs → strapi-api-base-lPo7wq6I.mjs} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/modules/@common/models/supported-content-type-fields.d.ts +1 -1
- package/dist/server/index.js +266 -178
- package/dist/server/index.mjs +266 -178
- package/dist/server/src/utils/blocks-to-translatable.d.ts +34 -0
- package/dist/server/src/utils/model-utils.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const strapiApiBase = require("./strapi-api-base-
|
|
2
|
+
const strapiApiBase = require("./strapi-api-base-BWZYbxxj.js");
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const index = require("./index-CTkxoioB.js");
|
|
5
5
|
const useTranslation = require("./useTranslation-BdIl-aLe.js");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-
|
|
1
|
+
import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-lPo7wq6I.mjs";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { c as Flex, L as Loader, V as darkTheme, W as lightTheme } from "./index-shryj0jT.mjs";
|
|
4
4
|
import { u as useTranslation } from "./useTranslation-CZQ4lU1m.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const strapiApiBase = require("./strapi-api-base-
|
|
2
|
+
const strapiApiBase = require("./strapi-api-base-BWZYbxxj.js");
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const React = require("react");
|
|
5
|
-
const FetchIdentity = require("./FetchIdentity-
|
|
5
|
+
const FetchIdentity = require("./FetchIdentity-D89DgpbN.js");
|
|
6
6
|
const index = require("./index-CTkxoioB.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-
|
|
1
|
+
import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-lPo7wq6I.mjs";
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useEffect } from "react";
|
|
4
|
-
import { c as cloneDeep } from "./FetchIdentity-
|
|
4
|
+
import { c as cloneDeep } from "./FetchIdentity-DkHj24S5.mjs";
|
|
5
5
|
import { F as Field, M as MultiSelect, b as MultiSelectOption } from "./index-shryj0jT.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-CTkxoioB.js");
|
|
6
6
|
const React = require("react");
|
|
7
|
-
const FetchIdentity = require("./FetchIdentity-
|
|
8
|
-
const index = require("./index-
|
|
7
|
+
const FetchIdentity = require("./FetchIdentity-D89DgpbN.js");
|
|
8
|
+
const index = require("./index-DwFm1TyM.js");
|
|
9
9
|
const useTranslation = require("./useTranslation-BdIl-aLe.js");
|
|
10
10
|
const _commonjsHelpers = require("./_commonjsHelpers-Bc2YnDe1.js");
|
|
11
11
|
const admin = require("@strapi/strapi/admin");
|
|
12
|
-
const strapiApiBase = require("./strapi-api-base-
|
|
13
|
-
const LanguagesSelector = require("./LanguagesSelector-
|
|
12
|
+
const strapiApiBase = require("./strapi-api-base-BWZYbxxj.js");
|
|
13
|
+
const LanguagesSelector = require("./LanguagesSelector-638KGQYw.js");
|
|
14
14
|
require("./i18n-C5ucROBh.js");
|
|
15
|
-
const hasModelChanged = require("./has-model-changed-
|
|
15
|
+
const hasModelChanged = require("./has-model-changed-BrDeyHFt.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, e as Button, s as TooltipImpl, B as Box, T as Typography, g as Link, t as SubNav, u as SubNavHeader, v as SubNavSections, w as SubNavSection, x as SubNavLink, y as ForwardRef$L, G as Grid, j as Divider, c as Flex, f as ForwardRef$3, A as Alert, D as Dialog, z as ForwardRef$4L, E as ForwardRef$4N, P as Pagination, H as PreviousLink, I as PageLink, J as Dots, N as NextLink, K as lodashExports, O as ForwardRef$j, i as ForwardRef$2x, F as Field, Q as DatePicker$1, R as Tabs, U as ForwardRef$57, l as DesignSystemProvider } from "./index-shryj0jT.mjs";
|
|
4
4
|
import React__default, { useState, useEffect, useCallback, useMemo, useRef } from "react";
|
|
5
|
-
import { u as useLocalazyIdentity, a as PluginPageLoader, y as LocalazyUserService, z as emptyIdentity, P as PluginSettingsService, g as getDefaultTheme, H as HeadingFixGlobalStyle, L as LocalazyIdentityProvider, F as FetchIdentity } from "./FetchIdentity-
|
|
6
|
-
import { a as PLUGIN_ID, P as PERMISSIONS } from "./index-
|
|
5
|
+
import { u as useLocalazyIdentity, a as PluginPageLoader, y as LocalazyUserService, z as emptyIdentity, P as PluginSettingsService, g as getDefaultTheme, H as HeadingFixGlobalStyle, L as LocalazyIdentityProvider, F as FetchIdentity } from "./FetchIdentity-DkHj24S5.mjs";
|
|
6
|
+
import { a as PLUGIN_ID, P as PERMISSIONS } from "./index-C9Px4v-A.mjs";
|
|
7
7
|
import { u as useTranslation } from "./useTranslation-CZQ4lU1m.mjs";
|
|
8
8
|
import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DWwsNxpa.mjs";
|
|
9
9
|
import { useRBAC, Layouts, useAuth, useNotification, Page } from "@strapi/strapi/admin";
|
|
10
|
-
import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-
|
|
11
|
-
import { P as ProjectService, L as LanguagesSelector } from "./LanguagesSelector-
|
|
10
|
+
import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-lPo7wq6I.mjs";
|
|
11
|
+
import { P as ProjectService, L as LanguagesSelector } from "./LanguagesSelector-CR_7I2R1.mjs";
|
|
12
12
|
import "./i18n-76ox2llT.mjs";
|
|
13
|
-
import { h as hasModelChanged } from "./has-model-changed-
|
|
13
|
+
import { h as hasModelChanged } from "./has-model-changed-BNs3d9q5.mjs";
|
|
14
14
|
import { useTheme } from "styled-components";
|
|
15
15
|
var PLUGIN_ROUTES = /* @__PURE__ */ ((PLUGIN_ROUTES2) => {
|
|
16
16
|
PLUGIN_ROUTES2["ROOT"] = "";
|
|
@@ -2,13 +2,13 @@ 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-shryj0jT.mjs";
|
|
3
3
|
import { useRBAC, Layouts, Page } from "@strapi/strapi/admin";
|
|
4
4
|
import { forwardRef, useState, useEffect } from "react";
|
|
5
|
-
import { s as set, i as isEqual, R as RequireLocalazyAuth } from "./RequireLocalazyAuth-
|
|
6
|
-
import { r as keys, v as isArrayLike, w as arrayEach, l as isArray, n as isObject, P as PluginSettingsService, c as cloneDeep, g as getDefaultTheme, H as HeadingFixGlobalStyle, a as PluginPageLoader, L as LocalazyIdentityProvider, F as FetchIdentity } from "./FetchIdentity-
|
|
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-
|
|
5
|
+
import { s as set, i as isEqual, R as RequireLocalazyAuth } from "./RequireLocalazyAuth-DbNjEOq-.mjs";
|
|
6
|
+
import { r as keys, v as isArrayLike, w as arrayEach, l as isArray, n as isObject, P as PluginSettingsService, c as cloneDeep, g as getDefaultTheme, H as HeadingFixGlobalStyle, a as PluginPageLoader, L as LocalazyIdentityProvider, F as FetchIdentity } from "./FetchIdentity-DkHj24S5.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-BNs3d9q5.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";
|
|
11
|
-
import { P as PERMISSIONS } from "./index-
|
|
11
|
+
import { P as PERMISSIONS } from "./index-C9Px4v-A.mjs";
|
|
12
12
|
import "./i18n-76ox2llT.mjs";
|
|
13
13
|
const getFilteredModelsSchemas = (models) => {
|
|
14
14
|
if (!models) {
|
|
@@ -4,13 +4,13 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const index = require("./index-CTkxoioB.js");
|
|
5
5
|
const admin = require("@strapi/strapi/admin");
|
|
6
6
|
const React = require("react");
|
|
7
|
-
const RequireLocalazyAuth = require("./RequireLocalazyAuth-
|
|
8
|
-
const FetchIdentity = require("./FetchIdentity-
|
|
9
|
-
const hasModelChanged = require("./has-model-changed-
|
|
7
|
+
const RequireLocalazyAuth = require("./RequireLocalazyAuth-C442750b.js");
|
|
8
|
+
const FetchIdentity = require("./FetchIdentity-D89DgpbN.js");
|
|
9
|
+
const hasModelChanged = require("./has-model-changed-BrDeyHFt.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");
|
|
13
|
-
const index$2 = require("./index-
|
|
13
|
+
const index$2 = require("./index-DwFm1TyM.js");
|
|
14
14
|
require("./i18n-C5ucROBh.js");
|
|
15
15
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
16
16
|
const styled__default = /* @__PURE__ */ _interopDefault(styled);
|
package/dist/_chunks/{LocalazyGlobalSettings-D76it6rn.js → LocalazyGlobalSettings-88jqQbD4.js}
RENAMED
|
@@ -4,12 +4,12 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const index = require("./index-CTkxoioB.js");
|
|
5
5
|
const admin = require("@strapi/strapi/admin");
|
|
6
6
|
const React = require("react");
|
|
7
|
-
const FetchIdentity = require("./FetchIdentity-
|
|
8
|
-
const RequireLocalazyAuth = require("./RequireLocalazyAuth-
|
|
9
|
-
const LanguagesSelector = require("./LanguagesSelector-
|
|
7
|
+
const FetchIdentity = require("./FetchIdentity-D89DgpbN.js");
|
|
8
|
+
const RequireLocalazyAuth = require("./RequireLocalazyAuth-C442750b.js");
|
|
9
|
+
const LanguagesSelector = require("./LanguagesSelector-638KGQYw.js");
|
|
10
10
|
const useTranslation = require("./useTranslation-BdIl-aLe.js");
|
|
11
|
-
const strapiApiBase = require("./strapi-api-base-
|
|
12
|
-
const index$1 = require("./index-
|
|
11
|
+
const strapiApiBase = require("./strapi-api-base-BWZYbxxj.js");
|
|
12
|
+
const index$1 = require("./index-DwFm1TyM.js");
|
|
13
13
|
require("./i18n-C5ucROBh.js");
|
|
14
14
|
const WEBHOOK_PATH = "/api/localazy/public/transfer/download";
|
|
15
15
|
const LOCALAZY_DOCS_URL = "https://localazy.com/docs/general/webhooks";
|
package/dist/_chunks/{LocalazyGlobalSettings-DOW5rjLn.mjs → LocalazyGlobalSettings-BWF0s9tM.mjs}
RENAMED
|
@@ -2,12 +2,12 @@ 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-shryj0jT.mjs";
|
|
3
3
|
import { useRBAC, Layouts, Page } from "@strapi/strapi/admin";
|
|
4
4
|
import { useState, useEffect } from "react";
|
|
5
|
-
import { P as PluginSettingsService$1, c as cloneDeep, g as getDefaultTheme, H as HeadingFixGlobalStyle, a as PluginPageLoader, L as LocalazyIdentityProvider, F as FetchIdentity } from "./FetchIdentity-
|
|
6
|
-
import { s as set, i as isEqual, R as RequireLocalazyAuth } from "./RequireLocalazyAuth-
|
|
7
|
-
import { P as ProjectService, L as LanguagesSelector } from "./LanguagesSelector-
|
|
5
|
+
import { P as PluginSettingsService$1, c as cloneDeep, g as getDefaultTheme, H as HeadingFixGlobalStyle, a as PluginPageLoader, L as LocalazyIdentityProvider, F as FetchIdentity } from "./FetchIdentity-DkHj24S5.mjs";
|
|
6
|
+
import { s as set, i as isEqual, R as RequireLocalazyAuth } from "./RequireLocalazyAuth-DbNjEOq-.mjs";
|
|
7
|
+
import { P as ProjectService, L as LanguagesSelector } from "./LanguagesSelector-CR_7I2R1.mjs";
|
|
8
8
|
import { u as useTranslation } from "./useTranslation-CZQ4lU1m.mjs";
|
|
9
|
-
import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-
|
|
10
|
-
import { P as PERMISSIONS } from "./index-
|
|
9
|
+
import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-lPo7wq6I.mjs";
|
|
10
|
+
import { P as PERMISSIONS } from "./index-C9Px4v-A.mjs";
|
|
11
11
|
import "./i18n-76ox2llT.mjs";
|
|
12
12
|
const WEBHOOK_PATH = "/api/localazy/public/transfer/download";
|
|
13
13
|
const LOCALAZY_DOCS_URL = "https://localazy.com/docs/general/webhooks";
|
|
@@ -3,8 +3,8 @@ import { useState, useEffect } from "react";
|
|
|
3
3
|
import { useLocation } from "react-router-dom";
|
|
4
4
|
import { T as Typography, a as Toggle } from "./index-shryj0jT.mjs";
|
|
5
5
|
import { useRBAC } from "@strapi/strapi/admin";
|
|
6
|
-
import EntryExclusionService from "./entry-exclusion-service-
|
|
7
|
-
import { P as PERMISSIONS } from "./index-
|
|
6
|
+
import EntryExclusionService from "./entry-exclusion-service-Bd3mUDde.mjs";
|
|
7
|
+
import { P as PERMISSIONS } from "./index-C9Px4v-A.mjs";
|
|
8
8
|
import "./i18n-76ox2llT.mjs";
|
|
9
9
|
import { u as useTranslation } from "./useTranslation-CZQ4lU1m.mjs";
|
|
10
10
|
const LocalazyPanel = () => {
|
|
@@ -5,8 +5,8 @@ const React = require("react");
|
|
|
5
5
|
const reactRouterDom = require("react-router-dom");
|
|
6
6
|
const index$1 = require("./index-CTkxoioB.js");
|
|
7
7
|
const admin = require("@strapi/strapi/admin");
|
|
8
|
-
const entryExclusionService = require("./entry-exclusion-service-
|
|
9
|
-
const index = require("./index-
|
|
8
|
+
const entryExclusionService = require("./entry-exclusion-service-CAIcybXX.js");
|
|
9
|
+
const index = require("./index-DwFm1TyM.js");
|
|
10
10
|
require("./i18n-C5ucROBh.js");
|
|
11
11
|
const useTranslation = require("./useTranslation-BdIl-aLe.js");
|
|
12
12
|
const LocalazyPanel = () => {
|
|
@@ -4,8 +4,8 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const styled = require("styled-components");
|
|
6
6
|
const admin = require("@strapi/strapi/admin");
|
|
7
|
-
const entryExclusionService = require("./entry-exclusion-service-
|
|
8
|
-
const index = require("./index-
|
|
7
|
+
const entryExclusionService = require("./entry-exclusion-service-CAIcybXX.js");
|
|
8
|
+
const index = require("./index-DwFm1TyM.js");
|
|
9
9
|
require("./i18n-C5ucROBh.js");
|
|
10
10
|
const useTranslation = require("./useTranslation-BdIl-aLe.js");
|
|
11
11
|
const LocalazyStatusColumn = ({ data, model }) => {
|
package/dist/_chunks/{LocalazyStatusColumn-C_ZCd_s7.mjs → LocalazyStatusColumn-D4-rZZUK.mjs}
RENAMED
|
@@ -2,8 +2,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
3
|
import { useTheme } from "styled-components";
|
|
4
4
|
import { useRBAC } from "@strapi/strapi/admin";
|
|
5
|
-
import EntryExclusionService from "./entry-exclusion-service-
|
|
6
|
-
import { P as PERMISSIONS } from "./index-
|
|
5
|
+
import EntryExclusionService from "./entry-exclusion-service-Bd3mUDde.mjs";
|
|
6
|
+
import { P as PERMISSIONS } from "./index-C9Px4v-A.mjs";
|
|
7
7
|
import "./i18n-76ox2llT.mjs";
|
|
8
8
|
import { u as useTranslation } from "./useTranslation-CZQ4lU1m.mjs";
|
|
9
9
|
const LocalazyStatusColumn = ({ data, model }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const FetchIdentity = require("./FetchIdentity-
|
|
2
|
+
const FetchIdentity = require("./FetchIdentity-D89DgpbN.js");
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const index$1 = require("./index-
|
|
4
|
+
const index$1 = require("./index-DwFm1TyM.js");
|
|
5
5
|
const index = require("./index-CTkxoioB.js");
|
|
6
6
|
const admin = require("@strapi/strapi/admin");
|
|
7
7
|
require("./i18n-C5ucROBh.js");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as SetCache, b as cacheHas, d as Symbol$1, e as eq, U as Uint8Array, s as setToArray, f as getAllKeys, h as getTag, i as isBuffer, j as Stack, k as isTypedArray, l as isArray, m as isObjectLike, n as isObject, o as castPath, t as toKey, p as isIndex, q as assignValue, u as useLocalazyIdentity } from "./FetchIdentity-
|
|
1
|
+
import { S as SetCache, b as cacheHas, d as Symbol$1, e as eq, U as Uint8Array, s as setToArray, f as getAllKeys, h as getTag, i as isBuffer, j as Stack, k as isTypedArray, l as isArray, m as isObjectLike, n as isObject, o as castPath, t as toKey, p as isIndex, q as assignValue, u as useLocalazyIdentity } from "./FetchIdentity-DkHj24S5.mjs";
|
|
2
2
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
3
|
-
import { a as PLUGIN_ID } from "./index-
|
|
3
|
+
import { a as PLUGIN_ID } from "./index-C9Px4v-A.mjs";
|
|
4
4
|
import { B as Box, T as Typography } from "./index-shryj0jT.mjs";
|
|
5
5
|
import { Layouts } from "@strapi/strapi/admin";
|
|
6
6
|
import "./i18n-76ox2llT.mjs";
|
package/dist/_chunks/{entry-exclusion-service-CF_yNCly.mjs → entry-exclusion-service-Bd3mUDde.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-
|
|
1
|
+
import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-lPo7wq6I.mjs";
|
|
2
2
|
const BASE_PATH = "/entry-exclusion";
|
|
3
3
|
const axiosInstance = createStrapiApiAxiosInstance();
|
|
4
4
|
class EntryExclusionService {
|
package/dist/_chunks/{entry-exclusion-service-CH3ZoJQN.js → entry-exclusion-service-CAIcybXX.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-BWZYbxxj.js");
|
|
4
4
|
const BASE_PATH = "/entry-exclusion";
|
|
5
5
|
const axiosInstance = strapiApiBase.createStrapiApiAxiosInstance();
|
|
6
6
|
class EntryExclusionService {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as castPath, t as toKey, x as Set, s as setToArray, S as SetCache, b as cacheHas, P as PluginSettingsService } from "./FetchIdentity-
|
|
2
|
-
import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-
|
|
1
|
+
import { o as castPath, t as toKey, x as Set, s as setToArray, S as SetCache, b as cacheHas, P as PluginSettingsService } from "./FetchIdentity-DkHj24S5.mjs";
|
|
2
|
+
import { c as createStrapiApiAxiosInstance } from "./strapi-api-base-lPo7wq6I.mjs";
|
|
3
3
|
import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DWwsNxpa.mjs";
|
|
4
4
|
function baseGet(object, path) {
|
|
5
5
|
path = castPath(path, object);
|
|
@@ -38,7 +38,8 @@ const SUPPORTED_CONTENT_TYPE_FIELDS = [
|
|
|
38
38
|
"text",
|
|
39
39
|
"richtext",
|
|
40
40
|
"email",
|
|
41
|
-
"json"
|
|
41
|
+
"json",
|
|
42
|
+
"blocks"
|
|
42
43
|
];
|
|
43
44
|
const SUPPORTED_CUSTOM_FIELD_PLUGINS = [
|
|
44
45
|
"plugin::ckeditor.CKEditor",
|
|
@@ -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-D89DgpbN.js");
|
|
3
|
+
const strapiApiBase = require("./strapi-api-base-BWZYbxxj.js");
|
|
4
4
|
const _commonjsHelpers = require("./_commonjsHelpers-Bc2YnDe1.js");
|
|
5
5
|
function baseGet(object, path) {
|
|
6
6
|
path = FetchIdentity.castPath(path, object);
|
|
@@ -39,7 +39,8 @@ const SUPPORTED_CONTENT_TYPE_FIELDS = [
|
|
|
39
39
|
"text",
|
|
40
40
|
"richtext",
|
|
41
41
|
"email",
|
|
42
|
-
"json"
|
|
42
|
+
"json",
|
|
43
|
+
"blocks"
|
|
43
44
|
];
|
|
44
45
|
const SUPPORTED_CUSTOM_FIELD_PLUGINS = [
|
|
45
46
|
"plugin::ckeditor.CKEditor",
|
|
@@ -70,13 +70,13 @@ const index = {
|
|
|
70
70
|
try {
|
|
71
71
|
const contentManagerPlugin = app.getPlugin("content-manager");
|
|
72
72
|
if (contentManagerPlugin?.apis?.addEditViewSidePanel) {
|
|
73
|
-
const { default: LocalazyPanel } = await import("./LocalazyPanel-
|
|
73
|
+
const { default: LocalazyPanel } = await import("./LocalazyPanel-4HRa1jNl.mjs");
|
|
74
74
|
const apis = contentManagerPlugin.apis;
|
|
75
75
|
apis.addEditViewSidePanel([LocalazyPanel]);
|
|
76
76
|
} else {
|
|
77
77
|
console.warn('Localazy Plugin: Content Manager "addEditViewSidePanel" API not available');
|
|
78
78
|
}
|
|
79
|
-
const { default: LocalazyStatusColumn } = await import("./LocalazyStatusColumn-
|
|
79
|
+
const { default: LocalazyStatusColumn } = await import("./LocalazyStatusColumn-D4-rZZUK.mjs");
|
|
80
80
|
app.registerHook("Admin/CM/pages/ListView/inject-column-in-table", (params) => {
|
|
81
81
|
try {
|
|
82
82
|
console.log("Localazy: Hook called with params:", params);
|
|
@@ -128,7 +128,7 @@ const index = {
|
|
|
128
128
|
type: "info",
|
|
129
129
|
message: t("plugin_settings.bulk_action_updating_entries")
|
|
130
130
|
});
|
|
131
|
-
const { default: EntryExclusionService } = await import("./entry-exclusion-service-
|
|
131
|
+
const { default: EntryExclusionService } = await import("./entry-exclusion-service-Bd3mUDde.mjs");
|
|
132
132
|
const documentIds = documents.map((doc) => doc.documentId);
|
|
133
133
|
await EntryExclusionService.setMultipleEntriesExclusion(model, documentIds, true);
|
|
134
134
|
toggleNotification({
|
|
@@ -163,7 +163,7 @@ const index = {
|
|
|
163
163
|
type: "info",
|
|
164
164
|
message: t("plugin_settings.bulk_action_updating_entries")
|
|
165
165
|
});
|
|
166
|
-
const { default: EntryExclusionService } = await import("./entry-exclusion-service-
|
|
166
|
+
const { default: EntryExclusionService } = await import("./entry-exclusion-service-Bd3mUDde.mjs");
|
|
167
167
|
const documentIds = documents.map((doc) => doc.documentId);
|
|
168
168
|
await EntryExclusionService.setMultipleEntriesExclusion(model, documentIds, false);
|
|
169
169
|
toggleNotification({
|
|
@@ -199,7 +199,7 @@ const addMenuLink = (app) => {
|
|
|
199
199
|
id: `${PLUGIN_ID}.name`,
|
|
200
200
|
defaultMessage: "Localazy"
|
|
201
201
|
},
|
|
202
|
-
Component: () => import("./LocalazyApp-
|
|
202
|
+
Component: () => import("./LocalazyApp-DM3zg5E4.mjs"),
|
|
203
203
|
permissions: PERMISSIONS.READ
|
|
204
204
|
});
|
|
205
205
|
};
|
|
@@ -221,7 +221,7 @@ const addSettingsSection = (app) => {
|
|
|
221
221
|
defaultMessage: "Localazy Settings"
|
|
222
222
|
},
|
|
223
223
|
to: `${PLUGIN_ID}/global-settings`,
|
|
224
|
-
Component: () => import("./LocalazyGlobalSettings-
|
|
224
|
+
Component: () => import("./LocalazyGlobalSettings-BWF0s9tM.mjs"),
|
|
225
225
|
permissions: PERMISSIONS.SETTINGS_READ
|
|
226
226
|
},
|
|
227
227
|
// Content Transfer Setup
|
|
@@ -232,7 +232,7 @@ const addSettingsSection = (app) => {
|
|
|
232
232
|
defaultMessage: "Content Transfer Setup"
|
|
233
233
|
},
|
|
234
234
|
to: `${PLUGIN_ID}/content-transfer-setup`,
|
|
235
|
-
Component: () => import("./LocalazyContentTransferSetup-
|
|
235
|
+
Component: () => import("./LocalazyContentTransferSetup-BA_rtSBM.mjs"),
|
|
236
236
|
permissions: PERMISSIONS.SETTINGS_READ
|
|
237
237
|
}
|
|
238
238
|
]
|
|
@@ -95,13 +95,13 @@ const index = {
|
|
|
95
95
|
try {
|
|
96
96
|
const contentManagerPlugin = app.getPlugin("content-manager");
|
|
97
97
|
if (contentManagerPlugin?.apis?.addEditViewSidePanel) {
|
|
98
|
-
const { default: LocalazyPanel } = await Promise.resolve().then(() => require("./LocalazyPanel-
|
|
98
|
+
const { default: LocalazyPanel } = await Promise.resolve().then(() => require("./LocalazyPanel-D0w9JSIS.js"));
|
|
99
99
|
const apis = contentManagerPlugin.apis;
|
|
100
100
|
apis.addEditViewSidePanel([LocalazyPanel]);
|
|
101
101
|
} else {
|
|
102
102
|
console.warn('Localazy Plugin: Content Manager "addEditViewSidePanel" API not available');
|
|
103
103
|
}
|
|
104
|
-
const { default: LocalazyStatusColumn } = await Promise.resolve().then(() => require("./LocalazyStatusColumn-
|
|
104
|
+
const { default: LocalazyStatusColumn } = await Promise.resolve().then(() => require("./LocalazyStatusColumn-BR3f8rKp.js"));
|
|
105
105
|
app.registerHook("Admin/CM/pages/ListView/inject-column-in-table", (params) => {
|
|
106
106
|
try {
|
|
107
107
|
console.log("Localazy: Hook called with params:", params);
|
|
@@ -153,7 +153,7 @@ const index = {
|
|
|
153
153
|
type: "info",
|
|
154
154
|
message: t("plugin_settings.bulk_action_updating_entries")
|
|
155
155
|
});
|
|
156
|
-
const { default: EntryExclusionService } = await Promise.resolve().then(() => require("./entry-exclusion-service-
|
|
156
|
+
const { default: EntryExclusionService } = await Promise.resolve().then(() => require("./entry-exclusion-service-CAIcybXX.js"));
|
|
157
157
|
const documentIds = documents.map((doc) => doc.documentId);
|
|
158
158
|
await EntryExclusionService.setMultipleEntriesExclusion(model, documentIds, true);
|
|
159
159
|
toggleNotification({
|
|
@@ -188,7 +188,7 @@ const index = {
|
|
|
188
188
|
type: "info",
|
|
189
189
|
message: t("plugin_settings.bulk_action_updating_entries")
|
|
190
190
|
});
|
|
191
|
-
const { default: EntryExclusionService } = await Promise.resolve().then(() => require("./entry-exclusion-service-
|
|
191
|
+
const { default: EntryExclusionService } = await Promise.resolve().then(() => require("./entry-exclusion-service-CAIcybXX.js"));
|
|
192
192
|
const documentIds = documents.map((doc) => doc.documentId);
|
|
193
193
|
await EntryExclusionService.setMultipleEntriesExclusion(model, documentIds, false);
|
|
194
194
|
toggleNotification({
|
|
@@ -224,7 +224,7 @@ const addMenuLink = (app) => {
|
|
|
224
224
|
id: `${PLUGIN_ID}.name`,
|
|
225
225
|
defaultMessage: "Localazy"
|
|
226
226
|
},
|
|
227
|
-
Component: () => Promise.resolve().then(() => require("./LocalazyApp-
|
|
227
|
+
Component: () => Promise.resolve().then(() => require("./LocalazyApp-Benn8pkA.js")),
|
|
228
228
|
permissions: PERMISSIONS.READ
|
|
229
229
|
});
|
|
230
230
|
};
|
|
@@ -246,7 +246,7 @@ const addSettingsSection = (app) => {
|
|
|
246
246
|
defaultMessage: "Localazy Settings"
|
|
247
247
|
},
|
|
248
248
|
to: `${PLUGIN_ID}/global-settings`,
|
|
249
|
-
Component: () => Promise.resolve().then(() => require("./LocalazyGlobalSettings-
|
|
249
|
+
Component: () => Promise.resolve().then(() => require("./LocalazyGlobalSettings-88jqQbD4.js")),
|
|
250
250
|
permissions: PERMISSIONS.SETTINGS_READ
|
|
251
251
|
},
|
|
252
252
|
// Content Transfer Setup
|
|
@@ -257,7 +257,7 @@ const addSettingsSection = (app) => {
|
|
|
257
257
|
defaultMessage: "Content Transfer Setup"
|
|
258
258
|
},
|
|
259
259
|
to: `${PLUGIN_ID}/content-transfer-setup`,
|
|
260
|
-
Component: () => Promise.resolve().then(() => require("./LocalazyContentTransferSetup-
|
|
260
|
+
Component: () => Promise.resolve().then(() => require("./LocalazyContentTransferSetup-CWchyGdD.js")),
|
|
261
261
|
permissions: PERMISSIONS.SETTINGS_READ
|
|
262
262
|
}
|
|
263
263
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const admin = require("@strapi/strapi/admin");
|
|
3
|
-
const index = require("./index-
|
|
3
|
+
const index = require("./index-DwFm1TyM.js");
|
|
4
4
|
const BASE_PLUGIN_PATH = `/${index.PLUGIN_ID}`;
|
|
5
5
|
const LOCALAZY_HEADER = { "X-Localazy-Initiated-By": "strapi-plugin-localazy" };
|
|
6
6
|
const withPluginHeader = (config) => ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getFetchClient } from "@strapi/strapi/admin";
|
|
2
|
-
import { a as PLUGIN_ID } from "./index-
|
|
2
|
+
import { a as PLUGIN_ID } from "./index-C9Px4v-A.mjs";
|
|
3
3
|
const BASE_PLUGIN_PATH = `/${PLUGIN_ID}`;
|
|
4
4
|
const LOCALAZY_HEADER = { "X-Localazy-Initiated-By": "strapi-plugin-localazy" };
|
|
5
5
|
const withPluginHeader = (config) => ({
|
package/dist/admin/index.js
CHANGED
package/dist/admin/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type SupportedContentTypeField = 'string' | 'text' | 'richtext' | 'email' | 'json';
|
|
1
|
+
export type SupportedContentTypeField = 'string' | 'text' | 'richtext' | 'email' | 'json' | 'blocks';
|
|
2
2
|
export declare const SUPPORTED_CONTENT_TYPE_FIELDS: SupportedContentTypeField[];
|