@mattisvensson/strapi-plugin-webatlas 0.6.2 → 0.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/{de-CL1TIZPg.js → de-BZc1BkzH.js} +4 -1
- package/dist/_chunks/{de-CL1TIZPg.js.map → de-BZc1BkzH.js.map} +1 -1
- package/dist/_chunks/{de-CzVD4dbZ.mjs → de-oxxH8hft.mjs} +4 -1
- package/dist/_chunks/{de-CzVD4dbZ.mjs.map → de-oxxH8hft.mjs.map} +1 -1
- package/dist/_chunks/{en-Du-Ap60j.js → en-Deg4n_IM.js} +4 -1
- package/dist/_chunks/{en-Du-Ap60j.js.map → en-Deg4n_IM.js.map} +1 -1
- package/dist/_chunks/{en-Nk6QcTdr.mjs → en-DqC5aDzA.mjs} +4 -1
- package/dist/_chunks/{en-Nk6QcTdr.mjs.map → en-DqC5aDzA.mjs.map} +1 -1
- package/dist/_chunks/{index-C4-VBSgi.mjs → index-B6MYtu3A.mjs} +11 -6
- package/dist/_chunks/index-B6MYtu3A.mjs.map +1 -0
- package/dist/_chunks/index-BEgpEtto.mjs +247 -0
- package/dist/_chunks/index-BEgpEtto.mjs.map +1 -0
- package/dist/_chunks/{index-Z3yKckP0.js → index-BOEv4jIJ.js} +6 -6
- package/dist/_chunks/{index-Z3yKckP0.js.map → index-BOEv4jIJ.js.map} +1 -1
- package/dist/_chunks/{index-CC1UR_w8.mjs → index-BPhRQoGD.mjs} +2 -2
- package/dist/_chunks/{index-CC1UR_w8.mjs.map → index-BPhRQoGD.mjs.map} +1 -1
- package/dist/_chunks/index-BdlPAWj6.mjs +246 -0
- package/dist/_chunks/index-Bg96TqDm.js +247 -0
- package/dist/_chunks/index-Bg96TqDm.js.map +1 -0
- package/dist/_chunks/{index-B9OfSpne.mjs → index-BgzZLDPv.mjs} +10 -5
- package/dist/_chunks/index-BoVX1KF8.js +246 -0
- package/dist/_chunks/{index-Ch8tSWp4.js → index-ByU38WNH.js} +5 -5
- package/dist/_chunks/{index-iF1y6Mhe.mjs → index-CZ5qsGXH.mjs} +6 -6
- package/dist/_chunks/{index-iF1y6Mhe.mjs.map → index-CZ5qsGXH.mjs.map} +1 -1
- package/dist/_chunks/{index-BPIdov2N.mjs → index-D3xDvB4d.mjs} +5 -5
- package/dist/_chunks/{index-13yB9fna.mjs → index-DKdAgBbF.mjs} +1 -1
- package/dist/_chunks/{index-BDoljrOj.js → index-D_QCV5Z5.js} +2 -2
- package/dist/_chunks/{index-BDoljrOj.js.map → index-D_QCV5Z5.js.map} +1 -1
- package/dist/_chunks/{index-CjA6bLGU.js → index-UJ0LQ3Y3.js} +1 -1
- package/dist/_chunks/{index-Bw2Yq-Hx.js → index-dSU20yZ4.js} +10 -5
- package/dist/_chunks/{index-D1zlwukG.js → index-mObQ5NXj.js} +11 -6
- package/dist/_chunks/index-mObQ5NXj.js.map +1 -0
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/pages/Routes/TableHeader.d.ts +5 -1
- package/dist/admin/src/pages/Routes/compareBy.d.ts +2 -0
- package/dist/server/index.js +1 -1
- package/dist/server/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/_chunks/EmptyBox-BM4IscSk.mjs +0 -13
- package/dist/_chunks/EmptyBox-BM4IscSk.mjs.map +0 -1
- package/dist/_chunks/EmptyBox-T8t29l25.js +0 -12
- package/dist/_chunks/EmptyBox-T8t29l25.js.map +0 -1
- package/dist/_chunks/index-AIXu4HZz.mjs +0 -127
- package/dist/_chunks/index-AIXu4HZz.mjs.map +0 -1
- package/dist/_chunks/index-BOF-1QDH.js +0 -127
- package/dist/_chunks/index-BOF-1QDH.js.map +0 -1
- package/dist/_chunks/index-BluRjThy.mjs +0 -126
- package/dist/_chunks/index-C4-VBSgi.mjs.map +0 -1
- package/dist/_chunks/index-D1zlwukG.js.map +0 -1
- package/dist/_chunks/index-DeNZkmpv.js +0 -126
|
@@ -13,6 +13,7 @@ const de = {
|
|
|
13
13
|
"webatlas.routes.page.subtitle": "Übersicht aller vorhandenen Routen",
|
|
14
14
|
"webatlas.routes.page.emptyRoutes": "Es wurden keine Routen gefunden",
|
|
15
15
|
"webatlas.routes.page.column.type": "Typ",
|
|
16
|
+
"webatlas.routes.page.searchPlaceholder": "Routen suchen",
|
|
16
17
|
"webatlas.settings.page.subtitle": "Konfigurieren Sie Ihre Webatlas-Plugin-Einstellungen",
|
|
17
18
|
"webatlas.settings.page.enabledContentTypes": "Aktivierte Inhaltstypen",
|
|
18
19
|
"webatlas.settings.page.enabledContentTypes.hint": "Wählen Sie die Inhaltstypen aus, für die Sie URL-Aliase aktivieren möchten",
|
|
@@ -90,6 +91,8 @@ const de = {
|
|
|
90
91
|
"webatlas.route.type.internal": "Intern",
|
|
91
92
|
"webatlas.route.type.external": "Extern",
|
|
92
93
|
"webatlas.route.type.wrapper": "Wrapper",
|
|
94
|
+
"webatlas.link.navigation": "Navigation",
|
|
95
|
+
"webatlas.link.routes": "Routen",
|
|
93
96
|
"webatlas.title": "Titel",
|
|
94
97
|
"webatlas.route": "Route",
|
|
95
98
|
"webatlas.actions": "Aktionen",
|
|
@@ -115,4 +118,4 @@ const de = {
|
|
|
115
118
|
"webatlas.notification.navigation.creationFailed": "Erstellung der Navigation fehlgeschlagen"
|
|
116
119
|
};
|
|
117
120
|
exports.default = de;
|
|
118
|
-
//# sourceMappingURL=de-
|
|
121
|
+
//# sourceMappingURL=de-BZc1BkzH.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"de-
|
|
1
|
+
{"version":3,"file":"de-BZc1BkzH.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -11,6 +11,7 @@ const de = {
|
|
|
11
11
|
"webatlas.routes.page.subtitle": "Übersicht aller vorhandenen Routen",
|
|
12
12
|
"webatlas.routes.page.emptyRoutes": "Es wurden keine Routen gefunden",
|
|
13
13
|
"webatlas.routes.page.column.type": "Typ",
|
|
14
|
+
"webatlas.routes.page.searchPlaceholder": "Routen suchen",
|
|
14
15
|
"webatlas.settings.page.subtitle": "Konfigurieren Sie Ihre Webatlas-Plugin-Einstellungen",
|
|
15
16
|
"webatlas.settings.page.enabledContentTypes": "Aktivierte Inhaltstypen",
|
|
16
17
|
"webatlas.settings.page.enabledContentTypes.hint": "Wählen Sie die Inhaltstypen aus, für die Sie URL-Aliase aktivieren möchten",
|
|
@@ -88,6 +89,8 @@ const de = {
|
|
|
88
89
|
"webatlas.route.type.internal": "Intern",
|
|
89
90
|
"webatlas.route.type.external": "Extern",
|
|
90
91
|
"webatlas.route.type.wrapper": "Wrapper",
|
|
92
|
+
"webatlas.link.navigation": "Navigation",
|
|
93
|
+
"webatlas.link.routes": "Routen",
|
|
91
94
|
"webatlas.title": "Titel",
|
|
92
95
|
"webatlas.route": "Route",
|
|
93
96
|
"webatlas.actions": "Aktionen",
|
|
@@ -115,4 +118,4 @@ const de = {
|
|
|
115
118
|
export {
|
|
116
119
|
de as default
|
|
117
120
|
};
|
|
118
|
-
//# sourceMappingURL=de-
|
|
121
|
+
//# sourceMappingURL=de-oxxH8hft.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"de-
|
|
1
|
+
{"version":3,"file":"de-oxxH8hft.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -13,6 +13,7 @@ const en = {
|
|
|
13
13
|
"webatlas.routes.page.subtitle": "Overview of all existing routes",
|
|
14
14
|
"webatlas.routes.page.emptyRoutes": "No routes found",
|
|
15
15
|
"webatlas.routes.page.column.type": "Type",
|
|
16
|
+
"webatlas.routes.page.searchPlaceholder": "Search routes",
|
|
16
17
|
"webatlas.settings.page.subtitle": "Configure your Webatlas plugin settings",
|
|
17
18
|
"webatlas.settings.page.enabledContentTypes": "Enabled Content Types",
|
|
18
19
|
"webatlas.settings.page.enabledContentTypes.hint": "Select the content types for which you want to enable URL aliases",
|
|
@@ -90,6 +91,8 @@ const en = {
|
|
|
90
91
|
"webatlas.route.type.internal": "Internal",
|
|
91
92
|
"webatlas.route.type.external": "External",
|
|
92
93
|
"webatlas.route.type.wrapper": "Wrapper",
|
|
94
|
+
"webatlas.link.navigation": "Navigation",
|
|
95
|
+
"webatlas.link.routes": "Routes",
|
|
93
96
|
"webatlas.title": "Title",
|
|
94
97
|
"webatlas.route": "Route",
|
|
95
98
|
"webatlas.actions": "Actions",
|
|
@@ -115,4 +118,4 @@ const en = {
|
|
|
115
118
|
"webatlas.notification.navigation.creationFailed": "Creation of navigation failed"
|
|
116
119
|
};
|
|
117
120
|
exports.default = en;
|
|
118
|
-
//# sourceMappingURL=en-
|
|
121
|
+
//# sourceMappingURL=en-Deg4n_IM.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en-
|
|
1
|
+
{"version":3,"file":"en-Deg4n_IM.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -11,6 +11,7 @@ const en = {
|
|
|
11
11
|
"webatlas.routes.page.subtitle": "Overview of all existing routes",
|
|
12
12
|
"webatlas.routes.page.emptyRoutes": "No routes found",
|
|
13
13
|
"webatlas.routes.page.column.type": "Type",
|
|
14
|
+
"webatlas.routes.page.searchPlaceholder": "Search routes",
|
|
14
15
|
"webatlas.settings.page.subtitle": "Configure your Webatlas plugin settings",
|
|
15
16
|
"webatlas.settings.page.enabledContentTypes": "Enabled Content Types",
|
|
16
17
|
"webatlas.settings.page.enabledContentTypes.hint": "Select the content types for which you want to enable URL aliases",
|
|
@@ -88,6 +89,8 @@ const en = {
|
|
|
88
89
|
"webatlas.route.type.internal": "Internal",
|
|
89
90
|
"webatlas.route.type.external": "External",
|
|
90
91
|
"webatlas.route.type.wrapper": "Wrapper",
|
|
92
|
+
"webatlas.link.navigation": "Navigation",
|
|
93
|
+
"webatlas.link.routes": "Routes",
|
|
91
94
|
"webatlas.title": "Title",
|
|
92
95
|
"webatlas.route": "Route",
|
|
93
96
|
"webatlas.actions": "Actions",
|
|
@@ -115,4 +118,4 @@ const en = {
|
|
|
115
118
|
export {
|
|
116
119
|
en as default
|
|
117
120
|
};
|
|
118
|
-
//# sourceMappingURL=en-
|
|
121
|
+
//# sourceMappingURL=en-DqC5aDzA.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en-
|
|
1
|
+
{"version":3,"file":"en-DqC5aDzA.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useNavigate, useParams, Routes, Route } from "react-router-dom";
|
|
3
3
|
import { Trash, Pencil, Check, Drag, More, Link, OneToMany, ExternalLink, Plus } from "@strapi/icons";
|
|
4
|
-
import {
|
|
4
|
+
import { Box, Typography, Dialog, Button, Modal, Flex, SingleSelect, SingleSelectOption, Grid, Field, Toggle, Divider, Status, SimpleMenu, IconButton, MenuItem } from "@strapi/design-system";
|
|
5
5
|
import { useState, useEffect, createContext, useRef, useContext, useReducer, useCallback, useMemo, forwardRef } from "react";
|
|
6
6
|
import { createPortal } from "react-dom";
|
|
7
7
|
import { useIntl } from "react-intl";
|
|
8
|
-
import { u as useApi, g as getTranslation, d as debounce, a as duplicateCheck, t as transformToUrl, U as URLInfo } from "./index-
|
|
8
|
+
import { u as useApi, g as getTranslation, d as debounce, a as duplicateCheck, t as transformToUrl, U as URLInfo } from "./index-CZ5qsGXH.mjs";
|
|
9
9
|
import { useFetchClient, useNotification, Page, Layouts } from "@strapi/strapi/admin";
|
|
10
10
|
import { C as Center, F as FullLoader } from "./FullLoader-CrPED_dY.mjs";
|
|
11
|
-
import "@strapi/icons/symbols";
|
|
12
|
-
import { E as EmptyBox } from "./EmptyBox-BM4IscSk.mjs";
|
|
11
|
+
import { EmptyDocuments } from "@strapi/icons/symbols";
|
|
13
12
|
import { MeasuringStrategy, DndContext, closestCenter, DragOverlay } from "@dnd-kit/core";
|
|
14
13
|
import { arrayMove, useSortable, SortableContext, verticalListSortingStrategy } from "@dnd-kit/sortable";
|
|
15
14
|
import { CSS } from "@dnd-kit/utilities";
|
|
@@ -82,6 +81,12 @@ function createTempNavItemObject({
|
|
|
82
81
|
};
|
|
83
82
|
return tempNavItem;
|
|
84
83
|
}
|
|
84
|
+
function EmptyBox({ msg }) {
|
|
85
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
86
|
+
/* @__PURE__ */ jsx(EmptyDocuments, { width: "10rem", height: "6rem" }),
|
|
87
|
+
/* @__PURE__ */ jsx(Box, { padding: 4, children: /* @__PURE__ */ jsx(Typography, { variant: "beta", textColor: "neutral600", children: msg }) })
|
|
88
|
+
] });
|
|
89
|
+
}
|
|
85
90
|
const ModalContext = createContext({ modalType: "", setModalType: () => {
|
|
86
91
|
} });
|
|
87
92
|
const SelectedNavigationContext = createContext({ selectedNavigation: void 0, setSelectedNavigation: () => {
|
|
@@ -12222,4 +12227,4 @@ const App = () => {
|
|
|
12222
12227
|
export {
|
|
12223
12228
|
App as default
|
|
12224
12229
|
};
|
|
12225
|
-
//# sourceMappingURL=index-
|
|
12230
|
+
//# sourceMappingURL=index-B6MYtu3A.mjs.map
|