@tantainnovative/ndpr-toolkit 2.4.1 → 3.2.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 (192) hide show
  1. package/README.md +226 -246
  2. package/dist/BreachReportForm-DpRrBoxU.d.ts +158 -0
  3. package/dist/BreachReportForm-yJ2Zl6gz.d.mts +158 -0
  4. package/dist/ConsentBanner-CDRT0o2k.d.mts +146 -0
  5. package/dist/ConsentBanner-Vxyt8SCX.d.ts +146 -0
  6. package/dist/{cross-border-entry-BrWVPly6.d.ts → CrossBorderTransferManager-D5Lc0e46.d.ts} +4 -5
  7. package/dist/{cross-border-entry-cCTvpwnT.d.mts → CrossBorderTransferManager-DkZhv9vD.d.mts} +4 -5
  8. package/dist/DPIAQuestionnaire-BkejviPj.d.mts +123 -0
  9. package/dist/DPIAQuestionnaire-DdSqXG3x.d.ts +123 -0
  10. package/dist/DSRRequestForm-BY8PogCU.d.mts +146 -0
  11. package/dist/DSRRequestForm-CHUg9cZh.d.ts +146 -0
  12. package/dist/DSRTracker-C6u_jAaK.d.mts +163 -0
  13. package/dist/DSRTracker-Dr_aT0pg.d.ts +163 -0
  14. package/dist/{lawful-basis-entry-CxZrofwG.d.mts → LawfulBasisTracker-CBqOxX1D.d.mts} +3 -5
  15. package/dist/{lawful-basis-entry-15qjKcNO.d.ts → LawfulBasisTracker-Cg30NbDA.d.ts} +3 -5
  16. package/dist/NDPRDashboard-CLJpEg0X.d.mts +44 -0
  17. package/dist/NDPRDashboard-DDWNd2Ah.d.ts +44 -0
  18. package/dist/{policy-E0fXZkda.d.mts → PolicyExporter-Bgi6nz82.d.mts} +5 -7
  19. package/dist/{policy-D2_jh5-T.d.ts → PolicyExporter-BnvuFncj.d.ts} +5 -7
  20. package/dist/{ropa-entry-B0D7X1GV.d.ts → ROPAManager-BS4eB8Hw.d.mts} +4 -5
  21. package/dist/{ropa-entry-DiOThOc2.d.mts → ROPAManager-qxTrXLkD.d.ts} +4 -5
  22. package/dist/RegulatoryReportGenerator-BUYgzTTT.d.ts +282 -0
  23. package/dist/RegulatoryReportGenerator-DwcHcEFp.d.mts +282 -0
  24. package/dist/StepIndicator-D-nwRTyo.d.mts +171 -0
  25. package/dist/StepIndicator-D9ZATz_O.d.ts +171 -0
  26. package/dist/adapters.d.mts +25 -0
  27. package/dist/adapters.d.ts +25 -0
  28. package/dist/adapters.js +2 -0
  29. package/dist/adapters.mjs +2 -0
  30. package/dist/breach.d.mts +36 -431
  31. package/dist/breach.d.ts +36 -431
  32. package/dist/breach.js +1 -1
  33. package/dist/breach.mjs +1 -1
  34. package/dist/chunk-27NYSWUG.mjs +2 -0
  35. package/dist/chunk-2ORDHJRD.js +2 -0
  36. package/dist/chunk-2W7ARAW2.js +2 -0
  37. package/dist/chunk-3F34NACG.js +2 -0
  38. package/dist/chunk-3UWT64FI.mjs +2 -0
  39. package/dist/chunk-3V23O4ZJ.js +2 -0
  40. package/dist/chunk-3XAUN5IM.mjs +3 -0
  41. package/dist/chunk-44W4H2EY.js +2 -0
  42. package/dist/chunk-5VMHKNJY.js +2 -0
  43. package/dist/chunk-6D3ZUGBB.mjs +2 -0
  44. package/dist/chunk-6E54NSAO.mjs +2 -0
  45. package/dist/chunk-7F5F5YWI.mjs +2 -0
  46. package/dist/chunk-DQLDX5X6.js +316 -0
  47. package/dist/chunk-FR7ZYZXB.js +2 -0
  48. package/dist/chunk-FY5G6DGZ.js +7 -0
  49. package/dist/chunk-G26I6MP5.mjs +2 -0
  50. package/dist/chunk-GCQRHMTQ.mjs +144 -0
  51. package/dist/chunk-GPJVTGHR.mjs +2 -0
  52. package/dist/chunk-GVANK6PL.js +3 -0
  53. package/dist/chunk-HNZK7LY3.mjs +2 -0
  54. package/dist/chunk-IKEPXHCZ.js +2 -0
  55. package/dist/chunk-IQQW52EF.js +2 -0
  56. package/dist/chunk-ISSGO2YT.mjs +72 -0
  57. package/dist/chunk-JZKH5RMC.js +3 -0
  58. package/dist/chunk-KHRBU5K7.js +2 -0
  59. package/dist/chunk-LFNA6WYQ.mjs +2 -0
  60. package/dist/chunk-LU4PFST7.js +144 -0
  61. package/dist/chunk-NPI5T6NH.mjs +7 -0
  62. package/dist/chunk-NPLXE43Q.mjs +2 -0
  63. package/dist/chunk-P7BSBCB3.js +2 -0
  64. package/dist/chunk-PEH5GIMN.js +2 -0
  65. package/dist/chunk-RSUDIFZV.mjs +2 -0
  66. package/dist/chunk-SBNAMPAP.mjs +2 -0
  67. package/dist/chunk-SVCRYM4I.mjs +2 -0
  68. package/dist/chunk-TKBZRULW.mjs +316 -0
  69. package/dist/chunk-TVW6KBVV.mjs +2 -0
  70. package/dist/chunk-U6VWHC46.js +72 -0
  71. package/dist/chunk-UK656RCG.js +2 -0
  72. package/dist/chunk-UNKXYVXY.js +2 -0
  73. package/dist/chunk-UOSEH6DC.js +2 -0
  74. package/dist/chunk-V37BM2LF.js +2 -0
  75. package/dist/chunk-V3MXWGXU.mjs +2 -0
  76. package/dist/chunk-VDZKGCAF.js +2 -0
  77. package/dist/chunk-WLSW4Z4W.mjs +2 -0
  78. package/dist/chunk-XSK4BSZJ.mjs +2 -0
  79. package/dist/chunk-YJCGEOLO.mjs +2 -0
  80. package/dist/chunk-ZCZ5RRZO.js +2 -0
  81. package/dist/chunk-ZQSX5ZHB.mjs +3 -0
  82. package/dist/compliance-score-racQe_E_.d.mts +115 -0
  83. package/dist/compliance-score-racQe_E_.d.ts +115 -0
  84. package/dist/consent.d.mts +67 -295
  85. package/dist/consent.d.ts +67 -295
  86. package/dist/consent.js +1 -1
  87. package/dist/consent.mjs +1 -1
  88. package/dist/core.d.mts +14 -48
  89. package/dist/core.d.ts +14 -48
  90. package/dist/core.js +1 -1
  91. package/dist/core.mjs +1 -1
  92. package/dist/cross-border-BBi9rZyO.d.mts +54 -0
  93. package/dist/cross-border-Dy-U9Hu6.d.ts +54 -0
  94. package/dist/{cross-border-BMcqLvjC.d.mts → cross-border-UyT00llA.d.mts} +1 -52
  95. package/dist/{cross-border-BMcqLvjC.d.ts → cross-border-UyT00llA.d.ts} +1 -52
  96. package/dist/cross-border.d.mts +32 -4
  97. package/dist/cross-border.d.ts +32 -4
  98. package/dist/cross-border.js +1 -1
  99. package/dist/cross-border.mjs +1 -1
  100. package/dist/dpia.d.mts +28 -284
  101. package/dist/dpia.d.ts +28 -284
  102. package/dist/dpia.js +1 -1
  103. package/dist/dpia.mjs +1 -1
  104. package/dist/dsr.d.mts +29 -300
  105. package/dist/dsr.d.ts +29 -300
  106. package/dist/dsr.js +1 -1
  107. package/dist/dsr.mjs +1 -1
  108. package/dist/hooks.d.mts +23 -10
  109. package/dist/hooks.d.ts +23 -10
  110. package/dist/hooks.js +1 -1
  111. package/dist/hooks.mjs +1 -1
  112. package/dist/index.d.mts +28 -19
  113. package/dist/index.d.ts +28 -19
  114. package/dist/index.js +1 -1
  115. package/dist/index.mjs +1 -1
  116. package/dist/lawful-basis.d.mts +31 -4
  117. package/dist/lawful-basis.d.ts +31 -4
  118. package/dist/lawful-basis.js +1 -1
  119. package/dist/lawful-basis.mjs +1 -1
  120. package/dist/policy-engine-C-tShzZH.d.mts +154 -0
  121. package/dist/policy-engine-DSQpT55_.d.ts +154 -0
  122. package/dist/policy-sections-CfNVBLCh.d.mts +54 -0
  123. package/dist/policy-sections-DqH0iZRf.d.ts +54 -0
  124. package/dist/policy.d.mts +117 -4
  125. package/dist/policy.d.ts +117 -4
  126. package/dist/policy.js +1 -1
  127. package/dist/policy.mjs +1 -1
  128. package/dist/presets.d.mts +114 -0
  129. package/dist/presets.d.ts +114 -0
  130. package/dist/presets.js +2 -0
  131. package/dist/presets.mjs +2 -0
  132. package/dist/{ropa-Li6UlL5H.d.ts → ropa-BDTM06tr.d.ts} +1 -49
  133. package/dist/{ropa-DP7pPPql.d.mts → ropa-CFHuT7jE.d.mts} +1 -49
  134. package/dist/ropa-CyynscU6.d.ts +51 -0
  135. package/dist/ropa-NIgxd8uP.d.mts +51 -0
  136. package/dist/ropa.d.mts +30 -4
  137. package/dist/ropa.d.ts +30 -4
  138. package/dist/ropa.js +1 -1
  139. package/dist/ropa.mjs +1 -1
  140. package/dist/sanitize-9mOO_cJW.d.mts +147 -0
  141. package/dist/sanitize-9mOO_cJW.d.ts +147 -0
  142. package/dist/styling-B7CBzYG7.d.ts +165 -0
  143. package/dist/styling-uJLsBbER.d.mts +165 -0
  144. package/dist/types-DK2CoKOC.d.mts +10 -0
  145. package/dist/types-DK2CoKOC.d.ts +10 -0
  146. package/dist/unstyled.d.mts +4 -4
  147. package/dist/unstyled.d.ts +4 -4
  148. package/dist/useAdaptivePolicyWizard-B9Op2gYM.d.ts +52 -0
  149. package/dist/useAdaptivePolicyWizard-N4eUM4Tj.d.mts +52 -0
  150. package/dist/{useBreach-BBSoIcZO.d.mts → useBreach-CPr86Yan.d.mts} +18 -2
  151. package/dist/{useBreach-lFLbSyAN.d.ts → useBreach-DkVXvtJK.d.ts} +18 -2
  152. package/dist/{useConsent-D0pAfTlb.d.ts → useConsent-DCNkIJHR.d.mts} +12 -2
  153. package/dist/{useConsent-DOt2Njst.d.mts → useConsent-dOcELSfX.d.ts} +12 -2
  154. package/dist/{useCrossBorderTransfer-DmtACeqW.d.ts → useCrossBorderTransfer-BGNZt2lk.d.mts} +15 -3
  155. package/dist/{useCrossBorderTransfer-BZVFCXfr.d.mts → useCrossBorderTransfer-COqjgjsu.d.ts} +15 -3
  156. package/dist/{useDPIA-DBsg2yZx.d.ts → useDPIA-Dl16Te3r.d.ts} +13 -2
  157. package/dist/{useDPIA-Da7-Q_yW.d.mts → useDPIA-DzWye8JB.d.mts} +13 -2
  158. package/dist/{useDSR-YYZ6FYFs.d.mts → useDSR-C1LksCfP.d.mts} +13 -2
  159. package/dist/{useDSR-CYI7WCXr.d.ts → useDSR-DZel52O1.d.ts} +13 -2
  160. package/dist/{useDefaultPrivacyPolicy-CUluF_ic.d.mts → useDefaultPrivacyPolicy-BsYttRey.d.mts} +13 -2
  161. package/dist/{useDefaultPrivacyPolicy-B7kTHbZh.d.ts → useDefaultPrivacyPolicy-C-mG-A5S.d.ts} +13 -2
  162. package/dist/{useLawfulBasis-CpWuHtyh.d.mts → useLawfulBasis-CKJ-kw84.d.mts} +13 -2
  163. package/dist/{useLawfulBasis-CCWF9waR.d.ts → useLawfulBasis-DFTmu1ca.d.ts} +13 -2
  164. package/dist/{useROPA-BhJ3kvHp.d.ts → useROPA-BSSU1rfx.d.ts} +14 -2
  165. package/dist/{useROPA-DLFdjkxP.d.mts → useROPA-C2hjaBTz.d.mts} +14 -2
  166. package/package.json +24 -3
  167. package/dist/chunk-2XFAV267.mjs +0 -2
  168. package/dist/chunk-32UIWTGD.js +0 -72
  169. package/dist/chunk-3YCV2BA6.js +0 -2
  170. package/dist/chunk-4A354HL3.js +0 -2
  171. package/dist/chunk-5ZBO2UPH.js +0 -2
  172. package/dist/chunk-6GGGTRDZ.mjs +0 -2
  173. package/dist/chunk-BZTTQS4A.mjs +0 -7
  174. package/dist/chunk-EKVTLHBQ.js +0 -2
  175. package/dist/chunk-GMLNWS2N.mjs +0 -2
  176. package/dist/chunk-IBEKLDBY.mjs +0 -2
  177. package/dist/chunk-ILCNDOBU.js +0 -2
  178. package/dist/chunk-K3GMTMQ6.js +0 -2
  179. package/dist/chunk-L52PDW6O.mjs +0 -2
  180. package/dist/chunk-LI6WJ3LZ.js +0 -2
  181. package/dist/chunk-LXRXDTPI.js +0 -2
  182. package/dist/chunk-NW4A3JW6.mjs +0 -2
  183. package/dist/chunk-OITITR6K.mjs +0 -2
  184. package/dist/chunk-PDJGTQMY.mjs +0 -2
  185. package/dist/chunk-T44JQT2O.mjs +0 -2
  186. package/dist/chunk-TCJCE6WN.js +0 -2
  187. package/dist/chunk-VMJBW3EF.mjs +0 -2
  188. package/dist/chunk-WSHSHIIM.mjs +0 -2
  189. package/dist/chunk-WW3X3ELF.js +0 -2
  190. package/dist/chunk-XMYUYQH7.mjs +0 -72
  191. package/dist/chunk-ZNTMZ6NM.js +0 -7
  192. package/dist/chunk-ZU73VG3X.js +0 -2
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkER7X6E36_js=require('./chunk-ER7X6E36.js'),chunkCL53OI3I_js=require('./chunk-CL53OI3I.js'),chunkUZ5EZOA7_js=require('./chunk-UZ5EZOA7.js'),chunkILCNDOBU_js=require('./chunk-ILCNDOBU.js'),chunkLXRXDTPI_js=require('./chunk-LXRXDTPI.js'),chunk5ZBO2UPH_js=require('./chunk-5ZBO2UPH.js'),chunk4A354HL3_js=require('./chunk-4A354HL3.js'),chunkTDDAYVKK_js=require('./chunk-TDDAYVKK.js'),chunkIQF726GS_js=require('./chunk-IQF726GS.js'),chunkSWF3YVE5_js=require('./chunk-SWF3YVE5.js'),chunkK3GMTMQ6_js=require('./chunk-K3GMTMQ6.js'),chunkMJGOLP5M_js=require('./chunk-MJGOLP5M.js'),chunkZU73VG3X_js=require('./chunk-ZU73VG3X.js'),chunkY34DQYS7_js=require('./chunk-Y34DQYS7.js'),chunkEKVTLHBQ_js=require('./chunk-EKVTLHBQ.js'),chunkWW3X3ELF_js=require('./chunk-WW3X3ELF.js'),chunkCMZTI7SG_js=require('./chunk-CMZTI7SG.js'),chunkZNTMZ6NM_js=require('./chunk-ZNTMZ6NM.js'),chunk3YCV2BA6_js=require('./chunk-3YCV2BA6.js'),chunkSSGJREE3_js=require('./chunk-SSGJREE3.js'),chunk32UIWTGD_js=require('./chunk-32UIWTGD.js'),chunkLI6WJ3LZ_js=require('./chunk-LI6WJ3LZ.js'),chunkRYZEIDNR_js=require('./chunk-RYZEIDNR.js'),chunkEPF7J2FK_js=require('./chunk-EPF7J2FK.js'),chunkBGHQTZAC_js=require('./chunk-BGHQTZAC.js'),chunkTCJCE6WN_js=require('./chunk-TCJCE6WN.js'),chunk5RSOLEEP_js=require('./chunk-5RSOLEEP.js'),chunkE64TU6IU_js=require('./chunk-E64TU6IU.js');require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"LawfulBasisTracker",{enumerable:true,get:function(){return chunkER7X6E36_js.a}});Object.defineProperty(exports,"CrossBorderTransferManager",{enumerable:true,get:function(){return chunkCL53OI3I_js.a}});Object.defineProperty(exports,"ROPAManager",{enumerable:true,get:function(){return chunkUZ5EZOA7_js.a}});Object.defineProperty(exports,"NDPRProvider",{enumerable:true,get:function(){return chunkILCNDOBU_js.a}});Object.defineProperty(exports,"useNDPRConfig",{enumerable:true,get:function(){return chunkILCNDOBU_js.b}});Object.defineProperty(exports,"useLawfulBasis",{enumerable:true,get:function(){return chunkLXRXDTPI_js.a}});Object.defineProperty(exports,"useCrossBorderTransfer",{enumerable:true,get:function(){return chunk5ZBO2UPH_js.a}});Object.defineProperty(exports,"useROPA",{enumerable:true,get:function(){return chunk4A354HL3_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 chunkIQF726GS_js.d}});Object.defineProperty(exports,"getTransferMechanismDescription",{enumerable:true,get:function(){return chunkIQF726GS_js.b}});Object.defineProperty(exports,"isNDPCApprovalRequired",{enumerable:true,get:function(){return chunkIQF726GS_js.a}});Object.defineProperty(exports,"validateTransfer",{enumerable:true,get:function(){return chunkIQF726GS_js.c}});Object.defineProperty(exports,"exportROPAToCSV",{enumerable:true,get:function(){return chunkSWF3YVE5_js.c}});Object.defineProperty(exports,"generateROPASummary",{enumerable:true,get:function(){return chunkSWF3YVE5_js.b}});Object.defineProperty(exports,"identifyComplianceGaps",{enumerable:true,get:function(){return chunkSWF3YVE5_js.d}});Object.defineProperty(exports,"validateProcessingRecord",{enumerable:true,get:function(){return chunkSWF3YVE5_js.a}});Object.defineProperty(exports,"ConsentBanner",{enumerable:true,get:function(){return chunkK3GMTMQ6_js.a}});Object.defineProperty(exports,"ConsentManager",{enumerable:true,get:function(){return chunkK3GMTMQ6_js.b}});Object.defineProperty(exports,"ConsentStorage",{enumerable:true,get:function(){return chunkK3GMTMQ6_js.c}});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 chunkZU73VG3X_js.a}});Object.defineProperty(exports,"validateConsent",{enumerable:true,get:function(){return chunkY34DQYS7_js.a}});Object.defineProperty(exports,"validateConsentOptions",{enumerable:true,get:function(){return chunkY34DQYS7_js.b}});Object.defineProperty(exports,"DSRDashboard",{enumerable:true,get:function(){return chunkEKVTLHBQ_js.b}});Object.defineProperty(exports,"DSRRequestForm",{enumerable:true,get:function(){return chunkEKVTLHBQ_js.a}});Object.defineProperty(exports,"DSRTracker",{enumerable:true,get:function(){return chunkEKVTLHBQ_js.c}});Object.defineProperty(exports,"useDSR",{enumerable:true,get:function(){return chunkWW3X3ELF_js.a}});Object.defineProperty(exports,"formatDSRRequest",{enumerable:true,get:function(){return chunkCMZTI7SG_js.a}});Object.defineProperty(exports,"DPIAQuestionnaire",{enumerable:true,get:function(){return chunkZNTMZ6NM_js.a}});Object.defineProperty(exports,"DPIAReport",{enumerable:true,get:function(){return chunkZNTMZ6NM_js.b}});Object.defineProperty(exports,"StepIndicator",{enumerable:true,get:function(){return chunkZNTMZ6NM_js.c}});Object.defineProperty(exports,"useDPIA",{enumerable:true,get:function(){return chunk3YCV2BA6_js.a}});Object.defineProperty(exports,"assessDPIARisk",{enumerable:true,get:function(){return chunkSSGJREE3_js.a}});Object.defineProperty(exports,"BreachNotificationManager",{enumerable:true,get:function(){return chunk32UIWTGD_js.c}});Object.defineProperty(exports,"BreachReportForm",{enumerable:true,get:function(){return chunk32UIWTGD_js.a}});Object.defineProperty(exports,"BreachRiskAssessment",{enumerable:true,get:function(){return chunk32UIWTGD_js.b}});Object.defineProperty(exports,"RegulatoryReportGenerator",{enumerable:true,get:function(){return chunk32UIWTGD_js.d}});Object.defineProperty(exports,"useBreach",{enumerable:true,get:function(){return chunkLI6WJ3LZ_js.a}});Object.defineProperty(exports,"calculateBreachSeverity",{enumerable:true,get:function(){return chunkRYZEIDNR_js.a}});Object.defineProperty(exports,"sanitizeInput",{enumerable:true,get:function(){return chunkEPF7J2FK_js.a}});Object.defineProperty(exports,"PolicyExporter",{enumerable:true,get:function(){return chunkBGHQTZAC_js.c}});Object.defineProperty(exports,"PolicyGenerator",{enumerable:true,get:function(){return chunkBGHQTZAC_js.a}});Object.defineProperty(exports,"PolicyPreview",{enumerable:true,get:function(){return chunkBGHQTZAC_js.b}});Object.defineProperty(exports,"useDefaultPrivacyPolicy",{enumerable:true,get:function(){return chunkTCJCE6WN_js.b}});Object.defineProperty(exports,"usePrivacyPolicy",{enumerable:true,get:function(){return chunkTCJCE6WN_js.a}});Object.defineProperty(exports,"DEFAULT_POLICY_SECTIONS",{enumerable:true,get:function(){return chunk5RSOLEEP_js.b}});Object.defineProperty(exports,"DEFAULT_POLICY_VARIABLES",{enumerable:true,get:function(){return chunk5RSOLEEP_js.c}});Object.defineProperty(exports,"createBusinessPolicyTemplate",{enumerable:true,get:function(){return chunk5RSOLEEP_js.d}});Object.defineProperty(exports,"generatePolicyText",{enumerable:true,get:function(){return chunk5RSOLEEP_js.a}});Object.defineProperty(exports,"resolveClass",{enumerable:true,get:function(){return chunkE64TU6IU_js.a}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkV37BM2LF_js=require('./chunk-V37BM2LF.js'),chunkER7X6E36_js=require('./chunk-ER7X6E36.js'),chunkCL53OI3I_js=require('./chunk-CL53OI3I.js'),chunkUZ5EZOA7_js=require('./chunk-UZ5EZOA7.js'),chunk44W4H2EY_js=require('./chunk-44W4H2EY.js'),chunk2ORDHJRD_js=require('./chunk-2ORDHJRD.js'),chunkP7BSBCB3_js=require('./chunk-P7BSBCB3.js'),chunkKHRBU5K7_js=require('./chunk-KHRBU5K7.js'),chunkVDZKGCAF_js=require('./chunk-VDZKGCAF.js'),chunkTDDAYVKK_js=require('./chunk-TDDAYVKK.js'),chunkIQF726GS_js=require('./chunk-IQF726GS.js'),chunkSWF3YVE5_js=require('./chunk-SWF3YVE5.js'),chunkFR7ZYZXB_js=require('./chunk-FR7ZYZXB.js'),chunkUOSEH6DC_js=require('./chunk-UOSEH6DC.js'),chunkMJGOLP5M_js=require('./chunk-MJGOLP5M.js'),chunk5VMHKNJY_js=require('./chunk-5VMHKNJY.js');require('./chunk-3F34NACG.js');var chunkY34DQYS7_js=require('./chunk-Y34DQYS7.js'),chunkIQQW52EF_js=require('./chunk-IQQW52EF.js'),chunkPEH5GIMN_js=require('./chunk-PEH5GIMN.js'),chunk3V23O4ZJ_js=require('./chunk-3V23O4ZJ.js'),chunkCMZTI7SG_js=require('./chunk-CMZTI7SG.js'),chunkFY5G6DGZ_js=require('./chunk-FY5G6DGZ.js'),chunkUNKXYVXY_js=require('./chunk-UNKXYVXY.js'),chunkZCZ5RRZO_js=require('./chunk-ZCZ5RRZO.js'),chunkSSGJREE3_js=require('./chunk-SSGJREE3.js'),chunkU6VWHC46_js=require('./chunk-U6VWHC46.js'),chunkGVANK6PL_js=require('./chunk-GVANK6PL.js'),chunk2W7ARAW2_js=require('./chunk-2W7ARAW2.js'),chunkRYZEIDNR_js=require('./chunk-RYZEIDNR.js'),chunkEPF7J2FK_js=require('./chunk-EPF7J2FK.js'),chunkBGHQTZAC_js=require('./chunk-BGHQTZAC.js'),chunkIKEPXHCZ_js=require('./chunk-IKEPXHCZ.js'),chunk5RSOLEEP_js=require('./chunk-5RSOLEEP.js'),chunkE64TU6IU_js=require('./chunk-E64TU6IU.js');require('./chunk-UK656RCG.js'),require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"NDPRDashboard",{enumerable:true,get:function(){return chunkV37BM2LF_js.a}});Object.defineProperty(exports,"LawfulBasisTracker",{enumerable:true,get:function(){return chunkER7X6E36_js.a}});Object.defineProperty(exports,"CrossBorderTransferManager",{enumerable:true,get:function(){return chunkCL53OI3I_js.a}});Object.defineProperty(exports,"ROPAManager",{enumerable:true,get:function(){return chunkUZ5EZOA7_js.a}});Object.defineProperty(exports,"NDPRProvider",{enumerable:true,get:function(){return chunk44W4H2EY_js.c}});Object.defineProperty(exports,"useNDPRConfig",{enumerable:true,get:function(){return chunk44W4H2EY_js.d}});Object.defineProperty(exports,"useLawfulBasis",{enumerable:true,get:function(){return chunk2ORDHJRD_js.a}});Object.defineProperty(exports,"useCrossBorderTransfer",{enumerable:true,get:function(){return chunkP7BSBCB3_js.a}});Object.defineProperty(exports,"useROPA",{enumerable:true,get:function(){return chunkKHRBU5K7_js.a}});Object.defineProperty(exports,"getComplianceScore",{enumerable:true,get:function(){return chunkVDZKGCAF_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 chunkIQF726GS_js.d}});Object.defineProperty(exports,"getTransferMechanismDescription",{enumerable:true,get:function(){return chunkIQF726GS_js.b}});Object.defineProperty(exports,"isNDPCApprovalRequired",{enumerable:true,get:function(){return chunkIQF726GS_js.a}});Object.defineProperty(exports,"validateTransfer",{enumerable:true,get:function(){return chunkIQF726GS_js.c}});Object.defineProperty(exports,"exportROPAToCSV",{enumerable:true,get:function(){return chunkSWF3YVE5_js.c}});Object.defineProperty(exports,"generateROPASummary",{enumerable:true,get:function(){return chunkSWF3YVE5_js.b}});Object.defineProperty(exports,"identifyComplianceGaps",{enumerable:true,get:function(){return chunkSWF3YVE5_js.d}});Object.defineProperty(exports,"validateProcessingRecord",{enumerable:true,get:function(){return chunkSWF3YVE5_js.a}});Object.defineProperty(exports,"ConsentManager",{enumerable:true,get:function(){return chunkFR7ZYZXB_js.a}});Object.defineProperty(exports,"ConsentStorage",{enumerable:true,get:function(){return chunkFR7ZYZXB_js.b}});Object.defineProperty(exports,"ConsentBanner",{enumerable:true,get:function(){return chunkUOSEH6DC_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 chunk5VMHKNJY_js.a}});Object.defineProperty(exports,"validateConsent",{enumerable:true,get:function(){return chunkY34DQYS7_js.a}});Object.defineProperty(exports,"validateConsentOptions",{enumerable:true,get:function(){return chunkY34DQYS7_js.b}});Object.defineProperty(exports,"DSRDashboard",{enumerable:true,get:function(){return chunkIQQW52EF_js.a}});Object.defineProperty(exports,"DSRTracker",{enumerable:true,get:function(){return chunkIQQW52EF_js.b}});Object.defineProperty(exports,"DSRRequestForm",{enumerable:true,get:function(){return chunkPEH5GIMN_js.a}});Object.defineProperty(exports,"useDSR",{enumerable:true,get:function(){return chunk3V23O4ZJ_js.a}});Object.defineProperty(exports,"formatDSRRequest",{enumerable:true,get:function(){return chunkCMZTI7SG_js.a}});Object.defineProperty(exports,"DPIAReport",{enumerable:true,get:function(){return chunkFY5G6DGZ_js.a}});Object.defineProperty(exports,"StepIndicator",{enumerable:true,get:function(){return chunkFY5G6DGZ_js.b}});Object.defineProperty(exports,"DPIAQuestionnaire",{enumerable:true,get:function(){return chunkUNKXYVXY_js.a}});Object.defineProperty(exports,"useDPIA",{enumerable:true,get:function(){return chunkZCZ5RRZO_js.a}});Object.defineProperty(exports,"assessDPIARisk",{enumerable:true,get:function(){return chunkSSGJREE3_js.a}});Object.defineProperty(exports,"BreachNotificationManager",{enumerable:true,get:function(){return chunkU6VWHC46_js.b}});Object.defineProperty(exports,"BreachRiskAssessment",{enumerable:true,get:function(){return chunkU6VWHC46_js.a}});Object.defineProperty(exports,"RegulatoryReportGenerator",{enumerable:true,get:function(){return chunkU6VWHC46_js.c}});Object.defineProperty(exports,"BreachReportForm",{enumerable:true,get:function(){return chunkGVANK6PL_js.a}});Object.defineProperty(exports,"useBreach",{enumerable:true,get:function(){return chunk2W7ARAW2_js.a}});Object.defineProperty(exports,"calculateBreachSeverity",{enumerable:true,get:function(){return chunkRYZEIDNR_js.a}});Object.defineProperty(exports,"sanitizeInput",{enumerable:true,get:function(){return chunkEPF7J2FK_js.a}});Object.defineProperty(exports,"PolicyExporter",{enumerable:true,get:function(){return chunkBGHQTZAC_js.c}});Object.defineProperty(exports,"PolicyGenerator",{enumerable:true,get:function(){return chunkBGHQTZAC_js.a}});Object.defineProperty(exports,"PolicyPreview",{enumerable:true,get:function(){return chunkBGHQTZAC_js.b}});Object.defineProperty(exports,"useDefaultPrivacyPolicy",{enumerable:true,get:function(){return chunkIKEPXHCZ_js.b}});Object.defineProperty(exports,"usePrivacyPolicy",{enumerable:true,get:function(){return chunkIKEPXHCZ_js.a}});Object.defineProperty(exports,"DEFAULT_POLICY_SECTIONS",{enumerable:true,get:function(){return chunk5RSOLEEP_js.b}});Object.defineProperty(exports,"DEFAULT_POLICY_VARIABLES",{enumerable:true,get:function(){return chunk5RSOLEEP_js.c}});Object.defineProperty(exports,"createBusinessPolicyTemplate",{enumerable:true,get:function(){return chunk5RSOLEEP_js.d}});Object.defineProperty(exports,"generatePolicyText",{enumerable:true,get:function(){return chunk5RSOLEEP_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 LawfulBasisTracker}from'./chunk-ELKEZEV5.mjs';export{a as CrossBorderTransferManager}from'./chunk-4JUDKBA2.mjs';export{a as ROPAManager}from'./chunk-4VVARDN2.mjs';export{a as NDPRProvider,b as useNDPRConfig}from'./chunk-WSHSHIIM.mjs';export{a as useLawfulBasis}from'./chunk-L52PDW6O.mjs';export{a as useCrossBorderTransfer}from'./chunk-VMJBW3EF.mjs';export{a as useROPA}from'./chunk-T44JQT2O.mjs';export{c as assessComplianceGaps,d as generateLawfulBasisSummary,b as getLawfulBasisDescription,a as validateProcessingActivity}from'./chunk-TXBZPCGF.mjs';export{d as assessTransferRisk,b as getTransferMechanismDescription,a as isNDPCApprovalRequired,c as validateTransfer}from'./chunk-QKK5S54L.mjs';export{c as exportROPAToCSV,b as generateROPASummary,d as identifyComplianceGaps,a as validateProcessingRecord}from'./chunk-PYEX7DFR.mjs';export{a as ConsentBanner,b as ConsentManager,c as ConsentStorage}from'./chunk-NW4A3JW6.mjs';export{c as appendAuditEntry,a as createAuditEntry,b as getAuditLog}from'./chunk-P3PULLYP.mjs';export{a as useConsent}from'./chunk-PDJGTQMY.mjs';export{a as validateConsent,b as validateConsentOptions}from'./chunk-GIV2OHE6.mjs';export{b as DSRDashboard,a as DSRRequestForm,c as DSRTracker}from'./chunk-IBEKLDBY.mjs';export{a as useDSR}from'./chunk-GMLNWS2N.mjs';export{a as formatDSRRequest}from'./chunk-2SYNHRP6.mjs';export{a as DPIAQuestionnaire,b as DPIAReport,c as StepIndicator}from'./chunk-BZTTQS4A.mjs';export{a as useDPIA}from'./chunk-6GGGTRDZ.mjs';export{a as assessDPIARisk}from'./chunk-PGSA2O5P.mjs';export{c as BreachNotificationManager,a as BreachReportForm,b as BreachRiskAssessment,d as RegulatoryReportGenerator}from'./chunk-XMYUYQH7.mjs';export{a as useBreach}from'./chunk-OITITR6K.mjs';export{a as calculateBreachSeverity}from'./chunk-RGYK4VAY.mjs';export{a as sanitizeInput}from'./chunk-FXTZDKDC.mjs';export{c as PolicyExporter,a as PolicyGenerator,b as PolicyPreview}from'./chunk-SKJCQKFL.mjs';export{b as useDefaultPrivacyPolicy,a as usePrivacyPolicy}from'./chunk-2XFAV267.mjs';export{b as DEFAULT_POLICY_SECTIONS,c as DEFAULT_POLICY_VARIABLES,d as createBusinessPolicyTemplate,a as generatePolicyText}from'./chunk-CAB7O3GR.mjs';export{a as resolveClass}from'./chunk-AYKLAEOU.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{a as NDPRDashboard}from'./chunk-3UWT64FI.mjs';export{a as LawfulBasisTracker}from'./chunk-ELKEZEV5.mjs';export{a as CrossBorderTransferManager}from'./chunk-4JUDKBA2.mjs';export{a as ROPAManager}from'./chunk-4VVARDN2.mjs';export{c as NDPRProvider,d as useNDPRConfig}from'./chunk-TVW6KBVV.mjs';export{a as useLawfulBasis}from'./chunk-SVCRYM4I.mjs';export{a as useCrossBorderTransfer}from'./chunk-NPLXE43Q.mjs';export{a as useROPA}from'./chunk-WLSW4Z4W.mjs';export{a as getComplianceScore}from'./chunk-GPJVTGHR.mjs';export{c as assessComplianceGaps,d as generateLawfulBasisSummary,b as getLawfulBasisDescription,a as validateProcessingActivity}from'./chunk-TXBZPCGF.mjs';export{d as assessTransferRisk,b as getTransferMechanismDescription,a as isNDPCApprovalRequired,c as validateTransfer}from'./chunk-QKK5S54L.mjs';export{c as exportROPAToCSV,b as generateROPASummary,d as identifyComplianceGaps,a as validateProcessingRecord}from'./chunk-PYEX7DFR.mjs';export{a as ConsentManager,b as ConsentStorage}from'./chunk-27NYSWUG.mjs';export{a as ConsentBanner}from'./chunk-7F5F5YWI.mjs';export{c as appendAuditEntry,a as createAuditEntry,b as getAuditLog}from'./chunk-P3PULLYP.mjs';export{a as useConsent}from'./chunk-G26I6MP5.mjs';import'./chunk-YJCGEOLO.mjs';export{a as validateConsent,b as validateConsentOptions}from'./chunk-GIV2OHE6.mjs';export{a as DSRDashboard,b as DSRTracker}from'./chunk-RSUDIFZV.mjs';export{a as DSRRequestForm}from'./chunk-6D3ZUGBB.mjs';export{a as useDSR}from'./chunk-XSK4BSZJ.mjs';export{a as formatDSRRequest}from'./chunk-2SYNHRP6.mjs';export{a as DPIAReport,b as StepIndicator}from'./chunk-NPI5T6NH.mjs';export{a as DPIAQuestionnaire}from'./chunk-V3MXWGXU.mjs';export{a as useDPIA}from'./chunk-HNZK7LY3.mjs';export{a as assessDPIARisk}from'./chunk-PGSA2O5P.mjs';export{b as BreachNotificationManager,a as BreachRiskAssessment,c as RegulatoryReportGenerator}from'./chunk-ISSGO2YT.mjs';export{a as BreachReportForm}from'./chunk-3XAUN5IM.mjs';export{a as useBreach}from'./chunk-LFNA6WYQ.mjs';export{a as calculateBreachSeverity}from'./chunk-RGYK4VAY.mjs';export{a as sanitizeInput}from'./chunk-FXTZDKDC.mjs';export{c as PolicyExporter,a as PolicyGenerator,b as PolicyPreview}from'./chunk-SKJCQKFL.mjs';export{b as useDefaultPrivacyPolicy,a as usePrivacyPolicy}from'./chunk-6E54NSAO.mjs';export{b as DEFAULT_POLICY_SECTIONS,c as DEFAULT_POLICY_VARIABLES,d as createBusinessPolicyTemplate,a as generatePolicyText}from'./chunk-CAB7O3GR.mjs';export{a as resolveClass}from'./chunk-AYKLAEOU.mjs';import'./chunk-SBNAMPAP.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,5 +1,32 @@
1
- export { L as LawfulBasisTracker } from './lawful-basis-entry-CxZrofwG.mjs';
2
- export { u as useLawfulBasis } from './useLawfulBasis-CpWuHtyh.mjs';
1
+ import { b as LawfulBasisTrackerProps } from './LawfulBasisTracker-CBqOxX1D.mjs';
2
+ export { L as LawfulBasisTracker } from './LawfulBasisTracker-CBqOxX1D.mjs';
3
+ import { U as UseLawfulBasisReturn } from './useLawfulBasis-CKJ-kw84.mjs';
4
+ export { u as useLawfulBasis } from './useLawfulBasis-CKJ-kw84.mjs';
3
5
  export { L as LawfulBasisComplianceGap, a as LawfulBasisValidationResult, b as assessComplianceGaps, g as generateLawfulBasisSummary, c as getLawfulBasisDescription, v as validateProcessingActivity } from './lawful-basis-C2eGaoHM.mjs';
4
- export { L as LawfulBasis, a as LawfulBasisSummary, b as LegitimateInterestAssessment, P as ProcessingActivity, S as SensitiveDataCondition } from './lawful-basis-Cv1VmDLn.mjs';
5
- import 'react';
6
+ import { P as ProcessingActivity } from './lawful-basis-Cv1VmDLn.mjs';
7
+ export { a as LawfulBasisSummary, L as LawfulBasisType, b as LegitimateInterestAssessment, S as SensitiveDataCondition } from './lawful-basis-Cv1VmDLn.mjs';
8
+ import * as React from 'react';
9
+ import React__default from 'react';
10
+ import { S as StorageAdapter } from './types-DK2CoKOC.mjs';
11
+
12
+ interface LawfulBasisProviderProps {
13
+ adapter?: StorageAdapter<ProcessingActivity[]>;
14
+ storageKey?: string;
15
+ useLocalStorage?: boolean;
16
+ initialActivities?: ProcessingActivity[];
17
+ onAdd?: (activity: ProcessingActivity) => void;
18
+ onUpdate?: (activity: ProcessingActivity) => void;
19
+ onRemove?: (id: string) => void;
20
+ children: React__default.ReactNode;
21
+ }
22
+ declare const LawfulBasisProvider: React__default.FC<LawfulBasisProviderProps>;
23
+
24
+ declare const LawfulBasis: {
25
+ Provider: React.FC<LawfulBasisProviderProps>;
26
+ Tracker: React.FC<LawfulBasisTrackerProps>;
27
+ };
28
+
29
+ type LawfulBasisContextValue = UseLawfulBasisReturn;
30
+ declare function useLawfulBasisCompound(): LawfulBasisContextValue;
31
+
32
+ export { LawfulBasis, LawfulBasisProvider, type LawfulBasisProviderProps, ProcessingActivity, StorageAdapter, UseLawfulBasisReturn, useLawfulBasisCompound };
@@ -1,5 +1,32 @@
1
- export { L as LawfulBasisTracker } from './lawful-basis-entry-15qjKcNO.js';
2
- export { u as useLawfulBasis } from './useLawfulBasis-CCWF9waR.js';
1
+ import { b as LawfulBasisTrackerProps } from './LawfulBasisTracker-Cg30NbDA.js';
2
+ export { L as LawfulBasisTracker } from './LawfulBasisTracker-Cg30NbDA.js';
3
+ import { U as UseLawfulBasisReturn } from './useLawfulBasis-DFTmu1ca.js';
4
+ export { u as useLawfulBasis } from './useLawfulBasis-DFTmu1ca.js';
3
5
  export { L as LawfulBasisComplianceGap, a as LawfulBasisValidationResult, b as assessComplianceGaps, g as generateLawfulBasisSummary, c as getLawfulBasisDescription, v as validateProcessingActivity } from './lawful-basis-BEyI0kGg.js';
4
- export { L as LawfulBasis, a as LawfulBasisSummary, b as LegitimateInterestAssessment, P as ProcessingActivity, S as SensitiveDataCondition } from './lawful-basis-Cv1VmDLn.js';
5
- import 'react';
6
+ import { P as ProcessingActivity } from './lawful-basis-Cv1VmDLn.js';
7
+ export { a as LawfulBasisSummary, L as LawfulBasisType, b as LegitimateInterestAssessment, S as SensitiveDataCondition } from './lawful-basis-Cv1VmDLn.js';
8
+ import * as React from 'react';
9
+ import React__default from 'react';
10
+ import { S as StorageAdapter } from './types-DK2CoKOC.js';
11
+
12
+ interface LawfulBasisProviderProps {
13
+ adapter?: StorageAdapter<ProcessingActivity[]>;
14
+ storageKey?: string;
15
+ useLocalStorage?: boolean;
16
+ initialActivities?: ProcessingActivity[];
17
+ onAdd?: (activity: ProcessingActivity) => void;
18
+ onUpdate?: (activity: ProcessingActivity) => void;
19
+ onRemove?: (id: string) => void;
20
+ children: React__default.ReactNode;
21
+ }
22
+ declare const LawfulBasisProvider: React__default.FC<LawfulBasisProviderProps>;
23
+
24
+ declare const LawfulBasis: {
25
+ Provider: React.FC<LawfulBasisProviderProps>;
26
+ Tracker: React.FC<LawfulBasisTrackerProps>;
27
+ };
28
+
29
+ type LawfulBasisContextValue = UseLawfulBasisReturn;
30
+ declare function useLawfulBasisCompound(): LawfulBasisContextValue;
31
+
32
+ export { LawfulBasis, LawfulBasisProvider, type LawfulBasisProviderProps, ProcessingActivity, StorageAdapter, UseLawfulBasisReturn, useLawfulBasisCompound };
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkER7X6E36_js=require('./chunk-ER7X6E36.js'),chunkLXRXDTPI_js=require('./chunk-LXRXDTPI.js'),chunkTDDAYVKK_js=require('./chunk-TDDAYVKK.js');require('./chunk-E64TU6IU.js'),require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"LawfulBasisTracker",{enumerable:true,get:function(){return chunkER7X6E36_js.a}});Object.defineProperty(exports,"useLawfulBasis",{enumerable:true,get:function(){return chunkLXRXDTPI_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}});//# sourceMappingURL=lawful-basis.js.map
1
+ 'use strict';var chunkER7X6E36_js=require('./chunk-ER7X6E36.js'),chunk2ORDHJRD_js=require('./chunk-2ORDHJRD.js'),chunkTDDAYVKK_js=require('./chunk-TDDAYVKK.js');require('./chunk-E64TU6IU.js'),require('./chunk-UK656RCG.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=chunk2ORDHJRD_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:chunkER7X6E36_js.a};Object.defineProperty(exports,"LawfulBasisTracker",{enumerable:true,get:function(){return chunkER7X6E36_js.a}});Object.defineProperty(exports,"useLawfulBasis",{enumerable:true,get:function(){return chunk2ORDHJRD_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
- export{a as LawfulBasisTracker}from'./chunk-ELKEZEV5.mjs';export{a as useLawfulBasis}from'./chunk-L52PDW6O.mjs';export{c as assessComplianceGaps,d as generateLawfulBasisSummary,b as getLawfulBasisDescription,a as validateProcessingActivity}from'./chunk-TXBZPCGF.mjs';import'./chunk-AYKLAEOU.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=lawful-basis.mjs.map
1
+ import {a}from'./chunk-ELKEZEV5.mjs';export{a as LawfulBasisTracker}from'./chunk-ELKEZEV5.mjs';import {a as a$1}from'./chunk-SVCRYM4I.mjs';export{a as useLawfulBasis}from'./chunk-SVCRYM4I.mjs';export{c as assessComplianceGaps,d as generateLawfulBasisSummary,b as getLawfulBasisDescription,a as validateProcessingActivity}from'./chunk-TXBZPCGF.mjs';import'./chunk-AYKLAEOU.mjs';import'./chunk-SBNAMPAP.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,154 @@
1
+ import { O as OrganizationInfo } from './privacy-Ca6te9Ir.mjs';
2
+
3
+ /**
4
+ * Policy engine types for the adaptive privacy policy generator.
5
+ * These types power the wizard-driven policy builder, compliance checker,
6
+ * and export functionality — all aligned with the NDPA 2023.
7
+ */
8
+
9
+ /** Industry verticals with sector-specific compliance requirements. */
10
+ type Industry = 'fintech' | 'healthcare' | 'ecommerce' | 'saas' | 'education' | 'government' | 'other';
11
+ /** Organisation size tiers — affects complexity of generated language. */
12
+ type OrgSize = 'startup' | 'midsize' | 'enterprise';
13
+ /** Lawful processing purposes recognised under the NDPA. */
14
+ type ProcessingPurpose = 'service_delivery' | 'marketing' | 'analytics' | 'research' | 'legal_compliance' | 'fraud_prevention';
15
+ /** A logical category of personal data the organisation may collect. */
16
+ interface DataCategory {
17
+ /** Machine-readable identifier. */
18
+ id: string;
19
+ /** Human-readable label shown in the wizard. */
20
+ label: string;
21
+ /** Grouping for display and compliance checks. */
22
+ group: 'identity' | 'financial' | 'behavioral' | 'sensitive' | 'children';
23
+ /** Specific data points within this category. */
24
+ dataPoints: string[];
25
+ /** Whether this category is currently selected by the user. */
26
+ selected: boolean;
27
+ }
28
+ /** A third-party entity that processes data on behalf of the organisation. */
29
+ interface ThirdPartyProcessor {
30
+ /** Name of the third party. */
31
+ name: string;
32
+ /** Purpose of sharing data with this processor. */
33
+ purpose: string;
34
+ /** Country where the processor is located. */
35
+ country: string;
36
+ }
37
+ /** Full context used to generate an adaptive privacy policy. */
38
+ interface TemplateContext {
39
+ /** Organisation details, extended with industry and size. */
40
+ org: OrganizationInfo & {
41
+ industry: Industry;
42
+ orgSize: OrgSize;
43
+ country: string;
44
+ };
45
+ /** Data categories the organisation collects. */
46
+ dataCategories: DataCategory[];
47
+ /** Processing purposes relevant to the organisation. */
48
+ purposes: ProcessingPurpose[];
49
+ /** Whether the organisation processes children's data. */
50
+ hasChildrenData: boolean;
51
+ /** Whether the organisation processes sensitive/special-category data. */
52
+ hasSensitiveData: boolean;
53
+ /** Whether the organisation processes financial data. */
54
+ hasFinancialData: boolean;
55
+ /** Whether data is transferred outside Nigeria. */
56
+ hasCrossBorderTransfer: boolean;
57
+ /** Whether automated decision-making or profiling is used. */
58
+ hasAutomatedDecisions: boolean;
59
+ /** Third-party processors that receive personal data. */
60
+ thirdPartyProcessors: ThirdPartyProcessor[];
61
+ }
62
+ /** A user-defined section added to the policy outside the generated ones. */
63
+ interface CustomSection {
64
+ id: string;
65
+ title: string;
66
+ content: string;
67
+ order: number;
68
+ required: false;
69
+ }
70
+ /** Represents an in-progress policy being built in the wizard. */
71
+ interface PolicyDraft {
72
+ /** Unique identifier for the draft. */
73
+ id: string;
74
+ /** The template context driving section generation. */
75
+ templateContext: TemplateContext;
76
+ /** Custom sections added by the user. */
77
+ customSections: CustomSection[];
78
+ /** Per-section content overrides keyed by section id. */
79
+ sectionOverrides: Record<string, string>;
80
+ /** Ordered list of section ids defining the final order. */
81
+ sectionOrder: string[];
82
+ /** Current wizard step (0-indexed). */
83
+ currentStep: number;
84
+ /** Timestamp of the last save. */
85
+ lastSavedAt: number;
86
+ /** The draft is always in "draft" status until finalised. */
87
+ status: 'draft';
88
+ }
89
+ /** A single gap found during NDPA compliance evaluation. */
90
+ interface ComplianceGap {
91
+ /** Machine-readable requirement identifier. */
92
+ requirementId: string;
93
+ /** Human-readable name of the requirement. */
94
+ requirement: string;
95
+ /** Reference to the relevant NDPA section. */
96
+ ndpaSection: string;
97
+ /** How severe the gap is. */
98
+ severity: 'critical' | 'important' | 'recommended';
99
+ /** Explanation of what is missing. */
100
+ message: string;
101
+ /** Suggested fix type for the UI. */
102
+ fixType: 'add_section' | 'add_content' | 'fill_field';
103
+ /** Label for the fix action button. */
104
+ fixLabel: string;
105
+ /** Pre-written content the user can insert to close the gap. */
106
+ suggestedContent?: string;
107
+ }
108
+ /** Result of evaluating a policy against NDPA requirements. */
109
+ interface ComplianceResult {
110
+ /** Points earned. */
111
+ score: number;
112
+ /** Maximum achievable points (115). */
113
+ maxScore: number;
114
+ /** Percentage score (0-100). */
115
+ percentage: number;
116
+ /** Overall compliance rating. */
117
+ rating: 'compliant' | 'nearly_compliant' | 'not_compliant';
118
+ /** List of identified compliance gaps. */
119
+ gaps: ComplianceGap[];
120
+ /** List of requirement ids that passed. */
121
+ passed: string[];
122
+ }
123
+ /** Options for PDF export of the finalised policy. */
124
+ interface PDFExportOptions {
125
+ includeCoverPage?: boolean;
126
+ includeTOC?: boolean;
127
+ includeComplianceBadge?: boolean;
128
+ logoUrl?: string;
129
+ filename?: string;
130
+ }
131
+ /** Options for DOCX export of the finalised policy. */
132
+ interface DOCXExportOptions {
133
+ includeTOC?: boolean;
134
+ filename?: string;
135
+ }
136
+ /** Options for HTML export of the finalised policy. */
137
+ interface HTMLExportOptions {
138
+ includeStyles?: boolean;
139
+ includePrintCSS?: boolean;
140
+ customCSS?: string;
141
+ }
142
+ /**
143
+ * Comprehensive set of 16 data categories spanning identity, financial,
144
+ * behavioral, sensitive, and children groups. Used to populate the wizard
145
+ * and drive adaptive section generation.
146
+ */
147
+ declare const DEFAULT_DATA_CATEGORIES: DataCategory[];
148
+ /**
149
+ * Creates a default TemplateContext with sensible empty/initial values.
150
+ * Useful for initialising the wizard state before the user begins editing.
151
+ */
152
+ declare function createDefaultContext(): TemplateContext;
153
+
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, type PDFExportOptions as e, type DOCXExportOptions as f, DEFAULT_DATA_CATEGORIES as g, type ProcessingPurpose as h };
@@ -0,0 +1,154 @@
1
+ import { O as OrganizationInfo } from './privacy-Ca6te9Ir.js';
2
+
3
+ /**
4
+ * Policy engine types for the adaptive privacy policy generator.
5
+ * These types power the wizard-driven policy builder, compliance checker,
6
+ * and export functionality — all aligned with the NDPA 2023.
7
+ */
8
+
9
+ /** Industry verticals with sector-specific compliance requirements. */
10
+ type Industry = 'fintech' | 'healthcare' | 'ecommerce' | 'saas' | 'education' | 'government' | 'other';
11
+ /** Organisation size tiers — affects complexity of generated language. */
12
+ type OrgSize = 'startup' | 'midsize' | 'enterprise';
13
+ /** Lawful processing purposes recognised under the NDPA. */
14
+ type ProcessingPurpose = 'service_delivery' | 'marketing' | 'analytics' | 'research' | 'legal_compliance' | 'fraud_prevention';
15
+ /** A logical category of personal data the organisation may collect. */
16
+ interface DataCategory {
17
+ /** Machine-readable identifier. */
18
+ id: string;
19
+ /** Human-readable label shown in the wizard. */
20
+ label: string;
21
+ /** Grouping for display and compliance checks. */
22
+ group: 'identity' | 'financial' | 'behavioral' | 'sensitive' | 'children';
23
+ /** Specific data points within this category. */
24
+ dataPoints: string[];
25
+ /** Whether this category is currently selected by the user. */
26
+ selected: boolean;
27
+ }
28
+ /** A third-party entity that processes data on behalf of the organisation. */
29
+ interface ThirdPartyProcessor {
30
+ /** Name of the third party. */
31
+ name: string;
32
+ /** Purpose of sharing data with this processor. */
33
+ purpose: string;
34
+ /** Country where the processor is located. */
35
+ country: string;
36
+ }
37
+ /** Full context used to generate an adaptive privacy policy. */
38
+ interface TemplateContext {
39
+ /** Organisation details, extended with industry and size. */
40
+ org: OrganizationInfo & {
41
+ industry: Industry;
42
+ orgSize: OrgSize;
43
+ country: string;
44
+ };
45
+ /** Data categories the organisation collects. */
46
+ dataCategories: DataCategory[];
47
+ /** Processing purposes relevant to the organisation. */
48
+ purposes: ProcessingPurpose[];
49
+ /** Whether the organisation processes children's data. */
50
+ hasChildrenData: boolean;
51
+ /** Whether the organisation processes sensitive/special-category data. */
52
+ hasSensitiveData: boolean;
53
+ /** Whether the organisation processes financial data. */
54
+ hasFinancialData: boolean;
55
+ /** Whether data is transferred outside Nigeria. */
56
+ hasCrossBorderTransfer: boolean;
57
+ /** Whether automated decision-making or profiling is used. */
58
+ hasAutomatedDecisions: boolean;
59
+ /** Third-party processors that receive personal data. */
60
+ thirdPartyProcessors: ThirdPartyProcessor[];
61
+ }
62
+ /** A user-defined section added to the policy outside the generated ones. */
63
+ interface CustomSection {
64
+ id: string;
65
+ title: string;
66
+ content: string;
67
+ order: number;
68
+ required: false;
69
+ }
70
+ /** Represents an in-progress policy being built in the wizard. */
71
+ interface PolicyDraft {
72
+ /** Unique identifier for the draft. */
73
+ id: string;
74
+ /** The template context driving section generation. */
75
+ templateContext: TemplateContext;
76
+ /** Custom sections added by the user. */
77
+ customSections: CustomSection[];
78
+ /** Per-section content overrides keyed by section id. */
79
+ sectionOverrides: Record<string, string>;
80
+ /** Ordered list of section ids defining the final order. */
81
+ sectionOrder: string[];
82
+ /** Current wizard step (0-indexed). */
83
+ currentStep: number;
84
+ /** Timestamp of the last save. */
85
+ lastSavedAt: number;
86
+ /** The draft is always in "draft" status until finalised. */
87
+ status: 'draft';
88
+ }
89
+ /** A single gap found during NDPA compliance evaluation. */
90
+ interface ComplianceGap {
91
+ /** Machine-readable requirement identifier. */
92
+ requirementId: string;
93
+ /** Human-readable name of the requirement. */
94
+ requirement: string;
95
+ /** Reference to the relevant NDPA section. */
96
+ ndpaSection: string;
97
+ /** How severe the gap is. */
98
+ severity: 'critical' | 'important' | 'recommended';
99
+ /** Explanation of what is missing. */
100
+ message: string;
101
+ /** Suggested fix type for the UI. */
102
+ fixType: 'add_section' | 'add_content' | 'fill_field';
103
+ /** Label for the fix action button. */
104
+ fixLabel: string;
105
+ /** Pre-written content the user can insert to close the gap. */
106
+ suggestedContent?: string;
107
+ }
108
+ /** Result of evaluating a policy against NDPA requirements. */
109
+ interface ComplianceResult {
110
+ /** Points earned. */
111
+ score: number;
112
+ /** Maximum achievable points (115). */
113
+ maxScore: number;
114
+ /** Percentage score (0-100). */
115
+ percentage: number;
116
+ /** Overall compliance rating. */
117
+ rating: 'compliant' | 'nearly_compliant' | 'not_compliant';
118
+ /** List of identified compliance gaps. */
119
+ gaps: ComplianceGap[];
120
+ /** List of requirement ids that passed. */
121
+ passed: string[];
122
+ }
123
+ /** Options for PDF export of the finalised policy. */
124
+ interface PDFExportOptions {
125
+ includeCoverPage?: boolean;
126
+ includeTOC?: boolean;
127
+ includeComplianceBadge?: boolean;
128
+ logoUrl?: string;
129
+ filename?: string;
130
+ }
131
+ /** Options for DOCX export of the finalised policy. */
132
+ interface DOCXExportOptions {
133
+ includeTOC?: boolean;
134
+ filename?: string;
135
+ }
136
+ /** Options for HTML export of the finalised policy. */
137
+ interface HTMLExportOptions {
138
+ includeStyles?: boolean;
139
+ includePrintCSS?: boolean;
140
+ customCSS?: string;
141
+ }
142
+ /**
143
+ * Comprehensive set of 16 data categories spanning identity, financial,
144
+ * behavioral, sensitive, and children groups. Used to populate the wizard
145
+ * and drive adaptive section generation.
146
+ */
147
+ declare const DEFAULT_DATA_CATEGORIES: DataCategory[];
148
+ /**
149
+ * Creates a default TemplateContext with sensible empty/initial values.
150
+ * Useful for initialising the wizard state before the user begins editing.
151
+ */
152
+ declare function createDefaultContext(): TemplateContext;
153
+
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, type PDFExportOptions as e, type DOCXExportOptions as f, DEFAULT_DATA_CATEGORIES as g, type ProcessingPurpose as h };
@@ -0,0 +1,54 @@
1
+ import { c as PrivacyPolicy, P as PolicySection } from './privacy-Ca6te9Ir.mjs';
2
+ import { T as TemplateContext, a as ComplianceResult } from './policy-engine-C-tShzZH.mjs';
3
+
4
+ /**
5
+ * NDPA policy compliance checker.
6
+ *
7
+ * Evaluates a {@link PrivacyPolicy} against 15 requirements drawn from
8
+ * the Nigeria Data Protection Act (NDPA) 2023, producing a scored
9
+ * {@link ComplianceResult} with actionable gaps.
10
+ *
11
+ * Scoring:
12
+ * 6 critical @ 10 pts = 60
13
+ * 5 important @ 7 pts = 35
14
+ * 4 recommended @ 5 pts = 20
15
+ * Total max = 115
16
+ *
17
+ * Rating thresholds:
18
+ * >= 100 → compliant
19
+ * >= 80 → nearly_compliant
20
+ * < 80 → not_compliant
21
+ */
22
+
23
+ /**
24
+ * Evaluates a privacy policy against 15 NDPA 2023 requirements and
25
+ * returns a scored compliance result with actionable gap information.
26
+ *
27
+ * @param policy - The privacy policy to evaluate.
28
+ * @param context - The template context that was used to generate the policy.
29
+ * @returns A {@link ComplianceResult} with score, rating, gaps, and passed ids.
30
+ */
31
+ declare function evaluatePolicyCompliance(policy: PrivacyPolicy, context: TemplateContext): ComplianceResult;
32
+
33
+ /**
34
+ * Adaptive privacy policy section generators.
35
+ *
36
+ * Builds NDPA 2023-compliant policy sections based on the organisation's
37
+ * template context (industry, data categories, purposes, flags, etc.).
38
+ *
39
+ * Every section produces a {@link PolicySection} matching the existing
40
+ * interface from `types/privacy.ts`.
41
+ */
42
+
43
+ /**
44
+ * Assembles an ordered array of privacy policy sections based on the
45
+ * provided template context. Core sections are always included; conditional
46
+ * sections are added based on context flags (children, sensitive data,
47
+ * cross-border transfers, automated decisions).
48
+ *
49
+ * @param context - The template context describing the organisation and its data practices.
50
+ * @returns An array of {@link PolicySection} objects, ordered and ready for rendering.
51
+ */
52
+ declare function assemblePolicy(context: TemplateContext): PolicySection[];
53
+
54
+ export { assemblePolicy as a, evaluatePolicyCompliance as e };
@@ -0,0 +1,54 @@
1
+ import { c as PrivacyPolicy, P as PolicySection } from './privacy-Ca6te9Ir.js';
2
+ import { T as TemplateContext, a as ComplianceResult } from './policy-engine-DSQpT55_.js';
3
+
4
+ /**
5
+ * NDPA policy compliance checker.
6
+ *
7
+ * Evaluates a {@link PrivacyPolicy} against 15 requirements drawn from
8
+ * the Nigeria Data Protection Act (NDPA) 2023, producing a scored
9
+ * {@link ComplianceResult} with actionable gaps.
10
+ *
11
+ * Scoring:
12
+ * 6 critical @ 10 pts = 60
13
+ * 5 important @ 7 pts = 35
14
+ * 4 recommended @ 5 pts = 20
15
+ * Total max = 115
16
+ *
17
+ * Rating thresholds:
18
+ * >= 100 → compliant
19
+ * >= 80 → nearly_compliant
20
+ * < 80 → not_compliant
21
+ */
22
+
23
+ /**
24
+ * Evaluates a privacy policy against 15 NDPA 2023 requirements and
25
+ * returns a scored compliance result with actionable gap information.
26
+ *
27
+ * @param policy - The privacy policy to evaluate.
28
+ * @param context - The template context that was used to generate the policy.
29
+ * @returns A {@link ComplianceResult} with score, rating, gaps, and passed ids.
30
+ */
31
+ declare function evaluatePolicyCompliance(policy: PrivacyPolicy, context: TemplateContext): ComplianceResult;
32
+
33
+ /**
34
+ * Adaptive privacy policy section generators.
35
+ *
36
+ * Builds NDPA 2023-compliant policy sections based on the organisation's
37
+ * template context (industry, data categories, purposes, flags, etc.).
38
+ *
39
+ * Every section produces a {@link PolicySection} matching the existing
40
+ * interface from `types/privacy.ts`.
41
+ */
42
+
43
+ /**
44
+ * Assembles an ordered array of privacy policy sections based on the
45
+ * provided template context. Core sections are always included; conditional
46
+ * sections are added based on context flags (children, sensitive data,
47
+ * cross-border transfers, automated decisions).
48
+ *
49
+ * @param context - The template context describing the organisation and its data practices.
50
+ * @returns An array of {@link PolicySection} objects, ordered and ready for rendering.
51
+ */
52
+ declare function assemblePolicy(context: TemplateContext): PolicySection[];
53
+
54
+ export { assemblePolicy as a, evaluatePolicyCompliance as e };