@mattisvensson/strapi-plugin-webatlas 0.8.1 → 0.8.2

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 (74) hide show
  1. package/dist/_chunks/SettingTitle-BaaQ_99D.mjs +69 -0
  2. package/dist/_chunks/SettingTitle-BaaQ_99D.mjs.map +1 -0
  3. package/dist/_chunks/SettingTitle-D5oNwpzC.js +67 -0
  4. package/dist/_chunks/SettingTitle-DDZxIqee.js +68 -0
  5. package/dist/_chunks/SettingTitle-DDZxIqee.js.map +1 -0
  6. package/dist/_chunks/SettingTitle-IwvX4Kb5.mjs +68 -0
  7. package/dist/_chunks/{de-Dt80IqMG.mjs → de-B9pq-AJZ.mjs} +10 -3
  8. package/dist/_chunks/{de-Dt80IqMG.mjs.map → de-B9pq-AJZ.mjs.map} +1 -1
  9. package/dist/_chunks/{de-CDBoUBzw.js → de-DlQxM8Tg.js} +10 -3
  10. package/dist/_chunks/{de-CDBoUBzw.js.map → de-DlQxM8Tg.js.map} +1 -1
  11. package/dist/_chunks/{en-BHxDiueo.mjs → en-Dmbcf7gp.mjs} +10 -3
  12. package/dist/_chunks/{en-BHxDiueo.mjs.map → en-Dmbcf7gp.mjs.map} +1 -1
  13. package/dist/_chunks/{en-DfvURaup.js → en-DrhxIwOr.js} +10 -3
  14. package/dist/_chunks/{en-DfvURaup.js.map → en-DrhxIwOr.js.map} +1 -1
  15. package/dist/_chunks/{index--oj1eNcM.js → index--XAogZgv.js} +2 -2
  16. package/dist/_chunks/{index--oj1eNcM.js.map → index--XAogZgv.js.map} +1 -1
  17. package/dist/_chunks/{index-BCPgfhBx.js → index-2lVgPz4a.js} +37 -33
  18. package/dist/_chunks/{index-BKdvSgDB.js → index-B1dEY-gs.js} +1 -1
  19. package/dist/_chunks/{index-DUgh4AJb.js → index-B1mbYb2_.js} +94 -53
  20. package/dist/_chunks/{index-CAged_xE.mjs → index-B2tjc_lG.mjs} +2 -2
  21. package/dist/_chunks/{index-CAged_xE.mjs.map → index-B2tjc_lG.mjs.map} +1 -1
  22. package/dist/_chunks/{index-YzPuPn68.js → index-BFuwbmZy.js} +22 -9
  23. package/dist/_chunks/{index-CTA8agp7.mjs → index-D2Meknib.mjs} +10 -8
  24. package/dist/_chunks/{index-D29zBs5w.mjs → index-D2SIGcj3.mjs} +23 -9
  25. package/dist/_chunks/{index-D29zBs5w.mjs.map → index-D2SIGcj3.mjs.map} +1 -1
  26. package/dist/_chunks/{index-D72CZ5b7.js → index-DH0mFrgH.js} +38 -32
  27. package/dist/_chunks/index-DH0mFrgH.js.map +1 -0
  28. package/dist/_chunks/{index-DTPDMxs_.js → index-DKtlnMlv.js} +23 -8
  29. package/dist/_chunks/{index-YzPuPn68.js.map → index-DKtlnMlv.js.map} +1 -1
  30. package/dist/_chunks/{index-Dxn0NT06.js → index-DOMrViWi.js} +11 -8
  31. package/dist/_chunks/index-DOMrViWi.js.map +1 -0
  32. package/dist/_chunks/{index-BBn1ZvsE.mjs → index-DXRtXlZW.mjs} +36 -30
  33. package/dist/_chunks/index-DXRtXlZW.mjs.map +1 -0
  34. package/dist/_chunks/{index-CtFERXkl.js → index-Df365kgY.js} +95 -54
  35. package/dist/_chunks/index-Df365kgY.js.map +1 -0
  36. package/dist/_chunks/{index-CHRBu9Xy.mjs → index-Dm_GIRd4.mjs} +35 -31
  37. package/dist/_chunks/{index-DMpiX4hP.mjs → index-Dt-mlR1F.mjs} +11 -9
  38. package/dist/_chunks/index-Dt-mlR1F.mjs.map +1 -0
  39. package/dist/_chunks/{index-DJBXRNlE.mjs → index-QFbHwlyj.mjs} +94 -53
  40. package/dist/_chunks/index-QFbHwlyj.mjs.map +1 -0
  41. package/dist/_chunks/{index-Nx4IRYIK.mjs → index-QU9SZ_H9.mjs} +93 -52
  42. package/dist/_chunks/{index-CUlRMqGG.mjs → index-_49Fvwqq.mjs} +22 -8
  43. package/dist/_chunks/{index-Rfm9O167.mjs → index-aAKsnALd.mjs} +1 -1
  44. package/dist/_chunks/{index-CbW6k4FH.js → index-g8wz2qoC.js} +9 -8
  45. package/dist/admin/index.js +1 -1
  46. package/dist/admin/index.mjs +1 -1
  47. package/dist/admin/src/pages/Navigation/RouteItem.d.ts +1 -0
  48. package/dist/admin/src/pages/Settings/ContentBox.d.ts +5 -0
  49. package/dist/admin/src/pages/Settings/PageWrapper.d.ts +2 -1
  50. package/dist/admin/src/pages/Settings/SettingTitle.d.ts +4 -0
  51. package/dist/admin/src/pages/Settings/index.d.ts +4 -0
  52. package/dist/pluginId.d.ts +2 -1
  53. package/dist/server/index.js +61 -52
  54. package/dist/server/index.js.map +1 -1
  55. package/dist/server/index.mjs +61 -52
  56. package/dist/server/index.mjs.map +1 -1
  57. package/dist/server/src/utils/index.d.ts +6 -0
  58. package/dist/server/src/utils/navItemHandler.d.ts +1 -1
  59. package/dist/server/src/utils/reduceDepthOfOrphanedItems.d.ts +2 -0
  60. package/package.json +1 -1
  61. package/dist/_chunks/PageWrapper-Bp9vGwpG.js +0 -54
  62. package/dist/_chunks/PageWrapper-BvOY7VCN.mjs +0 -55
  63. package/dist/_chunks/PageWrapper-BzDrMm2d.js +0 -55
  64. package/dist/_chunks/PageWrapper-BzDrMm2d.js.map +0 -1
  65. package/dist/_chunks/PageWrapper-oLhcg9BA.mjs +0 -56
  66. package/dist/_chunks/PageWrapper-oLhcg9BA.mjs.map +0 -1
  67. package/dist/_chunks/index-BCPgfhBx.js.map +0 -1
  68. package/dist/_chunks/index-CHRBu9Xy.mjs.map +0 -1
  69. package/dist/_chunks/index-CbW6k4FH.js.map +0 -1
  70. package/dist/_chunks/index-CtFERXkl.js.map +0 -1
  71. package/dist/_chunks/index-DJBXRNlE.mjs.map +0 -1
  72. package/dist/_chunks/index-DMpiX4hP.mjs.map +0 -1
  73. package/dist/admin/src/components/modals/fields/Visibility.d.ts +0 -5
  74. package/dist/admin/src/components/modals/fields/index.d.ts +0 -2
@@ -41,7 +41,7 @@ const __variableDynamicImportRuntimeHelper = (glob, path, segs) => {
41
41
  );
42
42
  });
43
43
  };
44
- const version = "0.8.0";
44
+ const version = "0.8.2";
45
45
  const keywords = [];
46
46
  const type = "commonjs";
47
47
  const exports$1 = {
@@ -166,6 +166,7 @@ const pluginPkg = {
166
166
  };
167
167
  const PLUGIN_ID = pluginPkg.strapi.name.replace(/^(@[^-,.][\w,-]+\/|strapi-)plugin-/i, "") || "webatlas";
168
168
  const PLUGIN_NAME = pluginPkg.strapi.displayName;
169
+ const PLUGIN_VERSION = pluginPkg.version;
169
170
  const Initializer = ({ setPlugin }) => {
170
171
  const ref = React.useRef(setPlugin);
171
172
  React.useEffect(() => {
@@ -3849,7 +3850,7 @@ const Alias = ({ config }) => {
3849
3850
  }
3850
3851
  }
3851
3852
  if (!initialLoadComplete) return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { textColor: "neutral600", children: formatMessage({
3852
- id: getTranslation("components.CMEditViewAside.loading"),
3853
+ id: getTranslation("loading"),
3853
3854
  defaultMessage: "Loading..."
3854
3855
  }) });
3855
3856
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -4031,7 +4032,7 @@ const CMEditViewAside = () => {
4031
4032
  });
4032
4033
  }, []);
4033
4034
  if (isLoading || !config) return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { textColor: "neutral600", children: formatMessage({
4034
- id: getTranslation("components.CMEditViewAside.loading"),
4035
+ id: getTranslation("loading"),
4035
4036
  defaultMessage: "Loading..."
4036
4037
  }) });
4037
4038
  if (!isAllowedContentType) return /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { textColor: "neutral600", children: [
@@ -4081,7 +4082,7 @@ const index = {
4081
4082
  defaultMessage: "Routes"
4082
4083
  },
4083
4084
  Component: async () => {
4084
- const component = await Promise.resolve().then(() => require("./index-BKdvSgDB.js"));
4085
+ const component = await Promise.resolve().then(() => require("./index--XAogZgv.js"));
4085
4086
  return { default: component.default };
4086
4087
  },
4087
4088
  permissions: [
@@ -4100,7 +4101,7 @@ const index = {
4100
4101
  defaultMessage: "Navigation"
4101
4102
  },
4102
4103
  Component: async () => {
4103
- const component = await Promise.resolve().then(() => require("./index-DTPDMxs_.js"));
4104
+ const component = await Promise.resolve().then(() => require("./index-DKtlnMlv.js"));
4104
4105
  return { default: component.default };
4105
4106
  },
4106
4107
  permissions: [
@@ -4129,7 +4130,7 @@ const index = {
4129
4130
  Component: async () => {
4130
4131
  return await Promise.resolve().then(() => require(
4131
4132
  /* webpackChunkName: "webatlas-settings-general-page" */
4132
- "./index-DUgh4AJb.js"
4133
+ "./index-Df365kgY.js"
4133
4134
  ));
4134
4135
  },
4135
4136
  permissions: [
@@ -4153,7 +4154,7 @@ const index = {
4153
4154
  Component: async () => {
4154
4155
  return await Promise.resolve().then(() => require(
4155
4156
  /* webpackChunkName: "webatlas-settings-navigation-page" */
4156
- "./index-D72CZ5b7.js"
4157
+ "./index-DH0mFrgH.js"
4157
4158
  ));
4158
4159
  },
4159
4160
  permissions: [
@@ -4182,7 +4183,7 @@ const index = {
4182
4183
  return Promise.all(
4183
4184
  locales.map(async (locale) => {
4184
4185
  try {
4185
- const { default: data } = await __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./translations/de.json": () => Promise.resolve().then(() => require("./de-CDBoUBzw.js")), "./translations/en.json": () => Promise.resolve().then(() => require("./en-DfvURaup.js")) }), `./translations/${locale}.json`, 3);
4186
+ const { default: data } = await __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./translations/de.json": () => Promise.resolve().then(() => require("./de-DlQxM8Tg.js")), "./translations/en.json": () => Promise.resolve().then(() => require("./en-DrhxIwOr.js")) }), `./translations/${locale}.json`, 3);
4186
4187
  return { data, locale };
4187
4188
  } catch {
4188
4189
  return { data: {}, locale };
@@ -4192,6 +4193,7 @@ const index = {
4192
4193
  }
4193
4194
  };
4194
4195
  exports.PLUGIN_NAME = PLUGIN_NAME;
4196
+ exports.PLUGIN_VERSION = PLUGIN_VERSION;
4195
4197
  exports.Tooltip = Tooltip;
4196
4198
  exports.URLInfo = URLInfo;
4197
4199
  exports.debounce = debounce;
@@ -4202,3 +4204,4 @@ exports.transformToUrl = transformToUrl;
4202
4204
  exports.useAllContentTypes = useAllContentTypes;
4203
4205
  exports.useApi = useApi;
4204
4206
  exports.usePluginConfig = usePluginConfig;
4207
+ //# sourceMappingURL=index-DOMrViWi.js.map