@tantainnovative/ndpr-toolkit 3.4.1 → 3.5.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/CHANGELOG.md +12 -0
- package/dist/adapters.d.mts +34 -25
- package/dist/adapters.d.ts +34 -25
- package/dist/breach.d.mts +803 -44
- package/dist/breach.d.ts +803 -44
- package/dist/breach.js +1 -1
- package/dist/breach.mjs +1 -1
- package/dist/{chunk-ASLMPY54.js → chunk-3EGQWLJ6.js} +3 -3
- package/dist/chunk-B4Z5MBUC.mjs +2 -0
- package/dist/{chunk-LSCMXAPY.mjs → chunk-CKGJK4D7.mjs} +3 -3
- package/dist/{chunk-XSEZDQLB.js → chunk-CKJAECGV.js} +2 -2
- package/dist/{chunk-AHSMDPG5.js → chunk-CPK5D5FY.js} +2 -2
- package/dist/{chunk-DCJK5OZT.mjs → chunk-CWHBCQGT.mjs} +2 -2
- package/dist/{chunk-MLOWRZXO.mjs → chunk-F5TXUA4O.mjs} +3 -3
- package/dist/{chunk-BN77GP4W.mjs → chunk-GN5C32JB.mjs} +2 -2
- package/dist/{chunk-ZLSWOFAY.mjs → chunk-GRLIPT5V.mjs} +2 -2
- package/dist/{chunk-DUY6F3GT.mjs → chunk-H3EYBSVP.mjs} +3 -3
- package/dist/{chunk-NFJ4CB63.mjs → chunk-ID2NYIVE.mjs} +3 -3
- package/dist/chunk-J5WCPZLW.js +2 -0
- package/dist/{chunk-P2YV6DR3.js → chunk-LIM64IV2.js} +3 -3
- package/dist/chunk-LU7PKE7Y.mjs +2 -0
- package/dist/{chunk-HQSU7LGM.js → chunk-LWXZMKC2.js} +4 -4
- package/dist/{chunk-4BOEFDDE.js → chunk-ORFC66EA.js} +3 -3
- package/dist/{chunk-VTITKWGX.mjs → chunk-QSVVAZVT.mjs} +2 -2
- package/dist/chunk-SCWNM4PC.mjs +2 -0
- package/dist/{chunk-EHAZIKDX.js → chunk-SKKOMFXH.js} +2 -2
- package/dist/{chunk-WH6ZMUOS.mjs → chunk-TUNQUVHU.mjs} +2 -2
- package/dist/chunk-TV4U6AIS.js +2 -0
- package/dist/{chunk-ZYLDLGFL.js → chunk-VIQUXWJC.js} +2 -2
- package/dist/{chunk-SUEGUY35.js → chunk-XIM7KMD6.js} +2 -2
- package/dist/{chunk-P6QAFBCV.js → chunk-XNSZ7KUH.js} +2 -2
- package/dist/consent.d.mts +648 -84
- package/dist/consent.d.ts +648 -84
- package/dist/consent.js +1 -1
- package/dist/consent.mjs +1 -1
- package/dist/core.d.mts +2049 -23
- package/dist/core.d.ts +2049 -23
- package/dist/core.js +1 -1
- package/dist/core.mjs +1 -1
- package/dist/cross-border.d.mts +470 -99
- package/dist/cross-border.d.ts +470 -99
- package/dist/dpia.d.mts +591 -37
- package/dist/dpia.d.ts +591 -37
- package/dist/dsr.d.mts +654 -37
- package/dist/dsr.d.ts +654 -37
- package/dist/dsr.js +1 -1
- package/dist/dsr.mjs +1 -1
- package/dist/hooks.d.mts +2174 -30
- package/dist/hooks.d.ts +2174 -30
- package/dist/hooks.js +1 -1
- package/dist/hooks.mjs +1 -1
- package/dist/index.d.mts +4428 -43
- package/dist/index.d.ts +4428 -43
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/lawful-basis.d.mts +368 -32
- package/dist/lawful-basis.d.ts +368 -32
- package/dist/policy.d.mts +1178 -83
- package/dist/policy.d.ts +1178 -83
- package/dist/policy.js +1 -1
- package/dist/policy.mjs +1 -1
- package/dist/presets.d.mts +1020 -114
- package/dist/presets.d.ts +1020 -114
- package/dist/presets.js +1 -1
- package/dist/presets.mjs +1 -1
- package/dist/ropa.d.mts +396 -31
- package/dist/ropa.d.ts +396 -31
- package/dist/ropa.js +1 -1
- package/dist/ropa.mjs +1 -1
- package/dist/server.d.mts +2133 -24
- package/dist/server.d.ts +2133 -24
- package/dist/server.js +1 -1
- package/dist/server.mjs +1 -1
- package/dist/unstyled.d.mts +523 -55
- package/dist/unstyled.d.ts +523 -55
- package/dist/unstyled.js +1 -1
- package/dist/unstyled.mjs +1 -1
- package/package.json +3 -3
- package/dist/BreachReportForm-DpRrBoxU.d.ts +0 -158
- package/dist/BreachReportForm-yJ2Zl6gz.d.mts +0 -158
- package/dist/ConsentBanner-F5ayys5K.d.mts +0 -156
- package/dist/ConsentBanner-VqIPophc.d.ts +0 -156
- package/dist/ConsentManager-C7I3PDe8.d.mts +0 -105
- package/dist/ConsentManager-CQ2IZtUU.d.ts +0 -105
- package/dist/CrossBorderTransferManager-D5Lc0e46.d.ts +0 -90
- package/dist/CrossBorderTransferManager-DkZhv9vD.d.mts +0 -90
- package/dist/DPIAQuestionnaire-VXBoWFMC.d.ts +0 -123
- package/dist/DPIAQuestionnaire-jkt1Veb6.d.mts +0 -123
- package/dist/DSRRequestForm-D8rPTNmU.d.ts +0 -146
- package/dist/DSRRequestForm-DRouEr9j.d.mts +0 -146
- package/dist/DSRTracker-Bl__d4df.d.ts +0 -163
- package/dist/DSRTracker-CSVDfgQQ.d.mts +0 -163
- package/dist/LawfulBasisTracker-CBqOxX1D.d.mts +0 -85
- package/dist/LawfulBasisTracker-Cg30NbDA.d.ts +0 -85
- package/dist/NDPRDashboard-CLJpEg0X.d.mts +0 -44
- package/dist/NDPRDashboard-DDWNd2Ah.d.ts +0 -44
- package/dist/NDPRProvider-DYFb8xEl.d.ts +0 -68
- package/dist/NDPRProvider-U3QNu6MA.d.mts +0 -68
- package/dist/PolicyExporter-Bgi6nz82.d.mts +0 -291
- package/dist/PolicyExporter-BnvuFncj.d.ts +0 -291
- package/dist/ROPAManager-BS4eB8Hw.d.mts +0 -79
- package/dist/ROPAManager-qxTrXLkD.d.ts +0 -79
- package/dist/RegulatoryReportGenerator-BUYgzTTT.d.ts +0 -282
- package/dist/RegulatoryReportGenerator-DwcHcEFp.d.mts +0 -282
- package/dist/StepIndicator-CgrlokSV.d.ts +0 -171
- package/dist/StepIndicator-W8S_QjgO.d.mts +0 -171
- package/dist/breach-B_-6lDqS.d.mts +0 -17
- package/dist/breach-CzXqSsaY.d.ts +0 -17
- package/dist/breach-Eu9byel8.d.mts +0 -185
- package/dist/breach-Eu9byel8.d.ts +0 -185
- package/dist/chunk-2L7BSG7G.mjs +0 -2
- package/dist/chunk-5X32J5IA.mjs +0 -2
- package/dist/chunk-7D2OIPHH.mjs +0 -2
- package/dist/chunk-JKKRPS4P.js +0 -2
- package/dist/chunk-UHTJ6UFW.js +0 -2
- package/dist/compliance-score-racQe_E_.d.mts +0 -115
- package/dist/compliance-score-racQe_E_.d.ts +0 -115
- package/dist/consent-CmVzqZUk.d.mts +0 -99
- package/dist/consent-CmVzqZUk.d.ts +0 -99
- package/dist/consent-audit-BdByjYlM.d.mts +0 -65
- package/dist/consent-audit-DhbfMR0n.d.ts +0 -65
- package/dist/cross-border-BBi9rZyO.d.mts +0 -54
- package/dist/cross-border-Dy-U9Hu6.d.ts +0 -54
- package/dist/cross-border-UyT00llA.d.mts +0 -141
- package/dist/cross-border-UyT00llA.d.ts +0 -141
- package/dist/docx-4n8g4zul.d.mts +0 -64
- package/dist/docx-VvcTLYZM.d.ts +0 -64
- package/dist/dpia-D82hUrJe.d.ts +0 -15
- package/dist/dpia-DQDFw2_l.d.mts +0 -15
- package/dist/dpia-c9GiiOq0.d.mts +0 -137
- package/dist/dpia-c9GiiOq0.d.ts +0 -137
- package/dist/dsr-CIx5sd7e.d.ts +0 -14
- package/dist/dsr-XZ_HqTlA.d.mts +0 -14
- package/dist/dsr-yKbqX531.d.mts +0 -128
- package/dist/dsr-yKbqX531.d.ts +0 -128
- package/dist/lawful-basis-BEyI0kGg.d.ts +0 -57
- package/dist/lawful-basis-C2eGaoHM.d.mts +0 -57
- package/dist/lawful-basis-Cv1VmDLn.d.mts +0 -112
- package/dist/lawful-basis-Cv1VmDLn.d.ts +0 -112
- package/dist/locale-CxJx2tzn.d.mts +0 -25
- package/dist/locale-DSkrtf-c.d.ts +0 -25
- package/dist/policy-engine-5qTfp2z4.d.mts +0 -174
- package/dist/policy-engine-DzPxskOK.d.ts +0 -174
- package/dist/policy-sections-9tCb7VU7.d.ts +0 -56
- package/dist/policy-sections-CBWcJv-R.d.mts +0 -56
- package/dist/policy-templates-DhLwq4R-.d.ts +0 -43
- package/dist/policy-templates-DwYl2329.d.mts +0 -43
- package/dist/privacy-Ca6te9Ir.d.mts +0 -138
- package/dist/privacy-Ca6te9Ir.d.ts +0 -138
- package/dist/ropa-BDTM06tr.d.ts +0 -152
- package/dist/ropa-CFHuT7jE.d.mts +0 -152
- package/dist/ropa-CyynscU6.d.ts +0 -51
- package/dist/ropa-NIgxd8uP.d.mts +0 -51
- package/dist/sanitize-CxxwKxAx.d.mts +0 -94
- package/dist/sanitize-CxxwKxAx.d.ts +0 -94
- package/dist/styling-BMDGQDgS.d.mts +0 -64
- package/dist/styling-BaoQtV06.d.ts +0 -64
- package/dist/types-DK2CoKOC.d.mts +0 -10
- package/dist/types-DK2CoKOC.d.ts +0 -10
- package/dist/useAdaptivePolicyWizard-BSLyltzZ.d.mts +0 -52
- package/dist/useAdaptivePolicyWizard-CL7C7MTZ.d.ts +0 -52
- package/dist/useBreach-CPr86Yan.d.mts +0 -115
- package/dist/useBreach-DkVXvtJK.d.ts +0 -115
- package/dist/useConsent-DCNkIJHR.d.mts +0 -75
- package/dist/useConsent-dOcELSfX.d.ts +0 -75
- package/dist/useCrossBorderTransfer-DixjLjN1.d.mts +0 -78
- package/dist/useCrossBorderTransfer-DvSq06lv.d.ts +0 -78
- package/dist/useDPIA-B6180UQn.d.mts +0 -109
- package/dist/useDPIA-CTqbNbww.d.ts +0 -109
- package/dist/useDSR-WvHk8_iu.d.mts +0 -85
- package/dist/useDSR-wH4H6hSM.d.ts +0 -85
- package/dist/useDefaultPrivacyPolicy-Cs2WQSYQ.d.mts +0 -162
- package/dist/useDefaultPrivacyPolicy-DkOqMg2e.d.ts +0 -162
- package/dist/useLawfulBasis-CKJ-kw84.d.mts +0 -79
- package/dist/useLawfulBasis-DFTmu1ca.d.ts +0 -79
- package/dist/useROPA-BSSU1rfx.d.ts +0 -76
- package/dist/useROPA-C2hjaBTz.d.mts +0 -76
|
@@ -1,282 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { a as BreachReport, b as RiskAssessment, R as RegulatoryNotification } from './breach-Eu9byel8.js';
|
|
3
|
-
|
|
4
|
-
interface BreachRiskAssessmentClassNames {
|
|
5
|
-
root?: string;
|
|
6
|
-
header?: string;
|
|
7
|
-
title?: string;
|
|
8
|
-
slider?: string;
|
|
9
|
-
riskBadge?: string;
|
|
10
|
-
riskScore?: string;
|
|
11
|
-
notificationStatus?: string;
|
|
12
|
-
submitButton?: string;
|
|
13
|
-
/** Alias for submitButton */
|
|
14
|
-
primaryButton?: string;
|
|
15
|
-
}
|
|
16
|
-
interface BreachRiskAssessmentProps {
|
|
17
|
-
/**
|
|
18
|
-
* The breach data to assess
|
|
19
|
-
*/
|
|
20
|
-
breachData: BreachReport;
|
|
21
|
-
/**
|
|
22
|
-
* Initial assessment data (if editing an existing assessment)
|
|
23
|
-
*/
|
|
24
|
-
initialAssessment?: Partial<RiskAssessment>;
|
|
25
|
-
/**
|
|
26
|
-
* Callback function called when assessment is completed
|
|
27
|
-
*/
|
|
28
|
-
onComplete: (assessment: RiskAssessment) => void;
|
|
29
|
-
/**
|
|
30
|
-
* Title displayed on the assessment form
|
|
31
|
-
* @default "Breach Risk Assessment"
|
|
32
|
-
*/
|
|
33
|
-
title?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Description text displayed on the assessment form
|
|
36
|
-
* @default "Assess the risk level of this data breach to determine notification requirements under NDPA Section 40."
|
|
37
|
-
*/
|
|
38
|
-
description?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Text for the submit button
|
|
41
|
-
* @default "Complete Assessment"
|
|
42
|
-
*/
|
|
43
|
-
submitButtonText?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Custom CSS class for the form
|
|
46
|
-
*/
|
|
47
|
-
className?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Custom CSS class for the submit button
|
|
50
|
-
*/
|
|
51
|
-
buttonClassName?: string;
|
|
52
|
-
/**
|
|
53
|
-
* Override class names for individual elements
|
|
54
|
-
*/
|
|
55
|
-
classNames?: BreachRiskAssessmentClassNames;
|
|
56
|
-
/**
|
|
57
|
-
* Remove all default styles, only applying classNames overrides
|
|
58
|
-
*/
|
|
59
|
-
unstyled?: boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Whether to show the breach summary
|
|
62
|
-
* @default true
|
|
63
|
-
*/
|
|
64
|
-
showBreachSummary?: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Whether to show notification requirements after assessment
|
|
67
|
-
* @default true
|
|
68
|
-
*/
|
|
69
|
-
showNotificationRequirements?: boolean;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Breach risk assessment component. Implements NDPA Section 40 requirements for assessing
|
|
73
|
-
* breach severity and determining whether NDPC notification is required within 72 hours.
|
|
74
|
-
*/
|
|
75
|
-
declare const BreachRiskAssessment: React__default.FC<BreachRiskAssessmentProps>;
|
|
76
|
-
|
|
77
|
-
interface BreachNotificationManagerClassNames {
|
|
78
|
-
root?: string;
|
|
79
|
-
header?: string;
|
|
80
|
-
title?: string;
|
|
81
|
-
breachList?: string;
|
|
82
|
-
breachItem?: string;
|
|
83
|
-
statusBadge?: string;
|
|
84
|
-
timeline?: string;
|
|
85
|
-
timelineStep?: string;
|
|
86
|
-
detailPanel?: string;
|
|
87
|
-
}
|
|
88
|
-
interface BreachNotificationManagerProps {
|
|
89
|
-
/**
|
|
90
|
-
* List of breach reports to manage
|
|
91
|
-
*/
|
|
92
|
-
breachReports: BreachReport[];
|
|
93
|
-
/**
|
|
94
|
-
* List of risk assessments
|
|
95
|
-
*/
|
|
96
|
-
riskAssessments: RiskAssessment[];
|
|
97
|
-
/**
|
|
98
|
-
* List of regulatory notifications
|
|
99
|
-
*/
|
|
100
|
-
regulatoryNotifications: RegulatoryNotification[];
|
|
101
|
-
/**
|
|
102
|
-
* Callback function called when a breach is selected
|
|
103
|
-
*/
|
|
104
|
-
onSelectBreach?: (breachId: string) => void;
|
|
105
|
-
/**
|
|
106
|
-
* Callback function called when a risk assessment is requested
|
|
107
|
-
*/
|
|
108
|
-
onRequestAssessment?: (breachId: string) => void;
|
|
109
|
-
/**
|
|
110
|
-
* Callback function called when a notification is requested
|
|
111
|
-
*/
|
|
112
|
-
onRequestNotification?: (breachId: string) => void;
|
|
113
|
-
/**
|
|
114
|
-
* Title displayed on the manager
|
|
115
|
-
* @default "Breach Notification Manager"
|
|
116
|
-
*/
|
|
117
|
-
title?: string;
|
|
118
|
-
/**
|
|
119
|
-
* Description text displayed on the manager
|
|
120
|
-
* @default "Manage data breach notifications and track compliance with NDPA Section 40 requirements."
|
|
121
|
-
*/
|
|
122
|
-
description?: string;
|
|
123
|
-
/**
|
|
124
|
-
* Custom CSS class for the manager
|
|
125
|
-
*/
|
|
126
|
-
className?: string;
|
|
127
|
-
/**
|
|
128
|
-
* Custom CSS class for the buttons
|
|
129
|
-
*/
|
|
130
|
-
buttonClassName?: string;
|
|
131
|
-
/**
|
|
132
|
-
* Override class names for individual elements
|
|
133
|
-
*/
|
|
134
|
-
classNames?: BreachNotificationManagerClassNames;
|
|
135
|
-
/**
|
|
136
|
-
* Remove all default styles, only applying classNames overrides
|
|
137
|
-
*/
|
|
138
|
-
unstyled?: boolean;
|
|
139
|
-
/**
|
|
140
|
-
* Whether to show the breach details
|
|
141
|
-
* @default true
|
|
142
|
-
*/
|
|
143
|
-
showBreachDetails?: boolean;
|
|
144
|
-
/**
|
|
145
|
-
* Whether to show the notification timeline
|
|
146
|
-
* @default true
|
|
147
|
-
*/
|
|
148
|
-
showNotificationTimeline?: boolean;
|
|
149
|
-
/**
|
|
150
|
-
* Whether to show the deadline alerts
|
|
151
|
-
* @default true
|
|
152
|
-
*/
|
|
153
|
-
showDeadlineAlerts?: boolean;
|
|
154
|
-
}
|
|
155
|
-
/**
|
|
156
|
-
* Breach notification management component. Implements NDPA Section 40 requirements for
|
|
157
|
-
* managing breach notifications, tracking 72-hour NDPC reporting deadlines, and coordinating
|
|
158
|
-
* data subject notifications.
|
|
159
|
-
*/
|
|
160
|
-
declare const BreachNotificationManager: React__default.FC<BreachNotificationManagerProps>;
|
|
161
|
-
|
|
162
|
-
interface RegulatoryReportGeneratorClassNames {
|
|
163
|
-
root?: string;
|
|
164
|
-
header?: string;
|
|
165
|
-
title?: string;
|
|
166
|
-
reportPreview?: string;
|
|
167
|
-
field?: string;
|
|
168
|
-
fieldLabel?: string;
|
|
169
|
-
fieldValue?: string;
|
|
170
|
-
generateButton?: string;
|
|
171
|
-
/** Alias for generateButton */
|
|
172
|
-
primaryButton?: string;
|
|
173
|
-
downloadButton?: string;
|
|
174
|
-
/** Alias for downloadButton */
|
|
175
|
-
secondaryButton?: string;
|
|
176
|
-
}
|
|
177
|
-
interface OrganizationInfo {
|
|
178
|
-
/**
|
|
179
|
-
* Name of the organization
|
|
180
|
-
*/
|
|
181
|
-
name: string;
|
|
182
|
-
/**
|
|
183
|
-
* Registration number or business ID
|
|
184
|
-
*/
|
|
185
|
-
registrationNumber?: string;
|
|
186
|
-
/**
|
|
187
|
-
* Physical address of the organization
|
|
188
|
-
*/
|
|
189
|
-
address: string;
|
|
190
|
-
/**
|
|
191
|
-
* Website URL
|
|
192
|
-
*/
|
|
193
|
-
website?: string;
|
|
194
|
-
/**
|
|
195
|
-
* Name of the Data Protection Officer
|
|
196
|
-
*/
|
|
197
|
-
dpoName: string;
|
|
198
|
-
/**
|
|
199
|
-
* Email of the Data Protection Officer
|
|
200
|
-
*/
|
|
201
|
-
dpoEmail: string;
|
|
202
|
-
/**
|
|
203
|
-
* Phone number of the Data Protection Officer
|
|
204
|
-
*/
|
|
205
|
-
dpoPhone?: string;
|
|
206
|
-
}
|
|
207
|
-
interface RegulatoryReportGeneratorProps {
|
|
208
|
-
/**
|
|
209
|
-
* The breach data to include in the report
|
|
210
|
-
*/
|
|
211
|
-
breachData: BreachReport;
|
|
212
|
-
/**
|
|
213
|
-
* The risk assessment data
|
|
214
|
-
*/
|
|
215
|
-
assessmentData?: RiskAssessment;
|
|
216
|
-
/**
|
|
217
|
-
* Organization information to include in the report
|
|
218
|
-
*/
|
|
219
|
-
organizationInfo: OrganizationInfo;
|
|
220
|
-
/**
|
|
221
|
-
* Callback function called when the report is generated
|
|
222
|
-
*/
|
|
223
|
-
onGenerate: (report: RegulatoryNotification) => void;
|
|
224
|
-
/**
|
|
225
|
-
* Title displayed on the generator form
|
|
226
|
-
* @default "Generate NDPC Notification Report"
|
|
227
|
-
*/
|
|
228
|
-
title?: string;
|
|
229
|
-
/**
|
|
230
|
-
* Description text displayed on the generator form
|
|
231
|
-
* @default "Generate a report for submission to the NDPC in compliance with NDPA Section 40 breach notification requirements."
|
|
232
|
-
*/
|
|
233
|
-
description?: string;
|
|
234
|
-
/**
|
|
235
|
-
* Text for the generate button
|
|
236
|
-
* @default "Generate Report"
|
|
237
|
-
*/
|
|
238
|
-
generateButtonText?: string;
|
|
239
|
-
/**
|
|
240
|
-
* Custom CSS class for the form
|
|
241
|
-
*/
|
|
242
|
-
className?: string;
|
|
243
|
-
/**
|
|
244
|
-
* Custom CSS class for the buttons
|
|
245
|
-
*/
|
|
246
|
-
buttonClassName?: string;
|
|
247
|
-
/**
|
|
248
|
-
* Override class names for individual elements
|
|
249
|
-
*/
|
|
250
|
-
classNames?: RegulatoryReportGeneratorClassNames;
|
|
251
|
-
/**
|
|
252
|
-
* Remove all default styles, only applying classNames overrides
|
|
253
|
-
*/
|
|
254
|
-
unstyled?: boolean;
|
|
255
|
-
/**
|
|
256
|
-
* Whether to show a preview of the generated report
|
|
257
|
-
* @default true
|
|
258
|
-
*/
|
|
259
|
-
showPreview?: boolean;
|
|
260
|
-
/**
|
|
261
|
-
* Whether to allow editing the report content
|
|
262
|
-
* @default true
|
|
263
|
-
*/
|
|
264
|
-
allowEditing?: boolean;
|
|
265
|
-
/**
|
|
266
|
-
* Whether to allow downloading the report
|
|
267
|
-
* @default true
|
|
268
|
-
*/
|
|
269
|
-
allowDownload?: boolean;
|
|
270
|
-
/**
|
|
271
|
-
* Format for downloading the report
|
|
272
|
-
* @default "pdf"
|
|
273
|
-
*/
|
|
274
|
-
downloadFormat?: 'pdf' | 'docx' | 'html';
|
|
275
|
-
}
|
|
276
|
-
/**
|
|
277
|
-
* Regulatory report generator component. Implements NDPA Section 40 requirements for
|
|
278
|
-
* generating formal breach notification reports for submission to the NDPC.
|
|
279
|
-
*/
|
|
280
|
-
declare const RegulatoryReportGenerator: React__default.FC<RegulatoryReportGeneratorProps>;
|
|
281
|
-
|
|
282
|
-
export { BreachNotificationManager as B, RegulatoryReportGenerator as R, type BreachNotificationManagerClassNames as a, BreachRiskAssessment as b, type BreachRiskAssessmentClassNames as c, type RegulatoryReportGeneratorClassNames as d, type BreachRiskAssessmentProps as e, type BreachNotificationManagerProps as f, type RegulatoryReportGeneratorProps as g };
|
|
@@ -1,282 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { a as BreachReport, b as RiskAssessment, R as RegulatoryNotification } from './breach-Eu9byel8.mjs';
|
|
3
|
-
|
|
4
|
-
interface BreachRiskAssessmentClassNames {
|
|
5
|
-
root?: string;
|
|
6
|
-
header?: string;
|
|
7
|
-
title?: string;
|
|
8
|
-
slider?: string;
|
|
9
|
-
riskBadge?: string;
|
|
10
|
-
riskScore?: string;
|
|
11
|
-
notificationStatus?: string;
|
|
12
|
-
submitButton?: string;
|
|
13
|
-
/** Alias for submitButton */
|
|
14
|
-
primaryButton?: string;
|
|
15
|
-
}
|
|
16
|
-
interface BreachRiskAssessmentProps {
|
|
17
|
-
/**
|
|
18
|
-
* The breach data to assess
|
|
19
|
-
*/
|
|
20
|
-
breachData: BreachReport;
|
|
21
|
-
/**
|
|
22
|
-
* Initial assessment data (if editing an existing assessment)
|
|
23
|
-
*/
|
|
24
|
-
initialAssessment?: Partial<RiskAssessment>;
|
|
25
|
-
/**
|
|
26
|
-
* Callback function called when assessment is completed
|
|
27
|
-
*/
|
|
28
|
-
onComplete: (assessment: RiskAssessment) => void;
|
|
29
|
-
/**
|
|
30
|
-
* Title displayed on the assessment form
|
|
31
|
-
* @default "Breach Risk Assessment"
|
|
32
|
-
*/
|
|
33
|
-
title?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Description text displayed on the assessment form
|
|
36
|
-
* @default "Assess the risk level of this data breach to determine notification requirements under NDPA Section 40."
|
|
37
|
-
*/
|
|
38
|
-
description?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Text for the submit button
|
|
41
|
-
* @default "Complete Assessment"
|
|
42
|
-
*/
|
|
43
|
-
submitButtonText?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Custom CSS class for the form
|
|
46
|
-
*/
|
|
47
|
-
className?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Custom CSS class for the submit button
|
|
50
|
-
*/
|
|
51
|
-
buttonClassName?: string;
|
|
52
|
-
/**
|
|
53
|
-
* Override class names for individual elements
|
|
54
|
-
*/
|
|
55
|
-
classNames?: BreachRiskAssessmentClassNames;
|
|
56
|
-
/**
|
|
57
|
-
* Remove all default styles, only applying classNames overrides
|
|
58
|
-
*/
|
|
59
|
-
unstyled?: boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Whether to show the breach summary
|
|
62
|
-
* @default true
|
|
63
|
-
*/
|
|
64
|
-
showBreachSummary?: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Whether to show notification requirements after assessment
|
|
67
|
-
* @default true
|
|
68
|
-
*/
|
|
69
|
-
showNotificationRequirements?: boolean;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Breach risk assessment component. Implements NDPA Section 40 requirements for assessing
|
|
73
|
-
* breach severity and determining whether NDPC notification is required within 72 hours.
|
|
74
|
-
*/
|
|
75
|
-
declare const BreachRiskAssessment: React__default.FC<BreachRiskAssessmentProps>;
|
|
76
|
-
|
|
77
|
-
interface BreachNotificationManagerClassNames {
|
|
78
|
-
root?: string;
|
|
79
|
-
header?: string;
|
|
80
|
-
title?: string;
|
|
81
|
-
breachList?: string;
|
|
82
|
-
breachItem?: string;
|
|
83
|
-
statusBadge?: string;
|
|
84
|
-
timeline?: string;
|
|
85
|
-
timelineStep?: string;
|
|
86
|
-
detailPanel?: string;
|
|
87
|
-
}
|
|
88
|
-
interface BreachNotificationManagerProps {
|
|
89
|
-
/**
|
|
90
|
-
* List of breach reports to manage
|
|
91
|
-
*/
|
|
92
|
-
breachReports: BreachReport[];
|
|
93
|
-
/**
|
|
94
|
-
* List of risk assessments
|
|
95
|
-
*/
|
|
96
|
-
riskAssessments: RiskAssessment[];
|
|
97
|
-
/**
|
|
98
|
-
* List of regulatory notifications
|
|
99
|
-
*/
|
|
100
|
-
regulatoryNotifications: RegulatoryNotification[];
|
|
101
|
-
/**
|
|
102
|
-
* Callback function called when a breach is selected
|
|
103
|
-
*/
|
|
104
|
-
onSelectBreach?: (breachId: string) => void;
|
|
105
|
-
/**
|
|
106
|
-
* Callback function called when a risk assessment is requested
|
|
107
|
-
*/
|
|
108
|
-
onRequestAssessment?: (breachId: string) => void;
|
|
109
|
-
/**
|
|
110
|
-
* Callback function called when a notification is requested
|
|
111
|
-
*/
|
|
112
|
-
onRequestNotification?: (breachId: string) => void;
|
|
113
|
-
/**
|
|
114
|
-
* Title displayed on the manager
|
|
115
|
-
* @default "Breach Notification Manager"
|
|
116
|
-
*/
|
|
117
|
-
title?: string;
|
|
118
|
-
/**
|
|
119
|
-
* Description text displayed on the manager
|
|
120
|
-
* @default "Manage data breach notifications and track compliance with NDPA Section 40 requirements."
|
|
121
|
-
*/
|
|
122
|
-
description?: string;
|
|
123
|
-
/**
|
|
124
|
-
* Custom CSS class for the manager
|
|
125
|
-
*/
|
|
126
|
-
className?: string;
|
|
127
|
-
/**
|
|
128
|
-
* Custom CSS class for the buttons
|
|
129
|
-
*/
|
|
130
|
-
buttonClassName?: string;
|
|
131
|
-
/**
|
|
132
|
-
* Override class names for individual elements
|
|
133
|
-
*/
|
|
134
|
-
classNames?: BreachNotificationManagerClassNames;
|
|
135
|
-
/**
|
|
136
|
-
* Remove all default styles, only applying classNames overrides
|
|
137
|
-
*/
|
|
138
|
-
unstyled?: boolean;
|
|
139
|
-
/**
|
|
140
|
-
* Whether to show the breach details
|
|
141
|
-
* @default true
|
|
142
|
-
*/
|
|
143
|
-
showBreachDetails?: boolean;
|
|
144
|
-
/**
|
|
145
|
-
* Whether to show the notification timeline
|
|
146
|
-
* @default true
|
|
147
|
-
*/
|
|
148
|
-
showNotificationTimeline?: boolean;
|
|
149
|
-
/**
|
|
150
|
-
* Whether to show the deadline alerts
|
|
151
|
-
* @default true
|
|
152
|
-
*/
|
|
153
|
-
showDeadlineAlerts?: boolean;
|
|
154
|
-
}
|
|
155
|
-
/**
|
|
156
|
-
* Breach notification management component. Implements NDPA Section 40 requirements for
|
|
157
|
-
* managing breach notifications, tracking 72-hour NDPC reporting deadlines, and coordinating
|
|
158
|
-
* data subject notifications.
|
|
159
|
-
*/
|
|
160
|
-
declare const BreachNotificationManager: React__default.FC<BreachNotificationManagerProps>;
|
|
161
|
-
|
|
162
|
-
interface RegulatoryReportGeneratorClassNames {
|
|
163
|
-
root?: string;
|
|
164
|
-
header?: string;
|
|
165
|
-
title?: string;
|
|
166
|
-
reportPreview?: string;
|
|
167
|
-
field?: string;
|
|
168
|
-
fieldLabel?: string;
|
|
169
|
-
fieldValue?: string;
|
|
170
|
-
generateButton?: string;
|
|
171
|
-
/** Alias for generateButton */
|
|
172
|
-
primaryButton?: string;
|
|
173
|
-
downloadButton?: string;
|
|
174
|
-
/** Alias for downloadButton */
|
|
175
|
-
secondaryButton?: string;
|
|
176
|
-
}
|
|
177
|
-
interface OrganizationInfo {
|
|
178
|
-
/**
|
|
179
|
-
* Name of the organization
|
|
180
|
-
*/
|
|
181
|
-
name: string;
|
|
182
|
-
/**
|
|
183
|
-
* Registration number or business ID
|
|
184
|
-
*/
|
|
185
|
-
registrationNumber?: string;
|
|
186
|
-
/**
|
|
187
|
-
* Physical address of the organization
|
|
188
|
-
*/
|
|
189
|
-
address: string;
|
|
190
|
-
/**
|
|
191
|
-
* Website URL
|
|
192
|
-
*/
|
|
193
|
-
website?: string;
|
|
194
|
-
/**
|
|
195
|
-
* Name of the Data Protection Officer
|
|
196
|
-
*/
|
|
197
|
-
dpoName: string;
|
|
198
|
-
/**
|
|
199
|
-
* Email of the Data Protection Officer
|
|
200
|
-
*/
|
|
201
|
-
dpoEmail: string;
|
|
202
|
-
/**
|
|
203
|
-
* Phone number of the Data Protection Officer
|
|
204
|
-
*/
|
|
205
|
-
dpoPhone?: string;
|
|
206
|
-
}
|
|
207
|
-
interface RegulatoryReportGeneratorProps {
|
|
208
|
-
/**
|
|
209
|
-
* The breach data to include in the report
|
|
210
|
-
*/
|
|
211
|
-
breachData: BreachReport;
|
|
212
|
-
/**
|
|
213
|
-
* The risk assessment data
|
|
214
|
-
*/
|
|
215
|
-
assessmentData?: RiskAssessment;
|
|
216
|
-
/**
|
|
217
|
-
* Organization information to include in the report
|
|
218
|
-
*/
|
|
219
|
-
organizationInfo: OrganizationInfo;
|
|
220
|
-
/**
|
|
221
|
-
* Callback function called when the report is generated
|
|
222
|
-
*/
|
|
223
|
-
onGenerate: (report: RegulatoryNotification) => void;
|
|
224
|
-
/**
|
|
225
|
-
* Title displayed on the generator form
|
|
226
|
-
* @default "Generate NDPC Notification Report"
|
|
227
|
-
*/
|
|
228
|
-
title?: string;
|
|
229
|
-
/**
|
|
230
|
-
* Description text displayed on the generator form
|
|
231
|
-
* @default "Generate a report for submission to the NDPC in compliance with NDPA Section 40 breach notification requirements."
|
|
232
|
-
*/
|
|
233
|
-
description?: string;
|
|
234
|
-
/**
|
|
235
|
-
* Text for the generate button
|
|
236
|
-
* @default "Generate Report"
|
|
237
|
-
*/
|
|
238
|
-
generateButtonText?: string;
|
|
239
|
-
/**
|
|
240
|
-
* Custom CSS class for the form
|
|
241
|
-
*/
|
|
242
|
-
className?: string;
|
|
243
|
-
/**
|
|
244
|
-
* Custom CSS class for the buttons
|
|
245
|
-
*/
|
|
246
|
-
buttonClassName?: string;
|
|
247
|
-
/**
|
|
248
|
-
* Override class names for individual elements
|
|
249
|
-
*/
|
|
250
|
-
classNames?: RegulatoryReportGeneratorClassNames;
|
|
251
|
-
/**
|
|
252
|
-
* Remove all default styles, only applying classNames overrides
|
|
253
|
-
*/
|
|
254
|
-
unstyled?: boolean;
|
|
255
|
-
/**
|
|
256
|
-
* Whether to show a preview of the generated report
|
|
257
|
-
* @default true
|
|
258
|
-
*/
|
|
259
|
-
showPreview?: boolean;
|
|
260
|
-
/**
|
|
261
|
-
* Whether to allow editing the report content
|
|
262
|
-
* @default true
|
|
263
|
-
*/
|
|
264
|
-
allowEditing?: boolean;
|
|
265
|
-
/**
|
|
266
|
-
* Whether to allow downloading the report
|
|
267
|
-
* @default true
|
|
268
|
-
*/
|
|
269
|
-
allowDownload?: boolean;
|
|
270
|
-
/**
|
|
271
|
-
* Format for downloading the report
|
|
272
|
-
* @default "pdf"
|
|
273
|
-
*/
|
|
274
|
-
downloadFormat?: 'pdf' | 'docx' | 'html';
|
|
275
|
-
}
|
|
276
|
-
/**
|
|
277
|
-
* Regulatory report generator component. Implements NDPA Section 40 requirements for
|
|
278
|
-
* generating formal breach notification reports for submission to the NDPC.
|
|
279
|
-
*/
|
|
280
|
-
declare const RegulatoryReportGenerator: React__default.FC<RegulatoryReportGeneratorProps>;
|
|
281
|
-
|
|
282
|
-
export { BreachNotificationManager as B, RegulatoryReportGenerator as R, type BreachNotificationManagerClassNames as a, BreachRiskAssessment as b, type BreachRiskAssessmentClassNames as c, type RegulatoryReportGeneratorClassNames as d, type BreachRiskAssessmentProps as e, type BreachNotificationManagerProps as f, type RegulatoryReportGeneratorProps as g };
|