@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.
Files changed (177) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/adapters.d.mts +34 -25
  3. package/dist/adapters.d.ts +34 -25
  4. package/dist/breach.d.mts +803 -44
  5. package/dist/breach.d.ts +803 -44
  6. package/dist/breach.js +1 -1
  7. package/dist/breach.mjs +1 -1
  8. package/dist/{chunk-ASLMPY54.js → chunk-3EGQWLJ6.js} +3 -3
  9. package/dist/chunk-B4Z5MBUC.mjs +2 -0
  10. package/dist/{chunk-LSCMXAPY.mjs → chunk-CKGJK4D7.mjs} +3 -3
  11. package/dist/{chunk-XSEZDQLB.js → chunk-CKJAECGV.js} +2 -2
  12. package/dist/{chunk-AHSMDPG5.js → chunk-CPK5D5FY.js} +2 -2
  13. package/dist/{chunk-DCJK5OZT.mjs → chunk-CWHBCQGT.mjs} +2 -2
  14. package/dist/{chunk-MLOWRZXO.mjs → chunk-F5TXUA4O.mjs} +3 -3
  15. package/dist/{chunk-BN77GP4W.mjs → chunk-GN5C32JB.mjs} +2 -2
  16. package/dist/{chunk-ZLSWOFAY.mjs → chunk-GRLIPT5V.mjs} +2 -2
  17. package/dist/{chunk-DUY6F3GT.mjs → chunk-H3EYBSVP.mjs} +3 -3
  18. package/dist/{chunk-NFJ4CB63.mjs → chunk-ID2NYIVE.mjs} +3 -3
  19. package/dist/chunk-J5WCPZLW.js +2 -0
  20. package/dist/{chunk-P2YV6DR3.js → chunk-LIM64IV2.js} +3 -3
  21. package/dist/chunk-LU7PKE7Y.mjs +2 -0
  22. package/dist/{chunk-HQSU7LGM.js → chunk-LWXZMKC2.js} +4 -4
  23. package/dist/{chunk-4BOEFDDE.js → chunk-ORFC66EA.js} +3 -3
  24. package/dist/{chunk-VTITKWGX.mjs → chunk-QSVVAZVT.mjs} +2 -2
  25. package/dist/chunk-SCWNM4PC.mjs +2 -0
  26. package/dist/{chunk-EHAZIKDX.js → chunk-SKKOMFXH.js} +2 -2
  27. package/dist/{chunk-WH6ZMUOS.mjs → chunk-TUNQUVHU.mjs} +2 -2
  28. package/dist/chunk-TV4U6AIS.js +2 -0
  29. package/dist/{chunk-ZYLDLGFL.js → chunk-VIQUXWJC.js} +2 -2
  30. package/dist/{chunk-SUEGUY35.js → chunk-XIM7KMD6.js} +2 -2
  31. package/dist/{chunk-P6QAFBCV.js → chunk-XNSZ7KUH.js} +2 -2
  32. package/dist/consent.d.mts +648 -84
  33. package/dist/consent.d.ts +648 -84
  34. package/dist/consent.js +1 -1
  35. package/dist/consent.mjs +1 -1
  36. package/dist/core.d.mts +2049 -23
  37. package/dist/core.d.ts +2049 -23
  38. package/dist/core.js +1 -1
  39. package/dist/core.mjs +1 -1
  40. package/dist/cross-border.d.mts +470 -99
  41. package/dist/cross-border.d.ts +470 -99
  42. package/dist/dpia.d.mts +591 -37
  43. package/dist/dpia.d.ts +591 -37
  44. package/dist/dsr.d.mts +654 -37
  45. package/dist/dsr.d.ts +654 -37
  46. package/dist/dsr.js +1 -1
  47. package/dist/dsr.mjs +1 -1
  48. package/dist/hooks.d.mts +2174 -30
  49. package/dist/hooks.d.ts +2174 -30
  50. package/dist/hooks.js +1 -1
  51. package/dist/hooks.mjs +1 -1
  52. package/dist/index.d.mts +4428 -43
  53. package/dist/index.d.ts +4428 -43
  54. package/dist/index.js +1 -1
  55. package/dist/index.mjs +1 -1
  56. package/dist/lawful-basis.d.mts +368 -32
  57. package/dist/lawful-basis.d.ts +368 -32
  58. package/dist/policy.d.mts +1178 -83
  59. package/dist/policy.d.ts +1178 -83
  60. package/dist/policy.js +1 -1
  61. package/dist/policy.mjs +1 -1
  62. package/dist/presets.d.mts +1020 -114
  63. package/dist/presets.d.ts +1020 -114
  64. package/dist/presets.js +1 -1
  65. package/dist/presets.mjs +1 -1
  66. package/dist/ropa.d.mts +396 -31
  67. package/dist/ropa.d.ts +396 -31
  68. package/dist/ropa.js +1 -1
  69. package/dist/ropa.mjs +1 -1
  70. package/dist/server.d.mts +2133 -24
  71. package/dist/server.d.ts +2133 -24
  72. package/dist/server.js +1 -1
  73. package/dist/server.mjs +1 -1
  74. package/dist/unstyled.d.mts +523 -55
  75. package/dist/unstyled.d.ts +523 -55
  76. package/dist/unstyled.js +1 -1
  77. package/dist/unstyled.mjs +1 -1
  78. package/package.json +3 -3
  79. package/dist/BreachReportForm-DpRrBoxU.d.ts +0 -158
  80. package/dist/BreachReportForm-yJ2Zl6gz.d.mts +0 -158
  81. package/dist/ConsentBanner-F5ayys5K.d.mts +0 -156
  82. package/dist/ConsentBanner-VqIPophc.d.ts +0 -156
  83. package/dist/ConsentManager-C7I3PDe8.d.mts +0 -105
  84. package/dist/ConsentManager-CQ2IZtUU.d.ts +0 -105
  85. package/dist/CrossBorderTransferManager-D5Lc0e46.d.ts +0 -90
  86. package/dist/CrossBorderTransferManager-DkZhv9vD.d.mts +0 -90
  87. package/dist/DPIAQuestionnaire-VXBoWFMC.d.ts +0 -123
  88. package/dist/DPIAQuestionnaire-jkt1Veb6.d.mts +0 -123
  89. package/dist/DSRRequestForm-D8rPTNmU.d.ts +0 -146
  90. package/dist/DSRRequestForm-DRouEr9j.d.mts +0 -146
  91. package/dist/DSRTracker-Bl__d4df.d.ts +0 -163
  92. package/dist/DSRTracker-CSVDfgQQ.d.mts +0 -163
  93. package/dist/LawfulBasisTracker-CBqOxX1D.d.mts +0 -85
  94. package/dist/LawfulBasisTracker-Cg30NbDA.d.ts +0 -85
  95. package/dist/NDPRDashboard-CLJpEg0X.d.mts +0 -44
  96. package/dist/NDPRDashboard-DDWNd2Ah.d.ts +0 -44
  97. package/dist/NDPRProvider-DYFb8xEl.d.ts +0 -68
  98. package/dist/NDPRProvider-U3QNu6MA.d.mts +0 -68
  99. package/dist/PolicyExporter-Bgi6nz82.d.mts +0 -291
  100. package/dist/PolicyExporter-BnvuFncj.d.ts +0 -291
  101. package/dist/ROPAManager-BS4eB8Hw.d.mts +0 -79
  102. package/dist/ROPAManager-qxTrXLkD.d.ts +0 -79
  103. package/dist/RegulatoryReportGenerator-BUYgzTTT.d.ts +0 -282
  104. package/dist/RegulatoryReportGenerator-DwcHcEFp.d.mts +0 -282
  105. package/dist/StepIndicator-CgrlokSV.d.ts +0 -171
  106. package/dist/StepIndicator-W8S_QjgO.d.mts +0 -171
  107. package/dist/breach-B_-6lDqS.d.mts +0 -17
  108. package/dist/breach-CzXqSsaY.d.ts +0 -17
  109. package/dist/breach-Eu9byel8.d.mts +0 -185
  110. package/dist/breach-Eu9byel8.d.ts +0 -185
  111. package/dist/chunk-2L7BSG7G.mjs +0 -2
  112. package/dist/chunk-5X32J5IA.mjs +0 -2
  113. package/dist/chunk-7D2OIPHH.mjs +0 -2
  114. package/dist/chunk-JKKRPS4P.js +0 -2
  115. package/dist/chunk-UHTJ6UFW.js +0 -2
  116. package/dist/compliance-score-racQe_E_.d.mts +0 -115
  117. package/dist/compliance-score-racQe_E_.d.ts +0 -115
  118. package/dist/consent-CmVzqZUk.d.mts +0 -99
  119. package/dist/consent-CmVzqZUk.d.ts +0 -99
  120. package/dist/consent-audit-BdByjYlM.d.mts +0 -65
  121. package/dist/consent-audit-DhbfMR0n.d.ts +0 -65
  122. package/dist/cross-border-BBi9rZyO.d.mts +0 -54
  123. package/dist/cross-border-Dy-U9Hu6.d.ts +0 -54
  124. package/dist/cross-border-UyT00llA.d.mts +0 -141
  125. package/dist/cross-border-UyT00llA.d.ts +0 -141
  126. package/dist/docx-4n8g4zul.d.mts +0 -64
  127. package/dist/docx-VvcTLYZM.d.ts +0 -64
  128. package/dist/dpia-D82hUrJe.d.ts +0 -15
  129. package/dist/dpia-DQDFw2_l.d.mts +0 -15
  130. package/dist/dpia-c9GiiOq0.d.mts +0 -137
  131. package/dist/dpia-c9GiiOq0.d.ts +0 -137
  132. package/dist/dsr-CIx5sd7e.d.ts +0 -14
  133. package/dist/dsr-XZ_HqTlA.d.mts +0 -14
  134. package/dist/dsr-yKbqX531.d.mts +0 -128
  135. package/dist/dsr-yKbqX531.d.ts +0 -128
  136. package/dist/lawful-basis-BEyI0kGg.d.ts +0 -57
  137. package/dist/lawful-basis-C2eGaoHM.d.mts +0 -57
  138. package/dist/lawful-basis-Cv1VmDLn.d.mts +0 -112
  139. package/dist/lawful-basis-Cv1VmDLn.d.ts +0 -112
  140. package/dist/locale-CxJx2tzn.d.mts +0 -25
  141. package/dist/locale-DSkrtf-c.d.ts +0 -25
  142. package/dist/policy-engine-5qTfp2z4.d.mts +0 -174
  143. package/dist/policy-engine-DzPxskOK.d.ts +0 -174
  144. package/dist/policy-sections-9tCb7VU7.d.ts +0 -56
  145. package/dist/policy-sections-CBWcJv-R.d.mts +0 -56
  146. package/dist/policy-templates-DhLwq4R-.d.ts +0 -43
  147. package/dist/policy-templates-DwYl2329.d.mts +0 -43
  148. package/dist/privacy-Ca6te9Ir.d.mts +0 -138
  149. package/dist/privacy-Ca6te9Ir.d.ts +0 -138
  150. package/dist/ropa-BDTM06tr.d.ts +0 -152
  151. package/dist/ropa-CFHuT7jE.d.mts +0 -152
  152. package/dist/ropa-CyynscU6.d.ts +0 -51
  153. package/dist/ropa-NIgxd8uP.d.mts +0 -51
  154. package/dist/sanitize-CxxwKxAx.d.mts +0 -94
  155. package/dist/sanitize-CxxwKxAx.d.ts +0 -94
  156. package/dist/styling-BMDGQDgS.d.mts +0 -64
  157. package/dist/styling-BaoQtV06.d.ts +0 -64
  158. package/dist/types-DK2CoKOC.d.mts +0 -10
  159. package/dist/types-DK2CoKOC.d.ts +0 -10
  160. package/dist/useAdaptivePolicyWizard-BSLyltzZ.d.mts +0 -52
  161. package/dist/useAdaptivePolicyWizard-CL7C7MTZ.d.ts +0 -52
  162. package/dist/useBreach-CPr86Yan.d.mts +0 -115
  163. package/dist/useBreach-DkVXvtJK.d.ts +0 -115
  164. package/dist/useConsent-DCNkIJHR.d.mts +0 -75
  165. package/dist/useConsent-dOcELSfX.d.ts +0 -75
  166. package/dist/useCrossBorderTransfer-DixjLjN1.d.mts +0 -78
  167. package/dist/useCrossBorderTransfer-DvSq06lv.d.ts +0 -78
  168. package/dist/useDPIA-B6180UQn.d.mts +0 -109
  169. package/dist/useDPIA-CTqbNbww.d.ts +0 -109
  170. package/dist/useDSR-WvHk8_iu.d.mts +0 -85
  171. package/dist/useDSR-wH4H6hSM.d.ts +0 -85
  172. package/dist/useDefaultPrivacyPolicy-Cs2WQSYQ.d.mts +0 -162
  173. package/dist/useDefaultPrivacyPolicy-DkOqMg2e.d.ts +0 -162
  174. package/dist/useLawfulBasis-CKJ-kw84.d.mts +0 -79
  175. package/dist/useLawfulBasis-DFTmu1ca.d.ts +0 -79
  176. package/dist/useROPA-BSSU1rfx.d.ts +0 -76
  177. package/dist/useROPA-C2hjaBTz.d.mts +0 -76
@@ -1,291 +0,0 @@
1
- import React__default from 'react';
2
- import { P as PolicySection, b as PolicyVariable } from './privacy-Ca6te9Ir.js';
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
- interface PolicyPreviewClassNames {
97
- /** Root container */
98
- root?: string;
99
- /** Header area containing title and description */
100
- header?: string;
101
- /** Title element */
102
- title?: string;
103
- /** Description element */
104
- description?: string;
105
- /** Content area wrapping the rendered policy */
106
- content?: string;
107
- /** Individual rendered section container */
108
- section?: string;
109
- /** Section title within rendered content */
110
- sectionTitle?: string;
111
- /** Section content within rendered content */
112
- sectionContent?: string;
113
- /** NDPA compliance notice */
114
- complianceNotice?: string;
115
- }
116
- interface PolicyPreviewProps {
117
- /**
118
- * The policy content to preview
119
- */
120
- content: string;
121
- /**
122
- * The policy sections
123
- */
124
- sections?: PolicySection[];
125
- /**
126
- * The policy variables
127
- */
128
- variables?: PolicyVariable[];
129
- /**
130
- * Callback function called when the policy is exported
131
- */
132
- onExport?: (format: 'pdf' | 'html' | 'markdown' | 'docx') => void;
133
- /**
134
- * Callback function called when the policy is edited
135
- */
136
- onEdit?: () => void;
137
- /**
138
- * Title displayed on the preview
139
- * @default "Privacy Policy Preview"
140
- */
141
- title?: string;
142
- /**
143
- * Description text displayed on the preview
144
- * @default "Preview your NDPA-compliant privacy policy before exporting."
145
- */
146
- description?: string;
147
- /**
148
- * Custom CSS class for the preview
149
- */
150
- className?: string;
151
- /**
152
- * Custom CSS class for the buttons
153
- */
154
- buttonClassName?: string;
155
- /**
156
- * Whether to show the export options
157
- * @default true
158
- */
159
- showExportOptions?: boolean;
160
- /**
161
- * Whether to show the edit button
162
- * @default true
163
- */
164
- showEditButton?: boolean;
165
- /**
166
- * Whether to show the table of contents
167
- * @default true
168
- */
169
- showTableOfContents?: boolean;
170
- /**
171
- * Whether to show the policy metadata
172
- * @default true
173
- */
174
- showMetadata?: boolean;
175
- /**
176
- * The organization name to display in the policy
177
- */
178
- organizationName?: string;
179
- /**
180
- * The last updated date to display in the policy
181
- */
182
- lastUpdated?: Date;
183
- /**
184
- * Override class names for internal elements
185
- */
186
- classNames?: PolicyPreviewClassNames;
187
- /**
188
- * If true, removes all default styles. Use with classNames to apply your own.
189
- * @default false
190
- */
191
- unstyled?: boolean;
192
- }
193
- declare const PolicyPreview: React__default.FC<PolicyPreviewProps>;
194
-
195
- interface PolicyExporterClassNames {
196
- /** Root container */
197
- root?: string;
198
- /** Header area containing title and description */
199
- header?: string;
200
- /** Title element */
201
- title?: string;
202
- /** Description element */
203
- description?: string;
204
- /** Format selector container */
205
- formatSelector?: string;
206
- /** Individual format option */
207
- formatOption?: string;
208
- /** Export button */
209
- exportButton?: string;
210
- /** Alias for exportButton */
211
- primaryButton?: string;
212
- /** NDPA compliance / export tips notice */
213
- complianceNotice?: string;
214
- /** Preview / export history area */
215
- preview?: string;
216
- }
217
- interface PolicyExporterProps {
218
- /**
219
- * The policy content to export
220
- */
221
- content: string;
222
- /**
223
- * The policy title
224
- */
225
- title?: string;
226
- /**
227
- * The organization name to include in the exported policy
228
- */
229
- organizationName?: string;
230
- /**
231
- * The last updated date to include in the exported policy
232
- */
233
- lastUpdated?: Date;
234
- /**
235
- * Callback function called when the export is complete
236
- */
237
- onExportComplete?: (format: string, url: string) => void;
238
- /**
239
- * Title displayed on the exporter
240
- * @default "Export Privacy Policy"
241
- */
242
- componentTitle?: string;
243
- /**
244
- * Description text displayed on the exporter
245
- * @default "Export your NDPA-compliant privacy policy in various formats."
246
- */
247
- description?: string;
248
- /**
249
- * Custom CSS class for the exporter
250
- */
251
- className?: string;
252
- /**
253
- * Custom CSS class for the buttons
254
- */
255
- buttonClassName?: string;
256
- /**
257
- * Whether to show the export history
258
- * @default true
259
- */
260
- showExportHistory?: boolean;
261
- /**
262
- * Whether to include the NDPA compliance notice in the exported policy
263
- * @default true
264
- */
265
- includeComplianceNotice?: boolean;
266
- /**
267
- * Whether to include the organization logo in the exported policy
268
- * @default false
269
- */
270
- includeLogo?: boolean;
271
- /**
272
- * URL of the organization logo
273
- */
274
- logoUrl?: string;
275
- /**
276
- * Custom CSS styles for the exported policy
277
- */
278
- customStyles?: string;
279
- /**
280
- * Override class names for internal elements
281
- */
282
- classNames?: PolicyExporterClassNames;
283
- /**
284
- * If true, removes all default styles. Use with classNames to apply your own.
285
- * @default false
286
- */
287
- unstyled?: boolean;
288
- }
289
- declare const PolicyExporter: React__default.FC<PolicyExporterProps>;
290
-
291
- export { PolicyExporter as P, type PolicyExporterClassNames as a, PolicyGenerator as b, type PolicyGeneratorClassNames as c, PolicyPreview as d, type PolicyPreviewClassNames as e, type PolicyGeneratorProps as f, type PolicyPreviewProps as g, type PolicyExporterProps as h };
@@ -1,79 +0,0 @@
1
- import React__default from 'react';
2
- import { a as RecordOfProcessingActivities, P as ProcessingRecord } from './ropa-CFHuT7jE.mjs';
3
-
4
- interface ROPAManagerClassNames {
5
- root?: string;
6
- header?: string;
7
- title?: string;
8
- orgInfo?: string;
9
- summary?: string;
10
- summaryCard?: string;
11
- table?: string;
12
- tableHeader?: string;
13
- tableRow?: string;
14
- form?: string;
15
- input?: string;
16
- select?: string;
17
- submitButton?: string;
18
- /** Alias for submitButton */
19
- primaryButton?: string;
20
- statusBadge?: string;
21
- exportButton?: string;
22
- /** Alias for exportButton */
23
- secondaryButton?: string;
24
- complianceGap?: string;
25
- }
26
- interface ROPAManagerProps {
27
- /**
28
- * The full Record of Processing Activities
29
- */
30
- ropa: RecordOfProcessingActivities;
31
- /**
32
- * Callback when a new record is added
33
- */
34
- onAddRecord?: (record: ProcessingRecord) => void;
35
- /**
36
- * Callback when a record is updated
37
- */
38
- onUpdateRecord?: (id: string, updates: Partial<ProcessingRecord>) => void;
39
- /**
40
- * Callback when a record is archived
41
- */
42
- onArchiveRecord?: (id: string) => void;
43
- /**
44
- * Title displayed on the manager
45
- * @default "Record of Processing Activities (ROPA)"
46
- */
47
- title?: string;
48
- /**
49
- * Description text
50
- * @default "Maintain a comprehensive record of all data processing activities as required by the NDPA accountability principle."
51
- */
52
- description?: string;
53
- /**
54
- * Custom CSS class
55
- */
56
- className?: string;
57
- /**
58
- * Custom CSS class for buttons
59
- */
60
- buttonClassName?: string;
61
- /**
62
- * Override class names for individual sections of the component.
63
- * Takes priority over className / buttonClassName.
64
- */
65
- classNames?: ROPAManagerClassNames;
66
- /**
67
- * When true, all default styling is removed so consumers
68
- * can style from scratch using classNames.
69
- */
70
- unstyled?: boolean;
71
- }
72
- /**
73
- * Record of Processing Activities (ROPA) management component. Implements the NDPA
74
- * accountability principle, requiring organizations to maintain comprehensive records
75
- * of all personal data processing activities.
76
- */
77
- declare const ROPAManager: React__default.FC<ROPAManagerProps>;
78
-
79
- export { ROPAManager as R, type ROPAManagerClassNames as a, type ROPAManagerProps as b };
@@ -1,79 +0,0 @@
1
- import React__default from 'react';
2
- import { a as RecordOfProcessingActivities, P as ProcessingRecord } from './ropa-BDTM06tr.js';
3
-
4
- interface ROPAManagerClassNames {
5
- root?: string;
6
- header?: string;
7
- title?: string;
8
- orgInfo?: string;
9
- summary?: string;
10
- summaryCard?: string;
11
- table?: string;
12
- tableHeader?: string;
13
- tableRow?: string;
14
- form?: string;
15
- input?: string;
16
- select?: string;
17
- submitButton?: string;
18
- /** Alias for submitButton */
19
- primaryButton?: string;
20
- statusBadge?: string;
21
- exportButton?: string;
22
- /** Alias for exportButton */
23
- secondaryButton?: string;
24
- complianceGap?: string;
25
- }
26
- interface ROPAManagerProps {
27
- /**
28
- * The full Record of Processing Activities
29
- */
30
- ropa: RecordOfProcessingActivities;
31
- /**
32
- * Callback when a new record is added
33
- */
34
- onAddRecord?: (record: ProcessingRecord) => void;
35
- /**
36
- * Callback when a record is updated
37
- */
38
- onUpdateRecord?: (id: string, updates: Partial<ProcessingRecord>) => void;
39
- /**
40
- * Callback when a record is archived
41
- */
42
- onArchiveRecord?: (id: string) => void;
43
- /**
44
- * Title displayed on the manager
45
- * @default "Record of Processing Activities (ROPA)"
46
- */
47
- title?: string;
48
- /**
49
- * Description text
50
- * @default "Maintain a comprehensive record of all data processing activities as required by the NDPA accountability principle."
51
- */
52
- description?: string;
53
- /**
54
- * Custom CSS class
55
- */
56
- className?: string;
57
- /**
58
- * Custom CSS class for buttons
59
- */
60
- buttonClassName?: string;
61
- /**
62
- * Override class names for individual sections of the component.
63
- * Takes priority over className / buttonClassName.
64
- */
65
- classNames?: ROPAManagerClassNames;
66
- /**
67
- * When true, all default styling is removed so consumers
68
- * can style from scratch using classNames.
69
- */
70
- unstyled?: boolean;
71
- }
72
- /**
73
- * Record of Processing Activities (ROPA) management component. Implements the NDPA
74
- * accountability principle, requiring organizations to maintain comprehensive records
75
- * of all personal data processing activities.
76
- */
77
- declare const ROPAManager: React__default.FC<ROPAManagerProps>;
78
-
79
- export { ROPAManager as R, type ROPAManagerClassNames as a, type ROPAManagerProps as b };