@mattisvensson/strapi-plugin-webatlas 0.2.3 → 0.2.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.
Files changed (41) hide show
  1. package/dist/_chunks/EmptyBox-7D4LrvdH.mjs.map +1 -0
  2. package/dist/_chunks/EmptyBox-DT6D5gcf.js.map +1 -0
  3. package/dist/_chunks/_baseConvert-CDjccxdO.mjs +859 -0
  4. package/dist/_chunks/_baseConvert-CDjccxdO.mjs.map +1 -0
  5. package/dist/_chunks/_baseConvert-DVIhGQH6.js +858 -0
  6. package/dist/_chunks/_baseConvert-DVIhGQH6.js.map +1 -0
  7. package/dist/_chunks/en-B4KWt_jN.js.map +1 -0
  8. package/dist/_chunks/en-Byx4XI2L.mjs.map +1 -0
  9. package/dist/_chunks/index-1VNPebOd.mjs +45 -0
  10. package/dist/_chunks/index-1VNPebOd.mjs.map +1 -0
  11. package/dist/_chunks/{index-BLQ7k9G6.js → index-B-ABW-o6.js} +1 -1
  12. package/dist/_chunks/{index-rvOUYDZ4.mjs → index-B5ilx6DT.mjs} +1 -1
  13. package/dist/_chunks/{index-C9tlbXg0.js → index-B7vKSyAn.js} +15 -51
  14. package/dist/_chunks/index-B7vKSyAn.js.map +1 -0
  15. package/dist/_chunks/{index-C4EZHacG.mjs → index-BjbgWZrg.mjs} +4 -4
  16. package/dist/_chunks/{index-C3a42qmP.mjs → index-BxuR805w.mjs} +2 -32
  17. package/dist/_chunks/{index-CnY7liYv.js → index-CAjBRbaH.js} +4 -4
  18. package/dist/_chunks/index-CPE1Ne_e.js +4102 -0
  19. package/dist/_chunks/index-CPE1Ne_e.js.map +1 -0
  20. package/dist/_chunks/index-ChOgKZGK.mjs +9924 -0
  21. package/dist/_chunks/index-ChOgKZGK.mjs.map +1 -0
  22. package/dist/_chunks/index-Cs_oxZfX.js +17134 -0
  23. package/dist/_chunks/index-CuMn96qA.js +9924 -0
  24. package/dist/_chunks/index-CuMn96qA.js.map +1 -0
  25. package/dist/_chunks/{index-BDCJSjey.mjs → index-D_OdzeaU.mjs} +1 -1
  26. package/dist/_chunks/index-Djk_-mU6.js +45 -0
  27. package/dist/_chunks/index-Djk_-mU6.js.map +1 -0
  28. package/dist/_chunks/index-HHBjOGX5.mjs +17130 -0
  29. package/dist/_chunks/index-HHBjOGX5.mjs.map +1 -0
  30. package/dist/_chunks/{index-B_a-qtdq.js → index-kz3NL7uv.js} +1 -1
  31. package/dist/_chunks/index-yLrZAFVv.mjs +4086 -0
  32. package/dist/_chunks/index-yLrZAFVv.mjs.map +1 -0
  33. package/dist/admin/index.js +1 -1
  34. package/dist/admin/index.js.map +1 -0
  35. package/dist/admin/index.mjs +1 -1
  36. package/dist/admin/index.mjs.map +1 -0
  37. package/dist/server/index.js +14 -6
  38. package/dist/server/index.js.map +1 -0
  39. package/dist/server/index.mjs +14 -6
  40. package/dist/server/index.mjs.map +1 -0
  41. package/package.json +1 -1
@@ -22,7 +22,7 @@ const __variableDynamicImportRuntimeHelper = (glob, path, segs) => {
22
22
  );
23
23
  });
24
24
  };
25
- const version = "0.2.3";
25
+ const version = "0.2.4";
26
26
  const keywords = [];
27
27
  const type = "commonjs";
28
28
  const exports = {
@@ -3985,7 +3985,7 @@ const index = {
3985
3985
  defaultMessage: "Routes"
3986
3986
  },
3987
3987
  Component: async () => {
3988
- const component = await import("./index-rvOUYDZ4.mjs");
3988
+ const component = await import("./index-B5ilx6DT.mjs");
3989
3989
  return { default: component.default };
3990
3990
  },
3991
3991
  permissions: [
@@ -4004,7 +4004,7 @@ const index = {
4004
4004
  defaultMessage: "Navigation"
4005
4005
  },
4006
4006
  Component: async () => {
4007
- const component = await import("./index-BDCJSjey.mjs");
4007
+ const component = await import("./index-D_OdzeaU.mjs");
4008
4008
  return { default: component.default };
4009
4009
  },
4010
4010
  permissions: [
@@ -4033,7 +4033,7 @@ const index = {
4033
4033
  Component: async () => {
4034
4034
  return await import(
4035
4035
  /* webpackChunkName: "webatlas-settings-page" */
4036
- "./index-C3a42qmP.mjs"
4036
+ "./index-BxuR805w.mjs"
4037
4037
  );
4038
4038
  },
4039
4039
  permissions: [
@@ -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-C4EZHacG.mjs";
13
+ import { _ as _extends$4, b as usePluginConfig, c as useAllContentTypes, t as transformToUrl, T as Tooltip } from "./index-BjbgWZrg.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;
@@ -16975,11 +16975,6 @@ const Settings = () => {
16975
16975
  (ct) => ct.uid === action.payload.ctUid ? { ...ct, pattern: transformToUrl(action.payload.pattern) } : ct
16976
16976
  );
16977
16977
  return { ...settingsState2, selectedContentTypes: updatedContentTypes };
16978
- case "SET_API_FIELD":
16979
- updatedContentTypes = settingsState2.selectedContentTypes.map(
16980
- (ct) => ct.uid === action.payload.ctUid ? { ...ct, apiField: transformToUrl(action.payload.apiField) } : ct
16981
- );
16982
- return { ...settingsState2, selectedContentTypes: updatedContentTypes };
16983
16978
  default:
16984
16979
  throw new Error();
16985
16980
  }
@@ -17049,8 +17044,7 @@ const Settings = () => {
17049
17044
  payload: value.map((v2) => ({
17050
17045
  uid: v2,
17051
17046
  default: "",
17052
- pattern: "",
17053
- apiField: ""
17047
+ pattern: ""
17054
17048
  }))
17055
17049
  }),
17056
17050
  withTags: true,
@@ -17122,30 +17116,6 @@ const Settings = () => {
17122
17116
  /* @__PURE__ */ jsx(Field.Hint, {})
17123
17117
  ]
17124
17118
  }
17125
- ) }),
17126
- /* @__PURE__ */ jsx(Box, { paddingTop: 4, children: /* @__PURE__ */ jsxs(
17127
- Field.Root,
17128
- {
17129
- name: "urlAliasPattern",
17130
- hint: "This field is necessary for the API. Do not change this field unless you know what you are doing.",
17131
- children: [
17132
- /* @__PURE__ */ jsxs(Field.Label, { children: [
17133
- "URL Alias API field",
17134
- /* @__PURE__ */ jsx(Tooltip, { description: "The field which will be visible in the content manger to store the url alias. Necessary for the API." })
17135
- ] }),
17136
- /* @__PURE__ */ jsx(
17137
- Field.Input,
17138
- {
17139
- value: contentType.apiField,
17140
- onChange: (e2) => dispatch({ type: "SET_API_FIELD", payload: { ctUid: ct.uid, apiField: e2.target.value } }),
17141
- disabled: !contentType.default,
17142
- type: "text",
17143
- placeholder: "e.g. teaser.teaser_url"
17144
- }
17145
- ),
17146
- /* @__PURE__ */ jsx(Field.Hint, {})
17147
- ]
17148
- }
17149
17119
  ) })
17150
17120
  ] }) })
17151
17121
  ] }, ct.uid)
@@ -40,7 +40,7 @@ const __variableDynamicImportRuntimeHelper = (glob, path, segs) => {
40
40
  );
41
41
  });
42
42
  };
43
- const version = "0.2.3";
43
+ const version = "0.2.4";
44
44
  const keywords = [];
45
45
  const type = "commonjs";
46
46
  const exports$1 = {
@@ -4003,7 +4003,7 @@ const index = {
4003
4003
  defaultMessage: "Routes"
4004
4004
  },
4005
4005
  Component: async () => {
4006
- const component = await Promise.resolve().then(() => require("./index-B_a-qtdq.js"));
4006
+ const component = await Promise.resolve().then(() => require("./index-kz3NL7uv.js"));
4007
4007
  return { default: component.default };
4008
4008
  },
4009
4009
  permissions: [
@@ -4022,7 +4022,7 @@ const index = {
4022
4022
  defaultMessage: "Navigation"
4023
4023
  },
4024
4024
  Component: async () => {
4025
- const component = await Promise.resolve().then(() => require("./index-BLQ7k9G6.js"));
4025
+ const component = await Promise.resolve().then(() => require("./index-B-ABW-o6.js"));
4026
4026
  return { default: component.default };
4027
4027
  },
4028
4028
  permissions: [
@@ -4051,7 +4051,7 @@ const index = {
4051
4051
  Component: async () => {
4052
4052
  return await Promise.resolve().then(() => require(
4053
4053
  /* webpackChunkName: "webatlas-settings-page" */
4054
- "./index-C9tlbXg0.js"
4054
+ "./index-Cs_oxZfX.js"
4055
4055
  ));
4056
4056
  },
4057
4057
  permissions: [