@localazy/strapi-plugin 1.1.0 → 1.1.1

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 (65) hide show
  1. package/dist/_chunks/{FetchIdentity-DfV1OWMB.js → FetchIdentity-CevvxeEj.js} +73 -46
  2. package/dist/_chunks/{FetchIdentity-lkoWjYjn.mjs → FetchIdentity-DeThazz9.mjs} +43 -16
  3. package/dist/_chunks/{LanguagesSelector-BmWfSZq6.js → LanguagesSelector-BExpl4Vx.js} +15 -3
  4. package/dist/_chunks/{LanguagesSelector-vSZvVGUT.mjs → LanguagesSelector-D62gLZsM.mjs} +15 -3
  5. package/dist/_chunks/{LocalazyApp-st8mwIbM.mjs → LocalazyApp-Czkb4s5J.mjs} +791 -61
  6. package/dist/_chunks/{LocalazyApp-BUfYt7UL.js → LocalazyApp-DIcO748C.js} +791 -59
  7. package/dist/_chunks/{LocalazyContentTransferSetup-BjLBgqFO.js → LocalazyContentTransferSetup-DAyZdwi9.js} +13 -10
  8. package/dist/_chunks/{LocalazyContentTransferSetup-D2YvBYs_.mjs → LocalazyContentTransferSetup-Dx0Z6DXc.mjs} +13 -10
  9. package/dist/_chunks/{LocalazyGlobalSettings-DHCU2_RH.mjs → LocalazyGlobalSettings-DWMBqlN4.mjs} +149 -12
  10. package/dist/_chunks/{LocalazyGlobalSettings-Do5tOyhB.js → LocalazyGlobalSettings-DjrXGVxl.js} +148 -11
  11. package/dist/_chunks/{LocalazyPanel-CulgT97p.mjs → LocalazyPanel-B-0HBTL_.mjs} +4 -4
  12. package/dist/_chunks/{LocalazyPanel-BDxUI_RH.js → LocalazyPanel-nBOpQo5B.js} +4 -4
  13. package/dist/_chunks/{LocalazyStatusColumn-DoTWD2eL.mjs → LocalazyStatusColumn-CpO3yccG.mjs} +9 -7
  14. package/dist/_chunks/{LocalazyStatusColumn-Dpwoc5Ig.js → LocalazyStatusColumn-cGsUDMlX.js} +9 -7
  15. package/dist/_chunks/{RequireLocalazyAuth-BzM7C6Yw.js → RequireLocalazyAuth-56K8HUNR.js} +4 -4
  16. package/dist/_chunks/{RequireLocalazyAuth-CqHrZ1Ah.mjs → RequireLocalazyAuth-Dh-mAMcg.mjs} +4 -4
  17. package/dist/_chunks/{entry-exclusion-service-DWFMKgkA.mjs → entry-exclusion-service-Dm5_iP7I.mjs} +1 -1
  18. package/dist/_chunks/{entry-exclusion-service-Cvu8PQUI.js → entry-exclusion-service-Rf4Tr0zW.js} +1 -1
  19. package/dist/_chunks/{has-model-changed-CWdMNRB1.mjs → has-model-changed-6p1lR-Ho.mjs} +2 -2
  20. package/dist/_chunks/{has-model-changed-D1f6is8z.js → has-model-changed-CGyDQARr.js} +2 -2
  21. package/dist/_chunks/{i18n-DaBjUC3Y.js → i18n-CAsbU4pi.js} +62 -4
  22. package/dist/_chunks/{i18n-Bga-GG_Z.mjs → i18n-QelOdIB2.mjs} +62 -4
  23. package/dist/_chunks/{index-BSNW1ypR.js → index-BK7lmZSN.js} +57 -19
  24. package/dist/_chunks/{index-CtvR-R3c.mjs → index-Bpf1Mw2A.mjs} +8 -8
  25. package/dist/_chunks/{index-BgPI2yQD.js → index-BsQ_ie4C.js} +8 -8
  26. package/dist/_chunks/{index-BIHAiJnE.mjs → index-CHjIMO9T.mjs} +78 -40
  27. package/dist/_chunks/{strapi-api-base-CturxOqD.mjs → strapi-api-base-Bem_CGuz.mjs} +2 -2
  28. package/dist/_chunks/{strapi-api-base-CN6q5tPh.js → strapi-api-base-W_bUTSlY.js} +2 -2
  29. package/dist/admin/index.js +1 -1
  30. package/dist/admin/index.mjs +1 -1
  31. package/dist/admin/src/components/PluginErrorBoundary.d.ts +5 -0
  32. package/dist/admin/src/modules/@common/locale/en.d.ts +4 -0
  33. package/dist/admin/src/modules/@common/services/project-service.d.ts +9 -0
  34. package/dist/admin/src/modules/@common/styles/heading-fix.d.ts +7 -0
  35. package/dist/admin/src/modules/@common/utils/export-json.d.ts +1 -0
  36. package/dist/admin/src/modules/@common/utils/redirect-to-plugin-route.d.ts +1 -0
  37. package/dist/admin/src/modules/activity-logs/components/HighlightMatch.d.ts +6 -0
  38. package/dist/admin/src/modules/activity-logs/components/SessionMetadata.d.ts +7 -0
  39. package/dist/admin/src/modules/activity-logs/components/SessionsTable.d.ts +17 -0
  40. package/dist/admin/src/modules/activity-logs/components/SortableHeader.d.ts +10 -0
  41. package/dist/admin/src/modules/activity-logs/components/StatusLabel.d.ts +6 -0
  42. package/dist/admin/src/modules/activity-logs/hooks/use-debounced-search.d.ts +6 -0
  43. package/dist/admin/src/modules/activity-logs/locale/en.d.ts +33 -0
  44. package/dist/admin/src/modules/activity-logs/models/activity-logs.d.ts +19 -0
  45. package/dist/admin/src/modules/activity-logs/services/activity-logs-service.d.ts +6 -0
  46. package/dist/admin/src/modules/activity-logs/utils/export-logs.d.ts +1 -0
  47. package/dist/admin/src/modules/activity-logs/utils/format-utils.d.ts +4 -0
  48. package/dist/admin/src/modules/plugin-settings/components/WebhookSetup.d.ts +2 -0
  49. package/dist/admin/src/modules/plugin-settings/locale/en.d.ts +21 -0
  50. package/dist/admin/src/pages/ActivityLogDetail.d.ts +7 -0
  51. package/dist/admin/src/pages/ActivityLogs.d.ts +7 -0
  52. package/dist/server/index.js +392 -47
  53. package/dist/server/index.mjs +392 -47
  54. package/dist/server/src/controllers/activity-logs-controller.d.ts +10 -0
  55. package/dist/server/src/controllers/index.d.ts +12 -1
  56. package/dist/server/src/controllers/localazy-project-controller.d.ts +4 -1
  57. package/dist/server/src/core/index.d.ts +13 -0
  58. package/dist/server/src/db/model/activity-logs.d.ts +20 -0
  59. package/dist/server/src/db/model/plugin-settings.d.ts +14 -0
  60. package/dist/server/src/index.d.ts +27 -1
  61. package/dist/server/src/routes/activity-logs-routes.d.ts +9 -0
  62. package/dist/server/src/services/activity-logs-service.d.ts +17 -0
  63. package/dist/server/src/services/index.d.ts +15 -0
  64. package/dist/server/src/services/localazy-pubapi-service.d.ts +2 -0
  65. package/package.json +1 -1
@@ -3,7 +3,7 @@ import React__default, { useRef, useEffect, useMemo, useCallback, createContext
3
3
  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
- import { useTheme, styled, css, ThemeProvider, createGlobalStyle, keyframes } from "styled-components";
6
+ import { useTheme, styled, ThemeProvider, css, createGlobalStyle, keyframes } from "styled-components";
7
7
  import { c as commonjsGlobal } from "./_commonjsHelpers-DWwsNxpa.mjs";
8
8
  function $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(callback) {
9
9
  const callbackRef = useRef(callback);
@@ -6429,7 +6429,7 @@ const ComboboxCreateItem = React.forwardRef((props, ref) => {
6429
6429
  );
6430
6430
  });
6431
6431
  ComboboxCreateItem.displayName = "ComboboxCreateItem";
6432
- const Root$1 = Combobox$1;
6432
+ const Root$1$1 = Combobox$1;
6433
6433
  const Trigger$1 = ComboboxTrigger;
6434
6434
  const TextInput$2 = ComboxboxTextInput;
6435
6435
  const Icon$1 = ComboboxIcon;
@@ -6461,7 +6461,7 @@ const Combobox$1$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.define
6461
6461
  ItemText: ItemText$1,
6462
6462
  NoValueFound,
6463
6463
  Portal: Portal$1$1,
6464
- Root: Root$1,
6464
+ Root: Root$1$1,
6465
6465
  TextInput: TextInput$2,
6466
6466
  Trigger: Trigger$1,
6467
6467
  Viewport: Viewport$1$1
@@ -7606,11 +7606,11 @@ const toggleArrayValue = (value, array = []) => {
7606
7606
  return [...array.slice(0, index2), ...array.slice(index2 + 1)];
7607
7607
  };
7608
7608
  const Root$2 = Select;
7609
- const Trigger = SelectTrigger$1;
7609
+ const Trigger$2 = SelectTrigger$1;
7610
7610
  const Value$1 = SelectValue$1;
7611
7611
  const Icon = SelectIcon;
7612
7612
  const Portal$2 = SelectPortal;
7613
- const Content = SelectContent$1;
7613
+ const Content$2 = SelectContent$1;
7614
7614
  const Viewport$4 = SelectViewport$1;
7615
7615
  const Group = SelectGroup;
7616
7616
  const Label$1 = SelectLabel;
@@ -7624,7 +7624,7 @@ const Arrow = SelectArrow;
7624
7624
  const Select$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7625
7625
  __proto__: null,
7626
7626
  Arrow,
7627
- Content,
7627
+ Content: Content$2,
7628
7628
  Group,
7629
7629
  Icon,
7630
7630
  Item: Item$3,
@@ -7652,7 +7652,7 @@ const Select$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
7652
7652
  SelectValue: SelectValue$1,
7653
7653
  SelectViewport: SelectViewport$1,
7654
7654
  Separator,
7655
- Trigger,
7655
+ Trigger: Trigger$2,
7656
7656
  Value: Value$1,
7657
7657
  Viewport: Viewport$4,
7658
7658
  createSelectScope
@@ -8123,7 +8123,8 @@ const SvgArrowLeft = ({
8123
8123
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
8124
8124
  return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsx("path", { d: "M28.5 16a1.5 1.5 0 0 1-1.5 1.5H8.625l6.44 6.439a1.502 1.502 0 1 1-2.125 2.125l-9-9a1.5 1.5 0 0 1 0-2.125l9-9a1.503 1.503 0 0 1 2.125 2.125L8.625 14.5H27a1.5 1.5 0 0 1 1.5 1.5" }) });
8125
8125
  };
8126
- forwardRef$1(SvgArrowLeft);
8126
+ const ForwardRef$56 = forwardRef$1(SvgArrowLeft);
8127
+ const ForwardRef$57 = ForwardRef$56;
8127
8128
  const SvgArrowRight = ({
8128
8129
  fill: fillProp = "currentColor",
8129
8130
  stroke: strokeProp,
@@ -8281,7 +8282,8 @@ const SvgCaretUp = ({
8281
8282
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
8282
8283
  return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsx("path", { d: "M26.924 20.383A1 1 0 0 1 26 21H6a1 1 0 0 1-.708-1.707l10-10a1 1 0 0 1 1.415 0l10 10a1 1 0 0 1 .217 1.09" }) });
8283
8284
  };
8284
- forwardRef$1(SvgCaretUp);
8285
+ const ForwardRef$4K = forwardRef$1(SvgCaretUp);
8286
+ const ForwardRef$4L = ForwardRef$4K;
8285
8287
  const SvgCast = ({
8286
8288
  fill: fillProp = "currentColor",
8287
8289
  stroke: strokeProp,
@@ -8468,7 +8470,8 @@ const SvgClockCounterClockwise = ({
8468
8470
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
8469
8471
  return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsx("path", { d: "M28 16a12 12 0 0 1-20.236 8.728 1.002 1.002 0 0 1 1.375-1.456 10 10 0 1 0-.21-14.343c-.441.446-.857.885-1.26 1.321l2.039 2.043A1 1 0 0 1 9 14H4a1 1 0 0 1-1-1V8a1 1 0 0 1 1.707-.707L6.25 8.838c.402-.437.817-.875 1.258-1.32A12 12 0 0 1 28 16M16 9a1 1 0 0 0-1 1v6a1 1 0 0 0 .485.858l5 3a.999.999 0 0 0 1.486-1.1 1 1 0 0 0-.456-.616L17 15.434V10a1 1 0 0 0-1-1" }) });
8470
8472
  };
8471
- forwardRef$1(SvgClockCounterClockwise);
8473
+ const ForwardRef$4i = forwardRef$1(SvgClockCounterClockwise);
8474
+ const ForwardRef$4j = ForwardRef$4i;
8472
8475
  const SvgCloud = ({
8473
8476
  fill: fillProp = "currentColor",
8474
8477
  stroke: strokeProp,
@@ -9295,7 +9298,8 @@ const SvgLink = ({
9295
9298
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
9296
9299
  return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsx("path", { d: "M17.046 23.441a1.5 1.5 0 0 1 0 2.125l-.742.743a7.502 7.502 0 1 1-10.61-10.61l3.015-3.014A7.5 7.5 0 0 1 19 12.375a1.506 1.506 0 0 1-2 2.25 4.5 4.5 0 0 0-6.171.184l-3.013 3.01a4.5 4.5 0 0 0 6.365 6.365l.743-.743a1.5 1.5 0 0 1 2.122 0m9.26-17.75a7.51 7.51 0 0 0-10.61 0l-.742.743a1.503 1.503 0 1 0 2.125 2.125l.742-.743a4.5 4.5 0 0 1 6.365 6.365l-3.014 3.015a4.5 4.5 0 0 1-6.172.179 1.506 1.506 0 1 0-2 2.25 7.5 7.5 0 0 0 10.288-.304l3.014-3.014a7.51 7.51 0 0 0 .004-10.613z" }) });
9297
9300
  };
9298
- forwardRef$1(SvgLink);
9301
+ const ForwardRef$2k = forwardRef$1(SvgLink);
9302
+ const ForwardRef$2l = ForwardRef$2k;
9299
9303
  const SvgList = ({
9300
9304
  fill: fillProp = "currentColor",
9301
9305
  stroke: strokeProp,
@@ -10148,7 +10152,8 @@ const SvgTrash = ({
10148
10152
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp] : strokeProp;
10149
10153
  return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, fill, stroke, ref, ...props, children: /* @__PURE__ */ jsx("path", { d: "M27 6h-5V5a3 3 0 0 0-3-3h-6a3 3 0 0 0-3 3v1H5a1 1 0 0 0 0 2h1v18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8h1a1 1 0 1 0 0-2M14 21a1 1 0 0 1-2 0v-8a1 1 0 0 1 2 0zm6 0a1 1 0 0 1-2 0v-8a1 1 0 0 1 2 0zm0-15h-8V5a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1z" }) });
10150
10154
  };
10151
- forwardRef$1(SvgTrash);
10155
+ const ForwardRef$i = forwardRef$1(SvgTrash);
10156
+ const ForwardRef$j = ForwardRef$i;
10152
10157
  const SvgTyphoon = ({
10153
10158
  fill: fillProp = "currentColor",
10154
10159
  stroke: strokeProp,
@@ -44274,7 +44279,7 @@ lodash.exports;
44274
44279
  }
44275
44280
  }).call(commonjsGlobal);
44276
44281
  })(lodash, lodash.exports);
44277
- lodash.exports;
44282
+ var lodashExports = lodash.exports;
44278
44283
  const createContext = (rootComponentName, defaultContext) => {
44279
44284
  const Context = React.createContext(defaultContext);
44280
44285
  const Provider2 = (props) => {
@@ -49464,7 +49469,13 @@ function useControllableState({
49464
49469
  }
49465
49470
  const PaginationContext = React.createContext({ activePage: 1, pageCount: 1 });
49466
49471
  const usePagination = () => React.useContext(PaginationContext);
49467
- forwardRef(
49472
+ const Pagination = ({ children, label = "Pagination", activePage, pageCount }) => {
49473
+ const context = React.useMemo(() => ({ activePage, pageCount }), [activePage, pageCount]);
49474
+ return /* @__PURE__ */ jsx(PaginationContext.Provider, { value: context, children: /* @__PURE__ */ jsx(Box, { "aria-label": label, tag: "nav", children: /* @__PURE__ */ jsx(Flex, { tag: "ol", gap: 1, children: React.Children.map(children, (child, index2) => {
49475
+ return /* @__PURE__ */ jsx("li", { children: child }, index2);
49476
+ }) }) }) });
49477
+ };
49478
+ const PreviousLink = forwardRef(
49468
49479
  ({ children, ...props }, ref) => {
49469
49480
  const { activePage } = usePagination();
49470
49481
  const disabled = activePage === 1;
@@ -49474,7 +49485,7 @@ forwardRef(
49474
49485
  ] });
49475
49486
  }
49476
49487
  );
49477
- forwardRef(
49488
+ const NextLink = forwardRef(
49478
49489
  ({ children, ...props }, ref) => {
49479
49490
  const { activePage, pageCount } = usePagination();
49480
49491
  const disabled = activePage === pageCount;
@@ -49511,7 +49522,7 @@ const ActionLinkWrapper = styled(LinkWrapper)`
49511
49522
  pointer-events: none;
49512
49523
  ` : void 0}
49513
49524
  `;
49514
- forwardRef(
49525
+ const PageLink = forwardRef(
49515
49526
  ({ number: number2, children, ...props }, ref) => {
49516
49527
  const { activePage } = usePagination();
49517
49528
  const isActive = activePage === number2;
@@ -49529,6 +49540,10 @@ const PageLinkWrapper = styled(LinkWrapper)`
49529
49540
  box-shadow: ${({ theme: theme2 }) => theme2.shadows.filterShadow};
49530
49541
  }
49531
49542
  `;
49543
+ const Dots = ({ children, ...props }) => /* @__PURE__ */ jsxs(Box, { ...props, children: [
49544
+ /* @__PURE__ */ jsx(VisuallyHidden, { children }),
49545
+ /* @__PURE__ */ jsx(Typography, { "aria-hidden": true, lineHeight: "revert", textColor: "neutral800", variant: "pi", children: "…" })
49546
+ ] });
49532
49547
  React.forwardRef((props, forwardedRef) => {
49533
49548
  return /* @__PURE__ */ jsx($cb5cc270b50c6fcd$export$41fb9f06171c75f4, { ...props, asChild: true, ref: forwardedRef });
49534
49549
  });
@@ -50539,7 +50554,7 @@ const LabelTypography = styled(Typography)`
50539
50554
  }
50540
50555
  `;
50541
50556
  const [TabsProvider, useTabs] = createContext("Tabs");
50542
- React.forwardRef(
50557
+ const Root$1 = React.forwardRef(
50543
50558
  ({ disabled = false, variant: variant2 = "regular", hasError, ...props }, forwardedRef) => {
50544
50559
  return /* @__PURE__ */ jsx(TabsProvider, { disabled, hasError, variant: variant2, children: /* @__PURE__ */ jsx(TabsRoot, { ref: forwardedRef, ...props }) });
50545
50560
  }
@@ -50548,7 +50563,7 @@ const TabsRoot = styled($69cb30bb0017df05$export$be92b6f5f03c0fe9)`
50548
50563
  width: 100%;
50549
50564
  position: relative;
50550
50565
  `;
50551
- React.forwardRef((props, forwardedRef) => {
50566
+ const List = React.forwardRef((props, forwardedRef) => {
50552
50567
  const { variant: variant2 } = useTabs("List");
50553
50568
  return /* @__PURE__ */ jsx(TabsList, { ref: forwardedRef, ...props, $variant: variant2 });
50554
50569
  });
@@ -50558,7 +50573,7 @@ const TabsList = styled($69cb30bb0017df05$export$54c2e3dc7acea9f5)`
50558
50573
  position: relative;
50559
50574
  z-index: 0;
50560
50575
  `;
50561
- React.forwardRef(
50576
+ const Trigger = React.forwardRef(
50562
50577
  ({ children, disabled: disabledProp, ...props }, forwardedRef) => {
50563
50578
  const { disabled: disabledContext, variant: variant2, hasError } = useTabs("Trigger");
50564
50579
  const isDisabled = disabledContext === true || disabledContext === props.value || disabledProp;
@@ -50636,7 +50651,7 @@ const TabsTrigger = styled($69cb30bb0017df05$export$41fb9f06171c75f4)`
50636
50651
  color: ${(props) => props.theme.colors.neutral400};
50637
50652
  }
50638
50653
  `;
50639
- React.forwardRef((props, forwardedRef) => {
50654
+ const Content = React.forwardRef((props, forwardedRef) => {
50640
50655
  const { variant: variant2 } = useTabs("Content");
50641
50656
  return /* @__PURE__ */ jsx(TabsContent, { $variant: variant2, ref: forwardedRef, ...props });
50642
50657
  });
@@ -50653,6 +50668,13 @@ const TabsContent = styled($69cb30bb0017df05$export$7c6e2c02157bb7d2)`
50653
50668
  }
50654
50669
  }}
50655
50670
  `;
50671
+ const Tabs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
50672
+ __proto__: null,
50673
+ Content,
50674
+ List,
50675
+ Root: Root$1,
50676
+ Trigger
50677
+ }, Symbol.toStringTag, { value: "Module" }));
50656
50678
  const TableContainer = styled(Box)`
50657
50679
  overflow: hidden;
50658
50680
  border: 1px solid ${({ theme: theme2 }) => theme2.colors.neutral150};
@@ -51059,35 +51081,51 @@ const Grid = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
51059
51081
  }, Symbol.toStringTag, { value: "Module" }));
51060
51082
  export {
51061
51083
  Alert as A,
51062
- Button as B,
51084
+ Box as B,
51063
51085
  CheckboxImpl as C,
51064
- Divider as D,
51086
+ Dialog as D,
51087
+ PreviousLink as E,
51065
51088
  Field as F,
51066
51089
  Grid as G,
51090
+ PageLink as H,
51091
+ Dots as I,
51092
+ lodashExports as J,
51093
+ ForwardRef$j as K,
51067
51094
  Loader as L,
51068
51095
  MultiSelect as M,
51096
+ NextLink as N,
51097
+ DatePicker$1 as O,
51098
+ Pagination as P,
51099
+ Tabs as Q,
51100
+ ForwardRef$57 as R,
51069
51101
  SingleSelect as S,
51070
51102
  Typography as T,
51103
+ darkTheme as U,
51104
+ lightTheme as V,
51071
51105
  Toggle as a,
51072
51106
  MultiSelectOption as b,
51073
51107
  Flex as c,
51074
51108
  ForwardRef$4z as d,
51075
- Box as e,
51076
- SingleSelectOption as f,
51077
- Accordion as g,
51078
- SwitchImpl as h,
51079
- ForwardRef$2H as i,
51080
- ForwardRef$d as j,
51081
- ForwardRef$3P as k,
51082
- Link as l,
51083
- SubNav as m,
51084
- SubNavHeader as n,
51085
- SubNavSections as o,
51086
- SubNavSection as p,
51087
- SubNavLink as q,
51088
- ForwardRef$L as r,
51089
- darkTheme as s,
51090
- lightTheme as t,
51091
- Dialog as u,
51092
- DesignSystemProvider as v
51109
+ Button as e,
51110
+ ForwardRef$3 as f,
51111
+ Link as g,
51112
+ ForwardRef$2l as h,
51113
+ ForwardRef$2x as i,
51114
+ Divider as j,
51115
+ SingleSelectOption as k,
51116
+ DesignSystemProvider as l,
51117
+ Accordion as m,
51118
+ SwitchImpl as n,
51119
+ ForwardRef$2H as o,
51120
+ ForwardRef$d as p,
51121
+ ForwardRef$3P as q,
51122
+ ForwardRef$4j as r,
51123
+ SubNav as s,
51124
+ SubNavHeader as t,
51125
+ SubNavSections as u,
51126
+ SubNavSection as v,
51127
+ SubNavLink as w,
51128
+ ForwardRef$L as x,
51129
+ ForwardRef$4L as y,
51130
+ ForwardRef$4N as z
51093
51131
  };
@@ -1,4 +1,4 @@
1
- import { P as PLUGIN_ID } from "./index-CtvR-R3c.mjs";
1
+ import { P as PLUGIN_ID } from "./index-Bpf1Mw2A.mjs";
2
2
  function bind(fn, thisArg) {
3
3
  return function wrap() {
4
4
  return fn.apply(thisArg, arguments);
@@ -2410,7 +2410,7 @@ const createStrapiApiAxiosInstance = (baseUrl = null) => {
2410
2410
  return config;
2411
2411
  },
2412
2412
  (error) => {
2413
- Promise.reject(error);
2413
+ return Promise.reject(error);
2414
2414
  }
2415
2415
  );
2416
2416
  instance.interceptors.response.use(
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const index = require("./index-BgPI2yQD.js");
2
+ const index = require("./index-BsQ_ie4C.js");
3
3
  function bind(fn, thisArg) {
4
4
  return function wrap() {
5
5
  return fn.apply(thisArg, arguments);
@@ -2411,7 +2411,7 @@ const createStrapiApiAxiosInstance = (baseUrl = null) => {
2411
2411
  return config;
2412
2412
  },
2413
2413
  (error) => {
2414
- Promise.reject(error);
2414
+ return Promise.reject(error);
2415
2415
  }
2416
2416
  );
2417
2417
  instance.interceptors.response.use(
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- const index = require("../_chunks/index-BgPI2yQD.js");
2
+ const index = require("../_chunks/index-BsQ_ie4C.js");
3
3
  require("react");
4
4
  module.exports = index.index;
@@ -1,4 +1,4 @@
1
- import { i } from "../_chunks/index-CtvR-R3c.mjs";
1
+ import { i } from "../_chunks/index-Bpf1Mw2A.mjs";
2
2
  import "react";
3
3
  export {
4
4
  i as default
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ declare const PluginErrorBoundary: React.FC<{
3
+ children: React.ReactNode;
4
+ }>;
5
+ export default PluginErrorBoundary;
@@ -6,9 +6,13 @@ declare const _default: {
6
6
  upload_to_localazy: string;
7
7
  download_to_strapi: string;
8
8
  overview: string;
9
+ activity_logs: string;
9
10
  loading_content: string;
10
11
  report_will_be_available_after_an_action: string;
11
12
  report: string;
12
13
  select_languages: string;
14
+ error_boundary_title: string;
15
+ error_boundary_description: string;
16
+ error_boundary_disconnect: string;
13
17
  };
14
18
  export default _default;
@@ -1,4 +1,13 @@
1
1
  import { Project } from '@localazy/api-client';
2
2
  export default class ProjectService {
3
3
  static getConnectedProject(): Promise<Project>;
4
+ static getWebhookStatus(): Promise<{
5
+ status: string;
6
+ url?: string;
7
+ }>;
8
+ static setupWebhook(url: string): Promise<any>;
9
+ static getStrapiUrl(): Promise<{
10
+ url: string;
11
+ isLocal: boolean;
12
+ }>;
4
13
  }
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * The nested DesignSystemProvider injects a GlobalStyle with `h1-h6 { font: unset }`
4
+ * which strips heading styles set by Strapi's own provider. This global override
5
+ * restores the correct Typography variant sizes for headings.
6
+ */
7
+ export declare const HeadingFixGlobalStyle: import("react").NamedExoticComponent<import("styled-components").ExecutionProps & object>;
@@ -0,0 +1 @@
1
+ export declare const exportAsJson: (data: unknown, filename: string) => void;
@@ -4,6 +4,7 @@ declare enum PLUGIN_ROUTES {
4
4
  UPLOAD = "upload",
5
5
  DOWNLOAD = "download",
6
6
  OVERVIEW = "overview",
7
+ ACTIVITY_LOGS = "activity-logs",
7
8
  CONTENT_TRANSFER_SETUP = "content-transfer-setup",
8
9
  GLOBAL_SETTINGS = "global-settings"
9
10
  }
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare const HighlightMatch: React.FC<{
3
+ text: string;
4
+ query: string;
5
+ }>;
6
+ export default HighlightMatch;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import type { SessionItem } from '../models/activity-logs';
3
+ declare const SessionMetadata: React.FC<{
4
+ session: SessionItem;
5
+ showEntryCount?: number;
6
+ }>;
7
+ export default SessionMetadata;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import type { SessionItem, SortKey, SortDirection } from '../models/activity-logs';
3
+ declare const SessionsTable: React.FC<{
4
+ sessions: SessionItem[];
5
+ searchQuery: string;
6
+ dateFrom?: Date;
7
+ dateTo?: Date;
8
+ eventType: string;
9
+ sortPreferences: Record<string, {
10
+ key: string;
11
+ direction: string;
12
+ }>;
13
+ onSortChange: (eventType: string, key: SortKey, direction: SortDirection) => void;
14
+ onSessionClick: (sessionId: string) => void;
15
+ t: (key: string) => string;
16
+ }>;
17
+ export default SessionsTable;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { SortKey, SortDirection } from '../models/activity-logs';
3
+ declare const SortableHeader: React.FC<{
4
+ label: string;
5
+ sortKey: SortKey;
6
+ activeSortKey: SortKey;
7
+ direction: SortDirection;
8
+ onSort: (key: SortKey) => void;
9
+ }>;
10
+ export default SortableHeader;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare const StatusLabel: React.FC<{
3
+ status: string;
4
+ searchQuery?: string;
5
+ }>;
6
+ export default StatusLabel;
@@ -0,0 +1,6 @@
1
+ declare const useDebouncedSearch: () => {
2
+ searchInput: string;
3
+ searchQuery: string;
4
+ onSearchChange: (value: string) => void;
5
+ };
6
+ export default useDebouncedSearch;
@@ -0,0 +1,33 @@
1
+ declare const _default: {
2
+ title: string;
3
+ description: string;
4
+ tab_upload: string;
5
+ tab_download: string;
6
+ tab_webhooks: string;
7
+ search_placeholder: string;
8
+ search_entries_placeholder: string;
9
+ no_sessions: string;
10
+ no_entries: string;
11
+ export_logs: string;
12
+ clear_logs: string;
13
+ clear_logs_confirm: string;
14
+ clear_logs_success: string;
15
+ back_to_list: string;
16
+ session_detail: string;
17
+ status: string;
18
+ started_at: string;
19
+ finished_at: string;
20
+ initiated_by: string;
21
+ summary: string;
22
+ duration: string;
23
+ entries_count: string;
24
+ status_in_progress: string;
25
+ status_completed: string;
26
+ status_failed: string;
27
+ close: string;
28
+ clear: string;
29
+ date_from: string;
30
+ date_to: string;
31
+ retention_info: string;
32
+ };
33
+ export default _default;
@@ -0,0 +1,19 @@
1
+ export type SessionItem = {
2
+ id: string;
3
+ eventType: 'upload' | 'download' | 'webhook';
4
+ status: 'in-progress' | 'completed' | 'failed';
5
+ startedAt: number;
6
+ finishedAt?: number;
7
+ initiatedBy: string;
8
+ summary: string;
9
+ };
10
+ export type LogEntry = {
11
+ message: string;
12
+ timestamp: number;
13
+ data?: any;
14
+ };
15
+ export type SessionDetail = SessionItem & {
16
+ entries: LogEntry[];
17
+ };
18
+ export type SortKey = 'status' | 'startedAt' | 'duration' | 'initiatedBy' | 'summary';
19
+ export type SortDirection = 'asc' | 'desc';
@@ -0,0 +1,6 @@
1
+ export default class ActivityLogsService {
2
+ static getSessions(type?: string): Promise<any>;
3
+ static getSession(sessionId: string): Promise<any>;
4
+ static exportSessions(): Promise<any>;
5
+ static clearSessions(): Promise<any>;
6
+ }
@@ -0,0 +1 @@
1
+ export declare const exportLogsAsJson: () => Promise<void>;
@@ -0,0 +1,4 @@
1
+ export declare const formatDate: (timestamp: number) => string;
2
+ export declare const formatTime: (timestamp: number) => string;
3
+ export declare const formatDuration: (start: number, end?: number) => string;
4
+ export declare const getStatusColor: (status: string) => string;
@@ -0,0 +1,2 @@
1
+ declare function WebhookSetup(): import("react/jsx-runtime").JSX.Element;
2
+ export { WebhookSetup };
@@ -58,5 +58,26 @@ declare const _default: {
58
58
  bulk_action_include_to_translation: string;
59
59
  status_excluded: string;
60
60
  status_included: string;
61
+ webhook_setup_title: string;
62
+ webhook_behavior_title: string;
63
+ webhook_setup_description: string;
64
+ webhook_setup_not_configured: string;
65
+ webhook_setup_button: string;
66
+ webhook_setup_reconfigure: string;
67
+ webhook_setup_success: string;
68
+ webhook_setup_already_configured: string;
69
+ webhook_setup_docs_link: string;
70
+ webhook_setup_loading: string;
71
+ webhook_setup_error: string;
72
+ webhook_setup_modal_title: string;
73
+ webhook_setup_step1_title: string;
74
+ webhook_setup_step1_description: string;
75
+ webhook_setup_step2_title: string;
76
+ webhook_setup_url_hint: string;
77
+ webhook_setup_ngrok_hint: string;
78
+ webhook_setup_step3_title: string;
79
+ webhook_setup_step3_description: string;
80
+ webhook_setup_confirm: string;
81
+ webhook_setup_local_warning: string;
61
82
  };
62
83
  export default _default;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ export type ActivityLogDetailProps = {
3
+ title: string;
4
+ subtitle: string;
5
+ };
6
+ declare const ActivityLogDetail: React.FC<ActivityLogDetailProps>;
7
+ export default ActivityLogDetail;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ export type ActivityLogsProps = {
3
+ title: string;
4
+ subtitle: string;
5
+ };
6
+ declare const ActivityLogs: React.FC<ActivityLogsProps>;
7
+ export default ActivityLogs;