@tantainnovative/ndpr-toolkit 3.10.3 → 3.10.5
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.
- package/CHANGELOG.md +256 -155
- package/README.md +6 -6
- package/dist/adapters.js +1 -1
- package/dist/adapters.mjs +1 -1
- package/dist/breach.js +1 -1
- package/dist/breach.mjs +1 -1
- package/dist/{chunk-EEQALYOY.mjs → chunk-25TNTLHJ.mjs} +1 -1
- package/dist/{chunk-GTYXVAJX.mjs → chunk-43OQNS2J.mjs} +3 -3
- package/dist/chunk-5EKQX6GM.mjs +1 -0
- package/dist/{chunk-W7OLQRJP.js → chunk-6GM2PBTF.js} +1 -1
- package/dist/{chunk-Q64735OC.js → chunk-6LJHLE6G.js} +8 -8
- package/dist/chunk-73BMSK67.js +1 -0
- package/dist/chunk-7PMPKVY3.mjs +1 -0
- package/dist/{chunk-EFIBHKQE.mjs → chunk-7RBO42IW.mjs} +1 -1
- package/dist/{chunk-RMQ7OLNY.mjs → chunk-BIJSMSUU.mjs} +8 -8
- package/dist/{chunk-7ZZO7GVB.js → chunk-C2KEXHRX.js} +1 -1
- package/dist/chunk-CNM6G5IA.js +1 -0
- package/dist/{chunk-UKLU6BQF.mjs → chunk-CWY2FMIC.mjs} +1 -1
- package/dist/{chunk-LVGT3DLT.js → chunk-D2ZKDQVL.js} +1 -1
- package/dist/chunk-D3DVVJCT.js +1 -0
- package/dist/{chunk-V3RYHNHN.js → chunk-EKNWO4DK.js} +1 -1
- package/dist/chunk-FMJ6ICLJ.js +1 -0
- package/dist/chunk-G7JKRYM5.mjs +1 -0
- package/dist/{chunk-R7545FP4.mjs → chunk-GEP52QFH.mjs} +1 -1
- package/dist/{chunk-P4LNLCSF.js → chunk-H3IULCE3.js} +1 -1
- package/dist/chunk-IPWX5I5P.mjs +2 -0
- package/dist/chunk-IVSNHT24.mjs +0 -0
- package/dist/{chunk-N3MQQUQP.js → chunk-JS7SYL5P.js} +0 -0
- package/dist/chunk-JWAN5J4Y.js +1 -0
- package/dist/{chunk-2MIQXECH.mjs → chunk-KE2FZH2V.mjs} +1 -1
- package/dist/chunk-KY6WYHWB.mjs +2 -0
- package/dist/chunk-MOHBL6LX.mjs +1 -0
- package/dist/{chunk-EFIWANHF.mjs → chunk-MTSZ7GL6.mjs} +1 -1
- package/dist/{chunk-Y3MKMAFQ.mjs → chunk-NBQQ2GN3.mjs} +1 -1
- package/dist/{chunk-UAV7V4EM.js → chunk-NDKDKDDX.js} +1 -1
- package/dist/{chunk-3GRGYT3P.js → chunk-NUOHT3LO.js} +1 -1
- package/dist/chunk-O2RDZGM2.js +2 -0
- package/dist/{chunk-LTPSN2SU.mjs → chunk-OLEUIYE2.mjs} +1 -1
- package/dist/{chunk-HXWHL4BD.js → chunk-QHW4UKGJ.js} +2 -2
- package/dist/chunk-R3CU7DTT.js +1 -0
- package/dist/{chunk-HWHBINVN.mjs → chunk-RBMLGRDN.mjs} +1 -1
- package/dist/{chunk-Z763UI5U.js → chunk-RC3XFXTJ.js} +1 -1
- package/dist/{chunk-QPRYXVH2.js → chunk-RDALAH3Y.js} +1 -1
- package/dist/{chunk-I3Y4LOSL.js → chunk-SSH4U4TJ.js} +3 -3
- package/dist/{chunk-PCU6GKBE.mjs → chunk-TAHSSITO.mjs} +1 -1
- package/dist/{chunk-ATFUSHC2.mjs → chunk-TDHH7GS2.mjs} +1 -1
- package/dist/chunk-TWJHEIQH.js +2 -0
- package/dist/{chunk-XS3Z4UT7.js → chunk-US2VGJ7I.js} +1 -1
- package/dist/{chunk-VYAL2TGT.mjs → chunk-UVXS7KRV.mjs} +1 -1
- package/dist/{chunk-7IFSWCQP.js → chunk-WKTKTLMF.js} +1 -1
- package/dist/chunk-WYH3OA5L.mjs +1 -0
- package/dist/{chunk-UASG46LP.mjs → chunk-XC3DLYEG.mjs} +1 -1
- package/dist/{chunk-TMXK4QKK.mjs → chunk-XN2UYZXH.mjs} +11 -11
- package/dist/{chunk-XO3VQYTL.js → chunk-YWCBI7SI.js} +11 -11
- package/dist/consent.js +1 -1
- package/dist/consent.mjs +1 -1
- package/dist/core.d.mts +2 -2
- package/dist/core.d.ts +2 -2
- package/dist/core.js +1 -1
- package/dist/core.mjs +1 -1
- package/dist/cross-border-lite.js +1 -1
- package/dist/cross-border-lite.mjs +1 -1
- package/dist/cross-border.d.mts +3 -3
- package/dist/cross-border.d.ts +3 -3
- package/dist/cross-border.js +1 -1
- package/dist/cross-border.mjs +1 -1
- package/dist/dpia.d.mts +3 -3
- package/dist/dpia.d.ts +3 -3
- package/dist/dsr.d.mts +1 -1
- package/dist/dsr.d.ts +1 -1
- package/dist/dsr.js +1 -1
- package/dist/dsr.mjs +1 -1
- package/dist/headless.d.mts +3 -3
- package/dist/headless.d.ts +3 -3
- package/dist/headless.js +1 -1
- package/dist/headless.mjs +1 -1
- package/dist/hooks.d.mts +3 -3
- package/dist/hooks.d.ts +3 -3
- package/dist/hooks.js +1 -1
- package/dist/hooks.mjs +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/policy.js +1 -1
- package/dist/policy.mjs +1 -1
- package/dist/presets-consent.js +1 -1
- package/dist/presets-consent.mjs +1 -1
- package/dist/presets-dsr.js +1 -1
- package/dist/presets-dsr.mjs +1 -1
- package/dist/presets-policy.js +1 -1
- package/dist/presets-policy.mjs +1 -1
- package/dist/presets.d.mts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/presets.js +1 -1
- package/dist/presets.mjs +1 -1
- package/dist/server.d.mts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +1 -1
- package/dist/server.mjs +1 -1
- package/dist/unstyled.d.mts +1 -1
- package/dist/unstyled.d.ts +1 -1
- package/dist/unstyled.js +1 -1
- package/dist/unstyled.mjs +1 -1
- package/package.json +4 -7
- package/dist/chunk-4QXTB3L6.js +0 -1
- package/dist/chunk-5IOC3VAW.js +0 -1
- package/dist/chunk-732C2EVN.js +0 -1
- package/dist/chunk-AOHKVFAS.mjs +0 -322
- package/dist/chunk-BFAX7JQA.mjs +0 -1
- package/dist/chunk-BRS52EDT.js +0 -1
- package/dist/chunk-LQTARVPU.mjs +0 -1
- package/dist/chunk-PL4XNCQA.mjs +0 -1
- package/dist/chunk-ROTLSZMV.js +0 -1
- package/dist/chunk-RYREGZVQ.js +0 -1
- package/dist/chunk-S6COXIZA.js +0 -2
- package/dist/chunk-U5RWJRGA.mjs +0 -1
- package/dist/chunk-W47OSMT6.js +0 -2
- package/dist/chunk-W65ZWTLD.mjs +0 -1
- package/dist/chunk-XJO4DH3L.mjs +0 -2
- package/dist/chunk-ZHFLBL63.mjs +0 -2
package/dist/core.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{c as hausaLocale,b as igboLocale,d as pidginLocale,a as yorubaLocale}from'./chunk-5EKQX6GM.mjs';export{a as ORG_POLICY_TEMPLATE_REGISTRY,b as createOrgTemplate,b as templateContextFor}from'./chunk-CWY2FMIC.mjs';export{a as getComplianceScore}from'./chunk-7RBO42IW.mjs';export{a as calculateBreachSeverity}from'./chunk-WTGKZX7J.mjs';export{c as DEFAULT_POLICY_SECTIONS,d as DEFAULT_POLICY_VARIABLES,e as createBusinessPolicyTemplate,a as findUnfilledTokens,b as generatePolicyText}from'./chunk-NBQQ2GN3.mjs';export{c as assemblePolicy,e as createDefaultContext,f as evaluatePolicyCompliance}from'./chunk-BIJSMSUU.mjs';export{h as assessTransferRisk,f as getTransferMechanismDescription,e as isNDPCApprovalRequired,g as validateTransfer}from'./chunk-7BJXI2HI.mjs';export{c as assessComplianceGaps,d as generateLawfulBasisSummary,b as getLawfulBasisDescription,a as validateProcessingActivity}from'./chunk-LWIKDDSU.mjs';export{c as exportROPAToCSV,b as generateROPASummary,d as identifyComplianceGaps,a as validateProcessingRecord}from'./chunk-XP5PL6K7.mjs';export{c as appendAuditEntry,a as createAuditEntry,b as getAuditLog}from'./chunk-V7UFP6QU.mjs';export{a as validateConsent,b as validateConsentOptions}from'./chunk-PJNKQPQP.mjs';export{a as sanitizeInput}from'./chunk-EWVK45Z3.mjs';export{b as formatDSRRequest,a as validateDsrSubmission}from'./chunk-RZ6GC6WN.mjs';export{a as NDPRProvider,b as useNDPRConfig,c as useNDPRLocale}from'./chunk-25TNTLHJ.mjs';export{a as defaultLocale,b as mergeLocale}from'./chunk-RBMLGRDN.mjs';export{a as assessDPIARisk}from'./chunk-LRRENTT5.mjs';export{b as LEGAL_DISCLAIMER_LONG,a as LEGAL_DISCLAIMER_SHORT,c as legalDisclaimerBlock}from'./chunk-ITCY2Z66.mjs';import'./chunk-ZJYULEER.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
'use strict';var chunkAME4HJR4_js=require('./chunk-AME4HJR4.js');require('./chunk-RFPLZDIO.js');var react=require('react'),jsxRuntime=require('react/jsx-runtime');var _={adequacy_decision:"Adequacy Decision (Section 41)",standard_clauses:"Standard Contractual Clauses (Section 42)",binding_corporate_rules:"Binding Corporate Rules (Section 43)",ndpc_authorization:"NDPC Authorization (Section 44)",explicit_consent:"Explicit Consent (Section 45(a))",contract_performance:"Contract Performance (Section 45(b))",public_interest:"Public Interest (Section 45(c))",legal_claims:"Legal Claims (Section 45(d))",vital_interests:"Vital Interests (Section 45(e))"},x={adequate:"Adequate",inadequate:"Inadequate",pending_review:"Pending Review",unknown:"Unknown"},B={active:"Active",suspended:"Suspended",terminated:"Terminated",pending_approval:"Pending Approval"},M={active:"ndpr-badge ndpr-badge--success",suspended:"ndpr-badge ndpr-badge--warning",terminated:"ndpr-badge ndpr-badge--neutral",pending_approval:"ndpr-badge ndpr-badge--info"},w={low:"ndpr-badge ndpr-badge--success",medium:"ndpr-badge ndpr-badge--warning",high:"ndpr-badge ndpr-badge--destructive"},L=new Set(["standard_clauses","binding_corporate_rules","ndpc_authorization"]),q=({transfers:c,title:T="Cross-Border Data Transfer Manager",description:y="Manage and document cross-border personal data transfers in compliance with NDPA 2023 Part
|
|
2
|
+
'use strict';var chunkAME4HJR4_js=require('./chunk-AME4HJR4.js');require('./chunk-RFPLZDIO.js');var react=require('react'),jsxRuntime=require('react/jsx-runtime');var _={adequacy_decision:"Adequacy Decision (Section 41)",standard_clauses:"Standard Contractual Clauses (Section 42)",binding_corporate_rules:"Binding Corporate Rules (Section 43)",ndpc_authorization:"NDPC Authorization (Section 44)",explicit_consent:"Explicit Consent (Section 45(a))",contract_performance:"Contract Performance (Section 45(b))",public_interest:"Public Interest (Section 45(c))",legal_claims:"Legal Claims (Section 45(d))",vital_interests:"Vital Interests (Section 45(e))"},x={adequate:"Adequate",inadequate:"Inadequate",pending_review:"Pending Review",unknown:"Unknown"},B={active:"Active",suspended:"Suspended",terminated:"Terminated",pending_approval:"Pending Approval"},M={active:"ndpr-badge ndpr-badge--success",suspended:"ndpr-badge ndpr-badge--warning",terminated:"ndpr-badge ndpr-badge--neutral",pending_approval:"ndpr-badge ndpr-badge--info"},w={low:"ndpr-badge ndpr-badge--success",medium:"ndpr-badge ndpr-badge--warning",high:"ndpr-badge ndpr-badge--destructive"},L=new Set(["standard_clauses","binding_corporate_rules","ndpc_authorization"]),q=({transfers:c,title:T="Cross-Border Data Transfer Manager",description:y="Manage and document cross-border personal data transfers in compliance with NDPA 2023 Part VIII (Sections 41-43).",className:S="",classNames:r,unstyled:a,showSummary:k=true,showRiskAlerts:R=true,onTransferClick:l})=>{let f=react.useMemo(()=>[...c].sort((e,o)=>o.updatedAt-e.updatedAt),[c]),n=react.useMemo(()=>{var b,h,C;let e=0,o=0,s=0,m=0,v=0;for(let p of c){let u=p.status==="active";u&&(e+=1),(p.status==="pending_approval"||(b=p.ndpcApproval)!=null&&b.required&&!((h=p.ndpcApproval)!=null&&h.approved))&&(o+=1),p.riskLevel==="high"&&u&&(s+=1),!p.tiaCompleted&&u&&(m+=1),((C=p.ndpcApproval)!=null&&C.required||L.has(p.transferMechanism))&&(v+=1);}return {totalActiveTransfers:e,pendingApproval:o,highRiskTransfers:s,missingTIA:m,ndpcApprovalRequired:v}},[c]),g=typeof l=="function";return jsxRuntime.jsxs("div",{"data-ndpr-component":"cross-border-transfer-manager-lite",className:chunkAME4HJR4_js.a(`bg-white dark:bg-gray-800 p-6 rounded-lg shadow-md ${S}`,r==null?void 0:r.root,a),children:[jsxRuntime.jsxs("div",{className:chunkAME4HJR4_js.a("",r==null?void 0:r.header,a),children:[jsxRuntime.jsx("h2",{className:chunkAME4HJR4_js.a("ndpr-section-heading",r==null?void 0:r.title,a),children:T}),jsxRuntime.jsx("p",{className:"ndpr-card__subtitle",children:y})]}),k&&jsxRuntime.jsx("div",{role:"status","aria-label":"Transfer compliance summary",className:chunkAME4HJR4_js.a("mb-6 grid grid-cols-2 md:grid-cols-4 gap-4",r==null?void 0:r.summary,a),children:[["info",n.totalActiveTransfers,"Active Transfers"],["info",n.pendingApproval,"Pending Approval"],["destructive",n.highRiskTransfers,"High Risk"],["warning",n.missingTIA,"Missing TIA"]].map(([e,o,s])=>jsxRuntime.jsxs("div",{className:chunkAME4HJR4_js.a(`ndpr-alert ndpr-alert--${e}`,r==null?void 0:r.summaryCard,a),children:[jsxRuntime.jsx("p",{className:`ndpr-stat__value ndpr-text-${e}`,children:o}),jsxRuntime.jsx("p",{className:`text-sm ndpr-text-${e}`,children:s})]},s))}),R&&(n.highRiskTransfers>0||n.ndpcApprovalRequired>0)&&jsxRuntime.jsxs("div",{role:"alert","aria-label":"Cross-border transfer risk alerts",className:chunkAME4HJR4_js.a("mb-6 ndpr-alert ndpr-alert--warning",r==null?void 0:r.riskAlert,a),children:[jsxRuntime.jsx("p",{className:"text-sm font-medium ndpr-text-warning mb-1",children:"Risk alerts"}),jsxRuntime.jsxs("ul",{className:"list-disc list-inside text-sm ndpr-text-warning",children:[n.highRiskTransfers>0&&jsxRuntime.jsxs("li",{children:[n.highRiskTransfers," high-risk active transfer",n.highRiskTransfers===1?"":"s"," require enhanced safeguards."]}),n.ndpcApprovalRequired>0&&jsxRuntime.jsxs("li",{children:[n.ndpcApprovalRequired," transfer",n.ndpcApprovalRequired===1?"":"s"," use a mechanism that typically requires NDPC approval."]})]})]}),jsxRuntime.jsx("h3",{className:"text-lg font-medium mb-3",children:"Transfers"}),f.length===0?jsxRuntime.jsx("p",{className:"ndpr-card__subtitle",children:"No cross-border transfers found."}):jsxRuntime.jsx("div",{className:"overflow-x-auto",children:jsxRuntime.jsxs("table",{className:chunkAME4HJR4_js.a("w-full text-left text-sm",r==null?void 0:r.table,a),"aria-label":"Cross-border transfers",children:[jsxRuntime.jsx("thead",{className:chunkAME4HJR4_js.a("ndpr-text-muted",r==null?void 0:r.tableHeader,a),children:jsxRuntime.jsx("tr",{children:["Destination","Recipient","Mechanism","Adequacy","Risk","Status"].map(e=>jsxRuntime.jsx("th",{className:"py-2 pr-4 font-medium",children:e},e))})}),jsxRuntime.jsx("tbody",{children:f.map(e=>{let o=g?()=>l(e):void 0;return jsxRuntime.jsxs("tr",{className:chunkAME4HJR4_js.a(`border-t border-gray-100 dark:border-gray-700 ${g?"cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-700":""}`,r==null?void 0:r.tableRow,a),role:g?"button":void 0,tabIndex:g?0:void 0,"aria-label":g?`View transfer to ${e.destinationCountry}`:void 0,onClick:o,onKeyDown:g?s=>{(s.key==="Enter"||s.key===" ")&&(s.preventDefault(),o());}:void 0,children:[jsxRuntime.jsxs("td",{className:"py-2 pr-4",children:[jsxRuntime.jsx("div",{className:"font-medium",children:e.destinationCountry}),e.destinationCountryCode&&jsxRuntime.jsx("div",{className:"text-xs ndpr-text-muted",children:e.destinationCountryCode})]}),jsxRuntime.jsx("td",{className:"py-2 pr-4",children:e.recipientOrganization}),jsxRuntime.jsx("td",{className:"py-2 pr-4",children:_[e.transferMechanism]}),jsxRuntime.jsx("td",{className:"py-2 pr-4",children:x[e.adequacyStatus]}),jsxRuntime.jsx("td",{className:"py-2 pr-4",children:jsxRuntime.jsxs("span",{className:chunkAME4HJR4_js.a(`px-2 py-1 rounded text-xs font-medium ${w[e.riskLevel]}`,r==null?void 0:r.riskBadge,a),children:[e.riskLevel.charAt(0).toUpperCase()+e.riskLevel.slice(1)," Risk"]})}),jsxRuntime.jsx("td",{className:"py-2 pr-4",children:jsxRuntime.jsx("span",{className:chunkAME4HJR4_js.a(`px-2 py-1 rounded text-xs font-medium ${M[e.status]}`,r==null?void 0:r.statusBadge,a),children:B[e.status]})})]},e.id)})})]})})]})};exports.CrossBorderTransferManagerLite=q;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {a}from'./chunk-SFGW37LE.mjs';import'./chunk-ZJYULEER.mjs';import {useMemo}from'react';import {jsxs,jsx}from'react/jsx-runtime';var _={adequacy_decision:"Adequacy Decision (Section 41)",standard_clauses:"Standard Contractual Clauses (Section 42)",binding_corporate_rules:"Binding Corporate Rules (Section 43)",ndpc_authorization:"NDPC Authorization (Section 44)",explicit_consent:"Explicit Consent (Section 45(a))",contract_performance:"Contract Performance (Section 45(b))",public_interest:"Public Interest (Section 45(c))",legal_claims:"Legal Claims (Section 45(d))",vital_interests:"Vital Interests (Section 45(e))"},x={adequate:"Adequate",inadequate:"Inadequate",pending_review:"Pending Review",unknown:"Unknown"},B={active:"Active",suspended:"Suspended",terminated:"Terminated",pending_approval:"Pending Approval"},M={active:"ndpr-badge ndpr-badge--success",suspended:"ndpr-badge ndpr-badge--warning",terminated:"ndpr-badge ndpr-badge--neutral",pending_approval:"ndpr-badge ndpr-badge--info"},w={low:"ndpr-badge ndpr-badge--success",medium:"ndpr-badge ndpr-badge--warning",high:"ndpr-badge ndpr-badge--destructive"},L=new Set(["standard_clauses","binding_corporate_rules","ndpc_authorization"]),q=({transfers:c,title:T="Cross-Border Data Transfer Manager",description:y="Manage and document cross-border personal data transfers in compliance with NDPA 2023 Part
|
|
2
|
+
import {a}from'./chunk-SFGW37LE.mjs';import'./chunk-ZJYULEER.mjs';import {useMemo}from'react';import {jsxs,jsx}from'react/jsx-runtime';var _={adequacy_decision:"Adequacy Decision (Section 41)",standard_clauses:"Standard Contractual Clauses (Section 42)",binding_corporate_rules:"Binding Corporate Rules (Section 43)",ndpc_authorization:"NDPC Authorization (Section 44)",explicit_consent:"Explicit Consent (Section 45(a))",contract_performance:"Contract Performance (Section 45(b))",public_interest:"Public Interest (Section 45(c))",legal_claims:"Legal Claims (Section 45(d))",vital_interests:"Vital Interests (Section 45(e))"},x={adequate:"Adequate",inadequate:"Inadequate",pending_review:"Pending Review",unknown:"Unknown"},B={active:"Active",suspended:"Suspended",terminated:"Terminated",pending_approval:"Pending Approval"},M={active:"ndpr-badge ndpr-badge--success",suspended:"ndpr-badge ndpr-badge--warning",terminated:"ndpr-badge ndpr-badge--neutral",pending_approval:"ndpr-badge ndpr-badge--info"},w={low:"ndpr-badge ndpr-badge--success",medium:"ndpr-badge ndpr-badge--warning",high:"ndpr-badge ndpr-badge--destructive"},L=new Set(["standard_clauses","binding_corporate_rules","ndpc_authorization"]),q=({transfers:c,title:T="Cross-Border Data Transfer Manager",description:y="Manage and document cross-border personal data transfers in compliance with NDPA 2023 Part VIII (Sections 41-43).",className:S="",classNames:r,unstyled:a$1,showSummary:k=true,showRiskAlerts:R=true,onTransferClick:l})=>{let f=useMemo(()=>[...c].sort((e,o)=>o.updatedAt-e.updatedAt),[c]),n=useMemo(()=>{var b,h,C;let e=0,o=0,s=0,m=0,v=0;for(let p of c){let u=p.status==="active";u&&(e+=1),(p.status==="pending_approval"||(b=p.ndpcApproval)!=null&&b.required&&!((h=p.ndpcApproval)!=null&&h.approved))&&(o+=1),p.riskLevel==="high"&&u&&(s+=1),!p.tiaCompleted&&u&&(m+=1),((C=p.ndpcApproval)!=null&&C.required||L.has(p.transferMechanism))&&(v+=1);}return {totalActiveTransfers:e,pendingApproval:o,highRiskTransfers:s,missingTIA:m,ndpcApprovalRequired:v}},[c]),g=typeof l=="function";return jsxs("div",{"data-ndpr-component":"cross-border-transfer-manager-lite",className:a(`bg-white dark:bg-gray-800 p-6 rounded-lg shadow-md ${S}`,r==null?void 0:r.root,a$1),children:[jsxs("div",{className:a("",r==null?void 0:r.header,a$1),children:[jsx("h2",{className:a("ndpr-section-heading",r==null?void 0:r.title,a$1),children:T}),jsx("p",{className:"ndpr-card__subtitle",children:y})]}),k&&jsx("div",{role:"status","aria-label":"Transfer compliance summary",className:a("mb-6 grid grid-cols-2 md:grid-cols-4 gap-4",r==null?void 0:r.summary,a$1),children:[["info",n.totalActiveTransfers,"Active Transfers"],["info",n.pendingApproval,"Pending Approval"],["destructive",n.highRiskTransfers,"High Risk"],["warning",n.missingTIA,"Missing TIA"]].map(([e,o,s])=>jsxs("div",{className:a(`ndpr-alert ndpr-alert--${e}`,r==null?void 0:r.summaryCard,a$1),children:[jsx("p",{className:`ndpr-stat__value ndpr-text-${e}`,children:o}),jsx("p",{className:`text-sm ndpr-text-${e}`,children:s})]},s))}),R&&(n.highRiskTransfers>0||n.ndpcApprovalRequired>0)&&jsxs("div",{role:"alert","aria-label":"Cross-border transfer risk alerts",className:a("mb-6 ndpr-alert ndpr-alert--warning",r==null?void 0:r.riskAlert,a$1),children:[jsx("p",{className:"text-sm font-medium ndpr-text-warning mb-1",children:"Risk alerts"}),jsxs("ul",{className:"list-disc list-inside text-sm ndpr-text-warning",children:[n.highRiskTransfers>0&&jsxs("li",{children:[n.highRiskTransfers," high-risk active transfer",n.highRiskTransfers===1?"":"s"," require enhanced safeguards."]}),n.ndpcApprovalRequired>0&&jsxs("li",{children:[n.ndpcApprovalRequired," transfer",n.ndpcApprovalRequired===1?"":"s"," use a mechanism that typically requires NDPC approval."]})]})]}),jsx("h3",{className:"text-lg font-medium mb-3",children:"Transfers"}),f.length===0?jsx("p",{className:"ndpr-card__subtitle",children:"No cross-border transfers found."}):jsx("div",{className:"overflow-x-auto",children:jsxs("table",{className:a("w-full text-left text-sm",r==null?void 0:r.table,a$1),"aria-label":"Cross-border transfers",children:[jsx("thead",{className:a("ndpr-text-muted",r==null?void 0:r.tableHeader,a$1),children:jsx("tr",{children:["Destination","Recipient","Mechanism","Adequacy","Risk","Status"].map(e=>jsx("th",{className:"py-2 pr-4 font-medium",children:e},e))})}),jsx("tbody",{children:f.map(e=>{let o=g?()=>l(e):void 0;return jsxs("tr",{className:a(`border-t border-gray-100 dark:border-gray-700 ${g?"cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-700":""}`,r==null?void 0:r.tableRow,a$1),role:g?"button":void 0,tabIndex:g?0:void 0,"aria-label":g?`View transfer to ${e.destinationCountry}`:void 0,onClick:o,onKeyDown:g?s=>{(s.key==="Enter"||s.key===" ")&&(s.preventDefault(),o());}:void 0,children:[jsxs("td",{className:"py-2 pr-4",children:[jsx("div",{className:"font-medium",children:e.destinationCountry}),e.destinationCountryCode&&jsx("div",{className:"text-xs ndpr-text-muted",children:e.destinationCountryCode})]}),jsx("td",{className:"py-2 pr-4",children:e.recipientOrganization}),jsx("td",{className:"py-2 pr-4",children:_[e.transferMechanism]}),jsx("td",{className:"py-2 pr-4",children:x[e.adequacyStatus]}),jsx("td",{className:"py-2 pr-4",children:jsxs("span",{className:a(`px-2 py-1 rounded text-xs font-medium ${w[e.riskLevel]}`,r==null?void 0:r.riskBadge,a$1),children:[e.riskLevel.charAt(0).toUpperCase()+e.riskLevel.slice(1)," Risk"]})}),jsx("td",{className:"py-2 pr-4",children:jsx("span",{className:a(`px-2 py-1 rounded text-xs font-medium ${M[e.status]}`,r==null?void 0:r.statusBadge,a$1),children:B[e.status]})})]},e.id)})})]})})]})};export{q as CrossBorderTransferManagerLite};
|
package/dist/cross-border.d.mts
CHANGED
|
@@ -183,7 +183,7 @@ export declare interface CrossBorderTransfer {
|
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
|
-
* Cross-border data transfer management component. Implements NDPA Sections 41-
|
|
186
|
+
* Cross-border data transfer management component. Implements NDPA Sections 41-43 requirements
|
|
187
187
|
* for managing international data transfers, including adequacy decisions, standard contractual
|
|
188
188
|
* clauses, and NDPC authorization.
|
|
189
189
|
*/
|
|
@@ -237,7 +237,7 @@ declare interface CrossBorderTransferManagerProps {
|
|
|
237
237
|
title?: string;
|
|
238
238
|
/**
|
|
239
239
|
* Description text displayed on the manager
|
|
240
|
-
* @default "Manage and document cross-border personal data transfers in compliance with NDPA 2023 Part
|
|
240
|
+
* @default "Manage and document cross-border personal data transfers in compliance with NDPA 2023 Part VIII (Sections 41-43)."
|
|
241
241
|
*/
|
|
242
242
|
description?: string;
|
|
243
243
|
/**
|
|
@@ -405,7 +405,7 @@ export declare interface TransferValidationResult {
|
|
|
405
405
|
export declare function useCrossBorderCompound(): CrossBorderContextValue;
|
|
406
406
|
|
|
407
407
|
/**
|
|
408
|
-
* Hook for managing cross-border data transfers in compliance with NDPA Part
|
|
408
|
+
* Hook for managing cross-border data transfers in compliance with NDPA Part VIII (Sections 41-43)
|
|
409
409
|
*/
|
|
410
410
|
export declare function useCrossBorderTransfer({ initialTransfers, adapter, storageKey, useLocalStorage, onAdd, onUpdate, onRemove, }?: UseCrossBorderTransferOptions): UseCrossBorderTransferReturn;
|
|
411
411
|
|
package/dist/cross-border.d.ts
CHANGED
|
@@ -183,7 +183,7 @@ export declare interface CrossBorderTransfer {
|
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
|
-
* Cross-border data transfer management component. Implements NDPA Sections 41-
|
|
186
|
+
* Cross-border data transfer management component. Implements NDPA Sections 41-43 requirements
|
|
187
187
|
* for managing international data transfers, including adequacy decisions, standard contractual
|
|
188
188
|
* clauses, and NDPC authorization.
|
|
189
189
|
*/
|
|
@@ -237,7 +237,7 @@ declare interface CrossBorderTransferManagerProps {
|
|
|
237
237
|
title?: string;
|
|
238
238
|
/**
|
|
239
239
|
* Description text displayed on the manager
|
|
240
|
-
* @default "Manage and document cross-border personal data transfers in compliance with NDPA 2023 Part
|
|
240
|
+
* @default "Manage and document cross-border personal data transfers in compliance with NDPA 2023 Part VIII (Sections 41-43)."
|
|
241
241
|
*/
|
|
242
242
|
description?: string;
|
|
243
243
|
/**
|
|
@@ -405,7 +405,7 @@ export declare interface TransferValidationResult {
|
|
|
405
405
|
export declare function useCrossBorderCompound(): CrossBorderContextValue;
|
|
406
406
|
|
|
407
407
|
/**
|
|
408
|
-
* Hook for managing cross-border data transfers in compliance with NDPA Part
|
|
408
|
+
* Hook for managing cross-border data transfers in compliance with NDPA Part VIII (Sections 41-43)
|
|
409
409
|
*/
|
|
410
410
|
export declare function useCrossBorderTransfer({ initialTransfers, adapter, storageKey, useLocalStorage, onAdd, onUpdate, onRemove, }?: UseCrossBorderTransferOptions): UseCrossBorderTransferReturn;
|
|
411
411
|
|
package/dist/cross-border.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
'use strict';var
|
|
2
|
+
'use strict';var chunkSSH4U4TJ_js=require('./chunk-SSH4U4TJ.js'),chunkHHK5LHEG_js=require('./chunk-HHK5LHEG.js'),chunkYFBDJ4FH_js=require('./chunk-YFBDJ4FH.js');require('./chunk-AME4HJR4.js'),require('./chunk-VWED6UTN.js'),require('./chunk-RFPLZDIO.js');var react=require('react'),jsxRuntime=require('react/jsx-runtime');var s=react.createContext(null);function A(){let r=react.useContext(s);if(!r)throw new Error("CrossBorder compound components must be wrapped in <CrossBorder.Provider>. Example: <CrossBorder.Provider><CrossBorder.Manager /></CrossBorder.Provider>");return r}var t=({adapter:r,storageKey:d,useLocalStorage:a,initialTransfers:n,onAdd:p,onUpdate:C,onRemove:f,children:i})=>{let m=chunkHHK5LHEG_js.a({adapter:r,storageKey:d,useLocalStorage:a,initialTransfers:n,onAdd:p,onUpdate:C,onRemove:f});return jsxRuntime.jsx(s.Provider,{value:m,children:i})};var q={Provider:t,Manager:chunkSSH4U4TJ_js.a};Object.defineProperty(exports,"CrossBorderTransferManager",{enumerable:true,get:function(){return chunkSSH4U4TJ_js.a}});Object.defineProperty(exports,"useCrossBorderTransfer",{enumerable:true,get:function(){return chunkHHK5LHEG_js.a}});Object.defineProperty(exports,"COUNTRY_ADEQUACY_MAP",{enumerable:true,get:function(){return chunkYFBDJ4FH_js.a}});Object.defineProperty(exports,"assessTransferRisk",{enumerable:true,get:function(){return chunkYFBDJ4FH_js.h}});Object.defineProperty(exports,"getAdequateCountries",{enumerable:true,get:function(){return chunkYFBDJ4FH_js.c}});Object.defineProperty(exports,"getCountryAdequacy",{enumerable:true,get:function(){return chunkYFBDJ4FH_js.b}});Object.defineProperty(exports,"getTransferMechanismDescription",{enumerable:true,get:function(){return chunkYFBDJ4FH_js.f}});Object.defineProperty(exports,"isNDPCApprovalRequired",{enumerable:true,get:function(){return chunkYFBDJ4FH_js.e}});Object.defineProperty(exports,"requiresNDPCApproval",{enumerable:true,get:function(){return chunkYFBDJ4FH_js.d}});Object.defineProperty(exports,"validateTransfer",{enumerable:true,get:function(){return chunkYFBDJ4FH_js.g}});exports.CrossBorder=q;exports.CrossBorderProvider=t;exports.useCrossBorderCompound=A;
|
package/dist/cross-border.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {a}from'./chunk-
|
|
2
|
+
import {a}from'./chunk-43OQNS2J.mjs';export{a as CrossBorderTransferManager}from'./chunk-43OQNS2J.mjs';import {a as a$1}from'./chunk-KDAZQO3N.mjs';export{a as useCrossBorderTransfer}from'./chunk-KDAZQO3N.mjs';export{a as COUNTRY_ADEQUACY_MAP,h as assessTransferRisk,c as getAdequateCountries,b as getCountryAdequacy,f as getTransferMechanismDescription,e as isNDPCApprovalRequired,d as requiresNDPCApproval,g as validateTransfer}from'./chunk-7BJXI2HI.mjs';import'./chunk-SFGW37LE.mjs';import'./chunk-DBZSN4WP.mjs';import'./chunk-ZJYULEER.mjs';import {createContext,useContext}from'react';import {jsx}from'react/jsx-runtime';var s=createContext(null);function A(){let r=useContext(s);if(!r)throw new Error("CrossBorder compound components must be wrapped in <CrossBorder.Provider>. Example: <CrossBorder.Provider><CrossBorder.Manager /></CrossBorder.Provider>");return r}var t=({adapter:r,storageKey:d,useLocalStorage:a,initialTransfers:n,onAdd:p,onUpdate:C,onRemove:f,children:i})=>{let m=a$1({adapter:r,storageKey:d,useLocalStorage:a,initialTransfers:n,onAdd:p,onUpdate:C,onRemove:f});return jsx(s.Provider,{value:m,children:i})};var q={Provider:t,Manager:a};export{q as CrossBorder,t as CrossBorderProvider,A as useCrossBorderCompound};
|
package/dist/dpia.d.mts
CHANGED
|
@@ -43,7 +43,7 @@ export declare interface DPIAProviderProps {
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
|
-
* Data Protection Impact Assessment types aligned with NDPA 2023
|
|
46
|
+
* Data Protection Impact Assessment types aligned with NDPA 2023 Section 28
|
|
47
47
|
* A DPIA is required when processing is likely to result in high risk to data subjects
|
|
48
48
|
*/
|
|
49
49
|
/**
|
|
@@ -206,7 +206,7 @@ declare interface DPIAQuestionnaireProps {
|
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
/**
|
|
209
|
-
* DPIA report component. Implements NDPA
|
|
209
|
+
* DPIA report component. Implements NDPA Section 28 requirements for documenting
|
|
210
210
|
* and presenting Data Protection Impact Assessment findings, risks, and recommendations.
|
|
211
211
|
*/
|
|
212
212
|
export declare const DPIAReport: React__default.FC<DPIAReportProps>;
|
|
@@ -322,7 +322,7 @@ export declare interface DPIAResult {
|
|
|
322
322
|
version: string;
|
|
323
323
|
/**
|
|
324
324
|
* Whether prior consultation with NDPC is required
|
|
325
|
-
* Per NDPA Section
|
|
325
|
+
* Per NDPA Section 28(2), consultation is required when DPIA indicates high residual risk
|
|
326
326
|
*/
|
|
327
327
|
ndpcConsultationRequired?: boolean;
|
|
328
328
|
/** Date when NDPC consultation was initiated */
|
package/dist/dpia.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export declare interface DPIAProviderProps {
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
|
-
* Data Protection Impact Assessment types aligned with NDPA 2023
|
|
46
|
+
* Data Protection Impact Assessment types aligned with NDPA 2023 Section 28
|
|
47
47
|
* A DPIA is required when processing is likely to result in high risk to data subjects
|
|
48
48
|
*/
|
|
49
49
|
/**
|
|
@@ -206,7 +206,7 @@ declare interface DPIAQuestionnaireProps {
|
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
/**
|
|
209
|
-
* DPIA report component. Implements NDPA
|
|
209
|
+
* DPIA report component. Implements NDPA Section 28 requirements for documenting
|
|
210
210
|
* and presenting Data Protection Impact Assessment findings, risks, and recommendations.
|
|
211
211
|
*/
|
|
212
212
|
export declare const DPIAReport: React__default.FC<DPIAReportProps>;
|
|
@@ -322,7 +322,7 @@ export declare interface DPIAResult {
|
|
|
322
322
|
version: string;
|
|
323
323
|
/**
|
|
324
324
|
* Whether prior consultation with NDPC is required
|
|
325
|
-
* Per NDPA Section
|
|
325
|
+
* Per NDPA Section 28(2), consultation is required when DPIA indicates high residual risk
|
|
326
326
|
*/
|
|
327
327
|
ndpcConsultationRequired?: boolean;
|
|
328
328
|
/** Date when NDPC consultation was initiated */
|
package/dist/dsr.d.mts
CHANGED
|
@@ -242,7 +242,7 @@ declare interface DSRRequestFormProps {
|
|
|
242
242
|
title?: string;
|
|
243
243
|
/**
|
|
244
244
|
* Description text displayed on the form
|
|
245
|
-
* @default "Use this form to exercise your rights under the Nigeria Data Protection Act (NDPA), Part
|
|
245
|
+
* @default "Use this form to exercise your rights under the Nigeria Data Protection Act (NDPA), Part VI, Sections 34-38."
|
|
246
246
|
*/
|
|
247
247
|
description?: string;
|
|
248
248
|
/**
|
package/dist/dsr.d.ts
CHANGED
|
@@ -242,7 +242,7 @@ declare interface DSRRequestFormProps {
|
|
|
242
242
|
title?: string;
|
|
243
243
|
/**
|
|
244
244
|
* Description text displayed on the form
|
|
245
|
-
* @default "Use this form to exercise your rights under the Nigeria Data Protection Act (NDPA), Part
|
|
245
|
+
* @default "Use this form to exercise your rights under the Nigeria Data Protection Act (NDPA), Part VI, Sections 34-38."
|
|
246
246
|
*/
|
|
247
247
|
description?: string;
|
|
248
248
|
/**
|
package/dist/dsr.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
'use strict';var chunkCR2QZTGW_js=require('./chunk-CR2QZTGW.js'),
|
|
2
|
+
'use strict';var chunkCR2QZTGW_js=require('./chunk-CR2QZTGW.js'),chunkTWJHEIQH_js=require('./chunk-TWJHEIQH.js');require('./chunk-UXUMYP4L.js');var chunkHBLGN4SD_js=require('./chunk-HBLGN4SD.js'),chunkL2BRFMVS_js=require('./chunk-L2BRFMVS.js');require('./chunk-NDKDKDDX.js'),require('./chunk-WKTKTLMF.js'),require('./chunk-AME4HJR4.js'),require('./chunk-VWED6UTN.js');var chunkRFPLZDIO_js=require('./chunk-RFPLZDIO.js'),react=require('react'),jsxRuntime=require('react/jsx-runtime');var p=react.createContext(null);function P(){let e=react.useContext(p);if(!e)throw new Error("DSR compound components must be wrapped in <DSR.Provider>. Example: <DSR.Provider requestTypes={...}><DSR.Form /></DSR.Provider>");return e}var m=({requestTypes:e,adapter:S,storageKey:D,useLocalStorage:d,onSubmit:u,onUpdate:i,children:n})=>{let f=chunkHBLGN4SD_js.a({requestTypes:e,adapter:S,storageKey:D,useLocalStorage:d,onSubmit:u,onUpdate:i}),x=chunkRFPLZDIO_js.b(chunkRFPLZDIO_js.a({},f),{requestTypes:e});return jsxRuntime.jsx(p.Provider,{value:x,children:n})};var C={Provider:m,Form:chunkTWJHEIQH_js.a,Dashboard:chunkCR2QZTGW_js.a,Tracker:chunkCR2QZTGW_js.b};Object.defineProperty(exports,"DSRDashboard",{enumerable:true,get:function(){return chunkCR2QZTGW_js.a}});Object.defineProperty(exports,"DSRTracker",{enumerable:true,get:function(){return chunkCR2QZTGW_js.b}});Object.defineProperty(exports,"DSRRequestForm",{enumerable:true,get:function(){return chunkTWJHEIQH_js.a}});Object.defineProperty(exports,"useDSR",{enumerable:true,get:function(){return chunkHBLGN4SD_js.a}});Object.defineProperty(exports,"formatDSRRequest",{enumerable:true,get:function(){return chunkL2BRFMVS_js.b}});Object.defineProperty(exports,"validateDsrSubmission",{enumerable:true,get:function(){return chunkL2BRFMVS_js.a}});exports.DSR=C;exports.DSRProvider=m;exports.useDSRCompound=P;
|
package/dist/dsr.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {b,a}from'./chunk-66NQ5CVY.mjs';export{a as DSRDashboard,b as DSRTracker}from'./chunk-66NQ5CVY.mjs';import {a as a$1}from'./chunk-
|
|
2
|
+
import {b,a}from'./chunk-66NQ5CVY.mjs';export{a as DSRDashboard,b as DSRTracker}from'./chunk-66NQ5CVY.mjs';import {a as a$1}from'./chunk-IPWX5I5P.mjs';export{a as DSRRequestForm}from'./chunk-IPWX5I5P.mjs';import'./chunk-EWVK45Z3.mjs';import {a as a$2}from'./chunk-MPBPAEZC.mjs';export{a as useDSR}from'./chunk-MPBPAEZC.mjs';export{b as formatDSRRequest,a as validateDsrSubmission}from'./chunk-RZ6GC6WN.mjs';import'./chunk-25TNTLHJ.mjs';import'./chunk-RBMLGRDN.mjs';import'./chunk-SFGW37LE.mjs';import'./chunk-DBZSN4WP.mjs';import {b as b$1,a as a$3}from'./chunk-ZJYULEER.mjs';import {createContext,useContext}from'react';import {jsx}from'react/jsx-runtime';var p=createContext(null);function P(){let e=useContext(p);if(!e)throw new Error("DSR compound components must be wrapped in <DSR.Provider>. Example: <DSR.Provider requestTypes={...}><DSR.Form /></DSR.Provider>");return e}var m=({requestTypes:e,adapter:S,storageKey:D,useLocalStorage:d,onSubmit:u,onUpdate:i,children:n})=>{let f=a$2({requestTypes:e,adapter:S,storageKey:D,useLocalStorage:d,onSubmit:u,onUpdate:i}),x=b$1(a$3({},f),{requestTypes:e});return jsx(p.Provider,{value:x,children:n})};var C={Provider:m,Form:a$1,Dashboard:a,Tracker:b};export{C as DSR,m as DSRProvider,P as useDSRCompound};
|
package/dist/headless.d.mts
CHANGED
|
@@ -532,7 +532,7 @@ export declare type DPIAAnswerMap = Record<string, DPIAAnswerValue>;
|
|
|
532
532
|
export declare type DPIAAnswerValue = string | number | boolean | string[];
|
|
533
533
|
|
|
534
534
|
/**
|
|
535
|
-
* Data Protection Impact Assessment types aligned with NDPA 2023
|
|
535
|
+
* Data Protection Impact Assessment types aligned with NDPA 2023 Section 28
|
|
536
536
|
* A DPIA is required when processing is likely to result in high risk to data subjects
|
|
537
537
|
*/
|
|
538
538
|
/**
|
|
@@ -611,7 +611,7 @@ export declare interface DPIAResult {
|
|
|
611
611
|
version: string;
|
|
612
612
|
/**
|
|
613
613
|
* Whether prior consultation with NDPC is required
|
|
614
|
-
* Per NDPA Section
|
|
614
|
+
* Per NDPA Section 28(2), consultation is required when DPIA indicates high residual risk
|
|
615
615
|
*/
|
|
616
616
|
ndpcConsultationRequired?: boolean;
|
|
617
617
|
/** Date when NDPC consultation was initiated */
|
|
@@ -1761,7 +1761,7 @@ declare interface UseConsentReturn {
|
|
|
1761
1761
|
}
|
|
1762
1762
|
|
|
1763
1763
|
/**
|
|
1764
|
-
* Hook for managing cross-border data transfers in compliance with NDPA Part
|
|
1764
|
+
* Hook for managing cross-border data transfers in compliance with NDPA Part VIII (Sections 41-43)
|
|
1765
1765
|
*/
|
|
1766
1766
|
export declare function useCrossBorderTransfer({ initialTransfers, adapter, storageKey, useLocalStorage, onAdd, onUpdate, onRemove, }?: UseCrossBorderTransferOptions): UseCrossBorderTransferReturn;
|
|
1767
1767
|
|
package/dist/headless.d.ts
CHANGED
|
@@ -532,7 +532,7 @@ export declare type DPIAAnswerMap = Record<string, DPIAAnswerValue>;
|
|
|
532
532
|
export declare type DPIAAnswerValue = string | number | boolean | string[];
|
|
533
533
|
|
|
534
534
|
/**
|
|
535
|
-
* Data Protection Impact Assessment types aligned with NDPA 2023
|
|
535
|
+
* Data Protection Impact Assessment types aligned with NDPA 2023 Section 28
|
|
536
536
|
* A DPIA is required when processing is likely to result in high risk to data subjects
|
|
537
537
|
*/
|
|
538
538
|
/**
|
|
@@ -611,7 +611,7 @@ export declare interface DPIAResult {
|
|
|
611
611
|
version: string;
|
|
612
612
|
/**
|
|
613
613
|
* Whether prior consultation with NDPC is required
|
|
614
|
-
* Per NDPA Section
|
|
614
|
+
* Per NDPA Section 28(2), consultation is required when DPIA indicates high residual risk
|
|
615
615
|
*/
|
|
616
616
|
ndpcConsultationRequired?: boolean;
|
|
617
617
|
/** Date when NDPC consultation was initiated */
|
|
@@ -1761,7 +1761,7 @@ declare interface UseConsentReturn {
|
|
|
1761
1761
|
}
|
|
1762
1762
|
|
|
1763
1763
|
/**
|
|
1764
|
-
* Hook for managing cross-border data transfers in compliance with NDPA Part
|
|
1764
|
+
* Hook for managing cross-border data transfers in compliance with NDPA Part VIII (Sections 41-43)
|
|
1765
1765
|
*/
|
|
1766
1766
|
export declare function useCrossBorderTransfer({ initialTransfers, adapter, storageKey, useLocalStorage, onAdd, onUpdate, onRemove, }?: UseCrossBorderTransferOptions): UseCrossBorderTransferReturn;
|
|
1767
1767
|
|
package/dist/headless.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
'use strict';require('./chunk-OZCNFB5C.js');var
|
|
2
|
+
'use strict';require('./chunk-OZCNFB5C.js');var chunkCNM6G5IA_js=require('./chunk-CNM6G5IA.js'),chunkVJTQXVAF_js=require('./chunk-VJTQXVAF.js'),chunkRC3XFXTJ_js=require('./chunk-RC3XFXTJ.js'),chunkQHW4UKGJ_js=require('./chunk-QHW4UKGJ.js'),chunkUTFBKL73_js=require('./chunk-UTFBKL73.js'),chunkHHK5LHEG_js=require('./chunk-HHK5LHEG.js'),chunk3JPDTXGC_js=require('./chunk-3JPDTXGC.js');require('./chunk-JS7SYL5P.js'),require('./chunk-RDALAH3Y.js'),require('./chunk-3YTAOT5O.js'),require('./chunk-D2ZKDQVL.js'),require('./chunk-6LJHLE6G.js'),require('./chunk-YFBDJ4FH.js'),require('./chunk-WZYCBW2R.js'),require('./chunk-4CVBQC66.js');var chunkH3IULCE3_js=require('./chunk-H3IULCE3.js'),chunkL2VO3MEJ_js=require('./chunk-L2VO3MEJ.js');require('./chunk-C2KEXHRX.js'),require('./chunk-B46SJB5V.js');var chunkHBLGN4SD_js=require('./chunk-HBLGN4SD.js');require('./chunk-L2BRFMVS.js');var chunkC7IDR2IV_js=require('./chunk-C7IDR2IV.js');require('./chunk-TQZWJGJ2.js'),require('./chunk-ZVOIR4QH.js'),require('./chunk-VWED6UTN.js'),require('./chunk-RFPLZDIO.js');Object.defineProperty(exports,"useComplianceScore",{enumerable:true,get:function(){return chunkCNM6G5IA_js.a}});Object.defineProperty(exports,"useBreach",{enumerable:true,get:function(){return chunkVJTQXVAF_js.a}});Object.defineProperty(exports,"useDefaultPrivacyPolicy",{enumerable:true,get:function(){return chunkRC3XFXTJ_js.b}});Object.defineProperty(exports,"usePrivacyPolicy",{enumerable:true,get:function(){return chunkRC3XFXTJ_js.a}});Object.defineProperty(exports,"useAdaptivePolicyWizard",{enumerable:true,get:function(){return chunkQHW4UKGJ_js.a}});Object.defineProperty(exports,"useLawfulBasis",{enumerable:true,get:function(){return chunkUTFBKL73_js.a}});Object.defineProperty(exports,"useCrossBorderTransfer",{enumerable:true,get:function(){return chunkHHK5LHEG_js.a}});Object.defineProperty(exports,"useROPA",{enumerable:true,get:function(){return chunk3JPDTXGC_js.a}});Object.defineProperty(exports,"useConsent",{enumerable:true,get:function(){return chunkH3IULCE3_js.a}});Object.defineProperty(exports,"useFocusTrap",{enumerable:true,get:function(){return chunkL2VO3MEJ_js.a}});Object.defineProperty(exports,"useDSR",{enumerable:true,get:function(){return chunkHBLGN4SD_js.a}});Object.defineProperty(exports,"useDPIA",{enumerable:true,get:function(){return chunkC7IDR2IV_js.a}});
|
package/dist/headless.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import'./chunk-GQYBS3A7.mjs';export{a as useComplianceScore}from'./chunk-
|
|
2
|
+
import'./chunk-GQYBS3A7.mjs';export{a as useComplianceScore}from'./chunk-MOHBL6LX.mjs';export{a as useBreach}from'./chunk-3HOXQNCH.mjs';export{b as useDefaultPrivacyPolicy,a as usePrivacyPolicy}from'./chunk-UVXS7KRV.mjs';export{a as useAdaptivePolicyWizard}from'./chunk-KE2FZH2V.mjs';export{a as useLawfulBasis}from'./chunk-4G3SRVRI.mjs';export{a as useCrossBorderTransfer}from'./chunk-KDAZQO3N.mjs';export{a as useROPA}from'./chunk-RPXRPGHL.mjs';import'./chunk-IVSNHT24.mjs';import'./chunk-7RBO42IW.mjs';import'./chunk-WTGKZX7J.mjs';import'./chunk-NBQQ2GN3.mjs';import'./chunk-BIJSMSUU.mjs';import'./chunk-7BJXI2HI.mjs';import'./chunk-LWIKDDSU.mjs';import'./chunk-XP5PL6K7.mjs';export{a as useConsent}from'./chunk-TAHSSITO.mjs';export{a as useFocusTrap}from'./chunk-YTU4FNM2.mjs';import'./chunk-XC3DLYEG.mjs';import'./chunk-PJNKQPQP.mjs';export{a as useDSR}from'./chunk-MPBPAEZC.mjs';import'./chunk-RZ6GC6WN.mjs';export{a as useDPIA}from'./chunk-H3XJV2IR.mjs';import'./chunk-LRRENTT5.mjs';import'./chunk-ITCY2Z66.mjs';import'./chunk-DBZSN4WP.mjs';import'./chunk-ZJYULEER.mjs';
|
package/dist/hooks.d.mts
CHANGED
|
@@ -453,7 +453,7 @@ export declare type DPIAAnswerMap = Record<string, DPIAAnswerValue>;
|
|
|
453
453
|
export declare type DPIAAnswerValue = string | number | boolean | string[];
|
|
454
454
|
|
|
455
455
|
/**
|
|
456
|
-
* Data Protection Impact Assessment types aligned with NDPA 2023
|
|
456
|
+
* Data Protection Impact Assessment types aligned with NDPA 2023 Section 28
|
|
457
457
|
* A DPIA is required when processing is likely to result in high risk to data subjects
|
|
458
458
|
*/
|
|
459
459
|
/**
|
|
@@ -532,7 +532,7 @@ export declare interface DPIAResult {
|
|
|
532
532
|
version: string;
|
|
533
533
|
/**
|
|
534
534
|
* Whether prior consultation with NDPC is required
|
|
535
|
-
* Per NDPA Section
|
|
535
|
+
* Per NDPA Section 28(2), consultation is required when DPIA indicates high residual risk
|
|
536
536
|
*/
|
|
537
537
|
ndpcConsultationRequired?: boolean;
|
|
538
538
|
/** Date when NDPC consultation was initiated */
|
|
@@ -1647,7 +1647,7 @@ declare interface UseConsentReturn {
|
|
|
1647
1647
|
}
|
|
1648
1648
|
|
|
1649
1649
|
/**
|
|
1650
|
-
* Hook for managing cross-border data transfers in compliance with NDPA Part
|
|
1650
|
+
* Hook for managing cross-border data transfers in compliance with NDPA Part VIII (Sections 41-43)
|
|
1651
1651
|
*/
|
|
1652
1652
|
export declare function useCrossBorderTransfer({ initialTransfers, adapter, storageKey, useLocalStorage, onAdd, onUpdate, onRemove, }?: UseCrossBorderTransferOptions): UseCrossBorderTransferReturn;
|
|
1653
1653
|
|
package/dist/hooks.d.ts
CHANGED
|
@@ -453,7 +453,7 @@ export declare type DPIAAnswerMap = Record<string, DPIAAnswerValue>;
|
|
|
453
453
|
export declare type DPIAAnswerValue = string | number | boolean | string[];
|
|
454
454
|
|
|
455
455
|
/**
|
|
456
|
-
* Data Protection Impact Assessment types aligned with NDPA 2023
|
|
456
|
+
* Data Protection Impact Assessment types aligned with NDPA 2023 Section 28
|
|
457
457
|
* A DPIA is required when processing is likely to result in high risk to data subjects
|
|
458
458
|
*/
|
|
459
459
|
/**
|
|
@@ -532,7 +532,7 @@ export declare interface DPIAResult {
|
|
|
532
532
|
version: string;
|
|
533
533
|
/**
|
|
534
534
|
* Whether prior consultation with NDPC is required
|
|
535
|
-
* Per NDPA Section
|
|
535
|
+
* Per NDPA Section 28(2), consultation is required when DPIA indicates high residual risk
|
|
536
536
|
*/
|
|
537
537
|
ndpcConsultationRequired?: boolean;
|
|
538
538
|
/** Date when NDPC consultation was initiated */
|
|
@@ -1647,7 +1647,7 @@ declare interface UseConsentReturn {
|
|
|
1647
1647
|
}
|
|
1648
1648
|
|
|
1649
1649
|
/**
|
|
1650
|
-
* Hook for managing cross-border data transfers in compliance with NDPA Part
|
|
1650
|
+
* Hook for managing cross-border data transfers in compliance with NDPA Part VIII (Sections 41-43)
|
|
1651
1651
|
*/
|
|
1652
1652
|
export declare function useCrossBorderTransfer({ initialTransfers, adapter, storageKey, useLocalStorage, onAdd, onUpdate, onRemove, }?: UseCrossBorderTransferOptions): UseCrossBorderTransferReturn;
|
|
1653
1653
|
|
package/dist/hooks.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
'use strict';require('./chunk-OZCNFB5C.js');var
|
|
2
|
+
'use strict';require('./chunk-OZCNFB5C.js');var chunkCNM6G5IA_js=require('./chunk-CNM6G5IA.js'),chunkVJTQXVAF_js=require('./chunk-VJTQXVAF.js'),chunkRC3XFXTJ_js=require('./chunk-RC3XFXTJ.js'),chunkQHW4UKGJ_js=require('./chunk-QHW4UKGJ.js'),chunkUTFBKL73_js=require('./chunk-UTFBKL73.js'),chunkHHK5LHEG_js=require('./chunk-HHK5LHEG.js'),chunk3JPDTXGC_js=require('./chunk-3JPDTXGC.js');require('./chunk-JS7SYL5P.js'),require('./chunk-RDALAH3Y.js'),require('./chunk-3YTAOT5O.js'),require('./chunk-D2ZKDQVL.js'),require('./chunk-6LJHLE6G.js'),require('./chunk-YFBDJ4FH.js'),require('./chunk-WZYCBW2R.js'),require('./chunk-4CVBQC66.js');var chunkH3IULCE3_js=require('./chunk-H3IULCE3.js'),chunkL2VO3MEJ_js=require('./chunk-L2VO3MEJ.js');require('./chunk-C2KEXHRX.js'),require('./chunk-B46SJB5V.js');var chunkHBLGN4SD_js=require('./chunk-HBLGN4SD.js');require('./chunk-L2BRFMVS.js');var chunkC7IDR2IV_js=require('./chunk-C7IDR2IV.js');require('./chunk-TQZWJGJ2.js'),require('./chunk-ZVOIR4QH.js'),require('./chunk-VWED6UTN.js'),require('./chunk-RFPLZDIO.js');Object.defineProperty(exports,"useComplianceScore",{enumerable:true,get:function(){return chunkCNM6G5IA_js.a}});Object.defineProperty(exports,"useBreach",{enumerable:true,get:function(){return chunkVJTQXVAF_js.a}});Object.defineProperty(exports,"useDefaultPrivacyPolicy",{enumerable:true,get:function(){return chunkRC3XFXTJ_js.b}});Object.defineProperty(exports,"usePrivacyPolicy",{enumerable:true,get:function(){return chunkRC3XFXTJ_js.a}});Object.defineProperty(exports,"useAdaptivePolicyWizard",{enumerable:true,get:function(){return chunkQHW4UKGJ_js.a}});Object.defineProperty(exports,"useLawfulBasis",{enumerable:true,get:function(){return chunkUTFBKL73_js.a}});Object.defineProperty(exports,"useCrossBorderTransfer",{enumerable:true,get:function(){return chunkHHK5LHEG_js.a}});Object.defineProperty(exports,"useROPA",{enumerable:true,get:function(){return chunk3JPDTXGC_js.a}});Object.defineProperty(exports,"useConsent",{enumerable:true,get:function(){return chunkH3IULCE3_js.a}});Object.defineProperty(exports,"useFocusTrap",{enumerable:true,get:function(){return chunkL2VO3MEJ_js.a}});Object.defineProperty(exports,"useDSR",{enumerable:true,get:function(){return chunkHBLGN4SD_js.a}});Object.defineProperty(exports,"useDPIA",{enumerable:true,get:function(){return chunkC7IDR2IV_js.a}});
|
package/dist/hooks.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import'./chunk-GQYBS3A7.mjs';export{a as useComplianceScore}from'./chunk-
|
|
2
|
+
import'./chunk-GQYBS3A7.mjs';export{a as useComplianceScore}from'./chunk-MOHBL6LX.mjs';export{a as useBreach}from'./chunk-3HOXQNCH.mjs';export{b as useDefaultPrivacyPolicy,a as usePrivacyPolicy}from'./chunk-UVXS7KRV.mjs';export{a as useAdaptivePolicyWizard}from'./chunk-KE2FZH2V.mjs';export{a as useLawfulBasis}from'./chunk-4G3SRVRI.mjs';export{a as useCrossBorderTransfer}from'./chunk-KDAZQO3N.mjs';export{a as useROPA}from'./chunk-RPXRPGHL.mjs';import'./chunk-IVSNHT24.mjs';import'./chunk-7RBO42IW.mjs';import'./chunk-WTGKZX7J.mjs';import'./chunk-NBQQ2GN3.mjs';import'./chunk-BIJSMSUU.mjs';import'./chunk-7BJXI2HI.mjs';import'./chunk-LWIKDDSU.mjs';import'./chunk-XP5PL6K7.mjs';export{a as useConsent}from'./chunk-TAHSSITO.mjs';export{a as useFocusTrap}from'./chunk-YTU4FNM2.mjs';import'./chunk-XC3DLYEG.mjs';import'./chunk-PJNKQPQP.mjs';export{a as useDSR}from'./chunk-MPBPAEZC.mjs';import'./chunk-RZ6GC6WN.mjs';export{a as useDPIA}from'./chunk-H3XJV2IR.mjs';import'./chunk-LRRENTT5.mjs';import'./chunk-ITCY2Z66.mjs';import'./chunk-DBZSN4WP.mjs';import'./chunk-ZJYULEER.mjs';
|
package/dist/index.d.mts
CHANGED
|
@@ -1182,7 +1182,7 @@ export declare interface CrossBorderTransfer {
|
|
|
1182
1182
|
}
|
|
1183
1183
|
|
|
1184
1184
|
/**
|
|
1185
|
-
* Cross-border data transfer management component. Implements NDPA Sections 41-
|
|
1185
|
+
* Cross-border data transfer management component. Implements NDPA Sections 41-43 requirements
|
|
1186
1186
|
* for managing international data transfers, including adequacy decisions, standard contractual
|
|
1187
1187
|
* clauses, and NDPC authorization.
|
|
1188
1188
|
*/
|
|
@@ -1236,7 +1236,7 @@ declare interface CrossBorderTransferManagerProps {
|
|
|
1236
1236
|
title?: string;
|
|
1237
1237
|
/**
|
|
1238
1238
|
* Description text displayed on the manager
|
|
1239
|
-
* @default "Manage and document cross-border personal data transfers in compliance with NDPA 2023 Part
|
|
1239
|
+
* @default "Manage and document cross-border personal data transfers in compliance with NDPA 2023 Part VIII (Sections 41-43)."
|
|
1240
1240
|
*/
|
|
1241
1241
|
description?: string;
|
|
1242
1242
|
/**
|
|
@@ -1317,7 +1317,7 @@ export declare type DPIAAnswerMap = Record<string, DPIAAnswerValue>;
|
|
|
1317
1317
|
export declare type DPIAAnswerValue = string | number | boolean | string[];
|
|
1318
1318
|
|
|
1319
1319
|
/**
|
|
1320
|
-
* Data Protection Impact Assessment types aligned with NDPA 2023
|
|
1320
|
+
* Data Protection Impact Assessment types aligned with NDPA 2023 Section 28
|
|
1321
1321
|
* A DPIA is required when processing is likely to result in high risk to data subjects
|
|
1322
1322
|
*/
|
|
1323
1323
|
/**
|
|
@@ -1480,7 +1480,7 @@ declare interface DPIAQuestionnaireProps {
|
|
|
1480
1480
|
}
|
|
1481
1481
|
|
|
1482
1482
|
/**
|
|
1483
|
-
* DPIA report component. Implements NDPA
|
|
1483
|
+
* DPIA report component. Implements NDPA Section 28 requirements for documenting
|
|
1484
1484
|
* and presenting Data Protection Impact Assessment findings, risks, and recommendations.
|
|
1485
1485
|
*/
|
|
1486
1486
|
export declare const DPIAReport: React__default.FC<DPIAReportProps>;
|
|
@@ -1596,7 +1596,7 @@ export declare interface DPIAResult {
|
|
|
1596
1596
|
version: string;
|
|
1597
1597
|
/**
|
|
1598
1598
|
* Whether prior consultation with NDPC is required
|
|
1599
|
-
* Per NDPA Section
|
|
1599
|
+
* Per NDPA Section 28(2), consultation is required when DPIA indicates high residual risk
|
|
1600
1600
|
*/
|
|
1601
1601
|
ndpcConsultationRequired?: boolean;
|
|
1602
1602
|
/** Date when NDPC consultation was initiated */
|
|
@@ -1873,7 +1873,7 @@ declare interface DSRRequestFormProps {
|
|
|
1873
1873
|
title?: string;
|
|
1874
1874
|
/**
|
|
1875
1875
|
* Description text displayed on the form
|
|
1876
|
-
* @default "Use this form to exercise your rights under the Nigeria Data Protection Act (NDPA), Part
|
|
1876
|
+
* @default "Use this form to exercise your rights under the Nigeria Data Protection Act (NDPA), Part VI, Sections 34-38."
|
|
1877
1877
|
*/
|
|
1878
1878
|
description?: string;
|
|
1879
1879
|
/**
|
|
@@ -4268,7 +4268,7 @@ declare interface UseConsentReturn {
|
|
|
4268
4268
|
}
|
|
4269
4269
|
|
|
4270
4270
|
/**
|
|
4271
|
-
* Hook for managing cross-border data transfers in compliance with NDPA Part
|
|
4271
|
+
* Hook for managing cross-border data transfers in compliance with NDPA Part VIII (Sections 41-43)
|
|
4272
4272
|
*/
|
|
4273
4273
|
export declare function useCrossBorderTransfer({ initialTransfers, adapter, storageKey, useLocalStorage, onAdd, onUpdate, onRemove, }?: UseCrossBorderTransferOptions): UseCrossBorderTransferReturn;
|
|
4274
4274
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1182,7 +1182,7 @@ export declare interface CrossBorderTransfer {
|
|
|
1182
1182
|
}
|
|
1183
1183
|
|
|
1184
1184
|
/**
|
|
1185
|
-
* Cross-border data transfer management component. Implements NDPA Sections 41-
|
|
1185
|
+
* Cross-border data transfer management component. Implements NDPA Sections 41-43 requirements
|
|
1186
1186
|
* for managing international data transfers, including adequacy decisions, standard contractual
|
|
1187
1187
|
* clauses, and NDPC authorization.
|
|
1188
1188
|
*/
|
|
@@ -1236,7 +1236,7 @@ declare interface CrossBorderTransferManagerProps {
|
|
|
1236
1236
|
title?: string;
|
|
1237
1237
|
/**
|
|
1238
1238
|
* Description text displayed on the manager
|
|
1239
|
-
* @default "Manage and document cross-border personal data transfers in compliance with NDPA 2023 Part
|
|
1239
|
+
* @default "Manage and document cross-border personal data transfers in compliance with NDPA 2023 Part VIII (Sections 41-43)."
|
|
1240
1240
|
*/
|
|
1241
1241
|
description?: string;
|
|
1242
1242
|
/**
|
|
@@ -1317,7 +1317,7 @@ export declare type DPIAAnswerMap = Record<string, DPIAAnswerValue>;
|
|
|
1317
1317
|
export declare type DPIAAnswerValue = string | number | boolean | string[];
|
|
1318
1318
|
|
|
1319
1319
|
/**
|
|
1320
|
-
* Data Protection Impact Assessment types aligned with NDPA 2023
|
|
1320
|
+
* Data Protection Impact Assessment types aligned with NDPA 2023 Section 28
|
|
1321
1321
|
* A DPIA is required when processing is likely to result in high risk to data subjects
|
|
1322
1322
|
*/
|
|
1323
1323
|
/**
|
|
@@ -1480,7 +1480,7 @@ declare interface DPIAQuestionnaireProps {
|
|
|
1480
1480
|
}
|
|
1481
1481
|
|
|
1482
1482
|
/**
|
|
1483
|
-
* DPIA report component. Implements NDPA
|
|
1483
|
+
* DPIA report component. Implements NDPA Section 28 requirements for documenting
|
|
1484
1484
|
* and presenting Data Protection Impact Assessment findings, risks, and recommendations.
|
|
1485
1485
|
*/
|
|
1486
1486
|
export declare const DPIAReport: React__default.FC<DPIAReportProps>;
|
|
@@ -1596,7 +1596,7 @@ export declare interface DPIAResult {
|
|
|
1596
1596
|
version: string;
|
|
1597
1597
|
/**
|
|
1598
1598
|
* Whether prior consultation with NDPC is required
|
|
1599
|
-
* Per NDPA Section
|
|
1599
|
+
* Per NDPA Section 28(2), consultation is required when DPIA indicates high residual risk
|
|
1600
1600
|
*/
|
|
1601
1601
|
ndpcConsultationRequired?: boolean;
|
|
1602
1602
|
/** Date when NDPC consultation was initiated */
|
|
@@ -1873,7 +1873,7 @@ declare interface DSRRequestFormProps {
|
|
|
1873
1873
|
title?: string;
|
|
1874
1874
|
/**
|
|
1875
1875
|
* Description text displayed on the form
|
|
1876
|
-
* @default "Use this form to exercise your rights under the Nigeria Data Protection Act (NDPA), Part
|
|
1876
|
+
* @default "Use this form to exercise your rights under the Nigeria Data Protection Act (NDPA), Part VI, Sections 34-38."
|
|
1877
1877
|
*/
|
|
1878
1878
|
description?: string;
|
|
1879
1879
|
/**
|
|
@@ -4268,7 +4268,7 @@ declare interface UseConsentReturn {
|
|
|
4268
4268
|
}
|
|
4269
4269
|
|
|
4270
4270
|
/**
|
|
4271
|
-
* Hook for managing cross-border data transfers in compliance with NDPA Part
|
|
4271
|
+
* Hook for managing cross-border data transfers in compliance with NDPA Part VIII (Sections 41-43)
|
|
4272
4272
|
*/
|
|
4273
4273
|
export declare function useCrossBorderTransfer({ initialTransfers, adapter, storageKey, useLocalStorage, onAdd, onUpdate, onRemove, }?: UseCrossBorderTransferOptions): UseCrossBorderTransferReturn;
|
|
4274
4274
|
|