@tantainnovative/ndpr-toolkit 2.2.0 → 2.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 (120) hide show
  1. package/README.md +26 -11
  2. package/dist/breach-ouXoVTWs.d.ts +438 -0
  3. package/dist/breach-yRiyyc4n.d.mts +438 -0
  4. package/dist/breach.d.mts +3 -349
  5. package/dist/breach.d.ts +3 -349
  6. package/dist/breach.js +1 -1
  7. package/dist/breach.mjs +1 -1
  8. package/dist/chunk-2XFAV267.mjs +2 -0
  9. package/dist/chunk-32UIWTGD.js +72 -0
  10. package/dist/chunk-4JUDKBA2.mjs +7 -0
  11. package/dist/chunk-4VVARDN2.mjs +2 -0
  12. package/dist/chunk-5RSOLEEP.js +63 -0
  13. package/dist/chunk-AYKLAEOU.mjs +2 -0
  14. package/dist/chunk-BGHQTZAC.js +94 -0
  15. package/dist/chunk-BZTTQS4A.mjs +7 -0
  16. package/dist/chunk-CAB7O3GR.mjs +63 -0
  17. package/dist/chunk-CL53OI3I.js +7 -0
  18. package/dist/chunk-E64TU6IU.js +2 -0
  19. package/dist/chunk-EKVTLHBQ.js +2 -0
  20. package/dist/chunk-ELKEZEV5.mjs +2 -0
  21. package/dist/chunk-EPF7J2FK.js +3 -0
  22. package/dist/chunk-ER7X6E36.js +2 -0
  23. package/dist/chunk-FXTZDKDC.mjs +3 -0
  24. package/dist/chunk-IBEKLDBY.mjs +2 -0
  25. package/dist/chunk-ILCNDOBU.js +2 -0
  26. package/dist/chunk-K3GMTMQ6.js +2 -0
  27. package/dist/chunk-MJGOLP5M.js +2 -0
  28. package/dist/chunk-NW4A3JW6.mjs +2 -0
  29. package/dist/chunk-P3PULLYP.mjs +2 -0
  30. package/dist/chunk-SKJCQKFL.mjs +94 -0
  31. package/dist/chunk-TCJCE6WN.js +2 -0
  32. package/dist/chunk-UZ5EZOA7.js +2 -0
  33. package/dist/chunk-WSHSHIIM.mjs +2 -0
  34. package/dist/chunk-XMYUYQH7.mjs +72 -0
  35. package/dist/chunk-ZNTMZ6NM.js +7 -0
  36. package/dist/consent-audit-BdByjYlM.d.mts +65 -0
  37. package/dist/consent-audit-DhbfMR0n.d.ts +65 -0
  38. package/dist/consent.d.mts +55 -8
  39. package/dist/consent.d.ts +55 -8
  40. package/dist/consent.js +1 -1
  41. package/dist/consent.mjs +1 -1
  42. package/dist/core.d.mts +52 -2
  43. package/dist/core.d.ts +52 -2
  44. package/dist/core.js +1 -1
  45. package/dist/core.mjs +1 -1
  46. package/dist/{cross-border-entry-CtX8_o-_.d.ts → cross-border-entry-BrWVPly6.d.ts} +7 -0
  47. package/dist/{cross-border-entry-BfF7jw5o.d.mts → cross-border-entry-cCTvpwnT.d.mts} +7 -0
  48. package/dist/cross-border.d.mts +1 -1
  49. package/dist/cross-border.d.ts +1 -1
  50. package/dist/cross-border.js +1 -1
  51. package/dist/cross-border.mjs +1 -1
  52. package/dist/dpia.d.mts +14 -0
  53. package/dist/dpia.d.ts +14 -0
  54. package/dist/dpia.js +1 -1
  55. package/dist/dpia.mjs +1 -1
  56. package/dist/dsr-190YpijW.d.ts +307 -0
  57. package/dist/dsr-BTT-Xd7H.d.mts +307 -0
  58. package/dist/dsr.d.mts +3 -251
  59. package/dist/dsr.d.ts +3 -251
  60. package/dist/dsr.js +1 -1
  61. package/dist/dsr.mjs +1 -1
  62. package/dist/hooks.d.mts +1 -1
  63. package/dist/hooks.d.ts +1 -1
  64. package/dist/hooks.js +1 -1
  65. package/dist/hooks.mjs +1 -1
  66. package/dist/index.d.mts +11 -10
  67. package/dist/index.d.ts +11 -10
  68. package/dist/index.js +1 -1
  69. package/dist/index.mjs +1 -1
  70. package/dist/{lawful-basis-entry-BeSX7u0U.d.ts → lawful-basis-entry-15qjKcNO.d.ts} +6 -0
  71. package/dist/{lawful-basis-entry-CMPPM9Rh.d.mts → lawful-basis-entry-CxZrofwG.d.mts} +6 -0
  72. package/dist/lawful-basis.d.mts +1 -1
  73. package/dist/lawful-basis.d.ts +1 -1
  74. package/dist/lawful-basis.js +1 -1
  75. package/dist/lawful-basis.mjs +1 -1
  76. package/dist/{policy-dmsRlqgM.d.ts → policy-D2_jh5-T.d.ts} +15 -5
  77. package/dist/{policy-kZN23hrR.d.mts → policy-E0fXZkda.d.mts} +15 -5
  78. package/dist/policy-templates-CIKcV0i1.d.ts +36 -0
  79. package/dist/policy-templates-DMsPwOSZ.d.mts +36 -0
  80. package/dist/policy.d.mts +3 -3
  81. package/dist/policy.d.ts +3 -3
  82. package/dist/policy.js +1 -1
  83. package/dist/policy.mjs +1 -1
  84. package/dist/{ropa-entry-DIEQ9WFs.d.ts → ropa-entry-B0D7X1GV.d.ts} +10 -1
  85. package/dist/{ropa-entry-CZJ91ymk.d.mts → ropa-entry-DiOThOc2.d.mts} +10 -1
  86. package/dist/ropa.d.mts +1 -1
  87. package/dist/ropa.d.ts +1 -1
  88. package/dist/ropa.js +1 -1
  89. package/dist/ropa.mjs +1 -1
  90. package/dist/styles.css +40 -28
  91. package/dist/styles.d.ts +1 -0
  92. package/dist/{usePrivacyPolicy-CfySfBLS.d.ts → useDefaultPrivacyPolicy-B7kTHbZh.d.ts} +39 -2
  93. package/dist/{usePrivacyPolicy-Dit2sFuV.d.mts → useDefaultPrivacyPolicy-CUluF_ic.d.mts} +39 -2
  94. package/package.json +9 -7
  95. package/dist/chunk-4RGDNVR5.mjs +0 -72
  96. package/dist/chunk-6LM3RAFO.js +0 -7
  97. package/dist/chunk-7DNQSOER.js +0 -2
  98. package/dist/chunk-A7DRHSDQ.mjs +0 -2
  99. package/dist/chunk-DB3JH4DS.mjs +0 -2
  100. package/dist/chunk-FC6EG34C.js +0 -72
  101. package/dist/chunk-FDB6KZUD.mjs +0 -2
  102. package/dist/chunk-FZUCKGIM.mjs +0 -7
  103. package/dist/chunk-G3JNFZPT.js +0 -2
  104. package/dist/chunk-HXCRMA4J.mjs +0 -2
  105. package/dist/chunk-IC7VOOKJ.mjs +0 -2
  106. package/dist/chunk-ICUZG6CD.mjs +0 -2
  107. package/dist/chunk-IW5PHOG7.mjs +0 -7
  108. package/dist/chunk-IWUUVRLJ.js +0 -2
  109. package/dist/chunk-JKEAPTYP.js +0 -7
  110. package/dist/chunk-N52S64SU.js +0 -2
  111. package/dist/chunk-PM7CMTMB.js +0 -4
  112. package/dist/chunk-SKAMVXBI.mjs +0 -94
  113. package/dist/chunk-UYP64PV7.mjs +0 -4
  114. package/dist/chunk-VURIXCGY.js +0 -2
  115. package/dist/chunk-VXRY3V42.js +0 -94
  116. package/dist/chunk-YBPHGEL2.js +0 -2
  117. package/dist/consent-DCc5zjXI.d.mts +0 -24
  118. package/dist/consent-DLWb5ota.d.ts +0 -24
  119. package/dist/privacy-9FcJceMr.d.mts +0 -15
  120. package/dist/privacy-BXz7O2ej.d.ts +0 -15
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- 'use strict';var chunk7DNQSOER_js=require('./chunk-7DNQSOER.js'),chunkJKEAPTYP_js=require('./chunk-JKEAPTYP.js'),chunkG3JNFZPT_js=require('./chunk-G3JNFZPT.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'),chunkYBPHGEL2_js=require('./chunk-YBPHGEL2.js'),chunkZU73VG3X_js=require('./chunk-ZU73VG3X.js'),chunkY34DQYS7_js=require('./chunk-Y34DQYS7.js'),chunkN52S64SU_js=require('./chunk-N52S64SU.js'),chunkWW3X3ELF_js=require('./chunk-WW3X3ELF.js'),chunkCMZTI7SG_js=require('./chunk-CMZTI7SG.js'),chunk6LM3RAFO_js=require('./chunk-6LM3RAFO.js'),chunk3YCV2BA6_js=require('./chunk-3YCV2BA6.js'),chunkSSGJREE3_js=require('./chunk-SSGJREE3.js'),chunkFC6EG34C_js=require('./chunk-FC6EG34C.js'),chunkLI6WJ3LZ_js=require('./chunk-LI6WJ3LZ.js'),chunkRYZEIDNR_js=require('./chunk-RYZEIDNR.js'),chunkVXRY3V42_js=require('./chunk-VXRY3V42.js'),chunkIWUUVRLJ_js=require('./chunk-IWUUVRLJ.js'),chunkPM7CMTMB_js=require('./chunk-PM7CMTMB.js'),chunkVURIXCGY_js=require('./chunk-VURIXCGY.js');require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"LawfulBasisTracker",{enumerable:true,get:function(){return chunk7DNQSOER_js.a}});Object.defineProperty(exports,"CrossBorderTransferManager",{enumerable:true,get:function(){return chunkJKEAPTYP_js.a}});Object.defineProperty(exports,"ROPAManager",{enumerable:true,get:function(){return chunkG3JNFZPT_js.a}});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 chunkYBPHGEL2_js.a}});Object.defineProperty(exports,"ConsentManager",{enumerable:true,get:function(){return chunkYBPHGEL2_js.b}});Object.defineProperty(exports,"ConsentStorage",{enumerable:true,get:function(){return chunkYBPHGEL2_js.c}});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 chunkN52S64SU_js.b}});Object.defineProperty(exports,"DSRRequestForm",{enumerable:true,get:function(){return chunkN52S64SU_js.a}});Object.defineProperty(exports,"DSRTracker",{enumerable:true,get:function(){return chunkN52S64SU_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 chunk6LM3RAFO_js.a}});Object.defineProperty(exports,"DPIAReport",{enumerable:true,get:function(){return chunk6LM3RAFO_js.b}});Object.defineProperty(exports,"StepIndicator",{enumerable:true,get:function(){return chunk6LM3RAFO_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 chunkFC6EG34C_js.c}});Object.defineProperty(exports,"BreachReportForm",{enumerable:true,get:function(){return chunkFC6EG34C_js.a}});Object.defineProperty(exports,"BreachRiskAssessment",{enumerable:true,get:function(){return chunkFC6EG34C_js.b}});Object.defineProperty(exports,"RegulatoryReportGenerator",{enumerable:true,get:function(){return chunkFC6EG34C_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,"PolicyExporter",{enumerable:true,get:function(){return chunkVXRY3V42_js.c}});Object.defineProperty(exports,"PolicyGenerator",{enumerable:true,get:function(){return chunkVXRY3V42_js.a}});Object.defineProperty(exports,"PolicyPreview",{enumerable:true,get:function(){return chunkVXRY3V42_js.b}});Object.defineProperty(exports,"usePrivacyPolicy",{enumerable:true,get:function(){return chunkIWUUVRLJ_js.a}});Object.defineProperty(exports,"generatePolicyText",{enumerable:true,get:function(){return chunkPM7CMTMB_js.a}});Object.defineProperty(exports,"resolveClass",{enumerable:true,get:function(){return chunkVURIXCGY_js.a}});//# sourceMappingURL=index.js.map
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
2
2
  //# sourceMappingURL=index.js.map
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export{a as LawfulBasisTracker}from'./chunk-IC7VOOKJ.mjs';export{a as CrossBorderTransferManager}from'./chunk-IW5PHOG7.mjs';export{a as ROPAManager}from'./chunk-A7DRHSDQ.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-ICUZG6CD.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-HXCRMA4J.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-FZUCKGIM.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-4RGDNVR5.mjs';export{a as useBreach}from'./chunk-OITITR6K.mjs';export{a as calculateBreachSeverity}from'./chunk-RGYK4VAY.mjs';export{c as PolicyExporter,a as PolicyGenerator,b as PolicyPreview}from'./chunk-SKAMVXBI.mjs';export{a as usePrivacyPolicy}from'./chunk-DB3JH4DS.mjs';export{a as generatePolicyText}from'./chunk-UYP64PV7.mjs';export{a as resolveClass}from'./chunk-FDB6KZUD.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=index.mjs.map
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
2
2
  //# sourceMappingURL=index.mjs.map
@@ -16,6 +16,8 @@ interface LawfulBasisTrackerClassNames {
16
16
  input?: string;
17
17
  select?: string;
18
18
  submitButton?: string;
19
+ /** Alias for submitButton */
20
+ primaryButton?: string;
19
21
  statusBadge?: string;
20
22
  complianceScore?: string;
21
23
  gapAlert?: string;
@@ -76,6 +78,10 @@ interface LawfulBasisTrackerProps {
76
78
  */
77
79
  unstyled?: boolean;
78
80
  }
81
+ /**
82
+ * Lawful basis tracker component. Implements NDPA Section 25 requirements for documenting
83
+ * and tracking the lawful basis for each personal data processing activity.
84
+ */
79
85
  declare const LawfulBasisTracker: React.FC<LawfulBasisTrackerProps>;
80
86
 
81
87
  export { LawfulBasisTracker as L, type LawfulBasisTrackerClassNames as a };
@@ -16,6 +16,8 @@ interface LawfulBasisTrackerClassNames {
16
16
  input?: string;
17
17
  select?: string;
18
18
  submitButton?: string;
19
+ /** Alias for submitButton */
20
+ primaryButton?: string;
19
21
  statusBadge?: string;
20
22
  complianceScore?: string;
21
23
  gapAlert?: string;
@@ -76,6 +78,10 @@ interface LawfulBasisTrackerProps {
76
78
  */
77
79
  unstyled?: boolean;
78
80
  }
81
+ /**
82
+ * Lawful basis tracker component. Implements NDPA Section 25 requirements for documenting
83
+ * and tracking the lawful basis for each personal data processing activity.
84
+ */
79
85
  declare const LawfulBasisTracker: React.FC<LawfulBasisTrackerProps>;
80
86
 
81
87
  export { LawfulBasisTracker as L, type LawfulBasisTrackerClassNames as a };
@@ -1,4 +1,4 @@
1
- export { L as LawfulBasisTracker } from './lawful-basis-entry-CMPPM9Rh.mjs';
1
+ export { L as LawfulBasisTracker } from './lawful-basis-entry-CxZrofwG.mjs';
2
2
  export { u as useLawfulBasis } from './useLawfulBasis-CpWuHtyh.mjs';
3
3
  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
4
  export { L as LawfulBasis, a as LawfulBasisSummary, b as LegitimateInterestAssessment, P as ProcessingActivity, S as SensitiveDataCondition } from './lawful-basis-Cv1VmDLn.mjs';
@@ -1,4 +1,4 @@
1
- export { L as LawfulBasisTracker } from './lawful-basis-entry-BeSX7u0U.js';
1
+ export { L as LawfulBasisTracker } from './lawful-basis-entry-15qjKcNO.js';
2
2
  export { u as useLawfulBasis } from './useLawfulBasis-CCWF9waR.js';
3
3
  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
4
  export { L as LawfulBasis, a as LawfulBasisSummary, b as LegitimateInterestAssessment, P as ProcessingActivity, S as SensitiveDataCondition } from './lawful-basis-Cv1VmDLn.js';
@@ -1,2 +1,2 @@
1
- 'use strict';var chunk7DNQSOER_js=require('./chunk-7DNQSOER.js'),chunkLXRXDTPI_js=require('./chunk-LXRXDTPI.js'),chunkTDDAYVKK_js=require('./chunk-TDDAYVKK.js');require('./chunk-VURIXCGY.js'),require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"LawfulBasisTracker",{enumerable:true,get:function(){return chunk7DNQSOER_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'),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
2
2
  //# sourceMappingURL=lawful-basis.js.map
@@ -1,2 +1,2 @@
1
- export{a as LawfulBasisTracker}from'./chunk-IC7VOOKJ.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-FDB6KZUD.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=lawful-basis.mjs.map
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
2
2
  //# sourceMappingURL=lawful-basis.mjs.map
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { P as PolicySection, b as PolicyVariable } from './privacy-Ca6te9Ir.js';
3
- import './usePrivacyPolicy-CfySfBLS.js';
4
- import './privacy-BXz7O2ej.js';
3
+ import './useDefaultPrivacyPolicy-B7kTHbZh.js';
4
+ import './policy-templates-CIKcV0i1.js';
5
5
 
6
6
  interface PolicyGeneratorClassNames {
7
7
  /** Root container */
@@ -22,18 +22,22 @@ interface PolicyGeneratorClassNames {
22
22
  input?: string;
23
23
  /** Generate button */
24
24
  generateButton?: string;
25
+ /** Alias for generateButton */
26
+ primaryButton?: string;
25
27
  /** NDPA compliance notice */
26
28
  complianceNotice?: string;
27
29
  }
28
30
  interface PolicyGeneratorProps {
29
31
  /**
30
32
  * List of policy sections
33
+ * @default DEFAULT_POLICY_SECTIONS
31
34
  */
32
- sections: PolicySection[];
35
+ sections?: PolicySection[];
33
36
  /**
34
37
  * List of policy variables
38
+ * @default DEFAULT_POLICY_VARIABLES
35
39
  */
36
- variables: PolicyVariable[];
40
+ variables?: PolicyVariable[];
37
41
  /**
38
42
  * Callback function called when the policy is generated
39
43
  */
@@ -49,7 +53,7 @@ interface PolicyGeneratorProps {
49
53
  title?: string;
50
54
  /**
51
55
  * Description text displayed on the generator
52
- * @default "Generate an NDPA-compliant privacy policy for your organization."
56
+ * @default "Generate an NDPA-compliant privacy policy for your organization in accordance with NDPA Section 24."
53
57
  */
54
58
  description?: string;
55
59
  /**
@@ -85,6 +89,10 @@ interface PolicyGeneratorProps {
85
89
  */
86
90
  unstyled?: boolean;
87
91
  }
92
+ /**
93
+ * Privacy policy generator component. Implements NDPA Section 24 transparency requirements,
94
+ * helping organizations generate compliant privacy policies that disclose required information.
95
+ */
88
96
  declare const PolicyGenerator: React.FC<PolicyGeneratorProps>;
89
97
 
90
98
  interface PolicyPreviewClassNames {
@@ -201,6 +209,8 @@ interface PolicyExporterClassNames {
201
209
  formatOption?: string;
202
210
  /** Export button */
203
211
  exportButton?: string;
212
+ /** Alias for exportButton */
213
+ primaryButton?: string;
204
214
  /** NDPA compliance / export tips notice */
205
215
  complianceNotice?: string;
206
216
  /** Preview / export history area */
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { P as PolicySection, b as PolicyVariable } from './privacy-Ca6te9Ir.mjs';
3
- import './usePrivacyPolicy-Dit2sFuV.mjs';
4
- import './privacy-9FcJceMr.mjs';
3
+ import './useDefaultPrivacyPolicy-CUluF_ic.mjs';
4
+ import './policy-templates-DMsPwOSZ.mjs';
5
5
 
6
6
  interface PolicyGeneratorClassNames {
7
7
  /** Root container */
@@ -22,18 +22,22 @@ interface PolicyGeneratorClassNames {
22
22
  input?: string;
23
23
  /** Generate button */
24
24
  generateButton?: string;
25
+ /** Alias for generateButton */
26
+ primaryButton?: string;
25
27
  /** NDPA compliance notice */
26
28
  complianceNotice?: string;
27
29
  }
28
30
  interface PolicyGeneratorProps {
29
31
  /**
30
32
  * List of policy sections
33
+ * @default DEFAULT_POLICY_SECTIONS
31
34
  */
32
- sections: PolicySection[];
35
+ sections?: PolicySection[];
33
36
  /**
34
37
  * List of policy variables
38
+ * @default DEFAULT_POLICY_VARIABLES
35
39
  */
36
- variables: PolicyVariable[];
40
+ variables?: PolicyVariable[];
37
41
  /**
38
42
  * Callback function called when the policy is generated
39
43
  */
@@ -49,7 +53,7 @@ interface PolicyGeneratorProps {
49
53
  title?: string;
50
54
  /**
51
55
  * Description text displayed on the generator
52
- * @default "Generate an NDPA-compliant privacy policy for your organization."
56
+ * @default "Generate an NDPA-compliant privacy policy for your organization in accordance with NDPA Section 24."
53
57
  */
54
58
  description?: string;
55
59
  /**
@@ -85,6 +89,10 @@ interface PolicyGeneratorProps {
85
89
  */
86
90
  unstyled?: boolean;
87
91
  }
92
+ /**
93
+ * Privacy policy generator component. Implements NDPA Section 24 transparency requirements,
94
+ * helping organizations generate compliant privacy policies that disclose required information.
95
+ */
88
96
  declare const PolicyGenerator: React.FC<PolicyGeneratorProps>;
89
97
 
90
98
  interface PolicyPreviewClassNames {
@@ -201,6 +209,8 @@ interface PolicyExporterClassNames {
201
209
  formatOption?: string;
202
210
  /** Export button */
203
211
  exportButton?: string;
212
+ /** Alias for exportButton */
213
+ primaryButton?: string;
204
214
  /** NDPA compliance / export tips notice */
205
215
  complianceNotice?: string;
206
216
  /** Preview / export history area */
@@ -0,0 +1,36 @@
1
+ import { P as PolicySection, O as OrganizationInfo, b as PolicyVariable } from './privacy-Ca6te9Ir.js';
2
+
3
+ /**
4
+ * Generates policy text by replacing variables in a template with organization-specific values
5
+ * @param sectionsOrTemplate The policy sections or template string to generate text for
6
+ * @param organizationInfoOrVariables The organization information or variable map to use for replacement
7
+ * @returns The generated policy text or an object with the generated text and metadata
8
+ */
9
+ declare function generatePolicyText(sectionsOrTemplate: PolicySection[] | string, organizationInfoOrVariables: OrganizationInfo | Record<string, string>): string | {
10
+ fullText: string;
11
+ sectionTexts: Record<string, string>;
12
+ missingVariables: string[];
13
+ };
14
+
15
+ /**
16
+ * Default NDPA-compliant privacy policy sections.
17
+ * Each section uses {{variable}} placeholders that are resolved at generation time.
18
+ */
19
+ declare const DEFAULT_POLICY_SECTIONS: PolicySection[];
20
+ /**
21
+ * Default policy variables for NDPA-compliant privacy policies.
22
+ * These map to the {{variable}} placeholders used in DEFAULT_POLICY_SECTIONS.
23
+ */
24
+ declare const DEFAULT_POLICY_VARIABLES: PolicyVariable[];
25
+ /**
26
+ * Creates a complete business privacy policy template with default
27
+ * NDPA-compliant sections and variables.
28
+ *
29
+ * @returns An object containing the default sections and variables.
30
+ */
31
+ declare function createBusinessPolicyTemplate(): {
32
+ sections: PolicySection[];
33
+ variables: PolicyVariable[];
34
+ };
35
+
36
+ export { DEFAULT_POLICY_SECTIONS as D, DEFAULT_POLICY_VARIABLES as a, createBusinessPolicyTemplate as c, generatePolicyText as g };
@@ -0,0 +1,36 @@
1
+ import { P as PolicySection, O as OrganizationInfo, b as PolicyVariable } from './privacy-Ca6te9Ir.mjs';
2
+
3
+ /**
4
+ * Generates policy text by replacing variables in a template with organization-specific values
5
+ * @param sectionsOrTemplate The policy sections or template string to generate text for
6
+ * @param organizationInfoOrVariables The organization information or variable map to use for replacement
7
+ * @returns The generated policy text or an object with the generated text and metadata
8
+ */
9
+ declare function generatePolicyText(sectionsOrTemplate: PolicySection[] | string, organizationInfoOrVariables: OrganizationInfo | Record<string, string>): string | {
10
+ fullText: string;
11
+ sectionTexts: Record<string, string>;
12
+ missingVariables: string[];
13
+ };
14
+
15
+ /**
16
+ * Default NDPA-compliant privacy policy sections.
17
+ * Each section uses {{variable}} placeholders that are resolved at generation time.
18
+ */
19
+ declare const DEFAULT_POLICY_SECTIONS: PolicySection[];
20
+ /**
21
+ * Default policy variables for NDPA-compliant privacy policies.
22
+ * These map to the {{variable}} placeholders used in DEFAULT_POLICY_SECTIONS.
23
+ */
24
+ declare const DEFAULT_POLICY_VARIABLES: PolicyVariable[];
25
+ /**
26
+ * Creates a complete business privacy policy template with default
27
+ * NDPA-compliant sections and variables.
28
+ *
29
+ * @returns An object containing the default sections and variables.
30
+ */
31
+ declare function createBusinessPolicyTemplate(): {
32
+ sections: PolicySection[];
33
+ variables: PolicyVariable[];
34
+ };
35
+
36
+ export { DEFAULT_POLICY_SECTIONS as D, DEFAULT_POLICY_VARIABLES as a, createBusinessPolicyTemplate as c, generatePolicyText as g };
package/dist/policy.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- export { P as PolicyExporter, b as PolicyGenerator, d as PolicyPreview } from './policy-kZN23hrR.mjs';
2
- export { u as usePrivacyPolicy } from './usePrivacyPolicy-Dit2sFuV.mjs';
3
- export { g as generatePolicyText } from './privacy-9FcJceMr.mjs';
1
+ export { P as PolicyExporter, b as PolicyGenerator, d as PolicyPreview } from './policy-E0fXZkda.mjs';
2
+ export { u as useDefaultPrivacyPolicy, a as usePrivacyPolicy } from './useDefaultPrivacyPolicy-CUluF_ic.mjs';
3
+ export { D as DEFAULT_POLICY_SECTIONS, a as DEFAULT_POLICY_VARIABLES, c as createBusinessPolicyTemplate, g as generatePolicyText } from './policy-templates-DMsPwOSZ.mjs';
4
4
  export { O as OrganizationInfo, P as PolicySection, a as PolicyTemplate, b as PolicyVariable, c as PrivacyPolicy } from './privacy-Ca6te9Ir.mjs';
5
5
  import 'react';
package/dist/policy.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { P as PolicyExporter, b as PolicyGenerator, d as PolicyPreview } from './policy-dmsRlqgM.js';
2
- export { u as usePrivacyPolicy } from './usePrivacyPolicy-CfySfBLS.js';
3
- export { g as generatePolicyText } from './privacy-BXz7O2ej.js';
1
+ export { P as PolicyExporter, b as PolicyGenerator, d as PolicyPreview } from './policy-D2_jh5-T.js';
2
+ export { u as useDefaultPrivacyPolicy, a as usePrivacyPolicy } from './useDefaultPrivacyPolicy-B7kTHbZh.js';
3
+ export { D as DEFAULT_POLICY_SECTIONS, a as DEFAULT_POLICY_VARIABLES, c as createBusinessPolicyTemplate, g as generatePolicyText } from './policy-templates-CIKcV0i1.js';
4
4
  export { O as OrganizationInfo, P as PolicySection, a as PolicyTemplate, b as PolicyVariable, c as PrivacyPolicy } from './privacy-Ca6te9Ir.js';
5
5
  import 'react';
package/dist/policy.js CHANGED
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkVXRY3V42_js=require('./chunk-VXRY3V42.js'),chunkIWUUVRLJ_js=require('./chunk-IWUUVRLJ.js'),chunkPM7CMTMB_js=require('./chunk-PM7CMTMB.js');require('./chunk-VURIXCGY.js'),require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"PolicyExporter",{enumerable:true,get:function(){return chunkVXRY3V42_js.c}});Object.defineProperty(exports,"PolicyGenerator",{enumerable:true,get:function(){return chunkVXRY3V42_js.a}});Object.defineProperty(exports,"PolicyPreview",{enumerable:true,get:function(){return chunkVXRY3V42_js.b}});Object.defineProperty(exports,"usePrivacyPolicy",{enumerable:true,get:function(){return chunkIWUUVRLJ_js.a}});Object.defineProperty(exports,"generatePolicyText",{enumerable:true,get:function(){return chunkPM7CMTMB_js.a}});//# sourceMappingURL=policy.js.map
1
+ 'use strict';var chunkBGHQTZAC_js=require('./chunk-BGHQTZAC.js'),chunkTCJCE6WN_js=require('./chunk-TCJCE6WN.js'),chunk5RSOLEEP_js=require('./chunk-5RSOLEEP.js');require('./chunk-E64TU6IU.js'),require('./chunk-MQFZHA2D.js');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}});//# sourceMappingURL=policy.js.map
2
2
  //# sourceMappingURL=policy.js.map
package/dist/policy.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export{c as PolicyExporter,a as PolicyGenerator,b as PolicyPreview}from'./chunk-SKAMVXBI.mjs';export{a as usePrivacyPolicy}from'./chunk-DB3JH4DS.mjs';export{a as generatePolicyText}from'./chunk-UYP64PV7.mjs';import'./chunk-FDB6KZUD.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=policy.mjs.map
1
+ 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';import'./chunk-AYKLAEOU.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=policy.mjs.map
2
2
  //# sourceMappingURL=policy.mjs.map
@@ -16,8 +16,12 @@ interface ROPAManagerClassNames {
16
16
  input?: string;
17
17
  select?: string;
18
18
  submitButton?: string;
19
+ /** Alias for submitButton */
20
+ primaryButton?: string;
19
21
  statusBadge?: string;
20
22
  exportButton?: string;
23
+ /** Alias for exportButton */
24
+ secondaryButton?: string;
21
25
  complianceGap?: string;
22
26
  }
23
27
  interface ROPAManagerProps {
@@ -44,7 +48,7 @@ interface ROPAManagerProps {
44
48
  title?: string;
45
49
  /**
46
50
  * Description text
47
- * @default "Maintain a comprehensive record of all data processing activities as required by the NDPA 2023."
51
+ * @default "Maintain a comprehensive record of all data processing activities as required by the NDPA accountability principle."
48
52
  */
49
53
  description?: string;
50
54
  /**
@@ -66,6 +70,11 @@ interface ROPAManagerProps {
66
70
  */
67
71
  unstyled?: boolean;
68
72
  }
73
+ /**
74
+ * Record of Processing Activities (ROPA) management component. Implements the NDPA
75
+ * accountability principle, requiring organizations to maintain comprehensive records
76
+ * of all personal data processing activities.
77
+ */
69
78
  declare const ROPAManager: React.FC<ROPAManagerProps>;
70
79
 
71
80
  export { ROPAManager as R, type ROPAManagerClassNames as a };
@@ -16,8 +16,12 @@ interface ROPAManagerClassNames {
16
16
  input?: string;
17
17
  select?: string;
18
18
  submitButton?: string;
19
+ /** Alias for submitButton */
20
+ primaryButton?: string;
19
21
  statusBadge?: string;
20
22
  exportButton?: string;
23
+ /** Alias for exportButton */
24
+ secondaryButton?: string;
21
25
  complianceGap?: string;
22
26
  }
23
27
  interface ROPAManagerProps {
@@ -44,7 +48,7 @@ interface ROPAManagerProps {
44
48
  title?: string;
45
49
  /**
46
50
  * Description text
47
- * @default "Maintain a comprehensive record of all data processing activities as required by the NDPA 2023."
51
+ * @default "Maintain a comprehensive record of all data processing activities as required by the NDPA accountability principle."
48
52
  */
49
53
  description?: string;
50
54
  /**
@@ -66,6 +70,11 @@ interface ROPAManagerProps {
66
70
  */
67
71
  unstyled?: boolean;
68
72
  }
73
+ /**
74
+ * Record of Processing Activities (ROPA) management component. Implements the NDPA
75
+ * accountability principle, requiring organizations to maintain comprehensive records
76
+ * of all personal data processing activities.
77
+ */
69
78
  declare const ROPAManager: React.FC<ROPAManagerProps>;
70
79
 
71
80
  export { ROPAManager as R, type ROPAManagerClassNames as a };
package/dist/ropa.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- export { R as ROPAManager } from './ropa-entry-CZJ91ymk.mjs';
1
+ export { R as ROPAManager } from './ropa-entry-DiOThOc2.mjs';
2
2
  export { U as UseROPAOptions, a as UseROPAReturn, u as useROPA } from './useROPA-DLFdjkxP.mjs';
3
3
  export { P as ProcessingRecord, R as ROPAComplianceGap, a as ROPASummary, b as ROPAValidationResult, c as RecordOfProcessingActivities, e as exportROPAToCSV, g as generateROPASummary, i as identifyComplianceGaps, v as validateProcessingRecord } from './ropa-DP7pPPql.mjs';
4
4
  import 'react';
package/dist/ropa.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { R as ROPAManager } from './ropa-entry-DIEQ9WFs.js';
1
+ export { R as ROPAManager } from './ropa-entry-B0D7X1GV.js';
2
2
  export { U as UseROPAOptions, a as UseROPAReturn, u as useROPA } from './useROPA-BhJ3kvHp.js';
3
3
  export { P as ProcessingRecord, R as ROPAComplianceGap, a as ROPASummary, b as ROPAValidationResult, c as RecordOfProcessingActivities, e as exportROPAToCSV, g as generateROPASummary, i as identifyComplianceGaps, v as validateProcessingRecord } from './ropa-Li6UlL5H.js';
4
4
  import 'react';
package/dist/ropa.js CHANGED
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkG3JNFZPT_js=require('./chunk-G3JNFZPT.js'),chunk4A354HL3_js=require('./chunk-4A354HL3.js'),chunkSWF3YVE5_js=require('./chunk-SWF3YVE5.js');require('./chunk-VURIXCGY.js'),require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"ROPAManager",{enumerable:true,get:function(){return chunkG3JNFZPT_js.a}});Object.defineProperty(exports,"useROPA",{enumerable:true,get:function(){return chunk4A354HL3_js.a}});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}});//# sourceMappingURL=ropa.js.map
1
+ 'use strict';var chunkUZ5EZOA7_js=require('./chunk-UZ5EZOA7.js'),chunk4A354HL3_js=require('./chunk-4A354HL3.js'),chunkSWF3YVE5_js=require('./chunk-SWF3YVE5.js');require('./chunk-E64TU6IU.js'),require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"ROPAManager",{enumerable:true,get:function(){return chunkUZ5EZOA7_js.a}});Object.defineProperty(exports,"useROPA",{enumerable:true,get:function(){return chunk4A354HL3_js.a}});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}});//# sourceMappingURL=ropa.js.map
2
2
  //# sourceMappingURL=ropa.js.map
package/dist/ropa.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export{a as ROPAManager}from'./chunk-A7DRHSDQ.mjs';export{a as useROPA}from'./chunk-T44JQT2O.mjs';export{c as exportROPAToCSV,b as generateROPASummary,d as identifyComplianceGaps,a as validateProcessingRecord}from'./chunk-PYEX7DFR.mjs';import'./chunk-FDB6KZUD.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=ropa.mjs.map
1
+ export{a as ROPAManager}from'./chunk-4VVARDN2.mjs';export{a as useROPA}from'./chunk-T44JQT2O.mjs';export{c as exportROPAToCSV,b as generateROPASummary,d as identifyComplianceGaps,a as validateProcessingRecord}from'./chunk-PYEX7DFR.mjs';import'./chunk-AYKLAEOU.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=ropa.mjs.map
2
2
  //# sourceMappingURL=ropa.mjs.map
package/dist/styles.css CHANGED
@@ -1,38 +1,50 @@
1
- @keyframes slide-in-bottom {
2
- from {
3
- transform: translateY(100%);
4
- }
5
- to {
6
- transform: translateY(0);
7
- }
1
+ /* NDPA Toolkit Design Tokens */
2
+ :root {
3
+ --ndpr-primary: 37 99 235; /* blue-600 RGB */
4
+ --ndpr-primary-hover: 29 78 216; /* blue-700 RGB */
5
+ --ndpr-primary-foreground: 255 255 255;
6
+ --ndpr-background: 255 255 255;
7
+ --ndpr-foreground: 17 24 39; /* gray-900 RGB */
8
+ --ndpr-muted: 243 244 246; /* gray-100 RGB */
9
+ --ndpr-muted-foreground: 107 114 128; /* gray-500 RGB */
10
+ --ndpr-border: 229 231 235; /* gray-200 RGB */
11
+ --ndpr-input: 229 231 235;
12
+ --ndpr-ring: 37 99 235;
13
+ --ndpr-radius: 0.375rem;
14
+ --ndpr-success: 22 163 74; /* green-600 RGB */
15
+ --ndpr-destructive: 220 38 38; /* red-600 RGB */
16
+ --ndpr-warning: 217 119 6; /* amber-600 RGB */
8
17
  }
9
18
 
10
- @keyframes slide-in-top {
11
- from {
12
- transform: translateY(-100%);
13
- }
14
- to {
15
- transform: translateY(0);
16
- }
19
+ .dark, [data-theme="dark"] {
20
+ --ndpr-primary: 96 165 250; /* blue-400 RGB */
21
+ --ndpr-primary-hover: 147 197 253; /* blue-300 RGB */
22
+ --ndpr-primary-foreground: 255 255 255;
23
+ --ndpr-background: 31 41 55; /* gray-800 RGB */
24
+ --ndpr-foreground: 255 255 255;
25
+ --ndpr-muted: 55 65 81; /* gray-700 RGB */
26
+ --ndpr-muted-foreground: 156 163 175; /* gray-400 RGB */
27
+ --ndpr-border: 75 85 99; /* gray-600 RGB */
28
+ --ndpr-input: 75 85 99;
29
+ --ndpr-ring: 96 165 250;
17
30
  }
18
31
 
19
- @keyframes fade-in {
20
- from {
21
- opacity: 0;
22
- }
23
- to {
24
- opacity: 1;
25
- }
32
+ /* Keep existing animation keyframes */
33
+ @keyframes slide-in-bottom {
34
+ from { transform: translateY(100%); }
35
+ to { transform: translateY(0); }
26
36
  }
27
37
 
28
- .animate-slide-in {
29
- animation: slide-in-bottom 0.3s ease-out;
38
+ @keyframes slide-in-top {
39
+ from { transform: translateY(-100%); }
40
+ to { transform: translateY(0); }
30
41
  }
31
42
 
32
- .animate-slide-in-top {
33
- animation: slide-in-top 0.3s ease-out;
43
+ @keyframes fade-in {
44
+ from { opacity: 0; }
45
+ to { opacity: 1; }
34
46
  }
35
47
 
36
- .animate-fade-in {
37
- animation: fade-in 0.3s ease-out;
38
- }
48
+ .animate-slide-in { animation: slide-in-bottom 0.3s ease-out; }
49
+ .animate-slide-in-top { animation: slide-in-top 0.3s ease-out; }
50
+ .animate-fade-in { animation: fade-in 0.3s ease-out; }
@@ -0,0 +1 @@
1
+ declare module '@tantainnovative/ndpr-toolkit/styles';
@@ -1,4 +1,4 @@
1
- import { a as PolicyTemplate, c as PrivacyPolicy, O as OrganizationInfo } from './privacy-Ca6te9Ir.js';
1
+ import { c as PrivacyPolicy, a as PolicyTemplate, O as OrganizationInfo } from './privacy-Ca6te9Ir.js';
2
2
 
3
3
  interface UsePrivacyPolicyOptions {
4
4
  /**
@@ -86,4 +86,41 @@ interface UsePrivacyPolicyReturn {
86
86
  */
87
87
  declare function usePrivacyPolicy({ templates, initialPolicy, storageKey, useLocalStorage, onGenerate }: UsePrivacyPolicyOptions): UsePrivacyPolicyReturn;
88
88
 
89
- export { usePrivacyPolicy as u };
89
+ interface UseDefaultPrivacyPolicyOptions {
90
+ /**
91
+ * Organisation information to pre-fill into the policy variables.
92
+ */
93
+ orgInfo?: {
94
+ /** Organisation name */
95
+ name?: string;
96
+ /** Privacy contact email */
97
+ email?: string;
98
+ /** Data Protection Officer name */
99
+ dpoName?: string;
100
+ };
101
+ /**
102
+ * Storage key for policy data.
103
+ * @default "ndpr_privacy_policy"
104
+ */
105
+ storageKey?: string;
106
+ /**
107
+ * Whether to persist policy data in local storage.
108
+ * @default true
109
+ */
110
+ useLocalStorage?: boolean;
111
+ }
112
+ /**
113
+ * Convenience wrapper around `usePrivacyPolicy` that automatically
114
+ * loads the default NDPA-compliant business policy template and
115
+ * pre-fills common organisation variables.
116
+ *
117
+ * @example
118
+ * ```tsx
119
+ * const policy = useDefaultPrivacyPolicy({
120
+ * orgInfo: { name: 'Acme Ltd', email: 'privacy@acme.ng', dpoName: 'Jane Doe' }
121
+ * });
122
+ * ```
123
+ */
124
+ declare function useDefaultPrivacyPolicy(options?: UseDefaultPrivacyPolicyOptions): UsePrivacyPolicyReturn;
125
+
126
+ export { usePrivacyPolicy as a, useDefaultPrivacyPolicy as u };