@localazy/strapi-plugin 1.0.0-beta.4 → 1.0.0-beta.5
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/{App-B-eJcuyt.mjs → App-CtS6CrNn.mjs} +4 -4
- package/dist/_chunks/{App-CZwW3YTd.js → App-NRmSxuW3.js} +4 -4
- package/dist/_chunks/{ContentTransferSetup-UJY9VRZa.mjs → ContentTransferSetup-CeKXlzw_.mjs} +3 -3
- package/dist/_chunks/{ContentTransferSetup-Dr_mJJgz.js → ContentTransferSetup-DGs8MZPj.js} +3 -3
- package/dist/_chunks/{GlobalSettings-fOqWFCaw.js → GlobalSettings-CRMPRA3Y.js} +4 -4
- package/dist/_chunks/{GlobalSettings-Zw4Rx2kW.mjs → GlobalSettings-rOwd0Y0E.mjs} +4 -4
- package/dist/_chunks/{LanguagesSelector-BCdGJ78t.js → LanguagesSelector-Bd8VFHib.js} +2 -2
- package/dist/_chunks/{LanguagesSelector-BuLqcCj3.mjs → LanguagesSelector-CeB7tVcb.mjs} +2 -2
- package/dist/_chunks/{has-model-changed-3odhT9AD.mjs → has-model-changed-DViUIQHk.mjs} +2 -2
- package/dist/_chunks/{has-model-changed-DWtqhgC5.js → has-model-changed-gNSOSMBa.js} +2 -2
- package/dist/_chunks/{index-A4sI66xq.js → index-Bbwk3kp3.js} +7 -9
- package/dist/_chunks/{index-ejNxZTDx.mjs → index-Dj68Ixl2.mjs} +7 -9
- package/dist/_chunks/{isEqual-CrFRsMew.js → isEqual-0M0aSdTT.js} +1 -1
- package/dist/_chunks/{isEqual-C5fQrX8H.mjs → isEqual-CC-cEPwY.mjs} +1 -1
- package/dist/_chunks/{set-B9_zNm2J.js → set-Cbi1yYuW.js} +1 -1
- package/dist/_chunks/{set-DetVznhF.mjs → set-Dnhh_SyE.mjs} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/modules/@common/utils/sort-by-model-name.d.ts +1 -1
- package/dist/server/index.js +1 -1
- package/dist/server/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useNavigate, useLocation, NavLink, Routes, Route } from "react-router-dom";
|
|
3
|
-
import { u as useTranslation, F as ForwardRef$2H, a as ForwardRef$d, b as ForwardRef$3P, c as Flex, L as Loader, g as getDefaultExportFromCjs, B as Button, d as Box, T as Typography, e as Link, S as SubNav, f as SubNavHeader, h as SubNavSections, i as SubNavSection, j as SubNavLink, k as ForwardRef$L, G as Grid, D as Divider, P as PluginSettingsService, l as darkTheme, m as lightTheme, A as Alert, n as cloneDeep, s as set, o as DesignSystemProvider } from "./set-
|
|
3
|
+
import { u as useTranslation, F as ForwardRef$2H, a as ForwardRef$d, b as ForwardRef$3P, c as Flex, L as Loader, g as getDefaultExportFromCjs, B as Button, d as Box, T as Typography, e as Link, S as SubNav, f as SubNavHeader, h as SubNavSections, i as SubNavSection, j as SubNavLink, k as ForwardRef$L, G as Grid, D as Divider, P as PluginSettingsService, l as darkTheme, m as lightTheme, A as Alert, n as cloneDeep, s as set, o as DesignSystemProvider } from "./set-Dnhh_SyE.mjs";
|
|
4
4
|
import { useState, useEffect } from "react";
|
|
5
|
-
import { P as PLUGIN_ID, c as createStrapiApiAxiosInstance, u as useLocalazyIdentity, L as LocalazyUserService, e as emptyIdentity } from "./index-
|
|
6
|
-
import { P as ProjectService, L as LanguagesSelector } from "./LanguagesSelector-
|
|
5
|
+
import { P as PLUGIN_ID, c as createStrapiApiAxiosInstance, u as useLocalazyIdentity, L as LocalazyUserService, e as emptyIdentity } from "./index-Dj68Ixl2.mjs";
|
|
6
|
+
import { P as ProjectService, L as LanguagesSelector } from "./LanguagesSelector-CeB7tVcb.mjs";
|
|
7
7
|
import { Layouts, Page } from "@strapi/strapi/admin";
|
|
8
|
-
import { h as hasModelChanged } from "./has-model-changed-
|
|
8
|
+
import { h as hasModelChanged } from "./has-model-changed-DViUIQHk.mjs";
|
|
9
9
|
var PLUGIN_ROUTES = /* @__PURE__ */ ((PLUGIN_ROUTES2) => {
|
|
10
10
|
PLUGIN_ROUTES2["ROOT"] = "";
|
|
11
11
|
PLUGIN_ROUTES2["LOGIN"] = "login";
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const reactRouterDom = require("react-router-dom");
|
|
5
|
-
const set = require("./set-
|
|
5
|
+
const set = require("./set-Cbi1yYuW.js");
|
|
6
6
|
const React = require("react");
|
|
7
|
-
const index = require("./index-
|
|
8
|
-
const LanguagesSelector = require("./LanguagesSelector-
|
|
7
|
+
const index = require("./index-Bbwk3kp3.js");
|
|
8
|
+
const LanguagesSelector = require("./LanguagesSelector-Bd8VFHib.js");
|
|
9
9
|
const admin = require("@strapi/strapi/admin");
|
|
10
|
-
const hasModelChanged = require("./has-model-changed-
|
|
10
|
+
const hasModelChanged = require("./has-model-changed-gNSOSMBa.js");
|
|
11
11
|
var PLUGIN_ROUTES = /* @__PURE__ */ ((PLUGIN_ROUTES2) => {
|
|
12
12
|
PLUGIN_ROUTES2["ROOT"] = "";
|
|
13
13
|
PLUGIN_ROUTES2["LOGIN"] = "login";
|
package/dist/_chunks/{ContentTransferSetup-UJY9VRZa.mjs → ContentTransferSetup-CeKXlzw_.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment as Fragment$1 } from "react/jsx-runtime";
|
|
2
2
|
import { createElement, isValidElement, cloneElement, Children, Fragment, useContext, forwardRef, useState, useEffect } from "react";
|
|
3
|
-
import { i as isEqual } from "./isEqual-
|
|
4
|
-
import { g as getDefaultExportFromCjs, x as warnOnce, y as getI18n, z as getDefaults, C as isString, E as warn, H as isObject, I as I18nContext, s as set, J as CheckboxImpl, K as keys, N as isArrayLike, O as arrayEach, Q as isArray, R as isObject$1, u as useTranslation, d as Box, U as Accordion, c as Flex, V as SwitchImpl, T as Typography, B as Button, p as ForwardRef$4z, A as Alert, D as Divider, P as PluginSettingsService, n as cloneDeep } from "./set-
|
|
3
|
+
import { i as isEqual } from "./isEqual-CC-cEPwY.mjs";
|
|
4
|
+
import { g as getDefaultExportFromCjs, x as warnOnce, y as getI18n, z as getDefaults, C as isString, E as warn, H as isObject, I as I18nContext, s as set, J as CheckboxImpl, K as keys, N as isArrayLike, O as arrayEach, Q as isArray, R as isObject$1, u as useTranslation, d as Box, U as Accordion, c as Flex, V as SwitchImpl, T as Typography, B as Button, p as ForwardRef$4z, A as Alert, D as Divider, P as PluginSettingsService, n as cloneDeep } from "./set-Dnhh_SyE.mjs";
|
|
5
5
|
import { Layouts } from "@strapi/strapi/admin";
|
|
6
|
-
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-
|
|
6
|
+
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-DViUIQHk.mjs";
|
|
7
7
|
import styled from "styled-components";
|
|
8
8
|
var voidElements = {
|
|
9
9
|
"area": true,
|
|
@@ -2,10 +2,10 @@
|
|
|
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 isEqual = require("./isEqual-
|
|
6
|
-
const set = require("./set-
|
|
5
|
+
const isEqual = require("./isEqual-0M0aSdTT.js");
|
|
6
|
+
const set = require("./set-Cbi1yYuW.js");
|
|
7
7
|
const admin = require("@strapi/strapi/admin");
|
|
8
|
-
const hasModelChanged = require("./has-model-changed-
|
|
8
|
+
const hasModelChanged = require("./has-model-changed-gNSOSMBa.js");
|
|
9
9
|
const styled = require("styled-components");
|
|
10
10
|
const _interopDefault = (e2) => e2 && e2.__esModule ? e2 : { default: e2 };
|
|
11
11
|
const styled__default = /* @__PURE__ */ _interopDefault(styled);
|
|
@@ -2,11 +2,11 @@
|
|
|
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 set = require("./set-
|
|
5
|
+
const set = require("./set-Cbi1yYuW.js");
|
|
6
6
|
const admin = require("@strapi/strapi/admin");
|
|
7
|
-
const isEqual = require("./isEqual-
|
|
8
|
-
const LanguagesSelector = require("./LanguagesSelector-
|
|
9
|
-
const index = require("./index-
|
|
7
|
+
const isEqual = require("./isEqual-0M0aSdTT.js");
|
|
8
|
+
const LanguagesSelector = require("./LanguagesSelector-Bd8VFHib.js");
|
|
9
|
+
const index = require("./index-Bbwk3kp3.js");
|
|
10
10
|
class PluginSettingsService {
|
|
11
11
|
static async getAdminPanelUsers() {
|
|
12
12
|
try {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
|
-
import { u as useTranslation, c as Flex, B as Button, p as ForwardRef$4z, d as Box, A as Alert, T as Typography, q as Field, r as Toggle, M as MultiSelect, t as MultiSelectOption, D as Divider, v as SingleSelect, w as SingleSelectOption, P as PluginSettingsService$1, n as cloneDeep, s as set } from "./set-
|
|
3
|
+
import { u as useTranslation, c as Flex, B as Button, p as ForwardRef$4z, d as Box, A as Alert, T as Typography, q as Field, r as Toggle, M as MultiSelect, t as MultiSelectOption, D as Divider, v as SingleSelect, w as SingleSelectOption, P as PluginSettingsService$1, n as cloneDeep, s as set } from "./set-Dnhh_SyE.mjs";
|
|
4
4
|
import { Layouts } from "@strapi/strapi/admin";
|
|
5
|
-
import { i as isEqual } from "./isEqual-
|
|
6
|
-
import { L as LanguagesSelector, P as ProjectService } from "./LanguagesSelector-
|
|
7
|
-
import { c as createStrapiApiAxiosInstance } from "./index-
|
|
5
|
+
import { i as isEqual } from "./isEqual-CC-cEPwY.mjs";
|
|
6
|
+
import { L as LanguagesSelector, P as ProjectService } from "./LanguagesSelector-CeB7tVcb.mjs";
|
|
7
|
+
import { c as createStrapiApiAxiosInstance } from "./index-Dj68Ixl2.mjs";
|
|
8
8
|
class PluginSettingsService {
|
|
9
9
|
static async getAdminPanelUsers() {
|
|
10
10
|
try {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const index = require("./index-
|
|
2
|
+
const index = require("./index-Bbwk3kp3.js");
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const React = require("react");
|
|
5
|
-
const set = require("./set-
|
|
5
|
+
const set = require("./set-Cbi1yYuW.js");
|
|
6
6
|
const strapiApiInstance = index.createStrapiApiAxiosInstance();
|
|
7
7
|
class ProjectService {
|
|
8
8
|
static async getConnectedProject() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as createStrapiApiAxiosInstance } from "./index-
|
|
1
|
+
import { c as createStrapiApiAxiosInstance } from "./index-Dj68Ixl2.mjs";
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useEffect } from "react";
|
|
4
|
-
import { u as useTranslation, q as Field, M as MultiSelect, t as MultiSelectOption, n as cloneDeep } from "./set-
|
|
4
|
+
import { u as useTranslation, q as Field, M as MultiSelect, t as MultiSelectOption, n as cloneDeep } from "./set-Dnhh_SyE.mjs";
|
|
5
5
|
const strapiApiInstance = createStrapiApiAxiosInstance();
|
|
6
6
|
class ProjectService {
|
|
7
7
|
static async getConnectedProject() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W as castPath, X as toKey, Y as Set, Z as setToArray, _ as SetCache, $ as cacheHas, g as getDefaultExportFromCjs, P as PluginSettingsService } from "./set-
|
|
2
|
-
import { c as createStrapiApiAxiosInstance } from "./index-
|
|
1
|
+
import { W as castPath, X as toKey, Y as Set, Z as setToArray, _ as SetCache, $ as cacheHas, g as getDefaultExportFromCjs, P as PluginSettingsService } from "./set-Dnhh_SyE.mjs";
|
|
2
|
+
import { c as createStrapiApiAxiosInstance } from "./index-Dj68Ixl2.mjs";
|
|
3
3
|
function baseGet(object, path) {
|
|
4
4
|
path = castPath(path, object);
|
|
5
5
|
var index = 0, length = path.length;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const set = require("./set-
|
|
3
|
-
const index = require("./index-
|
|
2
|
+
const set = require("./set-Cbi1yYuW.js");
|
|
3
|
+
const index = require("./index-Bbwk3kp3.js");
|
|
4
4
|
function baseGet(object, path) {
|
|
5
5
|
path = set.castPath(path, object);
|
|
6
6
|
var index2 = 0, length = path.length;
|
|
@@ -2461,13 +2461,11 @@ const {
|
|
|
2461
2461
|
mergeConfig
|
|
2462
2462
|
} = axios;
|
|
2463
2463
|
const BASE_PLUGIN_PATH = `/${PLUGIN_ID}`;
|
|
2464
|
+
const JWT_TOKEN_NAME = "jwtToken";
|
|
2464
2465
|
const getToken = () => {
|
|
2465
|
-
const
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
}
|
|
2469
|
-
const parsedToken = JSON.parse(token);
|
|
2470
|
-
return parsedToken;
|
|
2466
|
+
const jwtTokenCookie = document.cookie.split("; ").find((row) => row.startsWith(`${JWT_TOKEN_NAME}=`));
|
|
2467
|
+
const jwtToken = jwtTokenCookie ? jwtTokenCookie.split("=")[1] : "";
|
|
2468
|
+
return jwtToken || localStorage.getItem(JWT_TOKEN_NAME) || sessionStorage.getItem(JWT_TOKEN_NAME) || "";
|
|
2471
2469
|
};
|
|
2472
2470
|
const createStrapiApiAxiosInstance = (baseUrl = null) => {
|
|
2473
2471
|
const token = getToken();
|
|
@@ -2577,7 +2575,7 @@ const addMenuLink = (app) => {
|
|
|
2577
2575
|
defaultMessage: getTranslation("name")
|
|
2578
2576
|
},
|
|
2579
2577
|
Component: async () => {
|
|
2580
|
-
const { App } = await Promise.resolve().then(() => require("./App-
|
|
2578
|
+
const { App } = await Promise.resolve().then(() => require("./App-NRmSxuW3.js"));
|
|
2581
2579
|
const { LocalazyIdentityProvider: LocalazyIdentityProvider2 } = await Promise.resolve().then(() => localazyIdentity);
|
|
2582
2580
|
const WrappedApp = () => React__default.default.createElement(LocalazyIdentityProvider2, {
|
|
2583
2581
|
children: React__default.default.createElement(React__default.default.Fragment, {}, [
|
|
@@ -2608,7 +2606,7 @@ const addSettingsSection = (app) => {
|
|
|
2608
2606
|
},
|
|
2609
2607
|
to: `/settings/${PLUGIN_ID}/global-settings`,
|
|
2610
2608
|
Component: async () => {
|
|
2611
|
-
const { GlobalSettings } = await Promise.resolve().then(() => require("./GlobalSettings-
|
|
2609
|
+
const { GlobalSettings } = await Promise.resolve().then(() => require("./GlobalSettings-CRMPRA3Y.js"));
|
|
2612
2610
|
const { LocalazyIdentityProvider: LocalazyIdentityProvider2 } = await Promise.resolve().then(() => localazyIdentity);
|
|
2613
2611
|
const WrappedGlobalSettings = () => React__default.default.createElement(LocalazyIdentityProvider2, { children: React__default.default.createElement(GlobalSettings, {}) });
|
|
2614
2612
|
return WrappedGlobalSettings;
|
|
@@ -2624,7 +2622,7 @@ const addSettingsSection = (app) => {
|
|
|
2624
2622
|
},
|
|
2625
2623
|
to: `/settings/${PLUGIN_ID}/content-transfer-setup`,
|
|
2626
2624
|
Component: async () => {
|
|
2627
|
-
const { ContentTransferSetup } = await Promise.resolve().then(() => require("./ContentTransferSetup-
|
|
2625
|
+
const { ContentTransferSetup } = await Promise.resolve().then(() => require("./ContentTransferSetup-DGs8MZPj.js"));
|
|
2628
2626
|
const { LocalazyIdentityProvider: LocalazyIdentityProvider2 } = await Promise.resolve().then(() => localazyIdentity);
|
|
2629
2627
|
const WrappedContentTransferSetup = () => React__default.default.createElement(LocalazyIdentityProvider2, {
|
|
2630
2628
|
children: React__default.default.createElement(React__default.default.Fragment, {}, [
|
|
@@ -2458,13 +2458,11 @@ const {
|
|
|
2458
2458
|
mergeConfig
|
|
2459
2459
|
} = axios;
|
|
2460
2460
|
const BASE_PLUGIN_PATH = `/${PLUGIN_ID}`;
|
|
2461
|
+
const JWT_TOKEN_NAME = "jwtToken";
|
|
2461
2462
|
const getToken = () => {
|
|
2462
|
-
const
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
}
|
|
2466
|
-
const parsedToken = JSON.parse(token);
|
|
2467
|
-
return parsedToken;
|
|
2463
|
+
const jwtTokenCookie = document.cookie.split("; ").find((row) => row.startsWith(`${JWT_TOKEN_NAME}=`));
|
|
2464
|
+
const jwtToken = jwtTokenCookie ? jwtTokenCookie.split("=")[1] : "";
|
|
2465
|
+
return jwtToken || localStorage.getItem(JWT_TOKEN_NAME) || sessionStorage.getItem(JWT_TOKEN_NAME) || "";
|
|
2468
2466
|
};
|
|
2469
2467
|
const createStrapiApiAxiosInstance = (baseUrl = null) => {
|
|
2470
2468
|
const token = getToken();
|
|
@@ -2574,7 +2572,7 @@ const addMenuLink = (app) => {
|
|
|
2574
2572
|
defaultMessage: getTranslation("name")
|
|
2575
2573
|
},
|
|
2576
2574
|
Component: async () => {
|
|
2577
|
-
const { App } = await import("./App-
|
|
2575
|
+
const { App } = await import("./App-CtS6CrNn.mjs");
|
|
2578
2576
|
const { LocalazyIdentityProvider: LocalazyIdentityProvider2 } = await Promise.resolve().then(() => localazyIdentity);
|
|
2579
2577
|
const WrappedApp = () => React__default.createElement(LocalazyIdentityProvider2, {
|
|
2580
2578
|
children: React__default.createElement(React__default.Fragment, {}, [
|
|
@@ -2605,7 +2603,7 @@ const addSettingsSection = (app) => {
|
|
|
2605
2603
|
},
|
|
2606
2604
|
to: `/settings/${PLUGIN_ID}/global-settings`,
|
|
2607
2605
|
Component: async () => {
|
|
2608
|
-
const { GlobalSettings } = await import("./GlobalSettings-
|
|
2606
|
+
const { GlobalSettings } = await import("./GlobalSettings-rOwd0Y0E.mjs");
|
|
2609
2607
|
const { LocalazyIdentityProvider: LocalazyIdentityProvider2 } = await Promise.resolve().then(() => localazyIdentity);
|
|
2610
2608
|
const WrappedGlobalSettings = () => React__default.createElement(LocalazyIdentityProvider2, { children: React__default.createElement(GlobalSettings, {}) });
|
|
2611
2609
|
return WrappedGlobalSettings;
|
|
@@ -2621,7 +2619,7 @@ const addSettingsSection = (app) => {
|
|
|
2621
2619
|
},
|
|
2622
2620
|
to: `/settings/${PLUGIN_ID}/content-transfer-setup`,
|
|
2623
2621
|
Component: async () => {
|
|
2624
|
-
const { ContentTransferSetup } = await import("./ContentTransferSetup-
|
|
2622
|
+
const { ContentTransferSetup } = await import("./ContentTransferSetup-CeKXlzw_.mjs");
|
|
2625
2623
|
const { LocalazyIdentityProvider: LocalazyIdentityProvider2 } = await Promise.resolve().then(() => localazyIdentity);
|
|
2626
2624
|
const WrappedContentTransferSetup = () => React__default.createElement(LocalazyIdentityProvider2, {
|
|
2627
2625
|
children: React__default.createElement(React__default.Fragment, {}, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as SetCache, $ as cacheHas, a0 as Symbol$1, a1 as eq, a2 as Uint8Array, Z as setToArray, a3 as getAllKeys, a4 as getTag, a5 as isBuffer, a6 as Stack, a7 as isTypedArray, Q as isArray, a8 as isObjectLike } from "./set-
|
|
1
|
+
import { _ as SetCache, $ as cacheHas, a0 as Symbol$1, a1 as eq, a2 as Uint8Array, Z as setToArray, a3 as getAllKeys, a4 as getTag, a5 as isBuffer, a6 as Stack, a7 as isTypedArray, Q as isArray, a8 as isObjectLike } from "./set-Dnhh_SyE.mjs";
|
|
2
2
|
function arraySome(array, predicate) {
|
|
3
3
|
var index = -1, length = array == null ? 0 : array.length;
|
|
4
4
|
while (++index < length) {
|
|
@@ -3,7 +3,7 @@ const React = require("react");
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const ReactDOM = require("react-dom");
|
|
5
5
|
const styled = require("styled-components");
|
|
6
|
-
const index$1 = require("./index-
|
|
6
|
+
const index$1 = require("./index-Bbwk3kp3.js");
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
9
9
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
@@ -4,7 +4,7 @@ import { jsxs, Fragment as Fragment$1, jsx } from "react/jsx-runtime";
|
|
|
4
4
|
import * as ReactDOM from "react-dom";
|
|
5
5
|
import ReactDOM__default, { flushSync, createPortal } from "react-dom";
|
|
6
6
|
import { useTheme, ThemeProvider, createGlobalStyle, css, styled, keyframes } from "styled-components";
|
|
7
|
-
import { c as createStrapiApiAxiosInstance } from "./index-
|
|
7
|
+
import { c as createStrapiApiAxiosInstance } from "./index-Dj68Ixl2.mjs";
|
|
8
8
|
function $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(callback) {
|
|
9
9
|
const callbackRef = useRef(callback);
|
|
10
10
|
useEffect(() => {
|
package/dist/admin/index.js
CHANGED
package/dist/admin/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: (a: Record<string, any>, b: Record<string, any>) =>
|
|
1
|
+
declare const _default: (a: Record<string, any>, b: Record<string, any>) => 1 | 0 | -1;
|
|
2
2
|
export default _default;
|
package/dist/server/index.js
CHANGED
|
@@ -811,7 +811,7 @@ var merge = createAssigner(function(object, source, srcIndex) {
|
|
|
811
811
|
baseMerge(object, source, srcIndex);
|
|
812
812
|
});
|
|
813
813
|
const name = "@localazy/strapi-plugin";
|
|
814
|
-
const version$1 = "1.0.0-beta.
|
|
814
|
+
const version$1 = "1.0.0-beta.4";
|
|
815
815
|
const description = "The official Strapi Plugin by Localazy.";
|
|
816
816
|
const keywords = [
|
|
817
817
|
"strapi",
|
package/dist/server/index.mjs
CHANGED
|
@@ -798,7 +798,7 @@ var merge = createAssigner(function(object, source, srcIndex) {
|
|
|
798
798
|
baseMerge(object, source, srcIndex);
|
|
799
799
|
});
|
|
800
800
|
const name = "@localazy/strapi-plugin";
|
|
801
|
-
const version$1 = "1.0.0-beta.
|
|
801
|
+
const version$1 = "1.0.0-beta.4";
|
|
802
802
|
const description = "The official Strapi Plugin by Localazy.";
|
|
803
803
|
const keywords = [
|
|
804
804
|
"strapi",
|