@tantainnovative/ndpr-toolkit 3.4.0 → 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 (188) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +80 -38
  3. package/dist/adapters.d.mts +34 -25
  4. package/dist/adapters.d.ts +34 -25
  5. package/dist/breach.d.mts +803 -44
  6. package/dist/breach.d.ts +803 -44
  7. package/dist/breach.js +2 -1
  8. package/dist/breach.mjs +2 -1
  9. package/dist/{chunk-2WH4DLV5.js → chunk-3EGQWLJ6.js} +3 -3
  10. package/dist/chunk-B4Z5MBUC.mjs +2 -0
  11. package/dist/{chunk-LSCMXAPY.mjs → chunk-CKGJK4D7.mjs} +3 -3
  12. package/dist/{chunk-XSEZDQLB.js → chunk-CKJAECGV.js} +2 -2
  13. package/dist/{chunk-AHSMDPG5.js → chunk-CPK5D5FY.js} +2 -2
  14. package/dist/{chunk-DCJK5OZT.mjs → chunk-CWHBCQGT.mjs} +2 -2
  15. package/dist/{chunk-KSERBMXW.mjs → chunk-F5TXUA4O.mjs} +3 -3
  16. package/dist/{chunk-BN77GP4W.mjs → chunk-GN5C32JB.mjs} +2 -2
  17. package/dist/{chunk-ZLSWOFAY.mjs → chunk-GRLIPT5V.mjs} +2 -2
  18. package/dist/{chunk-DUY6F3GT.mjs → chunk-H3EYBSVP.mjs} +3 -3
  19. package/dist/{chunk-MG73MOZC.mjs → chunk-I557S566.mjs} +2 -2
  20. package/dist/{chunk-QVULSG6J.mjs → chunk-ID2NYIVE.mjs} +3 -3
  21. package/dist/chunk-J5WCPZLW.js +2 -0
  22. package/dist/{chunk-4R42ZNO7.mjs → chunk-JFFOPHU3.mjs} +57 -57
  23. package/dist/{chunk-P2YV6DR3.js → chunk-LIM64IV2.js} +3 -3
  24. package/dist/chunk-LU7PKE7Y.mjs +2 -0
  25. package/dist/{chunk-HQSU7LGM.js → chunk-LWXZMKC2.js} +4 -4
  26. package/dist/{chunk-XMBSJJ5U.js → chunk-ORFC66EA.js} +3 -3
  27. package/dist/{chunk-VTITKWGX.mjs → chunk-QSVVAZVT.mjs} +2 -2
  28. package/dist/chunk-SCWNM4PC.mjs +2 -0
  29. package/dist/{chunk-EHAZIKDX.js → chunk-SKKOMFXH.js} +2 -2
  30. package/dist/{chunk-WH6ZMUOS.mjs → chunk-TUNQUVHU.mjs} +2 -2
  31. package/dist/chunk-TV4U6AIS.js +2 -0
  32. package/dist/{chunk-ZYLDLGFL.js → chunk-VIQUXWJC.js} +2 -2
  33. package/dist/{chunk-SUEGUY35.js → chunk-XIM7KMD6.js} +2 -2
  34. package/dist/{chunk-P6QAFBCV.js → chunk-XNSZ7KUH.js} +2 -2
  35. package/dist/{chunk-RNTNHVKZ.js → chunk-YPKUHSK4.js} +2 -2
  36. package/dist/{chunk-UFPSUO52.js → chunk-Z73T6MWY.js} +57 -57
  37. package/dist/consent.d.mts +648 -84
  38. package/dist/consent.d.ts +648 -84
  39. package/dist/consent.js +2 -1
  40. package/dist/consent.mjs +2 -1
  41. package/dist/core.d.mts +2049 -23
  42. package/dist/core.d.ts +2049 -23
  43. package/dist/core.js +1 -1
  44. package/dist/core.mjs +1 -1
  45. package/dist/cross-border.d.mts +470 -99
  46. package/dist/cross-border.d.ts +470 -99
  47. package/dist/cross-border.js +1 -0
  48. package/dist/cross-border.mjs +1 -0
  49. package/dist/dpia.d.mts +591 -37
  50. package/dist/dpia.d.ts +591 -37
  51. package/dist/dpia.js +1 -0
  52. package/dist/dpia.mjs +1 -0
  53. package/dist/dsr.d.mts +654 -37
  54. package/dist/dsr.d.ts +654 -37
  55. package/dist/dsr.js +2 -1
  56. package/dist/dsr.mjs +2 -1
  57. package/dist/hooks.d.mts +2174 -30
  58. package/dist/hooks.d.ts +2174 -30
  59. package/dist/hooks.js +2 -1
  60. package/dist/hooks.mjs +2 -1
  61. package/dist/index.d.mts +4428 -43
  62. package/dist/index.d.ts +4428 -43
  63. package/dist/index.js +2 -1
  64. package/dist/index.mjs +2 -1
  65. package/dist/lawful-basis.d.mts +368 -32
  66. package/dist/lawful-basis.d.ts +368 -32
  67. package/dist/lawful-basis.js +1 -0
  68. package/dist/lawful-basis.mjs +1 -0
  69. package/dist/policy.d.mts +1178 -83
  70. package/dist/policy.d.ts +1178 -83
  71. package/dist/policy.js +2 -1
  72. package/dist/policy.mjs +2 -1
  73. package/dist/presets.d.mts +1020 -114
  74. package/dist/presets.d.ts +1020 -114
  75. package/dist/presets.js +2 -1
  76. package/dist/presets.mjs +2 -1
  77. package/dist/ropa.d.mts +396 -31
  78. package/dist/ropa.d.ts +396 -31
  79. package/dist/ropa.js +2 -1
  80. package/dist/ropa.mjs +2 -1
  81. package/dist/server.d.mts +2133 -24
  82. package/dist/server.d.ts +2133 -24
  83. package/dist/server.js +1 -1
  84. package/dist/server.mjs +1 -1
  85. package/dist/unstyled.d.mts +523 -55
  86. package/dist/unstyled.d.ts +523 -55
  87. package/dist/unstyled.js +2 -1
  88. package/dist/unstyled.mjs +2 -1
  89. package/package.json +3 -3
  90. package/dist/BreachReportForm-DpRrBoxU.d.ts +0 -158
  91. package/dist/BreachReportForm-yJ2Zl6gz.d.mts +0 -158
  92. package/dist/ConsentBanner-F5ayys5K.d.mts +0 -156
  93. package/dist/ConsentBanner-VqIPophc.d.ts +0 -156
  94. package/dist/ConsentManager-C7I3PDe8.d.mts +0 -105
  95. package/dist/ConsentManager-CQ2IZtUU.d.ts +0 -105
  96. package/dist/CrossBorderTransferManager-D5Lc0e46.d.ts +0 -90
  97. package/dist/CrossBorderTransferManager-DkZhv9vD.d.mts +0 -90
  98. package/dist/DPIAQuestionnaire-VXBoWFMC.d.ts +0 -123
  99. package/dist/DPIAQuestionnaire-jkt1Veb6.d.mts +0 -123
  100. package/dist/DSRRequestForm-D8rPTNmU.d.ts +0 -146
  101. package/dist/DSRRequestForm-DRouEr9j.d.mts +0 -146
  102. package/dist/DSRTracker-Bl__d4df.d.ts +0 -163
  103. package/dist/DSRTracker-CSVDfgQQ.d.mts +0 -163
  104. package/dist/LawfulBasisTracker-CBqOxX1D.d.mts +0 -85
  105. package/dist/LawfulBasisTracker-Cg30NbDA.d.ts +0 -85
  106. package/dist/NDPRDashboard-CLJpEg0X.d.mts +0 -44
  107. package/dist/NDPRDashboard-DDWNd2Ah.d.ts +0 -44
  108. package/dist/NDPRProvider-DYFb8xEl.d.ts +0 -68
  109. package/dist/NDPRProvider-U3QNu6MA.d.mts +0 -68
  110. package/dist/PolicyExporter-Bgi6nz82.d.mts +0 -291
  111. package/dist/PolicyExporter-BnvuFncj.d.ts +0 -291
  112. package/dist/ROPAManager-BS4eB8Hw.d.mts +0 -79
  113. package/dist/ROPAManager-qxTrXLkD.d.ts +0 -79
  114. package/dist/RegulatoryReportGenerator-BUYgzTTT.d.ts +0 -282
  115. package/dist/RegulatoryReportGenerator-DwcHcEFp.d.mts +0 -282
  116. package/dist/StepIndicator-CgrlokSV.d.ts +0 -171
  117. package/dist/StepIndicator-W8S_QjgO.d.mts +0 -171
  118. package/dist/breach-B_-6lDqS.d.mts +0 -17
  119. package/dist/breach-CzXqSsaY.d.ts +0 -17
  120. package/dist/breach-Eu9byel8.d.mts +0 -185
  121. package/dist/breach-Eu9byel8.d.ts +0 -185
  122. package/dist/chunk-5X32J5IA.mjs +0 -2
  123. package/dist/chunk-7D2OIPHH.mjs +0 -2
  124. package/dist/chunk-JKKRPS4P.js +0 -2
  125. package/dist/chunk-NCOZB2WU.mjs +0 -2
  126. package/dist/chunk-RGNP45VR.js +0 -2
  127. package/dist/compliance-score-racQe_E_.d.mts +0 -115
  128. package/dist/compliance-score-racQe_E_.d.ts +0 -115
  129. package/dist/consent-CmVzqZUk.d.mts +0 -99
  130. package/dist/consent-CmVzqZUk.d.ts +0 -99
  131. package/dist/consent-audit-BdByjYlM.d.mts +0 -65
  132. package/dist/consent-audit-DhbfMR0n.d.ts +0 -65
  133. package/dist/cross-border-BBi9rZyO.d.mts +0 -54
  134. package/dist/cross-border-Dy-U9Hu6.d.ts +0 -54
  135. package/dist/cross-border-UyT00llA.d.mts +0 -141
  136. package/dist/cross-border-UyT00llA.d.ts +0 -141
  137. package/dist/docx-BxKascXN.d.ts +0 -64
  138. package/dist/docx-CV7Vsry_.d.mts +0 -64
  139. package/dist/dpia-D82hUrJe.d.ts +0 -15
  140. package/dist/dpia-DQDFw2_l.d.mts +0 -15
  141. package/dist/dpia-c9GiiOq0.d.mts +0 -137
  142. package/dist/dpia-c9GiiOq0.d.ts +0 -137
  143. package/dist/dsr-CIx5sd7e.d.ts +0 -14
  144. package/dist/dsr-XZ_HqTlA.d.mts +0 -14
  145. package/dist/dsr-yKbqX531.d.mts +0 -128
  146. package/dist/dsr-yKbqX531.d.ts +0 -128
  147. package/dist/lawful-basis-BEyI0kGg.d.ts +0 -57
  148. package/dist/lawful-basis-C2eGaoHM.d.mts +0 -57
  149. package/dist/lawful-basis-Cv1VmDLn.d.mts +0 -112
  150. package/dist/lawful-basis-Cv1VmDLn.d.ts +0 -112
  151. package/dist/locale-CxJx2tzn.d.mts +0 -25
  152. package/dist/locale-DSkrtf-c.d.ts +0 -25
  153. package/dist/policy-engine-CCUCud2T.d.ts +0 -154
  154. package/dist/policy-engine-fYSqEqSW.d.mts +0 -154
  155. package/dist/policy-sections-BYx6fEFk.d.ts +0 -56
  156. package/dist/policy-sections-Dm97Nq8m.d.mts +0 -56
  157. package/dist/policy-templates-DhLwq4R-.d.ts +0 -43
  158. package/dist/policy-templates-DwYl2329.d.mts +0 -43
  159. package/dist/privacy-Ca6te9Ir.d.mts +0 -138
  160. package/dist/privacy-Ca6te9Ir.d.ts +0 -138
  161. package/dist/ropa-BDTM06tr.d.ts +0 -152
  162. package/dist/ropa-CFHuT7jE.d.mts +0 -152
  163. package/dist/ropa-CyynscU6.d.ts +0 -51
  164. package/dist/ropa-NIgxd8uP.d.mts +0 -51
  165. package/dist/sanitize-CxxwKxAx.d.mts +0 -94
  166. package/dist/sanitize-CxxwKxAx.d.ts +0 -94
  167. package/dist/styling-BMDGQDgS.d.mts +0 -64
  168. package/dist/styling-BaoQtV06.d.ts +0 -64
  169. package/dist/types-DK2CoKOC.d.mts +0 -10
  170. package/dist/types-DK2CoKOC.d.ts +0 -10
  171. package/dist/useAdaptivePolicyWizard-BnjW4OR4.d.mts +0 -52
  172. package/dist/useAdaptivePolicyWizard-sb3m4-Zk.d.ts +0 -52
  173. package/dist/useBreach-CPr86Yan.d.mts +0 -115
  174. package/dist/useBreach-DkVXvtJK.d.ts +0 -115
  175. package/dist/useConsent-DCNkIJHR.d.mts +0 -75
  176. package/dist/useConsent-dOcELSfX.d.ts +0 -75
  177. package/dist/useCrossBorderTransfer-DixjLjN1.d.mts +0 -78
  178. package/dist/useCrossBorderTransfer-DvSq06lv.d.ts +0 -78
  179. package/dist/useDPIA-B6180UQn.d.mts +0 -109
  180. package/dist/useDPIA-CTqbNbww.d.ts +0 -109
  181. package/dist/useDSR-WvHk8_iu.d.mts +0 -85
  182. package/dist/useDSR-wH4H6hSM.d.ts +0 -85
  183. package/dist/useDefaultPrivacyPolicy-Cs2WQSYQ.d.mts +0 -162
  184. package/dist/useDefaultPrivacyPolicy-DkOqMg2e.d.ts +0 -162
  185. package/dist/useLawfulBasis-CKJ-kw84.d.mts +0 -79
  186. package/dist/useLawfulBasis-DFTmu1ca.d.ts +0 -79
  187. package/dist/useROPA-BSSU1rfx.d.ts +0 -76
  188. package/dist/useROPA-C2hjaBTz.d.mts +0 -76
@@ -1,146 +0,0 @@
1
- import React__default from 'react';
2
- import { c as RequestType } from './dsr-yKbqX531.js';
3
-
4
- /**
5
- * Represents the data submitted by the DSR request form.
6
- */
7
- interface DSRFormSubmission {
8
- /** The selected request type identifier */
9
- requestType: string;
10
- /** Data subject personal information */
11
- dataSubject: {
12
- fullName: string;
13
- email: string;
14
- phone?: string;
15
- identifierType: string;
16
- identifierValue: string;
17
- };
18
- /** Additional information provided for the selected request type */
19
- additionalInfo?: Record<string, string | number | boolean | null>;
20
- /** Timestamp (ms) when the form was submitted */
21
- submittedAt: number;
22
- }
23
- interface DSRRequestFormClassNames {
24
- root?: string;
25
- title?: string;
26
- description?: string;
27
- form?: string;
28
- fieldGroup?: string;
29
- label?: string;
30
- input?: string;
31
- select?: string;
32
- textarea?: string;
33
- submitButton?: string;
34
- /** Alias for submitButton */
35
- primaryButton?: string;
36
- successMessage?: string;
37
- /** Custom class applied when isSubmitting is true (e.g. a loading overlay) */
38
- loadingOverlay?: string;
39
- }
40
- interface DSRRequestFormProps {
41
- /**
42
- * Array of request types that can be submitted
43
- */
44
- requestTypes: RequestType[];
45
- /**
46
- * Callback function called when form is submitted
47
- */
48
- onSubmit: (data: DSRFormSubmission) => void;
49
- /**
50
- * Callback function called when form validation fails
51
- */
52
- onValidationError?: (errors: Record<string, string>) => void;
53
- /**
54
- * Title displayed on the form
55
- * @default "Submit a Data Subject Request"
56
- */
57
- title?: string;
58
- /**
59
- * Description text displayed on the form
60
- * @default "Use this form to exercise your rights under the Nigeria Data Protection Act (NDPA), Part IV, Sections 29-36."
61
- */
62
- description?: string;
63
- /**
64
- * Text for the submit button
65
- * @default "Submit Request"
66
- */
67
- submitButtonText?: string;
68
- /**
69
- * Custom CSS class for the form
70
- */
71
- className?: string;
72
- /**
73
- * Custom CSS class for the submit button
74
- */
75
- buttonClassName?: string;
76
- /**
77
- * Whether to show a confirmation message after submission
78
- * @default true
79
- */
80
- showConfirmation?: boolean;
81
- /**
82
- * Confirmation message to display after submission
83
- * @default "Your request has been submitted successfully. You will receive a confirmation email shortly."
84
- */
85
- confirmationMessage?: string;
86
- /**
87
- * Whether to require identity verification
88
- * @default true
89
- */
90
- requireIdentityVerification?: boolean;
91
- /**
92
- * Types of identifiers accepted for verification
93
- * @default ["email", "account", "customer_id"]
94
- */
95
- identifierTypes?: Array<{
96
- id: string;
97
- label: string;
98
- }>;
99
- /**
100
- * Whether to collect additional contact information
101
- * @default true
102
- */
103
- collectAdditionalContact?: boolean;
104
- /**
105
- * Custom labels for form fields
106
- */
107
- labels?: {
108
- name?: string;
109
- email?: string;
110
- requestType?: string;
111
- description?: string;
112
- submit?: string;
113
- };
114
- /**
115
- * Object of CSS class overrides keyed by semantic section name.
116
- */
117
- classNames?: DSRRequestFormClassNames;
118
- /**
119
- * When true, all default Tailwind classes are removed so consumers
120
- * can style from scratch using classNames.
121
- */
122
- unstyled?: boolean;
123
- /**
124
- * Whether the form is currently submitting.
125
- * When true, the submit button is disabled and shows "Submitting..." text.
126
- */
127
- isSubmitting?: boolean;
128
- /**
129
- * Default values to pre-fill form fields.
130
- * Useful for editing existing requests or pre-populating known data.
131
- */
132
- defaultValues?: Partial<DSRFormSubmission>;
133
- /**
134
- * Callback fired when the form is reset via the Reset button.
135
- * To fully remount the component (clearing all internal state),
136
- * change the `key` prop from the parent.
137
- */
138
- onReset?: () => void;
139
- }
140
- /**
141
- * Data Subject Request form component. Implements NDPA Part IV, Sections 29-36
142
- * covering data subject rights including access, rectification, erasure, and portability.
143
- */
144
- declare const DSRRequestForm: React__default.FC<DSRRequestFormProps>;
145
-
146
- export { type DSRFormSubmission as D, DSRRequestForm as a, type DSRRequestFormClassNames as b, type DSRRequestFormProps as c };
@@ -1,146 +0,0 @@
1
- import React__default from 'react';
2
- import { c as RequestType } from './dsr-yKbqX531.mjs';
3
-
4
- /**
5
- * Represents the data submitted by the DSR request form.
6
- */
7
- interface DSRFormSubmission {
8
- /** The selected request type identifier */
9
- requestType: string;
10
- /** Data subject personal information */
11
- dataSubject: {
12
- fullName: string;
13
- email: string;
14
- phone?: string;
15
- identifierType: string;
16
- identifierValue: string;
17
- };
18
- /** Additional information provided for the selected request type */
19
- additionalInfo?: Record<string, string | number | boolean | null>;
20
- /** Timestamp (ms) when the form was submitted */
21
- submittedAt: number;
22
- }
23
- interface DSRRequestFormClassNames {
24
- root?: string;
25
- title?: string;
26
- description?: string;
27
- form?: string;
28
- fieldGroup?: string;
29
- label?: string;
30
- input?: string;
31
- select?: string;
32
- textarea?: string;
33
- submitButton?: string;
34
- /** Alias for submitButton */
35
- primaryButton?: string;
36
- successMessage?: string;
37
- /** Custom class applied when isSubmitting is true (e.g. a loading overlay) */
38
- loadingOverlay?: string;
39
- }
40
- interface DSRRequestFormProps {
41
- /**
42
- * Array of request types that can be submitted
43
- */
44
- requestTypes: RequestType[];
45
- /**
46
- * Callback function called when form is submitted
47
- */
48
- onSubmit: (data: DSRFormSubmission) => void;
49
- /**
50
- * Callback function called when form validation fails
51
- */
52
- onValidationError?: (errors: Record<string, string>) => void;
53
- /**
54
- * Title displayed on the form
55
- * @default "Submit a Data Subject Request"
56
- */
57
- title?: string;
58
- /**
59
- * Description text displayed on the form
60
- * @default "Use this form to exercise your rights under the Nigeria Data Protection Act (NDPA), Part IV, Sections 29-36."
61
- */
62
- description?: string;
63
- /**
64
- * Text for the submit button
65
- * @default "Submit Request"
66
- */
67
- submitButtonText?: string;
68
- /**
69
- * Custom CSS class for the form
70
- */
71
- className?: string;
72
- /**
73
- * Custom CSS class for the submit button
74
- */
75
- buttonClassName?: string;
76
- /**
77
- * Whether to show a confirmation message after submission
78
- * @default true
79
- */
80
- showConfirmation?: boolean;
81
- /**
82
- * Confirmation message to display after submission
83
- * @default "Your request has been submitted successfully. You will receive a confirmation email shortly."
84
- */
85
- confirmationMessage?: string;
86
- /**
87
- * Whether to require identity verification
88
- * @default true
89
- */
90
- requireIdentityVerification?: boolean;
91
- /**
92
- * Types of identifiers accepted for verification
93
- * @default ["email", "account", "customer_id"]
94
- */
95
- identifierTypes?: Array<{
96
- id: string;
97
- label: string;
98
- }>;
99
- /**
100
- * Whether to collect additional contact information
101
- * @default true
102
- */
103
- collectAdditionalContact?: boolean;
104
- /**
105
- * Custom labels for form fields
106
- */
107
- labels?: {
108
- name?: string;
109
- email?: string;
110
- requestType?: string;
111
- description?: string;
112
- submit?: string;
113
- };
114
- /**
115
- * Object of CSS class overrides keyed by semantic section name.
116
- */
117
- classNames?: DSRRequestFormClassNames;
118
- /**
119
- * When true, all default Tailwind classes are removed so consumers
120
- * can style from scratch using classNames.
121
- */
122
- unstyled?: boolean;
123
- /**
124
- * Whether the form is currently submitting.
125
- * When true, the submit button is disabled and shows "Submitting..." text.
126
- */
127
- isSubmitting?: boolean;
128
- /**
129
- * Default values to pre-fill form fields.
130
- * Useful for editing existing requests or pre-populating known data.
131
- */
132
- defaultValues?: Partial<DSRFormSubmission>;
133
- /**
134
- * Callback fired when the form is reset via the Reset button.
135
- * To fully remount the component (clearing all internal state),
136
- * change the `key` prop from the parent.
137
- */
138
- onReset?: () => void;
139
- }
140
- /**
141
- * Data Subject Request form component. Implements NDPA Part IV, Sections 29-36
142
- * covering data subject rights including access, rectification, erasure, and portability.
143
- */
144
- declare const DSRRequestForm: React__default.FC<DSRRequestFormProps>;
145
-
146
- export { type DSRFormSubmission as D, DSRRequestForm as a, type DSRRequestFormClassNames as b, type DSRRequestFormProps as c };
@@ -1,163 +0,0 @@
1
- import React__default from 'react';
2
- import { D as DSRRequest, a as DSRStatus } from './dsr-yKbqX531.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,163 +0,0 @@
1
- import React__default from 'react';
2
- import { D as DSRRequest, a as DSRStatus } from './dsr-yKbqX531.mjs';
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,85 +0,0 @@
1
- import React__default from 'react';
2
- import { P as ProcessingActivity } from './lawful-basis-Cv1VmDLn.mjs';
3
-
4
- interface LawfulBasisTrackerClassNames {
5
- root?: string;
6
- header?: string;
7
- title?: string;
8
- summary?: string;
9
- summaryCard?: string;
10
- table?: string;
11
- tableHeader?: string;
12
- tableRow?: string;
13
- form?: string;
14
- input?: string;
15
- select?: string;
16
- submitButton?: string;
17
- /** Alias for submitButton */
18
- primaryButton?: string;
19
- statusBadge?: string;
20
- complianceScore?: string;
21
- gapAlert?: string;
22
- }
23
- interface LawfulBasisTrackerProps {
24
- /**
25
- * List of processing activities to display
26
- */
27
- activities: ProcessingActivity[];
28
- /**
29
- * Callback when a new activity is created
30
- */
31
- onAddActivity?: (activity: Omit<ProcessingActivity, 'id' | 'createdAt' | 'updatedAt'>) => void;
32
- /**
33
- * Callback when an activity is updated
34
- */
35
- onUpdateActivity?: (id: string, updates: Partial<ProcessingActivity>) => void;
36
- /**
37
- * Callback when an activity is archived
38
- */
39
- onArchiveActivity?: (id: string) => void;
40
- /**
41
- * Title displayed on the tracker
42
- * @default "Lawful Basis Tracker"
43
- */
44
- title?: string;
45
- /**
46
- * Description text displayed on the tracker
47
- * @default "Document and track the lawful basis for each processing activity as required by NDPA 2023 Section 25."
48
- */
49
- description?: string;
50
- /**
51
- * Custom CSS class for the tracker container
52
- */
53
- className?: string;
54
- /**
55
- * Custom CSS class for buttons
56
- */
57
- buttonClassName?: string;
58
- /**
59
- * Whether to show the compliance summary at the top
60
- * @default true
61
- */
62
- showSummary?: boolean;
63
- /**
64
- * Whether to show compliance gap alerts
65
- * @default true
66
- */
67
- showComplianceGaps?: boolean;
68
- /**
69
- * Override class names for individual sections of the component.
70
- * Takes priority over className / buttonClassName.
71
- */
72
- classNames?: LawfulBasisTrackerClassNames;
73
- /**
74
- * When true, all default styling is removed so consumers
75
- * can style from scratch using classNames.
76
- */
77
- unstyled?: boolean;
78
- }
79
- /**
80
- * Lawful basis tracker component. Implements NDPA Section 25 requirements for documenting
81
- * and tracking the lawful basis for each personal data processing activity.
82
- */
83
- declare const LawfulBasisTracker: React__default.FC<LawfulBasisTrackerProps>;
84
-
85
- export { LawfulBasisTracker as L, type LawfulBasisTrackerClassNames as a, type LawfulBasisTrackerProps as b };