@tantainnovative/ndpr-toolkit 3.3.1 → 3.4.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.
Files changed (155) hide show
  1. package/CHANGELOG.md +529 -0
  2. package/dist/{ConsentBanner-CDRT0o2k.d.mts → ConsentBanner-F5ayys5K.d.mts} +10 -0
  3. package/dist/{ConsentBanner-Vxyt8SCX.d.ts → ConsentBanner-VqIPophc.d.ts} +10 -0
  4. package/dist/{styling-B7CBzYG7.d.ts → ConsentManager-C7I3PDe8.d.mts} +2 -62
  5. package/dist/{styling-uJLsBbER.d.mts → ConsentManager-CQ2IZtUU.d.ts} +2 -62
  6. package/dist/{sanitize-B0AzEm1D.d.mts → NDPRProvider-DYFb8xEl.d.ts} +2 -94
  7. package/dist/{sanitize-B0AzEm1D.d.ts → NDPRProvider-U3QNu6MA.d.mts} +2 -94
  8. package/dist/adapters.js +1 -1
  9. package/dist/adapters.mjs +1 -1
  10. package/dist/breach.js +1 -1
  11. package/dist/breach.mjs +1 -1
  12. package/dist/chunk-2WH4DLV5.js +3 -0
  13. package/dist/chunk-3NQQSU4P.js +2 -0
  14. package/dist/chunk-3VQAYQR7.js +7 -0
  15. package/dist/chunk-4R42ZNO7.mjs +318 -0
  16. package/dist/chunk-5HL4UBFV.js +2 -0
  17. package/dist/chunk-6HZL2WDU.mjs +2 -0
  18. package/dist/chunk-6QPRDQZF.js +2 -0
  19. package/dist/chunk-74Z23WUA.mjs +2 -0
  20. package/dist/chunk-AHSMDPG5.js +132 -0
  21. package/dist/chunk-BN77GP4W.mjs +2 -0
  22. package/dist/chunk-C5QO3SX4.js +2 -0
  23. package/dist/chunk-CISJAQ6W.mjs +2 -0
  24. package/dist/chunk-DUY6F3GT.mjs +94 -0
  25. package/dist/chunk-EHAZIKDX.js +81 -0
  26. package/dist/chunk-EPT2K355.mjs +2 -0
  27. package/dist/chunk-HGGLW5TE.js +2 -0
  28. package/dist/chunk-HQSU7LGM.js +94 -0
  29. package/dist/chunk-IZCWCE7W.mjs +2 -0
  30. package/dist/chunk-JBSCER34.js +2 -0
  31. package/dist/chunk-KF3EFJEF.mjs +3 -0
  32. package/dist/chunk-KSERBMXW.mjs +4 -0
  33. package/dist/chunk-LJNNPAFU.mjs +2 -0
  34. package/dist/{chunk-UXMGBIX6.js → chunk-LSCMXAPY.mjs} +4 -4
  35. package/dist/chunk-LSNL4XR5.js +2 -0
  36. package/dist/chunk-MG73MOZC.mjs +15 -0
  37. package/dist/chunk-NCOZB2WU.mjs +2 -0
  38. package/dist/chunk-NQNFS3QI.js +7 -0
  39. package/dist/{chunk-ZEOQYWOE.mjs → chunk-P2YV6DR3.js} +4 -4
  40. package/dist/chunk-P6QAFBCV.js +2 -0
  41. package/dist/chunk-QVULSG6J.mjs +3 -0
  42. package/dist/chunk-R5FW5XUQ.mjs +2 -0
  43. package/dist/chunk-RGNP45VR.js +2 -0
  44. package/dist/chunk-RLYTX3MM.js +2 -0
  45. package/dist/chunk-RNTNHVKZ.js +15 -0
  46. package/dist/chunk-RRVKUCFR.mjs +2 -0
  47. package/dist/chunk-RXL6CZAI.js +2 -0
  48. package/dist/chunk-RY3PGVLZ.mjs +2 -0
  49. package/dist/chunk-SUEGUY35.js +2 -0
  50. package/dist/chunk-SYMQJO2W.mjs +7 -0
  51. package/dist/chunk-TCN22KYP.mjs +7 -0
  52. package/dist/chunk-UFPSUO52.js +318 -0
  53. package/dist/chunk-VTITKWGX.mjs +2 -0
  54. package/dist/chunk-WH6ZMUOS.mjs +81 -0
  55. package/dist/chunk-WTJGLNTB.js +3 -0
  56. package/dist/chunk-XHROISIF.mjs +2 -0
  57. package/dist/chunk-XMBSJJ5U.js +4 -0
  58. package/dist/chunk-ZLSWOFAY.mjs +132 -0
  59. package/dist/chunk-ZPKVLTSX.js +2 -0
  60. package/dist/consent.d.mts +6 -4
  61. package/dist/consent.d.ts +6 -4
  62. package/dist/consent.js +1 -1
  63. package/dist/consent.mjs +1 -1
  64. package/dist/core.d.mts +6 -29
  65. package/dist/core.d.ts +6 -29
  66. package/dist/core.js +1 -1
  67. package/dist/core.mjs +1 -1
  68. package/dist/cross-border.js +1 -1
  69. package/dist/cross-border.mjs +1 -1
  70. package/dist/docx-BxKascXN.d.ts +64 -0
  71. package/dist/docx-CV7Vsry_.d.mts +64 -0
  72. package/dist/dpia.js +1 -1
  73. package/dist/dpia.mjs +1 -1
  74. package/dist/dsr.js +1 -1
  75. package/dist/dsr.mjs +1 -1
  76. package/dist/hooks.d.mts +3 -3
  77. package/dist/hooks.d.ts +3 -3
  78. package/dist/hooks.js +1 -1
  79. package/dist/hooks.mjs +1 -1
  80. package/dist/index.d.mts +7 -5
  81. package/dist/index.d.ts +7 -5
  82. package/dist/index.js +1 -1
  83. package/dist/index.mjs +1 -1
  84. package/dist/lawful-basis.js +1 -1
  85. package/dist/lawful-basis.mjs +1 -1
  86. package/dist/locale-CxJx2tzn.d.mts +25 -0
  87. package/dist/locale-DSkrtf-c.d.ts +25 -0
  88. package/dist/{policy-engine-C6nC2t3a.d.ts → policy-engine-CCUCud2T.d.ts} +1 -1
  89. package/dist/{policy-engine-DefZcX3R.d.mts → policy-engine-fYSqEqSW.d.mts} +1 -1
  90. package/dist/{policy-sections-DFDPVCCg.d.ts → policy-sections-BYx6fEFk.d.ts} +4 -2
  91. package/dist/{policy-sections-Bylm31kZ.d.mts → policy-sections-Dm97Nq8m.d.mts} +4 -2
  92. package/dist/{policy-templates-CIKcV0i1.d.ts → policy-templates-DhLwq4R-.d.ts} +8 -1
  93. package/dist/{policy-templates-DMsPwOSZ.d.mts → policy-templates-DwYl2329.d.mts} +8 -1
  94. package/dist/policy.d.mts +36 -71
  95. package/dist/policy.d.ts +36 -71
  96. package/dist/policy.js +1 -1
  97. package/dist/policy.mjs +1 -1
  98. package/dist/presets.d.mts +2 -2
  99. package/dist/presets.d.ts +2 -2
  100. package/dist/presets.js +1 -1
  101. package/dist/presets.mjs +1 -1
  102. package/dist/ropa.js +1 -1
  103. package/dist/ropa.mjs +1 -1
  104. package/dist/sanitize-CxxwKxAx.d.mts +94 -0
  105. package/dist/sanitize-CxxwKxAx.d.ts +94 -0
  106. package/dist/server.d.mts +24 -0
  107. package/dist/server.d.ts +24 -0
  108. package/dist/server.js +2 -0
  109. package/dist/server.mjs +2 -0
  110. package/dist/styles.css +1423 -31
  111. package/dist/styling-BMDGQDgS.d.mts +64 -0
  112. package/dist/styling-BaoQtV06.d.ts +64 -0
  113. package/dist/unstyled.d.mts +52 -19
  114. package/dist/unstyled.d.ts +52 -19
  115. package/dist/unstyled.js +1 -1
  116. package/dist/unstyled.mjs +1 -1
  117. package/dist/{useAdaptivePolicyWizard-A1PyOy6P.d.mts → useAdaptivePolicyWizard-BnjW4OR4.d.mts} +1 -1
  118. package/dist/{useAdaptivePolicyWizard-LVIKhAxw.d.ts → useAdaptivePolicyWizard-sb3m4-Zk.d.ts} +1 -1
  119. package/dist/{useDefaultPrivacyPolicy-ySWU7nc-.d.mts → useDefaultPrivacyPolicy-Cs2WQSYQ.d.mts} +30 -9
  120. package/dist/{useDefaultPrivacyPolicy-DvCbeEl1.d.ts → useDefaultPrivacyPolicy-DkOqMg2e.d.ts} +30 -9
  121. package/package.json +14 -2
  122. package/dist/chunk-25OOUES4.js +0 -2
  123. package/dist/chunk-4JKTIR33.mjs +0 -2
  124. package/dist/chunk-5BUS6AI7.js +0 -2
  125. package/dist/chunk-5ECDPRSZ.js +0 -7
  126. package/dist/chunk-6YN73KR7.mjs +0 -2
  127. package/dist/chunk-CDZDT2OS.mjs +0 -320
  128. package/dist/chunk-CWUPGY3M.mjs +0 -3
  129. package/dist/chunk-CYU6YUJQ.mjs +0 -81
  130. package/dist/chunk-EKHBORAH.js +0 -81
  131. package/dist/chunk-ENIMJ6SQ.js +0 -2
  132. package/dist/chunk-FLKJSGR7.mjs +0 -94
  133. package/dist/chunk-FWLPJ5YI.js +0 -94
  134. package/dist/chunk-GCQRHMTQ.mjs +0 -144
  135. package/dist/chunk-GMLCWGNJ.js +0 -7
  136. package/dist/chunk-GXLSOZCH.mjs +0 -2
  137. package/dist/chunk-LETEUS5X.mjs +0 -2
  138. package/dist/chunk-LU4PFST7.js +0 -144
  139. package/dist/chunk-NBSVFQ5G.js +0 -2
  140. package/dist/chunk-OYR3L4XS.mjs +0 -7
  141. package/dist/chunk-QF6XNKU6.mjs +0 -2
  142. package/dist/chunk-QJ3JNHO7.js +0 -2
  143. package/dist/chunk-QNCGRCAX.mjs +0 -2
  144. package/dist/chunk-SAA7UVI2.js +0 -3
  145. package/dist/chunk-TI2M7H6R.mjs +0 -7
  146. package/dist/chunk-TXXWCB5O.js +0 -320
  147. package/dist/chunk-UGY5ZYUG.js +0 -2
  148. package/dist/chunk-UO6QPJLH.js +0 -2
  149. package/dist/chunk-UX6ZZNEM.mjs +0 -3
  150. package/dist/chunk-XFUEZ3MP.mjs +0 -2
  151. package/dist/chunk-XHSHPB74.js +0 -2
  152. package/dist/chunk-YCX6BFOQ.js +0 -2
  153. package/dist/chunk-YURSF2YO.mjs +0 -2
  154. package/dist/chunk-YZXUAIYN.js +0 -3
  155. package/dist/chunk-ZT7KNFAU.mjs +0 -2
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkGMLCWGNJ_js=require('./chunk-GMLCWGNJ.js'),chunkMCWV7S2G_js=require('./chunk-MCWV7S2G.js'),chunkC4YM4UMI_js=require('./chunk-C4YM4UMI.js');require('./chunk-E64TU6IU.js'),require('./chunk-ELKB2AFZ.js'),require('./chunk-MQFZHA2D.js');var react=require('react'),jsxRuntime=require('react/jsx-runtime');var t=react.createContext(null);function A(){let r=react.useContext(t);if(!r)throw new Error("CrossBorder compound components must be wrapped in <CrossBorder.Provider>. Example: <CrossBorder.Provider><CrossBorder.Manager /></CrossBorder.Provider>");return r}var e=({adapter:r,storageKey:d,useLocalStorage:a,initialTransfers:n,onAdd:p,onUpdate:C,onRemove:f,children:i})=>{let m=chunkMCWV7S2G_js.a({adapter:r,storageKey:d,useLocalStorage:a,initialTransfers:n,onAdd:p,onUpdate:C,onRemove:f});return jsxRuntime.jsx(t.Provider,{value:m,children:i})};var q={Provider:e,Manager:chunkGMLCWGNJ_js.a};Object.defineProperty(exports,"CrossBorderTransferManager",{enumerable:true,get:function(){return chunkGMLCWGNJ_js.a}});Object.defineProperty(exports,"useCrossBorderTransfer",{enumerable:true,get:function(){return chunkMCWV7S2G_js.a}});Object.defineProperty(exports,"COUNTRY_ADEQUACY_MAP",{enumerable:true,get:function(){return chunkC4YM4UMI_js.a}});Object.defineProperty(exports,"assessTransferRisk",{enumerable:true,get:function(){return chunkC4YM4UMI_js.h}});Object.defineProperty(exports,"getAdequateCountries",{enumerable:true,get:function(){return chunkC4YM4UMI_js.c}});Object.defineProperty(exports,"getCountryAdequacy",{enumerable:true,get:function(){return chunkC4YM4UMI_js.b}});Object.defineProperty(exports,"getTransferMechanismDescription",{enumerable:true,get:function(){return chunkC4YM4UMI_js.f}});Object.defineProperty(exports,"isNDPCApprovalRequired",{enumerable:true,get:function(){return chunkC4YM4UMI_js.e}});Object.defineProperty(exports,"requiresNDPCApproval",{enumerable:true,get:function(){return chunkC4YM4UMI_js.d}});Object.defineProperty(exports,"validateTransfer",{enumerable:true,get:function(){return chunkC4YM4UMI_js.g}});exports.CrossBorder=q;exports.CrossBorderProvider=e;exports.useCrossBorderCompound=A;//# sourceMappingURL=cross-border.js.map
1
+ 'use strict';var chunkNQNFS3QI_js=require('./chunk-NQNFS3QI.js'),chunkMCWV7S2G_js=require('./chunk-MCWV7S2G.js'),chunkC4YM4UMI_js=require('./chunk-C4YM4UMI.js');require('./chunk-E64TU6IU.js'),require('./chunk-ELKB2AFZ.js'),require('./chunk-MQFZHA2D.js');var react=require('react'),jsxRuntime=require('react/jsx-runtime');var t=react.createContext(null);function A(){let r=react.useContext(t);if(!r)throw new Error("CrossBorder compound components must be wrapped in <CrossBorder.Provider>. Example: <CrossBorder.Provider><CrossBorder.Manager /></CrossBorder.Provider>");return r}var e=({adapter:r,storageKey:d,useLocalStorage:a,initialTransfers:n,onAdd:p,onUpdate:C,onRemove:f,children:i})=>{let m=chunkMCWV7S2G_js.a({adapter:r,storageKey:d,useLocalStorage:a,initialTransfers:n,onAdd:p,onUpdate:C,onRemove:f});return jsxRuntime.jsx(t.Provider,{value:m,children:i})};var q={Provider:e,Manager:chunkNQNFS3QI_js.a};Object.defineProperty(exports,"CrossBorderTransferManager",{enumerable:true,get:function(){return chunkNQNFS3QI_js.a}});Object.defineProperty(exports,"useCrossBorderTransfer",{enumerable:true,get:function(){return chunkMCWV7S2G_js.a}});Object.defineProperty(exports,"COUNTRY_ADEQUACY_MAP",{enumerable:true,get:function(){return chunkC4YM4UMI_js.a}});Object.defineProperty(exports,"assessTransferRisk",{enumerable:true,get:function(){return chunkC4YM4UMI_js.h}});Object.defineProperty(exports,"getAdequateCountries",{enumerable:true,get:function(){return chunkC4YM4UMI_js.c}});Object.defineProperty(exports,"getCountryAdequacy",{enumerable:true,get:function(){return chunkC4YM4UMI_js.b}});Object.defineProperty(exports,"getTransferMechanismDescription",{enumerable:true,get:function(){return chunkC4YM4UMI_js.f}});Object.defineProperty(exports,"isNDPCApprovalRequired",{enumerable:true,get:function(){return chunkC4YM4UMI_js.e}});Object.defineProperty(exports,"requiresNDPCApproval",{enumerable:true,get:function(){return chunkC4YM4UMI_js.d}});Object.defineProperty(exports,"validateTransfer",{enumerable:true,get:function(){return chunkC4YM4UMI_js.g}});exports.CrossBorder=q;exports.CrossBorderProvider=e;exports.useCrossBorderCompound=A;//# sourceMappingURL=cross-border.js.map
2
2
  //# sourceMappingURL=cross-border.js.map
@@ -1,2 +1,2 @@
1
- import {a}from'./chunk-TI2M7H6R.mjs';export{a as CrossBorderTransferManager}from'./chunk-TI2M7H6R.mjs';import {a as a$1}from'./chunk-Z6IIMLZU.mjs';export{a as useCrossBorderTransfer}from'./chunk-Z6IIMLZU.mjs';export{a as COUNTRY_ADEQUACY_MAP,h as assessTransferRisk,c as getAdequateCountries,b as getCountryAdequacy,f as getTransferMechanismDescription,e as isNDPCApprovalRequired,d as requiresNDPCApproval,g as validateTransfer}from'./chunk-75TJPK2N.mjs';import'./chunk-AYKLAEOU.mjs';import'./chunk-6WIP33TW.mjs';import'./chunk-WWT2ZSNU.mjs';import {createContext,useContext}from'react';import {jsx}from'react/jsx-runtime';var t=createContext(null);function A(){let r=useContext(t);if(!r)throw new Error("CrossBorder compound components must be wrapped in <CrossBorder.Provider>. Example: <CrossBorder.Provider><CrossBorder.Manager /></CrossBorder.Provider>");return r}var e=({adapter:r,storageKey:d,useLocalStorage:a,initialTransfers:n,onAdd:p,onUpdate:C,onRemove:f,children:i})=>{let m=a$1({adapter:r,storageKey:d,useLocalStorage:a,initialTransfers:n,onAdd:p,onUpdate:C,onRemove:f});return jsx(t.Provider,{value:m,children:i})};var q={Provider:e,Manager:a};export{q as CrossBorder,e as CrossBorderProvider,A as useCrossBorderCompound};//# sourceMappingURL=cross-border.mjs.map
1
+ import {a}from'./chunk-SYMQJO2W.mjs';export{a as CrossBorderTransferManager}from'./chunk-SYMQJO2W.mjs';import {a as a$1}from'./chunk-Z6IIMLZU.mjs';export{a as useCrossBorderTransfer}from'./chunk-Z6IIMLZU.mjs';export{a as COUNTRY_ADEQUACY_MAP,h as assessTransferRisk,c as getAdequateCountries,b as getCountryAdequacy,f as getTransferMechanismDescription,e as isNDPCApprovalRequired,d as requiresNDPCApproval,g as validateTransfer}from'./chunk-75TJPK2N.mjs';import'./chunk-AYKLAEOU.mjs';import'./chunk-6WIP33TW.mjs';import'./chunk-WWT2ZSNU.mjs';import {createContext,useContext}from'react';import {jsx}from'react/jsx-runtime';var t=createContext(null);function A(){let r=useContext(t);if(!r)throw new Error("CrossBorder compound components must be wrapped in <CrossBorder.Provider>. Example: <CrossBorder.Provider><CrossBorder.Manager /></CrossBorder.Provider>");return r}var e=({adapter:r,storageKey:d,useLocalStorage:a,initialTransfers:n,onAdd:p,onUpdate:C,onRemove:f,children:i})=>{let m=a$1({adapter:r,storageKey:d,useLocalStorage:a,initialTransfers:n,onAdd:p,onUpdate:C,onRemove:f});return jsx(t.Provider,{value:m,children:i})};var q={Provider:e,Manager:a};export{q as CrossBorder,e as CrossBorderProvider,A as useCrossBorderCompound};//# sourceMappingURL=cross-border.mjs.map
2
2
  //# sourceMappingURL=cross-border.mjs.map
@@ -0,0 +1,64 @@
1
+ import { c as PrivacyPolicy } from './privacy-Ca6te9Ir.js';
2
+ import { H as HTMLExportOptions, g as PDFExportOptions, f as DOCXExportOptions } from './policy-engine-CCUCud2T.js';
3
+
4
+ /**
5
+ * Export a PrivacyPolicy as a self-contained HTML string.
6
+ *
7
+ * The returned string includes:
8
+ * - An embedded `<style>` block (responsive, dark/light, print-friendly)
9
+ * - An `<article>` wrapper with semantic markup
10
+ * - A `<nav>` table of contents with anchor links
11
+ * - A `<section>` for every included policy section
12
+ * - A metadata footer (org name, effective date, version, generator credit)
13
+ * - Optional custom CSS injection via `options.customCSS`
14
+ */
15
+ declare function exportHTML(policy: PrivacyPolicy, options?: HTMLExportOptions): string;
16
+
17
+ /**
18
+ * Export a PrivacyPolicy as a clean Markdown string.
19
+ *
20
+ * Structure:
21
+ * ```
22
+ * # Policy Title
23
+ * _Effective: date | Version: X | Org Name_
24
+ *
25
+ * ## Table of Contents
26
+ * - [Section Title](#anchor)
27
+ *
28
+ * ## 1. Section Title
29
+ * Section content...
30
+ * ```
31
+ */
32
+ declare function exportMarkdown(policy: PrivacyPolicy): string;
33
+
34
+ /**
35
+ * Export a PrivacyPolicy to a PDF Blob using jspdf (optional peer dependency).
36
+ *
37
+ * Features:
38
+ * - Optional cover page with title, organisation, date, version and compliance badge
39
+ * - Optional table of contents page
40
+ * - One section per heading, content reflowed to fit the page
41
+ * - Automatic page breaks
42
+ * - Page header (org name) and footer (page X of Y) on every page
43
+ * - PDF metadata (title, author, subject, keywords)
44
+ *
45
+ * @throws {Error} if the `jspdf` package is not installed
46
+ */
47
+ declare function exportPDF(policy: PrivacyPolicy, options?: PDFExportOptions): Promise<Blob>;
48
+
49
+ /**
50
+ * Export a PrivacyPolicy as a Word (.docx) Blob using the `docx` library
51
+ * (optional peer dependency).
52
+ *
53
+ * Features:
54
+ * - Title paragraph with large bold text
55
+ * - Organisation name + version subtitle
56
+ * - Optional table of contents placeholder heading
57
+ * - All included policy sections as Heading 1 + body paragraphs / bullet lists
58
+ * - Running header (org name) and page-number footer on every page
59
+ *
60
+ * @throws {Error} if the `docx` package is not installed
61
+ */
62
+ declare function exportDOCX(policy: PrivacyPolicy, options?: DOCXExportOptions): Promise<Blob>;
63
+
64
+ export { exportHTML as a, exportMarkdown as b, exportPDF as c, exportDOCX as e };
@@ -0,0 +1,64 @@
1
+ import { c as PrivacyPolicy } from './privacy-Ca6te9Ir.mjs';
2
+ import { H as HTMLExportOptions, g as PDFExportOptions, f as DOCXExportOptions } from './policy-engine-fYSqEqSW.mjs';
3
+
4
+ /**
5
+ * Export a PrivacyPolicy as a self-contained HTML string.
6
+ *
7
+ * The returned string includes:
8
+ * - An embedded `<style>` block (responsive, dark/light, print-friendly)
9
+ * - An `<article>` wrapper with semantic markup
10
+ * - A `<nav>` table of contents with anchor links
11
+ * - A `<section>` for every included policy section
12
+ * - A metadata footer (org name, effective date, version, generator credit)
13
+ * - Optional custom CSS injection via `options.customCSS`
14
+ */
15
+ declare function exportHTML(policy: PrivacyPolicy, options?: HTMLExportOptions): string;
16
+
17
+ /**
18
+ * Export a PrivacyPolicy as a clean Markdown string.
19
+ *
20
+ * Structure:
21
+ * ```
22
+ * # Policy Title
23
+ * _Effective: date | Version: X | Org Name_
24
+ *
25
+ * ## Table of Contents
26
+ * - [Section Title](#anchor)
27
+ *
28
+ * ## 1. Section Title
29
+ * Section content...
30
+ * ```
31
+ */
32
+ declare function exportMarkdown(policy: PrivacyPolicy): string;
33
+
34
+ /**
35
+ * Export a PrivacyPolicy to a PDF Blob using jspdf (optional peer dependency).
36
+ *
37
+ * Features:
38
+ * - Optional cover page with title, organisation, date, version and compliance badge
39
+ * - Optional table of contents page
40
+ * - One section per heading, content reflowed to fit the page
41
+ * - Automatic page breaks
42
+ * - Page header (org name) and footer (page X of Y) on every page
43
+ * - PDF metadata (title, author, subject, keywords)
44
+ *
45
+ * @throws {Error} if the `jspdf` package is not installed
46
+ */
47
+ declare function exportPDF(policy: PrivacyPolicy, options?: PDFExportOptions): Promise<Blob>;
48
+
49
+ /**
50
+ * Export a PrivacyPolicy as a Word (.docx) Blob using the `docx` library
51
+ * (optional peer dependency).
52
+ *
53
+ * Features:
54
+ * - Title paragraph with large bold text
55
+ * - Organisation name + version subtitle
56
+ * - Optional table of contents placeholder heading
57
+ * - All included policy sections as Heading 1 + body paragraphs / bullet lists
58
+ * - Running header (org name) and page-number footer on every page
59
+ *
60
+ * @throws {Error} if the `docx` package is not installed
61
+ */
62
+ declare function exportDOCX(policy: PrivacyPolicy, options?: DOCXExportOptions): Promise<Blob>;
63
+
64
+ export { exportHTML as a, exportMarkdown as b, exportPDF as c, exportDOCX as e };
package/dist/dpia.js CHANGED
@@ -1,2 +1,2 @@
1
- 'use strict';var chunk5ECDPRSZ_js=require('./chunk-5ECDPRSZ.js'),chunkXHSHPB74_js=require('./chunk-XHSHPB74.js'),chunkOPYQIJKY_js=require('./chunk-OPYQIJKY.js'),chunkP42Z5CFE_js=require('./chunk-P42Z5CFE.js');require('./chunk-E64TU6IU.js'),require('./chunk-ELKB2AFZ.js');var chunkMQFZHA2D_js=require('./chunk-MQFZHA2D.js'),react=require('react'),jsxRuntime=require('react/jsx-runtime');var i=react.createContext(null);function v(){let o=react.useContext(i);if(!o)throw new Error("DPIA compound components must be wrapped in <DPIA.Provider>. Example: <DPIA.Provider sections={...}><DPIA.Questionnaire /></DPIA.Provider>");return o}var p=({sections:o,initialAnswers:a,adapter:m,storageKey:I,useLocalStorage:A,onComplete:d,children:D})=>{let u=chunkOPYQIJKY_js.a({sections:o,initialAnswers:a,adapter:m,storageKey:I,useLocalStorage:A,onComplete:d}),c=chunkMQFZHA2D_js.b(chunkMQFZHA2D_js.a({},u),{sections:o});return jsxRuntime.jsx(i.Provider,{value:c,children:D})};var y={Provider:p,Questionnaire:chunkXHSHPB74_js.a,Report:chunk5ECDPRSZ_js.a,StepIndicator:chunk5ECDPRSZ_js.b};Object.defineProperty(exports,"DPIAReport",{enumerable:true,get:function(){return chunk5ECDPRSZ_js.a}});Object.defineProperty(exports,"StepIndicator",{enumerable:true,get:function(){return chunk5ECDPRSZ_js.b}});Object.defineProperty(exports,"DPIAQuestionnaire",{enumerable:true,get:function(){return chunkXHSHPB74_js.a}});Object.defineProperty(exports,"useDPIA",{enumerable:true,get:function(){return chunkOPYQIJKY_js.a}});Object.defineProperty(exports,"assessDPIARisk",{enumerable:true,get:function(){return chunkP42Z5CFE_js.a}});exports.DPIA=y;exports.DPIAProvider=p;exports.useDPIACompound=v;//# sourceMappingURL=dpia.js.map
1
+ 'use strict';var chunk3VQAYQR7_js=require('./chunk-3VQAYQR7.js'),chunk5HL4UBFV_js=require('./chunk-5HL4UBFV.js'),chunkOPYQIJKY_js=require('./chunk-OPYQIJKY.js'),chunkP42Z5CFE_js=require('./chunk-P42Z5CFE.js');require('./chunk-E64TU6IU.js'),require('./chunk-ELKB2AFZ.js');var chunkMQFZHA2D_js=require('./chunk-MQFZHA2D.js'),react=require('react'),jsxRuntime=require('react/jsx-runtime');var i=react.createContext(null);function v(){let o=react.useContext(i);if(!o)throw new Error("DPIA compound components must be wrapped in <DPIA.Provider>. Example: <DPIA.Provider sections={...}><DPIA.Questionnaire /></DPIA.Provider>");return o}var p=({sections:o,initialAnswers:a,adapter:m,storageKey:I,useLocalStorage:A,onComplete:d,children:D})=>{let u=chunkOPYQIJKY_js.a({sections:o,initialAnswers:a,adapter:m,storageKey:I,useLocalStorage:A,onComplete:d}),c=chunkMQFZHA2D_js.b(chunkMQFZHA2D_js.a({},u),{sections:o});return jsxRuntime.jsx(i.Provider,{value:c,children:D})};var y={Provider:p,Questionnaire:chunk5HL4UBFV_js.a,Report:chunk3VQAYQR7_js.a,StepIndicator:chunk3VQAYQR7_js.b};Object.defineProperty(exports,"DPIAReport",{enumerable:true,get:function(){return chunk3VQAYQR7_js.a}});Object.defineProperty(exports,"StepIndicator",{enumerable:true,get:function(){return chunk3VQAYQR7_js.b}});Object.defineProperty(exports,"DPIAQuestionnaire",{enumerable:true,get:function(){return chunk5HL4UBFV_js.a}});Object.defineProperty(exports,"useDPIA",{enumerable:true,get:function(){return chunkOPYQIJKY_js.a}});Object.defineProperty(exports,"assessDPIARisk",{enumerable:true,get:function(){return chunkP42Z5CFE_js.a}});exports.DPIA=y;exports.DPIAProvider=p;exports.useDPIACompound=v;//# sourceMappingURL=dpia.js.map
2
2
  //# sourceMappingURL=dpia.js.map
package/dist/dpia.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import {b,a}from'./chunk-OYR3L4XS.mjs';export{a as DPIAReport,b as StepIndicator}from'./chunk-OYR3L4XS.mjs';import {a as a$1}from'./chunk-GXLSOZCH.mjs';export{a as DPIAQuestionnaire}from'./chunk-GXLSOZCH.mjs';import {a as a$2}from'./chunk-6FGCGLH5.mjs';export{a as useDPIA}from'./chunk-6FGCGLH5.mjs';export{a as assessDPIARisk}from'./chunk-6TA2MVTU.mjs';import'./chunk-AYKLAEOU.mjs';import'./chunk-6WIP33TW.mjs';import {b as b$1,a as a$3}from'./chunk-WWT2ZSNU.mjs';import {createContext,useContext}from'react';import {jsx}from'react/jsx-runtime';var i=createContext(null);function v(){let o=useContext(i);if(!o)throw new Error("DPIA compound components must be wrapped in <DPIA.Provider>. Example: <DPIA.Provider sections={...}><DPIA.Questionnaire /></DPIA.Provider>");return o}var p=({sections:o,initialAnswers:a,adapter:m,storageKey:I,useLocalStorage:A,onComplete:d,children:D})=>{let u=a$2({sections:o,initialAnswers:a,adapter:m,storageKey:I,useLocalStorage:A,onComplete:d}),c=b$1(a$3({},u),{sections:o});return jsx(i.Provider,{value:c,children:D})};var y={Provider:p,Questionnaire:a$1,Report:a,StepIndicator:b};export{y as DPIA,p as DPIAProvider,v as useDPIACompound};//# sourceMappingURL=dpia.mjs.map
1
+ import {b,a}from'./chunk-TCN22KYP.mjs';export{a as DPIAReport,b as StepIndicator}from'./chunk-TCN22KYP.mjs';import {a as a$1}from'./chunk-LJNNPAFU.mjs';export{a as DPIAQuestionnaire}from'./chunk-LJNNPAFU.mjs';import {a as a$2}from'./chunk-6FGCGLH5.mjs';export{a as useDPIA}from'./chunk-6FGCGLH5.mjs';export{a as assessDPIARisk}from'./chunk-6TA2MVTU.mjs';import'./chunk-AYKLAEOU.mjs';import'./chunk-6WIP33TW.mjs';import {b as b$1,a as a$3}from'./chunk-WWT2ZSNU.mjs';import {createContext,useContext}from'react';import {jsx}from'react/jsx-runtime';var i=createContext(null);function v(){let o=useContext(i);if(!o)throw new Error("DPIA compound components must be wrapped in <DPIA.Provider>. Example: <DPIA.Provider sections={...}><DPIA.Questionnaire /></DPIA.Provider>");return o}var p=({sections:o,initialAnswers:a,adapter:m,storageKey:I,useLocalStorage:A,onComplete:d,children:D})=>{let u=a$2({sections:o,initialAnswers:a,adapter:m,storageKey:I,useLocalStorage:A,onComplete:d}),c=b$1(a$3({},u),{sections:o});return jsx(i.Provider,{value:c,children:D})};var y={Provider:p,Questionnaire:a$1,Report:a,StepIndicator:b};export{y as DPIA,p as DPIAProvider,v as useDPIACompound};//# sourceMappingURL=dpia.mjs.map
2
2
  //# sourceMappingURL=dpia.mjs.map
package/dist/dsr.js CHANGED
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkZYLDLGFL_js=require('./chunk-ZYLDLGFL.js'),chunkYCX6BFOQ_js=require('./chunk-YCX6BFOQ.js'),chunkXSEZDQLB_js=require('./chunk-XSEZDQLB.js'),chunkJKKRPS4P_js=require('./chunk-JKKRPS4P.js');require('./chunk-I54CDQGN.js'),require('./chunk-E64TU6IU.js'),require('./chunk-ELKB2AFZ.js');var chunkMQFZHA2D_js=require('./chunk-MQFZHA2D.js'),react=require('react'),jsxRuntime=require('react/jsx-runtime');var R=react.createContext(null);function v(){let e=react.useContext(R);if(!e)throw new Error("DSR compound components must be wrapped in <DSR.Provider>. Example: <DSR.Provider requestTypes={...}><DSR.Form /></DSR.Provider>");return e}var s=({requestTypes:e,adapter:S,storageKey:D,useLocalStorage:d,onSubmit:u,onUpdate:n,children:i})=>{let f=chunkXSEZDQLB_js.a({requestTypes:e,adapter:S,storageKey:D,useLocalStorage:d,onSubmit:u,onUpdate:n}),x=chunkMQFZHA2D_js.b(chunkMQFZHA2D_js.a({},f),{requestTypes:e});return jsxRuntime.jsx(R.Provider,{value:x,children:i})};var C={Provider:s,Form:chunkYCX6BFOQ_js.a,Dashboard:chunkZYLDLGFL_js.a,Tracker:chunkZYLDLGFL_js.b};Object.defineProperty(exports,"DSRDashboard",{enumerable:true,get:function(){return chunkZYLDLGFL_js.a}});Object.defineProperty(exports,"DSRTracker",{enumerable:true,get:function(){return chunkZYLDLGFL_js.b}});Object.defineProperty(exports,"DSRRequestForm",{enumerable:true,get:function(){return chunkYCX6BFOQ_js.a}});Object.defineProperty(exports,"useDSR",{enumerable:true,get:function(){return chunkXSEZDQLB_js.a}});Object.defineProperty(exports,"formatDSRRequest",{enumerable:true,get:function(){return chunkJKKRPS4P_js.a}});exports.DSR=C;exports.DSRProvider=s;exports.useDSRCompound=v;//# sourceMappingURL=dsr.js.map
1
+ 'use strict';var chunkZYLDLGFL_js=require('./chunk-ZYLDLGFL.js'),chunkZPKVLTSX_js=require('./chunk-ZPKVLTSX.js'),chunkXSEZDQLB_js=require('./chunk-XSEZDQLB.js'),chunkJKKRPS4P_js=require('./chunk-JKKRPS4P.js');require('./chunk-I54CDQGN.js'),require('./chunk-E64TU6IU.js'),require('./chunk-ELKB2AFZ.js');var chunkMQFZHA2D_js=require('./chunk-MQFZHA2D.js'),react=require('react'),jsxRuntime=require('react/jsx-runtime');var R=react.createContext(null);function v(){let e=react.useContext(R);if(!e)throw new Error("DSR compound components must be wrapped in <DSR.Provider>. Example: <DSR.Provider requestTypes={...}><DSR.Form /></DSR.Provider>");return e}var s=({requestTypes:e,adapter:S,storageKey:D,useLocalStorage:d,onSubmit:u,onUpdate:n,children:i})=>{let f=chunkXSEZDQLB_js.a({requestTypes:e,adapter:S,storageKey:D,useLocalStorage:d,onSubmit:u,onUpdate:n}),x=chunkMQFZHA2D_js.b(chunkMQFZHA2D_js.a({},f),{requestTypes:e});return jsxRuntime.jsx(R.Provider,{value:x,children:i})};var C={Provider:s,Form:chunkZPKVLTSX_js.a,Dashboard:chunkZYLDLGFL_js.a,Tracker:chunkZYLDLGFL_js.b};Object.defineProperty(exports,"DSRDashboard",{enumerable:true,get:function(){return chunkZYLDLGFL_js.a}});Object.defineProperty(exports,"DSRTracker",{enumerable:true,get:function(){return chunkZYLDLGFL_js.b}});Object.defineProperty(exports,"DSRRequestForm",{enumerable:true,get:function(){return chunkZPKVLTSX_js.a}});Object.defineProperty(exports,"useDSR",{enumerable:true,get:function(){return chunkXSEZDQLB_js.a}});Object.defineProperty(exports,"formatDSRRequest",{enumerable:true,get:function(){return chunkJKKRPS4P_js.a}});exports.DSR=C;exports.DSRProvider=s;exports.useDSRCompound=v;//# sourceMappingURL=dsr.js.map
2
2
  //# sourceMappingURL=dsr.js.map
package/dist/dsr.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import {b,a}from'./chunk-5X32J5IA.mjs';export{a as DSRDashboard,b as DSRTracker}from'./chunk-5X32J5IA.mjs';import {a as a$1}from'./chunk-6YN73KR7.mjs';export{a as DSRRequestForm}from'./chunk-6YN73KR7.mjs';import {a as a$2}from'./chunk-DCJK5OZT.mjs';export{a as useDSR}from'./chunk-DCJK5OZT.mjs';export{a as formatDSRRequest}from'./chunk-7D2OIPHH.mjs';import'./chunk-GKKAK6ES.mjs';import'./chunk-AYKLAEOU.mjs';import'./chunk-6WIP33TW.mjs';import {b as b$1,a as a$3}from'./chunk-WWT2ZSNU.mjs';import {createContext,useContext}from'react';import {jsx}from'react/jsx-runtime';var R=createContext(null);function v(){let e=useContext(R);if(!e)throw new Error("DSR compound components must be wrapped in <DSR.Provider>. Example: <DSR.Provider requestTypes={...}><DSR.Form /></DSR.Provider>");return e}var s=({requestTypes:e,adapter:S,storageKey:D,useLocalStorage:d,onSubmit:u,onUpdate:n,children:i})=>{let f=a$2({requestTypes:e,adapter:S,storageKey:D,useLocalStorage:d,onSubmit:u,onUpdate:n}),x=b$1(a$3({},f),{requestTypes:e});return jsx(R.Provider,{value:x,children:i})};var C={Provider:s,Form:a$1,Dashboard:a,Tracker:b};export{C as DSR,s as DSRProvider,v as useDSRCompound};//# sourceMappingURL=dsr.mjs.map
1
+ import {b,a}from'./chunk-5X32J5IA.mjs';export{a as DSRDashboard,b as DSRTracker}from'./chunk-5X32J5IA.mjs';import {a as a$1}from'./chunk-6HZL2WDU.mjs';export{a as DSRRequestForm}from'./chunk-6HZL2WDU.mjs';import {a as a$2}from'./chunk-DCJK5OZT.mjs';export{a as useDSR}from'./chunk-DCJK5OZT.mjs';export{a as formatDSRRequest}from'./chunk-7D2OIPHH.mjs';import'./chunk-GKKAK6ES.mjs';import'./chunk-AYKLAEOU.mjs';import'./chunk-6WIP33TW.mjs';import {b as b$1,a as a$3}from'./chunk-WWT2ZSNU.mjs';import {createContext,useContext}from'react';import {jsx}from'react/jsx-runtime';var R=createContext(null);function v(){let e=useContext(R);if(!e)throw new Error("DSR compound components must be wrapped in <DSR.Provider>. Example: <DSR.Provider requestTypes={...}><DSR.Form /></DSR.Provider>");return e}var s=({requestTypes:e,adapter:S,storageKey:D,useLocalStorage:d,onSubmit:u,onUpdate:n,children:i})=>{let f=a$2({requestTypes:e,adapter:S,storageKey:D,useLocalStorage:d,onSubmit:u,onUpdate:n}),x=b$1(a$3({},f),{requestTypes:e});return jsx(R.Provider,{value:x,children:i})};var C={Provider:s,Form:a$1,Dashboard:a,Tracker:b};export{C as DSR,s as DSRProvider,v as useDSRCompound};//# sourceMappingURL=dsr.mjs.map
2
2
  //# sourceMappingURL=dsr.mjs.map
package/dist/hooks.d.mts CHANGED
@@ -10,17 +10,17 @@ export { u as useConsent } from './useConsent-DCNkIJHR.mjs';
10
10
  export { u as useDSR } from './useDSR-WvHk8_iu.mjs';
11
11
  export { u as useDPIA } from './useDPIA-B6180UQn.mjs';
12
12
  export { u as useBreach } from './useBreach-CPr86Yan.mjs';
13
- export { u as useDefaultPrivacyPolicy, a as usePrivacyPolicy } from './useDefaultPrivacyPolicy-ySWU7nc-.mjs';
13
+ export { u as useDefaultPrivacyPolicy, a as usePrivacyPolicy } from './useDefaultPrivacyPolicy-Cs2WQSYQ.mjs';
14
14
  export { u as useLawfulBasis } from './useLawfulBasis-CKJ-kw84.mjs';
15
15
  export { u as useCrossBorderTransfer } from './useCrossBorderTransfer-DixjLjN1.mjs';
16
16
  export { U as UseROPAOptions, a as UseROPAReturn, u as useROPA } from './useROPA-C2hjaBTz.mjs';
17
17
  import { C as ComplianceInput, b as ComplianceReport } from './compliance-score-racQe_E_.mjs';
18
- export { U as UseAdaptivePolicyWizardOptions, a as UseAdaptivePolicyWizardReturn, u as useAdaptivePolicyWizard } from './useAdaptivePolicyWizard-A1PyOy6P.mjs';
18
+ export { U as UseAdaptivePolicyWizardOptions, a as UseAdaptivePolicyWizardReturn, u as useAdaptivePolicyWizard } from './useAdaptivePolicyWizard-BnjW4OR4.mjs';
19
19
  import './types-DK2CoKOC.mjs';
20
20
  import './lawful-basis-C2eGaoHM.mjs';
21
21
  import './cross-border-BBi9rZyO.mjs';
22
22
  import './ropa-NIgxd8uP.mjs';
23
- import './policy-engine-DefZcX3R.mjs';
23
+ import './policy-engine-fYSqEqSW.mjs';
24
24
 
25
25
  interface UseComplianceScoreOptions {
26
26
  input: ComplianceInput;
package/dist/hooks.d.ts CHANGED
@@ -10,17 +10,17 @@ export { u as useConsent } from './useConsent-dOcELSfX.js';
10
10
  export { u as useDSR } from './useDSR-wH4H6hSM.js';
11
11
  export { u as useDPIA } from './useDPIA-CTqbNbww.js';
12
12
  export { u as useBreach } from './useBreach-DkVXvtJK.js';
13
- export { u as useDefaultPrivacyPolicy, a as usePrivacyPolicy } from './useDefaultPrivacyPolicy-DvCbeEl1.js';
13
+ export { u as useDefaultPrivacyPolicy, a as usePrivacyPolicy } from './useDefaultPrivacyPolicy-DkOqMg2e.js';
14
14
  export { u as useLawfulBasis } from './useLawfulBasis-DFTmu1ca.js';
15
15
  export { u as useCrossBorderTransfer } from './useCrossBorderTransfer-DvSq06lv.js';
16
16
  export { U as UseROPAOptions, a as UseROPAReturn, u as useROPA } from './useROPA-BSSU1rfx.js';
17
17
  import { C as ComplianceInput, b as ComplianceReport } from './compliance-score-racQe_E_.js';
18
- export { U as UseAdaptivePolicyWizardOptions, a as UseAdaptivePolicyWizardReturn, u as useAdaptivePolicyWizard } from './useAdaptivePolicyWizard-LVIKhAxw.js';
18
+ export { U as UseAdaptivePolicyWizardOptions, a as UseAdaptivePolicyWizardReturn, u as useAdaptivePolicyWizard } from './useAdaptivePolicyWizard-sb3m4-Zk.js';
19
19
  import './types-DK2CoKOC.js';
20
20
  import './lawful-basis-BEyI0kGg.js';
21
21
  import './cross-border-Dy-U9Hu6.js';
22
22
  import './ropa-CyynscU6.js';
23
- import './policy-engine-C6nC2t3a.js';
23
+ import './policy-engine-CCUCud2T.js';
24
24
 
25
25
  interface UseComplianceScoreOptions {
26
26
  input: ComplianceInput;
package/dist/hooks.js CHANGED
@@ -1,2 +1,2 @@
1
- 'use strict';var chunk7AVN424U_js=require('./chunk-7AVN424U.js'),chunkMCWV7S2G_js=require('./chunk-MCWV7S2G.js'),chunkM2TPT5GB_js=require('./chunk-M2TPT5GB.js'),chunkS4GRSNB4_js=require('./chunk-S4GRSNB4.js');require('./chunk-TDDAYVKK.js'),require('./chunk-C4YM4UMI.js'),require('./chunk-GOU6FU6Y.js');var chunk7SMLHZ4B_js=require('./chunk-7SMLHZ4B.js');require('./chunk-A4PK7JB2.js'),require('./chunk-HO5M7M4M.js');var chunkXSEZDQLB_js=require('./chunk-XSEZDQLB.js');require('./chunk-JKKRPS4P.js');var chunkOPYQIJKY_js=require('./chunk-OPYQIJKY.js');require('./chunk-P42Z5CFE.js');var chunkI4M2AA3N_js=require('./chunk-I4M2AA3N.js');require('./chunk-BKRETVJ6.js');var chunkTXXWCB5O_js=require('./chunk-TXXWCB5O.js'),chunkENIMJ6SQ_js=require('./chunk-ENIMJ6SQ.js');require('./chunk-LU4PFST7.js'),require('./chunk-UXMGBIX6.js'),require('./chunk-ELKB2AFZ.js'),require('./chunk-MQFZHA2D.js');var react=require('react');function l({input:e}){let r=JSON.stringify(e);return react.useMemo(()=>chunkS4GRSNB4_js.a(e),[r])}Object.defineProperty(exports,"useLawfulBasis",{enumerable:true,get:function(){return chunk7AVN424U_js.a}});Object.defineProperty(exports,"useCrossBorderTransfer",{enumerable:true,get:function(){return chunkMCWV7S2G_js.a}});Object.defineProperty(exports,"useROPA",{enumerable:true,get:function(){return chunkM2TPT5GB_js.a}});Object.defineProperty(exports,"useConsent",{enumerable:true,get:function(){return chunk7SMLHZ4B_js.a}});Object.defineProperty(exports,"useDSR",{enumerable:true,get:function(){return chunkXSEZDQLB_js.a}});Object.defineProperty(exports,"useDPIA",{enumerable:true,get:function(){return chunkOPYQIJKY_js.a}});Object.defineProperty(exports,"useBreach",{enumerable:true,get:function(){return chunkI4M2AA3N_js.a}});Object.defineProperty(exports,"useAdaptivePolicyWizard",{enumerable:true,get:function(){return chunkTXXWCB5O_js.e}});Object.defineProperty(exports,"useDefaultPrivacyPolicy",{enumerable:true,get:function(){return chunkENIMJ6SQ_js.b}});Object.defineProperty(exports,"usePrivacyPolicy",{enumerable:true,get:function(){return chunkENIMJ6SQ_js.a}});exports.useComplianceScore=l;//# sourceMappingURL=hooks.js.map
1
+ 'use strict';var chunkXMBSJJ5U_js=require('./chunk-XMBSJJ5U.js'),chunkRGNP45VR_js=require('./chunk-RGNP45VR.js'),chunk7AVN424U_js=require('./chunk-7AVN424U.js'),chunkMCWV7S2G_js=require('./chunk-MCWV7S2G.js'),chunkM2TPT5GB_js=require('./chunk-M2TPT5GB.js');require('./chunk-UFPSUO52.js'),require('./chunk-RNTNHVKZ.js'),require('./chunk-P2YV6DR3.js');var chunkS4GRSNB4_js=require('./chunk-S4GRSNB4.js');require('./chunk-AHSMDPG5.js'),require('./chunk-TDDAYVKK.js'),require('./chunk-C4YM4UMI.js'),require('./chunk-GOU6FU6Y.js');var chunk7SMLHZ4B_js=require('./chunk-7SMLHZ4B.js');require('./chunk-A4PK7JB2.js'),require('./chunk-HO5M7M4M.js');var chunkXSEZDQLB_js=require('./chunk-XSEZDQLB.js');require('./chunk-JKKRPS4P.js');var chunkOPYQIJKY_js=require('./chunk-OPYQIJKY.js');require('./chunk-P42Z5CFE.js');var chunkI4M2AA3N_js=require('./chunk-I4M2AA3N.js');require('./chunk-BKRETVJ6.js'),require('./chunk-ELKB2AFZ.js'),require('./chunk-MQFZHA2D.js');var react=require('react');function l({input:e}){let r=JSON.stringify(e);return react.useMemo(()=>chunkS4GRSNB4_js.a(e),[r])}Object.defineProperty(exports,"useAdaptivePolicyWizard",{enumerable:true,get:function(){return chunkXMBSJJ5U_js.a}});Object.defineProperty(exports,"useDefaultPrivacyPolicy",{enumerable:true,get:function(){return chunkRGNP45VR_js.b}});Object.defineProperty(exports,"usePrivacyPolicy",{enumerable:true,get:function(){return chunkRGNP45VR_js.a}});Object.defineProperty(exports,"useLawfulBasis",{enumerable:true,get:function(){return chunk7AVN424U_js.a}});Object.defineProperty(exports,"useCrossBorderTransfer",{enumerable:true,get:function(){return chunkMCWV7S2G_js.a}});Object.defineProperty(exports,"useROPA",{enumerable:true,get:function(){return chunkM2TPT5GB_js.a}});Object.defineProperty(exports,"useConsent",{enumerable:true,get:function(){return chunk7SMLHZ4B_js.a}});Object.defineProperty(exports,"useDSR",{enumerable:true,get:function(){return chunkXSEZDQLB_js.a}});Object.defineProperty(exports,"useDPIA",{enumerable:true,get:function(){return chunkOPYQIJKY_js.a}});Object.defineProperty(exports,"useBreach",{enumerable:true,get:function(){return chunkI4M2AA3N_js.a}});exports.useComplianceScore=l;//# sourceMappingURL=hooks.js.map
2
2
  //# sourceMappingURL=hooks.js.map
package/dist/hooks.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export{a as useLawfulBasis}from'./chunk-E4NCJ7RD.mjs';export{a as useCrossBorderTransfer}from'./chunk-Z6IIMLZU.mjs';export{a as useROPA}from'./chunk-2AW7KAZO.mjs';import {a}from'./chunk-ABDB7LEV.mjs';import'./chunk-TXBZPCGF.mjs';import'./chunk-75TJPK2N.mjs';import'./chunk-SHMJNRHO.mjs';export{a as useConsent}from'./chunk-VWPGIES4.mjs';import'./chunk-R3OYAJI6.mjs';import'./chunk-U62QYKVG.mjs';export{a as useDSR}from'./chunk-DCJK5OZT.mjs';import'./chunk-7D2OIPHH.mjs';export{a as useDPIA}from'./chunk-6FGCGLH5.mjs';import'./chunk-6TA2MVTU.mjs';export{a as useBreach}from'./chunk-PATONNTZ.mjs';import'./chunk-DJGS7SSN.mjs';export{e as useAdaptivePolicyWizard}from'./chunk-CDZDT2OS.mjs';export{b as useDefaultPrivacyPolicy,a as usePrivacyPolicy}from'./chunk-QF6XNKU6.mjs';import'./chunk-GCQRHMTQ.mjs';import'./chunk-ZEOQYWOE.mjs';import'./chunk-6WIP33TW.mjs';import'./chunk-WWT2ZSNU.mjs';import {useMemo}from'react';function l({input:e}){let r=JSON.stringify(e);return useMemo(()=>a(e),[r])}export{l as useComplianceScore};//# sourceMappingURL=hooks.mjs.map
1
+ export{a as useAdaptivePolicyWizard}from'./chunk-KSERBMXW.mjs';export{b as useDefaultPrivacyPolicy,a as usePrivacyPolicy}from'./chunk-NCOZB2WU.mjs';export{a as useLawfulBasis}from'./chunk-E4NCJ7RD.mjs';export{a as useCrossBorderTransfer}from'./chunk-Z6IIMLZU.mjs';export{a as useROPA}from'./chunk-2AW7KAZO.mjs';import'./chunk-4R42ZNO7.mjs';import'./chunk-MG73MOZC.mjs';import'./chunk-LSCMXAPY.mjs';import {a}from'./chunk-ABDB7LEV.mjs';import'./chunk-ZLSWOFAY.mjs';import'./chunk-TXBZPCGF.mjs';import'./chunk-75TJPK2N.mjs';import'./chunk-SHMJNRHO.mjs';export{a as useConsent}from'./chunk-VWPGIES4.mjs';import'./chunk-R3OYAJI6.mjs';import'./chunk-U62QYKVG.mjs';export{a as useDSR}from'./chunk-DCJK5OZT.mjs';import'./chunk-7D2OIPHH.mjs';export{a as useDPIA}from'./chunk-6FGCGLH5.mjs';import'./chunk-6TA2MVTU.mjs';export{a as useBreach}from'./chunk-PATONNTZ.mjs';import'./chunk-DJGS7SSN.mjs';import'./chunk-6WIP33TW.mjs';import'./chunk-WWT2ZSNU.mjs';import {useMemo}from'react';function l({input:e}){let r=JSON.stringify(e);return useMemo(()=>a(e),[r])}export{l as useComplianceScore};//# sourceMappingURL=hooks.mjs.map
2
2
  //# sourceMappingURL=hooks.mjs.map
package/dist/index.d.mts CHANGED
@@ -1,5 +1,6 @@
1
- export { C as ConsentAnalyticsEvent, a as ConsentBanner, b as ConsentBannerClassNames } from './ConsentBanner-CDRT0o2k.mjs';
2
- export { C as ConsentManager, a as ConsentManagerClassNames, b as ConsentStorage, c as ConsentStorageClassNames, r as resolveClass } from './styling-uJLsBbER.mjs';
1
+ export { C as ConsentAnalyticsEvent, a as ConsentBanner, b as ConsentBannerClassNames } from './ConsentBanner-F5ayys5K.mjs';
2
+ export { C as ConsentManager, a as ConsentManagerClassNames } from './ConsentManager-C7I3PDe8.mjs';
3
+ export { C as ConsentStorage, a as ConsentStorageClassNames, r as resolveClass } from './styling-BMDGQDgS.mjs';
3
4
  export { C as ConsentOption, a as ConsentSettings, b as ConsentStorageOptions, L as LawfulBasisType } from './consent-CmVzqZUk.mjs';
4
5
  export { D as DSRFormSubmission, a as DSRRequestForm, b as DSRRequestFormClassNames } from './DSRRequestForm-DRouEr9j.mjs';
5
6
  export { D as DSRDashboard, a as DSRDashboardClassNames, b as DSRTracker, c as DSRTrackerClassNames } from './DSRTracker-CSVDfgQQ.mjs';
@@ -12,17 +13,18 @@ export { B as BreachNotificationManager, a as BreachNotificationManagerClassName
12
13
  export { B as BreachCategory, a as BreachReport, N as NotificationRequirement, R as RegulatoryNotification, b as RiskAssessment } from './breach-Eu9byel8.mjs';
13
14
  export { P as PolicyExporter, a as PolicyExporterClassNames, b as PolicyGenerator, c as PolicyGeneratorClassNames, d as PolicyPreview, e as PolicyPreviewClassNames } from './PolicyExporter-Bgi6nz82.mjs';
14
15
  export { O as OrganizationInfo, P as PolicySection, a as PolicyTemplate, b as PolicyVariable, c as PrivacyPolicy } from './privacy-Ca6te9Ir.mjs';
15
- export { N as NDPRConfig, a as NDPRProvider, s as sanitizeInput, u as useNDPRConfig } from './sanitize-B0AzEm1D.mjs';
16
+ export { N as NDPRConfig, a as NDPRProvider, u as useNDPRConfig } from './NDPRProvider-U3QNu6MA.mjs';
16
17
  export { C as ConsentAuditEntry, a as appendAuditEntry, c as createAuditEntry, g as getAuditLog, v as validateConsent, b as validateConsentOptions } from './consent-audit-BdByjYlM.mjs';
17
18
  export { f as formatDSRRequest } from './dsr-XZ_HqTlA.mjs';
18
19
  export { a as assessDPIARisk } from './dpia-DQDFw2_l.mjs';
19
20
  export { c as calculateBreachSeverity } from './breach-B_-6lDqS.mjs';
20
- export { D as DEFAULT_POLICY_SECTIONS, a as DEFAULT_POLICY_VARIABLES, c as createBusinessPolicyTemplate, g as generatePolicyText } from './policy-templates-DMsPwOSZ.mjs';
21
+ export { D as DEFAULT_POLICY_SECTIONS, a as DEFAULT_POLICY_VARIABLES, c as createBusinessPolicyTemplate, g as generatePolicyText } from './policy-templates-DwYl2329.mjs';
22
+ export { s as sanitizeInput } from './sanitize-CxxwKxAx.mjs';
21
23
  export { u as useConsent } from './useConsent-DCNkIJHR.mjs';
22
24
  export { u as useDSR } from './useDSR-WvHk8_iu.mjs';
23
25
  export { u as useDPIA } from './useDPIA-B6180UQn.mjs';
24
26
  export { u as useBreach } from './useBreach-CPr86Yan.mjs';
25
- export { u as useDefaultPrivacyPolicy, a as usePrivacyPolicy } from './useDefaultPrivacyPolicy-ySWU7nc-.mjs';
27
+ export { u as useDefaultPrivacyPolicy, a as usePrivacyPolicy } from './useDefaultPrivacyPolicy-Cs2WQSYQ.mjs';
26
28
  export { L as LawfulBasisTracker, a as LawfulBasisTrackerClassNames } from './LawfulBasisTracker-CBqOxX1D.mjs';
27
29
  export { L as LawfulBasis, a as LawfulBasisSummary, b as LegitimateInterestAssessment, P as ProcessingActivity, S as SensitiveDataCondition } from './lawful-basis-Cv1VmDLn.mjs';
28
30
  export { L as LawfulBasisComplianceGap, a as LawfulBasisValidationResult, b as assessComplianceGaps, g as generateLawfulBasisSummary, c as getLawfulBasisDescription, v as validateProcessingActivity } from './lawful-basis-C2eGaoHM.mjs';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
- export { C as ConsentAnalyticsEvent, a as ConsentBanner, b as ConsentBannerClassNames } from './ConsentBanner-Vxyt8SCX.js';
2
- export { C as ConsentManager, a as ConsentManagerClassNames, b as ConsentStorage, c as ConsentStorageClassNames, r as resolveClass } from './styling-B7CBzYG7.js';
1
+ export { C as ConsentAnalyticsEvent, a as ConsentBanner, b as ConsentBannerClassNames } from './ConsentBanner-VqIPophc.js';
2
+ export { C as ConsentManager, a as ConsentManagerClassNames } from './ConsentManager-CQ2IZtUU.js';
3
+ export { C as ConsentStorage, a as ConsentStorageClassNames, r as resolveClass } from './styling-BaoQtV06.js';
3
4
  export { C as ConsentOption, a as ConsentSettings, b as ConsentStorageOptions, L as LawfulBasisType } from './consent-CmVzqZUk.js';
4
5
  export { D as DSRFormSubmission, a as DSRRequestForm, b as DSRRequestFormClassNames } from './DSRRequestForm-D8rPTNmU.js';
5
6
  export { D as DSRDashboard, a as DSRDashboardClassNames, b as DSRTracker, c as DSRTrackerClassNames } from './DSRTracker-Bl__d4df.js';
@@ -12,17 +13,18 @@ export { B as BreachNotificationManager, a as BreachNotificationManagerClassName
12
13
  export { B as BreachCategory, a as BreachReport, N as NotificationRequirement, R as RegulatoryNotification, b as RiskAssessment } from './breach-Eu9byel8.js';
13
14
  export { P as PolicyExporter, a as PolicyExporterClassNames, b as PolicyGenerator, c as PolicyGeneratorClassNames, d as PolicyPreview, e as PolicyPreviewClassNames } from './PolicyExporter-BnvuFncj.js';
14
15
  export { O as OrganizationInfo, P as PolicySection, a as PolicyTemplate, b as PolicyVariable, c as PrivacyPolicy } from './privacy-Ca6te9Ir.js';
15
- export { N as NDPRConfig, a as NDPRProvider, s as sanitizeInput, u as useNDPRConfig } from './sanitize-B0AzEm1D.js';
16
+ export { N as NDPRConfig, a as NDPRProvider, u as useNDPRConfig } from './NDPRProvider-DYFb8xEl.js';
16
17
  export { C as ConsentAuditEntry, a as appendAuditEntry, c as createAuditEntry, g as getAuditLog, v as validateConsent, b as validateConsentOptions } from './consent-audit-DhbfMR0n.js';
17
18
  export { f as formatDSRRequest } from './dsr-CIx5sd7e.js';
18
19
  export { a as assessDPIARisk } from './dpia-D82hUrJe.js';
19
20
  export { c as calculateBreachSeverity } from './breach-CzXqSsaY.js';
20
- export { D as DEFAULT_POLICY_SECTIONS, a as DEFAULT_POLICY_VARIABLES, c as createBusinessPolicyTemplate, g as generatePolicyText } from './policy-templates-CIKcV0i1.js';
21
+ export { D as DEFAULT_POLICY_SECTIONS, a as DEFAULT_POLICY_VARIABLES, c as createBusinessPolicyTemplate, g as generatePolicyText } from './policy-templates-DhLwq4R-.js';
22
+ export { s as sanitizeInput } from './sanitize-CxxwKxAx.js';
21
23
  export { u as useConsent } from './useConsent-dOcELSfX.js';
22
24
  export { u as useDSR } from './useDSR-wH4H6hSM.js';
23
25
  export { u as useDPIA } from './useDPIA-CTqbNbww.js';
24
26
  export { u as useBreach } from './useBreach-DkVXvtJK.js';
25
- export { u as useDefaultPrivacyPolicy, a as usePrivacyPolicy } from './useDefaultPrivacyPolicy-DvCbeEl1.js';
27
+ export { u as useDefaultPrivacyPolicy, a as usePrivacyPolicy } from './useDefaultPrivacyPolicy-DkOqMg2e.js';
26
28
  export { L as LawfulBasisTracker, a as LawfulBasisTrackerClassNames } from './LawfulBasisTracker-Cg30NbDA.js';
27
29
  export { L as LawfulBasis, a as LawfulBasisSummary, b as LegitimateInterestAssessment, P as ProcessingActivity, S as SensitiveDataCondition } from './lawful-basis-Cv1VmDLn.js';
28
30
  export { L as LawfulBasisComplianceGap, a as LawfulBasisValidationResult, b as assessComplianceGaps, g as generateLawfulBasisSummary, c as getLawfulBasisDescription, v as validateProcessingActivity } from './lawful-basis-BEyI0kGg.js';
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- 'use strict';var chunk25OOUES4_js=require('./chunk-25OOUES4.js'),chunkUO6QPJLH_js=require('./chunk-UO6QPJLH.js'),chunkGMLCWGNJ_js=require('./chunk-GMLCWGNJ.js'),chunk5BUS6AI7_js=require('./chunk-5BUS6AI7.js'),chunkUGY5ZYUG_js=require('./chunk-UGY5ZYUG.js'),chunk7AVN424U_js=require('./chunk-7AVN424U.js'),chunkMCWV7S2G_js=require('./chunk-MCWV7S2G.js'),chunkM2TPT5GB_js=require('./chunk-M2TPT5GB.js'),chunkS4GRSNB4_js=require('./chunk-S4GRSNB4.js'),chunkTDDAYVKK_js=require('./chunk-TDDAYVKK.js'),chunkC4YM4UMI_js=require('./chunk-C4YM4UMI.js'),chunkGOU6FU6Y_js=require('./chunk-GOU6FU6Y.js'),chunkQJ3JNHO7_js=require('./chunk-QJ3JNHO7.js'),chunkNBSVFQ5G_js=require('./chunk-NBSVFQ5G.js'),chunkMJGOLP5M_js=require('./chunk-MJGOLP5M.js'),chunk7SMLHZ4B_js=require('./chunk-7SMLHZ4B.js');require('./chunk-A4PK7JB2.js');var chunkHO5M7M4M_js=require('./chunk-HO5M7M4M.js'),chunkZYLDLGFL_js=require('./chunk-ZYLDLGFL.js'),chunkYCX6BFOQ_js=require('./chunk-YCX6BFOQ.js'),chunkXSEZDQLB_js=require('./chunk-XSEZDQLB.js'),chunkJKKRPS4P_js=require('./chunk-JKKRPS4P.js'),chunk5ECDPRSZ_js=require('./chunk-5ECDPRSZ.js'),chunkXHSHPB74_js=require('./chunk-XHSHPB74.js'),chunkOPYQIJKY_js=require('./chunk-OPYQIJKY.js'),chunkP42Z5CFE_js=require('./chunk-P42Z5CFE.js'),chunkEKHBORAH_js=require('./chunk-EKHBORAH.js'),chunkSAA7UVI2_js=require('./chunk-SAA7UVI2.js'),chunkI4M2AA3N_js=require('./chunk-I4M2AA3N.js'),chunkBKRETVJ6_js=require('./chunk-BKRETVJ6.js'),chunkI54CDQGN_js=require('./chunk-I54CDQGN.js'),chunkFWLPJ5YI_js=require('./chunk-FWLPJ5YI.js'),chunkENIMJ6SQ_js=require('./chunk-ENIMJ6SQ.js'),chunkUXMGBIX6_js=require('./chunk-UXMGBIX6.js'),chunkE64TU6IU_js=require('./chunk-E64TU6IU.js');require('./chunk-ELKB2AFZ.js'),require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"NDPRDashboard",{enumerable:true,get:function(){return chunk25OOUES4_js.a}});Object.defineProperty(exports,"LawfulBasisTracker",{enumerable:true,get:function(){return chunkUO6QPJLH_js.a}});Object.defineProperty(exports,"CrossBorderTransferManager",{enumerable:true,get:function(){return chunkGMLCWGNJ_js.a}});Object.defineProperty(exports,"ROPAManager",{enumerable:true,get:function(){return chunk5BUS6AI7_js.a}});Object.defineProperty(exports,"NDPRProvider",{enumerable:true,get:function(){return chunkUGY5ZYUG_js.c}});Object.defineProperty(exports,"useNDPRConfig",{enumerable:true,get:function(){return chunkUGY5ZYUG_js.d}});Object.defineProperty(exports,"useLawfulBasis",{enumerable:true,get:function(){return chunk7AVN424U_js.a}});Object.defineProperty(exports,"useCrossBorderTransfer",{enumerable:true,get:function(){return chunkMCWV7S2G_js.a}});Object.defineProperty(exports,"useROPA",{enumerable:true,get:function(){return chunkM2TPT5GB_js.a}});Object.defineProperty(exports,"getComplianceScore",{enumerable:true,get:function(){return chunkS4GRSNB4_js.a}});Object.defineProperty(exports,"assessComplianceGaps",{enumerable:true,get:function(){return chunkTDDAYVKK_js.c}});Object.defineProperty(exports,"generateLawfulBasisSummary",{enumerable:true,get:function(){return chunkTDDAYVKK_js.d}});Object.defineProperty(exports,"getLawfulBasisDescription",{enumerable:true,get:function(){return chunkTDDAYVKK_js.b}});Object.defineProperty(exports,"validateProcessingActivity",{enumerable:true,get:function(){return chunkTDDAYVKK_js.a}});Object.defineProperty(exports,"assessTransferRisk",{enumerable:true,get:function(){return chunkC4YM4UMI_js.h}});Object.defineProperty(exports,"getTransferMechanismDescription",{enumerable:true,get:function(){return chunkC4YM4UMI_js.f}});Object.defineProperty(exports,"isNDPCApprovalRequired",{enumerable:true,get:function(){return chunkC4YM4UMI_js.e}});Object.defineProperty(exports,"validateTransfer",{enumerable:true,get:function(){return chunkC4YM4UMI_js.g}});Object.defineProperty(exports,"exportROPAToCSV",{enumerable:true,get:function(){return chunkGOU6FU6Y_js.c}});Object.defineProperty(exports,"generateROPASummary",{enumerable:true,get:function(){return chunkGOU6FU6Y_js.b}});Object.defineProperty(exports,"identifyComplianceGaps",{enumerable:true,get:function(){return chunkGOU6FU6Y_js.d}});Object.defineProperty(exports,"validateProcessingRecord",{enumerable:true,get:function(){return chunkGOU6FU6Y_js.a}});Object.defineProperty(exports,"ConsentManager",{enumerable:true,get:function(){return chunkQJ3JNHO7_js.a}});Object.defineProperty(exports,"ConsentStorage",{enumerable:true,get:function(){return chunkQJ3JNHO7_js.b}});Object.defineProperty(exports,"ConsentBanner",{enumerable:true,get:function(){return chunkNBSVFQ5G_js.a}});Object.defineProperty(exports,"appendAuditEntry",{enumerable:true,get:function(){return chunkMJGOLP5M_js.c}});Object.defineProperty(exports,"createAuditEntry",{enumerable:true,get:function(){return chunkMJGOLP5M_js.a}});Object.defineProperty(exports,"getAuditLog",{enumerable:true,get:function(){return chunkMJGOLP5M_js.b}});Object.defineProperty(exports,"useConsent",{enumerable:true,get:function(){return chunk7SMLHZ4B_js.a}});Object.defineProperty(exports,"validateConsent",{enumerable:true,get:function(){return chunkHO5M7M4M_js.a}});Object.defineProperty(exports,"validateConsentOptions",{enumerable:true,get:function(){return chunkHO5M7M4M_js.b}});Object.defineProperty(exports,"DSRDashboard",{enumerable:true,get:function(){return chunkZYLDLGFL_js.a}});Object.defineProperty(exports,"DSRTracker",{enumerable:true,get:function(){return chunkZYLDLGFL_js.b}});Object.defineProperty(exports,"DSRRequestForm",{enumerable:true,get:function(){return chunkYCX6BFOQ_js.a}});Object.defineProperty(exports,"useDSR",{enumerable:true,get:function(){return chunkXSEZDQLB_js.a}});Object.defineProperty(exports,"formatDSRRequest",{enumerable:true,get:function(){return chunkJKKRPS4P_js.a}});Object.defineProperty(exports,"DPIAReport",{enumerable:true,get:function(){return chunk5ECDPRSZ_js.a}});Object.defineProperty(exports,"StepIndicator",{enumerable:true,get:function(){return chunk5ECDPRSZ_js.b}});Object.defineProperty(exports,"DPIAQuestionnaire",{enumerable:true,get:function(){return chunkXHSHPB74_js.a}});Object.defineProperty(exports,"useDPIA",{enumerable:true,get:function(){return chunkOPYQIJKY_js.a}});Object.defineProperty(exports,"assessDPIARisk",{enumerable:true,get:function(){return chunkP42Z5CFE_js.a}});Object.defineProperty(exports,"BreachNotificationManager",{enumerable:true,get:function(){return chunkEKHBORAH_js.b}});Object.defineProperty(exports,"BreachRiskAssessment",{enumerable:true,get:function(){return chunkEKHBORAH_js.a}});Object.defineProperty(exports,"RegulatoryReportGenerator",{enumerable:true,get:function(){return chunkEKHBORAH_js.c}});Object.defineProperty(exports,"BreachReportForm",{enumerable:true,get:function(){return chunkSAA7UVI2_js.a}});Object.defineProperty(exports,"useBreach",{enumerable:true,get:function(){return chunkI4M2AA3N_js.a}});Object.defineProperty(exports,"calculateBreachSeverity",{enumerable:true,get:function(){return chunkBKRETVJ6_js.a}});Object.defineProperty(exports,"sanitizeInput",{enumerable:true,get:function(){return chunkI54CDQGN_js.a}});Object.defineProperty(exports,"PolicyExporter",{enumerable:true,get:function(){return chunkFWLPJ5YI_js.c}});Object.defineProperty(exports,"PolicyGenerator",{enumerable:true,get:function(){return chunkFWLPJ5YI_js.a}});Object.defineProperty(exports,"PolicyPreview",{enumerable:true,get:function(){return chunkFWLPJ5YI_js.b}});Object.defineProperty(exports,"useDefaultPrivacyPolicy",{enumerable:true,get:function(){return chunkENIMJ6SQ_js.b}});Object.defineProperty(exports,"usePrivacyPolicy",{enumerable:true,get:function(){return chunkENIMJ6SQ_js.a}});Object.defineProperty(exports,"DEFAULT_POLICY_SECTIONS",{enumerable:true,get:function(){return chunkUXMGBIX6_js.b}});Object.defineProperty(exports,"DEFAULT_POLICY_VARIABLES",{enumerable:true,get:function(){return chunkUXMGBIX6_js.c}});Object.defineProperty(exports,"createBusinessPolicyTemplate",{enumerable:true,get:function(){return chunkUXMGBIX6_js.d}});Object.defineProperty(exports,"generatePolicyText",{enumerable:true,get:function(){return chunkUXMGBIX6_js.a}});Object.defineProperty(exports,"resolveClass",{enumerable:true,get:function(){return chunkE64TU6IU_js.a}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkHQSU7LGM_js=require('./chunk-HQSU7LGM.js'),chunkHGGLW5TE_js=require('./chunk-HGGLW5TE.js'),chunkLSNL4XR5_js=require('./chunk-LSNL4XR5.js'),chunkNQNFS3QI_js=require('./chunk-NQNFS3QI.js'),chunkP6QAFBCV_js=require('./chunk-P6QAFBCV.js'),chunkRXL6CZAI_js=require('./chunk-RXL6CZAI.js');require('./chunk-C5QO3SX4.js');var chunkRGNP45VR_js=require('./chunk-RGNP45VR.js'),chunk7AVN424U_js=require('./chunk-7AVN424U.js'),chunkMCWV7S2G_js=require('./chunk-MCWV7S2G.js'),chunkM2TPT5GB_js=require('./chunk-M2TPT5GB.js'),chunkP2YV6DR3_js=require('./chunk-P2YV6DR3.js'),chunkS4GRSNB4_js=require('./chunk-S4GRSNB4.js');require('./chunk-AHSMDPG5.js');var chunkTDDAYVKK_js=require('./chunk-TDDAYVKK.js'),chunkC4YM4UMI_js=require('./chunk-C4YM4UMI.js'),chunkGOU6FU6Y_js=require('./chunk-GOU6FU6Y.js'),chunk3NQQSU4P_js=require('./chunk-3NQQSU4P.js'),chunkRLYTX3MM_js=require('./chunk-RLYTX3MM.js'),chunkSUEGUY35_js=require('./chunk-SUEGUY35.js'),chunkMJGOLP5M_js=require('./chunk-MJGOLP5M.js'),chunk7SMLHZ4B_js=require('./chunk-7SMLHZ4B.js');require('./chunk-A4PK7JB2.js');var chunkHO5M7M4M_js=require('./chunk-HO5M7M4M.js'),chunkZYLDLGFL_js=require('./chunk-ZYLDLGFL.js'),chunkZPKVLTSX_js=require('./chunk-ZPKVLTSX.js'),chunkXSEZDQLB_js=require('./chunk-XSEZDQLB.js'),chunkJKKRPS4P_js=require('./chunk-JKKRPS4P.js'),chunk3VQAYQR7_js=require('./chunk-3VQAYQR7.js'),chunk5HL4UBFV_js=require('./chunk-5HL4UBFV.js'),chunkOPYQIJKY_js=require('./chunk-OPYQIJKY.js'),chunkP42Z5CFE_js=require('./chunk-P42Z5CFE.js'),chunkEHAZIKDX_js=require('./chunk-EHAZIKDX.js'),chunkWTJGLNTB_js=require('./chunk-WTJGLNTB.js'),chunkI4M2AA3N_js=require('./chunk-I4M2AA3N.js'),chunkBKRETVJ6_js=require('./chunk-BKRETVJ6.js'),chunkI54CDQGN_js=require('./chunk-I54CDQGN.js'),chunkE64TU6IU_js=require('./chunk-E64TU6IU.js');require('./chunk-ELKB2AFZ.js'),require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"PolicyExporter",{enumerable:true,get:function(){return chunkHQSU7LGM_js.c}});Object.defineProperty(exports,"PolicyGenerator",{enumerable:true,get:function(){return chunkHQSU7LGM_js.a}});Object.defineProperty(exports,"PolicyPreview",{enumerable:true,get:function(){return chunkHQSU7LGM_js.b}});Object.defineProperty(exports,"NDPRDashboard",{enumerable:true,get:function(){return chunkHGGLW5TE_js.a}});Object.defineProperty(exports,"LawfulBasisTracker",{enumerable:true,get:function(){return chunkLSNL4XR5_js.a}});Object.defineProperty(exports,"CrossBorderTransferManager",{enumerable:true,get:function(){return chunkNQNFS3QI_js.a}});Object.defineProperty(exports,"ROPAManager",{enumerable:true,get:function(){return chunkP6QAFBCV_js.a}});Object.defineProperty(exports,"NDPRProvider",{enumerable:true,get:function(){return chunkRXL6CZAI_js.a}});Object.defineProperty(exports,"useNDPRConfig",{enumerable:true,get:function(){return chunkRXL6CZAI_js.b}});Object.defineProperty(exports,"useDefaultPrivacyPolicy",{enumerable:true,get:function(){return chunkRGNP45VR_js.b}});Object.defineProperty(exports,"usePrivacyPolicy",{enumerable:true,get:function(){return chunkRGNP45VR_js.a}});Object.defineProperty(exports,"useLawfulBasis",{enumerable:true,get:function(){return chunk7AVN424U_js.a}});Object.defineProperty(exports,"useCrossBorderTransfer",{enumerable:true,get:function(){return chunkMCWV7S2G_js.a}});Object.defineProperty(exports,"useROPA",{enumerable:true,get:function(){return chunkM2TPT5GB_js.a}});Object.defineProperty(exports,"DEFAULT_POLICY_SECTIONS",{enumerable:true,get:function(){return chunkP2YV6DR3_js.c}});Object.defineProperty(exports,"DEFAULT_POLICY_VARIABLES",{enumerable:true,get:function(){return chunkP2YV6DR3_js.d}});Object.defineProperty(exports,"createBusinessPolicyTemplate",{enumerable:true,get:function(){return chunkP2YV6DR3_js.e}});Object.defineProperty(exports,"generatePolicyText",{enumerable:true,get:function(){return chunkP2YV6DR3_js.b}});Object.defineProperty(exports,"getComplianceScore",{enumerable:true,get:function(){return chunkS4GRSNB4_js.a}});Object.defineProperty(exports,"assessComplianceGaps",{enumerable:true,get:function(){return chunkTDDAYVKK_js.c}});Object.defineProperty(exports,"generateLawfulBasisSummary",{enumerable:true,get:function(){return chunkTDDAYVKK_js.d}});Object.defineProperty(exports,"getLawfulBasisDescription",{enumerable:true,get:function(){return chunkTDDAYVKK_js.b}});Object.defineProperty(exports,"validateProcessingActivity",{enumerable:true,get:function(){return chunkTDDAYVKK_js.a}});Object.defineProperty(exports,"assessTransferRisk",{enumerable:true,get:function(){return chunkC4YM4UMI_js.h}});Object.defineProperty(exports,"getTransferMechanismDescription",{enumerable:true,get:function(){return chunkC4YM4UMI_js.f}});Object.defineProperty(exports,"isNDPCApprovalRequired",{enumerable:true,get:function(){return chunkC4YM4UMI_js.e}});Object.defineProperty(exports,"validateTransfer",{enumerable:true,get:function(){return chunkC4YM4UMI_js.g}});Object.defineProperty(exports,"exportROPAToCSV",{enumerable:true,get:function(){return chunkGOU6FU6Y_js.c}});Object.defineProperty(exports,"generateROPASummary",{enumerable:true,get:function(){return chunkGOU6FU6Y_js.b}});Object.defineProperty(exports,"identifyComplianceGaps",{enumerable:true,get:function(){return chunkGOU6FU6Y_js.d}});Object.defineProperty(exports,"validateProcessingRecord",{enumerable:true,get:function(){return chunkGOU6FU6Y_js.a}});Object.defineProperty(exports,"ConsentStorage",{enumerable:true,get:function(){return chunk3NQQSU4P_js.a}});Object.defineProperty(exports,"ConsentManager",{enumerable:true,get:function(){return chunkRLYTX3MM_js.a}});Object.defineProperty(exports,"ConsentBanner",{enumerable:true,get:function(){return chunkSUEGUY35_js.a}});Object.defineProperty(exports,"appendAuditEntry",{enumerable:true,get:function(){return chunkMJGOLP5M_js.c}});Object.defineProperty(exports,"createAuditEntry",{enumerable:true,get:function(){return chunkMJGOLP5M_js.a}});Object.defineProperty(exports,"getAuditLog",{enumerable:true,get:function(){return chunkMJGOLP5M_js.b}});Object.defineProperty(exports,"useConsent",{enumerable:true,get:function(){return chunk7SMLHZ4B_js.a}});Object.defineProperty(exports,"validateConsent",{enumerable:true,get:function(){return chunkHO5M7M4M_js.a}});Object.defineProperty(exports,"validateConsentOptions",{enumerable:true,get:function(){return chunkHO5M7M4M_js.b}});Object.defineProperty(exports,"DSRDashboard",{enumerable:true,get:function(){return chunkZYLDLGFL_js.a}});Object.defineProperty(exports,"DSRTracker",{enumerable:true,get:function(){return chunkZYLDLGFL_js.b}});Object.defineProperty(exports,"DSRRequestForm",{enumerable:true,get:function(){return chunkZPKVLTSX_js.a}});Object.defineProperty(exports,"useDSR",{enumerable:true,get:function(){return chunkXSEZDQLB_js.a}});Object.defineProperty(exports,"formatDSRRequest",{enumerable:true,get:function(){return chunkJKKRPS4P_js.a}});Object.defineProperty(exports,"DPIAReport",{enumerable:true,get:function(){return chunk3VQAYQR7_js.a}});Object.defineProperty(exports,"StepIndicator",{enumerable:true,get:function(){return chunk3VQAYQR7_js.b}});Object.defineProperty(exports,"DPIAQuestionnaire",{enumerable:true,get:function(){return chunk5HL4UBFV_js.a}});Object.defineProperty(exports,"useDPIA",{enumerable:true,get:function(){return chunkOPYQIJKY_js.a}});Object.defineProperty(exports,"assessDPIARisk",{enumerable:true,get:function(){return chunkP42Z5CFE_js.a}});Object.defineProperty(exports,"BreachNotificationManager",{enumerable:true,get:function(){return chunkEHAZIKDX_js.b}});Object.defineProperty(exports,"BreachRiskAssessment",{enumerable:true,get:function(){return chunkEHAZIKDX_js.a}});Object.defineProperty(exports,"RegulatoryReportGenerator",{enumerable:true,get:function(){return chunkEHAZIKDX_js.c}});Object.defineProperty(exports,"BreachReportForm",{enumerable:true,get:function(){return chunkWTJGLNTB_js.a}});Object.defineProperty(exports,"useBreach",{enumerable:true,get:function(){return chunkI4M2AA3N_js.a}});Object.defineProperty(exports,"calculateBreachSeverity",{enumerable:true,get:function(){return chunkBKRETVJ6_js.a}});Object.defineProperty(exports,"sanitizeInput",{enumerable:true,get:function(){return chunkI54CDQGN_js.a}});Object.defineProperty(exports,"resolveClass",{enumerable:true,get:function(){return chunkE64TU6IU_js.a}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export{a as NDPRDashboard}from'./chunk-XFUEZ3MP.mjs';export{a as LawfulBasisTracker}from'./chunk-ZT7KNFAU.mjs';export{a as CrossBorderTransferManager}from'./chunk-TI2M7H6R.mjs';export{a as ROPAManager}from'./chunk-YURSF2YO.mjs';export{c as NDPRProvider,d as useNDPRConfig}from'./chunk-LETEUS5X.mjs';export{a as useLawfulBasis}from'./chunk-E4NCJ7RD.mjs';export{a as useCrossBorderTransfer}from'./chunk-Z6IIMLZU.mjs';export{a as useROPA}from'./chunk-2AW7KAZO.mjs';export{a as getComplianceScore}from'./chunk-ABDB7LEV.mjs';export{c as assessComplianceGaps,d as generateLawfulBasisSummary,b as getLawfulBasisDescription,a as validateProcessingActivity}from'./chunk-TXBZPCGF.mjs';export{h as assessTransferRisk,f as getTransferMechanismDescription,e as isNDPCApprovalRequired,g as validateTransfer}from'./chunk-75TJPK2N.mjs';export{c as exportROPAToCSV,b as generateROPASummary,d as identifyComplianceGaps,a as validateProcessingRecord}from'./chunk-SHMJNRHO.mjs';export{a as ConsentManager,b as ConsentStorage}from'./chunk-QNCGRCAX.mjs';export{a as ConsentBanner}from'./chunk-4JKTIR33.mjs';export{c as appendAuditEntry,a as createAuditEntry,b as getAuditLog}from'./chunk-P3PULLYP.mjs';export{a as useConsent}from'./chunk-VWPGIES4.mjs';import'./chunk-R3OYAJI6.mjs';export{a as validateConsent,b as validateConsentOptions}from'./chunk-U62QYKVG.mjs';export{a as DSRDashboard,b as DSRTracker}from'./chunk-5X32J5IA.mjs';export{a as DSRRequestForm}from'./chunk-6YN73KR7.mjs';export{a as useDSR}from'./chunk-DCJK5OZT.mjs';export{a as formatDSRRequest}from'./chunk-7D2OIPHH.mjs';export{a as DPIAReport,b as StepIndicator}from'./chunk-OYR3L4XS.mjs';export{a as DPIAQuestionnaire}from'./chunk-GXLSOZCH.mjs';export{a as useDPIA}from'./chunk-6FGCGLH5.mjs';export{a as assessDPIARisk}from'./chunk-6TA2MVTU.mjs';export{b as BreachNotificationManager,a as BreachRiskAssessment,c as RegulatoryReportGenerator}from'./chunk-CYU6YUJQ.mjs';export{a as BreachReportForm}from'./chunk-CWUPGY3M.mjs';export{a as useBreach}from'./chunk-PATONNTZ.mjs';export{a as calculateBreachSeverity}from'./chunk-DJGS7SSN.mjs';export{a as sanitizeInput}from'./chunk-GKKAK6ES.mjs';export{c as PolicyExporter,a as PolicyGenerator,b as PolicyPreview}from'./chunk-FLKJSGR7.mjs';export{b as useDefaultPrivacyPolicy,a as usePrivacyPolicy}from'./chunk-QF6XNKU6.mjs';export{b as DEFAULT_POLICY_SECTIONS,c as DEFAULT_POLICY_VARIABLES,d as createBusinessPolicyTemplate,a as generatePolicyText}from'./chunk-ZEOQYWOE.mjs';export{a as resolveClass}from'./chunk-AYKLAEOU.mjs';import'./chunk-6WIP33TW.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{c as PolicyExporter,a as PolicyGenerator,b as PolicyPreview}from'./chunk-DUY6F3GT.mjs';export{a as NDPRDashboard}from'./chunk-RRVKUCFR.mjs';export{a as LawfulBasisTracker}from'./chunk-CISJAQ6W.mjs';export{a as CrossBorderTransferManager}from'./chunk-SYMQJO2W.mjs';export{a as ROPAManager}from'./chunk-VTITKWGX.mjs';export{a as NDPRProvider,b as useNDPRConfig}from'./chunk-74Z23WUA.mjs';import'./chunk-XHROISIF.mjs';export{b as useDefaultPrivacyPolicy,a as usePrivacyPolicy}from'./chunk-NCOZB2WU.mjs';export{a as useLawfulBasis}from'./chunk-E4NCJ7RD.mjs';export{a as useCrossBorderTransfer}from'./chunk-Z6IIMLZU.mjs';export{a as useROPA}from'./chunk-2AW7KAZO.mjs';export{c as DEFAULT_POLICY_SECTIONS,d as DEFAULT_POLICY_VARIABLES,e as createBusinessPolicyTemplate,b as generatePolicyText}from'./chunk-LSCMXAPY.mjs';export{a as getComplianceScore}from'./chunk-ABDB7LEV.mjs';import'./chunk-ZLSWOFAY.mjs';export{c as assessComplianceGaps,d as generateLawfulBasisSummary,b as getLawfulBasisDescription,a as validateProcessingActivity}from'./chunk-TXBZPCGF.mjs';export{h as assessTransferRisk,f as getTransferMechanismDescription,e as isNDPCApprovalRequired,g as validateTransfer}from'./chunk-75TJPK2N.mjs';export{c as exportROPAToCSV,b as generateROPASummary,d as identifyComplianceGaps,a as validateProcessingRecord}from'./chunk-SHMJNRHO.mjs';export{a as ConsentStorage}from'./chunk-IZCWCE7W.mjs';export{a as ConsentManager}from'./chunk-EPT2K355.mjs';export{a as ConsentBanner}from'./chunk-BN77GP4W.mjs';export{c as appendAuditEntry,a as createAuditEntry,b as getAuditLog}from'./chunk-P3PULLYP.mjs';export{a as useConsent}from'./chunk-VWPGIES4.mjs';import'./chunk-R3OYAJI6.mjs';export{a as validateConsent,b as validateConsentOptions}from'./chunk-U62QYKVG.mjs';export{a as DSRDashboard,b as DSRTracker}from'./chunk-5X32J5IA.mjs';export{a as DSRRequestForm}from'./chunk-6HZL2WDU.mjs';export{a as useDSR}from'./chunk-DCJK5OZT.mjs';export{a as formatDSRRequest}from'./chunk-7D2OIPHH.mjs';export{a as DPIAReport,b as StepIndicator}from'./chunk-TCN22KYP.mjs';export{a as DPIAQuestionnaire}from'./chunk-LJNNPAFU.mjs';export{a as useDPIA}from'./chunk-6FGCGLH5.mjs';export{a as assessDPIARisk}from'./chunk-6TA2MVTU.mjs';export{b as BreachNotificationManager,a as BreachRiskAssessment,c as RegulatoryReportGenerator}from'./chunk-WH6ZMUOS.mjs';export{a as BreachReportForm}from'./chunk-KF3EFJEF.mjs';export{a as useBreach}from'./chunk-PATONNTZ.mjs';export{a as calculateBreachSeverity}from'./chunk-DJGS7SSN.mjs';export{a as sanitizeInput}from'./chunk-GKKAK6ES.mjs';export{a as resolveClass}from'./chunk-AYKLAEOU.mjs';import'./chunk-6WIP33TW.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkUO6QPJLH_js=require('./chunk-UO6QPJLH.js'),chunk7AVN424U_js=require('./chunk-7AVN424U.js'),chunkTDDAYVKK_js=require('./chunk-TDDAYVKK.js');require('./chunk-E64TU6IU.js'),require('./chunk-ELKB2AFZ.js'),require('./chunk-MQFZHA2D.js');var react=require('react'),jsxRuntime=require('react/jsx-runtime');var r=react.createContext(null);function x(){let s=react.useContext(r);if(!s)throw new Error("LawfulBasis compound components must be wrapped in <LawfulBasis.Provider>. Example: <LawfulBasis.Provider><LawfulBasis.Tracker /></LawfulBasis.Provider>");return s}var e=({adapter:s,storageKey:t,useLocalStorage:i,initialActivities:u,onAdd:f,onUpdate:p,onRemove:l,children:n})=>{let m=chunk7AVN424U_js.a({adapter:s,storageKey:t,useLocalStorage:i,initialActivities:u,onAdd:f,onUpdate:p,onRemove:l});return jsxRuntime.jsx(r.Provider,{value:m,children:n})};var y={Provider:e,Tracker:chunkUO6QPJLH_js.a};Object.defineProperty(exports,"LawfulBasisTracker",{enumerable:true,get:function(){return chunkUO6QPJLH_js.a}});Object.defineProperty(exports,"useLawfulBasis",{enumerable:true,get:function(){return chunk7AVN424U_js.a}});Object.defineProperty(exports,"assessComplianceGaps",{enumerable:true,get:function(){return chunkTDDAYVKK_js.c}});Object.defineProperty(exports,"generateLawfulBasisSummary",{enumerable:true,get:function(){return chunkTDDAYVKK_js.d}});Object.defineProperty(exports,"getLawfulBasisDescription",{enumerable:true,get:function(){return chunkTDDAYVKK_js.b}});Object.defineProperty(exports,"validateProcessingActivity",{enumerable:true,get:function(){return chunkTDDAYVKK_js.a}});exports.LawfulBasis=y;exports.LawfulBasisProvider=e;exports.useLawfulBasisCompound=x;//# sourceMappingURL=lawful-basis.js.map
1
+ 'use strict';var chunkLSNL4XR5_js=require('./chunk-LSNL4XR5.js'),chunk7AVN424U_js=require('./chunk-7AVN424U.js'),chunkTDDAYVKK_js=require('./chunk-TDDAYVKK.js');require('./chunk-E64TU6IU.js'),require('./chunk-ELKB2AFZ.js'),require('./chunk-MQFZHA2D.js');var react=require('react'),jsxRuntime=require('react/jsx-runtime');var r=react.createContext(null);function x(){let s=react.useContext(r);if(!s)throw new Error("LawfulBasis compound components must be wrapped in <LawfulBasis.Provider>. Example: <LawfulBasis.Provider><LawfulBasis.Tracker /></LawfulBasis.Provider>");return s}var e=({adapter:s,storageKey:t,useLocalStorage:i,initialActivities:u,onAdd:f,onUpdate:p,onRemove:l,children:n})=>{let m=chunk7AVN424U_js.a({adapter:s,storageKey:t,useLocalStorage:i,initialActivities:u,onAdd:f,onUpdate:p,onRemove:l});return jsxRuntime.jsx(r.Provider,{value:m,children:n})};var y={Provider:e,Tracker:chunkLSNL4XR5_js.a};Object.defineProperty(exports,"LawfulBasisTracker",{enumerable:true,get:function(){return chunkLSNL4XR5_js.a}});Object.defineProperty(exports,"useLawfulBasis",{enumerable:true,get:function(){return chunk7AVN424U_js.a}});Object.defineProperty(exports,"assessComplianceGaps",{enumerable:true,get:function(){return chunkTDDAYVKK_js.c}});Object.defineProperty(exports,"generateLawfulBasisSummary",{enumerable:true,get:function(){return chunkTDDAYVKK_js.d}});Object.defineProperty(exports,"getLawfulBasisDescription",{enumerable:true,get:function(){return chunkTDDAYVKK_js.b}});Object.defineProperty(exports,"validateProcessingActivity",{enumerable:true,get:function(){return chunkTDDAYVKK_js.a}});exports.LawfulBasis=y;exports.LawfulBasisProvider=e;exports.useLawfulBasisCompound=x;//# sourceMappingURL=lawful-basis.js.map
2
2
  //# sourceMappingURL=lawful-basis.js.map
@@ -1,2 +1,2 @@
1
- import {a}from'./chunk-ZT7KNFAU.mjs';export{a as LawfulBasisTracker}from'./chunk-ZT7KNFAU.mjs';import {a as a$1}from'./chunk-E4NCJ7RD.mjs';export{a as useLawfulBasis}from'./chunk-E4NCJ7RD.mjs';export{c as assessComplianceGaps,d as generateLawfulBasisSummary,b as getLawfulBasisDescription,a as validateProcessingActivity}from'./chunk-TXBZPCGF.mjs';import'./chunk-AYKLAEOU.mjs';import'./chunk-6WIP33TW.mjs';import'./chunk-WWT2ZSNU.mjs';import {createContext,useContext}from'react';import {jsx}from'react/jsx-runtime';var r=createContext(null);function x(){let s=useContext(r);if(!s)throw new Error("LawfulBasis compound components must be wrapped in <LawfulBasis.Provider>. Example: <LawfulBasis.Provider><LawfulBasis.Tracker /></LawfulBasis.Provider>");return s}var e=({adapter:s,storageKey:t,useLocalStorage:i,initialActivities:u,onAdd:f,onUpdate:p,onRemove:l,children:n})=>{let m=a$1({adapter:s,storageKey:t,useLocalStorage:i,initialActivities:u,onAdd:f,onUpdate:p,onRemove:l});return jsx(r.Provider,{value:m,children:n})};var y={Provider:e,Tracker:a};export{y as LawfulBasis,e as LawfulBasisProvider,x as useLawfulBasisCompound};//# sourceMappingURL=lawful-basis.mjs.map
1
+ import {a}from'./chunk-CISJAQ6W.mjs';export{a as LawfulBasisTracker}from'./chunk-CISJAQ6W.mjs';import {a as a$1}from'./chunk-E4NCJ7RD.mjs';export{a as useLawfulBasis}from'./chunk-E4NCJ7RD.mjs';export{c as assessComplianceGaps,d as generateLawfulBasisSummary,b as getLawfulBasisDescription,a as validateProcessingActivity}from'./chunk-TXBZPCGF.mjs';import'./chunk-AYKLAEOU.mjs';import'./chunk-6WIP33TW.mjs';import'./chunk-WWT2ZSNU.mjs';import {createContext,useContext}from'react';import {jsx}from'react/jsx-runtime';var r=createContext(null);function x(){let s=useContext(r);if(!s)throw new Error("LawfulBasis compound components must be wrapped in <LawfulBasis.Provider>. Example: <LawfulBasis.Provider><LawfulBasis.Tracker /></LawfulBasis.Provider>");return s}var e=({adapter:s,storageKey:t,useLocalStorage:i,initialActivities:u,onAdd:f,onUpdate:p,onRemove:l,children:n})=>{let m=a$1({adapter:s,storageKey:t,useLocalStorage:i,initialActivities:u,onAdd:f,onUpdate:p,onRemove:l});return jsx(r.Provider,{value:m,children:n})};var y={Provider:e,Tracker:a};export{y as LawfulBasis,e as LawfulBasisProvider,x as useLawfulBasisCompound};//# sourceMappingURL=lawful-basis.mjs.map
2
2
  //# sourceMappingURL=lawful-basis.mjs.map
@@ -0,0 +1,25 @@
1
+ import { N as NDPRLocale, d as defaultLocale } from './sanitize-CxxwKxAx.mjs';
2
+
3
+ declare const yorubaLocale: Required<{
4
+ [K in keyof NDPRLocale]: Required<NonNullable<NDPRLocale[K]>>;
5
+ }>;
6
+
7
+ declare const igboLocale: Required<{
8
+ [K in keyof NDPRLocale]: Required<NonNullable<NDPRLocale[K]>>;
9
+ }>;
10
+
11
+ declare const hausaLocale: Required<{
12
+ [K in keyof NDPRLocale]: Required<NonNullable<NDPRLocale[K]>>;
13
+ }>;
14
+
15
+ declare const pidginLocale: Required<{
16
+ [K in keyof NDPRLocale]: Required<NonNullable<NDPRLocale[K]>>;
17
+ }>;
18
+
19
+ /**
20
+ * Deep merges a partial locale with the default English locale.
21
+ * Any missing keys fall back to English.
22
+ */
23
+ declare function mergeLocale(partial?: NDPRLocale): typeof defaultLocale;
24
+
25
+ export { hausaLocale as h, igboLocale as i, mergeLocale as m, pidginLocale as p, yorubaLocale as y };
@@ -0,0 +1,25 @@
1
+ import { N as NDPRLocale, d as defaultLocale } from './sanitize-CxxwKxAx.js';
2
+
3
+ declare const yorubaLocale: Required<{
4
+ [K in keyof NDPRLocale]: Required<NonNullable<NDPRLocale[K]>>;
5
+ }>;
6
+
7
+ declare const igboLocale: Required<{
8
+ [K in keyof NDPRLocale]: Required<NonNullable<NDPRLocale[K]>>;
9
+ }>;
10
+
11
+ declare const hausaLocale: Required<{
12
+ [K in keyof NDPRLocale]: Required<NonNullable<NDPRLocale[K]>>;
13
+ }>;
14
+
15
+ declare const pidginLocale: Required<{
16
+ [K in keyof NDPRLocale]: Required<NonNullable<NDPRLocale[K]>>;
17
+ }>;
18
+
19
+ /**
20
+ * Deep merges a partial locale with the default English locale.
21
+ * Any missing keys fall back to English.
22
+ */
23
+ declare function mergeLocale(partial?: NDPRLocale): typeof defaultLocale;
24
+
25
+ export { hausaLocale as h, igboLocale as i, mergeLocale as m, pidginLocale as p, yorubaLocale as y };
@@ -151,4 +151,4 @@ declare const DEFAULT_DATA_CATEGORIES: DataCategory[];
151
151
  */
152
152
  declare function createDefaultContext(): TemplateContext;
153
153
 
154
- export { type ComplianceGap as C, type DOCXExportOptions as D, type HTMLExportOptions as H, type Industry as I, type OrgSize as O, type PolicyDraft as P, type TemplateContext as T, type CustomSection as a, type ComplianceResult as b, type PDFExportOptions as c, type DataCategory as d, type ThirdPartyProcessor as e, createDefaultContext as f, DEFAULT_DATA_CATEGORIES as g, type ProcessingPurpose as h };
154
+ export { type ComplianceGap as C, type DataCategory as D, type HTMLExportOptions as H, type Industry as I, type OrgSize as O, type PolicyDraft as P, type TemplateContext as T, type ComplianceResult as a, type CustomSection as b, type ThirdPartyProcessor as c, createDefaultContext as d, DEFAULT_DATA_CATEGORIES as e, type DOCXExportOptions as f, type PDFExportOptions as g, type ProcessingPurpose as h };
@@ -151,4 +151,4 @@ declare const DEFAULT_DATA_CATEGORIES: DataCategory[];
151
151
  */
152
152
  declare function createDefaultContext(): TemplateContext;
153
153
 
154
- export { type ComplianceGap as C, type DOCXExportOptions as D, type HTMLExportOptions as H, type Industry as I, type OrgSize as O, type PolicyDraft as P, type TemplateContext as T, type CustomSection as a, type ComplianceResult as b, type PDFExportOptions as c, type DataCategory as d, type ThirdPartyProcessor as e, createDefaultContext as f, DEFAULT_DATA_CATEGORIES as g, type ProcessingPurpose as h };
154
+ export { type ComplianceGap as C, type DataCategory as D, type HTMLExportOptions as H, type Industry as I, type OrgSize as O, type PolicyDraft as P, type TemplateContext as T, type ComplianceResult as a, type CustomSection as b, type ThirdPartyProcessor as c, createDefaultContext as d, DEFAULT_DATA_CATEGORIES as e, type DOCXExportOptions as f, type PDFExportOptions as g, type ProcessingPurpose as h };
@@ -1,5 +1,5 @@
1
1
  import { c as PrivacyPolicy, P as PolicySection } from './privacy-Ca6te9Ir.js';
2
- import { T as TemplateContext, b as ComplianceResult } from './policy-engine-C6nC2t3a.js';
2
+ import { T as TemplateContext, a as ComplianceResult } from './policy-engine-CCUCud2T.js';
3
3
 
4
4
  /**
5
5
  * NDPA policy compliance checker.
@@ -40,6 +40,8 @@ declare function evaluatePolicyCompliance(policy: PrivacyPolicy, context: Templa
40
40
  * interface from `types/privacy.ts`.
41
41
  */
42
42
 
43
+ declare const UNFILLED_PREFIX = "\u00ABTODO: ";
44
+ declare const UNFILLED_SUFFIX = "\u00BB";
43
45
  /**
44
46
  * Assembles an ordered array of privacy policy sections based on the
45
47
  * provided template context. Core sections are always included; conditional
@@ -51,4 +53,4 @@ declare function evaluatePolicyCompliance(policy: PrivacyPolicy, context: Templa
51
53
  */
52
54
  declare function assemblePolicy(context: TemplateContext): PolicySection[];
53
55
 
54
- export { assemblePolicy as a, evaluatePolicyCompliance as e };
56
+ export { UNFILLED_PREFIX as U, assemblePolicy as a, UNFILLED_SUFFIX as b, evaluatePolicyCompliance as e };
@@ -1,5 +1,5 @@
1
1
  import { c as PrivacyPolicy, P as PolicySection } from './privacy-Ca6te9Ir.mjs';
2
- import { T as TemplateContext, b as ComplianceResult } from './policy-engine-DefZcX3R.mjs';
2
+ import { T as TemplateContext, a as ComplianceResult } from './policy-engine-fYSqEqSW.mjs';
3
3
 
4
4
  /**
5
5
  * NDPA policy compliance checker.
@@ -40,6 +40,8 @@ declare function evaluatePolicyCompliance(policy: PrivacyPolicy, context: Templa
40
40
  * interface from `types/privacy.ts`.
41
41
  */
42
42
 
43
+ declare const UNFILLED_PREFIX = "\u00ABTODO: ";
44
+ declare const UNFILLED_SUFFIX = "\u00BB";
43
45
  /**
44
46
  * Assembles an ordered array of privacy policy sections based on the
45
47
  * provided template context. Core sections are always included; conditional
@@ -51,4 +53,4 @@ declare function evaluatePolicyCompliance(policy: PrivacyPolicy, context: Templa
51
53
  */
52
54
  declare function assemblePolicy(context: TemplateContext): PolicySection[];
53
55
 
54
- export { assemblePolicy as a, evaluatePolicyCompliance as e };
56
+ export { UNFILLED_PREFIX as U, assemblePolicy as a, UNFILLED_SUFFIX as b, evaluatePolicyCompliance as e };
@@ -1,5 +1,12 @@
1
1
  import { P as PolicySection, O as OrganizationInfo, b as PolicyVariable } from './privacy-Ca6te9Ir.js';
2
2
 
3
+ /**
4
+ * Scans rendered policy text for unfilled tokens. Returns the list of field
5
+ * names that were left unfilled (deduplicated). Use in CI to assert a
6
+ * canonical org-info fixture renders cleanly, or at runtime to surface
7
+ * "policy is missing X" errors before publishing.
8
+ */
9
+ declare function findUnfilledTokens(rendered: string): string[];
3
10
  /**
4
11
  * Generates policy text by replacing variables in a template with organization-specific values
5
12
  * @param sectionsOrTemplate The policy sections or template string to generate text for
@@ -33,4 +40,4 @@ declare function createBusinessPolicyTemplate(): {
33
40
  variables: PolicyVariable[];
34
41
  };
35
42
 
36
- export { DEFAULT_POLICY_SECTIONS as D, DEFAULT_POLICY_VARIABLES as a, createBusinessPolicyTemplate as c, generatePolicyText as g };
43
+ export { DEFAULT_POLICY_SECTIONS as D, DEFAULT_POLICY_VARIABLES as a, createBusinessPolicyTemplate as c, findUnfilledTokens as f, generatePolicyText as g };
@@ -1,5 +1,12 @@
1
1
  import { P as PolicySection, O as OrganizationInfo, b as PolicyVariable } from './privacy-Ca6te9Ir.mjs';
2
2
 
3
+ /**
4
+ * Scans rendered policy text for unfilled tokens. Returns the list of field
5
+ * names that were left unfilled (deduplicated). Use in CI to assert a
6
+ * canonical org-info fixture renders cleanly, or at runtime to surface
7
+ * "policy is missing X" errors before publishing.
8
+ */
9
+ declare function findUnfilledTokens(rendered: string): string[];
3
10
  /**
4
11
  * Generates policy text by replacing variables in a template with organization-specific values
5
12
  * @param sectionsOrTemplate The policy sections or template string to generate text for
@@ -33,4 +40,4 @@ declare function createBusinessPolicyTemplate(): {
33
40
  variables: PolicyVariable[];
34
41
  };
35
42
 
36
- export { DEFAULT_POLICY_SECTIONS as D, DEFAULT_POLICY_VARIABLES as a, createBusinessPolicyTemplate as c, generatePolicyText as g };
43
+ export { DEFAULT_POLICY_SECTIONS as D, DEFAULT_POLICY_VARIABLES as a, createBusinessPolicyTemplate as c, findUnfilledTokens as f, generatePolicyText as g };