@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,105 +0,0 @@
1
- import React__default from 'react';
2
- import { C as ConsentOption, a as ConsentSettings } from './consent-CmVzqZUk.mjs';
3
-
4
- interface ConsentManagerClassNames {
5
- root?: string;
6
- header?: string;
7
- title?: string;
8
- description?: string;
9
- optionsList?: string;
10
- optionItem?: string;
11
- toggle?: string;
12
- saveButton?: string;
13
- resetButton?: string;
14
- /** Alias for saveButton */
15
- primaryButton?: string;
16
- /** Alias for resetButton */
17
- secondaryButton?: string;
18
- }
19
- interface ConsentManagerProps {
20
- /**
21
- * Array of consent options to display
22
- */
23
- options: ConsentOption[];
24
- /**
25
- * Current consent settings
26
- */
27
- settings?: ConsentSettings;
28
- /**
29
- * Callback function called when user saves their consent choices
30
- */
31
- onSave: (settings: ConsentSettings) => void;
32
- /**
33
- * Title displayed in the manager
34
- * @default "Manage Your Privacy Settings"
35
- */
36
- title?: string;
37
- /**
38
- * Description text displayed in the manager
39
- * @default "Update your consent preferences at any time. Required cookies cannot be disabled as they are necessary for the website to function. Consent management is provided in accordance with NDPA Sections 25-26."
40
- */
41
- description?: string;
42
- /**
43
- * Text for the save button
44
- * @default "Save Preferences"
45
- */
46
- saveButtonText?: string;
47
- /**
48
- * Text for the reset button
49
- * @default "Reset to Defaults"
50
- */
51
- resetButtonText?: string;
52
- /**
53
- * Version of the consent form
54
- * @default "1.0"
55
- */
56
- version?: string;
57
- /**
58
- * Custom CSS class for the manager
59
- */
60
- className?: string;
61
- /**
62
- * Custom CSS class for the buttons
63
- */
64
- buttonClassName?: string;
65
- /**
66
- * Custom CSS class for the primary button
67
- */
68
- primaryButtonClassName?: string;
69
- /**
70
- * Custom CSS class for the secondary button
71
- */
72
- secondaryButtonClassName?: string;
73
- /**
74
- * Object of CSS class overrides keyed by semantic section name.
75
- * Takes priority over buttonClassName / primaryButtonClassName / secondaryButtonClassName.
76
- */
77
- classNames?: ConsentManagerClassNames;
78
- /**
79
- * When true, all default Tailwind classes are removed so consumers
80
- * can style from scratch using classNames.
81
- */
82
- unstyled?: boolean;
83
- /**
84
- * Whether to show a success message after saving
85
- * @default true
86
- */
87
- showSuccessMessage?: boolean;
88
- /**
89
- * Success message to display after saving
90
- * @default "Your preferences have been saved."
91
- */
92
- successMessage?: string;
93
- /**
94
- * Duration to show the success message (in milliseconds)
95
- * @default 3000
96
- */
97
- successMessageDuration?: number;
98
- }
99
- /**
100
- * Consent management component. Implements NDPA Sections 25-26 consent requirements,
101
- * allowing data subjects to review and update their consent preferences.
102
- */
103
- declare const ConsentManager: React__default.FC<ConsentManagerProps>;
104
-
105
- export { ConsentManager as C, type ConsentManagerClassNames as a, type ConsentManagerProps as b };
@@ -1,105 +0,0 @@
1
- import React__default from 'react';
2
- import { C as ConsentOption, a as ConsentSettings } from './consent-CmVzqZUk.js';
3
-
4
- interface ConsentManagerClassNames {
5
- root?: string;
6
- header?: string;
7
- title?: string;
8
- description?: string;
9
- optionsList?: string;
10
- optionItem?: string;
11
- toggle?: string;
12
- saveButton?: string;
13
- resetButton?: string;
14
- /** Alias for saveButton */
15
- primaryButton?: string;
16
- /** Alias for resetButton */
17
- secondaryButton?: string;
18
- }
19
- interface ConsentManagerProps {
20
- /**
21
- * Array of consent options to display
22
- */
23
- options: ConsentOption[];
24
- /**
25
- * Current consent settings
26
- */
27
- settings?: ConsentSettings;
28
- /**
29
- * Callback function called when user saves their consent choices
30
- */
31
- onSave: (settings: ConsentSettings) => void;
32
- /**
33
- * Title displayed in the manager
34
- * @default "Manage Your Privacy Settings"
35
- */
36
- title?: string;
37
- /**
38
- * Description text displayed in the manager
39
- * @default "Update your consent preferences at any time. Required cookies cannot be disabled as they are necessary for the website to function. Consent management is provided in accordance with NDPA Sections 25-26."
40
- */
41
- description?: string;
42
- /**
43
- * Text for the save button
44
- * @default "Save Preferences"
45
- */
46
- saveButtonText?: string;
47
- /**
48
- * Text for the reset button
49
- * @default "Reset to Defaults"
50
- */
51
- resetButtonText?: string;
52
- /**
53
- * Version of the consent form
54
- * @default "1.0"
55
- */
56
- version?: string;
57
- /**
58
- * Custom CSS class for the manager
59
- */
60
- className?: string;
61
- /**
62
- * Custom CSS class for the buttons
63
- */
64
- buttonClassName?: string;
65
- /**
66
- * Custom CSS class for the primary button
67
- */
68
- primaryButtonClassName?: string;
69
- /**
70
- * Custom CSS class for the secondary button
71
- */
72
- secondaryButtonClassName?: string;
73
- /**
74
- * Object of CSS class overrides keyed by semantic section name.
75
- * Takes priority over buttonClassName / primaryButtonClassName / secondaryButtonClassName.
76
- */
77
- classNames?: ConsentManagerClassNames;
78
- /**
79
- * When true, all default Tailwind classes are removed so consumers
80
- * can style from scratch using classNames.
81
- */
82
- unstyled?: boolean;
83
- /**
84
- * Whether to show a success message after saving
85
- * @default true
86
- */
87
- showSuccessMessage?: boolean;
88
- /**
89
- * Success message to display after saving
90
- * @default "Your preferences have been saved."
91
- */
92
- successMessage?: string;
93
- /**
94
- * Duration to show the success message (in milliseconds)
95
- * @default 3000
96
- */
97
- successMessageDuration?: number;
98
- }
99
- /**
100
- * Consent management component. Implements NDPA Sections 25-26 consent requirements,
101
- * allowing data subjects to review and update their consent preferences.
102
- */
103
- declare const ConsentManager: React__default.FC<ConsentManagerProps>;
104
-
105
- export { ConsentManager as C, type ConsentManagerClassNames as a, type ConsentManagerProps as b };
@@ -1,90 +0,0 @@
1
- import React__default from 'react';
2
- import { a as CrossBorderTransfer, C as CrossBorderSummary } from './cross-border-UyT00llA.js';
3
-
4
- interface CrossBorderTransferManagerClassNames {
5
- root?: string;
6
- header?: string;
7
- title?: string;
8
- summary?: string;
9
- summaryCard?: string;
10
- transferList?: string;
11
- transferItem?: string;
12
- form?: string;
13
- input?: string;
14
- select?: string;
15
- submitButton?: string;
16
- /** Alias for submitButton */
17
- primaryButton?: string;
18
- riskBadge?: string;
19
- statusBadge?: string;
20
- detailPanel?: string;
21
- approvalStatus?: string;
22
- }
23
- interface CrossBorderTransferManagerProps {
24
- /**
25
- * List of cross-border transfers to display
26
- */
27
- transfers: CrossBorderTransfer[];
28
- /**
29
- * Callback when a new transfer is added
30
- */
31
- onAddTransfer?: (transfer: Omit<CrossBorderTransfer, 'id' | 'createdAt' | 'updatedAt'>) => void;
32
- /**
33
- * Callback when a transfer is updated
34
- */
35
- onUpdateTransfer?: (id: string, updates: Partial<CrossBorderTransfer>) => void;
36
- /**
37
- * Callback when a transfer is removed
38
- */
39
- onRemoveTransfer?: (id: string) => void;
40
- /**
41
- * Compliance summary data
42
- */
43
- summary?: CrossBorderSummary;
44
- /**
45
- * Title displayed on the manager
46
- * @default "Cross-Border Data Transfer Manager"
47
- */
48
- title?: string;
49
- /**
50
- * Description text displayed on the manager
51
- * @default "Manage and document cross-border personal data transfers in compliance with NDPA 2023 Part VI (Sections 41-45)."
52
- */
53
- description?: string;
54
- /**
55
- * Custom CSS class for the manager container
56
- */
57
- className?: string;
58
- /**
59
- * Custom CSS class for buttons
60
- */
61
- buttonClassName?: string;
62
- /**
63
- * Whether to show the compliance summary section
64
- * @default true
65
- */
66
- showSummary?: boolean;
67
- /**
68
- * Whether to show the TIA section in the form
69
- * @default true
70
- */
71
- showTIA?: boolean;
72
- /**
73
- * Override class names for individual sections of the component.
74
- * Takes priority over className / buttonClassName.
75
- */
76
- classNames?: CrossBorderTransferManagerClassNames;
77
- /**
78
- * When true, all default styling is removed so consumers
79
- * can style from scratch using classNames.
80
- */
81
- unstyled?: boolean;
82
- }
83
- /**
84
- * Cross-border data transfer management component. Implements NDPA Sections 41-45 requirements
85
- * for managing international data transfers, including adequacy decisions, standard contractual
86
- * clauses, and NDPC authorization.
87
- */
88
- declare const CrossBorderTransferManager: React__default.FC<CrossBorderTransferManagerProps>;
89
-
90
- export { CrossBorderTransferManager as C, type CrossBorderTransferManagerClassNames as a, type CrossBorderTransferManagerProps as b };
@@ -1,90 +0,0 @@
1
- import React__default from 'react';
2
- import { a as CrossBorderTransfer, C as CrossBorderSummary } from './cross-border-UyT00llA.mjs';
3
-
4
- interface CrossBorderTransferManagerClassNames {
5
- root?: string;
6
- header?: string;
7
- title?: string;
8
- summary?: string;
9
- summaryCard?: string;
10
- transferList?: string;
11
- transferItem?: string;
12
- form?: string;
13
- input?: string;
14
- select?: string;
15
- submitButton?: string;
16
- /** Alias for submitButton */
17
- primaryButton?: string;
18
- riskBadge?: string;
19
- statusBadge?: string;
20
- detailPanel?: string;
21
- approvalStatus?: string;
22
- }
23
- interface CrossBorderTransferManagerProps {
24
- /**
25
- * List of cross-border transfers to display
26
- */
27
- transfers: CrossBorderTransfer[];
28
- /**
29
- * Callback when a new transfer is added
30
- */
31
- onAddTransfer?: (transfer: Omit<CrossBorderTransfer, 'id' | 'createdAt' | 'updatedAt'>) => void;
32
- /**
33
- * Callback when a transfer is updated
34
- */
35
- onUpdateTransfer?: (id: string, updates: Partial<CrossBorderTransfer>) => void;
36
- /**
37
- * Callback when a transfer is removed
38
- */
39
- onRemoveTransfer?: (id: string) => void;
40
- /**
41
- * Compliance summary data
42
- */
43
- summary?: CrossBorderSummary;
44
- /**
45
- * Title displayed on the manager
46
- * @default "Cross-Border Data Transfer Manager"
47
- */
48
- title?: string;
49
- /**
50
- * Description text displayed on the manager
51
- * @default "Manage and document cross-border personal data transfers in compliance with NDPA 2023 Part VI (Sections 41-45)."
52
- */
53
- description?: string;
54
- /**
55
- * Custom CSS class for the manager container
56
- */
57
- className?: string;
58
- /**
59
- * Custom CSS class for buttons
60
- */
61
- buttonClassName?: string;
62
- /**
63
- * Whether to show the compliance summary section
64
- * @default true
65
- */
66
- showSummary?: boolean;
67
- /**
68
- * Whether to show the TIA section in the form
69
- * @default true
70
- */
71
- showTIA?: boolean;
72
- /**
73
- * Override class names for individual sections of the component.
74
- * Takes priority over className / buttonClassName.
75
- */
76
- classNames?: CrossBorderTransferManagerClassNames;
77
- /**
78
- * When true, all default styling is removed so consumers
79
- * can style from scratch using classNames.
80
- */
81
- unstyled?: boolean;
82
- }
83
- /**
84
- * Cross-border data transfer management component. Implements NDPA Sections 41-45 requirements
85
- * for managing international data transfers, including adequacy decisions, standard contractual
86
- * clauses, and NDPC authorization.
87
- */
88
- declare const CrossBorderTransferManager: React__default.FC<CrossBorderTransferManagerProps>;
89
-
90
- export { CrossBorderTransferManager as C, type CrossBorderTransferManagerClassNames as a, type CrossBorderTransferManagerProps as b };
@@ -1,123 +0,0 @@
1
- import React__default from 'react';
2
- import { c as DPIASection } from './dpia-c9GiiOq0.js';
3
-
4
- interface DPIAQuestionnaireClassNames {
5
- /** Outermost wrapper */
6
- root?: string;
7
- /** Header area containing progress indicator */
8
- header?: string;
9
- /** Section title */
10
- title?: string;
11
- /** Section container */
12
- section?: string;
13
- /** Section title heading */
14
- sectionTitle?: string;
15
- /** Individual question wrapper */
16
- question?: string;
17
- /** Question label text */
18
- questionText?: string;
19
- /** Guidance / help text below a question */
20
- guidance?: string;
21
- /** Text / textarea / select inputs */
22
- input?: string;
23
- /** Radio option group container */
24
- radioGroup?: string;
25
- /** Individual radio option row */
26
- radioOption?: string;
27
- /** Navigation button container */
28
- navigation?: string;
29
- /** Next / submit button */
30
- nextButton?: string;
31
- /** Previous button */
32
- prevButton?: string;
33
- /** Alias for nextButton */
34
- primaryButton?: string;
35
- /** Alias for prevButton */
36
- secondaryButton?: string;
37
- /** Progress bar wrapper */
38
- progressBar?: string;
39
- }
40
- interface DPIAQuestionnaireProps {
41
- /**
42
- * Sections of the DPIA questionnaire
43
- */
44
- sections: DPIASection[];
45
- /**
46
- * Current answers to the questionnaire
47
- */
48
- answers: Record<string, string | number | boolean | string[]>;
49
- /**
50
- * Callback function called when an answer is updated
51
- */
52
- onAnswerChange: (questionId: string, value: string | number | boolean | string[]) => void;
53
- /**
54
- * Current section index
55
- */
56
- currentSectionIndex: number;
57
- /**
58
- * Callback function called when user navigates to the next section
59
- */
60
- onNextSection?: () => void;
61
- /**
62
- * Callback function called when user navigates to the previous section
63
- */
64
- onPrevSection?: () => void;
65
- /**
66
- * Validation errors for the current section
67
- */
68
- validationErrors?: Record<string, string>;
69
- /**
70
- * Whether the questionnaire is in read-only mode
71
- * @default false
72
- */
73
- readOnly?: boolean;
74
- /**
75
- * Custom CSS class for the questionnaire
76
- */
77
- className?: string;
78
- /**
79
- * Custom CSS class for the buttons
80
- */
81
- buttonClassName?: string;
82
- /**
83
- * Text for the next button
84
- * @default "Next"
85
- */
86
- nextButtonText?: string;
87
- /**
88
- * Text for the previous button
89
- * @default "Previous"
90
- */
91
- prevButtonText?: string;
92
- /**
93
- * Text for the submit button (shown on the last section)
94
- * @default "Submit"
95
- */
96
- submitButtonText?: string;
97
- /**
98
- * Whether to show a progress indicator
99
- * @default true
100
- */
101
- showProgress?: boolean;
102
- /**
103
- * Current progress percentage (0-100)
104
- */
105
- progress?: number;
106
- /**
107
- * Per-section class name overrides
108
- */
109
- classNames?: DPIAQuestionnaireClassNames;
110
- /**
111
- * When true, all default classes are stripped.
112
- * Only explicit overrides from `classNames` are applied.
113
- * @default false
114
- */
115
- unstyled?: boolean;
116
- }
117
- /**
118
- * DPIA questionnaire component. Implements NDPA Section 38 requirements
119
- * for conducting Data Protection Impact Assessments on high-risk processing activities.
120
- */
121
- declare const DPIAQuestionnaire: React__default.FC<DPIAQuestionnaireProps>;
122
-
123
- export { DPIAQuestionnaire as D, type DPIAQuestionnaireClassNames as a, type DPIAQuestionnaireProps as b };
@@ -1,123 +0,0 @@
1
- import React__default from 'react';
2
- import { c as DPIASection } from './dpia-c9GiiOq0.mjs';
3
-
4
- interface DPIAQuestionnaireClassNames {
5
- /** Outermost wrapper */
6
- root?: string;
7
- /** Header area containing progress indicator */
8
- header?: string;
9
- /** Section title */
10
- title?: string;
11
- /** Section container */
12
- section?: string;
13
- /** Section title heading */
14
- sectionTitle?: string;
15
- /** Individual question wrapper */
16
- question?: string;
17
- /** Question label text */
18
- questionText?: string;
19
- /** Guidance / help text below a question */
20
- guidance?: string;
21
- /** Text / textarea / select inputs */
22
- input?: string;
23
- /** Radio option group container */
24
- radioGroup?: string;
25
- /** Individual radio option row */
26
- radioOption?: string;
27
- /** Navigation button container */
28
- navigation?: string;
29
- /** Next / submit button */
30
- nextButton?: string;
31
- /** Previous button */
32
- prevButton?: string;
33
- /** Alias for nextButton */
34
- primaryButton?: string;
35
- /** Alias for prevButton */
36
- secondaryButton?: string;
37
- /** Progress bar wrapper */
38
- progressBar?: string;
39
- }
40
- interface DPIAQuestionnaireProps {
41
- /**
42
- * Sections of the DPIA questionnaire
43
- */
44
- sections: DPIASection[];
45
- /**
46
- * Current answers to the questionnaire
47
- */
48
- answers: Record<string, string | number | boolean | string[]>;
49
- /**
50
- * Callback function called when an answer is updated
51
- */
52
- onAnswerChange: (questionId: string, value: string | number | boolean | string[]) => void;
53
- /**
54
- * Current section index
55
- */
56
- currentSectionIndex: number;
57
- /**
58
- * Callback function called when user navigates to the next section
59
- */
60
- onNextSection?: () => void;
61
- /**
62
- * Callback function called when user navigates to the previous section
63
- */
64
- onPrevSection?: () => void;
65
- /**
66
- * Validation errors for the current section
67
- */
68
- validationErrors?: Record<string, string>;
69
- /**
70
- * Whether the questionnaire is in read-only mode
71
- * @default false
72
- */
73
- readOnly?: boolean;
74
- /**
75
- * Custom CSS class for the questionnaire
76
- */
77
- className?: string;
78
- /**
79
- * Custom CSS class for the buttons
80
- */
81
- buttonClassName?: string;
82
- /**
83
- * Text for the next button
84
- * @default "Next"
85
- */
86
- nextButtonText?: string;
87
- /**
88
- * Text for the previous button
89
- * @default "Previous"
90
- */
91
- prevButtonText?: string;
92
- /**
93
- * Text for the submit button (shown on the last section)
94
- * @default "Submit"
95
- */
96
- submitButtonText?: string;
97
- /**
98
- * Whether to show a progress indicator
99
- * @default true
100
- */
101
- showProgress?: boolean;
102
- /**
103
- * Current progress percentage (0-100)
104
- */
105
- progress?: number;
106
- /**
107
- * Per-section class name overrides
108
- */
109
- classNames?: DPIAQuestionnaireClassNames;
110
- /**
111
- * When true, all default classes are stripped.
112
- * Only explicit overrides from `classNames` are applied.
113
- * @default false
114
- */
115
- unstyled?: boolean;
116
- }
117
- /**
118
- * DPIA questionnaire component. Implements NDPA Section 38 requirements
119
- * for conducting Data Protection Impact Assessments on high-risk processing activities.
120
- */
121
- declare const DPIAQuestionnaire: React__default.FC<DPIAQuestionnaireProps>;
122
-
123
- export { DPIAQuestionnaire as D, type DPIAQuestionnaireClassNames as a, type DPIAQuestionnaireProps as b };