@tantainnovative/ndpr-toolkit 2.1.2 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -0
- package/dist/{breach-6z0r-KuE.d.mts → breach-B_-6lDqS.d.mts} +1 -1
- package/dist/{breach-BFfnvtRk.d.ts → breach-CzXqSsaY.d.ts} +1 -1
- package/dist/{breach-BtFbDOmV.d.mts → breach-Eu9byel8.d.mts} +1 -1
- package/dist/{breach-BtFbDOmV.d.ts → breach-Eu9byel8.d.ts} +1 -1
- package/dist/breach.d.mts +81 -5
- package/dist/breach.d.ts +81 -5
- package/dist/breach.js +1 -1
- package/dist/breach.mjs +1 -1
- package/dist/chunk-4RGDNVR5.mjs +72 -0
- package/dist/chunk-6LM3RAFO.js +7 -0
- package/dist/chunk-7DNQSOER.js +2 -0
- package/dist/chunk-A7DRHSDQ.mjs +2 -0
- package/dist/chunk-FC6EG34C.js +72 -0
- package/dist/chunk-FDB6KZUD.mjs +2 -0
- package/dist/chunk-FZUCKGIM.mjs +7 -0
- package/dist/chunk-G3JNFZPT.js +2 -0
- package/dist/chunk-HXCRMA4J.mjs +2 -0
- package/dist/chunk-IC7VOOKJ.mjs +2 -0
- package/dist/chunk-ICUZG6CD.mjs +2 -0
- package/dist/chunk-IW5PHOG7.mjs +7 -0
- package/dist/chunk-JKEAPTYP.js +7 -0
- package/dist/chunk-N52S64SU.js +2 -0
- package/dist/chunk-SKAMVXBI.mjs +94 -0
- package/dist/chunk-VURIXCGY.js +2 -0
- package/dist/chunk-VXRY3V42.js +94 -0
- package/dist/chunk-YBPHGEL2.js +2 -0
- package/dist/consent.d.mts +68 -2
- package/dist/consent.d.ts +68 -2
- package/dist/consent.js +1 -1
- package/dist/consent.mjs +1 -1
- package/dist/core.d.mts +10 -10
- package/dist/core.d.ts +10 -10
- package/dist/{cross-border-BrIy1ieh.d.ts → cross-border-BMcqLvjC.d.mts} +1 -1
- package/dist/{cross-border-BrIy1ieh.d.mts → cross-border-BMcqLvjC.d.ts} +1 -1
- package/dist/cross-border-entry-BfF7jw5o.d.mts +84 -0
- package/dist/cross-border-entry-CtX8_o-_.d.ts +84 -0
- package/dist/cross-border.d.mts +4 -58
- package/dist/cross-border.d.ts +4 -58
- package/dist/cross-border.js +1 -1
- package/dist/cross-border.mjs +1 -1
- package/dist/{dpia-vWfE_9bO.d.mts → dpia-5OQVA1R_.d.mts} +1 -1
- package/dist/{dpia-vWfE_9bO.d.ts → dpia-5OQVA1R_.d.ts} +1 -1
- package/dist/{dpia-fdtTd2DI.d.ts → dpia-B0Pok5us.d.ts} +1 -1
- package/dist/{dpia-B9ZZJG5a.d.mts → dpia-CUfOmzvX.d.mts} +1 -1
- package/dist/dpia.d.mts +105 -5
- package/dist/dpia.d.ts +105 -5
- package/dist/dpia.js +1 -1
- package/dist/dpia.mjs +1 -1
- package/dist/{dsr-pQzQ3H1O.d.mts → dsr-Cm9lzWG7.d.mts} +1 -1
- package/dist/{dsr-pQzQ3H1O.d.ts → dsr-Cm9lzWG7.d.ts} +1 -1
- package/dist/{dsr-whPkiI0_.d.mts → dsr-D_eTNc4S.d.mts} +1 -1
- package/dist/{dsr-jq5NUEdz.d.ts → dsr-pNtVb1BK.d.ts} +1 -1
- package/dist/dsr.d.mts +66 -5
- package/dist/dsr.d.ts +66 -5
- package/dist/dsr.js +1 -1
- package/dist/dsr.mjs +1 -1
- package/dist/hooks.d.mts +13 -13
- package/dist/hooks.d.ts +13 -13
- package/dist/index.d.mts +24 -24
- package/dist/index.d.ts +24 -24
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{lawful-basis-v04AhbK2.d.ts → lawful-basis-BEyI0kGg.d.ts} +2 -2
- package/dist/{lawful-basis-D-oXFizg.d.mts → lawful-basis-C2eGaoHM.d.mts} +2 -2
- package/dist/{lawful-basis-CWtvDG1x.d.mts → lawful-basis-Cv1VmDLn.d.mts} +1 -1
- package/dist/{lawful-basis-CWtvDG1x.d.ts → lawful-basis-Cv1VmDLn.d.ts} +1 -1
- package/dist/lawful-basis-entry-BeSX7u0U.d.ts +81 -0
- package/dist/lawful-basis-entry-CMPPM9Rh.d.mts +81 -0
- package/dist/lawful-basis.d.mts +5 -55
- package/dist/lawful-basis.d.ts +5 -55
- package/dist/lawful-basis.js +1 -1
- package/dist/lawful-basis.mjs +1 -1
- package/dist/policy-dmsRlqgM.d.ts +283 -0
- package/dist/policy-kZN23hrR.d.mts +283 -0
- package/dist/policy.d.mts +3 -193
- package/dist/policy.d.ts +3 -193
- package/dist/policy.js +1 -1
- package/dist/policy.mjs +1 -1
- package/dist/{ropa-Rb4dsFSz.d.mts → ropa-DP7pPPql.d.mts} +2 -2
- package/dist/{ropa-BebGfqKQ.d.ts → ropa-Li6UlL5H.d.ts} +2 -2
- package/dist/ropa-entry-CZJ91ymk.d.mts +71 -0
- package/dist/ropa-entry-DIEQ9WFs.d.ts +71 -0
- package/dist/ropa.d.mts +5 -45
- package/dist/ropa.d.ts +5 -45
- package/dist/ropa.js +1 -1
- package/dist/ropa.mjs +1 -1
- package/dist/unstyled.js +1 -1
- package/dist/unstyled.mjs +1 -1
- package/dist/{useBreach-WrZzJilM.d.mts → useBreach-BBSoIcZO.d.mts} +1 -1
- package/dist/{useBreach-vrh_XMpI.d.ts → useBreach-lFLbSyAN.d.ts} +1 -1
- package/dist/{useCrossBorderTransfer-TVnY8_UX.d.mts → useCrossBorderTransfer-BZVFCXfr.d.mts} +1 -1
- package/dist/{useCrossBorderTransfer-D4FQYfFt.d.ts → useCrossBorderTransfer-DmtACeqW.d.ts} +1 -1
- package/dist/{useDPIA-DFDHBLSa.d.ts → useDPIA-DBsg2yZx.d.ts} +1 -1
- package/dist/{useDPIA-FqPofFaV.d.mts → useDPIA-Da7-Q_yW.d.mts} +1 -1
- package/dist/{useDSR-DAqqOBXb.d.ts → useDSR-CYI7WCXr.d.ts} +1 -1
- package/dist/{useDSR-OXM5Q9rf.d.mts → useDSR-YYZ6FYFs.d.mts} +1 -1
- package/dist/{useLawfulBasis-RILM_xsx.d.ts → useLawfulBasis-CCWF9waR.d.ts} +2 -2
- package/dist/{useLawfulBasis-DNQ8YszQ.d.mts → useLawfulBasis-CpWuHtyh.d.mts} +2 -2
- package/dist/{useROPA-Bcs6cRdi.d.ts → useROPA-BhJ3kvHp.d.ts} +1 -1
- package/dist/{useROPA-nmcSiUYv.d.mts → useROPA-DLFdjkxP.d.mts} +1 -1
- package/package.json +22 -15
- package/dist/chunk-2XHD22J7.mjs +0 -7
- package/dist/chunk-4DKT6IB6.js +0 -94
- package/dist/chunk-6JFTAYXV.mjs +0 -2
- package/dist/chunk-6JVYYLS7.js +0 -2
- package/dist/chunk-6SGG6WPA.mjs +0 -2
- package/dist/chunk-AQEGDEQM.js +0 -7
- package/dist/chunk-C2IJWCZQ.mjs +0 -2
- package/dist/chunk-FFW7RUAG.mjs +0 -94
- package/dist/chunk-FK3CSFLJ.js +0 -2
- package/dist/chunk-JUN6YPLL.mjs +0 -72
- package/dist/chunk-L3FKTBGV.js +0 -72
- package/dist/chunk-RB26MIRI.js +0 -2
- package/dist/chunk-RHWW5FDP.js +0 -16
- package/dist/chunk-SLNMKGQ2.mjs +0 -2
- package/dist/chunk-UUWVBENC.js +0 -2
- package/dist/chunk-XMKA6GVK.mjs +0 -16
package/dist/policy.d.mts
CHANGED
|
@@ -1,195 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { P as PolicySection, b as PolicyVariable } from './privacy-Ca6te9Ir.mjs';
|
|
3
|
-
export { O as OrganizationInfo, a as PolicyTemplate, c as PrivacyPolicy } from './privacy-Ca6te9Ir.mjs';
|
|
1
|
+
export { P as PolicyExporter, b as PolicyGenerator, d as PolicyPreview } from './policy-kZN23hrR.mjs';
|
|
4
2
|
export { u as usePrivacyPolicy } from './usePrivacyPolicy-Dit2sFuV.mjs';
|
|
5
3
|
export { g as generatePolicyText } from './privacy-9FcJceMr.mjs';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* List of policy sections
|
|
10
|
-
*/
|
|
11
|
-
sections: PolicySection[];
|
|
12
|
-
/**
|
|
13
|
-
* List of policy variables
|
|
14
|
-
*/
|
|
15
|
-
variables: PolicyVariable[];
|
|
16
|
-
/**
|
|
17
|
-
* Callback function called when the policy is generated
|
|
18
|
-
*/
|
|
19
|
-
onGenerate: (policy: {
|
|
20
|
-
sections: PolicySection[];
|
|
21
|
-
variables: PolicyVariable[];
|
|
22
|
-
content: string;
|
|
23
|
-
}) => void;
|
|
24
|
-
/**
|
|
25
|
-
* Title displayed on the generator
|
|
26
|
-
* @default "NDPA Privacy Policy Generator"
|
|
27
|
-
*/
|
|
28
|
-
title?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Description text displayed on the generator
|
|
31
|
-
* @default "Generate an NDPA-compliant privacy policy for your organization."
|
|
32
|
-
*/
|
|
33
|
-
description?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Custom CSS class for the generator
|
|
36
|
-
*/
|
|
37
|
-
className?: string;
|
|
38
|
-
/**
|
|
39
|
-
* Custom CSS class for the buttons
|
|
40
|
-
*/
|
|
41
|
-
buttonClassName?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Text for the generate button
|
|
44
|
-
* @default "Generate Policy"
|
|
45
|
-
*/
|
|
46
|
-
generateButtonText?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Whether to show a preview of the generated policy
|
|
49
|
-
* @default true
|
|
50
|
-
*/
|
|
51
|
-
showPreview?: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Whether to allow editing the policy content
|
|
54
|
-
* @default true
|
|
55
|
-
*/
|
|
56
|
-
allowEditing?: boolean;
|
|
57
|
-
}
|
|
58
|
-
declare const PolicyGenerator: React.FC<PolicyGeneratorProps>;
|
|
59
|
-
|
|
60
|
-
interface PolicyPreviewProps {
|
|
61
|
-
/**
|
|
62
|
-
* The policy content to preview
|
|
63
|
-
*/
|
|
64
|
-
content: string;
|
|
65
|
-
/**
|
|
66
|
-
* The policy sections
|
|
67
|
-
*/
|
|
68
|
-
sections?: PolicySection[];
|
|
69
|
-
/**
|
|
70
|
-
* The policy variables
|
|
71
|
-
*/
|
|
72
|
-
variables?: PolicyVariable[];
|
|
73
|
-
/**
|
|
74
|
-
* Callback function called when the policy is exported
|
|
75
|
-
*/
|
|
76
|
-
onExport?: (format: 'pdf' | 'html' | 'markdown' | 'docx') => void;
|
|
77
|
-
/**
|
|
78
|
-
* Callback function called when the policy is edited
|
|
79
|
-
*/
|
|
80
|
-
onEdit?: () => void;
|
|
81
|
-
/**
|
|
82
|
-
* Title displayed on the preview
|
|
83
|
-
* @default "Privacy Policy Preview"
|
|
84
|
-
*/
|
|
85
|
-
title?: string;
|
|
86
|
-
/**
|
|
87
|
-
* Description text displayed on the preview
|
|
88
|
-
* @default "Preview your NDPA-compliant privacy policy before exporting."
|
|
89
|
-
*/
|
|
90
|
-
description?: string;
|
|
91
|
-
/**
|
|
92
|
-
* Custom CSS class for the preview
|
|
93
|
-
*/
|
|
94
|
-
className?: string;
|
|
95
|
-
/**
|
|
96
|
-
* Custom CSS class for the buttons
|
|
97
|
-
*/
|
|
98
|
-
buttonClassName?: string;
|
|
99
|
-
/**
|
|
100
|
-
* Whether to show the export options
|
|
101
|
-
* @default true
|
|
102
|
-
*/
|
|
103
|
-
showExportOptions?: boolean;
|
|
104
|
-
/**
|
|
105
|
-
* Whether to show the edit button
|
|
106
|
-
* @default true
|
|
107
|
-
*/
|
|
108
|
-
showEditButton?: boolean;
|
|
109
|
-
/**
|
|
110
|
-
* Whether to show the table of contents
|
|
111
|
-
* @default true
|
|
112
|
-
*/
|
|
113
|
-
showTableOfContents?: boolean;
|
|
114
|
-
/**
|
|
115
|
-
* Whether to show the policy metadata
|
|
116
|
-
* @default true
|
|
117
|
-
*/
|
|
118
|
-
showMetadata?: boolean;
|
|
119
|
-
/**
|
|
120
|
-
* The organization name to display in the policy
|
|
121
|
-
*/
|
|
122
|
-
organizationName?: string;
|
|
123
|
-
/**
|
|
124
|
-
* The last updated date to display in the policy
|
|
125
|
-
*/
|
|
126
|
-
lastUpdated?: Date;
|
|
127
|
-
}
|
|
128
|
-
declare const PolicyPreview: React.FC<PolicyPreviewProps>;
|
|
129
|
-
|
|
130
|
-
interface PolicyExporterProps {
|
|
131
|
-
/**
|
|
132
|
-
* The policy content to export
|
|
133
|
-
*/
|
|
134
|
-
content: string;
|
|
135
|
-
/**
|
|
136
|
-
* The policy title
|
|
137
|
-
*/
|
|
138
|
-
title?: string;
|
|
139
|
-
/**
|
|
140
|
-
* The organization name to include in the exported policy
|
|
141
|
-
*/
|
|
142
|
-
organizationName?: string;
|
|
143
|
-
/**
|
|
144
|
-
* The last updated date to include in the exported policy
|
|
145
|
-
*/
|
|
146
|
-
lastUpdated?: Date;
|
|
147
|
-
/**
|
|
148
|
-
* Callback function called when the export is complete
|
|
149
|
-
*/
|
|
150
|
-
onExportComplete?: (format: string, url: string) => void;
|
|
151
|
-
/**
|
|
152
|
-
* Title displayed on the exporter
|
|
153
|
-
* @default "Export Privacy Policy"
|
|
154
|
-
*/
|
|
155
|
-
componentTitle?: string;
|
|
156
|
-
/**
|
|
157
|
-
* Description text displayed on the exporter
|
|
158
|
-
* @default "Export your NDPA-compliant privacy policy in various formats."
|
|
159
|
-
*/
|
|
160
|
-
description?: string;
|
|
161
|
-
/**
|
|
162
|
-
* Custom CSS class for the exporter
|
|
163
|
-
*/
|
|
164
|
-
className?: string;
|
|
165
|
-
/**
|
|
166
|
-
* Custom CSS class for the buttons
|
|
167
|
-
*/
|
|
168
|
-
buttonClassName?: string;
|
|
169
|
-
/**
|
|
170
|
-
* Whether to show the export history
|
|
171
|
-
* @default true
|
|
172
|
-
*/
|
|
173
|
-
showExportHistory?: boolean;
|
|
174
|
-
/**
|
|
175
|
-
* Whether to include the NDPA compliance notice in the exported policy
|
|
176
|
-
* @default true
|
|
177
|
-
*/
|
|
178
|
-
includeComplianceNotice?: boolean;
|
|
179
|
-
/**
|
|
180
|
-
* Whether to include the organization logo in the exported policy
|
|
181
|
-
* @default false
|
|
182
|
-
*/
|
|
183
|
-
includeLogo?: boolean;
|
|
184
|
-
/**
|
|
185
|
-
* URL of the organization logo
|
|
186
|
-
*/
|
|
187
|
-
logoUrl?: string;
|
|
188
|
-
/**
|
|
189
|
-
* Custom CSS styles for the exported policy
|
|
190
|
-
*/
|
|
191
|
-
customStyles?: string;
|
|
192
|
-
}
|
|
193
|
-
declare const PolicyExporter: React.FC<PolicyExporterProps>;
|
|
194
|
-
|
|
195
|
-
export { PolicyExporter, PolicyGenerator, PolicyPreview, PolicySection, PolicyVariable };
|
|
4
|
+
export { O as OrganizationInfo, P as PolicySection, a as PolicyTemplate, b as PolicyVariable, c as PrivacyPolicy } from './privacy-Ca6te9Ir.mjs';
|
|
5
|
+
import 'react';
|
package/dist/policy.d.ts
CHANGED
|
@@ -1,195 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { P as PolicySection, b as PolicyVariable } from './privacy-Ca6te9Ir.js';
|
|
3
|
-
export { O as OrganizationInfo, a as PolicyTemplate, c as PrivacyPolicy } from './privacy-Ca6te9Ir.js';
|
|
1
|
+
export { P as PolicyExporter, b as PolicyGenerator, d as PolicyPreview } from './policy-dmsRlqgM.js';
|
|
4
2
|
export { u as usePrivacyPolicy } from './usePrivacyPolicy-CfySfBLS.js';
|
|
5
3
|
export { g as generatePolicyText } from './privacy-BXz7O2ej.js';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* List of policy sections
|
|
10
|
-
*/
|
|
11
|
-
sections: PolicySection[];
|
|
12
|
-
/**
|
|
13
|
-
* List of policy variables
|
|
14
|
-
*/
|
|
15
|
-
variables: PolicyVariable[];
|
|
16
|
-
/**
|
|
17
|
-
* Callback function called when the policy is generated
|
|
18
|
-
*/
|
|
19
|
-
onGenerate: (policy: {
|
|
20
|
-
sections: PolicySection[];
|
|
21
|
-
variables: PolicyVariable[];
|
|
22
|
-
content: string;
|
|
23
|
-
}) => void;
|
|
24
|
-
/**
|
|
25
|
-
* Title displayed on the generator
|
|
26
|
-
* @default "NDPA Privacy Policy Generator"
|
|
27
|
-
*/
|
|
28
|
-
title?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Description text displayed on the generator
|
|
31
|
-
* @default "Generate an NDPA-compliant privacy policy for your organization."
|
|
32
|
-
*/
|
|
33
|
-
description?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Custom CSS class for the generator
|
|
36
|
-
*/
|
|
37
|
-
className?: string;
|
|
38
|
-
/**
|
|
39
|
-
* Custom CSS class for the buttons
|
|
40
|
-
*/
|
|
41
|
-
buttonClassName?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Text for the generate button
|
|
44
|
-
* @default "Generate Policy"
|
|
45
|
-
*/
|
|
46
|
-
generateButtonText?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Whether to show a preview of the generated policy
|
|
49
|
-
* @default true
|
|
50
|
-
*/
|
|
51
|
-
showPreview?: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Whether to allow editing the policy content
|
|
54
|
-
* @default true
|
|
55
|
-
*/
|
|
56
|
-
allowEditing?: boolean;
|
|
57
|
-
}
|
|
58
|
-
declare const PolicyGenerator: React.FC<PolicyGeneratorProps>;
|
|
59
|
-
|
|
60
|
-
interface PolicyPreviewProps {
|
|
61
|
-
/**
|
|
62
|
-
* The policy content to preview
|
|
63
|
-
*/
|
|
64
|
-
content: string;
|
|
65
|
-
/**
|
|
66
|
-
* The policy sections
|
|
67
|
-
*/
|
|
68
|
-
sections?: PolicySection[];
|
|
69
|
-
/**
|
|
70
|
-
* The policy variables
|
|
71
|
-
*/
|
|
72
|
-
variables?: PolicyVariable[];
|
|
73
|
-
/**
|
|
74
|
-
* Callback function called when the policy is exported
|
|
75
|
-
*/
|
|
76
|
-
onExport?: (format: 'pdf' | 'html' | 'markdown' | 'docx') => void;
|
|
77
|
-
/**
|
|
78
|
-
* Callback function called when the policy is edited
|
|
79
|
-
*/
|
|
80
|
-
onEdit?: () => void;
|
|
81
|
-
/**
|
|
82
|
-
* Title displayed on the preview
|
|
83
|
-
* @default "Privacy Policy Preview"
|
|
84
|
-
*/
|
|
85
|
-
title?: string;
|
|
86
|
-
/**
|
|
87
|
-
* Description text displayed on the preview
|
|
88
|
-
* @default "Preview your NDPA-compliant privacy policy before exporting."
|
|
89
|
-
*/
|
|
90
|
-
description?: string;
|
|
91
|
-
/**
|
|
92
|
-
* Custom CSS class for the preview
|
|
93
|
-
*/
|
|
94
|
-
className?: string;
|
|
95
|
-
/**
|
|
96
|
-
* Custom CSS class for the buttons
|
|
97
|
-
*/
|
|
98
|
-
buttonClassName?: string;
|
|
99
|
-
/**
|
|
100
|
-
* Whether to show the export options
|
|
101
|
-
* @default true
|
|
102
|
-
*/
|
|
103
|
-
showExportOptions?: boolean;
|
|
104
|
-
/**
|
|
105
|
-
* Whether to show the edit button
|
|
106
|
-
* @default true
|
|
107
|
-
*/
|
|
108
|
-
showEditButton?: boolean;
|
|
109
|
-
/**
|
|
110
|
-
* Whether to show the table of contents
|
|
111
|
-
* @default true
|
|
112
|
-
*/
|
|
113
|
-
showTableOfContents?: boolean;
|
|
114
|
-
/**
|
|
115
|
-
* Whether to show the policy metadata
|
|
116
|
-
* @default true
|
|
117
|
-
*/
|
|
118
|
-
showMetadata?: boolean;
|
|
119
|
-
/**
|
|
120
|
-
* The organization name to display in the policy
|
|
121
|
-
*/
|
|
122
|
-
organizationName?: string;
|
|
123
|
-
/**
|
|
124
|
-
* The last updated date to display in the policy
|
|
125
|
-
*/
|
|
126
|
-
lastUpdated?: Date;
|
|
127
|
-
}
|
|
128
|
-
declare const PolicyPreview: React.FC<PolicyPreviewProps>;
|
|
129
|
-
|
|
130
|
-
interface PolicyExporterProps {
|
|
131
|
-
/**
|
|
132
|
-
* The policy content to export
|
|
133
|
-
*/
|
|
134
|
-
content: string;
|
|
135
|
-
/**
|
|
136
|
-
* The policy title
|
|
137
|
-
*/
|
|
138
|
-
title?: string;
|
|
139
|
-
/**
|
|
140
|
-
* The organization name to include in the exported policy
|
|
141
|
-
*/
|
|
142
|
-
organizationName?: string;
|
|
143
|
-
/**
|
|
144
|
-
* The last updated date to include in the exported policy
|
|
145
|
-
*/
|
|
146
|
-
lastUpdated?: Date;
|
|
147
|
-
/**
|
|
148
|
-
* Callback function called when the export is complete
|
|
149
|
-
*/
|
|
150
|
-
onExportComplete?: (format: string, url: string) => void;
|
|
151
|
-
/**
|
|
152
|
-
* Title displayed on the exporter
|
|
153
|
-
* @default "Export Privacy Policy"
|
|
154
|
-
*/
|
|
155
|
-
componentTitle?: string;
|
|
156
|
-
/**
|
|
157
|
-
* Description text displayed on the exporter
|
|
158
|
-
* @default "Export your NDPA-compliant privacy policy in various formats."
|
|
159
|
-
*/
|
|
160
|
-
description?: string;
|
|
161
|
-
/**
|
|
162
|
-
* Custom CSS class for the exporter
|
|
163
|
-
*/
|
|
164
|
-
className?: string;
|
|
165
|
-
/**
|
|
166
|
-
* Custom CSS class for the buttons
|
|
167
|
-
*/
|
|
168
|
-
buttonClassName?: string;
|
|
169
|
-
/**
|
|
170
|
-
* Whether to show the export history
|
|
171
|
-
* @default true
|
|
172
|
-
*/
|
|
173
|
-
showExportHistory?: boolean;
|
|
174
|
-
/**
|
|
175
|
-
* Whether to include the NDPA compliance notice in the exported policy
|
|
176
|
-
* @default true
|
|
177
|
-
*/
|
|
178
|
-
includeComplianceNotice?: boolean;
|
|
179
|
-
/**
|
|
180
|
-
* Whether to include the organization logo in the exported policy
|
|
181
|
-
* @default false
|
|
182
|
-
*/
|
|
183
|
-
includeLogo?: boolean;
|
|
184
|
-
/**
|
|
185
|
-
* URL of the organization logo
|
|
186
|
-
*/
|
|
187
|
-
logoUrl?: string;
|
|
188
|
-
/**
|
|
189
|
-
* Custom CSS styles for the exported policy
|
|
190
|
-
*/
|
|
191
|
-
customStyles?: string;
|
|
192
|
-
}
|
|
193
|
-
declare const PolicyExporter: React.FC<PolicyExporterProps>;
|
|
194
|
-
|
|
195
|
-
export { PolicyExporter, PolicyGenerator, PolicyPreview, PolicySection, PolicyVariable };
|
|
4
|
+
export { O as OrganizationInfo, P as PolicySection, a as PolicyTemplate, b as PolicyVariable, c as PrivacyPolicy } from './privacy-Ca6te9Ir.js';
|
|
5
|
+
import 'react';
|
package/dist/policy.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkVXRY3V42_js=require('./chunk-VXRY3V42.js'),chunkIWUUVRLJ_js=require('./chunk-IWUUVRLJ.js'),chunkPM7CMTMB_js=require('./chunk-PM7CMTMB.js');require('./chunk-VURIXCGY.js'),require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"PolicyExporter",{enumerable:true,get:function(){return chunkVXRY3V42_js.c}});Object.defineProperty(exports,"PolicyGenerator",{enumerable:true,get:function(){return chunkVXRY3V42_js.a}});Object.defineProperty(exports,"PolicyPreview",{enumerable:true,get:function(){return chunkVXRY3V42_js.b}});Object.defineProperty(exports,"usePrivacyPolicy",{enumerable:true,get:function(){return chunkIWUUVRLJ_js.a}});Object.defineProperty(exports,"generatePolicyText",{enumerable:true,get:function(){return chunkPM7CMTMB_js.a}});//# sourceMappingURL=policy.js.map
|
|
2
2
|
//# sourceMappingURL=policy.js.map
|
package/dist/policy.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{c as PolicyExporter,a as PolicyGenerator,b as PolicyPreview}from'./chunk-
|
|
1
|
+
export{c as PolicyExporter,a as PolicyGenerator,b as PolicyPreview}from'./chunk-SKAMVXBI.mjs';export{a as usePrivacyPolicy}from'./chunk-DB3JH4DS.mjs';export{a as generatePolicyText}from'./chunk-UYP64PV7.mjs';import'./chunk-FDB6KZUD.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=policy.mjs.map
|
|
2
2
|
//# sourceMappingURL=policy.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as LawfulBasis } from './lawful-basis-
|
|
1
|
+
import { L as LawfulBasis } from './lawful-basis-Cv1VmDLn.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Record of Processing Activities (ROPA) types aligned with NDPA 2023
|
|
@@ -197,4 +197,4 @@ declare function exportROPAToCSV(ropa: RecordOfProcessingActivities): string;
|
|
|
197
197
|
*/
|
|
198
198
|
declare function identifyComplianceGaps(ropa: RecordOfProcessingActivities): ROPAComplianceGap[];
|
|
199
199
|
|
|
200
|
-
export { type ProcessingRecord as P, type
|
|
200
|
+
export { type ProcessingRecord as P, type ROPAComplianceGap as R, type ROPASummary as a, type ROPAValidationResult as b, type RecordOfProcessingActivities as c, exportROPAToCSV as e, generateROPASummary as g, identifyComplianceGaps as i, validateProcessingRecord as v };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as LawfulBasis } from './lawful-basis-
|
|
1
|
+
import { L as LawfulBasis } from './lawful-basis-Cv1VmDLn.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Record of Processing Activities (ROPA) types aligned with NDPA 2023
|
|
@@ -197,4 +197,4 @@ declare function exportROPAToCSV(ropa: RecordOfProcessingActivities): string;
|
|
|
197
197
|
*/
|
|
198
198
|
declare function identifyComplianceGaps(ropa: RecordOfProcessingActivities): ROPAComplianceGap[];
|
|
199
199
|
|
|
200
|
-
export { type ProcessingRecord as P, type
|
|
200
|
+
export { type ProcessingRecord as P, type ROPAComplianceGap as R, type ROPASummary as a, type ROPAValidationResult as b, type RecordOfProcessingActivities as c, exportROPAToCSV as e, generateROPASummary as g, identifyComplianceGaps as i, validateProcessingRecord as v };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { c as RecordOfProcessingActivities, P as ProcessingRecord } from './ropa-DP7pPPql.mjs';
|
|
3
|
+
import './useROPA-DLFdjkxP.mjs';
|
|
4
|
+
|
|
5
|
+
interface ROPAManagerClassNames {
|
|
6
|
+
root?: string;
|
|
7
|
+
header?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
orgInfo?: string;
|
|
10
|
+
summary?: string;
|
|
11
|
+
summaryCard?: string;
|
|
12
|
+
table?: string;
|
|
13
|
+
tableHeader?: string;
|
|
14
|
+
tableRow?: string;
|
|
15
|
+
form?: string;
|
|
16
|
+
input?: string;
|
|
17
|
+
select?: string;
|
|
18
|
+
submitButton?: string;
|
|
19
|
+
statusBadge?: string;
|
|
20
|
+
exportButton?: string;
|
|
21
|
+
complianceGap?: string;
|
|
22
|
+
}
|
|
23
|
+
interface ROPAManagerProps {
|
|
24
|
+
/**
|
|
25
|
+
* The full Record of Processing Activities
|
|
26
|
+
*/
|
|
27
|
+
ropa: RecordOfProcessingActivities;
|
|
28
|
+
/**
|
|
29
|
+
* Callback when a new record is added
|
|
30
|
+
*/
|
|
31
|
+
onAddRecord?: (record: ProcessingRecord) => void;
|
|
32
|
+
/**
|
|
33
|
+
* Callback when a record is updated
|
|
34
|
+
*/
|
|
35
|
+
onUpdateRecord?: (id: string, updates: Partial<ProcessingRecord>) => void;
|
|
36
|
+
/**
|
|
37
|
+
* Callback when a record is archived
|
|
38
|
+
*/
|
|
39
|
+
onArchiveRecord?: (id: string) => void;
|
|
40
|
+
/**
|
|
41
|
+
* Title displayed on the manager
|
|
42
|
+
* @default "Record of Processing Activities (ROPA)"
|
|
43
|
+
*/
|
|
44
|
+
title?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Description text
|
|
47
|
+
* @default "Maintain a comprehensive record of all data processing activities as required by the NDPA 2023."
|
|
48
|
+
*/
|
|
49
|
+
description?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Custom CSS class
|
|
52
|
+
*/
|
|
53
|
+
className?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Custom CSS class for buttons
|
|
56
|
+
*/
|
|
57
|
+
buttonClassName?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Override class names for individual sections of the component.
|
|
60
|
+
* Takes priority over className / buttonClassName.
|
|
61
|
+
*/
|
|
62
|
+
classNames?: ROPAManagerClassNames;
|
|
63
|
+
/**
|
|
64
|
+
* When true, all default styling is removed so consumers
|
|
65
|
+
* can style from scratch using classNames.
|
|
66
|
+
*/
|
|
67
|
+
unstyled?: boolean;
|
|
68
|
+
}
|
|
69
|
+
declare const ROPAManager: React.FC<ROPAManagerProps>;
|
|
70
|
+
|
|
71
|
+
export { ROPAManager as R, type ROPAManagerClassNames as a };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { c as RecordOfProcessingActivities, P as ProcessingRecord } from './ropa-Li6UlL5H.js';
|
|
3
|
+
import './useROPA-BhJ3kvHp.js';
|
|
4
|
+
|
|
5
|
+
interface ROPAManagerClassNames {
|
|
6
|
+
root?: string;
|
|
7
|
+
header?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
orgInfo?: string;
|
|
10
|
+
summary?: string;
|
|
11
|
+
summaryCard?: string;
|
|
12
|
+
table?: string;
|
|
13
|
+
tableHeader?: string;
|
|
14
|
+
tableRow?: string;
|
|
15
|
+
form?: string;
|
|
16
|
+
input?: string;
|
|
17
|
+
select?: string;
|
|
18
|
+
submitButton?: string;
|
|
19
|
+
statusBadge?: string;
|
|
20
|
+
exportButton?: string;
|
|
21
|
+
complianceGap?: string;
|
|
22
|
+
}
|
|
23
|
+
interface ROPAManagerProps {
|
|
24
|
+
/**
|
|
25
|
+
* The full Record of Processing Activities
|
|
26
|
+
*/
|
|
27
|
+
ropa: RecordOfProcessingActivities;
|
|
28
|
+
/**
|
|
29
|
+
* Callback when a new record is added
|
|
30
|
+
*/
|
|
31
|
+
onAddRecord?: (record: ProcessingRecord) => void;
|
|
32
|
+
/**
|
|
33
|
+
* Callback when a record is updated
|
|
34
|
+
*/
|
|
35
|
+
onUpdateRecord?: (id: string, updates: Partial<ProcessingRecord>) => void;
|
|
36
|
+
/**
|
|
37
|
+
* Callback when a record is archived
|
|
38
|
+
*/
|
|
39
|
+
onArchiveRecord?: (id: string) => void;
|
|
40
|
+
/**
|
|
41
|
+
* Title displayed on the manager
|
|
42
|
+
* @default "Record of Processing Activities (ROPA)"
|
|
43
|
+
*/
|
|
44
|
+
title?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Description text
|
|
47
|
+
* @default "Maintain a comprehensive record of all data processing activities as required by the NDPA 2023."
|
|
48
|
+
*/
|
|
49
|
+
description?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Custom CSS class
|
|
52
|
+
*/
|
|
53
|
+
className?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Custom CSS class for buttons
|
|
56
|
+
*/
|
|
57
|
+
buttonClassName?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Override class names for individual sections of the component.
|
|
60
|
+
* Takes priority over className / buttonClassName.
|
|
61
|
+
*/
|
|
62
|
+
classNames?: ROPAManagerClassNames;
|
|
63
|
+
/**
|
|
64
|
+
* When true, all default styling is removed so consumers
|
|
65
|
+
* can style from scratch using classNames.
|
|
66
|
+
*/
|
|
67
|
+
unstyled?: boolean;
|
|
68
|
+
}
|
|
69
|
+
declare const ROPAManager: React.FC<ROPAManagerProps>;
|
|
70
|
+
|
|
71
|
+
export { ROPAManager as R, type ROPAManagerClassNames as a };
|
package/dist/ropa.d.mts
CHANGED
|
@@ -1,45 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export {
|
|
4
|
-
|
|
5
|
-
import './lawful-basis-
|
|
6
|
-
|
|
7
|
-
interface ROPAManagerProps {
|
|
8
|
-
/**
|
|
9
|
-
* The full Record of Processing Activities
|
|
10
|
-
*/
|
|
11
|
-
ropa: RecordOfProcessingActivities;
|
|
12
|
-
/**
|
|
13
|
-
* Callback when a new record is added
|
|
14
|
-
*/
|
|
15
|
-
onAddRecord?: (record: ProcessingRecord) => void;
|
|
16
|
-
/**
|
|
17
|
-
* Callback when a record is updated
|
|
18
|
-
*/
|
|
19
|
-
onUpdateRecord?: (id: string, updates: Partial<ProcessingRecord>) => void;
|
|
20
|
-
/**
|
|
21
|
-
* Callback when a record is archived
|
|
22
|
-
*/
|
|
23
|
-
onArchiveRecord?: (id: string) => void;
|
|
24
|
-
/**
|
|
25
|
-
* Title displayed on the manager
|
|
26
|
-
* @default "Record of Processing Activities (ROPA)"
|
|
27
|
-
*/
|
|
28
|
-
title?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Description text
|
|
31
|
-
* @default "Maintain a comprehensive record of all data processing activities as required by the NDPA 2023."
|
|
32
|
-
*/
|
|
33
|
-
description?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Custom CSS class
|
|
36
|
-
*/
|
|
37
|
-
className?: string;
|
|
38
|
-
/**
|
|
39
|
-
* Custom CSS class for buttons
|
|
40
|
-
*/
|
|
41
|
-
buttonClassName?: string;
|
|
42
|
-
}
|
|
43
|
-
declare const ROPAManager: React.FC<ROPAManagerProps>;
|
|
44
|
-
|
|
45
|
-
export { ProcessingRecord, ROPAManager, RecordOfProcessingActivities };
|
|
1
|
+
export { R as ROPAManager } from './ropa-entry-CZJ91ymk.mjs';
|
|
2
|
+
export { U as UseROPAOptions, a as UseROPAReturn, u as useROPA } from './useROPA-DLFdjkxP.mjs';
|
|
3
|
+
export { P as ProcessingRecord, R as ROPAComplianceGap, a as ROPASummary, b as ROPAValidationResult, c as RecordOfProcessingActivities, e as exportROPAToCSV, g as generateROPASummary, i as identifyComplianceGaps, v as validateProcessingRecord } from './ropa-DP7pPPql.mjs';
|
|
4
|
+
import 'react';
|
|
5
|
+
import './lawful-basis-Cv1VmDLn.mjs';
|
package/dist/ropa.d.ts
CHANGED
|
@@ -1,45 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export {
|
|
4
|
-
|
|
5
|
-
import './lawful-basis-
|
|
6
|
-
|
|
7
|
-
interface ROPAManagerProps {
|
|
8
|
-
/**
|
|
9
|
-
* The full Record of Processing Activities
|
|
10
|
-
*/
|
|
11
|
-
ropa: RecordOfProcessingActivities;
|
|
12
|
-
/**
|
|
13
|
-
* Callback when a new record is added
|
|
14
|
-
*/
|
|
15
|
-
onAddRecord?: (record: ProcessingRecord) => void;
|
|
16
|
-
/**
|
|
17
|
-
* Callback when a record is updated
|
|
18
|
-
*/
|
|
19
|
-
onUpdateRecord?: (id: string, updates: Partial<ProcessingRecord>) => void;
|
|
20
|
-
/**
|
|
21
|
-
* Callback when a record is archived
|
|
22
|
-
*/
|
|
23
|
-
onArchiveRecord?: (id: string) => void;
|
|
24
|
-
/**
|
|
25
|
-
* Title displayed on the manager
|
|
26
|
-
* @default "Record of Processing Activities (ROPA)"
|
|
27
|
-
*/
|
|
28
|
-
title?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Description text
|
|
31
|
-
* @default "Maintain a comprehensive record of all data processing activities as required by the NDPA 2023."
|
|
32
|
-
*/
|
|
33
|
-
description?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Custom CSS class
|
|
36
|
-
*/
|
|
37
|
-
className?: string;
|
|
38
|
-
/**
|
|
39
|
-
* Custom CSS class for buttons
|
|
40
|
-
*/
|
|
41
|
-
buttonClassName?: string;
|
|
42
|
-
}
|
|
43
|
-
declare const ROPAManager: React.FC<ROPAManagerProps>;
|
|
44
|
-
|
|
45
|
-
export { ProcessingRecord, ROPAManager, RecordOfProcessingActivities };
|
|
1
|
+
export { R as ROPAManager } from './ropa-entry-DIEQ9WFs.js';
|
|
2
|
+
export { U as UseROPAOptions, a as UseROPAReturn, u as useROPA } from './useROPA-BhJ3kvHp.js';
|
|
3
|
+
export { P as ProcessingRecord, R as ROPAComplianceGap, a as ROPASummary, b as ROPAValidationResult, c as RecordOfProcessingActivities, e as exportROPAToCSV, g as generateROPASummary, i as identifyComplianceGaps, v as validateProcessingRecord } from './ropa-Li6UlL5H.js';
|
|
4
|
+
import 'react';
|
|
5
|
+
import './lawful-basis-Cv1VmDLn.js';
|
package/dist/ropa.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkG3JNFZPT_js=require('./chunk-G3JNFZPT.js'),chunk4A354HL3_js=require('./chunk-4A354HL3.js'),chunkSWF3YVE5_js=require('./chunk-SWF3YVE5.js');require('./chunk-VURIXCGY.js'),require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"ROPAManager",{enumerable:true,get:function(){return chunkG3JNFZPT_js.a}});Object.defineProperty(exports,"useROPA",{enumerable:true,get:function(){return chunk4A354HL3_js.a}});Object.defineProperty(exports,"exportROPAToCSV",{enumerable:true,get:function(){return chunkSWF3YVE5_js.c}});Object.defineProperty(exports,"generateROPASummary",{enumerable:true,get:function(){return chunkSWF3YVE5_js.b}});Object.defineProperty(exports,"identifyComplianceGaps",{enumerable:true,get:function(){return chunkSWF3YVE5_js.d}});Object.defineProperty(exports,"validateProcessingRecord",{enumerable:true,get:function(){return chunkSWF3YVE5_js.a}});//# sourceMappingURL=ropa.js.map
|
|
2
2
|
//# sourceMappingURL=ropa.js.map
|