@mattisvensson/strapi-plugin-webatlas 0.2.5 → 0.2.6
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/{index-BjbgWZrg.mjs → index-BMQSVj43.mjs} +11 -7
- package/dist/_chunks/{index-B5ilx6DT.mjs → index-BMlQpLGa.mjs} +1 -1
- package/dist/_chunks/{index-BxuR805w.mjs → index-B_RPO9ty.mjs} +1 -1
- package/dist/_chunks/{index-kz3NL7uv.js → index-BvXbuF1E.js} +1 -1
- package/dist/_chunks/{index-B-ABW-o6.js → index-D4IHmUrH.js} +1 -1
- package/dist/_chunks/{index-B7vKSyAn.js → index-DIyVy-8D.js} +20 -14
- package/dist/_chunks/{index-CAjBRbaH.js → index-DrlYDm6a.js} +11 -7
- package/dist/_chunks/{index-D_OdzeaU.mjs → index-uoH_HJQr.mjs} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/components/CMEditViewAside/Alias.d.ts +1 -1
- package/dist/server/index.js +12 -12
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +12 -12
- package/dist/server/index.mjs.map +1 -1
- package/dist/server/src/content-types/index.d.ts +5 -5
- package/dist/server/src/content-types/navigation/index.d.ts +1 -1
- package/dist/server/src/content-types/navigation/schema.d.ts +1 -1
- package/dist/server/src/content-types/navitem/index.d.ts +3 -3
- package/dist/server/src/content-types/navitem/schema.d.ts +3 -3
- package/dist/server/src/content-types/route/index.d.ts +1 -1
- package/dist/server/src/content-types/route/schema.d.ts +1 -1
- package/dist/server/src/index.d.ts +5 -5
- package/package.json +1 -1
- package/dist/_chunks/EmptyBox-7D4LrvdH.mjs.map +0 -1
- package/dist/_chunks/EmptyBox-DT6D5gcf.js.map +0 -1
- package/dist/_chunks/_baseConvert-CDjccxdO.mjs +0 -859
- package/dist/_chunks/_baseConvert-CDjccxdO.mjs.map +0 -1
- package/dist/_chunks/_baseConvert-DVIhGQH6.js +0 -858
- package/dist/_chunks/_baseConvert-DVIhGQH6.js.map +0 -1
- package/dist/_chunks/en-B4KWt_jN.js.map +0 -1
- package/dist/_chunks/en-Byx4XI2L.mjs.map +0 -1
- package/dist/_chunks/index-1VNPebOd.mjs +0 -45
- package/dist/_chunks/index-1VNPebOd.mjs.map +0 -1
- package/dist/_chunks/index-B7vKSyAn.js.map +0 -1
- package/dist/_chunks/index-CPE1Ne_e.js +0 -4102
- package/dist/_chunks/index-CPE1Ne_e.js.map +0 -1
- package/dist/_chunks/index-ChOgKZGK.mjs +0 -9924
- package/dist/_chunks/index-ChOgKZGK.mjs.map +0 -1
- package/dist/_chunks/index-Cs_oxZfX.js +0 -17134
- package/dist/_chunks/index-CuMn96qA.js +0 -9924
- package/dist/_chunks/index-CuMn96qA.js.map +0 -1
- package/dist/_chunks/index-Djk_-mU6.js +0 -45
- package/dist/_chunks/index-Djk_-mU6.js.map +0 -1
- package/dist/_chunks/index-HHBjOGX5.mjs +0 -17130
- package/dist/_chunks/index-HHBjOGX5.mjs.map +0 -1
- package/dist/_chunks/index-yLrZAFVv.mjs +0 -4086
- package/dist/_chunks/index-yLrZAFVv.mjs.map +0 -1
- package/dist/admin/index.js.map +0 -1
- package/dist/admin/index.mjs.map +0 -1
|
@@ -22,7 +22,7 @@ const __variableDynamicImportRuntimeHelper = (glob, path, segs) => {
|
|
|
22
22
|
);
|
|
23
23
|
});
|
|
24
24
|
};
|
|
25
|
-
const version = "0.2.
|
|
25
|
+
const version = "0.2.5";
|
|
26
26
|
const keywords = [];
|
|
27
27
|
const type = "commonjs";
|
|
28
28
|
const exports = {
|
|
@@ -3732,7 +3732,6 @@ const Alias = ({ config }) => {
|
|
|
3732
3732
|
const hasUserChangedField = useRef(false);
|
|
3733
3733
|
const initialPath = useRef("");
|
|
3734
3734
|
const prevValueRef = useRef(null);
|
|
3735
|
-
if (!config) return null;
|
|
3736
3735
|
const debouncedCheckUrl = useCallback(debounce(checkUrl, 500), []);
|
|
3737
3736
|
useEffect(() => {
|
|
3738
3737
|
onChange("webatlas_path", path.value);
|
|
@@ -3760,11 +3759,15 @@ const Alias = ({ config }) => {
|
|
|
3760
3759
|
[config?.default, config?.pattern, initialValues, isOverride, initialLoadComplete, routeId]
|
|
3761
3760
|
);
|
|
3762
3761
|
useEffect(() => {
|
|
3763
|
-
if (!initialLoadComplete) return;
|
|
3764
3762
|
const key = config?.default;
|
|
3765
3763
|
if (!key) return;
|
|
3766
3764
|
const currentValue = values[key];
|
|
3767
3765
|
const initialValue = initialValues[key];
|
|
3766
|
+
if (currentValue && !isOverride) {
|
|
3767
|
+
const path2 = config.pattern ? `${config.pattern}/${currentValue}` : `${currentValue}`;
|
|
3768
|
+
onChange("webatlas_path", path2);
|
|
3769
|
+
}
|
|
3770
|
+
if (!initialLoadComplete) return;
|
|
3768
3771
|
if (currentValue !== initialValue) {
|
|
3769
3772
|
hasUserChangedField.current = true;
|
|
3770
3773
|
}
|
|
@@ -3823,6 +3826,7 @@ const Alias = ({ config }) => {
|
|
|
3823
3826
|
setValidationState("done");
|
|
3824
3827
|
}
|
|
3825
3828
|
}
|
|
3829
|
+
if (!initialLoadComplete) return /* @__PURE__ */ jsx(Typography, { textColor: "neutral600", children: "Loading..." });
|
|
3826
3830
|
return /* @__PURE__ */ jsx(
|
|
3827
3831
|
Box,
|
|
3828
3832
|
{
|
|
@@ -3960,7 +3964,7 @@ const CMEditViewAside = () => {
|
|
|
3960
3964
|
}
|
|
3961
3965
|
});
|
|
3962
3966
|
}, []);
|
|
3963
|
-
if (isLoading) return /* @__PURE__ */ jsx(Typography, { textColor: "neutral600", children: "Loading..." });
|
|
3967
|
+
if (isLoading || !config) return /* @__PURE__ */ jsx(Typography, { textColor: "neutral600", children: "Loading..." });
|
|
3964
3968
|
if (!isAllowedContentType) return /* @__PURE__ */ jsxs(Typography, { textColor: "neutral600", children: [
|
|
3965
3969
|
"This content type is not allowed for ",
|
|
3966
3970
|
/* @__PURE__ */ jsx("strong", { children: "WebAtlas" }),
|
|
@@ -3985,7 +3989,7 @@ const index = {
|
|
|
3985
3989
|
defaultMessage: "Routes"
|
|
3986
3990
|
},
|
|
3987
3991
|
Component: async () => {
|
|
3988
|
-
const component = await import("./index-
|
|
3992
|
+
const component = await import("./index-BMlQpLGa.mjs");
|
|
3989
3993
|
return { default: component.default };
|
|
3990
3994
|
},
|
|
3991
3995
|
permissions: [
|
|
@@ -4004,7 +4008,7 @@ const index = {
|
|
|
4004
4008
|
defaultMessage: "Navigation"
|
|
4005
4009
|
},
|
|
4006
4010
|
Component: async () => {
|
|
4007
|
-
const component = await import("./index-
|
|
4011
|
+
const component = await import("./index-uoH_HJQr.mjs");
|
|
4008
4012
|
return { default: component.default };
|
|
4009
4013
|
},
|
|
4010
4014
|
permissions: [
|
|
@@ -4033,7 +4037,7 @@ const index = {
|
|
|
4033
4037
|
Component: async () => {
|
|
4034
4038
|
return await import(
|
|
4035
4039
|
/* webpackChunkName: "webatlas-settings-page" */
|
|
4036
|
-
"./index-
|
|
4040
|
+
"./index-B_RPO9ty.mjs"
|
|
4037
4041
|
);
|
|
4038
4042
|
},
|
|
4039
4043
|
permissions: [
|
|
@@ -3,7 +3,7 @@ import { useState, useEffect } from "react";
|
|
|
3
3
|
import { Layouts } from "@strapi/strapi/admin";
|
|
4
4
|
import { Table, Thead, Tr, Th, Typography, VisuallyHidden, Tbody, Td, Flex, LinkButton } from "@strapi/design-system";
|
|
5
5
|
import { Pencil } from "@strapi/icons";
|
|
6
|
-
import { u as useApi } from "./index-
|
|
6
|
+
import { u as useApi } from "./index-BMQSVj43.mjs";
|
|
7
7
|
import { C as Center, E as EmptyBox } from "./EmptyBox-7D4LrvdH.mjs";
|
|
8
8
|
const Routes = () => {
|
|
9
9
|
const { getRoutes } = useApi();
|
|
@@ -10,7 +10,7 @@ import { useIntl } from "react-intl";
|
|
|
10
10
|
import "@strapi/icons/symbols";
|
|
11
11
|
import ReactDOM__default, { unstable_batchedUpdates as unstable_batchedUpdates$1 } from "react-dom";
|
|
12
12
|
import { createGlobalStyle, styled } from "styled-components";
|
|
13
|
-
import { _ as _extends$4, b as usePluginConfig, c as useAllContentTypes, t as transformToUrl, T as Tooltip } from "./index-
|
|
13
|
+
import { _ as _extends$4, b as usePluginConfig, c as useAllContentTypes, t as transformToUrl, T as Tooltip } from "./index-BMQSVj43.mjs";
|
|
14
14
|
var freeGlobal$1 = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
|
|
15
15
|
var _freeGlobal = freeGlobal$1;
|
|
16
16
|
var freeGlobal = _freeGlobal;
|
|
@@ -5,7 +5,7 @@ const React = require("react");
|
|
|
5
5
|
const admin = require("@strapi/strapi/admin");
|
|
6
6
|
const designSystem = require("@strapi/design-system");
|
|
7
7
|
const icons = require("@strapi/icons");
|
|
8
|
-
const index = require("./index-
|
|
8
|
+
const index = require("./index-DrlYDm6a.js");
|
|
9
9
|
const EmptyBox = require("./EmptyBox-DT6D5gcf.js");
|
|
10
10
|
const Routes = () => {
|
|
11
11
|
const { getRoutes } = index.useApi();
|
|
@@ -6,7 +6,7 @@ const designSystem = require("@strapi/design-system");
|
|
|
6
6
|
const admin = require("@strapi/strapi/admin");
|
|
7
7
|
const React = require("react");
|
|
8
8
|
const ReactDOM = require("react-dom");
|
|
9
|
-
const index = require("./index-
|
|
9
|
+
const index = require("./index-DrlYDm6a.js");
|
|
10
10
|
const EmptyBox = require("./EmptyBox-DT6D5gcf.js");
|
|
11
11
|
const _baseConvert = require("./_baseConvert-B84_vf8X.js");
|
|
12
12
|
const core = require("@dnd-kit/core");
|
|
@@ -5,13 +5,13 @@ const React = require("react");
|
|
|
5
5
|
const icons = require("@strapi/icons");
|
|
6
6
|
const designSystem = require("@strapi/design-system");
|
|
7
7
|
require("react-dom/client");
|
|
8
|
-
const _baseConvert = require("./_baseConvert-
|
|
8
|
+
const _baseConvert = require("./_baseConvert-B84_vf8X.js");
|
|
9
9
|
const reactRouterDom = require("react-router-dom");
|
|
10
10
|
const reactIntl = require("react-intl");
|
|
11
11
|
require("@strapi/icons/symbols");
|
|
12
12
|
const ReactDOM = require("react-dom");
|
|
13
13
|
const styledComponents = require("styled-components");
|
|
14
|
-
const index = require("./index-
|
|
14
|
+
const index = require("./index-DrlYDm6a.js");
|
|
15
15
|
const _interopDefault = (e2) => e2 && e2.__esModule ? e2 : { default: e2 };
|
|
16
16
|
function _interopNamespace(e2) {
|
|
17
17
|
if (e2 && e2.__esModule) return e2;
|
|
@@ -1928,10 +1928,10 @@ function requireObject_getPrototypeOf() {
|
|
|
1928
1928
|
Object_getPrototypeOf = $Object2.getPrototypeOf || null;
|
|
1929
1929
|
return Object_getPrototypeOf;
|
|
1930
1930
|
}
|
|
1931
|
-
var implementation
|
|
1931
|
+
var implementation;
|
|
1932
1932
|
var hasRequiredImplementation;
|
|
1933
1933
|
function requireImplementation() {
|
|
1934
|
-
if (hasRequiredImplementation) return implementation
|
|
1934
|
+
if (hasRequiredImplementation) return implementation;
|
|
1935
1935
|
hasRequiredImplementation = 1;
|
|
1936
1936
|
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
1937
1937
|
var toStr2 = Object.prototype.toString;
|
|
@@ -1964,7 +1964,7 @@ function requireImplementation() {
|
|
|
1964
1964
|
}
|
|
1965
1965
|
return str;
|
|
1966
1966
|
};
|
|
1967
|
-
implementation
|
|
1967
|
+
implementation = function bind2(that) {
|
|
1968
1968
|
var target = this;
|
|
1969
1969
|
if (typeof target !== "function" || toStr2.apply(target) !== funcType) {
|
|
1970
1970
|
throw new TypeError(ERROR_MESSAGE + target);
|
|
@@ -2002,10 +2002,17 @@ function requireImplementation() {
|
|
|
2002
2002
|
}
|
|
2003
2003
|
return bound;
|
|
2004
2004
|
};
|
|
2005
|
-
return implementation
|
|
2005
|
+
return implementation;
|
|
2006
|
+
}
|
|
2007
|
+
var functionBind;
|
|
2008
|
+
var hasRequiredFunctionBind;
|
|
2009
|
+
function requireFunctionBind() {
|
|
2010
|
+
if (hasRequiredFunctionBind) return functionBind;
|
|
2011
|
+
hasRequiredFunctionBind = 1;
|
|
2012
|
+
var implementation2 = requireImplementation();
|
|
2013
|
+
functionBind = Function.prototype.bind || implementation2;
|
|
2014
|
+
return functionBind;
|
|
2006
2015
|
}
|
|
2007
|
-
var implementation = requireImplementation();
|
|
2008
|
-
var functionBind = Function.prototype.bind || implementation;
|
|
2009
2016
|
var functionCall;
|
|
2010
2017
|
var hasRequiredFunctionCall;
|
|
2011
2018
|
function requireFunctionCall() {
|
|
@@ -2023,12 +2030,12 @@ function requireFunctionApply() {
|
|
|
2023
2030
|
return functionApply;
|
|
2024
2031
|
}
|
|
2025
2032
|
var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
2026
|
-
var bind$2 =
|
|
2033
|
+
var bind$2 = requireFunctionBind();
|
|
2027
2034
|
var $apply$1 = requireFunctionApply();
|
|
2028
2035
|
var $call$2 = requireFunctionCall();
|
|
2029
2036
|
var $reflectApply = reflectApply;
|
|
2030
2037
|
var actualApply = $reflectApply || bind$2.call($call$2, $apply$1);
|
|
2031
|
-
var bind$1 =
|
|
2038
|
+
var bind$1 = requireFunctionBind();
|
|
2032
2039
|
var $TypeError$4 = type;
|
|
2033
2040
|
var $call$1 = requireFunctionCall();
|
|
2034
2041
|
var $actualApply = actualApply;
|
|
@@ -2096,7 +2103,7 @@ function requireHasown() {
|
|
|
2096
2103
|
hasRequiredHasown = 1;
|
|
2097
2104
|
var call = Function.prototype.call;
|
|
2098
2105
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
2099
|
-
var bind2 =
|
|
2106
|
+
var bind2 = requireFunctionBind();
|
|
2100
2107
|
hasown = bind2.call(call, $hasOwn);
|
|
2101
2108
|
return hasown;
|
|
2102
2109
|
}
|
|
@@ -2315,7 +2322,7 @@ var LEGACY_ALIASES = {
|
|
|
2315
2322
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
2316
2323
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
2317
2324
|
};
|
|
2318
|
-
var bind =
|
|
2325
|
+
var bind = requireFunctionBind();
|
|
2319
2326
|
var hasOwn = requireHasown();
|
|
2320
2327
|
var $concat = bind.call($call, Array.prototype.concat);
|
|
2321
2328
|
var $spliceApply = bind.call($apply, Array.prototype.splice);
|
|
@@ -9968,7 +9975,7 @@ function requireFlow() {
|
|
|
9968
9975
|
return flow_1;
|
|
9969
9976
|
}
|
|
9970
9977
|
var convert = convert_1, func = convert("flow", requireFlow());
|
|
9971
|
-
func.placeholder = _baseConvert.
|
|
9978
|
+
func.placeholder = _baseConvert.requirePlaceholder();
|
|
9972
9979
|
var flow = func;
|
|
9973
9980
|
var pipe = flow;
|
|
9974
9981
|
const pipe$1 = /* @__PURE__ */ _baseConvert.getDefaultExportFromCjs(pipe);
|
|
@@ -17146,4 +17153,3 @@ const Settings = () => {
|
|
|
17146
17153
|
] });
|
|
17147
17154
|
};
|
|
17148
17155
|
exports.default = Settings;
|
|
17149
|
-
//# sourceMappingURL=index-B7vKSyAn.js.map
|
|
@@ -40,7 +40,7 @@ const __variableDynamicImportRuntimeHelper = (glob, path, segs) => {
|
|
|
40
40
|
);
|
|
41
41
|
});
|
|
42
42
|
};
|
|
43
|
-
const version = "0.2.
|
|
43
|
+
const version = "0.2.5";
|
|
44
44
|
const keywords = [];
|
|
45
45
|
const type = "commonjs";
|
|
46
46
|
const exports$1 = {
|
|
@@ -3750,7 +3750,6 @@ const Alias = ({ config }) => {
|
|
|
3750
3750
|
const hasUserChangedField = React.useRef(false);
|
|
3751
3751
|
const initialPath = React.useRef("");
|
|
3752
3752
|
const prevValueRef = React.useRef(null);
|
|
3753
|
-
if (!config) return null;
|
|
3754
3753
|
const debouncedCheckUrl = React.useCallback(debounce(checkUrl, 500), []);
|
|
3755
3754
|
React.useEffect(() => {
|
|
3756
3755
|
onChange("webatlas_path", path.value);
|
|
@@ -3778,11 +3777,15 @@ const Alias = ({ config }) => {
|
|
|
3778
3777
|
[config?.default, config?.pattern, initialValues, isOverride, initialLoadComplete, routeId]
|
|
3779
3778
|
);
|
|
3780
3779
|
React.useEffect(() => {
|
|
3781
|
-
if (!initialLoadComplete) return;
|
|
3782
3780
|
const key = config?.default;
|
|
3783
3781
|
if (!key) return;
|
|
3784
3782
|
const currentValue = values[key];
|
|
3785
3783
|
const initialValue = initialValues[key];
|
|
3784
|
+
if (currentValue && !isOverride) {
|
|
3785
|
+
const path2 = config.pattern ? `${config.pattern}/${currentValue}` : `${currentValue}`;
|
|
3786
|
+
onChange("webatlas_path", path2);
|
|
3787
|
+
}
|
|
3788
|
+
if (!initialLoadComplete) return;
|
|
3786
3789
|
if (currentValue !== initialValue) {
|
|
3787
3790
|
hasUserChangedField.current = true;
|
|
3788
3791
|
}
|
|
@@ -3841,6 +3844,7 @@ const Alias = ({ config }) => {
|
|
|
3841
3844
|
setValidationState("done");
|
|
3842
3845
|
}
|
|
3843
3846
|
}
|
|
3847
|
+
if (!initialLoadComplete) return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { textColor: "neutral600", children: "Loading..." });
|
|
3844
3848
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3845
3849
|
designSystem.Box,
|
|
3846
3850
|
{
|
|
@@ -3978,7 +3982,7 @@ const CMEditViewAside = () => {
|
|
|
3978
3982
|
}
|
|
3979
3983
|
});
|
|
3980
3984
|
}, []);
|
|
3981
|
-
if (isLoading) return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { textColor: "neutral600", children: "Loading..." });
|
|
3985
|
+
if (isLoading || !config) return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { textColor: "neutral600", children: "Loading..." });
|
|
3982
3986
|
if (!isAllowedContentType) return /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { textColor: "neutral600", children: [
|
|
3983
3987
|
"This content type is not allowed for ",
|
|
3984
3988
|
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "WebAtlas" }),
|
|
@@ -4003,7 +4007,7 @@ const index = {
|
|
|
4003
4007
|
defaultMessage: "Routes"
|
|
4004
4008
|
},
|
|
4005
4009
|
Component: async () => {
|
|
4006
|
-
const component = await Promise.resolve().then(() => require("./index-
|
|
4010
|
+
const component = await Promise.resolve().then(() => require("./index-BvXbuF1E.js"));
|
|
4007
4011
|
return { default: component.default };
|
|
4008
4012
|
},
|
|
4009
4013
|
permissions: [
|
|
@@ -4022,7 +4026,7 @@ const index = {
|
|
|
4022
4026
|
defaultMessage: "Navigation"
|
|
4023
4027
|
},
|
|
4024
4028
|
Component: async () => {
|
|
4025
|
-
const component = await Promise.resolve().then(() => require("./index-
|
|
4029
|
+
const component = await Promise.resolve().then(() => require("./index-D4IHmUrH.js"));
|
|
4026
4030
|
return { default: component.default };
|
|
4027
4031
|
},
|
|
4028
4032
|
permissions: [
|
|
@@ -4051,7 +4055,7 @@ const index = {
|
|
|
4051
4055
|
Component: async () => {
|
|
4052
4056
|
return await Promise.resolve().then(() => require(
|
|
4053
4057
|
/* webpackChunkName: "webatlas-settings-page" */
|
|
4054
|
-
"./index-
|
|
4058
|
+
"./index-DIyVy-8D.js"
|
|
4055
4059
|
));
|
|
4056
4060
|
},
|
|
4057
4061
|
permissions: [
|
|
@@ -4,7 +4,7 @@ import { Dialog, Typography, Button, Modal, Flex, SingleSelect, SingleSelectOpti
|
|
|
4
4
|
import { useFetchClient, Layouts } from "@strapi/strapi/admin";
|
|
5
5
|
import { useState, useEffect, createContext, useRef, useContext, useReducer, useCallback, useMemo, forwardRef } from "react";
|
|
6
6
|
import { createPortal } from "react-dom";
|
|
7
|
-
import { u as useApi, d as debounce, a as duplicateCheck, t as transformToUrl, U as URLInfo } from "./index-
|
|
7
|
+
import { u as useApi, d as debounce, a as duplicateCheck, t as transformToUrl, U as URLInfo } from "./index-BMQSVj43.mjs";
|
|
8
8
|
import { C as Center, E as EmptyBox } from "./EmptyBox-7D4LrvdH.mjs";
|
|
9
9
|
import { c as commonjsGlobal, _ as _baseConvert } from "./_baseConvert-C2SW1VHq.mjs";
|
|
10
10
|
import { MeasuringStrategy, DndContext, closestCenter, DragOverlay } from "@dnd-kit/core";
|
package/dist/admin/index.js
CHANGED
package/dist/admin/index.mjs
CHANGED
package/dist/server/index.js
CHANGED
|
@@ -20,7 +20,7 @@ function transformToUrl(input) {
|
|
|
20
20
|
input = input.replace(/-+/g, "-");
|
|
21
21
|
return input;
|
|
22
22
|
}
|
|
23
|
-
const version = "0.2.
|
|
23
|
+
const version = "0.2.6";
|
|
24
24
|
const keywords = [];
|
|
25
25
|
const type = "commonjs";
|
|
26
26
|
const exports$1 = {
|
|
@@ -974,10 +974,10 @@ const schema$2 = {
|
|
|
974
974
|
},
|
|
975
975
|
navitem: {
|
|
976
976
|
type: "relation",
|
|
977
|
-
|
|
977
|
+
configurable: true,
|
|
978
|
+
relation: "oneToMany",
|
|
978
979
|
target: "plugin::webatlas.navitem",
|
|
979
|
-
mappedBy: "route"
|
|
980
|
-
configurable: false
|
|
980
|
+
mappedBy: "route"
|
|
981
981
|
},
|
|
982
982
|
wrapper: {
|
|
983
983
|
type: "boolean",
|
|
@@ -1028,10 +1028,10 @@ const schema$1 = {
|
|
|
1028
1028
|
},
|
|
1029
1029
|
items: {
|
|
1030
1030
|
type: "relation",
|
|
1031
|
+
configurable: false,
|
|
1031
1032
|
relation: "oneToMany",
|
|
1032
1033
|
target: "plugin::webatlas.navitem",
|
|
1033
|
-
|
|
1034
|
-
mappedBy: "plugin::webatlas.navigation"
|
|
1034
|
+
mappedBy: "navigation"
|
|
1035
1035
|
}
|
|
1036
1036
|
}
|
|
1037
1037
|
};
|
|
@@ -1061,23 +1061,23 @@ const schema = {
|
|
|
1061
1061
|
attributes: {
|
|
1062
1062
|
navigation: {
|
|
1063
1063
|
type: "relation",
|
|
1064
|
+
configurable: false,
|
|
1064
1065
|
relation: "manyToOne",
|
|
1065
1066
|
target: "plugin::webatlas.navigation",
|
|
1066
|
-
configurable: false,
|
|
1067
1067
|
inversedBy: "items"
|
|
1068
1068
|
},
|
|
1069
1069
|
route: {
|
|
1070
1070
|
type: "relation",
|
|
1071
|
-
|
|
1071
|
+
configurable: false,
|
|
1072
|
+
relation: "manyToOne",
|
|
1072
1073
|
target: "plugin::webatlas.route",
|
|
1073
|
-
inversedBy: "navitem"
|
|
1074
|
-
configurable: false
|
|
1074
|
+
inversedBy: "navitem"
|
|
1075
1075
|
},
|
|
1076
1076
|
parent: {
|
|
1077
1077
|
type: "relation",
|
|
1078
|
+
configurable: false,
|
|
1078
1079
|
relation: "oneToOne",
|
|
1079
|
-
target: "plugin::webatlas.navitem"
|
|
1080
|
-
configurable: false
|
|
1080
|
+
target: "plugin::webatlas.navitem"
|
|
1081
1081
|
},
|
|
1082
1082
|
order: {
|
|
1083
1083
|
type: "integer",
|