react-luminus-components 2.0.13 → 2.0.14

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 (27) hide show
  1. package/dist/.vite/manifest.json +16 -16
  2. package/dist/{FormDisabledProvider-BEWNUfwU.js → FormDisabledProvider-C4hA9COY.js} +1 -1
  3. package/dist/{ShortcutLinksContext-uD20RgYr.js → ShortcutLinksContext-8CorD1L7.js} +51 -51
  4. package/dist/components/common/GdprOverview/GdprOverview.d.ts +8 -0
  5. package/dist/components/common/GdprOverview/comps/TaskSearchModal/TaskSearchModal.d.ts +12 -0
  6. package/dist/components/common/GdprOverview/comps/index.d.ts +1 -0
  7. package/dist/components/common/GdprOverview/hooks/useFetchGdprData.d.ts +8 -0
  8. package/dist/components/common/GdprOverview/hooks/useGdprColumns.d.ts +29 -0
  9. package/dist/components/common/GdprOverview/hooks/useGdprSearchColumns.d.ts +7 -0
  10. package/dist/components/common/GdprOverview/hooks/useTableTasks.d.ts +5 -0
  11. package/dist/components/common/index.d.ts +1 -0
  12. package/dist/contexts.es.js +5 -5
  13. package/dist/hooks.es.js +13 -13
  14. package/dist/layout.es.js +19 -19
  15. package/dist/main.cjs.js +8 -8
  16. package/dist/main.d.ts +1 -0
  17. package/dist/main.es.js +6490 -6080
  18. package/dist/models/api/gdpr/GdprDetailModel.d.ts +12 -0
  19. package/dist/models/api/gdpr/GdprDetailTaskModel.d.ts +19 -0
  20. package/dist/models/api/gdpr/GdprIndexModel.d.ts +9 -0
  21. package/dist/models/api/gdpr/GdprSearchResultDto.d.ts +6 -0
  22. package/dist/models/texts/ComponentsContextTexts.d.ts +2 -0
  23. package/dist/models/texts/GdprTexts.d.ts +29 -0
  24. package/dist/{useIsFormDirty-CHV-JRlA.js → useIsFormDirty-CJNFcSDM.js} +1 -1
  25. package/dist/{useLocalStorageState-C9lOp75w.js → useLocalStorageState-B04T0fRI.js} +1 -1
  26. package/dist/utils.es.js +6 -6
  27. package/package.json +1 -1
@@ -0,0 +1,12 @@
1
+ import { default as GdprDetailTaskModel } from './GdprDetailTaskModel';
2
+
3
+ export default interface GdprDetailModel {
4
+ id: string | null;
5
+ name: string | null;
6
+ description: string | null;
7
+ archived: boolean;
8
+ active: boolean;
9
+ lastFired: string | null;
10
+ historyYear: number;
11
+ tasks: GdprDetailTaskModel[];
12
+ }
@@ -0,0 +1,19 @@
1
+ export default interface GdprDetailTaskModel {
2
+ id: string | null;
3
+ name: string | null;
4
+ description: string | null;
5
+ scenarioId: string | null;
6
+ tableName: string | null;
7
+ activationCondition: string | null;
8
+ activationTaskId: string | null;
9
+ activationTaskTable: string | null;
10
+ activationTaskRelation: string | null;
11
+ deletes: boolean;
12
+ searchable: boolean;
13
+ anonymizedCountInMonths: null | {
14
+ [key: string]: number;
15
+ };
16
+ deletedCountInMonths: null | {
17
+ [key: string]: number;
18
+ };
19
+ }
@@ -0,0 +1,9 @@
1
+ export default interface GdprIndexModel {
2
+ id: string | null;
3
+ name: string | null;
4
+ description: string | null;
5
+ archived: boolean;
6
+ active: boolean;
7
+ lastFired: string | null;
8
+ taskCount: number;
9
+ }
@@ -0,0 +1,6 @@
1
+ export default interface GdprSearchResultDto {
2
+ id: string;
3
+ taskId: string | null;
4
+ date: string;
5
+ taskDeletedById: string | null;
6
+ }
@@ -15,6 +15,7 @@ import { default as EmailOverviewTexts } from './EmailOverviewTexts';
15
15
  import { default as ErrorBoundaryTexts } from './ErrorBoundaryTexts';
16
16
  import { default as FormSubmitTexts } from './FormSubmitTexts';
17
17
  import { default as FormValidationTexts } from './FormValidationTexts';
18
+ import { default as GdprTexts } from './GdprTexts';
18
19
  import { default as HomeDashboardTexts } from './HomeDashboardTexts';
19
20
  import { default as ImportTexts } from './ImportTexts';
20
21
  import { default as LocalizationTexts } from './LocalizationTexts';
@@ -56,5 +57,6 @@ type ComponentsContextTexts = {
56
57
  emailOverview: EmailOverviewTexts;
57
58
  auth: AuthTexts;
58
59
  docsAIChat: DocsAIChatTexts;
60
+ gdpr: GdprTexts;
59
61
  };
60
62
  export default ComponentsContextTexts;
@@ -0,0 +1,29 @@
1
+ type GdprTexts = {
2
+ title: string;
3
+ scenario: string;
4
+ searchTask: string;
5
+ lastFired: string;
6
+ table: {
7
+ activationTaskInfo: string;
8
+ id: string;
9
+ searchable: string;
10
+ name: string;
11
+ description: string;
12
+ activationTaskId: string;
13
+ };
14
+ taskSearch: {
15
+ noSearchResults: string;
16
+ title: string;
17
+ selectedTask: string;
18
+ searchText: string;
19
+ searchButton: string;
20
+ noTasksToFilter: string;
21
+ table: {
22
+ id: string;
23
+ date: string;
24
+ taskId: string;
25
+ taskDeletedById: string;
26
+ };
27
+ };
28
+ };
29
+ export default GdprTexts;
@@ -1,4 +1,4 @@
1
- import { c as P } from "./ShortcutLinksContext-uD20RgYr.js";
1
+ import { c as P } from "./ShortcutLinksContext-8CorD1L7.js";
2
2
  import { useSearchParams as I } from "react-router";
3
3
  import "react/jsx-runtime";
4
4
  import { useState as _, useRef as p, useSyncExternalStore as F } from "react";
@@ -1,4 +1,4 @@
1
- import { aA as E, a_ as F, av as G, c as J } from "./ShortcutLinksContext-uD20RgYr.js";
1
+ import { aA as E, a_ as F, av as G, c as J } from "./ShortcutLinksContext-8CorD1L7.js";
2
2
  import "react/jsx-runtime";
3
3
  import { useState as C, useContext as N, useRef as I, useCallback as L, useEffect as O } from "react";
4
4
  import "react-router";
package/dist/utils.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { as as g, Y as d } from "./ShortcutLinksContext-uD20RgYr.js";
2
- import { co as L, cm as R, cn as j, cl as z, ck as $, c3 as q, c4 as A, b_ as G, b1 as J, cb as U, b$ as W, bs as Y, b7 as H, cj as K, cq as Q, ca as Z, c5 as _, aM as X, c7 as ee, aN as te, c6 as re, c8 as se, c9 as ae, cf as oe, bq as ne, cd as ie, cc as le, c0 as ce, c1 as me, ce as ue, c2 as ge, aa as de, bU as fe, cg as pe, aV as Se, b0 as he, cs as be, ch as ye, a4 as Oe, ci as Fe, aL as xe, cp as De, cr as Ne } from "./ShortcutLinksContext-uD20RgYr.js";
1
+ import { as as g, Y as d } from "./ShortcutLinksContext-8CorD1L7.js";
2
+ import { co as L, cm as R, cn as j, cl as z, ck as $, c4 as q, c5 as A, b$ as G, b1 as J, cc as W, c0 as U, bs as Y, b7 as H, bx as K, cq as Q, cb as Z, c6 as X, aM as _, c8 as ee, aN as te, c7 as re, c9 as se, ca as ae, cg as oe, bq as ne, ce as ie, cd as le, c1 as ce, c2 as me, cf as ue, c3 as ge, aa as de, bV as fe, ch as pe, aV as Se, b0 as he, cs as be, ci as ye, a4 as Oe, cj as Fe, aL as xe, cp as De, cr as Ne } from "./ShortcutLinksContext-8CorD1L7.js";
3
3
  import { jsx as l, Fragment as c } from "react/jsx-runtime";
4
4
  import "react";
5
5
  import "@azure/msal-browser";
@@ -121,16 +121,16 @@ export {
121
121
  ve as dumpLocalStorage,
122
122
  G as extractErrorsFromBlobResponse,
123
123
  J as extractErrorsFromResponse,
124
- U as extractFilename,
125
- W as extractPermissionsFromResponse,
124
+ W as extractFilename,
125
+ U as extractPermissionsFromResponse,
126
126
  Y as fixNameIdNulls,
127
127
  H as formatDate,
128
128
  K as formatDateTime,
129
129
  Q as formatFileSize,
130
130
  Ce as generateApiPath,
131
131
  Z as getDateString,
132
- _ as getDaysDifference,
133
- X as getFirstDayOfMonth,
132
+ X as getDaysDifference,
133
+ _ as getFirstDayOfMonth,
134
134
  ee as getFirstDayOfOffsetMonth,
135
135
  te as getFirstDayOfYear,
136
136
  re as getLastDayOfMonth,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-luminus-components",
3
- "version": "2.0.13",
3
+ "version": "2.0.14",
4
4
  "description": "Library of React Components reusable in Luminus projects (Fleetman, CAFM)",
5
5
  "type": "module",
6
6
  "repository": {