@tantainnovative/ndpr-toolkit 1.0.10 → 2.1.1

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 (219) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +293 -136
  3. package/dist/breach-6z0r-KuE.d.mts +17 -0
  4. package/dist/breach-BFfnvtRk.d.ts +17 -0
  5. package/dist/breach-BtFbDOmV.d.mts +185 -0
  6. package/dist/breach-BtFbDOmV.d.ts +185 -0
  7. package/dist/breach.d.mts +275 -0
  8. package/dist/breach.d.ts +275 -0
  9. package/dist/breach.js +2 -0
  10. package/dist/breach.js.map +1 -0
  11. package/dist/breach.mjs +2 -0
  12. package/dist/breach.mjs.map +1 -0
  13. package/dist/chunk-2SYNHRP6.mjs +2 -0
  14. package/dist/chunk-2SYNHRP6.mjs.map +1 -0
  15. package/dist/chunk-2XHD22J7.mjs +7 -0
  16. package/dist/chunk-2XHD22J7.mjs.map +1 -0
  17. package/dist/chunk-3YCV2BA6.js +2 -0
  18. package/dist/chunk-3YCV2BA6.js.map +1 -0
  19. package/dist/chunk-4A354HL3.js +2 -0
  20. package/dist/chunk-4A354HL3.js.map +1 -0
  21. package/dist/chunk-4DKT6IB6.js +94 -0
  22. package/dist/chunk-4DKT6IB6.js.map +1 -0
  23. package/dist/chunk-5ZBO2UPH.js +2 -0
  24. package/dist/chunk-5ZBO2UPH.js.map +1 -0
  25. package/dist/chunk-6GGGTRDZ.mjs +2 -0
  26. package/dist/chunk-6GGGTRDZ.mjs.map +1 -0
  27. package/dist/chunk-6JFTAYXV.mjs +2 -0
  28. package/dist/chunk-6JFTAYXV.mjs.map +1 -0
  29. package/dist/chunk-6JVYYLS7.js +2 -0
  30. package/dist/chunk-6JVYYLS7.js.map +1 -0
  31. package/dist/chunk-6SGG6WPA.mjs +2 -0
  32. package/dist/chunk-6SGG6WPA.mjs.map +1 -0
  33. package/dist/chunk-AQEGDEQM.js +7 -0
  34. package/dist/chunk-AQEGDEQM.js.map +1 -0
  35. package/dist/chunk-C2IJWCZQ.mjs +2 -0
  36. package/dist/chunk-C2IJWCZQ.mjs.map +1 -0
  37. package/dist/chunk-CMZTI7SG.js +2 -0
  38. package/dist/chunk-CMZTI7SG.js.map +1 -0
  39. package/dist/chunk-DB3JH4DS.mjs +2 -0
  40. package/dist/chunk-DB3JH4DS.mjs.map +1 -0
  41. package/dist/chunk-FFW7RUAG.mjs +94 -0
  42. package/dist/chunk-FFW7RUAG.mjs.map +1 -0
  43. package/dist/chunk-FK3CSFLJ.js +2 -0
  44. package/dist/chunk-FK3CSFLJ.js.map +1 -0
  45. package/dist/chunk-GIV2OHE6.mjs +2 -0
  46. package/dist/chunk-GIV2OHE6.mjs.map +1 -0
  47. package/dist/chunk-GMLNWS2N.mjs +2 -0
  48. package/dist/chunk-GMLNWS2N.mjs.map +1 -0
  49. package/dist/chunk-IQF726GS.js +2 -0
  50. package/dist/chunk-IQF726GS.js.map +1 -0
  51. package/dist/chunk-IWUUVRLJ.js +2 -0
  52. package/dist/chunk-IWUUVRLJ.js.map +1 -0
  53. package/dist/chunk-JUN6YPLL.mjs +72 -0
  54. package/dist/chunk-JUN6YPLL.mjs.map +1 -0
  55. package/dist/chunk-L3FKTBGV.js +72 -0
  56. package/dist/chunk-L3FKTBGV.js.map +1 -0
  57. package/dist/chunk-L52PDW6O.mjs +2 -0
  58. package/dist/chunk-L52PDW6O.mjs.map +1 -0
  59. package/dist/chunk-LI6WJ3LZ.js +2 -0
  60. package/dist/chunk-LI6WJ3LZ.js.map +1 -0
  61. package/dist/chunk-LXRXDTPI.js +2 -0
  62. package/dist/chunk-LXRXDTPI.js.map +1 -0
  63. package/dist/chunk-MQFZHA2D.js +2 -0
  64. package/dist/chunk-MQFZHA2D.js.map +1 -0
  65. package/dist/chunk-OITITR6K.mjs +2 -0
  66. package/dist/chunk-OITITR6K.mjs.map +1 -0
  67. package/dist/chunk-PDJGTQMY.mjs +2 -0
  68. package/dist/chunk-PDJGTQMY.mjs.map +1 -0
  69. package/dist/chunk-PGSA2O5P.mjs +2 -0
  70. package/dist/chunk-PGSA2O5P.mjs.map +1 -0
  71. package/dist/chunk-PM7CMTMB.js +4 -0
  72. package/dist/chunk-PM7CMTMB.js.map +1 -0
  73. package/dist/chunk-PYEX7DFR.mjs +4 -0
  74. package/dist/chunk-PYEX7DFR.mjs.map +1 -0
  75. package/dist/chunk-QKK5S54L.mjs +2 -0
  76. package/dist/chunk-QKK5S54L.mjs.map +1 -0
  77. package/dist/chunk-RB26MIRI.js +2 -0
  78. package/dist/chunk-RB26MIRI.js.map +1 -0
  79. package/dist/chunk-RGYK4VAY.mjs +2 -0
  80. package/dist/chunk-RGYK4VAY.mjs.map +1 -0
  81. package/dist/chunk-RHWW5FDP.js +16 -0
  82. package/dist/chunk-RHWW5FDP.js.map +1 -0
  83. package/dist/chunk-RYZEIDNR.js +2 -0
  84. package/dist/chunk-RYZEIDNR.js.map +1 -0
  85. package/dist/chunk-SLNMKGQ2.mjs +2 -0
  86. package/dist/chunk-SLNMKGQ2.mjs.map +1 -0
  87. package/dist/chunk-SSGJREE3.js +2 -0
  88. package/dist/chunk-SSGJREE3.js.map +1 -0
  89. package/dist/chunk-SWF3YVE5.js +4 -0
  90. package/dist/chunk-SWF3YVE5.js.map +1 -0
  91. package/dist/chunk-T44JQT2O.mjs +2 -0
  92. package/dist/chunk-T44JQT2O.mjs.map +1 -0
  93. package/dist/chunk-TDDAYVKK.js +2 -0
  94. package/dist/chunk-TDDAYVKK.js.map +1 -0
  95. package/dist/chunk-TXBZPCGF.mjs +2 -0
  96. package/dist/chunk-TXBZPCGF.mjs.map +1 -0
  97. package/dist/chunk-UUWVBENC.js +2 -0
  98. package/dist/chunk-UUWVBENC.js.map +1 -0
  99. package/dist/chunk-UYP64PV7.mjs +4 -0
  100. package/dist/chunk-UYP64PV7.mjs.map +1 -0
  101. package/dist/chunk-VMJBW3EF.mjs +2 -0
  102. package/dist/chunk-VMJBW3EF.mjs.map +1 -0
  103. package/dist/chunk-WW3X3ELF.js +2 -0
  104. package/dist/chunk-WW3X3ELF.js.map +1 -0
  105. package/dist/chunk-WWT2ZSNU.mjs +2 -0
  106. package/dist/chunk-WWT2ZSNU.mjs.map +1 -0
  107. package/dist/chunk-XMKA6GVK.mjs +16 -0
  108. package/dist/chunk-XMKA6GVK.mjs.map +1 -0
  109. package/dist/chunk-Y34DQYS7.js +2 -0
  110. package/dist/chunk-Y34DQYS7.js.map +1 -0
  111. package/dist/chunk-ZU73VG3X.js +2 -0
  112. package/dist/chunk-ZU73VG3X.js.map +1 -0
  113. package/dist/consent-CmVzqZUk.d.mts +99 -0
  114. package/dist/consent-CmVzqZUk.d.ts +99 -0
  115. package/dist/consent-DCc5zjXI.d.mts +24 -0
  116. package/dist/consent-DLWb5ota.d.ts +24 -0
  117. package/dist/consent.d.mts +197 -0
  118. package/dist/consent.d.ts +197 -0
  119. package/dist/consent.js +2 -0
  120. package/dist/consent.js.map +1 -0
  121. package/dist/consent.mjs +2 -0
  122. package/dist/consent.mjs.map +1 -0
  123. package/dist/core.d.mts +14 -0
  124. package/dist/core.d.ts +14 -0
  125. package/dist/core.js +2 -0
  126. package/dist/core.js.map +1 -0
  127. package/dist/core.mjs +2 -0
  128. package/dist/core.mjs.map +1 -0
  129. package/dist/cross-border-BrIy1ieh.d.mts +192 -0
  130. package/dist/cross-border-BrIy1ieh.d.ts +192 -0
  131. package/dist/cross-border.d.mts +58 -0
  132. package/dist/cross-border.d.ts +58 -0
  133. package/dist/cross-border.js +2 -0
  134. package/dist/cross-border.js.map +1 -0
  135. package/dist/cross-border.mjs +2 -0
  136. package/dist/cross-border.mjs.map +1 -0
  137. package/dist/dpia-B9ZZJG5a.d.mts +15 -0
  138. package/dist/dpia-fdtTd2DI.d.ts +15 -0
  139. package/dist/dpia-vWfE_9bO.d.mts +137 -0
  140. package/dist/dpia-vWfE_9bO.d.ts +137 -0
  141. package/dist/dpia.d.mts +179 -0
  142. package/dist/dpia.d.ts +179 -0
  143. package/dist/dpia.js +2 -0
  144. package/dist/dpia.js.map +1 -0
  145. package/dist/dpia.mjs +2 -0
  146. package/dist/dpia.mjs.map +1 -0
  147. package/dist/dsr-jq5NUEdz.d.ts +14 -0
  148. package/dist/dsr-pQzQ3H1O.d.mts +128 -0
  149. package/dist/dsr-pQzQ3H1O.d.ts +128 -0
  150. package/dist/dsr-whPkiI0_.d.mts +14 -0
  151. package/dist/dsr.d.mts +192 -0
  152. package/dist/dsr.d.ts +192 -0
  153. package/dist/dsr.js +2 -0
  154. package/dist/dsr.js.map +1 -0
  155. package/dist/dsr.mjs +2 -0
  156. package/dist/dsr.mjs.map +1 -0
  157. package/dist/hooks.d.mts +17 -0
  158. package/dist/hooks.d.ts +17 -0
  159. package/dist/hooks.js +2 -0
  160. package/dist/hooks.js.map +1 -0
  161. package/dist/hooks.mjs +2 -0
  162. package/dist/hooks.mjs.map +1 -0
  163. package/dist/index.d.mts +31 -448
  164. package/dist/index.d.ts +31 -448
  165. package/dist/index.js +1 -190
  166. package/dist/index.js.map +1 -1
  167. package/dist/index.mjs +1 -190
  168. package/dist/index.mjs.map +1 -1
  169. package/dist/lawful-basis-CWtvDG1x.d.mts +112 -0
  170. package/dist/lawful-basis-CWtvDG1x.d.ts +112 -0
  171. package/dist/lawful-basis-D-oXFizg.d.mts +57 -0
  172. package/dist/lawful-basis-v04AhbK2.d.ts +57 -0
  173. package/dist/lawful-basis.d.mts +55 -0
  174. package/dist/lawful-basis.d.ts +55 -0
  175. package/dist/lawful-basis.js +2 -0
  176. package/dist/lawful-basis.js.map +1 -0
  177. package/dist/lawful-basis.mjs +2 -0
  178. package/dist/lawful-basis.mjs.map +1 -0
  179. package/dist/policy.d.mts +195 -0
  180. package/dist/policy.d.ts +195 -0
  181. package/dist/policy.js +2 -0
  182. package/dist/policy.js.map +1 -0
  183. package/dist/policy.mjs +2 -0
  184. package/dist/policy.mjs.map +1 -0
  185. package/dist/privacy-9FcJceMr.d.mts +15 -0
  186. package/dist/privacy-BXz7O2ej.d.ts +15 -0
  187. package/dist/privacy-Ca6te9Ir.d.mts +138 -0
  188. package/dist/privacy-Ca6te9Ir.d.ts +138 -0
  189. package/dist/ropa-BebGfqKQ.d.ts +200 -0
  190. package/dist/ropa-Rb4dsFSz.d.mts +200 -0
  191. package/dist/ropa.d.mts +45 -0
  192. package/dist/ropa.d.ts +45 -0
  193. package/dist/ropa.js +2 -0
  194. package/dist/ropa.js.map +1 -0
  195. package/dist/ropa.mjs +2 -0
  196. package/dist/ropa.mjs.map +1 -0
  197. package/dist/unstyled.d.mts +4 -4
  198. package/dist/unstyled.d.ts +4 -4
  199. package/dist/unstyled.js +1 -1
  200. package/dist/unstyled.js.map +1 -1
  201. package/dist/unstyled.mjs +1 -1
  202. package/dist/unstyled.mjs.map +1 -1
  203. package/dist/useBreach-WrZzJilM.d.mts +99 -0
  204. package/dist/useBreach-vrh_XMpI.d.ts +99 -0
  205. package/dist/useConsent-D0pAfTlb.d.ts +65 -0
  206. package/dist/useConsent-DOt2Njst.d.mts +65 -0
  207. package/dist/useCrossBorderTransfer-D4FQYfFt.d.ts +66 -0
  208. package/dist/useCrossBorderTransfer-TVnY8_UX.d.mts +66 -0
  209. package/dist/useDPIA-DFDHBLSa.d.ts +94 -0
  210. package/dist/useDPIA-FqPofFaV.d.mts +94 -0
  211. package/dist/useDSR-DAqqOBXb.d.ts +74 -0
  212. package/dist/useDSR-OXM5Q9rf.d.mts +74 -0
  213. package/dist/useLawfulBasis-DNQ8YszQ.d.mts +68 -0
  214. package/dist/useLawfulBasis-RILM_xsx.d.ts +68 -0
  215. package/dist/usePrivacyPolicy-CfySfBLS.d.ts +89 -0
  216. package/dist/usePrivacyPolicy-Dit2sFuV.d.mts +89 -0
  217. package/dist/useROPA-Bcs6cRdi.d.ts +64 -0
  218. package/dist/useROPA-nmcSiUYv.d.mts +64 -0
  219. package/package.json +146 -20
package/dist/dsr.d.mts ADDED
@@ -0,0 +1,192 @@
1
+ import React from 'react';
2
+ import { R as RequestType, D as DSRRequest, a as DSRStatus } from './dsr-pQzQ3H1O.mjs';
3
+ export { b as DSRType, c as RequestStatus } from './dsr-pQzQ3H1O.mjs';
4
+ export { u as useDSR } from './useDSR-OXM5Q9rf.mjs';
5
+ export { f as formatDSRRequest } from './dsr-whPkiI0_.mjs';
6
+
7
+ interface DSRRequestFormProps {
8
+ /**
9
+ * Array of request types that can be submitted
10
+ */
11
+ requestTypes: RequestType[];
12
+ /**
13
+ * Callback function called when form is submitted
14
+ */
15
+ onSubmit: (formData: any) => void;
16
+ /**
17
+ * Title displayed on the form
18
+ * @default "Submit a Data Subject Request"
19
+ */
20
+ title?: string;
21
+ /**
22
+ * Description text displayed on the form
23
+ * @default "Use this form to exercise your rights under the Nigeria Data Protection Act (NDPA)."
24
+ */
25
+ description?: string;
26
+ /**
27
+ * Text for the submit button
28
+ * @default "Submit Request"
29
+ */
30
+ submitButtonText?: string;
31
+ /**
32
+ * Custom CSS class for the form
33
+ */
34
+ className?: string;
35
+ /**
36
+ * Custom CSS class for the submit button
37
+ */
38
+ buttonClassName?: string;
39
+ /**
40
+ * Whether to show a confirmation message after submission
41
+ * @default true
42
+ */
43
+ showConfirmation?: boolean;
44
+ /**
45
+ * Confirmation message to display after submission
46
+ * @default "Your request has been submitted successfully. You will receive a confirmation email shortly."
47
+ */
48
+ confirmationMessage?: string;
49
+ /**
50
+ * Whether to require identity verification
51
+ * @default true
52
+ */
53
+ requireIdentityVerification?: boolean;
54
+ /**
55
+ * Types of identifiers accepted for verification
56
+ * @default ["email", "account", "customer_id"]
57
+ */
58
+ identifierTypes?: Array<{
59
+ id: string;
60
+ label: string;
61
+ }>;
62
+ /**
63
+ * Whether to collect additional contact information
64
+ * @default true
65
+ */
66
+ collectAdditionalContact?: boolean;
67
+ /**
68
+ * Custom labels for form fields
69
+ */
70
+ labels?: {
71
+ name?: string;
72
+ email?: string;
73
+ requestType?: string;
74
+ description?: string;
75
+ submit?: string;
76
+ };
77
+ }
78
+ declare const DSRRequestForm: React.FC<DSRRequestFormProps>;
79
+
80
+ interface DSRDashboardProps {
81
+ /**
82
+ * List of DSR requests to display
83
+ */
84
+ requests: DSRRequest[];
85
+ /**
86
+ * Callback function called when a request is selected
87
+ */
88
+ onSelectRequest?: (requestId: string) => void;
89
+ /**
90
+ * Callback function called when a request status is updated
91
+ */
92
+ onUpdateStatus?: (requestId: string, status: DSRStatus) => void;
93
+ /**
94
+ * Callback function called when a request is assigned
95
+ */
96
+ onAssignRequest?: (requestId: string, assignee: string) => void;
97
+ /**
98
+ * Title displayed on the dashboard
99
+ * @default "Data Subject Request Dashboard"
100
+ */
101
+ title?: string;
102
+ /**
103
+ * Description text displayed on the dashboard
104
+ * @default "Track and manage data subject requests in compliance with NDPA requirements."
105
+ */
106
+ description?: string;
107
+ /**
108
+ * Custom CSS class for the dashboard
109
+ */
110
+ className?: string;
111
+ /**
112
+ * Custom CSS class for the buttons
113
+ */
114
+ buttonClassName?: string;
115
+ /**
116
+ * Whether to show the request details
117
+ * @default true
118
+ */
119
+ showRequestDetails?: boolean;
120
+ /**
121
+ * Whether to show the request timeline
122
+ * @default true
123
+ */
124
+ showRequestTimeline?: boolean;
125
+ /**
126
+ * Whether to show the deadline alerts
127
+ * @default true
128
+ */
129
+ showDeadlineAlerts?: boolean;
130
+ /**
131
+ * List of possible assignees
132
+ */
133
+ assignees?: string[];
134
+ }
135
+ declare const DSRDashboard: React.FC<DSRDashboardProps>;
136
+
137
+ interface DSRTrackerProps {
138
+ /**
139
+ * List of DSR requests to track
140
+ */
141
+ requests: DSRRequest[];
142
+ /**
143
+ * Callback function called when a request is selected
144
+ */
145
+ onSelectRequest?: (requestId: string) => void;
146
+ /**
147
+ * Title displayed on the tracker
148
+ * @default "DSR Request Tracker"
149
+ */
150
+ title?: string;
151
+ /**
152
+ * Description text displayed on the tracker
153
+ * @default "Track the status and progress of data subject requests."
154
+ */
155
+ description?: string;
156
+ /**
157
+ * Custom CSS class for the tracker
158
+ */
159
+ className?: string;
160
+ /**
161
+ * Custom CSS class for the buttons
162
+ */
163
+ buttonClassName?: string;
164
+ /**
165
+ * Whether to show the summary statistics
166
+ * @default true
167
+ */
168
+ showSummaryStats?: boolean;
169
+ /**
170
+ * Whether to show the request type breakdown
171
+ * @default true
172
+ */
173
+ showTypeBreakdown?: boolean;
174
+ /**
175
+ * Whether to show the status breakdown
176
+ * @default true
177
+ */
178
+ showStatusBreakdown?: boolean;
179
+ /**
180
+ * Whether to show the timeline chart
181
+ * @default true
182
+ */
183
+ showTimelineChart?: boolean;
184
+ /**
185
+ * Whether to show the overdue requests
186
+ * @default true
187
+ */
188
+ showOverdueRequests?: boolean;
189
+ }
190
+ declare const DSRTracker: React.FC<DSRTrackerProps>;
191
+
192
+ export { DSRDashboard, DSRRequest, DSRRequestForm, DSRStatus, DSRTracker, RequestType };
package/dist/dsr.d.ts ADDED
@@ -0,0 +1,192 @@
1
+ import React from 'react';
2
+ import { R as RequestType, D as DSRRequest, a as DSRStatus } from './dsr-pQzQ3H1O.js';
3
+ export { b as DSRType, c as RequestStatus } from './dsr-pQzQ3H1O.js';
4
+ export { u as useDSR } from './useDSR-DAqqOBXb.js';
5
+ export { f as formatDSRRequest } from './dsr-jq5NUEdz.js';
6
+
7
+ interface DSRRequestFormProps {
8
+ /**
9
+ * Array of request types that can be submitted
10
+ */
11
+ requestTypes: RequestType[];
12
+ /**
13
+ * Callback function called when form is submitted
14
+ */
15
+ onSubmit: (formData: any) => void;
16
+ /**
17
+ * Title displayed on the form
18
+ * @default "Submit a Data Subject Request"
19
+ */
20
+ title?: string;
21
+ /**
22
+ * Description text displayed on the form
23
+ * @default "Use this form to exercise your rights under the Nigeria Data Protection Act (NDPA)."
24
+ */
25
+ description?: string;
26
+ /**
27
+ * Text for the submit button
28
+ * @default "Submit Request"
29
+ */
30
+ submitButtonText?: string;
31
+ /**
32
+ * Custom CSS class for the form
33
+ */
34
+ className?: string;
35
+ /**
36
+ * Custom CSS class for the submit button
37
+ */
38
+ buttonClassName?: string;
39
+ /**
40
+ * Whether to show a confirmation message after submission
41
+ * @default true
42
+ */
43
+ showConfirmation?: boolean;
44
+ /**
45
+ * Confirmation message to display after submission
46
+ * @default "Your request has been submitted successfully. You will receive a confirmation email shortly."
47
+ */
48
+ confirmationMessage?: string;
49
+ /**
50
+ * Whether to require identity verification
51
+ * @default true
52
+ */
53
+ requireIdentityVerification?: boolean;
54
+ /**
55
+ * Types of identifiers accepted for verification
56
+ * @default ["email", "account", "customer_id"]
57
+ */
58
+ identifierTypes?: Array<{
59
+ id: string;
60
+ label: string;
61
+ }>;
62
+ /**
63
+ * Whether to collect additional contact information
64
+ * @default true
65
+ */
66
+ collectAdditionalContact?: boolean;
67
+ /**
68
+ * Custom labels for form fields
69
+ */
70
+ labels?: {
71
+ name?: string;
72
+ email?: string;
73
+ requestType?: string;
74
+ description?: string;
75
+ submit?: string;
76
+ };
77
+ }
78
+ declare const DSRRequestForm: React.FC<DSRRequestFormProps>;
79
+
80
+ interface DSRDashboardProps {
81
+ /**
82
+ * List of DSR requests to display
83
+ */
84
+ requests: DSRRequest[];
85
+ /**
86
+ * Callback function called when a request is selected
87
+ */
88
+ onSelectRequest?: (requestId: string) => void;
89
+ /**
90
+ * Callback function called when a request status is updated
91
+ */
92
+ onUpdateStatus?: (requestId: string, status: DSRStatus) => void;
93
+ /**
94
+ * Callback function called when a request is assigned
95
+ */
96
+ onAssignRequest?: (requestId: string, assignee: string) => void;
97
+ /**
98
+ * Title displayed on the dashboard
99
+ * @default "Data Subject Request Dashboard"
100
+ */
101
+ title?: string;
102
+ /**
103
+ * Description text displayed on the dashboard
104
+ * @default "Track and manage data subject requests in compliance with NDPA requirements."
105
+ */
106
+ description?: string;
107
+ /**
108
+ * Custom CSS class for the dashboard
109
+ */
110
+ className?: string;
111
+ /**
112
+ * Custom CSS class for the buttons
113
+ */
114
+ buttonClassName?: string;
115
+ /**
116
+ * Whether to show the request details
117
+ * @default true
118
+ */
119
+ showRequestDetails?: boolean;
120
+ /**
121
+ * Whether to show the request timeline
122
+ * @default true
123
+ */
124
+ showRequestTimeline?: boolean;
125
+ /**
126
+ * Whether to show the deadline alerts
127
+ * @default true
128
+ */
129
+ showDeadlineAlerts?: boolean;
130
+ /**
131
+ * List of possible assignees
132
+ */
133
+ assignees?: string[];
134
+ }
135
+ declare const DSRDashboard: React.FC<DSRDashboardProps>;
136
+
137
+ interface DSRTrackerProps {
138
+ /**
139
+ * List of DSR requests to track
140
+ */
141
+ requests: DSRRequest[];
142
+ /**
143
+ * Callback function called when a request is selected
144
+ */
145
+ onSelectRequest?: (requestId: string) => void;
146
+ /**
147
+ * Title displayed on the tracker
148
+ * @default "DSR Request Tracker"
149
+ */
150
+ title?: string;
151
+ /**
152
+ * Description text displayed on the tracker
153
+ * @default "Track the status and progress of data subject requests."
154
+ */
155
+ description?: string;
156
+ /**
157
+ * Custom CSS class for the tracker
158
+ */
159
+ className?: string;
160
+ /**
161
+ * Custom CSS class for the buttons
162
+ */
163
+ buttonClassName?: string;
164
+ /**
165
+ * Whether to show the summary statistics
166
+ * @default true
167
+ */
168
+ showSummaryStats?: boolean;
169
+ /**
170
+ * Whether to show the request type breakdown
171
+ * @default true
172
+ */
173
+ showTypeBreakdown?: boolean;
174
+ /**
175
+ * Whether to show the status breakdown
176
+ * @default true
177
+ */
178
+ showStatusBreakdown?: boolean;
179
+ /**
180
+ * Whether to show the timeline chart
181
+ * @default true
182
+ */
183
+ showTimelineChart?: boolean;
184
+ /**
185
+ * Whether to show the overdue requests
186
+ * @default true
187
+ */
188
+ showOverdueRequests?: boolean;
189
+ }
190
+ declare const DSRTracker: React.FC<DSRTrackerProps>;
191
+
192
+ export { DSRDashboard, DSRRequest, DSRRequestForm, DSRStatus, DSRTracker, RequestType };
package/dist/dsr.js ADDED
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunk6JVYYLS7_js=require('./chunk-6JVYYLS7.js'),chunkWW3X3ELF_js=require('./chunk-WW3X3ELF.js'),chunkCMZTI7SG_js=require('./chunk-CMZTI7SG.js');require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"DSRDashboard",{enumerable:true,get:function(){return chunk6JVYYLS7_js.b}});Object.defineProperty(exports,"DSRRequestForm",{enumerable:true,get:function(){return chunk6JVYYLS7_js.a}});Object.defineProperty(exports,"DSRTracker",{enumerable:true,get:function(){return chunk6JVYYLS7_js.c}});Object.defineProperty(exports,"useDSR",{enumerable:true,get:function(){return chunkWW3X3ELF_js.a}});Object.defineProperty(exports,"formatDSRRequest",{enumerable:true,get:function(){return chunkCMZTI7SG_js.a}});//# sourceMappingURL=dsr.js.map
2
+ //# sourceMappingURL=dsr.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"dsr.js"}
package/dist/dsr.mjs ADDED
@@ -0,0 +1,2 @@
1
+ export{b as DSRDashboard,a as DSRRequestForm,c as DSRTracker}from'./chunk-6JFTAYXV.mjs';export{a as useDSR}from'./chunk-GMLNWS2N.mjs';export{a as formatDSRRequest}from'./chunk-2SYNHRP6.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=dsr.mjs.map
2
+ //# sourceMappingURL=dsr.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"dsr.mjs"}
@@ -0,0 +1,17 @@
1
+ export { C as ConsentOption, a as ConsentSettings, b as ConsentStorageOptions, L as LawfulBasisType } from './consent-CmVzqZUk.mjs';
2
+ export { D as DSRRequest, a as DSRStatus, b as DSRType } from './dsr-pQzQ3H1O.mjs';
3
+ export { b as DPIAResult, c as DPIARisk } from './dpia-vWfE_9bO.mjs';
4
+ export { B as BreachReport, N as NotificationRequirement, R as RiskAssessment } from './breach-BtFbDOmV.mjs';
5
+ export { O as OrganizationInfo, P as PolicySection, c as PrivacyPolicy } from './privacy-Ca6te9Ir.mjs';
6
+ export { L as LawfulBasis, b as LawfulBasisSummary, P as ProcessingActivity } from './lawful-basis-CWtvDG1x.mjs';
7
+ export { b as CrossBorderSummary, C as CrossBorderTransfer } from './cross-border-BrIy1ieh.mjs';
8
+ export { P as ProcessingRecord, a as ROPASummary, R as RecordOfProcessingActivities } from './ropa-Rb4dsFSz.mjs';
9
+ export { u as useConsent } from './useConsent-DOt2Njst.mjs';
10
+ export { u as useDSR } from './useDSR-OXM5Q9rf.mjs';
11
+ export { u as useDPIA } from './useDPIA-FqPofFaV.mjs';
12
+ export { u as useBreach } from './useBreach-WrZzJilM.mjs';
13
+ export { u as usePrivacyPolicy } from './usePrivacyPolicy-Dit2sFuV.mjs';
14
+ export { u as useLawfulBasis } from './useLawfulBasis-DNQ8YszQ.mjs';
15
+ export { u as useCrossBorderTransfer } from './useCrossBorderTransfer-TVnY8_UX.mjs';
16
+ export { U as UseROPAOptions, a as UseROPAReturn, u as useROPA } from './useROPA-nmcSiUYv.mjs';
17
+ import './lawful-basis-D-oXFizg.mjs';
@@ -0,0 +1,17 @@
1
+ export { C as ConsentOption, a as ConsentSettings, b as ConsentStorageOptions, L as LawfulBasisType } from './consent-CmVzqZUk.js';
2
+ export { D as DSRRequest, a as DSRStatus, b as DSRType } from './dsr-pQzQ3H1O.js';
3
+ export { b as DPIAResult, c as DPIARisk } from './dpia-vWfE_9bO.js';
4
+ export { B as BreachReport, N as NotificationRequirement, R as RiskAssessment } from './breach-BtFbDOmV.js';
5
+ export { O as OrganizationInfo, P as PolicySection, c as PrivacyPolicy } from './privacy-Ca6te9Ir.js';
6
+ export { L as LawfulBasis, b as LawfulBasisSummary, P as ProcessingActivity } from './lawful-basis-CWtvDG1x.js';
7
+ export { b as CrossBorderSummary, C as CrossBorderTransfer } from './cross-border-BrIy1ieh.js';
8
+ export { P as ProcessingRecord, a as ROPASummary, R as RecordOfProcessingActivities } from './ropa-BebGfqKQ.js';
9
+ export { u as useConsent } from './useConsent-D0pAfTlb.js';
10
+ export { u as useDSR } from './useDSR-DAqqOBXb.js';
11
+ export { u as useDPIA } from './useDPIA-DFDHBLSa.js';
12
+ export { u as useBreach } from './useBreach-vrh_XMpI.js';
13
+ export { u as usePrivacyPolicy } from './usePrivacyPolicy-CfySfBLS.js';
14
+ export { u as useLawfulBasis } from './useLawfulBasis-RILM_xsx.js';
15
+ export { u as useCrossBorderTransfer } from './useCrossBorderTransfer-D4FQYfFt.js';
16
+ export { U as UseROPAOptions, a as UseROPAReturn, u as useROPA } from './useROPA-Bcs6cRdi.js';
17
+ import './lawful-basis-v04AhbK2.js';
package/dist/hooks.js ADDED
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunkLXRXDTPI_js=require('./chunk-LXRXDTPI.js'),chunk5ZBO2UPH_js=require('./chunk-5ZBO2UPH.js'),chunk4A354HL3_js=require('./chunk-4A354HL3.js');require('./chunk-TDDAYVKK.js'),require('./chunk-IQF726GS.js'),require('./chunk-SWF3YVE5.js');var chunkZU73VG3X_js=require('./chunk-ZU73VG3X.js');require('./chunk-Y34DQYS7.js');var chunkWW3X3ELF_js=require('./chunk-WW3X3ELF.js');require('./chunk-CMZTI7SG.js');var chunk3YCV2BA6_js=require('./chunk-3YCV2BA6.js');require('./chunk-SSGJREE3.js');var chunkLI6WJ3LZ_js=require('./chunk-LI6WJ3LZ.js');require('./chunk-RYZEIDNR.js');var chunkIWUUVRLJ_js=require('./chunk-IWUUVRLJ.js');require('./chunk-PM7CMTMB.js'),require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"useLawfulBasis",{enumerable:true,get:function(){return chunkLXRXDTPI_js.a}});Object.defineProperty(exports,"useCrossBorderTransfer",{enumerable:true,get:function(){return chunk5ZBO2UPH_js.a}});Object.defineProperty(exports,"useROPA",{enumerable:true,get:function(){return chunk4A354HL3_js.a}});Object.defineProperty(exports,"useConsent",{enumerable:true,get:function(){return chunkZU73VG3X_js.a}});Object.defineProperty(exports,"useDSR",{enumerable:true,get:function(){return chunkWW3X3ELF_js.a}});Object.defineProperty(exports,"useDPIA",{enumerable:true,get:function(){return chunk3YCV2BA6_js.a}});Object.defineProperty(exports,"useBreach",{enumerable:true,get:function(){return chunkLI6WJ3LZ_js.a}});Object.defineProperty(exports,"usePrivacyPolicy",{enumerable:true,get:function(){return chunkIWUUVRLJ_js.a}});//# sourceMappingURL=hooks.js.map
2
+ //# sourceMappingURL=hooks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"hooks.js"}
package/dist/hooks.mjs ADDED
@@ -0,0 +1,2 @@
1
+ export{a as useLawfulBasis}from'./chunk-L52PDW6O.mjs';export{a as useCrossBorderTransfer}from'./chunk-VMJBW3EF.mjs';export{a as useROPA}from'./chunk-T44JQT2O.mjs';import'./chunk-TXBZPCGF.mjs';import'./chunk-QKK5S54L.mjs';import'./chunk-PYEX7DFR.mjs';export{a as useConsent}from'./chunk-PDJGTQMY.mjs';import'./chunk-GIV2OHE6.mjs';export{a as useDSR}from'./chunk-GMLNWS2N.mjs';import'./chunk-2SYNHRP6.mjs';export{a as useDPIA}from'./chunk-6GGGTRDZ.mjs';import'./chunk-PGSA2O5P.mjs';export{a as useBreach}from'./chunk-OITITR6K.mjs';import'./chunk-RGYK4VAY.mjs';export{a as usePrivacyPolicy}from'./chunk-DB3JH4DS.mjs';import'./chunk-UYP64PV7.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=hooks.mjs.map
2
+ //# sourceMappingURL=hooks.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"hooks.mjs"}