@tantainnovative/ndpr-toolkit 3.10.3 → 3.10.4
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 +59 -0
- package/README.md +6 -6
- 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-TMXK4QKK.mjs → chunk-6N5SJO4T.mjs} +1 -1
- package/dist/{chunk-EFIBHKQE.mjs → chunk-7RBO42IW.mjs} +1 -1
- package/dist/{chunk-RMQ7OLNY.mjs → chunk-BIJSMSUU.mjs} +8 -8
- 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-R7545FP4.mjs → chunk-GEP52QFH.mjs} +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-XO3VQYTL.js → chunk-M6VSZEFM.js} +2 -2
- 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-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-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/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 +2 -1
- 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-LQTARVPU.mjs +0 -1
- package/dist/chunk-RYREGZVQ.js +0 -1
- package/dist/chunk-S6COXIZA.js +0 -2
- 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/server.d.ts
CHANGED
|
@@ -754,7 +754,7 @@ export declare interface DOCXExportOptions {
|
|
|
754
754
|
}
|
|
755
755
|
|
|
756
756
|
/**
|
|
757
|
-
* Data Protection Impact Assessment types aligned with NDPA 2023
|
|
757
|
+
* Data Protection Impact Assessment types aligned with NDPA 2023 Section 28
|
|
758
758
|
* A DPIA is required when processing is likely to result in high risk to data subjects
|
|
759
759
|
*/
|
|
760
760
|
/**
|
|
@@ -833,7 +833,7 @@ export declare interface DPIAResult {
|
|
|
833
833
|
version: string;
|
|
834
834
|
/**
|
|
835
835
|
* Whether prior consultation with NDPC is required
|
|
836
|
-
* Per NDPA Section
|
|
836
|
+
* Per NDPA Section 28(2), consultation is required when DPIA indicates high residual risk
|
|
837
837
|
*/
|
|
838
838
|
ndpcConsultationRequired?: boolean;
|
|
839
839
|
/** Date when NDPC consultation was initiated */
|
package/dist/server.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var chunkROTLSZMV_js=require('./chunk-ROTLSZMV.js'),
|
|
1
|
+
'use strict';var chunkROTLSZMV_js=require('./chunk-ROTLSZMV.js'),chunkFMJ6ICLJ_js=require('./chunk-FMJ6ICLJ.js'),chunkNUOHT3LO_js=require('./chunk-NUOHT3LO.js'),chunkJS7SYL5P_js=require('./chunk-JS7SYL5P.js'),chunkRDALAH3Y_js=require('./chunk-RDALAH3Y.js'),chunk3YTAOT5O_js=require('./chunk-3YTAOT5O.js'),chunkD2ZKDQVL_js=require('./chunk-D2ZKDQVL.js'),chunk6LJHLE6G_js=require('./chunk-6LJHLE6G.js'),chunkYFBDJ4FH_js=require('./chunk-YFBDJ4FH.js'),chunkWZYCBW2R_js=require('./chunk-WZYCBW2R.js'),chunk4CVBQC66_js=require('./chunk-4CVBQC66.js'),chunk3IA3KDII_js=require('./chunk-3IA3KDII.js'),chunk7ZZO7GVB_js=require('./chunk-7ZZO7GVB.js'),chunkB46SJB5V_js=require('./chunk-B46SJB5V.js'),chunkUXUMYP4L_js=require('./chunk-UXUMYP4L.js'),chunkL2BRFMVS_js=require('./chunk-L2BRFMVS.js'),chunkWKTKTLMF_js=require('./chunk-WKTKTLMF.js'),chunkTQZWJGJ2_js=require('./chunk-TQZWJGJ2.js'),chunkZVOIR4QH_js=require('./chunk-ZVOIR4QH.js'),chunkVWED6UTN_js=require('./chunk-VWED6UTN.js');require('./chunk-RFPLZDIO.js');Object.defineProperty(exports,"apiAdapter",{enumerable:true,get:function(){return chunkROTLSZMV_js.a}});Object.defineProperty(exports,"composeAdapters",{enumerable:true,get:function(){return chunkROTLSZMV_js.c}});Object.defineProperty(exports,"memoryAdapter",{enumerable:true,get:function(){return chunkROTLSZMV_js.b}});Object.defineProperty(exports,"hausaLocale",{enumerable:true,get:function(){return chunkFMJ6ICLJ_js.c}});Object.defineProperty(exports,"igboLocale",{enumerable:true,get:function(){return chunkFMJ6ICLJ_js.b}});Object.defineProperty(exports,"pidginLocale",{enumerable:true,get:function(){return chunkFMJ6ICLJ_js.d}});Object.defineProperty(exports,"yorubaLocale",{enumerable:true,get:function(){return chunkFMJ6ICLJ_js.a}});Object.defineProperty(exports,"ORG_POLICY_TEMPLATE_REGISTRY",{enumerable:true,get:function(){return chunkNUOHT3LO_js.a}});Object.defineProperty(exports,"createOrgTemplate",{enumerable:true,get:function(){return chunkNUOHT3LO_js.b}});Object.defineProperty(exports,"templateContextFor",{enumerable:true,get:function(){return chunkNUOHT3LO_js.b}});Object.defineProperty(exports,"exportDOCX",{enumerable:true,get:function(){return chunkJS7SYL5P_js.d}});Object.defineProperty(exports,"exportHTML",{enumerable:true,get:function(){return chunkJS7SYL5P_js.a}});Object.defineProperty(exports,"exportMarkdown",{enumerable:true,get:function(){return chunkJS7SYL5P_js.b}});Object.defineProperty(exports,"exportPDF",{enumerable:true,get:function(){return chunkJS7SYL5P_js.c}});Object.defineProperty(exports,"getComplianceScore",{enumerable:true,get:function(){return chunkRDALAH3Y_js.a}});Object.defineProperty(exports,"calculateBreachSeverity",{enumerable:true,get:function(){return chunk3YTAOT5O_js.a}});Object.defineProperty(exports,"DEFAULT_POLICY_SECTIONS",{enumerable:true,get:function(){return chunkD2ZKDQVL_js.c}});Object.defineProperty(exports,"DEFAULT_POLICY_VARIABLES",{enumerable:true,get:function(){return chunkD2ZKDQVL_js.d}});Object.defineProperty(exports,"createBusinessPolicyTemplate",{enumerable:true,get:function(){return chunkD2ZKDQVL_js.e}});Object.defineProperty(exports,"findUnfilledTokens",{enumerable:true,get:function(){return chunkD2ZKDQVL_js.a}});Object.defineProperty(exports,"generatePolicyText",{enumerable:true,get:function(){return chunkD2ZKDQVL_js.b}});Object.defineProperty(exports,"DEFAULT_DATA_CATEGORIES",{enumerable:true,get:function(){return chunk6LJHLE6G_js.d}});Object.defineProperty(exports,"UNFILLED_PREFIX",{enumerable:true,get:function(){return chunk6LJHLE6G_js.a}});Object.defineProperty(exports,"UNFILLED_SUFFIX",{enumerable:true,get:function(){return chunk6LJHLE6G_js.b}});Object.defineProperty(exports,"assemblePolicy",{enumerable:true,get:function(){return chunk6LJHLE6G_js.c}});Object.defineProperty(exports,"createDefaultContext",{enumerable:true,get:function(){return chunk6LJHLE6G_js.e}});Object.defineProperty(exports,"evaluatePolicyCompliance",{enumerable:true,get:function(){return chunk6LJHLE6G_js.f}});Object.defineProperty(exports,"assessTransferRisk",{enumerable:true,get:function(){return chunkYFBDJ4FH_js.h}});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,"validateTransfer",{enumerable:true,get:function(){return chunkYFBDJ4FH_js.g}});Object.defineProperty(exports,"assessComplianceGaps",{enumerable:true,get:function(){return chunkWZYCBW2R_js.c}});Object.defineProperty(exports,"generateLawfulBasisSummary",{enumerable:true,get:function(){return chunkWZYCBW2R_js.d}});Object.defineProperty(exports,"getLawfulBasisDescription",{enumerable:true,get:function(){return chunkWZYCBW2R_js.b}});Object.defineProperty(exports,"validateProcessingActivity",{enumerable:true,get:function(){return chunkWZYCBW2R_js.a}});Object.defineProperty(exports,"exportROPAToCSV",{enumerable:true,get:function(){return chunk4CVBQC66_js.c}});Object.defineProperty(exports,"generateROPASummary",{enumerable:true,get:function(){return chunk4CVBQC66_js.b}});Object.defineProperty(exports,"identifyComplianceGaps",{enumerable:true,get:function(){return chunk4CVBQC66_js.d}});Object.defineProperty(exports,"validateProcessingRecord",{enumerable:true,get:function(){return chunk4CVBQC66_js.a}});Object.defineProperty(exports,"appendAuditEntry",{enumerable:true,get:function(){return chunk3IA3KDII_js.c}});Object.defineProperty(exports,"createAuditEntry",{enumerable:true,get:function(){return chunk3IA3KDII_js.a}});Object.defineProperty(exports,"getAuditLog",{enumerable:true,get:function(){return chunk3IA3KDII_js.b}});Object.defineProperty(exports,"cookieAdapter",{enumerable:true,get:function(){return chunk7ZZO7GVB_js.b}});Object.defineProperty(exports,"sessionStorageAdapter",{enumerable:true,get:function(){return chunk7ZZO7GVB_js.a}});Object.defineProperty(exports,"validateConsent",{enumerable:true,get:function(){return chunkB46SJB5V_js.a}});Object.defineProperty(exports,"validateConsentOptions",{enumerable:true,get:function(){return chunkB46SJB5V_js.b}});Object.defineProperty(exports,"sanitizeInput",{enumerable:true,get:function(){return chunkUXUMYP4L_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}});Object.defineProperty(exports,"defaultLocale",{enumerable:true,get:function(){return chunkWKTKTLMF_js.a}});Object.defineProperty(exports,"mergeLocale",{enumerable:true,get:function(){return chunkWKTKTLMF_js.b}});Object.defineProperty(exports,"assessDPIARisk",{enumerable:true,get:function(){return chunkTQZWJGJ2_js.a}});Object.defineProperty(exports,"LEGAL_DISCLAIMER_LONG",{enumerable:true,get:function(){return chunkZVOIR4QH_js.b}});Object.defineProperty(exports,"LEGAL_DISCLAIMER_SHORT",{enumerable:true,get:function(){return chunkZVOIR4QH_js.a}});Object.defineProperty(exports,"legalDisclaimerBlock",{enumerable:true,get:function(){return chunkZVOIR4QH_js.c}});Object.defineProperty(exports,"localStorageAdapter",{enumerable:true,get:function(){return chunkVWED6UTN_js.a}});
|
package/dist/server.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as apiAdapter,c as composeAdapters,b as memoryAdapter}from'./chunk-PL4XNCQA.mjs';export{c as hausaLocale,b as igboLocale,d as pidginLocale,a as yorubaLocale}from'./chunk-
|
|
1
|
+
export{a as apiAdapter,c as composeAdapters,b as memoryAdapter}from'./chunk-PL4XNCQA.mjs';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{d as exportDOCX,a as exportHTML,b as exportMarkdown,c as exportPDF}from'./chunk-IVSNHT24.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{d as DEFAULT_DATA_CATEGORIES,a as UNFILLED_PREFIX,b as UNFILLED_SUFFIX,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{b as cookieAdapter,a as sessionStorageAdapter}from'./chunk-UASG46LP.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 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';export{a as localStorageAdapter}from'./chunk-DBZSN4WP.mjs';import'./chunk-ZJYULEER.mjs';
|
package/dist/unstyled.d.mts
CHANGED
|
@@ -402,7 +402,7 @@ export declare interface DSRRequestFormProps {
|
|
|
402
402
|
title?: string;
|
|
403
403
|
/**
|
|
404
404
|
* Description text displayed on the form
|
|
405
|
-
* @default "Use this form to exercise your rights under the Nigeria Data Protection Act (NDPA), Part
|
|
405
|
+
* @default "Use this form to exercise your rights under the Nigeria Data Protection Act (NDPA), Part VI, Sections 34-38."
|
|
406
406
|
*/
|
|
407
407
|
description?: string;
|
|
408
408
|
/**
|
package/dist/unstyled.d.ts
CHANGED
|
@@ -402,7 +402,7 @@ export declare interface DSRRequestFormProps {
|
|
|
402
402
|
title?: string;
|
|
403
403
|
/**
|
|
404
404
|
* Description text displayed on the form
|
|
405
|
-
* @default "Use this form to exercise your rights under the Nigeria Data Protection Act (NDPA), Part
|
|
405
|
+
* @default "Use this form to exercise your rights under the Nigeria Data Protection Act (NDPA), Part VI, Sections 34-38."
|
|
406
406
|
*/
|
|
407
407
|
description?: string;
|
|
408
408
|
/**
|
package/dist/unstyled.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
'use strict';var chunkBRS52EDT_js=require('./chunk-BRS52EDT.js'),
|
|
2
|
+
'use strict';var chunkBRS52EDT_js=require('./chunk-BRS52EDT.js'),chunkD3DVVJCT_js=require('./chunk-D3DVVJCT.js');require('./chunk-L2VO3MEJ.js');var chunkTWJHEIQH_js=require('./chunk-TWJHEIQH.js');require('./chunk-UXUMYP4L.js'),require('./chunk-NDKDKDDX.js'),require('./chunk-WKTKTLMF.js'),require('./chunk-AME4HJR4.js');var chunkRFPLZDIO_js=require('./chunk-RFPLZDIO.js'),P=require('react');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var P__default=/*#__PURE__*/_interopDefault(P);function e(C,R){let n=d=>{var s=d,{unstyled:l=true}=s,c=chunkRFPLZDIO_js.c(s,["unstyled"]);return P__default.default.createElement(C,chunkRFPLZDIO_js.b(chunkRFPLZDIO_js.a({},c),{unstyled:l}))};return n.displayName=R,n}var u=e(chunkD3DVVJCT_js.a,"UnstyledConsentBanner"),y=e(chunkBRS52EDT_js.a,"UnstyledConsentManager"),S=e(chunkTWJHEIQH_js.a,"UnstyledDSRRequestForm");exports.ConsentBanner=u;exports.ConsentManager=y;exports.DSRRequestForm=S;
|
package/dist/unstyled.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {a as a$2}from'./chunk-U5RWJRGA.mjs';import {a as a$1}from'./chunk-
|
|
2
|
+
import {a as a$2}from'./chunk-U5RWJRGA.mjs';import {a as a$1}from'./chunk-WYH3OA5L.mjs';import'./chunk-YTU4FNM2.mjs';import {a as a$3}from'./chunk-IPWX5I5P.mjs';import'./chunk-EWVK45Z3.mjs';import'./chunk-25TNTLHJ.mjs';import'./chunk-RBMLGRDN.mjs';import'./chunk-SFGW37LE.mjs';import {c,b,a}from'./chunk-ZJYULEER.mjs';import P from'react';function e(C,R){let n=d=>{var s=d,{unstyled:l=true}=s,c$1=c(s,["unstyled"]);return P.createElement(C,b(a({},c$1),{unstyled:l}))};return n.displayName=R,n}var u=e(a$1,"UnstyledConsentBanner"),y=e(a$2,"UnstyledConsentManager"),S=e(a$3,"UnstyledDSRRequestForm");export{u as ConsentBanner,y as ConsentManager,S as DSRRequestForm};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tantainnovative/ndpr-toolkit",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Nigeria Data Protection Toolkit — enterprise-grade compliance components for the Nigeria Data Protection Act (NDPA) 2023",
|
|
6
6
|
"pnpm": {
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"dev": "next dev --turbopack",
|
|
24
24
|
"build": "next build && node scripts/post-build.js",
|
|
25
25
|
"build:lib": "tsup && cp packages/ndpr-toolkit/src/styles.d.ts dist/styles.d.ts && node scripts/rollup-dts.mjs",
|
|
26
|
+
"verify:tarball": "node scripts/verify-tarball.mjs",
|
|
26
27
|
"prepublishOnly": "pnpm build:lib",
|
|
27
28
|
"start": "next start",
|
|
28
29
|
"lint": "next lint .",
|
package/dist/chunk-4QXTB3L6.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'use strict';var e={consent:{title:"A M\u1ECDy\xEC \xC0\u1E63\xEDr\xED R\u1EB9",description:"A \u0144 lo k\xFAk\xEC \xE0ti \xE0w\u1ECDn \xECm\u1ECD\u0300-\u1EB9\u0300r\u1ECD t\xF3 j\u1ECDra l\xE1ti p\xE8s\xE8 i\u1E63\u1EB9\u0301 wa \xE0ti l\xE1ti m\xFA \xECr\xEDr\xED r\u1EB9 d\xE1ra s\xED i. A \u0144 gba \xECfoh\xF9n\u1E63\u1ECD\u0300kan r\u1EB9 g\u1EB9\u0301g\u1EB9\u0301 b\xED Abala 25-26 ti \xD2fin \xCCd\xE1\xE0b\xF2b\xF2 D\xE1t\xE0 ti N\xE0\xECj\xEDr\xED\xE0.",acceptAll:"Gba Gbogbo",rejectAll:"K\u1ECD Gbogbo",customize:"\u1E62\xE0t\xFAn\u1E63e",savePreferences:"T\u1ECD\u0301j\xFA \xC0\u1E63\xE0y\xE0n",selectAll:"Yan Gbogbo",deselectAll:"Y\u1ECD Gbogbo K\xFAr\xF2",required:"K\xF2 \u1E62e Y\u1EB9ra F\xFAn",cookieNotice:'N\xEDpa t\xEDt\u1EB9 "Gba Gbogbo", o foh\xF9n \u1E63\u1ECD\u0300kan p\u1EB9\u0300l\xFA l\xEDlo gbogbo k\xFAk\xEC. \u1E62\xE0b\u1EB9\u0300w\xF2 \xCCl\xE0n\xE0 K\xFAk\xEC wa l\xE1ti k\u1EB9\u0301k\u1ECD\u0300\u1ECD\u0301 s\xEDi.'},dsr:{title:"Fi \xCCb\xE9\xE8r\xE8 On\xED-d\xE1t\xE0 S\xEDl\u1EB9\u0300",description:"Lo f\u1ECD\u0301\u1ECD\u0300m\xF9 y\xEC\xED l\xE1ti lo \xE0w\u1ECDn \u1EB9\u0300t\u1ECD\u0301 r\u1EB9 l\xE1b\u1EB9\u0301 \xD2fin \xCCd\xE1\xE0b\xF2b\xF2 D\xE1t\xE0 ti N\xE0\xECj\xEDr\xED\xE0 (NDPA), Ap\xE1 K\u1EB9rin, Abala 29-36.",submitRequest:"Fi \xCCb\xE9\xE8r\xE8 S\xEDl\u1EB9\u0300",reset:"T\xFAn B\u1EB9\u0300r\u1EB9\u0300",fullName:"Or\xFAk\u1ECD K\xEDk\xFAn",email:"\xC0d\xEDr\u1EB9\u0301s\xEC \xCDme\xE8l\xEC",phone:"N\u1ECD\u0301mb\xE0 F\xF3\xF2n\xF9 (\xC0\u1E63\xE0y\xE0n)",requestType:"Ir\xFA \xCCb\xE9\xE8r\xE8",additionalInfo:"\xC0l\xE0y\xE9 \xC0fik\xFAn",identityVerification:"\xCCd\xE1nil\xF3j\xFA \xCCd\xE1nim\u1ECD\u0300",identifierType:"Ir\xFA \xCCd\xE1nim\u1ECD\u0300",identifierValue:"Iye \xCCd\xE1nim\u1ECD\u0300",privacyNotice:"\xC0w\u1ECDn \xECr\xF2y\xECn t\xED o b\xE1 p\xE8s\xE8 n\xEDn\xFA f\u1ECD\u0301\u1ECD\u0300m\xF9 y\xEC\xED ni a \xF3 l\xF2 f\xFAn \xE8te \u1E63\xED\u1E63e \xE0b\xF3j\xFAt\xF3 \xECb\xE9\xE8r\xE8 on\xED-d\xE1t\xE0 r\u1EB9 n\xECkan.",successMessage:"A ti fi \xECb\xE9\xE8r\xE8 r\u1EB9 s\xEDl\u1EB9\u0300 d\xE1rad\xE1ra."},breach:{title:"\u1E62e \xCCr\xF2y\xECn \xCCr\xFAfin D\xE1t\xE0",description:"Lo f\u1ECD\u0301\u1ECD\u0300m\xF9 y\xEC\xED l\xE1ti \u1E63e \xECr\xF2y\xECn \xECr\xFAfin d\xE1t\xE0 t\xED a fura s\xED t\xE0b\xED t\xED a ti fidi r\u1EB9\u0300 m\xFAl\u1EB9\u0300 g\u1EB9\u0301g\u1EB9\u0301 b\xED Abala 40 ti NDPA.",submitReport:"Fi \xCCr\xF2y\xECn S\xEDl\u1EB9\u0300",breachTitle:"\xC0k\u1ECDl\xE9/\xC0k\xF3p\u1ECD\u0300 \xCCr\xFAfin",category:"\u1EB8\u0300ka",discoveredAt:"\u1ECCj\u1ECD\u0301 T\xED A R\xED I",detailedDescription:"\xC0l\xE0y\xE9 K\xEDk\xFAn"},dpia:{title:"\xCCgb\xE9l\xE9w\u1ECD\u0300n Ipa \xCCd\xE1\xE0b\xF2b\xF2 D\xE1t\xE0",next:"T\u1EB9\u0300l\xE9",previous:"S\u1EB9\u0301y\xECn",complete:"Par\xED \xCCgb\xE9l\xE9w\u1ECD\u0300n",progress:"\xCCl\u1ECDs\xEDw\xE1j\xFA"},policy:{title:"Ol\xF9pil\u1EB9\u0300\u1E63\u1EB9\u0300 \xCCl\xE0n\xE0 \xC0\u1E63\xEDr\xED",generate:"\u1E62\u1EB9\u0300d\xE1 \xCCl\xE0n\xE0",preview:"\xC0y\u1EB9\u0300w\xF2",export:"Gb\xE9 J\xE1de",sections:"\xC0w\u1ECDn Abala",variables:"\xC0w\u1ECDn On\xEDy\xEDpad\xE0"},compliance:{score:"\xC0m\xEC \xCCb\xE1mu",excellent:"K\xF2 L\xE8 D\xE1ra Ju",good:"\xD3 D\xE1ra",needsWork:"N\xEDl\xF2 \xC0t\xFAn\u1E63e",critical:"P\xE0t\xE0k\xEC Gan",recommendations:"\xC0w\u1ECDn \xC0b\xE1",passed:"K\u1ECDj\xE1",gaps:"\xC0w\u1ECDn \xC0\xECp\xE9"},common:{loading:"\u0143 gb\xE9y\u1EB9\u0300w\xF2...",error:"\xC0\u1E63\xEC\u1E63e kan \u1E63\u1EB9l\u1EB9\u0300",save:"T\u1ECD\u0301j\xFA",cancel:"Fagil\xE9",delete:"Pa r\u1EB9\u0301",edit:"\u1E62\xE0t\xFAn\u1E63e",add:"Fik\xFAn",back:"Pad\xE0",next:"T\u1EB9\u0300l\xE9",search:"W\xE1",noResults:"K\xF2 s\xED \xE8s\xEC kankan"}};var i={consent:{title:"Any\u1ECB Na-akwanyere Nzuzo G\u1ECB \xD9gw\xF9",description:"Any\u1ECB na-eji kuki na tekn\u1ECDl\u1ECDj\u1ECB nd\u1ECB yiri ya enyere \u1ECDr\u1EE5 any\u1ECB aka ma melite ah\u1EE5m\u1ECBhe g\u1ECB. A na-anak\u1ECDta nkwenye g\u1ECB d\u1ECBka iwu NDPA Ngalaba 25-26 si kwuo.",acceptAll:"Nabata Niile",rejectAll:"J\u1EE5 Niile",customize:"Hazie",savePreferences:"Chekwaa Nh\u1ECDr\u1ECD",selectAll:"H\u1ECDr\u1ECD Niile",deselectAll:"Wep\u1EE5 Niile",required:"Ach\u1ECDr\u1ECD",cookieNotice:'Site na \u1ECBp\u1ECB "Nabata Niile", \u1ECB kwenyere na iji kuki niile. Gaa na Am\u1EE5ma Kuki any\u1ECB \u1ECBm\u1EE5takwu.'},dsr:{title:"Tinye Ar\u1ECBr\u1ECB\u1ECD Onye Nwe Data",description:"Jiri f\u1ECD\u1ECDm\u1EE5 a mee ka ikike g\u1ECB n'okpuru Iwu Nchedo Data nke Na\u1ECBjir\u1ECBa (NDPA), Nkebi An\u1ECD, Ngalaba 29-36 r\u1EE5\u1ECD \u1ECDr\u1EE5.",submitRequest:"Tinye Ar\u1ECBr\u1ECB\u1ECD",reset:"Maliteghar\u1ECBa",fullName:"Aha Zuru Oke",email:"Adrees\u1ECB Email",phone:"N\u1ECDmb\xE0 Ekwent\u1ECB (Nh\u1ECDr\u1ECD)",requestType:"\u1EE4d\u1ECB Ar\u1ECBr\u1ECB\u1ECD",additionalInfo:"Ozi Nd\u1ECB \u1ECCz\u1ECD",identityVerification:"Nyocha Njirimara",identifierType:"\u1EE4d\u1ECB Njirimara",identifierValue:"Uru Njirimara",privacyNotice:"A ga-eji ozi \u1ECB nyere na f\u1ECD\u1ECDm\u1EE5 a naan\u1ECB maka ebumnuche nke ilek\u1ECDta ar\u1ECBr\u1ECB\u1ECD onye nwe data g\u1ECB.",successMessage:"Etinyela ar\u1ECBr\u1ECB\u1ECD g\u1ECB nke \u1ECDma."},breach:{title:"K\u1ECD\u1ECD Mwap\u1EE5 Data",description:"Jiri f\u1ECD\u1ECDm\u1EE5 a k\u1ECD\u1ECD mwap\u1EE5 data a na-echere ma \u1ECD b\u1EE5 nke e gosip\u1EE5tara d\u1ECBka iwu NDPA Ngalaba 40 si kwuo.",submitReport:"Tinye Ak\u1EE5k\u1ECD",breachTitle:"Isiokwu/Nch\u1ECBk\u1ECDta Mwap\u1EE5",category:"Udi",discoveredAt:"\u1EE4b\u1ECDch\u1ECB A Ch\u1ECDp\u1EE5tara",detailedDescription:"Nk\u1ECDwa Zuru Oke"},dpia:{title:"Nyocha Mmet\u1EE5ta Nchedo Data",next:"\u1ECCz\u1ECD",previous:"Az\u1EE5",complete:"Mechaa Nyocha",progress:"\u1ECCganihu"},policy:{title:"Ngwa Mmep\u1EE5ta Am\u1EE5ma Nzuzo",generate:"Mep\u1EE5ta Am\u1EE5ma",preview:"Lelee",export:"Bup\u1EE5ta",sections:"Ngalaba",variables:"Mgbanwe"},compliance:{score:"Akara Ndabere",excellent:"Kachas\u1ECB Mma",good:"\u1ECC D\u1ECB Mma",needsWork:"Ch\u1ECDr\u1ECD Mmezighar\u1ECB",critical:"D\u1ECB Oke Mkpa",recommendations:"Nd\u1EE5m\u1ECDd\u1EE5",passed:"Gafere",gaps:"Oghere"},common:{loading:"Na-ebugo...",error:"Mperi mere",save:"Chekwaa",cancel:"Kagbuo",delete:"Hichap\u1EE5",edit:"Dezie",add:"Tinye",back:"Laghachi",next:"\u1ECCz\u1ECD",search:"Ch\u1ECD\u1ECD",noResults:"Enwegh\u1ECB nsonaaz\u1EE5"}};var t={consent:{title:"Muna Daraja Sirrin Ka",description:"Muna amfani da kukis da fasahohi irin su don samar da ayyukanmu da inganta kwarewar ka. Ana tattara yardar ka bisa ga Sashe na 25-26 na Dokar Kare Bayanan Nijeriya.",acceptAll:"Kar\u0253i Duka",rejectAll:"\u0198i Duka",customize:"Gyara Za\u0253i",savePreferences:"Ajiye Za\u0253u\u0253\u0253uka",selectAll:"Za\u0253i Duka",deselectAll:"Cire Duka",required:"Wajibi Ne",cookieNotice:'Ta hanyar danna "Kar\u0253i Duka", ka yarda da amfani da dukkan kukis. Ziyarci Manufar Kukis don \u0199arin bayani.'},dsr:{title:"\u0198addamar da Bu\u0199atar Mai Bayanan",description:"Yi amfani da wannan fom don aiwatar da ha\u0199\u0199o\u0199in ka a \u0199ar\u0199ashin Dokar Kare Bayanan Nijeriya (NDPA), Bangare na Hu\u0257u, Sashe 29-36.",submitRequest:"\u0198addamar da Bu\u0199ata",reset:"Sake Saiti",fullName:"Sunan Cikakke",email:"Adireshin Imel",phone:"Lambar Waya (Na Za\u0253i)",requestType:"Nau'in Bu\u0199ata",additionalInfo:"\u0198arin Bayani",identityVerification:"Tabbatar da Ainihi",identifierType:"Nau'in Ganewa",identifierValue:"Darajar Ganewa",privacyNotice:"Za a yi amfani da bayanan da ka bayar a cikin wannan fom ne kawai don sarrafa bu\u0199atar mai bayanan ka.",successMessage:"An \u0199addamar da bu\u0199atar ka cikin nasara."},breach:{title:"Bayar da Rahoton Karya Bayanan",description:"Yi amfani da wannan fom don bayar da rahoton zargin ko tabbatar da karya bayanan bisa ga Sashe na 40 na NDPA.",submitReport:"\u0198addamar da Rahoto",breachTitle:"Taken/Ta\u0199aitaccen Karya",category:"Rukunin",discoveredAt:"Ranar da Aka Gano",detailedDescription:"Cikakken Bayani"},dpia:{title:"Tantance Tasirin Kare Bayanan",next:"Na Gaba",previous:"Na Baya",complete:"Kammala Tantancewa",progress:"Ci Gaba"},policy:{title:"Mai \u0198ir\u0199irar Manufar Sirri",generate:"\u0198ir\u0199iri Manufa",preview:"Duba",export:"Fitar",sections:"Sassa",variables:"Masu Canjin"},compliance:{score:"Makin Bin Doka",excellent:"Kyakkyawa Sosai",good:"Mai Kyau",needsWork:"Yana Bu\u0199atar Gyara",critical:"Mai Muhimmanci",recommendations:"Shawarwari",passed:"Ya Wuce",gaps:"Gi\u0253i"},common:{loading:"Ana lodawa...",error:"Kuskure ya faru",save:"Ajiye",cancel:"Soke",delete:"Goge",edit:"Gyara",add:"\u0198ara",back:"Komawa",next:"Na Gaba",search:"Bincika",noResults:"Ba a sami sakamako ba"}};var o={consent:{title:"Your Privacy Dey Important to Us",description:"We dey use cookies and technologies wey dey similar to give you beta service and make your experience sweet. We dey collect your consent as NDPA Sections 25-26 talk am.",acceptAll:"Accept Everything",rejectAll:"Reject Everything",customize:"Choose Wetin You Want",savePreferences:"Save Your Choice",selectAll:"Select Everything",deselectAll:"Remove Everything",required:"E Dey Required",cookieNotice:'If you click "Accept Everything", you don agree say we fit use all the cookies. Check our Cookie Policy to sabi more.'},dsr:{title:"Send Data Subject Request",description:"Use this form take exercise your rights under the Nigeria Data Protection Act (NDPA), Part IV, Sections 29-36.",submitRequest:"Send Your Request",reset:"Start Again",fullName:"Your Full Name",email:"Email Address",phone:"Phone Number (If You Want)",requestType:"Type of Request",additionalInfo:"Any Other Information",identityVerification:"Verify Your Identity",identifierType:"Type of ID",identifierValue:"ID Value",privacyNotice:"The information wey you give for this form, na only for processing your data subject request we go use am.",successMessage:"We don receive your request successfully."},breach:{title:"Report Data Breach",description:"Use this form report any data breach wey you suspect or wey don happen, as NDPA Section 40 talk am.",submitReport:"Send Report",breachTitle:"Breach Title/Summary",category:"Category",discoveredAt:"Date Wey You Discover Am",detailedDescription:"Full Gist About Wetin Happen"},dpia:{title:"Data Protection Impact Assessment",next:"Next",previous:"Go Back",complete:"Finish Assessment",progress:"Progress"},policy:{title:"Privacy Policy Generator",generate:"Create Policy",preview:"Preview",export:"Export",sections:"Sections",variables:"Variables"},compliance:{score:"Compliance Score",excellent:"E Dey Excellent",good:"E Good",needsWork:"E Need Work",critical:"E Dey Critical",recommendations:"Wetin We Recommend",passed:"E Pass",gaps:"Gaps"},common:{loading:"E dey load...",error:"Error don happen",save:"Save",cancel:"Cancel",delete:"Delete",edit:"Edit",add:"Add",back:"Go Back",next:"Next",search:"Search",noResults:"We no find any result"}};exports.a=e;exports.b=i;exports.c=t;exports.d=o;
|
package/dist/chunk-5IOC3VAW.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'use strict';var chunkW7OLQRJP_js=require('./chunk-W7OLQRJP.js'),chunk3GRGYT3P_js=require('./chunk-3GRGYT3P.js'),chunkRFPLZDIO_js=require('./chunk-RFPLZDIO.js'),react=require('react'),jsxRuntime=require('react/jsx-runtime');var u=d=>{var o=d,{template:e,templateOverrides:r,initialContext:t}=o,l=chunkRFPLZDIO_js.c(o,["template","templateOverrides","initialContext"]);let n=react.useMemo(()=>{if(t)return t;if(e)return chunk3GRGYT3P_js.b(e,r)},[t,e,r]);return jsxRuntime.jsx(chunkW7OLQRJP_js.a,chunkRFPLZDIO_js.b(chunkRFPLZDIO_js.a({},l),{initialContext:n}))};exports.a=u;
|
package/dist/chunk-732C2EVN.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'use strict';var chunkL2VO3MEJ_js=require('./chunk-L2VO3MEJ.js'),chunkAME4HJR4_js=require('./chunk-AME4HJR4.js'),chunkRFPLZDIO_js=require('./chunk-RFPLZDIO.js'),react=require('react'),reactDom=require('react-dom'),jsxRuntime=require('react/jsx-runtime');var Sn=({options:d,onSave:Y,title:K="We Value Your Privacy",description:Q="We use cookies and similar technologies to provide our services and enhance your experience. Your consent is collected in accordance with NDPA Sections 25-26.",acceptAllButtonText:U="Accept All",rejectAllButtonText:X="Reject All",customizeButtonText:Z="Customize",saveButtonText:s="Save Preferences",position:m="bottom",variant:h="bar",zIndex:I=9999,version:_="1.0",show:C,manageStorage:x=true,storageKey:y="ndpr_consent",className:$="",buttonClassName:A="",primaryButtonClassName:N="",secondaryButtonClassName:nn="",classNames:n,unstyled:o,onAnalytics:B})=>{let[u,c]=react.useState(false),[l,R]=react.useState(false),[a,k]=react.useState({}),[T,tn]=react.useState(false),en=chunkL2VO3MEJ_js.a({active:u}),z=react.useRef(null),E=react.useRef(false);react.useEffect(()=>{tn(true);},[]);let p=react.useCallback((t,e)=>{B==null||B(chunkRFPLZDIO_js.a({action:t,timestamp:Date.now(),version:_},e!==void 0?{categories:e}:{}));},[B,_]);react.useEffect(()=>{let t={};if(d.forEach(e=>{t[e.id]=e.defaultValue||false;}),k(t),C===void 0)if(!x)c(true);else {let e=localStorage.getItem(y);if(e)try{JSON.parse(e).version!==_?c(!0):c(!1);}catch(w){c(true);}else c(true);}else c(C);},[d,y,_,x]),react.useEffect(()=>{C!==void 0&&c(C);},[C]);let on=()=>{let t={};d.forEach(e=>{t[e.id]=true;}),p("accepted_all",t),P(t);},q=()=>{let t={};d.forEach(e=>{t[e.id]=e.required||false;}),p("rejected_all",t),P(t);},rn=(t,e)=>{k(w=>chunkRFPLZDIO_js.b(chunkRFPLZDIO_js.a({},w),{[t]:e}));},dn=()=>{let t={};d.forEach(e=>{t[e.id]=true;}),k(t);},cn=()=>{let t={};d.forEach(e=>{t[e.id]=e.required||false;}),k(t);},H=d.length>0&&d.every(t=>a[t.id]),un=()=>{p("customized",a),P(a);},P=t=>{let e={consents:t,timestamp:Date.now(),version:_,method:l?"customize":"banner",hasInteracted:true};x&&localStorage.setItem(y,JSON.stringify(e)),Y(e),c(false),R(false);};if(react.useEffect(()=>{if(!u)return;let t=e=>{e.key==="Escape"&&(p("dismissed"),q());};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[u,p,d,l]),react.useEffect(()=>{u&&!E.current&&(E.current=true,p("shown")),u||(E.current=false);},[u,p]),react.useEffect(()=>{if(l&&z.current){let t=z.current;t.style.maxHeight="0px",t.style.opacity="0",t.offsetHeight,t.style.maxHeight=`${t.scrollHeight}px`,t.style.opacity="1";}},[l]),!u)return null;let f=h==="modal"?"center":m,O=f==="inline",j=f==="center",g=["ndpr-consent-banner"];h!=="bar"&&g.push(`ndpr-consent-banner--${h}`),f==="top"?g.push("ndpr-consent-banner--top"):f==="bottom"?g.push("ndpr-consent-banner--bottom"):f==="inline"&&g.push("ndpr-consent-banner--inline"),$&&g.push($);let pn=g.join(" "),F=`ndpr-consent-banner__button ndpr-consent-banner__button--primary ${A} ${N}`.trim(),bn=`ndpr-consent-banner__button ndpr-consent-banner__button--secondary ${A} ${nn}`.trim(),ln=`ndpr-consent-banner__button ndpr-consent-banner__button--ghost ${A}`.trim(),fn=(n==null?void 0:n.primaryButton)||(n==null?void 0:n.acceptButton)||F,G=(n==null?void 0:n.secondaryButton)||(n==null?void 0:n.rejectButton)||bn,gn=(n==null?void 0:n.customizeButton)||ln,vn=(n==null?void 0:n.saveButton)||F,D=jsxRuntime.jsx("div",{ref:en,tabIndex:-1,"data-ndpr-component":"consent-banner","data-ndpr-variant":h,"data-ndpr-position":f,className:chunkAME4HJR4_js.a(pn,n==null?void 0:n.root,o),style:!O&&!j?{zIndex:I}:void 0,role:"dialog","aria-modal":j||void 0,"aria-labelledby":"consent-banner-title","aria-describedby":"consent-banner-description",children:jsxRuntime.jsxs("div",{className:chunkAME4HJR4_js.a("ndpr-consent-banner__container",n==null?void 0:n.container,o),children:[jsxRuntime.jsx("h2",{id:"consent-banner-title",className:chunkAME4HJR4_js.a("ndpr-consent-banner__title",n==null?void 0:n.title,o),children:K}),jsxRuntime.jsx("p",{id:"consent-banner-description",className:chunkAME4HJR4_js.a("ndpr-consent-banner__description",n==null?void 0:n.description,o),children:Q}),l&&jsxRuntime.jsxs("div",{ref:z,className:chunkAME4HJR4_js.a("ndpr-consent-banner__customize-panel",n==null?void 0:n.customizePanel,o),children:[jsxRuntime.jsx("div",{className:o?"":"ndpr-consent-banner__select-all-row",children:jsxRuntime.jsx("button",{type:"button",onClick:H?cn:dn,className:chunkAME4HJR4_js.a("ndpr-consent-banner__select-all-button",n==null?void 0:n.selectAllButton,o),children:H?"Deselect All":"Select All"})}),jsxRuntime.jsx("div",{className:chunkAME4HJR4_js.a("ndpr-consent-banner__options-list",n==null?void 0:n.optionsList,o),children:d.map(t=>jsxRuntime.jsxs("div",{className:chunkAME4HJR4_js.a("ndpr-consent-banner__option",n==null?void 0:n.optionItem,o),children:[jsxRuntime.jsx("input",{id:`consent-${t.id}`,type:"checkbox",checked:a[t.id]||false,onChange:e=>rn(t.id,e.target.checked),disabled:t.required,className:chunkAME4HJR4_js.a("ndpr-consent-banner__option-checkbox",n==null?void 0:n.optionCheckbox,o)}),jsxRuntime.jsxs("div",{className:o?"":"ndpr-consent-banner__option-text",children:[jsxRuntime.jsxs("label",{htmlFor:`consent-${t.id}`,className:chunkAME4HJR4_js.a("ndpr-consent-banner__option-label",n==null?void 0:n.optionLabel,o),children:[t.label,t.required&&jsxRuntime.jsx("span",{className:o?"":"ndpr-consent-banner__required-marker",children:" *"})]}),jsxRuntime.jsx("p",{className:chunkAME4HJR4_js.a("ndpr-consent-banner__option-description",n==null?void 0:n.optionDescription,o),children:t.description})]})]},t.id))}),jsxRuntime.jsxs("div",{className:chunkAME4HJR4_js.a("ndpr-consent-banner__buttons",n==null?void 0:n.buttonGroup,o),children:[jsxRuntime.jsx("button",{onClick:un,className:chunkAME4HJR4_js.a(vn,n==null?void 0:n.saveButton,o),children:s}),jsxRuntime.jsx("button",{onClick:()=>R(false),className:chunkAME4HJR4_js.a(G,n==null?void 0:n.rejectButton,o),children:"Back"})]})]}),!l&&jsxRuntime.jsxs("div",{className:chunkAME4HJR4_js.a("ndpr-consent-banner__buttons",n==null?void 0:n.buttonGroup,o),children:[jsxRuntime.jsx("button",{onClick:on,className:chunkAME4HJR4_js.a(fn,n==null?void 0:n.acceptButton,o),children:U}),jsxRuntime.jsx("button",{onClick:q,className:chunkAME4HJR4_js.a(G,n==null?void 0:n.rejectButton,o),children:X}),jsxRuntime.jsx("button",{onClick:()=>R(true),className:chunkAME4HJR4_js.a(gn,n==null?void 0:n.customizeButton,o),children:Z})]}),jsxRuntime.jsx("div",{className:chunkAME4HJR4_js.a("ndpr-consent-banner__footer-text",void 0,o),children:'By clicking "Accept All", you agree to the use of ALL cookies. Visit our Cookie Policy to learn more.'})]})});if(O)return D;if(j){let t=jsxRuntime.jsx("div",{className:o?"":"ndpr-consent-banner__overlay",style:{zIndex:I},children:D});return T?reactDom.createPortal(t,document.body):null}return T?reactDom.createPortal(D,document.body):null};exports.a=Sn;
|
package/dist/chunk-AOHKVFAS.mjs
DELETED
|
@@ -1,322 +0,0 @@
|
|
|
1
|
-
import {b}from'./chunk-ITCY2Z66.mjs';import {d}from'./chunk-ZJYULEER.mjs';function v(o){return o.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function G(o,a){var r,i;if(!o)return "";let d={},e=(r=a.organizationInfo)!=null?r:{};typeof e.name=="string"&&e.name&&(d.orgName=e.name);for(let[t,l]of Object.entries(e))typeof l=="string"&&l&&!(t in d)&&(d[t]=l);for(let[t,l]of Object.entries((i=a.variableValues)!=null?i:{}))typeof l=="string"&&l&&(d[t]=l);return o.replace(/\{\{\s*([^}\s]+)\s*\}\}/g,(t,l)=>{let n=String(l).trim();return Object.prototype.hasOwnProperty.call(d,n)?d[n]:t})}function F(o){return o.toLowerCase().replace(/[^a-z0-9\s-]/g,"").trim().replace(/\s+/g,"-")}function H(o){let a=o.split(`
|
|
2
|
-
`),d=[],e=false;for(let r of a){let i=r.trimEnd();i.startsWith("- ")||i.startsWith("\u2022 ")?(e||(d.push("<ul>"),e=true),d.push(` <li>${v(i.replace(/^[-•]\s*/,""))}</li>`)):(e&&(d.push("</ul>"),e=false),i.trim()===""||d.push(`<p>${v(i)}</p>`));}return e&&d.push("</ul>"),d.join(`
|
|
3
|
-
`)}var _=`
|
|
4
|
-
--color-bg: #ffffff;
|
|
5
|
-
--color-surface: #f9fafb;
|
|
6
|
-
--color-border: #e5e7eb;
|
|
7
|
-
--color-text: #111827;
|
|
8
|
-
--color-text-muted: #6b7280;
|
|
9
|
-
--color-accent: #16a34a;
|
|
10
|
-
--color-accent-light: #dcfce7;
|
|
11
|
-
--color-heading: #064e3b;
|
|
12
|
-
--color-link: #15803d;
|
|
13
|
-
--color-link-hover: #166534;`,I=`
|
|
14
|
-
--color-bg: #0f172a;
|
|
15
|
-
--color-surface: #1e293b;
|
|
16
|
-
--color-border: #334155;
|
|
17
|
-
--color-text: #f1f5f9;
|
|
18
|
-
--color-text-muted: #94a3b8;
|
|
19
|
-
--color-accent: #22c55e;
|
|
20
|
-
--color-accent-light: #14532d;
|
|
21
|
-
--color-heading: #86efac;
|
|
22
|
-
--color-link: #4ade80;
|
|
23
|
-
--color-link-hover: #86efac;`;function R(o){let a=o==="auto"?" color-scheme: light dark;":o==="dark"?" color-scheme: dark;":" color-scheme: light;",d=o==="dark"?I:_,e=o==="auto"?`
|
|
24
|
-
|
|
25
|
-
@media (prefers-color-scheme: dark) {
|
|
26
|
-
:root {${I}
|
|
27
|
-
}
|
|
28
|
-
}`:"";return `
|
|
29
|
-
:root {
|
|
30
|
-
${a}${d}
|
|
31
|
-
--font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
32
|
-
--font-mono: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, monospace;
|
|
33
|
-
--radius: 8px;
|
|
34
|
-
--shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
|
|
35
|
-
--max-width: 860px;
|
|
36
|
-
}${e}`}var W=`
|
|
37
|
-
/* \u2500\u2500 Reset & Base \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
38
|
-
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
39
|
-
|
|
40
|
-
/* \u2500\u2500 Design tokens \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */`,B=`
|
|
41
|
-
/* \u2500\u2500 Layout \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
42
|
-
html { font-size: 16px; scroll-behavior: smooth; }
|
|
43
|
-
|
|
44
|
-
body {
|
|
45
|
-
font-family: var(--font-sans);
|
|
46
|
-
background: var(--color-bg);
|
|
47
|
-
color: var(--color-text);
|
|
48
|
-
line-height: 1.7;
|
|
49
|
-
padding: 2rem 1.25rem;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.policy-wrapper {
|
|
53
|
-
max-width: var(--max-width);
|
|
54
|
-
margin: 0 auto;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/* \u2500\u2500 Header \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
58
|
-
.policy-header {
|
|
59
|
-
background: var(--color-surface);
|
|
60
|
-
border: 1px solid var(--color-border);
|
|
61
|
-
border-radius: var(--radius);
|
|
62
|
-
padding: 2.5rem 2.5rem 2rem;
|
|
63
|
-
margin-bottom: 2rem;
|
|
64
|
-
box-shadow: var(--shadow);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.policy-header h1 {
|
|
68
|
-
font-size: 2rem;
|
|
69
|
-
font-weight: 700;
|
|
70
|
-
color: var(--color-heading);
|
|
71
|
-
line-height: 1.2;
|
|
72
|
-
margin-bottom: 0.75rem;
|
|
73
|
-
letter-spacing: -0.025em;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.policy-meta {
|
|
77
|
-
display: flex;
|
|
78
|
-
flex-wrap: wrap;
|
|
79
|
-
gap: 0.5rem 1.5rem;
|
|
80
|
-
font-size: 0.875rem;
|
|
81
|
-
color: var(--color-text-muted);
|
|
82
|
-
margin-top: 0.5rem;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.policy-meta span { white-space: nowrap; }
|
|
86
|
-
|
|
87
|
-
.compliance-badge {
|
|
88
|
-
display: inline-flex;
|
|
89
|
-
align-items: center;
|
|
90
|
-
gap: 0.35rem;
|
|
91
|
-
background: var(--color-accent-light);
|
|
92
|
-
color: var(--color-accent);
|
|
93
|
-
font-size: 0.75rem;
|
|
94
|
-
font-weight: 600;
|
|
95
|
-
padding: 0.25rem 0.75rem;
|
|
96
|
-
border-radius: 9999px;
|
|
97
|
-
margin-top: 1rem;
|
|
98
|
-
letter-spacing: 0.01em;
|
|
99
|
-
border: 1px solid var(--color-accent);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/* \u2500\u2500 Navigation / TOC \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
103
|
-
.policy-toc {
|
|
104
|
-
background: var(--color-surface);
|
|
105
|
-
border: 1px solid var(--color-border);
|
|
106
|
-
border-left: 4px solid var(--color-accent);
|
|
107
|
-
border-radius: var(--radius);
|
|
108
|
-
padding: 1.5rem 2rem;
|
|
109
|
-
margin-bottom: 2.5rem;
|
|
110
|
-
box-shadow: var(--shadow);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.policy-toc h2 {
|
|
114
|
-
font-size: 1rem;
|
|
115
|
-
font-weight: 700;
|
|
116
|
-
text-transform: uppercase;
|
|
117
|
-
letter-spacing: 0.08em;
|
|
118
|
-
color: var(--color-text-muted);
|
|
119
|
-
margin-bottom: 1rem;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.policy-toc ol {
|
|
123
|
-
list-style: decimal;
|
|
124
|
-
padding-left: 1.25rem;
|
|
125
|
-
column-count: 1;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
@media (min-width: 600px) {
|
|
129
|
-
.policy-toc ol { column-count: 2; column-gap: 2rem; }
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.policy-toc li { margin-bottom: 0.35rem; break-inside: avoid; }
|
|
133
|
-
|
|
134
|
-
.policy-toc a {
|
|
135
|
-
color: var(--color-link);
|
|
136
|
-
text-decoration: none;
|
|
137
|
-
font-size: 0.9375rem;
|
|
138
|
-
transition: color 0.15s ease;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.policy-toc a:hover { color: var(--color-link-hover); text-decoration: underline; }
|
|
142
|
-
|
|
143
|
-
/* \u2500\u2500 Article / Sections \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
144
|
-
article.policy-body { display: flex; flex-direction: column; gap: 2.5rem; }
|
|
145
|
-
|
|
146
|
-
.policy-section {
|
|
147
|
-
background: var(--color-surface);
|
|
148
|
-
border: 1px solid var(--color-border);
|
|
149
|
-
border-radius: var(--radius);
|
|
150
|
-
padding: 2rem 2.5rem;
|
|
151
|
-
box-shadow: var(--shadow);
|
|
152
|
-
scroll-margin-top: 1.5rem;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.policy-section h2 {
|
|
156
|
-
font-size: 1.25rem;
|
|
157
|
-
font-weight: 700;
|
|
158
|
-
color: var(--color-heading);
|
|
159
|
-
margin-bottom: 1.25rem;
|
|
160
|
-
padding-bottom: 0.75rem;
|
|
161
|
-
border-bottom: 2px solid var(--color-accent-light);
|
|
162
|
-
display: flex;
|
|
163
|
-
align-items: baseline;
|
|
164
|
-
gap: 0.5rem;
|
|
165
|
-
line-height: 1.3;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.section-number {
|
|
169
|
-
font-size: 0.75rem;
|
|
170
|
-
font-weight: 700;
|
|
171
|
-
background: var(--color-accent);
|
|
172
|
-
color: #fff;
|
|
173
|
-
width: 1.5rem;
|
|
174
|
-
height: 1.5rem;
|
|
175
|
-
display: inline-flex;
|
|
176
|
-
align-items: center;
|
|
177
|
-
justify-content: center;
|
|
178
|
-
border-radius: 50%;
|
|
179
|
-
flex-shrink: 0;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.policy-section p {
|
|
183
|
-
margin-bottom: 0.875rem;
|
|
184
|
-
font-size: 0.9375rem;
|
|
185
|
-
color: var(--color-text);
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.policy-section p:last-child { margin-bottom: 0; }
|
|
189
|
-
|
|
190
|
-
.policy-section ul {
|
|
191
|
-
margin: 0.75rem 0 0.875rem 1.5rem;
|
|
192
|
-
display: flex;
|
|
193
|
-
flex-direction: column;
|
|
194
|
-
gap: 0.35rem;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.policy-section ul li {
|
|
198
|
-
font-size: 0.9375rem;
|
|
199
|
-
color: var(--color-text);
|
|
200
|
-
position: relative;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.policy-section ul li::marker { color: var(--color-accent); }
|
|
204
|
-
|
|
205
|
-
/* \u2500\u2500 Footer \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
206
|
-
.policy-footer {
|
|
207
|
-
margin-top: 3rem;
|
|
208
|
-
padding: 1.5rem 2rem;
|
|
209
|
-
border-top: 1px solid var(--color-border);
|
|
210
|
-
text-align: center;
|
|
211
|
-
font-size: 0.8125rem;
|
|
212
|
-
color: var(--color-text-muted);
|
|
213
|
-
display: flex;
|
|
214
|
-
flex-direction: column;
|
|
215
|
-
gap: 0.35rem;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.policy-footer a { color: var(--color-link); text-decoration: none; }
|
|
219
|
-
.policy-footer a:hover { text-decoration: underline; }
|
|
220
|
-
|
|
221
|
-
/* \u2500\u2500 Print styles \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
222
|
-
@media print {
|
|
223
|
-
:root {
|
|
224
|
-
--color-bg: #fff;
|
|
225
|
-
--color-surface: #fff;
|
|
226
|
-
--color-border: #d1d5db;
|
|
227
|
-
--color-text: #000;
|
|
228
|
-
--color-text-muted: #374151;
|
|
229
|
-
--color-accent: #16a34a;
|
|
230
|
-
--color-accent-light: #f0fdf4;
|
|
231
|
-
--color-heading: #064e3b;
|
|
232
|
-
--color-link: #15803d;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
body { padding: 0; font-size: 10pt; }
|
|
236
|
-
.policy-wrapper { max-width: 100%; }
|
|
237
|
-
|
|
238
|
-
.policy-toc { break-inside: avoid; }
|
|
239
|
-
.policy-section { break-inside: avoid; box-shadow: none; border: 1px solid #d1d5db; }
|
|
240
|
-
|
|
241
|
-
.policy-toc ol { column-count: 2; }
|
|
242
|
-
.policy-footer { border-top: 1px solid #d1d5db; }
|
|
243
|
-
|
|
244
|
-
a { color: inherit; text-decoration: none; }
|
|
245
|
-
}
|
|
246
|
-
`;function j(o){return `${W}${R(o)}${B}`.trim()}function M(o,a){var S,s;let d=(a==null?void 0:a.includeStyles)!==false,e=(S=a==null?void 0:a.customCSS)!=null?S:"",r=(s=a==null?void 0:a.theme)!=null?s:"light",i=o.sections.filter(c=>c.included),t=v(o.organizationInfo.name||"Organisation"),l=v(o.title||"Privacy Policy"),n=v(o.version||"1.0"),m=o.effectiveDate?new Date(o.effectiveDate).toLocaleDateString("en-NG",{day:"numeric",month:"long",year:"numeric"}):new Date().toLocaleDateString("en-NG",{day:"numeric",month:"long",year:"numeric"}),b$1=o.lastUpdated?new Date(o.lastUpdated).toLocaleDateString("en-NG",{day:"numeric",month:"long",year:"numeric"}):m,h=o.organizationInfo.website?`<a href="${v(o.organizationInfo.website)}" target="_blank" rel="noopener">${v(o.organizationInfo.website)}</a>`:"",u=o.organizationInfo.privacyEmail?`<a href="mailto:${v(o.organizationInfo.privacyEmail)}">${v(o.organizationInfo.privacyEmail)}</a>`:"",$=`
|
|
247
|
-
<nav class="policy-toc" aria-label="Table of Contents">
|
|
248
|
-
<h2>Table of Contents</h2>
|
|
249
|
-
<ol>
|
|
250
|
-
${i.map((c,f)=>` <li><a href="#${F(c.title)}">${v(c.title)}</a></li>`).join(`
|
|
251
|
-
`)}
|
|
252
|
-
</ol>
|
|
253
|
-
</nav>`,x=i.map((c,f)=>{let p=F(c.title),y=c.template||c.defaultContent||"",g=G(y,{variableValues:o.variableValues,organizationInfo:o.organizationInfo}),w=H(g);return ` <section class="policy-section" id="${p}" aria-labelledby="section-heading-${p}">
|
|
254
|
-
<h2 id="section-heading-${p}">
|
|
255
|
-
<span class="section-number" aria-hidden="true">${f+1}</span>
|
|
256
|
-
${v(c.title)}
|
|
257
|
-
</h2>
|
|
258
|
-
${w}
|
|
259
|
-
</section>`}).join(`
|
|
260
|
-
|
|
261
|
-
`),D=e?e.replace(/<\/style>/gi,""):"",z=d?`<style>
|
|
262
|
-
${j(r)}
|
|
263
|
-
${D?`
|
|
264
|
-
/* \u2500\u2500 Custom styles \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
265
|
-
${D}`:""}
|
|
266
|
-
</style>`:D?`<style>${D}</style>`:"";return `<!DOCTYPE html>
|
|
267
|
-
<html lang="en">
|
|
268
|
-
<head>
|
|
269
|
-
<meta charset="UTF-8" />
|
|
270
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
271
|
-
<meta name="description" content="Privacy Policy for ${t}" />
|
|
272
|
-
<meta name="generator" content="NDPA Toolkit" />
|
|
273
|
-
<title>${l} \u2014 ${t}</title>
|
|
274
|
-
${z}
|
|
275
|
-
</head>
|
|
276
|
-
<body>
|
|
277
|
-
<div class="policy-wrapper">
|
|
278
|
-
|
|
279
|
-
<header class="policy-header">
|
|
280
|
-
<h1>${l}</h1>
|
|
281
|
-
<div class="policy-meta">
|
|
282
|
-
<span><strong>Organisation:</strong> ${t}</span>
|
|
283
|
-
<span><strong>Effective:</strong> ${m}</span>
|
|
284
|
-
<span><strong>Version:</strong> ${n}</span>
|
|
285
|
-
${b$1!==m?`<span><strong>Last updated:</strong> ${b$1}</span>`:""}
|
|
286
|
-
</div>
|
|
287
|
-
<div>
|
|
288
|
-
<span class="compliance-badge" role="img" aria-label="NDPA compliant">✓ NDPA 2023 Compliant</span>
|
|
289
|
-
</div>
|
|
290
|
-
</header>
|
|
291
|
-
|
|
292
|
-
${$}
|
|
293
|
-
|
|
294
|
-
<article class="policy-body" aria-label="Policy content">
|
|
295
|
-
|
|
296
|
-
${x}
|
|
297
|
-
|
|
298
|
-
</article>
|
|
299
|
-
|
|
300
|
-
<aside class="policy-legal-notice" role="note" aria-label="Legal notice">
|
|
301
|
-
<h2>Important Notice</h2>
|
|
302
|
-
<p>${v(b)}</p>
|
|
303
|
-
</aside>
|
|
304
|
-
|
|
305
|
-
<footer class="policy-footer" role="contentinfo">
|
|
306
|
-
<div>${t}${h?` — ${h}`:""}</div>
|
|
307
|
-
${u?`<div>Privacy contact: ${u}</div>`:""}
|
|
308
|
-
<div>Effective ${m} • Version ${n}</div>
|
|
309
|
-
<div>Generated by <strong>NDPA Toolkit</strong> — Nigeria Data Protection Act 2023</div>
|
|
310
|
-
</footer>
|
|
311
|
-
|
|
312
|
-
</div>
|
|
313
|
-
</body>
|
|
314
|
-
</html>`}function V(o){return o.toLowerCase().replace(/[^a-z0-9\s-]/g,"").trim().replace(/\s+/g,"-")}function X(o){let a=o.sections.filter(l=>l.included),d=o.title||"Privacy Policy",e=o.organizationInfo.name||"Organisation",r=o.version||"1.0",i=o.effectiveDate?new Date(o.effectiveDate).toLocaleDateString("en-NG",{day:"numeric",month:"long",year:"numeric"}):new Date().toLocaleDateString("en-NG",{day:"numeric",month:"long",year:"numeric"}),t=[];return t.push(`# ${d}`),t.push(""),t.push(`_Effective: ${i} | Version: ${r} | ${e}_`),t.push(""),o.organizationInfo.website&&t.push(`**Website:** ${o.organizationInfo.website} `),o.organizationInfo.privacyEmail&&t.push(`**Privacy contact:** ${o.organizationInfo.privacyEmail} `),(o.organizationInfo.website||o.organizationInfo.privacyEmail)&&t.push(""),t.push("> This privacy policy is compliant with the **Nigeria Data Protection Act (NDPA) 2023**."),t.push(""),t.push("---"),t.push(""),a.length>0&&(t.push("## Table of Contents"),t.push(""),a.forEach((l,n)=>{let m=V(`${n+1} ${l.title}`);t.push(`${n+1}. [${l.title}](#${m})`);}),t.push(""),t.push("---"),t.push("")),a.forEach((l,n)=>{t.push(`## ${n+1}. ${l.title}`),t.push("");let m=(l.template||l.defaultContent||"").trim();if(m){let b=m.split(`
|
|
315
|
-
`);for(let h of b){let u=h.trimEnd();u.startsWith("-")||u.startsWith("\u2022")||u===""?t.push(u.replace(/^•/,"-")):t.push(u);}}t.push(""),t.push("---"),t.push("");}),t.push("## Important Notice"),t.push(""),t.push(b),t.push(""),t.push("---"),t.push(""),t.push(`_Generated by **NDPA Toolkit** \u2014 ${e} \u2022 Version ${r}_`),t.push(""),t.join(`
|
|
316
|
-
`)}function Y(o,a){return d(this,null,function*(){var S;let d;try{let s=yield import('jspdf');d=(S=s.jsPDF)!=null?S:s.default;}catch(s){throw new Error(`[ndpr-toolkit] PDF export requires the "jspdf" package. Install it with:
|
|
317
|
-
pnpm add jspdf
|
|
318
|
-
See: https://ndprtoolkit.com.ng/docs/guides/styling-customization`)}let e=new d({unit:"mm",format:"a4"}),r=e.internal.pageSize.getWidth(),i=e.internal.pageSize.getHeight(),t=20,l=r-t*2,n=t,m=o.organizationInfo.name||"",b$1=o.title||"Privacy Policy",h=o.version||"1.0",u=o.effectiveDate?new Date(o.effectiveDate).toLocaleDateString():new Date().toLocaleDateString(),T=()=>{e.setFontSize(8),e.setFont("helvetica","italic"),e.setTextColor(150,150,150),e.text(m?`${m} \u2014 ${b$1}`:b$1,t,12),e.setDrawColor(220,220,220),e.setLineWidth(.3),e.line(t,14,r-t,14),e.setTextColor(0,0,0);},$=s=>{n+s>i-t-10&&(e.addPage(),n=t+8,T());};if((a==null?void 0:a.includeCoverPage)!==false){e.setFillColor(22,163,74),e.rect(0,0,r,12,"F"),e.setFontSize(28),e.setFont("helvetica","bold"),e.setTextColor(22,163,74);let s=e.splitTextToSize(b$1,l-10),c=72;s.forEach(p=>{e.text(p,r/2,c,{align:"center"}),c+=11;}),e.setDrawColor(22,163,74),e.setLineWidth(.6);let f=c+6;if(e.line(r/2-30,f,r/2+30,f),e.setFontSize(14),e.setFont("helvetica","normal"),e.setTextColor(40,40,40),e.text(m,r/2,f+14,{align:"center"}),e.setFontSize(10),e.setTextColor(100,100,100),e.text(`Effective Date: ${u}`,r/2,f+26,{align:"center"}),e.text(`Version ${h}`,r/2,f+34,{align:"center"}),(a==null?void 0:a.includeComplianceBadge)!==false){let p=f+52,y="Compliant with the Nigeria Data Protection Act (NDPA) 2023";e.setFontSize(8.5),e.setFont("helvetica","bold"),e.setTextColor(255,255,255);let g=e.getTextWidth(y),w=7,E=3.5,P=(r-g-w*2)/2;e.setFillColor(22,163,74),e.roundedRect(P,p-E-1,g+w*2,7+E,2,2,"F"),e.text(y,r/2,p+1.5,{align:"center"}),e.setTextColor(0,0,0);}e.setFillColor(22,163,74),e.rect(0,i-12,r,12,"F"),e.addPage(),n=t+8,T();}let x=o.sections.filter(s=>s.included);(a==null?void 0:a.includeTOC)!==false&&(e.setFontSize(18),e.setFont("helvetica","bold"),e.setTextColor(22,163,74),e.text("Table of Contents",t,n+4),e.setDrawColor(22,163,74),e.setLineWidth(.5),e.line(t,n+8,t+80,n+8),n+=18,e.setFontSize(10.5),e.setFont("helvetica","normal"),e.setTextColor(40,40,40),x.forEach((s,c)=>{$(7);let f=`${c+1}. ${s.title}`;e.text(f,t+4,n),n+=6.5;}),e.addPage(),n=t+8,T()),x.forEach((s,c)=>{$(18),e.setFillColor(22,163,74),e.circle(t+3.5,n-1.5,3.8,"F"),e.setFontSize(8),e.setFont("helvetica","bold"),e.setTextColor(255,255,255),e.text(String(c+1),t+3.5,n-.5,{align:"center"}),e.setFontSize(13),e.setFont("helvetica","bold"),e.setTextColor(22,163,74),e.text(s.title,t+11,n),n+=3,e.setDrawColor(200,200,200),e.setLineWidth(.25),e.line(t+11,n,r-t,n),n+=6;let f=(s.template||s.defaultContent||"").trim();if(f){let p=f.split(`
|
|
319
|
-
`);e.setFontSize(9.5),e.setFont("helvetica","normal"),e.setTextColor(50,50,50),p.forEach(y=>{let g=y.trimEnd();if(g===""){n+=3;return}let w=g.startsWith("-")||g.startsWith("\u2022"),E=w?t+8:t+4,P=w?g.replace(/^[-•]\s*/,""):g,k=l-(w?12:8);e.splitTextToSize(P,k).forEach((A,O)=>{$(5),w&&O===0&&(e.setFillColor(22,163,74),e.circle(t+4,n-1,.9,"F")),e.text(A,E,n),n+=5;});});}n+=10;}),n>i-60&&(e.addPage(),n=t),e.setFontSize(14),e.setFont("helvetica","bold"),e.setTextColor(0,0,0),e.text("Important Notice",t,n),n+=8,e.setFontSize(9),e.setFont("helvetica","normal"),e.setTextColor(80,80,80),e.splitTextToSize(b,l).forEach(s=>{n>i-20&&(e.addPage(),n=t),e.text(s,t,n),n+=5;}),e.setTextColor(0,0,0);let z=e.getNumberOfPages();for(let s=1;s<=z;s++)e.setPage(s),e.setFontSize(7.5),e.setFont("helvetica","normal"),e.setTextColor(160,160,160),e.setDrawColor(220,220,220),e.setLineWidth(.3),e.line(t,i-12,r-t,i-12),e.text(m?`${m} \u2014 Privacy Policy`:"Privacy Policy",t,i-8),e.text(`Page ${s} of ${z}`,r-t,i-8,{align:"right"}),e.setTextColor(0,0,0);return e.setProperties({title:b$1,author:m,subject:"Privacy Policy \u2014 NDPA 2023 Compliant",keywords:"privacy policy, NDPA, Nigeria, data protection"}),e.output("blob")})}function U(o,a){return d(this,null,function*(){let d;try{d=yield import('docx');}catch(p){throw new Error(`[ndpr-toolkit] Word export requires the "docx" package. Install it with:
|
|
320
|
-
pnpm add docx
|
|
321
|
-
See: https://ndprtoolkit.com.ng/docs/guides/styling-customization`)}let{Document:e,Paragraph:r,TextRun:i,HeadingLevel:t,Packer:l,Header:n,Footer:m,PageNumber:b$1,AlignmentType:h,BorderStyle:u,ShadingType:T,TableOfContents:$}=d,x=o.organizationInfo.name||"",D=o.title||"Privacy Policy",z=o.version||"1.0",S=o.effectiveDate?new Date(o.effectiveDate).toLocaleDateString("en-NG",{day:"numeric",month:"long",year:"numeric"}):new Date().toLocaleDateString("en-NG",{day:"numeric",month:"long",year:"numeric"}),s=o.sections.filter(p=>p.included),c=[];if(c.push(new r({children:[new i({text:D,bold:true,size:52,color:"064e3b"})],heading:t.TITLE,spacing:{after:160},alignment:h.CENTER})),c.push(new r({children:[new i({text:`${x}${x?" \u2022 ":""}Version ${z} \u2022 Effective ${S}`,size:20,color:"6b7280",italics:true})],spacing:{after:120},alignment:h.CENTER})),c.push(new r({children:[new i({text:"Compliant with the Nigeria Data Protection Act (NDPA) 2023",size:18,color:"16a34a",bold:true})],spacing:{after:400},alignment:h.CENTER})),c.push(new r({children:[],spacing:{after:200},border:{bottom:{color:"16a34a",style:u.SINGLE,size:6,space:1}}})),(a==null?void 0:a.includeTOC)!==false){if(c.push(new r({children:[new i({text:"Table of Contents",bold:true,size:28,color:"064e3b"})],heading:t.HEADING_1,spacing:{before:400,after:200}})),typeof $=="function")try{c.push(new $("Table of Contents",{hyperlink:!0,headingStyleRange:"1-1"}));}catch(p){s.forEach((y,g)=>{c.push(new r({children:[new i({text:`${g+1}. ${y.title}`,size:22,color:"15803d"})],spacing:{after:80}}));});}else s.forEach((p,y)=>{c.push(new r({children:[new i({text:`${y+1}. ${p.title}`,size:22,color:"15803d"})],spacing:{after:80}}));});c.push(new r({children:[],pageBreakBefore:true}));}s.forEach((p,y)=>{c.push(new r({children:[new i({text:`${y+1}. ${p.title}`,bold:true,size:28,color:"064e3b"})],heading:t.HEADING_1,spacing:{before:400,after:200},border:{bottom:{color:"dcfce7",style:u.SINGLE,size:4,space:1}}}));let g=(p.template||p.defaultContent||"").trim();g&&g.split(`
|
|
322
|
-
`).forEach(E=>{let P=E.trimEnd();if(P===""){c.push(new r({children:[],spacing:{after:60}}));return}let k=P.startsWith("- ")||P.startsWith("\u2022 "),N=k?P.replace(/^[-•]\s*/,""):P;k?c.push(new r({children:[new i({text:N,size:22})],spacing:{after:80},bullet:{level:0}})):c.push(new r({children:[new i({text:N,size:22})],spacing:{after:100}}));});}),c.push(new r({heading:t.HEADING_1,children:[new i({text:"Important Notice",bold:true})],spacing:{before:600,after:200}}),new r({children:[new i({text:b,size:18,color:"4b5563",italics:true})],spacing:{after:200}})),c.push(new r({children:[new i({text:`Generated by NDPA Toolkit \u2014 ${x}${x?" \u2014 ":""}Privacy Policy v${z}`,size:16,color:"9ca3af",italics:true})],spacing:{before:600},alignment:h.CENTER}));let f=new e({title:D,description:"Privacy Policy \u2014 NDPA 2023 Compliant",styles:{paragraphStyles:[{id:"Normal",name:"Normal",run:{font:"Calibri",size:22}}]},sections:[{headers:{default:new n({children:[new r({children:[new i({text:x||"Privacy Policy",size:16,color:"9ca3af"})],alignment:h.RIGHT})]})},footers:{default:new m({children:[new r({children:[new i({text:"Page ",size:16,color:"9ca3af"}),new i({children:[b$1.CURRENT],size:16,color:"9ca3af"}),new i({text:" of ",size:16,color:"9ca3af"}),new i({children:[b$1.TOTAL_PAGES],size:16,color:"9ca3af"})],alignment:h.CENTER})]})},children:c}]});return l.toBlob(f)})}export{M as a,X as b,Y as c,U as d};
|
package/dist/chunk-BFAX7JQA.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {a}from'./chunk-YTU4FNM2.mjs';import {a as a$2}from'./chunk-SFGW37LE.mjs';import {a as a$1,b}from'./chunk-ZJYULEER.mjs';import {useState,useRef,useEffect,useCallback}from'react';import {createPortal}from'react-dom';import {jsx,jsxs}from'react/jsx-runtime';var Sn=({options:d,onSave:Y,title:K="We Value Your Privacy",description:Q="We use cookies and similar technologies to provide our services and enhance your experience. Your consent is collected in accordance with NDPA Sections 25-26.",acceptAllButtonText:U="Accept All",rejectAllButtonText:X="Reject All",customizeButtonText:Z="Customize",saveButtonText:s="Save Preferences",position:m="bottom",variant:h="bar",zIndex:I=9999,version:_="1.0",show:C,manageStorage:x=true,storageKey:y="ndpr_consent",className:$="",buttonClassName:A="",primaryButtonClassName:N="",secondaryButtonClassName:nn="",classNames:n,unstyled:o,onAnalytics:B})=>{let[u,c]=useState(false),[l,R]=useState(false),[a$3,k]=useState({}),[T,tn]=useState(false),en=a({active:u}),z=useRef(null),E=useRef(false);useEffect(()=>{tn(true);},[]);let p=useCallback((t,e)=>{B==null||B(a$1({action:t,timestamp:Date.now(),version:_},e!==void 0?{categories:e}:{}));},[B,_]);useEffect(()=>{let t={};if(d.forEach(e=>{t[e.id]=e.defaultValue||false;}),k(t),C===void 0)if(!x)c(true);else {let e=localStorage.getItem(y);if(e)try{JSON.parse(e).version!==_?c(!0):c(!1);}catch(w){c(true);}else c(true);}else c(C);},[d,y,_,x]),useEffect(()=>{C!==void 0&&c(C);},[C]);let on=()=>{let t={};d.forEach(e=>{t[e.id]=true;}),p("accepted_all",t),P(t);},q=()=>{let t={};d.forEach(e=>{t[e.id]=e.required||false;}),p("rejected_all",t),P(t);},rn=(t,e)=>{k(w=>b(a$1({},w),{[t]:e}));},dn=()=>{let t={};d.forEach(e=>{t[e.id]=true;}),k(t);},cn=()=>{let t={};d.forEach(e=>{t[e.id]=e.required||false;}),k(t);},H=d.length>0&&d.every(t=>a$3[t.id]),un=()=>{p("customized",a$3),P(a$3);},P=t=>{let e={consents:t,timestamp:Date.now(),version:_,method:l?"customize":"banner",hasInteracted:true};x&&localStorage.setItem(y,JSON.stringify(e)),Y(e),c(false),R(false);};if(useEffect(()=>{if(!u)return;let t=e=>{e.key==="Escape"&&(p("dismissed"),q());};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[u,p,d,l]),useEffect(()=>{u&&!E.current&&(E.current=true,p("shown")),u||(E.current=false);},[u,p]),useEffect(()=>{if(l&&z.current){let t=z.current;t.style.maxHeight="0px",t.style.opacity="0",t.offsetHeight,t.style.maxHeight=`${t.scrollHeight}px`,t.style.opacity="1";}},[l]),!u)return null;let f=h==="modal"?"center":m,O=f==="inline",j=f==="center",g=["ndpr-consent-banner"];h!=="bar"&&g.push(`ndpr-consent-banner--${h}`),f==="top"?g.push("ndpr-consent-banner--top"):f==="bottom"?g.push("ndpr-consent-banner--bottom"):f==="inline"&&g.push("ndpr-consent-banner--inline"),$&&g.push($);let pn=g.join(" "),F=`ndpr-consent-banner__button ndpr-consent-banner__button--primary ${A} ${N}`.trim(),bn=`ndpr-consent-banner__button ndpr-consent-banner__button--secondary ${A} ${nn}`.trim(),ln=`ndpr-consent-banner__button ndpr-consent-banner__button--ghost ${A}`.trim(),fn=(n==null?void 0:n.primaryButton)||(n==null?void 0:n.acceptButton)||F,G=(n==null?void 0:n.secondaryButton)||(n==null?void 0:n.rejectButton)||bn,gn=(n==null?void 0:n.customizeButton)||ln,vn=(n==null?void 0:n.saveButton)||F,D=jsx("div",{ref:en,tabIndex:-1,"data-ndpr-component":"consent-banner","data-ndpr-variant":h,"data-ndpr-position":f,className:a$2(pn,n==null?void 0:n.root,o),style:!O&&!j?{zIndex:I}:void 0,role:"dialog","aria-modal":j||void 0,"aria-labelledby":"consent-banner-title","aria-describedby":"consent-banner-description",children:jsxs("div",{className:a$2("ndpr-consent-banner__container",n==null?void 0:n.container,o),children:[jsx("h2",{id:"consent-banner-title",className:a$2("ndpr-consent-banner__title",n==null?void 0:n.title,o),children:K}),jsx("p",{id:"consent-banner-description",className:a$2("ndpr-consent-banner__description",n==null?void 0:n.description,o),children:Q}),l&&jsxs("div",{ref:z,className:a$2("ndpr-consent-banner__customize-panel",n==null?void 0:n.customizePanel,o),children:[jsx("div",{className:o?"":"ndpr-consent-banner__select-all-row",children:jsx("button",{type:"button",onClick:H?cn:dn,className:a$2("ndpr-consent-banner__select-all-button",n==null?void 0:n.selectAllButton,o),children:H?"Deselect All":"Select All"})}),jsx("div",{className:a$2("ndpr-consent-banner__options-list",n==null?void 0:n.optionsList,o),children:d.map(t=>jsxs("div",{className:a$2("ndpr-consent-banner__option",n==null?void 0:n.optionItem,o),children:[jsx("input",{id:`consent-${t.id}`,type:"checkbox",checked:a$3[t.id]||false,onChange:e=>rn(t.id,e.target.checked),disabled:t.required,className:a$2("ndpr-consent-banner__option-checkbox",n==null?void 0:n.optionCheckbox,o)}),jsxs("div",{className:o?"":"ndpr-consent-banner__option-text",children:[jsxs("label",{htmlFor:`consent-${t.id}`,className:a$2("ndpr-consent-banner__option-label",n==null?void 0:n.optionLabel,o),children:[t.label,t.required&&jsx("span",{className:o?"":"ndpr-consent-banner__required-marker",children:" *"})]}),jsx("p",{className:a$2("ndpr-consent-banner__option-description",n==null?void 0:n.optionDescription,o),children:t.description})]})]},t.id))}),jsxs("div",{className:a$2("ndpr-consent-banner__buttons",n==null?void 0:n.buttonGroup,o),children:[jsx("button",{onClick:un,className:a$2(vn,n==null?void 0:n.saveButton,o),children:s}),jsx("button",{onClick:()=>R(false),className:a$2(G,n==null?void 0:n.rejectButton,o),children:"Back"})]})]}),!l&&jsxs("div",{className:a$2("ndpr-consent-banner__buttons",n==null?void 0:n.buttonGroup,o),children:[jsx("button",{onClick:on,className:a$2(fn,n==null?void 0:n.acceptButton,o),children:U}),jsx("button",{onClick:q,className:a$2(G,n==null?void 0:n.rejectButton,o),children:X}),jsx("button",{onClick:()=>R(true),className:a$2(gn,n==null?void 0:n.customizeButton,o),children:Z})]}),jsx("div",{className:a$2("ndpr-consent-banner__footer-text",void 0,o),children:'By clicking "Accept All", you agree to the use of ALL cookies. Visit our Cookie Policy to learn more.'})]})});if(O)return D;if(j){let t=jsx("div",{className:o?"":"ndpr-consent-banner__overlay",style:{zIndex:I},children:D});return T?createPortal(t,document.body):null}return T?createPortal(D,document.body):null};export{Sn as a};
|
package/dist/chunk-LQTARVPU.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={consent:{title:"A M\u1ECDy\xEC \xC0\u1E63\xEDr\xED R\u1EB9",description:"A \u0144 lo k\xFAk\xEC \xE0ti \xE0w\u1ECDn \xECm\u1ECD\u0300-\u1EB9\u0300r\u1ECD t\xF3 j\u1ECDra l\xE1ti p\xE8s\xE8 i\u1E63\u1EB9\u0301 wa \xE0ti l\xE1ti m\xFA \xECr\xEDr\xED r\u1EB9 d\xE1ra s\xED i. A \u0144 gba \xECfoh\xF9n\u1E63\u1ECD\u0300kan r\u1EB9 g\u1EB9\u0301g\u1EB9\u0301 b\xED Abala 25-26 ti \xD2fin \xCCd\xE1\xE0b\xF2b\xF2 D\xE1t\xE0 ti N\xE0\xECj\xEDr\xED\xE0.",acceptAll:"Gba Gbogbo",rejectAll:"K\u1ECD Gbogbo",customize:"\u1E62\xE0t\xFAn\u1E63e",savePreferences:"T\u1ECD\u0301j\xFA \xC0\u1E63\xE0y\xE0n",selectAll:"Yan Gbogbo",deselectAll:"Y\u1ECD Gbogbo K\xFAr\xF2",required:"K\xF2 \u1E62e Y\u1EB9ra F\xFAn",cookieNotice:'N\xEDpa t\xEDt\u1EB9 "Gba Gbogbo", o foh\xF9n \u1E63\u1ECD\u0300kan p\u1EB9\u0300l\xFA l\xEDlo gbogbo k\xFAk\xEC. \u1E62\xE0b\u1EB9\u0300w\xF2 \xCCl\xE0n\xE0 K\xFAk\xEC wa l\xE1ti k\u1EB9\u0301k\u1ECD\u0300\u1ECD\u0301 s\xEDi.'},dsr:{title:"Fi \xCCb\xE9\xE8r\xE8 On\xED-d\xE1t\xE0 S\xEDl\u1EB9\u0300",description:"Lo f\u1ECD\u0301\u1ECD\u0300m\xF9 y\xEC\xED l\xE1ti lo \xE0w\u1ECDn \u1EB9\u0300t\u1ECD\u0301 r\u1EB9 l\xE1b\u1EB9\u0301 \xD2fin \xCCd\xE1\xE0b\xF2b\xF2 D\xE1t\xE0 ti N\xE0\xECj\xEDr\xED\xE0 (NDPA), Ap\xE1 K\u1EB9rin, Abala 29-36.",submitRequest:"Fi \xCCb\xE9\xE8r\xE8 S\xEDl\u1EB9\u0300",reset:"T\xFAn B\u1EB9\u0300r\u1EB9\u0300",fullName:"Or\xFAk\u1ECD K\xEDk\xFAn",email:"\xC0d\xEDr\u1EB9\u0301s\xEC \xCDme\xE8l\xEC",phone:"N\u1ECD\u0301mb\xE0 F\xF3\xF2n\xF9 (\xC0\u1E63\xE0y\xE0n)",requestType:"Ir\xFA \xCCb\xE9\xE8r\xE8",additionalInfo:"\xC0l\xE0y\xE9 \xC0fik\xFAn",identityVerification:"\xCCd\xE1nil\xF3j\xFA \xCCd\xE1nim\u1ECD\u0300",identifierType:"Ir\xFA \xCCd\xE1nim\u1ECD\u0300",identifierValue:"Iye \xCCd\xE1nim\u1ECD\u0300",privacyNotice:"\xC0w\u1ECDn \xECr\xF2y\xECn t\xED o b\xE1 p\xE8s\xE8 n\xEDn\xFA f\u1ECD\u0301\u1ECD\u0300m\xF9 y\xEC\xED ni a \xF3 l\xF2 f\xFAn \xE8te \u1E63\xED\u1E63e \xE0b\xF3j\xFAt\xF3 \xECb\xE9\xE8r\xE8 on\xED-d\xE1t\xE0 r\u1EB9 n\xECkan.",successMessage:"A ti fi \xECb\xE9\xE8r\xE8 r\u1EB9 s\xEDl\u1EB9\u0300 d\xE1rad\xE1ra."},breach:{title:"\u1E62e \xCCr\xF2y\xECn \xCCr\xFAfin D\xE1t\xE0",description:"Lo f\u1ECD\u0301\u1ECD\u0300m\xF9 y\xEC\xED l\xE1ti \u1E63e \xECr\xF2y\xECn \xECr\xFAfin d\xE1t\xE0 t\xED a fura s\xED t\xE0b\xED t\xED a ti fidi r\u1EB9\u0300 m\xFAl\u1EB9\u0300 g\u1EB9\u0301g\u1EB9\u0301 b\xED Abala 40 ti NDPA.",submitReport:"Fi \xCCr\xF2y\xECn S\xEDl\u1EB9\u0300",breachTitle:"\xC0k\u1ECDl\xE9/\xC0k\xF3p\u1ECD\u0300 \xCCr\xFAfin",category:"\u1EB8\u0300ka",discoveredAt:"\u1ECCj\u1ECD\u0301 T\xED A R\xED I",detailedDescription:"\xC0l\xE0y\xE9 K\xEDk\xFAn"},dpia:{title:"\xCCgb\xE9l\xE9w\u1ECD\u0300n Ipa \xCCd\xE1\xE0b\xF2b\xF2 D\xE1t\xE0",next:"T\u1EB9\u0300l\xE9",previous:"S\u1EB9\u0301y\xECn",complete:"Par\xED \xCCgb\xE9l\xE9w\u1ECD\u0300n",progress:"\xCCl\u1ECDs\xEDw\xE1j\xFA"},policy:{title:"Ol\xF9pil\u1EB9\u0300\u1E63\u1EB9\u0300 \xCCl\xE0n\xE0 \xC0\u1E63\xEDr\xED",generate:"\u1E62\u1EB9\u0300d\xE1 \xCCl\xE0n\xE0",preview:"\xC0y\u1EB9\u0300w\xF2",export:"Gb\xE9 J\xE1de",sections:"\xC0w\u1ECDn Abala",variables:"\xC0w\u1ECDn On\xEDy\xEDpad\xE0"},compliance:{score:"\xC0m\xEC \xCCb\xE1mu",excellent:"K\xF2 L\xE8 D\xE1ra Ju",good:"\xD3 D\xE1ra",needsWork:"N\xEDl\xF2 \xC0t\xFAn\u1E63e",critical:"P\xE0t\xE0k\xEC Gan",recommendations:"\xC0w\u1ECDn \xC0b\xE1",passed:"K\u1ECDj\xE1",gaps:"\xC0w\u1ECDn \xC0\xECp\xE9"},common:{loading:"\u0143 gb\xE9y\u1EB9\u0300w\xF2...",error:"\xC0\u1E63\xEC\u1E63e kan \u1E63\u1EB9l\u1EB9\u0300",save:"T\u1ECD\u0301j\xFA",cancel:"Fagil\xE9",delete:"Pa r\u1EB9\u0301",edit:"\u1E62\xE0t\xFAn\u1E63e",add:"Fik\xFAn",back:"Pad\xE0",next:"T\u1EB9\u0300l\xE9",search:"W\xE1",noResults:"K\xF2 s\xED \xE8s\xEC kankan"}};var i={consent:{title:"Any\u1ECB Na-akwanyere Nzuzo G\u1ECB \xD9gw\xF9",description:"Any\u1ECB na-eji kuki na tekn\u1ECDl\u1ECDj\u1ECB nd\u1ECB yiri ya enyere \u1ECDr\u1EE5 any\u1ECB aka ma melite ah\u1EE5m\u1ECBhe g\u1ECB. A na-anak\u1ECDta nkwenye g\u1ECB d\u1ECBka iwu NDPA Ngalaba 25-26 si kwuo.",acceptAll:"Nabata Niile",rejectAll:"J\u1EE5 Niile",customize:"Hazie",savePreferences:"Chekwaa Nh\u1ECDr\u1ECD",selectAll:"H\u1ECDr\u1ECD Niile",deselectAll:"Wep\u1EE5 Niile",required:"Ach\u1ECDr\u1ECD",cookieNotice:'Site na \u1ECBp\u1ECB "Nabata Niile", \u1ECB kwenyere na iji kuki niile. Gaa na Am\u1EE5ma Kuki any\u1ECB \u1ECBm\u1EE5takwu.'},dsr:{title:"Tinye Ar\u1ECBr\u1ECB\u1ECD Onye Nwe Data",description:"Jiri f\u1ECD\u1ECDm\u1EE5 a mee ka ikike g\u1ECB n'okpuru Iwu Nchedo Data nke Na\u1ECBjir\u1ECBa (NDPA), Nkebi An\u1ECD, Ngalaba 29-36 r\u1EE5\u1ECD \u1ECDr\u1EE5.",submitRequest:"Tinye Ar\u1ECBr\u1ECB\u1ECD",reset:"Maliteghar\u1ECBa",fullName:"Aha Zuru Oke",email:"Adrees\u1ECB Email",phone:"N\u1ECDmb\xE0 Ekwent\u1ECB (Nh\u1ECDr\u1ECD)",requestType:"\u1EE4d\u1ECB Ar\u1ECBr\u1ECB\u1ECD",additionalInfo:"Ozi Nd\u1ECB \u1ECCz\u1ECD",identityVerification:"Nyocha Njirimara",identifierType:"\u1EE4d\u1ECB Njirimara",identifierValue:"Uru Njirimara",privacyNotice:"A ga-eji ozi \u1ECB nyere na f\u1ECD\u1ECDm\u1EE5 a naan\u1ECB maka ebumnuche nke ilek\u1ECDta ar\u1ECBr\u1ECB\u1ECD onye nwe data g\u1ECB.",successMessage:"Etinyela ar\u1ECBr\u1ECB\u1ECD g\u1ECB nke \u1ECDma."},breach:{title:"K\u1ECD\u1ECD Mwap\u1EE5 Data",description:"Jiri f\u1ECD\u1ECDm\u1EE5 a k\u1ECD\u1ECD mwap\u1EE5 data a na-echere ma \u1ECD b\u1EE5 nke e gosip\u1EE5tara d\u1ECBka iwu NDPA Ngalaba 40 si kwuo.",submitReport:"Tinye Ak\u1EE5k\u1ECD",breachTitle:"Isiokwu/Nch\u1ECBk\u1ECDta Mwap\u1EE5",category:"Udi",discoveredAt:"\u1EE4b\u1ECDch\u1ECB A Ch\u1ECDp\u1EE5tara",detailedDescription:"Nk\u1ECDwa Zuru Oke"},dpia:{title:"Nyocha Mmet\u1EE5ta Nchedo Data",next:"\u1ECCz\u1ECD",previous:"Az\u1EE5",complete:"Mechaa Nyocha",progress:"\u1ECCganihu"},policy:{title:"Ngwa Mmep\u1EE5ta Am\u1EE5ma Nzuzo",generate:"Mep\u1EE5ta Am\u1EE5ma",preview:"Lelee",export:"Bup\u1EE5ta",sections:"Ngalaba",variables:"Mgbanwe"},compliance:{score:"Akara Ndabere",excellent:"Kachas\u1ECB Mma",good:"\u1ECC D\u1ECB Mma",needsWork:"Ch\u1ECDr\u1ECD Mmezighar\u1ECB",critical:"D\u1ECB Oke Mkpa",recommendations:"Nd\u1EE5m\u1ECDd\u1EE5",passed:"Gafere",gaps:"Oghere"},common:{loading:"Na-ebugo...",error:"Mperi mere",save:"Chekwaa",cancel:"Kagbuo",delete:"Hichap\u1EE5",edit:"Dezie",add:"Tinye",back:"Laghachi",next:"\u1ECCz\u1ECD",search:"Ch\u1ECD\u1ECD",noResults:"Enwegh\u1ECB nsonaaz\u1EE5"}};var t={consent:{title:"Muna Daraja Sirrin Ka",description:"Muna amfani da kukis da fasahohi irin su don samar da ayyukanmu da inganta kwarewar ka. Ana tattara yardar ka bisa ga Sashe na 25-26 na Dokar Kare Bayanan Nijeriya.",acceptAll:"Kar\u0253i Duka",rejectAll:"\u0198i Duka",customize:"Gyara Za\u0253i",savePreferences:"Ajiye Za\u0253u\u0253\u0253uka",selectAll:"Za\u0253i Duka",deselectAll:"Cire Duka",required:"Wajibi Ne",cookieNotice:'Ta hanyar danna "Kar\u0253i Duka", ka yarda da amfani da dukkan kukis. Ziyarci Manufar Kukis don \u0199arin bayani.'},dsr:{title:"\u0198addamar da Bu\u0199atar Mai Bayanan",description:"Yi amfani da wannan fom don aiwatar da ha\u0199\u0199o\u0199in ka a \u0199ar\u0199ashin Dokar Kare Bayanan Nijeriya (NDPA), Bangare na Hu\u0257u, Sashe 29-36.",submitRequest:"\u0198addamar da Bu\u0199ata",reset:"Sake Saiti",fullName:"Sunan Cikakke",email:"Adireshin Imel",phone:"Lambar Waya (Na Za\u0253i)",requestType:"Nau'in Bu\u0199ata",additionalInfo:"\u0198arin Bayani",identityVerification:"Tabbatar da Ainihi",identifierType:"Nau'in Ganewa",identifierValue:"Darajar Ganewa",privacyNotice:"Za a yi amfani da bayanan da ka bayar a cikin wannan fom ne kawai don sarrafa bu\u0199atar mai bayanan ka.",successMessage:"An \u0199addamar da bu\u0199atar ka cikin nasara."},breach:{title:"Bayar da Rahoton Karya Bayanan",description:"Yi amfani da wannan fom don bayar da rahoton zargin ko tabbatar da karya bayanan bisa ga Sashe na 40 na NDPA.",submitReport:"\u0198addamar da Rahoto",breachTitle:"Taken/Ta\u0199aitaccen Karya",category:"Rukunin",discoveredAt:"Ranar da Aka Gano",detailedDescription:"Cikakken Bayani"},dpia:{title:"Tantance Tasirin Kare Bayanan",next:"Na Gaba",previous:"Na Baya",complete:"Kammala Tantancewa",progress:"Ci Gaba"},policy:{title:"Mai \u0198ir\u0199irar Manufar Sirri",generate:"\u0198ir\u0199iri Manufa",preview:"Duba",export:"Fitar",sections:"Sassa",variables:"Masu Canjin"},compliance:{score:"Makin Bin Doka",excellent:"Kyakkyawa Sosai",good:"Mai Kyau",needsWork:"Yana Bu\u0199atar Gyara",critical:"Mai Muhimmanci",recommendations:"Shawarwari",passed:"Ya Wuce",gaps:"Gi\u0253i"},common:{loading:"Ana lodawa...",error:"Kuskure ya faru",save:"Ajiye",cancel:"Soke",delete:"Goge",edit:"Gyara",add:"\u0198ara",back:"Komawa",next:"Na Gaba",search:"Bincika",noResults:"Ba a sami sakamako ba"}};var o={consent:{title:"Your Privacy Dey Important to Us",description:"We dey use cookies and technologies wey dey similar to give you beta service and make your experience sweet. We dey collect your consent as NDPA Sections 25-26 talk am.",acceptAll:"Accept Everything",rejectAll:"Reject Everything",customize:"Choose Wetin You Want",savePreferences:"Save Your Choice",selectAll:"Select Everything",deselectAll:"Remove Everything",required:"E Dey Required",cookieNotice:'If you click "Accept Everything", you don agree say we fit use all the cookies. Check our Cookie Policy to sabi more.'},dsr:{title:"Send Data Subject Request",description:"Use this form take exercise your rights under the Nigeria Data Protection Act (NDPA), Part IV, Sections 29-36.",submitRequest:"Send Your Request",reset:"Start Again",fullName:"Your Full Name",email:"Email Address",phone:"Phone Number (If You Want)",requestType:"Type of Request",additionalInfo:"Any Other Information",identityVerification:"Verify Your Identity",identifierType:"Type of ID",identifierValue:"ID Value",privacyNotice:"The information wey you give for this form, na only for processing your data subject request we go use am.",successMessage:"We don receive your request successfully."},breach:{title:"Report Data Breach",description:"Use this form report any data breach wey you suspect or wey don happen, as NDPA Section 40 talk am.",submitReport:"Send Report",breachTitle:"Breach Title/Summary",category:"Category",discoveredAt:"Date Wey You Discover Am",detailedDescription:"Full Gist About Wetin Happen"},dpia:{title:"Data Protection Impact Assessment",next:"Next",previous:"Go Back",complete:"Finish Assessment",progress:"Progress"},policy:{title:"Privacy Policy Generator",generate:"Create Policy",preview:"Preview",export:"Export",sections:"Sections",variables:"Variables"},compliance:{score:"Compliance Score",excellent:"E Dey Excellent",good:"E Good",needsWork:"E Need Work",critical:"E Dey Critical",recommendations:"Wetin We Recommend",passed:"E Pass",gaps:"Gaps"},common:{loading:"E dey load...",error:"Error don happen",save:"Save",cancel:"Cancel",delete:"Delete",edit:"Edit",add:"Add",back:"Go Back",next:"Next",search:"Search",noResults:"We no find any result"}};export{e as a,i as b,t as c,o as d};
|
package/dist/chunk-RYREGZVQ.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'use strict';var chunkQPRYXVH2_js=require('./chunk-QPRYXVH2.js'),react=require('react');function c({input:e}){let p=JSON.stringify(e);return react.useMemo(()=>chunkQPRYXVH2_js.a(e),[p])}exports.a=c;
|