@tantainnovative/ndpr-toolkit 2.4.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +226 -246
- package/dist/BreachReportForm-DpRrBoxU.d.ts +158 -0
- package/dist/BreachReportForm-yJ2Zl6gz.d.mts +158 -0
- package/dist/ConsentBanner-CDRT0o2k.d.mts +146 -0
- package/dist/ConsentBanner-Vxyt8SCX.d.ts +146 -0
- package/dist/{cross-border-entry-BrWVPly6.d.ts → CrossBorderTransferManager-D5Lc0e46.d.ts} +4 -5
- package/dist/{cross-border-entry-cCTvpwnT.d.mts → CrossBorderTransferManager-DkZhv9vD.d.mts} +4 -5
- package/dist/DPIAQuestionnaire-BkejviPj.d.mts +123 -0
- package/dist/DPIAQuestionnaire-DdSqXG3x.d.ts +123 -0
- package/dist/DSRRequestForm-BY8PogCU.d.mts +146 -0
- package/dist/DSRRequestForm-CHUg9cZh.d.ts +146 -0
- package/dist/DSRTracker-C6u_jAaK.d.mts +163 -0
- package/dist/DSRTracker-Dr_aT0pg.d.ts +163 -0
- package/dist/{lawful-basis-entry-CxZrofwG.d.mts → LawfulBasisTracker-CBqOxX1D.d.mts} +3 -5
- package/dist/{lawful-basis-entry-15qjKcNO.d.ts → LawfulBasisTracker-Cg30NbDA.d.ts} +3 -5
- package/dist/NDPRDashboard-CLJpEg0X.d.mts +44 -0
- package/dist/NDPRDashboard-DDWNd2Ah.d.ts +44 -0
- package/dist/{policy-E0fXZkda.d.mts → PolicyExporter-BIqSVjfC.d.mts} +4 -98
- package/dist/{policy-D2_jh5-T.d.ts → PolicyExporter-BNWaPBGU.d.ts} +4 -98
- package/dist/PolicyGenerator-BvcWPbxp.d.mts +96 -0
- package/dist/PolicyGenerator-BzRwtlgn.d.ts +96 -0
- package/dist/{ropa-entry-B0D7X1GV.d.ts → ROPAManager-BS4eB8Hw.d.mts} +4 -5
- package/dist/{ropa-entry-DiOThOc2.d.mts → ROPAManager-qxTrXLkD.d.ts} +4 -5
- package/dist/{breach-ouXoVTWs.d.ts → RegulatoryReportGenerator-BUYgzTTT.d.ts} +6 -162
- package/dist/{breach-yRiyyc4n.d.mts → RegulatoryReportGenerator-DwcHcEFp.d.mts} +6 -162
- package/dist/StepIndicator-D-nwRTyo.d.mts +171 -0
- package/dist/StepIndicator-D9ZATz_O.d.ts +171 -0
- package/dist/adapters.d.mts +25 -0
- package/dist/adapters.d.ts +25 -0
- package/dist/adapters.js +2 -0
- package/dist/adapters.mjs +2 -0
- package/dist/breach.d.mts +43 -4
- package/dist/breach.d.ts +43 -4
- package/dist/breach.js +1 -1
- package/dist/breach.mjs +1 -1
- package/dist/chunk-27NYSWUG.mjs +2 -0
- package/dist/chunk-2ORDHJRD.js +2 -0
- package/dist/chunk-2W7ARAW2.js +2 -0
- package/dist/chunk-3F34NACG.js +2 -0
- package/dist/chunk-3RGJV3VF.js +7 -0
- package/dist/chunk-3UWT64FI.mjs +2 -0
- package/dist/chunk-3V23O4ZJ.js +2 -0
- package/dist/chunk-3XAUN5IM.mjs +3 -0
- package/dist/chunk-5VMHKNJY.js +2 -0
- package/dist/chunk-6D3ZUGBB.mjs +2 -0
- package/dist/chunk-6E54NSAO.mjs +2 -0
- package/dist/chunk-7F5F5YWI.mjs +2 -0
- package/dist/chunk-7FIUX3ZM.js +89 -0
- package/dist/chunk-FR7ZYZXB.js +2 -0
- package/dist/chunk-FY5G6DGZ.js +7 -0
- package/dist/chunk-G26I6MP5.mjs +2 -0
- package/dist/chunk-GPJVTGHR.mjs +2 -0
- package/dist/chunk-GVANK6PL.js +3 -0
- package/dist/chunk-HNZK7LY3.mjs +2 -0
- package/dist/chunk-IKEPXHCZ.js +2 -0
- package/dist/chunk-IQQW52EF.js +2 -0
- package/dist/chunk-ISSGO2YT.mjs +72 -0
- package/dist/chunk-J6IKAGUP.mjs +89 -0
- package/dist/chunk-KHRBU5K7.js +2 -0
- package/dist/chunk-KNE4NXCY.mjs +7 -0
- package/dist/chunk-LFNA6WYQ.mjs +2 -0
- package/dist/chunk-NPI5T6NH.mjs +7 -0
- package/dist/chunk-NPLXE43Q.mjs +2 -0
- package/dist/chunk-P7BSBCB3.js +2 -0
- package/dist/chunk-PEH5GIMN.js +2 -0
- package/dist/chunk-RSUDIFZV.mjs +2 -0
- package/dist/chunk-SBNAMPAP.mjs +2 -0
- package/dist/chunk-SVCRYM4I.mjs +2 -0
- package/dist/chunk-U6VWHC46.js +72 -0
- package/dist/chunk-UK656RCG.js +2 -0
- package/dist/chunk-UNKXYVXY.js +2 -0
- package/dist/chunk-UOSEH6DC.js +2 -0
- package/dist/chunk-V37BM2LF.js +2 -0
- package/dist/chunk-V3MXWGXU.mjs +2 -0
- package/dist/chunk-VDZKGCAF.js +2 -0
- package/dist/chunk-WLSW4Z4W.mjs +2 -0
- package/dist/chunk-XSK4BSZJ.mjs +2 -0
- package/dist/chunk-YJCGEOLO.mjs +2 -0
- package/dist/chunk-ZCZ5RRZO.js +2 -0
- package/dist/compliance-score-racQe_E_.d.mts +115 -0
- package/dist/compliance-score-racQe_E_.d.ts +115 -0
- package/dist/consent.d.mts +67 -295
- package/dist/consent.d.ts +67 -295
- package/dist/consent.js +1 -1
- package/dist/consent.mjs +1 -1
- package/dist/core.d.mts +8 -5
- package/dist/core.d.ts +8 -5
- package/dist/core.js +1 -1
- package/dist/core.mjs +1 -1
- package/dist/cross-border-BBi9rZyO.d.mts +54 -0
- package/dist/cross-border-Dy-U9Hu6.d.ts +54 -0
- package/dist/{cross-border-BMcqLvjC.d.mts → cross-border-UyT00llA.d.mts} +1 -52
- package/dist/{cross-border-BMcqLvjC.d.ts → cross-border-UyT00llA.d.ts} +1 -52
- package/dist/cross-border.d.mts +32 -4
- package/dist/cross-border.d.ts +32 -4
- package/dist/cross-border.js +1 -1
- package/dist/cross-border.mjs +1 -1
- package/dist/dpia.d.mts +28 -284
- package/dist/dpia.d.ts +28 -284
- package/dist/dpia.js +1 -1
- package/dist/dpia.mjs +1 -1
- package/dist/dsr.d.mts +36 -4
- package/dist/dsr.d.ts +36 -4
- package/dist/dsr.js +1 -1
- package/dist/dsr.mjs +1 -1
- package/dist/hooks.d.mts +21 -10
- package/dist/hooks.d.ts +21 -10
- package/dist/hooks.js +1 -1
- package/dist/hooks.mjs +1 -1
- package/dist/index.d.mts +28 -18
- package/dist/index.d.ts +28 -18
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/lawful-basis.d.mts +31 -4
- package/dist/lawful-basis.d.ts +31 -4
- package/dist/lawful-basis.js +1 -1
- package/dist/lawful-basis.mjs +1 -1
- package/dist/policy.d.mts +36 -4
- package/dist/policy.d.ts +36 -4
- package/dist/policy.js +1 -1
- package/dist/policy.mjs +1 -1
- package/dist/presets.d.mts +124 -0
- package/dist/presets.d.ts +124 -0
- package/dist/presets.js +2 -0
- package/dist/presets.mjs +2 -0
- package/dist/{ropa-Li6UlL5H.d.ts → ropa-BDTM06tr.d.ts} +1 -49
- package/dist/{ropa-DP7pPPql.d.mts → ropa-CFHuT7jE.d.mts} +1 -49
- package/dist/ropa-CyynscU6.d.ts +51 -0
- package/dist/ropa-NIgxd8uP.d.mts +51 -0
- package/dist/ropa.d.mts +30 -4
- package/dist/ropa.d.ts +30 -4
- package/dist/ropa.js +1 -1
- package/dist/ropa.mjs +1 -1
- package/dist/styling-B7CBzYG7.d.ts +165 -0
- package/dist/styling-uJLsBbER.d.mts +165 -0
- package/dist/types-DK2CoKOC.d.mts +10 -0
- package/dist/types-DK2CoKOC.d.ts +10 -0
- package/dist/unstyled.d.mts +4 -4
- package/dist/unstyled.d.ts +4 -4
- package/dist/{useBreach-BBSoIcZO.d.mts → useBreach-CPr86Yan.d.mts} +18 -2
- package/dist/{useBreach-lFLbSyAN.d.ts → useBreach-DkVXvtJK.d.ts} +18 -2
- package/dist/{useConsent-D0pAfTlb.d.ts → useConsent-DCNkIJHR.d.mts} +12 -2
- package/dist/{useConsent-DOt2Njst.d.mts → useConsent-dOcELSfX.d.ts} +12 -2
- package/dist/{useCrossBorderTransfer-DmtACeqW.d.ts → useCrossBorderTransfer-BGNZt2lk.d.mts} +15 -3
- package/dist/{useCrossBorderTransfer-BZVFCXfr.d.mts → useCrossBorderTransfer-COqjgjsu.d.ts} +15 -3
- package/dist/{useDPIA-DBsg2yZx.d.ts → useDPIA-Dl16Te3r.d.ts} +13 -2
- package/dist/{useDPIA-Da7-Q_yW.d.mts → useDPIA-DzWye8JB.d.mts} +13 -2
- package/dist/{useDSR-YYZ6FYFs.d.mts → useDSR-C1LksCfP.d.mts} +13 -2
- package/dist/{useDSR-CYI7WCXr.d.ts → useDSR-DZel52O1.d.ts} +13 -2
- package/dist/{useDefaultPrivacyPolicy-CUluF_ic.d.mts → useDefaultPrivacyPolicy-BsYttRey.d.mts} +13 -2
- package/dist/{useDefaultPrivacyPolicy-B7kTHbZh.d.ts → useDefaultPrivacyPolicy-C-mG-A5S.d.ts} +13 -2
- package/dist/{useLawfulBasis-CpWuHtyh.d.mts → useLawfulBasis-CKJ-kw84.d.mts} +13 -2
- package/dist/{useLawfulBasis-CCWF9waR.d.ts → useLawfulBasis-DFTmu1ca.d.ts} +13 -2
- package/dist/{useROPA-BhJ3kvHp.d.ts → useROPA-BSSU1rfx.d.ts} +14 -2
- package/dist/{useROPA-DLFdjkxP.d.mts → useROPA-C2hjaBTz.d.mts} +14 -2
- package/package.json +18 -2
- package/dist/chunk-2XFAV267.mjs +0 -2
- package/dist/chunk-32UIWTGD.js +0 -72
- package/dist/chunk-3YCV2BA6.js +0 -2
- package/dist/chunk-4A354HL3.js +0 -2
- package/dist/chunk-5ZBO2UPH.js +0 -2
- package/dist/chunk-6GGGTRDZ.mjs +0 -2
- package/dist/chunk-BGHQTZAC.js +0 -94
- package/dist/chunk-BZTTQS4A.mjs +0 -7
- package/dist/chunk-EKVTLHBQ.js +0 -2
- package/dist/chunk-GMLNWS2N.mjs +0 -2
- package/dist/chunk-IBEKLDBY.mjs +0 -2
- package/dist/chunk-K3GMTMQ6.js +0 -2
- package/dist/chunk-L52PDW6O.mjs +0 -2
- package/dist/chunk-LI6WJ3LZ.js +0 -2
- package/dist/chunk-LXRXDTPI.js +0 -2
- package/dist/chunk-NW4A3JW6.mjs +0 -2
- package/dist/chunk-OITITR6K.mjs +0 -2
- package/dist/chunk-PDJGTQMY.mjs +0 -2
- package/dist/chunk-SKJCQKFL.mjs +0 -94
- package/dist/chunk-T44JQT2O.mjs +0 -2
- package/dist/chunk-TCJCE6WN.js +0 -2
- package/dist/chunk-VMJBW3EF.mjs +0 -2
- package/dist/chunk-WW3X3ELF.js +0 -2
- package/dist/chunk-XMYUYQH7.mjs +0 -72
- package/dist/chunk-ZNTMZ6NM.js +0 -7
- package/dist/chunk-ZU73VG3X.js +0 -2
- package/dist/dsr-190YpijW.d.ts +0 -307
- package/dist/dsr-BTT-Xd7H.d.mts +0 -307
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { D as DSRRequest, a as DSRStatus } from './dsr-Cm9lzWG7.js';
|
|
3
|
+
|
|
4
|
+
interface DSRDashboardClassNames {
|
|
5
|
+
root?: string;
|
|
6
|
+
header?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
filters?: string;
|
|
9
|
+
requestList?: string;
|
|
10
|
+
requestItem?: string;
|
|
11
|
+
statusBadge?: string;
|
|
12
|
+
detailPanel?: string;
|
|
13
|
+
}
|
|
14
|
+
interface DSRDashboardProps {
|
|
15
|
+
/**
|
|
16
|
+
* List of DSR requests to display
|
|
17
|
+
*/
|
|
18
|
+
requests: DSRRequest[];
|
|
19
|
+
/**
|
|
20
|
+
* Callback function called when a request is selected
|
|
21
|
+
*/
|
|
22
|
+
onSelectRequest?: (requestId: string) => void;
|
|
23
|
+
/**
|
|
24
|
+
* Callback function called when a request status is updated
|
|
25
|
+
*/
|
|
26
|
+
onUpdateStatus?: (requestId: string, status: DSRStatus) => void;
|
|
27
|
+
/**
|
|
28
|
+
* Callback function called when a request is assigned
|
|
29
|
+
*/
|
|
30
|
+
onAssignRequest?: (requestId: string, assignee: string) => void;
|
|
31
|
+
/**
|
|
32
|
+
* Title displayed on the dashboard
|
|
33
|
+
* @default "Data Subject Request Dashboard"
|
|
34
|
+
*/
|
|
35
|
+
title?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Description text displayed on the dashboard
|
|
38
|
+
* @default "Track and manage data subject requests in compliance with NDPA Part IV requirements."
|
|
39
|
+
*/
|
|
40
|
+
description?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Custom CSS class for the dashboard
|
|
43
|
+
*/
|
|
44
|
+
className?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Custom CSS class for the buttons
|
|
47
|
+
*/
|
|
48
|
+
buttonClassName?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Whether to show the request details
|
|
51
|
+
* @default true
|
|
52
|
+
*/
|
|
53
|
+
showRequestDetails?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Whether to show the request timeline
|
|
56
|
+
* @default true
|
|
57
|
+
*/
|
|
58
|
+
showRequestTimeline?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Whether to show the deadline alerts
|
|
61
|
+
* @default true
|
|
62
|
+
*/
|
|
63
|
+
showDeadlineAlerts?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* List of possible assignees
|
|
66
|
+
*/
|
|
67
|
+
assignees?: string[];
|
|
68
|
+
/**
|
|
69
|
+
* Object of CSS class overrides keyed by semantic section name.
|
|
70
|
+
*/
|
|
71
|
+
classNames?: DSRDashboardClassNames;
|
|
72
|
+
/**
|
|
73
|
+
* When true, all default Tailwind classes are removed so consumers
|
|
74
|
+
* can style from scratch using classNames.
|
|
75
|
+
*/
|
|
76
|
+
unstyled?: boolean;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Data Subject Request dashboard component. Supports compliance with NDPA Part IV,
|
|
80
|
+
* providing tools to track, manage, and respond to data subject requests within required timeframes.
|
|
81
|
+
*/
|
|
82
|
+
declare const DSRDashboard: React__default.FC<DSRDashboardProps>;
|
|
83
|
+
|
|
84
|
+
interface DSRTrackerClassNames {
|
|
85
|
+
root?: string;
|
|
86
|
+
header?: string;
|
|
87
|
+
title?: string;
|
|
88
|
+
stats?: string;
|
|
89
|
+
statCard?: string;
|
|
90
|
+
table?: string;
|
|
91
|
+
tableHeader?: string;
|
|
92
|
+
tableRow?: string;
|
|
93
|
+
statusBadge?: string;
|
|
94
|
+
}
|
|
95
|
+
interface DSRTrackerProps {
|
|
96
|
+
/**
|
|
97
|
+
* List of DSR requests to track
|
|
98
|
+
*/
|
|
99
|
+
requests: DSRRequest[];
|
|
100
|
+
/**
|
|
101
|
+
* Callback function called when a request is selected
|
|
102
|
+
*/
|
|
103
|
+
onSelectRequest?: (requestId: string) => void;
|
|
104
|
+
/**
|
|
105
|
+
* Title displayed on the tracker
|
|
106
|
+
* @default "DSR Request Tracker"
|
|
107
|
+
*/
|
|
108
|
+
title?: string;
|
|
109
|
+
/**
|
|
110
|
+
* Description text displayed on the tracker
|
|
111
|
+
* @default "Track the status and progress of data subject requests as required by NDPA Part IV."
|
|
112
|
+
*/
|
|
113
|
+
description?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Custom CSS class for the tracker
|
|
116
|
+
*/
|
|
117
|
+
className?: string;
|
|
118
|
+
/**
|
|
119
|
+
* Custom CSS class for the buttons
|
|
120
|
+
*/
|
|
121
|
+
buttonClassName?: string;
|
|
122
|
+
/**
|
|
123
|
+
* Whether to show the summary statistics
|
|
124
|
+
* @default true
|
|
125
|
+
*/
|
|
126
|
+
showSummaryStats?: boolean;
|
|
127
|
+
/**
|
|
128
|
+
* Whether to show the request type breakdown
|
|
129
|
+
* @default true
|
|
130
|
+
*/
|
|
131
|
+
showTypeBreakdown?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Whether to show the status breakdown
|
|
134
|
+
* @default true
|
|
135
|
+
*/
|
|
136
|
+
showStatusBreakdown?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Whether to show the timeline chart
|
|
139
|
+
* @default true
|
|
140
|
+
*/
|
|
141
|
+
showTimelineChart?: boolean;
|
|
142
|
+
/**
|
|
143
|
+
* Whether to show the overdue requests
|
|
144
|
+
* @default true
|
|
145
|
+
*/
|
|
146
|
+
showOverdueRequests?: boolean;
|
|
147
|
+
/**
|
|
148
|
+
* Object of CSS class overrides keyed by semantic section name.
|
|
149
|
+
*/
|
|
150
|
+
classNames?: DSRTrackerClassNames;
|
|
151
|
+
/**
|
|
152
|
+
* When true, all default Tailwind classes are removed so consumers
|
|
153
|
+
* can style from scratch using classNames.
|
|
154
|
+
*/
|
|
155
|
+
unstyled?: boolean;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* DSR tracking and analytics component. Supports compliance with NDPA Part IV,
|
|
159
|
+
* providing summary statistics, deadline tracking, and compliance metrics for data subject requests.
|
|
160
|
+
*/
|
|
161
|
+
declare const DSRTracker: React__default.FC<DSRTrackerProps>;
|
|
162
|
+
|
|
163
|
+
export { DSRDashboard as D, type DSRDashboardClassNames as a, DSRTracker as b, type DSRTrackerClassNames as c, type DSRDashboardProps as d, type DSRTrackerProps as e };
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { P as ProcessingActivity } from './lawful-basis-Cv1VmDLn.mjs';
|
|
3
|
-
import './useLawfulBasis-CpWuHtyh.mjs';
|
|
4
|
-
import './lawful-basis-C2eGaoHM.mjs';
|
|
5
3
|
|
|
6
4
|
interface LawfulBasisTrackerClassNames {
|
|
7
5
|
root?: string;
|
|
@@ -82,6 +80,6 @@ interface LawfulBasisTrackerProps {
|
|
|
82
80
|
* Lawful basis tracker component. Implements NDPA Section 25 requirements for documenting
|
|
83
81
|
* and tracking the lawful basis for each personal data processing activity.
|
|
84
82
|
*/
|
|
85
|
-
declare const LawfulBasisTracker:
|
|
83
|
+
declare const LawfulBasisTracker: React__default.FC<LawfulBasisTrackerProps>;
|
|
86
84
|
|
|
87
|
-
export { LawfulBasisTracker as L, type LawfulBasisTrackerClassNames as a };
|
|
85
|
+
export { LawfulBasisTracker as L, type LawfulBasisTrackerClassNames as a, type LawfulBasisTrackerProps as b };
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { P as ProcessingActivity } from './lawful-basis-Cv1VmDLn.js';
|
|
3
|
-
import './useLawfulBasis-CCWF9waR.js';
|
|
4
|
-
import './lawful-basis-BEyI0kGg.js';
|
|
5
3
|
|
|
6
4
|
interface LawfulBasisTrackerClassNames {
|
|
7
5
|
root?: string;
|
|
@@ -82,6 +80,6 @@ interface LawfulBasisTrackerProps {
|
|
|
82
80
|
* Lawful basis tracker component. Implements NDPA Section 25 requirements for documenting
|
|
83
81
|
* and tracking the lawful basis for each personal data processing activity.
|
|
84
82
|
*/
|
|
85
|
-
declare const LawfulBasisTracker:
|
|
83
|
+
declare const LawfulBasisTracker: React__default.FC<LawfulBasisTrackerProps>;
|
|
86
84
|
|
|
87
|
-
export { LawfulBasisTracker as L, type LawfulBasisTrackerClassNames as a };
|
|
85
|
+
export { LawfulBasisTracker as L, type LawfulBasisTrackerClassNames as a, type LawfulBasisTrackerProps as b };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { b as ComplianceReport } from './compliance-score-racQe_E_.mjs';
|
|
3
|
+
|
|
4
|
+
interface NDPRDashboardClassNames {
|
|
5
|
+
root?: string;
|
|
6
|
+
header?: string;
|
|
7
|
+
scoreCircle?: string;
|
|
8
|
+
scoreValue?: string;
|
|
9
|
+
ratingBadge?: string;
|
|
10
|
+
modulesGrid?: string;
|
|
11
|
+
moduleCard?: string;
|
|
12
|
+
moduleTitle?: string;
|
|
13
|
+
moduleScore?: string;
|
|
14
|
+
moduleGaps?: string;
|
|
15
|
+
recommendationsSection?: string;
|
|
16
|
+
recommendationItem?: string;
|
|
17
|
+
recommendationPriority?: string;
|
|
18
|
+
recommendationTitle?: string;
|
|
19
|
+
primaryButton?: string;
|
|
20
|
+
secondaryButton?: string;
|
|
21
|
+
}
|
|
22
|
+
interface NDPRDashboardProps {
|
|
23
|
+
/** Compliance report produced by getComplianceScore() */
|
|
24
|
+
report: ComplianceReport;
|
|
25
|
+
/** Dashboard heading. Defaults to "NDPA Compliance Dashboard" */
|
|
26
|
+
title?: string;
|
|
27
|
+
/** Show/hide the recommendations section. Defaults to true */
|
|
28
|
+
showRecommendations?: boolean;
|
|
29
|
+
/** Maximum number of recommendations to render. Defaults to 5 */
|
|
30
|
+
maxRecommendations?: number;
|
|
31
|
+
/** Per-section class name overrides */
|
|
32
|
+
classNames?: NDPRDashboardClassNames;
|
|
33
|
+
/** When true, strips all default classes so consumers can style from scratch */
|
|
34
|
+
unstyled?: boolean;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Read-only compliance dashboard.
|
|
38
|
+
*
|
|
39
|
+
* Visualises a `ComplianceReport` (from `getComplianceScore()`) showing the
|
|
40
|
+
* overall score, per-module cards, and a prioritised recommendations list.
|
|
41
|
+
*/
|
|
42
|
+
declare const NDPRDashboard: React__default.FC<NDPRDashboardProps>;
|
|
43
|
+
|
|
44
|
+
export { NDPRDashboard as N, type NDPRDashboardClassNames as a, type NDPRDashboardProps as b };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { b as ComplianceReport } from './compliance-score-racQe_E_.js';
|
|
3
|
+
|
|
4
|
+
interface NDPRDashboardClassNames {
|
|
5
|
+
root?: string;
|
|
6
|
+
header?: string;
|
|
7
|
+
scoreCircle?: string;
|
|
8
|
+
scoreValue?: string;
|
|
9
|
+
ratingBadge?: string;
|
|
10
|
+
modulesGrid?: string;
|
|
11
|
+
moduleCard?: string;
|
|
12
|
+
moduleTitle?: string;
|
|
13
|
+
moduleScore?: string;
|
|
14
|
+
moduleGaps?: string;
|
|
15
|
+
recommendationsSection?: string;
|
|
16
|
+
recommendationItem?: string;
|
|
17
|
+
recommendationPriority?: string;
|
|
18
|
+
recommendationTitle?: string;
|
|
19
|
+
primaryButton?: string;
|
|
20
|
+
secondaryButton?: string;
|
|
21
|
+
}
|
|
22
|
+
interface NDPRDashboardProps {
|
|
23
|
+
/** Compliance report produced by getComplianceScore() */
|
|
24
|
+
report: ComplianceReport;
|
|
25
|
+
/** Dashboard heading. Defaults to "NDPA Compliance Dashboard" */
|
|
26
|
+
title?: string;
|
|
27
|
+
/** Show/hide the recommendations section. Defaults to true */
|
|
28
|
+
showRecommendations?: boolean;
|
|
29
|
+
/** Maximum number of recommendations to render. Defaults to 5 */
|
|
30
|
+
maxRecommendations?: number;
|
|
31
|
+
/** Per-section class name overrides */
|
|
32
|
+
classNames?: NDPRDashboardClassNames;
|
|
33
|
+
/** When true, strips all default classes so consumers can style from scratch */
|
|
34
|
+
unstyled?: boolean;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Read-only compliance dashboard.
|
|
38
|
+
*
|
|
39
|
+
* Visualises a `ComplianceReport` (from `getComplianceScore()`) showing the
|
|
40
|
+
* overall score, per-module cards, and a prioritised recommendations list.
|
|
41
|
+
*/
|
|
42
|
+
declare const NDPRDashboard: React__default.FC<NDPRDashboardProps>;
|
|
43
|
+
|
|
44
|
+
export { NDPRDashboard as N, type NDPRDashboardClassNames as a, type NDPRDashboardProps as b };
|
|
@@ -1,99 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { P as PolicySection, b as PolicyVariable } from './privacy-Ca6te9Ir.mjs';
|
|
3
|
-
import './useDefaultPrivacyPolicy-CUluF_ic.mjs';
|
|
4
|
-
import './policy-templates-DMsPwOSZ.mjs';
|
|
5
|
-
|
|
6
|
-
interface PolicyGeneratorClassNames {
|
|
7
|
-
/** Root container */
|
|
8
|
-
root?: string;
|
|
9
|
-
/** Header area containing title and description */
|
|
10
|
-
header?: string;
|
|
11
|
-
/** Title element */
|
|
12
|
-
title?: string;
|
|
13
|
-
/** Description element */
|
|
14
|
-
description?: string;
|
|
15
|
-
/** Section list container */
|
|
16
|
-
sectionList?: string;
|
|
17
|
-
/** Individual section item */
|
|
18
|
-
sectionItem?: string;
|
|
19
|
-
/** Variable form container */
|
|
20
|
-
form?: string;
|
|
21
|
-
/** Form input fields */
|
|
22
|
-
input?: string;
|
|
23
|
-
/** Generate button */
|
|
24
|
-
generateButton?: string;
|
|
25
|
-
/** Alias for generateButton */
|
|
26
|
-
primaryButton?: string;
|
|
27
|
-
/** NDPA compliance notice */
|
|
28
|
-
complianceNotice?: string;
|
|
29
|
-
}
|
|
30
|
-
interface PolicyGeneratorProps {
|
|
31
|
-
/**
|
|
32
|
-
* List of policy sections
|
|
33
|
-
* @default DEFAULT_POLICY_SECTIONS
|
|
34
|
-
*/
|
|
35
|
-
sections?: PolicySection[];
|
|
36
|
-
/**
|
|
37
|
-
* List of policy variables
|
|
38
|
-
* @default DEFAULT_POLICY_VARIABLES
|
|
39
|
-
*/
|
|
40
|
-
variables?: PolicyVariable[];
|
|
41
|
-
/**
|
|
42
|
-
* Callback function called when the policy is generated
|
|
43
|
-
*/
|
|
44
|
-
onGenerate: (policy: {
|
|
45
|
-
sections: PolicySection[];
|
|
46
|
-
variables: PolicyVariable[];
|
|
47
|
-
content: string;
|
|
48
|
-
}) => void;
|
|
49
|
-
/**
|
|
50
|
-
* Title displayed on the generator
|
|
51
|
-
* @default "NDPA Privacy Policy Generator"
|
|
52
|
-
*/
|
|
53
|
-
title?: string;
|
|
54
|
-
/**
|
|
55
|
-
* Description text displayed on the generator
|
|
56
|
-
* @default "Generate an NDPA-compliant privacy policy for your organization in accordance with NDPA Section 24."
|
|
57
|
-
*/
|
|
58
|
-
description?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Custom CSS class for the generator
|
|
61
|
-
*/
|
|
62
|
-
className?: string;
|
|
63
|
-
/**
|
|
64
|
-
* Custom CSS class for the buttons
|
|
65
|
-
*/
|
|
66
|
-
buttonClassName?: string;
|
|
67
|
-
/**
|
|
68
|
-
* Text for the generate button
|
|
69
|
-
* @default "Generate Policy"
|
|
70
|
-
*/
|
|
71
|
-
generateButtonText?: string;
|
|
72
|
-
/**
|
|
73
|
-
* Whether to show a preview of the generated policy
|
|
74
|
-
* @default true
|
|
75
|
-
*/
|
|
76
|
-
showPreview?: boolean;
|
|
77
|
-
/**
|
|
78
|
-
* Whether to allow editing the policy content
|
|
79
|
-
* @default true
|
|
80
|
-
*/
|
|
81
|
-
allowEditing?: boolean;
|
|
82
|
-
/**
|
|
83
|
-
* Override class names for internal elements
|
|
84
|
-
*/
|
|
85
|
-
classNames?: PolicyGeneratorClassNames;
|
|
86
|
-
/**
|
|
87
|
-
* If true, removes all default styles. Use with classNames to apply your own.
|
|
88
|
-
* @default false
|
|
89
|
-
*/
|
|
90
|
-
unstyled?: boolean;
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* Privacy policy generator component. Implements NDPA Section 24 transparency requirements,
|
|
94
|
-
* helping organizations generate compliant privacy policies that disclose required information.
|
|
95
|
-
*/
|
|
96
|
-
declare const PolicyGenerator: React.FC<PolicyGeneratorProps>;
|
|
97
3
|
|
|
98
4
|
interface PolicyPreviewClassNames {
|
|
99
5
|
/** Root container */
|
|
@@ -192,7 +98,7 @@ interface PolicyPreviewProps {
|
|
|
192
98
|
*/
|
|
193
99
|
unstyled?: boolean;
|
|
194
100
|
}
|
|
195
|
-
declare const PolicyPreview:
|
|
101
|
+
declare const PolicyPreview: React__default.FC<PolicyPreviewProps>;
|
|
196
102
|
|
|
197
103
|
interface PolicyExporterClassNames {
|
|
198
104
|
/** Root container */
|
|
@@ -288,6 +194,6 @@ interface PolicyExporterProps {
|
|
|
288
194
|
*/
|
|
289
195
|
unstyled?: boolean;
|
|
290
196
|
}
|
|
291
|
-
declare const PolicyExporter:
|
|
197
|
+
declare const PolicyExporter: React__default.FC<PolicyExporterProps>;
|
|
292
198
|
|
|
293
|
-
export { PolicyExporter as P, type PolicyExporterClassNames as a,
|
|
199
|
+
export { PolicyExporter as P, type PolicyExporterClassNames as a, PolicyPreview as b, type PolicyPreviewClassNames as c, type PolicyPreviewProps as d, type PolicyExporterProps as e };
|
|
@@ -1,99 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { P as PolicySection, b as PolicyVariable } from './privacy-Ca6te9Ir.js';
|
|
3
|
-
import './useDefaultPrivacyPolicy-B7kTHbZh.js';
|
|
4
|
-
import './policy-templates-CIKcV0i1.js';
|
|
5
|
-
|
|
6
|
-
interface PolicyGeneratorClassNames {
|
|
7
|
-
/** Root container */
|
|
8
|
-
root?: string;
|
|
9
|
-
/** Header area containing title and description */
|
|
10
|
-
header?: string;
|
|
11
|
-
/** Title element */
|
|
12
|
-
title?: string;
|
|
13
|
-
/** Description element */
|
|
14
|
-
description?: string;
|
|
15
|
-
/** Section list container */
|
|
16
|
-
sectionList?: string;
|
|
17
|
-
/** Individual section item */
|
|
18
|
-
sectionItem?: string;
|
|
19
|
-
/** Variable form container */
|
|
20
|
-
form?: string;
|
|
21
|
-
/** Form input fields */
|
|
22
|
-
input?: string;
|
|
23
|
-
/** Generate button */
|
|
24
|
-
generateButton?: string;
|
|
25
|
-
/** Alias for generateButton */
|
|
26
|
-
primaryButton?: string;
|
|
27
|
-
/** NDPA compliance notice */
|
|
28
|
-
complianceNotice?: string;
|
|
29
|
-
}
|
|
30
|
-
interface PolicyGeneratorProps {
|
|
31
|
-
/**
|
|
32
|
-
* List of policy sections
|
|
33
|
-
* @default DEFAULT_POLICY_SECTIONS
|
|
34
|
-
*/
|
|
35
|
-
sections?: PolicySection[];
|
|
36
|
-
/**
|
|
37
|
-
* List of policy variables
|
|
38
|
-
* @default DEFAULT_POLICY_VARIABLES
|
|
39
|
-
*/
|
|
40
|
-
variables?: PolicyVariable[];
|
|
41
|
-
/**
|
|
42
|
-
* Callback function called when the policy is generated
|
|
43
|
-
*/
|
|
44
|
-
onGenerate: (policy: {
|
|
45
|
-
sections: PolicySection[];
|
|
46
|
-
variables: PolicyVariable[];
|
|
47
|
-
content: string;
|
|
48
|
-
}) => void;
|
|
49
|
-
/**
|
|
50
|
-
* Title displayed on the generator
|
|
51
|
-
* @default "NDPA Privacy Policy Generator"
|
|
52
|
-
*/
|
|
53
|
-
title?: string;
|
|
54
|
-
/**
|
|
55
|
-
* Description text displayed on the generator
|
|
56
|
-
* @default "Generate an NDPA-compliant privacy policy for your organization in accordance with NDPA Section 24."
|
|
57
|
-
*/
|
|
58
|
-
description?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Custom CSS class for the generator
|
|
61
|
-
*/
|
|
62
|
-
className?: string;
|
|
63
|
-
/**
|
|
64
|
-
* Custom CSS class for the buttons
|
|
65
|
-
*/
|
|
66
|
-
buttonClassName?: string;
|
|
67
|
-
/**
|
|
68
|
-
* Text for the generate button
|
|
69
|
-
* @default "Generate Policy"
|
|
70
|
-
*/
|
|
71
|
-
generateButtonText?: string;
|
|
72
|
-
/**
|
|
73
|
-
* Whether to show a preview of the generated policy
|
|
74
|
-
* @default true
|
|
75
|
-
*/
|
|
76
|
-
showPreview?: boolean;
|
|
77
|
-
/**
|
|
78
|
-
* Whether to allow editing the policy content
|
|
79
|
-
* @default true
|
|
80
|
-
*/
|
|
81
|
-
allowEditing?: boolean;
|
|
82
|
-
/**
|
|
83
|
-
* Override class names for internal elements
|
|
84
|
-
*/
|
|
85
|
-
classNames?: PolicyGeneratorClassNames;
|
|
86
|
-
/**
|
|
87
|
-
* If true, removes all default styles. Use with classNames to apply your own.
|
|
88
|
-
* @default false
|
|
89
|
-
*/
|
|
90
|
-
unstyled?: boolean;
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* Privacy policy generator component. Implements NDPA Section 24 transparency requirements,
|
|
94
|
-
* helping organizations generate compliant privacy policies that disclose required information.
|
|
95
|
-
*/
|
|
96
|
-
declare const PolicyGenerator: React.FC<PolicyGeneratorProps>;
|
|
97
3
|
|
|
98
4
|
interface PolicyPreviewClassNames {
|
|
99
5
|
/** Root container */
|
|
@@ -192,7 +98,7 @@ interface PolicyPreviewProps {
|
|
|
192
98
|
*/
|
|
193
99
|
unstyled?: boolean;
|
|
194
100
|
}
|
|
195
|
-
declare const PolicyPreview:
|
|
101
|
+
declare const PolicyPreview: React__default.FC<PolicyPreviewProps>;
|
|
196
102
|
|
|
197
103
|
interface PolicyExporterClassNames {
|
|
198
104
|
/** Root container */
|
|
@@ -288,6 +194,6 @@ interface PolicyExporterProps {
|
|
|
288
194
|
*/
|
|
289
195
|
unstyled?: boolean;
|
|
290
196
|
}
|
|
291
|
-
declare const PolicyExporter:
|
|
197
|
+
declare const PolicyExporter: React__default.FC<PolicyExporterProps>;
|
|
292
198
|
|
|
293
|
-
export { PolicyExporter as P, type PolicyExporterClassNames as a,
|
|
199
|
+
export { PolicyExporter as P, type PolicyExporterClassNames as a, PolicyPreview as b, type PolicyPreviewClassNames as c, type PolicyPreviewProps as d, type PolicyExporterProps as e };
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { P as PolicySection, b as PolicyVariable } from './privacy-Ca6te9Ir.mjs';
|
|
3
|
+
|
|
4
|
+
interface PolicyGeneratorClassNames {
|
|
5
|
+
/** Root container */
|
|
6
|
+
root?: string;
|
|
7
|
+
/** Header area containing title and description */
|
|
8
|
+
header?: string;
|
|
9
|
+
/** Title element */
|
|
10
|
+
title?: string;
|
|
11
|
+
/** Description element */
|
|
12
|
+
description?: string;
|
|
13
|
+
/** Section list container */
|
|
14
|
+
sectionList?: string;
|
|
15
|
+
/** Individual section item */
|
|
16
|
+
sectionItem?: string;
|
|
17
|
+
/** Variable form container */
|
|
18
|
+
form?: string;
|
|
19
|
+
/** Form input fields */
|
|
20
|
+
input?: string;
|
|
21
|
+
/** Generate button */
|
|
22
|
+
generateButton?: string;
|
|
23
|
+
/** Alias for generateButton */
|
|
24
|
+
primaryButton?: string;
|
|
25
|
+
/** NDPA compliance notice */
|
|
26
|
+
complianceNotice?: string;
|
|
27
|
+
}
|
|
28
|
+
interface PolicyGeneratorProps {
|
|
29
|
+
/**
|
|
30
|
+
* List of policy sections
|
|
31
|
+
* @default DEFAULT_POLICY_SECTIONS
|
|
32
|
+
*/
|
|
33
|
+
sections?: PolicySection[];
|
|
34
|
+
/**
|
|
35
|
+
* List of policy variables
|
|
36
|
+
* @default DEFAULT_POLICY_VARIABLES
|
|
37
|
+
*/
|
|
38
|
+
variables?: PolicyVariable[];
|
|
39
|
+
/**
|
|
40
|
+
* Callback function called when the policy is generated
|
|
41
|
+
*/
|
|
42
|
+
onGenerate: (policy: {
|
|
43
|
+
sections: PolicySection[];
|
|
44
|
+
variables: PolicyVariable[];
|
|
45
|
+
content: string;
|
|
46
|
+
}) => void;
|
|
47
|
+
/**
|
|
48
|
+
* Title displayed on the generator
|
|
49
|
+
* @default "NDPA Privacy Policy Generator"
|
|
50
|
+
*/
|
|
51
|
+
title?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Description text displayed on the generator
|
|
54
|
+
* @default "Generate an NDPA-compliant privacy policy for your organization in accordance with NDPA Section 24."
|
|
55
|
+
*/
|
|
56
|
+
description?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Custom CSS class for the generator
|
|
59
|
+
*/
|
|
60
|
+
className?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Custom CSS class for the buttons
|
|
63
|
+
*/
|
|
64
|
+
buttonClassName?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Text for the generate button
|
|
67
|
+
* @default "Generate Policy"
|
|
68
|
+
*/
|
|
69
|
+
generateButtonText?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Whether to show a preview of the generated policy
|
|
72
|
+
* @default true
|
|
73
|
+
*/
|
|
74
|
+
showPreview?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Whether to allow editing the policy content
|
|
77
|
+
* @default true
|
|
78
|
+
*/
|
|
79
|
+
allowEditing?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Override class names for internal elements
|
|
82
|
+
*/
|
|
83
|
+
classNames?: PolicyGeneratorClassNames;
|
|
84
|
+
/**
|
|
85
|
+
* If true, removes all default styles. Use with classNames to apply your own.
|
|
86
|
+
* @default false
|
|
87
|
+
*/
|
|
88
|
+
unstyled?: boolean;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Privacy policy generator component. Implements NDPA Section 24 transparency requirements,
|
|
92
|
+
* helping organizations generate compliant privacy policies that disclose required information.
|
|
93
|
+
*/
|
|
94
|
+
declare const PolicyGenerator: React__default.FC<PolicyGeneratorProps>;
|
|
95
|
+
|
|
96
|
+
export { PolicyGenerator as P, type PolicyGeneratorClassNames as a, type PolicyGeneratorProps as b };
|