@redacto.io/consent-sdk-react 9.1.0 → 9.2.0-beta.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/.turbo/turbo-build.log +10 -14
- package/CHANGELOG.md +6 -0
- package/dist/index.js +2 -4
- package/dist/index.mjs +2 -4
- package/dist/privacy-center.js +860 -851
- package/dist/privacy-center.mjs +810 -801
- package/package.json +1 -1
- package/src/RedactoNoticeConsent/RedactoNoticeConsent.tsx +2 -4
- package/src/RedactoNoticeConsent/api/types.ts +1 -0
- package/src/RedactoPrivacyCenter/PrivacyCenterCaseDetailsPage.tsx +3 -1
- package/src/RedactoPrivacyCenter/components/CaseDetails/DocumentRequestCard.tsx +19 -13
- package/src/RedactoPrivacyCenter/components/CaseDetails/FinalizedTooltipWrapper.tsx +25 -0
- package/src/RedactoPrivacyCenter/components/CaseDetails/MessageComposer.tsx +39 -30
- package/src/RedactoPrivacyCenter/components/CaseDetails/MessageItem.tsx +2 -0
- package/src/RedactoPrivacyCenter/components/CaseDetails/MessagesTab.tsx +10 -3
- package/src/RedactoPrivacyCenter/components/CaseDetails/utils.ts +21 -6
- package/src/RedactoPrivacyCenter/components/DataRequest/PurposeSelectionSection.tsx +12 -0
- package/src/RedactoPrivacyCenter/components/Form.tsx +15 -129
- package/src/RedactoPrivacyCenter/lib/constants.ts +12 -0
- package/src/RedactoPrivacyCenter/lib/types.ts +10 -0
- package/src/RedactoPrivacyCenter/locales/as/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/bho/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/bn/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/brx/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/doi/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/en/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/gom/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/gu/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/hi/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/kn/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/ks/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/mai/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/ml/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/mni-Mtei/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/mr/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/ne/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/or/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/pa/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/sa/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/sat/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/sd/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/ta/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/te/translation.json +1 -0
- package/src/RedactoPrivacyCenter/locales/ur/translation.json +1 -0
- package/src/RedactoPrivacyCenter/ui/PCTooltip.tsx +3 -1
package/dist/privacy-center.mjs
CHANGED
|
@@ -86,6 +86,7 @@ var translation_default = {
|
|
|
86
86
|
enterCorrectValue: "Enter the correct value for each selected field",
|
|
87
87
|
whatDataToAccess: "What data would you like to access?",
|
|
88
88
|
whatDataToDelete: "What data should we delete?",
|
|
89
|
+
revocationNotDeletionNote: "Revoking consent does not delete data the organization already holds. You can still request access to or erasure of this data, including for purposes whose consent you have withdrawn.",
|
|
89
90
|
objectingProcessingActivities: "What processing activities are you objecting to?",
|
|
90
91
|
whatDataToModify: "What data should we modify?",
|
|
91
92
|
enterSixDigitOtp: "Please enter a 6-digit OTP.",
|
|
@@ -233,6 +234,7 @@ var translation_default = {
|
|
|
233
234
|
submitted: "Submitted",
|
|
234
235
|
responseDue: "Response due",
|
|
235
236
|
secureMessagesNotice: "Your messages are securely sent to the privacy team only.",
|
|
237
|
+
caseFinalizedMessagesTooltip: "This case is finalized \u2014 messages can no longer be sent.",
|
|
236
238
|
noMessagesYet: "No messages yet",
|
|
237
239
|
writeMessagePlaceholder: "Write a message to the privacy team...",
|
|
238
240
|
attachFile: "Attach file",
|
|
@@ -527,6 +529,7 @@ var translation_default2 = {
|
|
|
527
529
|
submitted: "\u09A6\u09BE\u0996\u09BF\u09B2 \u0995\u09F0\u09BE \u09B9\u09C8\u099B\u09C7",
|
|
528
530
|
responseDue: "\u09AA\u09CD\u09F0\u09A4\u09BF\u0995\u09CD\u09F0\u09BF\u09AF\u09BC\u09BE \u09AC\u09BE\u0995\u09C0",
|
|
529
531
|
secureMessagesNotice: "\u0986\u09AA\u09CB\u09A8\u09BE\u09F0 \u09AC\u09BE\u09F0\u09CD\u09A4\u09BE\u09B8\u09AE\u09C2\u09B9 \u0995\u09C7\u09F1\u09B2 \u0997\u09CB\u09AA\u09A8\u09C0\u09AF\u09BC\u09A4\u09BE \u09A6\u09B2\u0995 \u09B8\u09C1\u09F0\u0995\u09CD\u09B7\u09BF\u09A4\u09AD\u09BE\u09F1\u09C7 \u09AA\u09CD\u09F0\u09C7\u09F0\u09A3 \u0995\u09F0\u09BE \u09B9\u09AF\u09BC\u0964",
|
|
532
|
+
caseFinalizedMessagesTooltip: "\u098F\u0987 \u0997\u09CB\u099A\u09F0\u099F\u09CB \u099A\u09C2\u09A1\u09BC\u09BE\u09A8\u09CD\u09A4 \u0995\u09F0\u09BE \u09B9\u09C8\u099B\u09C7 \u2014 \u098F\u09A4\u09BF\u09AF\u09BC\u09BE \u09AC\u09BE\u09F0\u09CD\u09A4\u09BE \u09AA\u09A0\u09BE\u09AC \u09A8\u09CB\u09F1\u09BE\u09F0\u09BF\u0964",
|
|
530
533
|
noMessagesYet: "\u098F\u09A4\u09BF\u09AF\u09BC\u09BE\u09B2\u09C8\u0995\u09C7 \u0995\u09CB\u09A8\u09CB \u09AC\u09BE\u09F0\u09CD\u09A4\u09BE \u09A8\u09BE\u0987",
|
|
531
534
|
writeMessagePlaceholder: "\u0997\u09CB\u09AA\u09A8\u09C0\u09AF\u09BC\u09A4\u09BE \u09A6\u09B2\u0995 \u09AC\u09BE\u09F0\u09CD\u09A4\u09BE \u09B2\u09BF\u0996\u0995...",
|
|
532
535
|
attachFile: "\u09AB\u09BE\u0987\u09B2 \u09B8\u0982\u09B2\u0997\u09CD\u09A8 \u0995\u09F0\u0995",
|
|
@@ -820,6 +823,7 @@ var translation_default3 = {
|
|
|
820
823
|
submitted: "\u099C\u09AE\u09BE \u09A6\u09C7\u0993\u09AF\u09BC\u09BE \u09B9\u09AF\u09BC\u09C7\u099B\u09C7",
|
|
821
824
|
responseDue: "\u09AA\u09CD\u09B0\u09A4\u09BF\u0995\u09CD\u09B0\u09BF\u09AF\u09BC\u09BE \u09AC\u09BE\u0995\u09BF",
|
|
822
825
|
secureMessagesNotice: "\u0986\u09AA\u09A8\u09BE\u09B0 \u09AC\u09BE\u09B0\u09CD\u09A4\u09BE\u0997\u09C1\u09B2\u09BF \u09B6\u09C1\u09A7\u09C1\u09AE\u09BE\u09A4\u09CD\u09B0 \u0997\u09CB\u09AA\u09A8\u09C0\u09AF\u09BC\u09A4\u09BE \u09A6\u09B2\u09C7\u09B0 \u0995\u09BE\u099B\u09C7 \u09A8\u09BF\u09B0\u09BE\u09AA\u09A6\u09C7 \u09AA\u09BE\u09A0\u09BE\u09A8\u09CB \u09B9\u09AF\u09BC\u0964",
|
|
826
|
+
caseFinalizedMessagesTooltip: "\u098F\u0987 \u0995\u09C7\u09B8\u099F\u09BF \u099A\u09C2\u09A1\u09BC\u09BE\u09A8\u09CD\u09A4 \u0995\u09B0\u09BE \u09B9\u09AF\u09BC\u09C7\u099B\u09C7 \u2014 \u09AC\u09BE\u09B0\u09CD\u09A4\u09BE \u0986\u09B0 \u09AA\u09BE\u09A0\u09BE\u09A8\u09CB \u09AF\u09BE\u09AC\u09C7 \u09A8\u09BE\u0964",
|
|
823
827
|
noMessagesYet: "\u098F\u0996\u09A8\u09CB \u0995\u09CB\u09A8\u09CB \u09AC\u09BE\u09B0\u09CD\u09A4\u09BE \u09A8\u09C7\u0987",
|
|
824
828
|
writeMessagePlaceholder: "\u0997\u09CB\u09AA\u09A8\u09C0\u09AF\u09BC\u09A4\u09BE \u09A6\u09B2\u0995\u09C7 \u098F\u0995\u099F\u09BF \u09AC\u09BE\u09B0\u09CD\u09A4\u09BE \u09B2\u09BF\u0996\u09C1\u09A8...",
|
|
825
829
|
attachFile: "\u09AB\u09BE\u0987\u09B2 \u09B8\u0982\u09AF\u09C1\u0995\u09CD\u09A4 \u0995\u09B0\u09C1\u09A8",
|
|
@@ -1113,6 +1117,7 @@ var translation_default4 = {
|
|
|
1113
1117
|
submitted: "\u091C\u092E\u093E \u092D\u0907\u0932",
|
|
1114
1118
|
responseDue: "\u091C\u0935\u093E\u092C \u092C\u093E\u0915\u0940 \u092C\u093E",
|
|
1115
1119
|
secureMessagesNotice: "\u0930\u0909\u0906 \u0938\u0902\u0926\u0947\u0936 \u092C\u0938 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u091F\u0940\u092E \u0915\u0947 \u0938\u0941\u0930\u0915\u094D\u0937\u093F\u0924 \u0924\u0930\u0940\u0915\u093E \u0938\u0947 \u092D\u0947\u091C\u0932 \u091C\u093E\u0932\u093E\u0964",
|
|
1120
|
+
caseFinalizedMessagesTooltip: "\u0908 \u0915\u0947\u0938 \u0905\u0902\u0924\u093F\u092E \u0939\u094B \u0917\u0907\u0932 \u092C\u093E \u2014 \u0905\u092C \u0938\u0902\u0926\u0947\u0938 \u0928\u093E \u092D\u0947\u091C\u0932 \u091C\u093E \u0938\u0915\u0947\u0964",
|
|
1116
1121
|
noMessagesYet: "\u0905\u092C\u0939\u0940\u0902 \u0924\u0915 \u0915\u0935\u0928\u094B \u0938\u0902\u0926\u0947\u0936 \u0928\u0907\u0916\u0947",
|
|
1117
1122
|
writeMessagePlaceholder: "\u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u091F\u0940\u092E \u0915\u0947 \u0938\u0902\u0926\u0947\u0936 \u0932\u093F\u0916\u0940\u0902...",
|
|
1118
1123
|
attachFile: "\u092B\u093E\u0907\u0932 \u091C\u094B\u0921\u093C\u0940\u0902",
|
|
@@ -1406,6 +1411,7 @@ var translation_default5 = {
|
|
|
1406
1411
|
submitted: "\u0926\u093E\u0916\u093F\u0932 \u091C\u093E\u0926\u094B\u0902",
|
|
1407
1412
|
responseDue: "\u092B\u093F\u0928\u0928\u093E\u092F \u092C\u093E\u0915\u0940",
|
|
1408
1413
|
secureMessagesNotice: "\u0928\u094B\u0902\u0925\u093E\u0902\u0928\u093F \u0916\u094C\u0930\u093E\u0902\u092B\u094B\u0930 \u0938\u093F\u0917\u093E\u0902 \u0917\u094B\u092A\u0928\u0940\u092F\u0925\u093E \u0939\u093E\u0928\u091C\u093E\u0916\u094C \u0938\u0941\u0930\u0915\u094D\u0937\u093F\u0924 \u092C\u093E\u092F\u0926\u093F\u091C\u094B\u0902 \u0926\u0948\u0925\u093E\u092F\u0926\u094B\u0902\u0964",
|
|
1414
|
+
caseFinalizedMessagesTooltip: "\u092C\u0947 \u0915\u0947\u0938\u0906 \u091C\u094B\u092C\u0928\u093E\u092F \u091C\u093E\u092F\u094B \u2014 \u0926\u093E\u0928\u0948 \u0916\u094C\u0930\u093E\u0902\u0916\u094C \u0926\u0948\u0925\u093E\u092F \u0939\u0941\u0928\u094B \u0939\u093E\u092F\u093E\u0964",
|
|
1409
1415
|
noMessagesYet: "\u0926\u093E\u0928\u094B \u0938\u092E \u0915\u094B\u0928\u094B \u0916\u094C\u0930\u093E\u0902 \u0917\u0948\u092F\u093E",
|
|
1410
1416
|
writeMessagePlaceholder: "\u0917\u094B\u092A\u0928\u0940\u092F\u0925\u093E \u0939\u093E\u0928\u091C\u093E\u0916\u094C \u0916\u094C\u0930\u093E\u0902 \u0932\u093F\u0930...",
|
|
1411
1417
|
attachFile: "\u092B\u093E\u0907\u0932 \u0932\u093E\u092B\u093E\u092C",
|
|
@@ -1699,6 +1705,7 @@ var translation_default6 = {
|
|
|
1699
1705
|
submitted: "\u091C\u092E\u093E \u0915\u0940\u0924\u093E \u0917\u0947\u0906",
|
|
1700
1706
|
responseDue: "\u091C\u0935\u093E\u092C \u092C\u093E\u0915\u0940",
|
|
1701
1707
|
secureMessagesNotice: "\u0924\u0941\u0902\u0926\u0947 \u0938\u0902\u0926\u0947\u0936 \u0938\u093F\u0930\u094D\u092B \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u091F\u0940\u092E \u0917\u0940 \u0938\u0941\u0930\u0915\u094D\u0937\u093F\u0924 \u0924\u0930\u0940\u0915\u0947 \u0915\u0928\u094D\u0928\u0948 \u092D\u0947\u091C\u0947 \u091C\u0902\u0926\u0947 \u0928\u0964",
|
|
1708
|
+
caseFinalizedMessagesTooltip: "\u0910 \u092E\u093E\u092E\u0932\u093E \u0905\u0902\u0924\u093F\u092E \u0939\u094B\u0908 \u0917\u0947\u0906 \u0910 \u2014 \u0939\u0941\u0923 \u0938\u0902\u0926\u0947\u0936 \u0928\u0947\u0908\u0902 \u092D\u0947\u091C\u0947 \u091C\u093E\u0908 \u0938\u0915\u0926\u0947\u0964",
|
|
1702
1709
|
noMessagesYet: "\u0905\u091C\u0947\u0902 \u0924\u0915 \u0915\u094B\u0908 \u0938\u0902\u0926\u0947\u0936 \u0928\u0947\u0908\u0902",
|
|
1703
1710
|
writeMessagePlaceholder: "\u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u091F\u0940\u092E \u0917\u0940 \u0938\u0902\u0926\u0947\u0936 \u0932\u093F\u0916\u094B...",
|
|
1704
1711
|
attachFile: "\u092B\u093C\u093E\u0907\u0932 \u091C\u094B\u0921\u093C\u094B",
|
|
@@ -1992,6 +1999,7 @@ var translation_default7 = {
|
|
|
1992
1999
|
submitted: "\u0938\u093E\u0926\u0930 \u0915\u0947\u0932\u0947\u0902",
|
|
1993
2000
|
responseDue: "\u092A\u094D\u0930\u0924\u093F\u0938\u093E\u0926 \u092C\u093E\u0915\u0940",
|
|
1994
2001
|
secureMessagesNotice: "\u0924\u0941\u092E\u091A\u0947 \u0938\u0902\u0926\u0947\u0936 \u092B\u0915\u0924 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u092A\u0902\u0917\u0921\u093E\u0915 \u0938\u0941\u0930\u0915\u094D\u0937\u093F\u0924 \u0930\u093F\u0924\u0940\u0928 \u0927\u093E\u0921\u091F\u093E\u0924.",
|
|
2002
|
+
caseFinalizedMessagesTooltip: "\u0939\u0947\u0902 \u092A\u094D\u0930\u0915\u0930\u0923 \u0905\u0902\u0924\u093F\u092E \u091C\u093E\u0932\u093E\u0902 \u2014 \u0906\u0924\u093E\u0902 \u0938\u0902\u0926\u0947\u0936 \u0927\u093E\u0921\u0941\u0902\u0915 \u092E\u0947\u0933\u091A\u0947 \u0928\u093E.",
|
|
1995
2003
|
noMessagesYet: "\u0905\u091C\u0942\u0928 \u0915\u0938\u0932\u0947\u091A \u0938\u0902\u0926\u0947\u0936 \u0928\u093E\u0924",
|
|
1996
2004
|
writeMessagePlaceholder: "\u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u092A\u0902\u0917\u0921\u093E\u0915 \u0938\u0902\u0926\u0947\u0936 \u092C\u0930\u092F\u093E\u0924...",
|
|
1997
2005
|
attachFile: "\u092B\u093E\u092F\u0932 \u091C\u094B\u0921\u093E\u0924",
|
|
@@ -2285,6 +2293,7 @@ var translation_default8 = {
|
|
|
2285
2293
|
submitted: "\u0AB8\u0AAC\u0AAE\u0ABF\u0A9F \u0AA5\u0AAF\u0AC7\u0AB2",
|
|
2286
2294
|
responseDue: "\u0AAA\u0ACD\u0AB0\u0AA4\u0ABF\u0AB8\u0ABE\u0AA6 \u0AAC\u0ABE\u0A95\u0AC0",
|
|
2287
2295
|
secureMessagesNotice: "\u0AA4\u0AAE\u0ABE\u0AB0\u0ABE \u0AB8\u0A82\u0AA6\u0AC7\u0AB6\u0ABE\u0A93 \u0AAB\u0A95\u0ACD\u0AA4 \u0A97\u0ACB\u0AAA\u0AA8\u0AC0\u0AAF\u0AA4\u0ABE \u0A9F\u0AC0\u0AAE\u0AA8\u0AC7 \u0A9C \u0AB8\u0AC1\u0AB0\u0A95\u0ACD\u0AB7\u0ABF\u0AA4 \u0AB0\u0AC0\u0AA4\u0AC7 \u0AAE\u0ACB\u0A95\u0AB2\u0AB5\u0ABE\u0AAE\u0ABE\u0A82 \u0A86\u0AB5\u0AC7 \u0A9B\u0AC7.",
|
|
2296
|
+
caseFinalizedMessagesTooltip: "\u0A86 \u0A95\u0AC7\u0AB8 \u0A85\u0A82\u0AA4\u0ABF\u0AAE \u0AA5\u0A88 \u0A97\u0AAF\u0ACB \u0A9B\u0AC7 \u2014 \u0AB9\u0AB5\u0AC7 \u0AB8\u0A82\u0AA6\u0AC7\u0AB6\u0ABE \u0AAE\u0ACB\u0A95\u0AB2\u0AC0 \u0AB6\u0A95\u0ABE\u0AB6\u0AC7 \u0AA8\u0AB9\u0AC0\u0A82.",
|
|
2288
2297
|
noMessagesYet: "\u0AB9\u0A9C\u0AC1 \u0AB8\u0AC1\u0AA7\u0AC0 \u0A95\u0ACB\u0A88 \u0AB8\u0A82\u0AA6\u0AC7\u0AB6\u0ABE\u0A93 \u0AA8\u0AA5\u0AC0",
|
|
2289
2298
|
writeMessagePlaceholder: "\u0A97\u0ACB\u0AAA\u0AA8\u0AC0\u0AAF\u0AA4\u0ABE \u0A9F\u0AC0\u0AAE\u0AA8\u0AC7 \u0AB8\u0A82\u0AA6\u0AC7\u0AB6 \u0AB2\u0A96\u0ACB...",
|
|
2290
2299
|
attachFile: "\u0AAB\u0ABE\u0A87\u0AB2 \u0A9C\u0ACB\u0AA1\u0ACB",
|
|
@@ -2581,6 +2590,7 @@ var translation_default9 = {
|
|
|
2581
2590
|
submitted: "\u091C\u092E\u093E \u0915\u093F\u092F\u093E \u0917\u092F\u093E",
|
|
2582
2591
|
responseDue: "\u092A\u094D\u0930\u0924\u093F\u0915\u094D\u0930\u093F\u092F\u093E \u0926\u0947\u092F",
|
|
2583
2592
|
secureMessagesNotice: "\u0906\u092A\u0915\u0947 \u0938\u0902\u0926\u0947\u0936 \u0915\u0947\u0935\u0932 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u091F\u0940\u092E \u0915\u094B \u0938\u0941\u0930\u0915\u094D\u0937\u093F\u0924 \u0930\u0942\u092A \u0938\u0947 \u092D\u0947\u091C\u0947 \u091C\u093E\u0924\u0947 \u0939\u0948\u0902\u0964",
|
|
2593
|
+
caseFinalizedMessagesTooltip: "\u092F\u0939 \u0915\u0947\u0938 \u0905\u0902\u0924\u093F\u092E \u0930\u0942\u092A \u0926\u093F\u092F\u093E \u091C\u093E \u091A\u0941\u0915\u093E \u0939\u0948 \u2014 \u0905\u092C \u0938\u0902\u0926\u0947\u0936 \u0928\u0939\u0940\u0902 \u092D\u0947\u091C\u0947 \u091C\u093E \u0938\u0915\u0924\u0947\u0964",
|
|
2584
2594
|
noMessagesYet: "\u0905\u092D\u0940 \u0924\u0915 \u0915\u094B\u0908 \u0938\u0902\u0926\u0947\u0936 \u0928\u0939\u0940\u0902",
|
|
2585
2595
|
writeMessagePlaceholder: "\u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u091F\u0940\u092E \u0915\u094B \u0938\u0902\u0926\u0947\u0936 \u0932\u093F\u0916\u0947\u0902...",
|
|
2586
2596
|
attachFile: "\u092B\u093C\u093E\u0907\u0932 \u0938\u0902\u0932\u0917\u094D\u0928 \u0915\u0930\u0947\u0902",
|
|
@@ -2874,6 +2884,7 @@ var translation_default10 = {
|
|
|
2874
2884
|
submitted: "\u0CB8\u0CB2\u0CCD\u0CB2\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CBF\u0CA6\u0CC6",
|
|
2875
2885
|
responseDue: "\u0CAA\u0CCD\u0CB0\u0CA4\u0CBF\u0C95\u0CCD\u0CB0\u0CBF\u0CAF\u0CC6 \u0CAC\u0CBE\u0C95\u0CBF",
|
|
2876
2886
|
secureMessagesNotice: "\u0CA8\u0CBF\u0CAE\u0CCD\u0CAE \u0CB8\u0C82\u0CA6\u0CC7\u0CB6\u0C97\u0CB3\u0CA8\u0CCD\u0CA8\u0CC1 \u0C97\u0CCC\u0CAA\u0CCD\u0CAF\u0CA4\u0CBE \u0CA4\u0C82\u0CA1\u0C95\u0CCD\u0C95\u0CC6 \u0CAE\u0CBE\u0CA4\u0CCD\u0CB0 \u0CB8\u0CC1\u0CB0\u0C95\u0CCD\u0CB7\u0CBF\u0CA4\u0CB5\u0CBE\u0C97\u0CBF \u0C95\u0CB3\u0CC1\u0CB9\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CC1\u0CA4\u0CCD\u0CA4\u0CA6\u0CC6.",
|
|
2887
|
+
caseFinalizedMessagesTooltip: "\u0C88 \u0CAA\u0CCD\u0CB0\u0C95\u0CB0\u0CA3 \u0C85\u0C82\u0CA4\u0CBF\u0CAE\u0C97\u0CCA\u0C82\u0CA1\u0CBF\u0CA6\u0CC6 \u2014 \u0C87\u0CA8\u0CCD\u0CA8\u0CC1 \u0CB8\u0C82\u0CA6\u0CC7\u0CB6\u0C97\u0CB3\u0CA8\u0CCD\u0CA8\u0CC1 \u0C95\u0CB3\u0CC1\u0CB9\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CC1\u0CB5\u0CC1\u0CA6\u0CBF\u0CB2\u0CCD\u0CB2.",
|
|
2877
2888
|
noMessagesYet: "\u0C87\u0CA8\u0CCD\u0CA8\u0CC2 \u0CAF\u0CBE\u0CB5\u0CC1\u0CA6\u0CC7 \u0CB8\u0C82\u0CA6\u0CC7\u0CB6\u0C97\u0CB3\u0CBF\u0CB2\u0CCD\u0CB2",
|
|
2878
2889
|
writeMessagePlaceholder: "\u0C97\u0CCC\u0CAA\u0CCD\u0CAF\u0CA4\u0CBE \u0CA4\u0C82\u0CA1\u0C95\u0CCD\u0C95\u0CC6 \u0CB8\u0C82\u0CA6\u0CC7\u0CB6 \u0CAC\u0CB0\u0CC6\u0CAF\u0CBF\u0CB0\u0CBF...",
|
|
2879
2890
|
attachFile: "\u0CAB\u0CC8\u0CB2\u0CCD \u0CB2\u0C97\u0CA4\u0CCD\u0CA4\u0CBF\u0CB8\u0CBF",
|
|
@@ -3167,6 +3178,7 @@ var translation_default11 = {
|
|
|
3167
3178
|
submitted: "\u062C\u0645\u0639 \u06A9\u0631\u065B\u0627\u0648\u0655\u0646\u06C1\u0655 \u0622\u0648",
|
|
3168
3179
|
responseDue: "\u062C\u0648\u0627\u0628 \u0648\u0627\u062C\u0628",
|
|
3169
3180
|
secureMessagesNotice: "\u062A\u064F\u06C1\u0646\u065B\u062F \u067E\u06CC\u063A\u0627\u0645\u0627\u062A \u0635\u0631\u0641 \u0631\u0627\u0632\u062F\u0627\u0631\u06CC \u0679\u06CC\u0645 \u06A9\u0655\u0646 \u0645\u062D\u0641\u0648\u0638 \u0637\u0631\u06CC\u0642\u0655 \u0633\u0655\u062A\u0655 \u0628\u06BE\u06CC\u062C\u0646\u0655 \u06CC\u0650\u0648\u0627\u0646 \u0686\u06BE\u0650\u06D4",
|
|
3181
|
+
caseFinalizedMessagesTooltip: "\u06CC\u06C1 \u06A9\u06CC\u0633 \u0645\u06A9\u0645\u0644 \u06AF\u0698\u06BE \u2014 \u06C1\u0646\u06C1\u0655 \u067E\u06CC\u063A\u0627\u0645 \u0646\u06C1\u0655 \u06C1\u06CC\u06A9\u0646 \u06CC\u064E\u0698\u06BE\u0646\u06C1\u0655\u06D4",
|
|
3170
3182
|
noMessagesYet: "\u0627\u0628\u0655 \u062A\u0627\u0645 \u06A9\u0627\u0646\u065B\u06C1\u06C1\u0650 \u067E\u06CC\u063A\u0627\u0645 \u0646\u0655 \u0622\u0648",
|
|
3171
3183
|
writeMessagePlaceholder: "\u0631\u0627\u0632\u062F\u0627\u0631\u06CC \u0679\u06CC\u0645 \u06A9\u0655\u0646 \u067E\u06CC\u063A\u0627\u0645 \u0644\u0650\u06A9\u06BE\u0650\u0648...",
|
|
3172
3184
|
attachFile: "\u0641\u0627\u0626\u0644 \u062C\u0648\u0657\u0691\u0650\u0648",
|
|
@@ -3460,6 +3472,7 @@ var translation_default12 = {
|
|
|
3460
3472
|
submitted: "\u091C\u092E\u093E \u092D\u0947\u0932",
|
|
3461
3473
|
responseDue: "\u092A\u094D\u0930\u0924\u093F\u0915\u094D\u0930\u093F\u092F\u093E \u092C\u093E\u0915\u0940",
|
|
3462
3474
|
secureMessagesNotice: "\u0905\u0939\u093E\u0901\u0915 \u0938\u0902\u0926\u0947\u0936 \u0915\u0947\u0935\u0932 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u091F\u0940\u092E \u0915\u0947\u0901 \u0938\u0941\u0930\u0915\u094D\u0937\u093F\u0924 \u0930\u0942\u092A \u0938\u0901 \u092A\u0920\u093E\u0913\u0932 \u091C\u093E\u0907\u0924 \u0905\u091B\u093F\u0964",
|
|
3475
|
+
caseFinalizedMessagesTooltip: "\u0908 \u092E\u093E\u092E\u0932\u093E \u0905\u0902\u0924\u093F\u092E \u092D\u093D \u091A\u0941\u0915\u0932 \u0905\u091B\u093F \u2014 \u0906\u092C \u0938\u0902\u0926\u0947\u0936 \u092A\u0920\u093E\u0913\u0932 \u0928\u0939\u093F \u091C\u093E \u0938\u0915\u0948\u0924 \u0905\u091B\u093F\u0964",
|
|
3463
3476
|
noMessagesYet: "\u0905\u0916\u0928 \u0924\u0915 \u0915\u094B\u0928\u094B \u0938\u0902\u0926\u0947\u0936 \u0928\u0939\u093F",
|
|
3464
3477
|
writeMessagePlaceholder: "\u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u091F\u0940\u092E \u0915\u0947\u0901 \u0938\u0902\u0926\u0947\u0936 \u0932\u093F\u0916\u0942...",
|
|
3465
3478
|
attachFile: "\u092B\u093E\u0907\u0932 \u0938\u0902\u0932\u0917\u094D\u0928 \u0915\u0930\u0942",
|
|
@@ -3753,6 +3766,7 @@ var translation_default13 = {
|
|
|
3753
3766
|
submitted: "\u0D38\u0D2E\u0D7C\u0D2A\u0D4D\u0D2A\u0D3F\u0D1A\u0D4D\u0D1A\u0D41",
|
|
3754
3767
|
responseDue: "\u0D2A\u0D4D\u0D30\u0D24\u0D3F\u0D15\u0D30\u0D23\u0D02 \u0D2C\u0D3E\u0D15\u0D4D\u0D15\u0D3F",
|
|
3755
3768
|
secureMessagesNotice: "\u0D28\u0D3F\u0D19\u0D4D\u0D19\u0D33\u0D41\u0D1F\u0D46 \u0D38\u0D28\u0D4D\u0D26\u0D47\u0D36\u0D19\u0D4D\u0D19\u0D7E \u0D38\u0D4D\u0D35\u0D15\u0D3E\u0D30\u0D4D\u0D2F\u0D24\u0D3E \u0D1F\u0D40\u0D2E\u0D3F\u0D28\u0D4D \u0D2E\u0D3E\u0D24\u0D4D\u0D30\u0D02 \u0D38\u0D41\u0D30\u0D15\u0D4D\u0D37\u0D3F\u0D24\u0D2E\u0D3E\u0D2F\u0D3F \u0D05\u0D2F\u0D2F\u0D4D\u0D15\u0D4D\u0D15\u0D41\u0D28\u0D4D\u0D28\u0D41.",
|
|
3769
|
+
caseFinalizedMessagesTooltip: "\u0D08 \u0D15\u0D47\u0D38\u0D4D \u0D05\u0D28\u0D4D\u0D24\u0D3F\u0D2E\u0D2E\u0D3E\u0D15\u0D4D\u0D15\u0D3F\u0D2F\u0D3F\u0D30\u0D3F\u0D15\u0D4D\u0D15\u0D41\u0D28\u0D4D\u0D28\u0D41 \u2014 \u0D07\u0D28\u0D3F \u0D38\u0D28\u0D4D\u0D26\u0D47\u0D36\u0D19\u0D4D\u0D19\u0D7E \u0D05\u0D2F\u0D15\u0D4D\u0D15\u0D3E\u0D7B \u0D15\u0D34\u0D3F\u0D2F\u0D3F\u0D32\u0D4D\u0D32.",
|
|
3756
3770
|
noMessagesYet: "\u0D07\u0D24\u0D41\u0D35\u0D30\u0D46 \u0D38\u0D28\u0D4D\u0D26\u0D47\u0D36\u0D19\u0D4D\u0D19\u0D33\u0D3F\u0D32\u0D4D\u0D32",
|
|
3757
3771
|
writeMessagePlaceholder: "\u0D38\u0D4D\u0D35\u0D15\u0D3E\u0D30\u0D4D\u0D2F\u0D24\u0D3E \u0D1F\u0D40\u0D2E\u0D3F\u0D28\u0D4D \u0D12\u0D30\u0D41 \u0D38\u0D28\u0D4D\u0D26\u0D47\u0D36\u0D02 \u0D0E\u0D34\u0D41\u0D24\u0D41\u0D15...",
|
|
3758
3772
|
attachFile: "\u0D2B\u0D2F\u0D7D \u0D05\u0D31\u0D4D\u0D31\u0D3E\u0D1A\u0D4D\u0D1A\u0D4D \u0D1A\u0D46\u0D2F\u0D4D\u0D2F\u0D41\u0D15",
|
|
@@ -4046,6 +4060,7 @@ var translation_default14 = {
|
|
|
4046
4060
|
submitted: "\uABCA\uABE5\uABD4\uABE6",
|
|
4047
4061
|
responseDue: "\uABC4\uABE5\uABCE\uABC8\uABE8\uABDD \uABC2\uABE6\uABDE\uABC4",
|
|
4048
4062
|
secureMessagesNotice: "\uABC5\uABCD\uABE5\uABDB\uABC0\uABE4 \uABC4\uABE5\uABCE\uABC1\uABE4\uABE1 \uABC4\uABED\uABD4\uABE5\uABCF\uABDA\uABE6\uABC1\uABE4 \uABC7\uABE4\uABC3\uABD7 \uABC8\uABDB\uABC7 \uABC1\uABE6\uABDB\uABCC\uABE8\uABD4 \uABD1\uABE3\uABCF\uABC5 \uABCA\uABE5\uABD4\uABE4\uABEB",
|
|
4063
|
+
caseFinalizedMessagesTooltip: "\uABC3\uABC1\uABE4 \uABC0\uABE6\uABC1 \uABC2\uABE3\uABCF\uABC1\uABE4\uABDF\uABC2\uABE6 \u2014 \uABD1\uABC7\uABE9\uABD0\uABDD\uABD7 \uABC4\uABE5\uABCE \uABCA\uABE5\uABD2\uABD7\uABD5 \uABCC\uABE5\uABD4\uABE3\uABCF\uABEB",
|
|
4049
4064
|
noMessagesYet: "\uABCD\uABE5\uABCF\uABD4\uABE4\uABD5 \uABC3\uABC7\uABC3\uABD7 \uABC4\uABE5\uABCE \uABC2\uABE9\uABC7\uABE6",
|
|
4050
4065
|
writeMessagePlaceholder: "\uABC4\uABED\uABD4\uABE5\uABCF\uABDA\uABE6\uABC1\uABE4 \uABC7\uABE4\uABC3\uABD7 \uABC4\uABE5\uABCE \uABCF\uABD4\uABE8...",
|
|
4051
4066
|
attachFile: "\uABD0\uABE5\uABCF\uABDC \uABC6\uABE4\uABE1\uABC1\uABE4\uABDF\uABC5\uABD5",
|
|
@@ -4339,6 +4354,7 @@ var translation_default15 = {
|
|
|
4339
4354
|
submitted: "\u0938\u093E\u0926\u0930 \u0915\u0947\u0932\u0947",
|
|
4340
4355
|
responseDue: "\u092A\u094D\u0930\u0924\u093F\u0938\u093E\u0926 \u0926\u0947\u092F",
|
|
4341
4356
|
secureMessagesNotice: "\u0924\u0941\u092E\u091A\u0947 \u0938\u0902\u0926\u0947\u0936 \u092B\u0915\u094D\u0924 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0938\u0902\u0918\u093E\u0932\u093E \u0938\u0941\u0930\u0915\u094D\u0937\u093F\u0924\u092A\u0923\u0947 \u092A\u093E\u0920\u0935\u0932\u0947 \u091C\u093E\u0924\u093E\u0924.",
|
|
4357
|
+
caseFinalizedMessagesTooltip: "\u0939\u0947 \u092A\u094D\u0930\u0915\u0930\u0923 \u0905\u0902\u0924\u093F\u092E \u091D\u093E\u0932\u0947 \u0906\u0939\u0947 \u2014 \u0906\u0924\u093E \u0938\u0902\u0926\u0947\u0936 \u092A\u093E\u0920\u0935\u0924\u093E \u092F\u0947\u0923\u093E\u0930 \u0928\u093E\u0939\u0940\u0924.",
|
|
4342
4358
|
noMessagesYet: "\u0905\u0926\u094D\u092F\u093E\u092A \u0915\u094B\u0923\u0924\u0947\u0939\u0940 \u0938\u0902\u0926\u0947\u0936 \u0928\u093E\u0939\u0940\u0924",
|
|
4343
4359
|
writeMessagePlaceholder: "\u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0938\u0902\u0918\u093E\u0932\u093E \u0938\u0902\u0926\u0947\u0936 \u0932\u093F\u0939\u093E...",
|
|
4344
4360
|
attachFile: "\u092B\u093E\u0907\u0932 \u091C\u094B\u0921\u093E",
|
|
@@ -4632,6 +4648,7 @@ var translation_default16 = {
|
|
|
4632
4648
|
submitted: "\u092A\u0947\u0936 \u0917\u0930\u093F\u090F\u0915\u094B",
|
|
4633
4649
|
responseDue: "\u092A\u094D\u0930\u0924\u093F\u0915\u094D\u0930\u093F\u092F\u093E \u092C\u093E\u0901\u0915\u0940",
|
|
4634
4650
|
secureMessagesNotice: "\u0924\u092A\u093E\u0908\u0902\u0915\u093E \u0938\u0928\u094D\u0926\u0947\u0936\u0939\u0930\u0942 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u091F\u094B\u0932\u0940\u0932\u093E\u0908 \u092E\u093E\u0924\u094D\u0930 \u0938\u0941\u0930\u0915\u094D\u0937\u093F\u0924 \u0930\u0942\u092A\u092E\u093E \u092A\u0920\u093E\u0907\u0928\u094D\u091B\u0928\u094D\u0964",
|
|
4651
|
+
caseFinalizedMessagesTooltip: "\u092F\u094B \u0915\u0947\u0938 \u0905\u0928\u094D\u0924\u093F\u092E \u092D\u0907\u0938\u0915\u0947\u0915\u094B \u091B \u2014 \u0905\u092C \u0938\u0928\u094D\u0926\u0947\u0936\u0939\u0930\u0942 \u092A\u0920\u093E\u0909\u0928 \u0938\u0915\u093F\u0901\u0926\u0948\u0928\u0964",
|
|
4635
4652
|
noMessagesYet: "\u0905\u0939\u093F\u0932\u0947\u0938\u092E\u094D\u092E \u0915\u0941\u0928\u0948 \u0938\u0928\u094D\u0926\u0947\u0936 \u091B\u0948\u0928",
|
|
4636
4653
|
writeMessagePlaceholder: "\u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u091F\u094B\u0932\u0940\u0932\u093E\u0908 \u0938\u0928\u094D\u0926\u0947\u0936 \u0932\u0947\u0916\u094D\u0928\u0941\u0939\u094B\u0938\u094D...",
|
|
4637
4654
|
attachFile: "\u092B\u093E\u0907\u0932 \u0938\u0902\u0932\u0917\u094D\u0928 \u0917\u0930\u094D\u0928\u0941\u0939\u094B\u0938\u094D",
|
|
@@ -4925,6 +4942,7 @@ var translation_default17 = {
|
|
|
4925
4942
|
submitted: "\u0B26\u0B3E\u0B16\u0B32 \u0B39\u0B4B\u0B07\u0B1B\u0B3F",
|
|
4926
4943
|
responseDue: "\u0B2A\u0B4D\u0B30\u0B24\u0B3F\u0B15\u0B4D\u0B30\u0B3F\u0B5F\u0B3E \u0B2C\u0B3E\u0B15\u0B3F",
|
|
4927
4944
|
secureMessagesNotice: "\u0B06\u0B2A\u0B23\u0B19\u0B4D\u0B15 \u0B38\u0B28\u0B4D\u0B26\u0B47\u0B36 \u0B15\u0B47\u0B2C\u0B33 \u0B17\u0B4B\u0B2A\u0B28\u0B40\u0B5F\u0B24\u0B3E \u0B26\u0B33\u0B15\u0B41 \u0B38\u0B41\u0B30\u0B15\u0B4D\u0B37\u0B3F\u0B24 \u0B2D\u0B3E\u0B2C\u0B47 \u0B2A\u0B20\u0B3E\u0B2F\u0B3E\u0B0F\u0964",
|
|
4945
|
+
caseFinalizedMessagesTooltip: "\u0B0F\u0B39\u0B3F \u0B2E\u0B3E\u0B2E\u0B32\u0B3E \u0B1A\u0B42\u0B21\u0B3C\u0B3E\u0B28\u0B4D\u0B24 \u0B39\u0B4B\u0B07\u0B1B\u0B3F \u2014 \u0B2C\u0B3E\u0B30\u0B4D\u0B24\u0B4D\u0B24\u0B3E \u0B06\u0B09 \u0B2A\u0B20\u0B3E\u0B2F\u0B3E\u0B07 \u0B2A\u0B3E\u0B30\u0B3F\u0B2C \u0B28\u0B3E\u0B39\u0B3F\u0B01\u0964",
|
|
4928
4946
|
noMessagesYet: "\u0B0F\u0B2A\u0B30\u0B4D\u0B2F\u0B4D\u0B5F\u0B28\u0B4D\u0B24 \u0B15\u0B4C\u0B23\u0B38\u0B3F \u0B38\u0B28\u0B4D\u0B26\u0B47\u0B36 \u0B28\u0B3E\u0B39\u0B3F\u0B01",
|
|
4929
4947
|
writeMessagePlaceholder: "\u0B17\u0B4B\u0B2A\u0B28\u0B40\u0B5F\u0B24\u0B3E \u0B26\u0B33\u0B15\u0B41 \u0B38\u0B28\u0B4D\u0B26\u0B47\u0B36 \u0B32\u0B47\u0B16\u0B28\u0B4D\u0B24\u0B41...",
|
|
4930
4948
|
attachFile: "\u0B2B\u0B3E\u0B07\u0B32\u0B4D \u0B38\u0B02\u0B32\u0B17\u0B4D\u0B28 \u0B15\u0B30\u0B28\u0B4D\u0B24\u0B41",
|
|
@@ -5218,6 +5236,7 @@ var translation_default18 = {
|
|
|
5218
5236
|
submitted: "\u0A1C\u0A2E\u0A4D\u0A39\u0A3E\u0A02 \u0A15\u0A40\u0A24\u0A3E",
|
|
5219
5237
|
responseDue: "\u0A1C\u0A35\u0A3E\u0A2C \u0A2C\u0A15\u0A3E\u0A07\u0A06",
|
|
5220
5238
|
secureMessagesNotice: "\u0A24\u0A41\u0A39\u0A3E\u0A21\u0A47 \u0A38\u0A41\u0A28\u0A47\u0A39\u0A47 \u0A38\u0A3F\u0A30\u0A2B\u0A3C \u0A17\u0A4B\u0A2A\u0A28\u0A40\u0A2F\u0A24\u0A3E \u0A1F\u0A40\u0A2E \u0A28\u0A42\u0A70 \u0A38\u0A41\u0A30\u0A71\u0A16\u0A3F\u0A05\u0A24 \u0A22\u0A70\u0A17 \u0A28\u0A3E\u0A32 \u0A2D\u0A47\u0A1C\u0A47 \u0A1C\u0A3E\u0A02\u0A26\u0A47 \u0A39\u0A28\u0964",
|
|
5239
|
+
caseFinalizedMessagesTooltip: "\u0A07\u0A39 \u0A15\u0A47\u0A38 \u0A05\u0A70\u0A24\u0A3F\u0A2E \u0A30\u0A42\u0A2A \u0A26\u0A3F\u0A71\u0A24\u0A3E \u0A1C\u0A3E \u0A1A\u0A41\u0A71\u0A15\u0A3E \u0A39\u0A48 \u2014 \u0A39\u0A41\u0A23 \u0A38\u0A41\u0A28\u0A47\u0A39\u0A47 \u0A28\u0A39\u0A40\u0A02 \u0A2D\u0A47\u0A1C\u0A47 \u0A1C\u0A3E \u0A38\u0A15\u0A26\u0A47\u0964",
|
|
5221
5240
|
noMessagesYet: "\u0A05\u0A1C\u0A47 \u0A15\u0A4B\u0A08 \u0A38\u0A41\u0A28\u0A47\u0A39\u0A47 \u0A28\u0A39\u0A40\u0A02",
|
|
5222
5241
|
writeMessagePlaceholder: "\u0A17\u0A4B\u0A2A\u0A28\u0A40\u0A2F\u0A24\u0A3E \u0A1F\u0A40\u0A2E \u0A28\u0A42\u0A70 \u0A38\u0A41\u0A28\u0A47\u0A39\u0A3E \u0A32\u0A3F\u0A16\u0A4B...",
|
|
5223
5242
|
attachFile: "\u0A2B\u0A3C\u0A3E\u0A08\u0A32 \u0A28\u0A71\u0A25\u0A40 \u0A15\u0A30\u0A4B",
|
|
@@ -5511,6 +5530,7 @@ var translation_default19 = {
|
|
|
5511
5530
|
submitted: "\u092A\u094D\u0930\u0938\u094D\u0924\u0941\u0924\u092E\u094D",
|
|
5512
5531
|
responseDue: "\u092A\u094D\u0930\u0924\u094D\u092F\u0941\u0924\u094D\u0924\u0930\u092E\u094D \u0936\u0947\u0937\u092E\u094D",
|
|
5513
5532
|
secureMessagesNotice: "\u092D\u0935\u0924\u0903 \u0938\u0928\u094D\u0926\u0947\u0936\u093E\u0903 \u0915\u0947\u0935\u0932\u0902 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E-\u0926\u0932\u093E\u092F \u0938\u0941\u0930\u0915\u094D\u0937\u093F\u0924\u0930\u0942\u092A\u0947\u0923 \u092A\u094D\u0930\u0947\u0937\u093F\u0924\u093E\u0903 \u092D\u0935\u0928\u094D\u0924\u093F\u0964",
|
|
5533
|
+
caseFinalizedMessagesTooltip: "\u090F\u0937\u0903 \u0935\u093F\u0937\u092F\u0903 \u0905\u0928\u094D\u0924\u093F\u092E\u0903 \u0915\u0943\u0924\u0903 \u2014 \u0938\u0928\u094D\u0926\u0947\u0936\u093E\u0903 \u0905\u0927\u0941\u0928\u093E \u0928 \u092A\u094D\u0930\u0947\u0937\u092F\u093F\u0924\u0941\u0902 \u0936\u0915\u094D\u092F\u0928\u094D\u0924\u0947\u0964",
|
|
5514
5534
|
noMessagesYet: "\u0905\u0926\u094D\u092F\u093E\u0935\u0927\u093F \u0938\u0928\u094D\u0926\u0947\u0936\u093E\u0903 \u0928 \u0938\u0928\u094D\u0924\u093F",
|
|
5515
5535
|
writeMessagePlaceholder: "\u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E-\u0926\u0932\u093E\u092F \u0938\u0928\u094D\u0926\u0947\u0936\u0902 \u0932\u093F\u0916\u0924\u0941...",
|
|
5516
5536
|
attachFile: "\u0938\u091E\u094D\u091A\u093F\u0915\u093E\u0902 \u0938\u0902\u0932\u0917\u094D\u0928\u092F\u0924\u0941",
|
|
@@ -5804,6 +5824,7 @@ var translation_default20 = {
|
|
|
5804
5824
|
submitted: "\u1C61\u1C5A\u1C62\u1C5F \u1C66\u1C69\u1C6D \u1C5F\u1C60\u1C5F\u1C6B\u1C5F",
|
|
5805
5825
|
responseDue: "\u1C61\u1C5F\u1C63\u1C5F\u1C75 \u1C75\u1C5F\u1C60\u1C64",
|
|
5806
5826
|
secureMessagesNotice: "\u1C5F\u1C62\u1C5F\u1C5C \u1C60\u1C77\u1C5A\u1C75\u1C5A\u1C68 \u1C60\u1C77\u1C5F\u1C5E\u1C64 \u1C5C\u1C73\u1C6F\u1C5A\u1C71\u1C64\u1C6D\u1C5A\u1C5B\u1C5F \u1C74\u1C64\u1C62 \u1C5B\u1C6E \u1C65\u1C69\u1C68\u1C5A\u1C60\u1C77\u1C64\u1C5B \u1C66\u1C5A\u1C68 \u1C5B\u1C6E \u1C60\u1C69\u1C5E \u1C5F\u1C60\u1C5F\u1C6B\u1C5F\u1C7E",
|
|
5827
|
+
caseFinalizedMessagesTooltip: "\u1C71\u1C5A\u1C63\u1C5F \u1C60\u1C6E\u1C65 \u1C62\u1C69\u1C6A\u1C5F\u1C6B \u1C68\u1C6E \u1C62\u1C6E\u1C71\u1C5F\u1C5C\u1C7C\u1C5F \u2014 \u1C71\u1C64\u1C5B\u1C5A\u1C5C \u1C60\u1C77\u1C5A\u1C75\u1C5A\u1C68 \u1C75\u1C77\u1C6E\u1C61 \u1C75\u1C5F\u1C5D \u1C66\u1C69\u1C6D\u1C69\u1C5C\u1C7C\u1C5F\u1C7E",
|
|
5807
5828
|
noMessagesYet: "\u1C71\u1C64\u1C5B \u1C5B\u1C5F\u1C60 \u1C61\u1C5F\u1C66\u1C5F\u1C78 \u1C60\u1C77\u1C5A\u1C75\u1C5A\u1C68 \u1C75\u1C5F\u1C5D",
|
|
5808
5829
|
writeMessagePlaceholder: "\u1C5C\u1C73\u1C6F\u1C5A\u1C71\u1C64\u1C6D\u1C5A\u1C5B\u1C5F \u1C74\u1C64\u1C62 \u1C5B\u1C6E \u1C60\u1C77\u1C5A\u1C75\u1C5A\u1C68 \u1C5A\u1C5E...",
|
|
5809
5830
|
attachFile: "\u1C6F\u1C77\u1C5F\u1C6D\u1C64\u1C5E \u1C5E\u1C5F\u1C5C\u1C5F\u1C63",
|
|
@@ -6097,6 +6118,7 @@ var translation_default21 = {
|
|
|
6097
6118
|
submitted: "\u062C\u0645\u0639 \u06AA\u0631\u0627\u064A\u0648 \u0648\u064A\u0648",
|
|
6098
6119
|
responseDue: "\u062C\u0648\u0627\u0628 \u0648\u0627\u062C\u0628",
|
|
6099
6120
|
secureMessagesNotice: "\u062A\u0648\u0647\u0627\u0646 \u062C\u0627 \u067E\u064A\u063A\u0627\u0645 \u0635\u0631\u0641 \u0631\u0627\u0632\u062F\u0627\u0631\u064A \u067D\u064A\u0645 \u06A9\u064A \u0645\u062D\u0641\u0648\u0638 \u0637\u0631\u064A\u0642\u064A \u0633\u0627\u0646 \u0645\u0648\u06AA\u0644\u064A\u0627 \u0648\u064A\u0646\u062F\u0627 \u0622\u0647\u0646.",
|
|
6121
|
+
caseFinalizedMessagesTooltip: "\u0647\u064A \u06AA\u064A\u0633 \u0645\u06AA\u0645\u0644 \u067F\u064A \u0686\u06AA\u0648 \u0622\u0647\u064A \u2014 \u0647\u0627\u06BB\u064A \u067E\u064A\u063A\u0627\u0645 \u0646\u067F\u0627 \u0645\u0648\u06AA\u0644\u064A \u0633\u06AF\u0647\u062C\u0646.",
|
|
6100
6122
|
noMessagesYet: "\u0627\u0683\u0627 \u062A\u0627\u0626\u064A\u0646 \u06AA\u0648 \u067E\u064A\u063A\u0627\u0645 \u0646\u0627\u0647\u064A",
|
|
6101
6123
|
writeMessagePlaceholder: "\u0631\u0627\u0632\u062F\u0627\u0631\u064A \u067D\u064A\u0645 \u06A9\u064A \u067E\u064A\u063A\u0627\u0645 \u0644\u06A9\u0648...",
|
|
6102
6124
|
attachFile: "\u0641\u0627\u0626\u064A\u0644 \u06B3\u0646\u068D\u064A\u0648",
|
|
@@ -6390,6 +6412,7 @@ var translation_default22 = {
|
|
|
6390
6412
|
submitted: "\u0B9A\u0BAE\u0BB0\u0BCD\u0BAA\u0BCD\u0BAA\u0BBF\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1",
|
|
6391
6413
|
responseDue: "\u0BAA\u0BA4\u0BBF\u0BB2\u0BCD \u0BA8\u0BBF\u0BB2\u0BC1\u0BB5\u0BC8",
|
|
6392
6414
|
secureMessagesNotice: "\u0B89\u0B99\u0BCD\u0B95\u0BB3\u0BCD \u0B9A\u0BC6\u0BAF\u0BCD\u0BA4\u0BBF\u0B95\u0BB3\u0BCD \u0BA4\u0BA9\u0BBF\u0BAF\u0BC1\u0BB0\u0BBF\u0BAE\u0BC8 \u0B95\u0BC1\u0BB4\u0BC1\u0BB5\u0BBF\u0BB1\u0BCD\u0B95\u0BC1 \u0BAE\u0B9F\u0BCD\u0B9F\u0BC1\u0BAE\u0BC7 \u0BAA\u0BBE\u0BA4\u0BC1\u0B95\u0BBE\u0BAA\u0BCD\u0BAA\u0BBE\u0B95 \u0B85\u0BA9\u0BC1\u0BAA\u0BCD\u0BAA\u0BAA\u0BCD\u0BAA\u0B9F\u0BC1\u0B95\u0BBF\u0BA9\u0BCD\u0BB1\u0BA9.",
|
|
6415
|
+
caseFinalizedMessagesTooltip: "\u0B87\u0BA8\u0BCD\u0BA4 \u0BB5\u0BB4\u0B95\u0BCD\u0B95\u0BC1 \u0B87\u0BB1\u0BC1\u0BA4\u0BBF \u0B9A\u0BC6\u0BAF\u0BCD\u0BAF\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BC1\u0BB3\u0BCD\u0BB3\u0BA4\u0BC1 \u2014 \u0B9A\u0BC6\u0BAF\u0BCD\u0BA4\u0BBF\u0B95\u0BB3\u0BC8 \u0B87\u0BA9\u0BBF \u0B85\u0BA9\u0BC1\u0BAA\u0BCD\u0BAA \u0BAE\u0BC1\u0B9F\u0BBF\u0BAF\u0BBE\u0BA4\u0BC1.",
|
|
6393
6416
|
noMessagesYet: "\u0B87\u0BA9\u0BCD\u0BA9\u0BC1\u0BAE\u0BCD \u0B9A\u0BC6\u0BAF\u0BCD\u0BA4\u0BBF\u0B95\u0BB3\u0BCD \u0B87\u0BB2\u0BCD\u0BB2\u0BC8",
|
|
6394
6417
|
writeMessagePlaceholder: "\u0BA4\u0BA9\u0BBF\u0BAF\u0BC1\u0BB0\u0BBF\u0BAE\u0BC8 \u0B95\u0BC1\u0BB4\u0BC1\u0BB5\u0BBF\u0BB1\u0BCD\u0B95\u0BC1 \u0B9A\u0BC6\u0BAF\u0BCD\u0BA4\u0BBF \u0B8E\u0BB4\u0BC1\u0BA4\u0BC1\u0B99\u0BCD\u0B95\u0BB3\u0BCD...",
|
|
6395
6418
|
attachFile: "\u0B95\u0BCB\u0BAA\u0BCD\u0BAA\u0BC1 \u0B87\u0BA3\u0BC8\u0B95\u0BCD\u0B95\u0BB5\u0BC1\u0BAE\u0BCD",
|
|
@@ -6683,6 +6706,7 @@ var translation_default23 = {
|
|
|
6683
6706
|
submitted: "\u0C38\u0C2E\u0C30\u0C4D\u0C2A\u0C3F\u0C02\u0C1A\u0C2C\u0C21\u0C3F\u0C02\u0C26\u0C3F",
|
|
6684
6707
|
responseDue: "\u0C2A\u0C4D\u0C30\u0C24\u0C3F\u0C38\u0C4D\u0C2A\u0C02\u0C26\u0C28 \u0C17\u0C21\u0C41\u0C35\u0C41",
|
|
6685
6708
|
secureMessagesNotice: "\u0C2E\u0C40 \u0C38\u0C02\u0C26\u0C47\u0C36\u0C3E\u0C32\u0C41 \u0C17\u0C4B\u0C2A\u0C4D\u0C2F\u0C24\u0C3E \u0C2C\u0C43\u0C02\u0C26\u0C3E\u0C28\u0C3F\u0C15\u0C3F \u0C2E\u0C3E\u0C24\u0C4D\u0C30\u0C2E\u0C47 \u0C38\u0C41\u0C30\u0C15\u0C4D\u0C37\u0C3F\u0C24\u0C02\u0C17\u0C3E \u0C2A\u0C02\u0C2A\u0C2C\u0C21\u0C24\u0C3E\u0C2F\u0C3F.",
|
|
6709
|
+
caseFinalizedMessagesTooltip: "\u0C08 \u0C15\u0C47\u0C38\u0C41 \u0C16\u0C30\u0C3E\u0C30\u0C41 \u0C1A\u0C47\u0C2F\u0C2C\u0C21\u0C3F\u0C02\u0C26\u0C3F \u2014 \u0C07\u0C15\u0C2A\u0C48 \u0C38\u0C02\u0C26\u0C47\u0C36\u0C3E\u0C32\u0C41 \u0C2A\u0C02\u0C2A\u0C32\u0C47\u0C30\u0C41.",
|
|
6686
6710
|
noMessagesYet: "\u0C07\u0C02\u0C15\u0C3E \u0C38\u0C02\u0C26\u0C47\u0C36\u0C3E\u0C32\u0C41 \u0C32\u0C47\u0C35\u0C41",
|
|
6687
6711
|
writeMessagePlaceholder: "\u0C17\u0C4B\u0C2A\u0C4D\u0C2F\u0C24\u0C3E \u0C2C\u0C43\u0C02\u0C26\u0C3E\u0C28\u0C3F\u0C15\u0C3F \u0C38\u0C02\u0C26\u0C47\u0C36\u0C02 \u0C30\u0C3E\u0C2F\u0C02\u0C21\u0C3F...",
|
|
6688
6712
|
attachFile: "\u0C2B\u0C48\u0C32\u0C4D \u0C1C\u0C4B\u0C21\u0C3F\u0C02\u0C1A\u0C02\u0C21\u0C3F",
|
|
@@ -6976,6 +7000,7 @@ var translation_default24 = {
|
|
|
6976
7000
|
submitted: "\u062C\u0645\u0639 \u06A9\u0631\u0627\u06CC\u0627 \u06AF\u06CC\u0627",
|
|
6977
7001
|
responseDue: "\u062C\u0648\u0627\u0628 \u0648\u0627\u062C\u0628",
|
|
6978
7002
|
secureMessagesNotice: "\u0622\u067E \u06A9\u06D2 \u067E\u06CC\u063A\u0627\u0645\u0627\u062A \u0635\u0631\u0641 \u067E\u0631\u0627\u0626\u06CC\u0648\u06CC\u0633\u06CC \u0679\u06CC\u0645 \u06A9\u0648 \u0645\u062D\u0641\u0648\u0638 \u0637\u0631\u06CC\u0642\u06D2 \u0633\u06D2 \u0628\u06BE\u06CC\u062C\u06D2 \u062C\u0627\u062A\u06D2 \u06C1\u06CC\u06BA\u06D4",
|
|
7003
|
+
caseFinalizedMessagesTooltip: "\u06CC\u06C1 \u06A9\u06CC\u0633 \u0645\u06A9\u0645\u0644 \u06C1\u0648 \u0686\u06A9\u0627 \u06C1\u06D2 \u2014 \u0627\u0628 \u067E\u06CC\u063A\u0627\u0645\u0627\u062A \u0646\u06C1\u06CC\u06BA \u0628\u06BE\u06CC\u062C\u06D2 \u062C\u0627 \u0633\u06A9\u062A\u06D2\u06D4",
|
|
6979
7004
|
noMessagesYet: "\u0627\u0628\u06BE\u06CC \u062A\u06A9 \u06A9\u0648\u0626\u06CC \u067E\u06CC\u063A\u0627\u0645 \u0646\u06C1\u06CC\u06BA",
|
|
6980
7005
|
writeMessagePlaceholder: "\u067E\u0631\u0627\u0626\u06CC\u0648\u06CC\u0633\u06CC \u0679\u06CC\u0645 \u06A9\u0648 \u067E\u06CC\u063A\u0627\u0645 \u0644\u06A9\u06BE\u06CC\u06BA...",
|
|
6981
7006
|
attachFile: "\u0641\u0627\u0626\u0644 \u0645\u0646\u0633\u0644\u06A9 \u06A9\u0631\u06CC\u06BA",
|
|
@@ -10624,7 +10649,8 @@ function PCTooltip({
|
|
|
10624
10649
|
placement = "top",
|
|
10625
10650
|
className = "",
|
|
10626
10651
|
style = {},
|
|
10627
|
-
color = "default"
|
|
10652
|
+
color = "default",
|
|
10653
|
+
triggerStyle
|
|
10628
10654
|
}) {
|
|
10629
10655
|
const [isVisible, setIsVisible] = useState4(false);
|
|
10630
10656
|
const [position, setPosition] = useState4({ top: 0, left: 0 });
|
|
@@ -10698,7 +10724,7 @@ function PCTooltip({
|
|
|
10698
10724
|
ref: triggerRef,
|
|
10699
10725
|
onMouseEnter: () => setIsVisible(true),
|
|
10700
10726
|
onMouseLeave: () => setIsVisible(false),
|
|
10701
|
-
style: { display: "inline-block", width: "100%" },
|
|
10727
|
+
style: { display: "inline-block", width: "100%", ...triggerStyle },
|
|
10702
10728
|
children
|
|
10703
10729
|
}
|
|
10704
10730
|
),
|
|
@@ -11468,7 +11494,6 @@ var GRIEVANCE_TAB_IDS = {
|
|
|
11468
11494
|
COMPLETED: "completed",
|
|
11469
11495
|
REJECTED: "rejected"
|
|
11470
11496
|
};
|
|
11471
|
-
var MAX_DISPLAYED_PURPOSE_NAMES_IN_ERASURE_MODAL = 3;
|
|
11472
11497
|
|
|
11473
11498
|
// src/RedactoPrivacyCenter/components/SideMenuBarPC/constants.tsx
|
|
11474
11499
|
import { Activity, MessageCircleWarning, ShieldCheck } from "lucide-react";
|
|
@@ -11605,6 +11630,13 @@ var STATUS_COLORS = {
|
|
|
11605
11630
|
infoDark: "#1d4ed8",
|
|
11606
11631
|
infoBanner: { color: "#1d4ed8", bg: "#eff6ff", border: "#bfdbfe" }
|
|
11607
11632
|
};
|
|
11633
|
+
var TERMINAL_CASE_STATUSES = ["completed", "rejected", "declined", "expired"];
|
|
11634
|
+
var CASE_FINALIZED_TOOLTIP_KEY = "caseFinalizedMessagesTooltip";
|
|
11635
|
+
var CASE_FINALIZED_TOOLTIP_FALLBACK = "This case is finalized \u2014 messages can no longer be sent.";
|
|
11636
|
+
var useCaseFinalizedTooltip = () => {
|
|
11637
|
+
const { t } = useTranslation2();
|
|
11638
|
+
return t(CASE_FINALIZED_TOOLTIP_KEY, CASE_FINALIZED_TOOLTIP_FALLBACK);
|
|
11639
|
+
};
|
|
11608
11640
|
var UPLOAD_ACTIVE_STATUSES = ["pending", "replacement_requested"];
|
|
11609
11641
|
var DOCUMENT_REQUEST_STATUS_LABEL = {
|
|
11610
11642
|
pending: { labelKey: "docStatusPending", color: STATUS_COLORS.warning.color },
|
|
@@ -17476,6 +17508,15 @@ function PurposeSelectionSection({
|
|
|
17476
17508
|
fontSize: pcStyles.textXs.fontSize,
|
|
17477
17509
|
color: getVar18("--pc-text-secondary")
|
|
17478
17510
|
}, children: requestType === "ACCESS" /* ACCESS */ ? t("whatDataToAccess") : t("whatDataToDelete") }),
|
|
17511
|
+
/* @__PURE__ */ jsx57("p", { style: {
|
|
17512
|
+
marginTop: "0.25rem",
|
|
17513
|
+
marginBottom: "0.5rem",
|
|
17514
|
+
paddingLeft: getVar18("--pc-spacing-sm"),
|
|
17515
|
+
borderLeft: `2px solid ${getVar18("--pc-primary")}`,
|
|
17516
|
+
fontSize: pcStyles.textXs.fontSize,
|
|
17517
|
+
color: getVar18("--pc-text-secondary"),
|
|
17518
|
+
lineHeight: 1.4
|
|
17519
|
+
}, children: t("revocationNotDeletionNote") || "Revoking consent does not delete data the organization already holds. You can still request access to or erasure of this data, including for purposes whose consent you have withdrawn." }),
|
|
17479
17520
|
!isErasure && /* @__PURE__ */ jsx57(
|
|
17480
17521
|
PCCheckbox,
|
|
17481
17522
|
{
|
|
@@ -17906,7 +17947,7 @@ function RequestSubmit({
|
|
|
17906
17947
|
}
|
|
17907
17948
|
|
|
17908
17949
|
// src/RedactoPrivacyCenter/components/Form.tsx
|
|
17909
|
-
import {
|
|
17950
|
+
import { FiChevronDown, FiChevronUp, FiX } from "react-icons/fi";
|
|
17910
17951
|
import { Fragment as Fragment10, jsx as jsx59, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
17911
17952
|
var getVar20 = (varName) => `var(${varName})`;
|
|
17912
17953
|
function Form({
|
|
@@ -17975,8 +18016,6 @@ function Form({
|
|
|
17975
18016
|
const [isLoading, setIsLoading] = useState21(false);
|
|
17976
18017
|
const [isTranslating, setIsTranslating] = useState21(false);
|
|
17977
18018
|
const [isRequestDetailsExpanded, setIsRequestDetailsExpanded] = useState21(true);
|
|
17978
|
-
const [isErasureConsentModalOpen, setIsErasureConsentModalOpen] = useState21(false);
|
|
17979
|
-
const [revokeConsentOnFulfilment, setRevokeConsentOnFulfilment] = useState21(false);
|
|
17980
18019
|
const resetFileInput = () => {
|
|
17981
18020
|
if (fileInputRef.current) {
|
|
17982
18021
|
fileInputRef.current.value = "";
|
|
@@ -17996,7 +18035,7 @@ function Form({
|
|
|
17996
18035
|
const uniqueElements = /* @__PURE__ */ new Map();
|
|
17997
18036
|
extractedPurposes.forEach((purpose) => {
|
|
17998
18037
|
const validDataElements = Array.isArray(purpose.data_elements) ? purpose.data_elements.filter(
|
|
17999
|
-
(element) => element !== null && element !== void 0 && element.uuid
|
|
18038
|
+
(element) => element !== null && element !== void 0 && element.uuid
|
|
18000
18039
|
) : [];
|
|
18001
18040
|
validDataElements.forEach((element) => {
|
|
18002
18041
|
if (element.uuid && !uniqueElements.has(element.uuid)) {
|
|
@@ -18011,7 +18050,7 @@ function Form({
|
|
|
18011
18050
|
Array.from(uniqueElements.values())
|
|
18012
18051
|
);
|
|
18013
18052
|
const processedPurposes = extractedPurposes.map((p) => {
|
|
18014
|
-
const validDataElements = Array.isArray(p.data_elements) ? p.data_elements.filter((de) => de !== null && de !== void 0 && de.
|
|
18053
|
+
const validDataElements = Array.isArray(p.data_elements) ? p.data_elements.filter((de) => de !== null && de !== void 0 && de.uuid).map((de) => ({
|
|
18015
18054
|
...de,
|
|
18016
18055
|
selected: false
|
|
18017
18056
|
})) : [];
|
|
@@ -18103,7 +18142,7 @@ function Form({
|
|
|
18103
18142
|
if ((data == null ? void 0 : data.purposes) && Array.isArray(data.purposes)) {
|
|
18104
18143
|
const extractedPurposes = data.purposes.map((p) => p == null ? void 0 : p.purpose).filter((p) => p !== null && p !== void 0);
|
|
18105
18144
|
const processedPurposes = extractedPurposes.map((p) => {
|
|
18106
|
-
const validDataElements = Array.isArray(p.data_elements) ? p.data_elements.filter((de) => de !== null && de !== void 0 && de.
|
|
18145
|
+
const validDataElements = Array.isArray(p.data_elements) ? p.data_elements.filter((de) => de !== null && de !== void 0 && de.uuid).map((de) => ({
|
|
18107
18146
|
...de,
|
|
18108
18147
|
selected: false
|
|
18109
18148
|
})) : [];
|
|
@@ -18241,36 +18280,12 @@ function Form({
|
|
|
18241
18280
|
}
|
|
18242
18281
|
return translatedName;
|
|
18243
18282
|
}, [data]);
|
|
18244
|
-
const selectedErasurePurposeList = useMemo13(
|
|
18245
|
-
() => erasurePurposes.filter((p) => p.selected || p.data_elements.some((de) => de.selected)).map((p) => p.name).filter(Boolean),
|
|
18246
|
-
[erasurePurposes]
|
|
18247
|
-
);
|
|
18248
|
-
const selectedErasurePurposeNames = useMemo13(() => {
|
|
18249
|
-
if (selectedErasurePurposeList.length === 0 || selectedErasurePurposeList.length > MAX_DISPLAYED_PURPOSE_NAMES_IN_ERASURE_MODAL) {
|
|
18250
|
-
return t("revokeConsentModalYourPurposes");
|
|
18251
|
-
}
|
|
18252
|
-
return selectedErasurePurposeList.join(", ");
|
|
18253
|
-
}, [selectedErasurePurposeList, t]);
|
|
18254
18283
|
const handleSubmitClick = () => {
|
|
18255
18284
|
if (!isFormValid) {
|
|
18256
18285
|
return;
|
|
18257
18286
|
}
|
|
18258
|
-
;
|
|
18259
|
-
if (requestType === "erasure" /* ERASURE */) {
|
|
18260
|
-
setIsErasureConsentModalOpen(true);
|
|
18261
|
-
return;
|
|
18262
|
-
}
|
|
18263
|
-
setRevokeConsentOnFulfilment(false);
|
|
18264
18287
|
void handleSubmit(false);
|
|
18265
18288
|
};
|
|
18266
|
-
const handleErasureModalChoice = (revoke) => {
|
|
18267
|
-
setRevokeConsentOnFulfilment(revoke);
|
|
18268
|
-
setIsErasureConsentModalOpen(false);
|
|
18269
|
-
void handleSubmit(revoke);
|
|
18270
|
-
};
|
|
18271
|
-
const handleErasureModalClose = () => {
|
|
18272
|
-
setIsErasureConsentModalOpen(false);
|
|
18273
|
-
};
|
|
18274
18289
|
const handleSubmit = async (revokeConsent = false) => {
|
|
18275
18290
|
var _a2;
|
|
18276
18291
|
if (!isFormValid) {
|
|
@@ -18564,647 +18579,592 @@ function Form({
|
|
|
18564
18579
|
setIsVerifyingContact(false);
|
|
18565
18580
|
}
|
|
18566
18581
|
};
|
|
18567
|
-
return /* @__PURE__ */
|
|
18568
|
-
|
|
18569
|
-
|
|
18582
|
+
return /* @__PURE__ */ jsx59(Fragment10, { children: isSubmitted && !isPopup ? /* @__PURE__ */ jsx59(
|
|
18583
|
+
RequestSubmit,
|
|
18584
|
+
{
|
|
18585
|
+
caseId: caseId || "",
|
|
18586
|
+
contact: formData == null ? void 0 : formData.contact,
|
|
18587
|
+
onCreateRequest
|
|
18588
|
+
}
|
|
18589
|
+
) : /* @__PURE__ */ jsx59("div", { children: /* @__PURE__ */ jsxs38("div", { children: [
|
|
18590
|
+
!isPopup && /* @__PURE__ */ jsx59("p", { style: {
|
|
18591
|
+
marginTop: 0,
|
|
18592
|
+
marginBottom: getVar20("--pc-spacing-sm"),
|
|
18593
|
+
lineHeight: 1.5,
|
|
18594
|
+
fontSize: pcStyles.textSm.fontSize,
|
|
18595
|
+
color: getVar20("--pc-text-secondary")
|
|
18596
|
+
}, children: t("description") }),
|
|
18597
|
+
/* @__PURE__ */ jsx59(
|
|
18598
|
+
"div",
|
|
18570
18599
|
{
|
|
18571
|
-
|
|
18572
|
-
|
|
18573
|
-
|
|
18574
|
-
|
|
18575
|
-
|
|
18576
|
-
|
|
18577
|
-
|
|
18578
|
-
|
|
18579
|
-
|
|
18580
|
-
|
|
18581
|
-
|
|
18582
|
-
|
|
18583
|
-
|
|
18584
|
-
|
|
18585
|
-
|
|
18586
|
-
|
|
18587
|
-
|
|
18588
|
-
|
|
18589
|
-
|
|
18590
|
-
|
|
18591
|
-
|
|
18592
|
-
|
|
18593
|
-
|
|
18594
|
-
|
|
18595
|
-
|
|
18596
|
-
|
|
18597
|
-
|
|
18598
|
-
|
|
18599
|
-
|
|
18600
|
+
style: {
|
|
18601
|
+
backgroundColor: getVar20("--pc-bg-primary"),
|
|
18602
|
+
...isPopup ? {
|
|
18603
|
+
marginTop: 0,
|
|
18604
|
+
marginBottom: 0,
|
|
18605
|
+
borderRadius: pcStyles.borderRadiusXl
|
|
18606
|
+
} : {
|
|
18607
|
+
marginTop: pcStyles.mtSm.marginTop,
|
|
18608
|
+
marginBottom: pcStyles.mbSm.marginBottom,
|
|
18609
|
+
borderRadius: pcStyles.borderRadiusXl,
|
|
18610
|
+
border: `1px solid ${getVar20("--pc-border-color")}`,
|
|
18611
|
+
boxShadow: getVar20("--pc-shadow-sm")
|
|
18612
|
+
}
|
|
18613
|
+
},
|
|
18614
|
+
children: /* @__PURE__ */ jsxs38(FormBlockWrapper, { inputClassName: "mx-auto", children: [
|
|
18615
|
+
/* @__PURE__ */ jsxs38(
|
|
18616
|
+
"div",
|
|
18617
|
+
{
|
|
18618
|
+
style: {
|
|
18619
|
+
...pcStyles.flex,
|
|
18620
|
+
...pcStyles.itemsCenter,
|
|
18621
|
+
...pcStyles.justifyBetween,
|
|
18622
|
+
backgroundColor: `var(--pc-bg-secondary)`,
|
|
18623
|
+
padding: getVar20("--pc-spacing-md"),
|
|
18624
|
+
width: "100%",
|
|
18625
|
+
overflow: "visible",
|
|
18626
|
+
...isPopup ? {
|
|
18627
|
+
position: "sticky",
|
|
18628
|
+
top: 0,
|
|
18629
|
+
zIndex: 20,
|
|
18630
|
+
borderBottom: `1px solid var(--pc-border-color)`
|
|
18631
|
+
} : {
|
|
18632
|
+
position: "relative",
|
|
18633
|
+
borderRadius: `${getVar20("--pc-border-radius-lg")} ${getVar20("--pc-border-radius-lg")} 0 0`
|
|
18634
|
+
}
|
|
18635
|
+
},
|
|
18636
|
+
className: "pc-padding-responsive",
|
|
18637
|
+
children: [
|
|
18638
|
+
/* @__PURE__ */ jsx59("p", { style: {
|
|
18639
|
+
fontSize: pcStyles.textSm.fontSize,
|
|
18640
|
+
fontWeight: pcStyles.fontWeightSemibold.fontWeight,
|
|
18641
|
+
color: `var(--pc-text-primary)`,
|
|
18642
|
+
margin: 0,
|
|
18643
|
+
whiteSpace: "nowrap",
|
|
18644
|
+
flexShrink: 0,
|
|
18645
|
+
flexGrow: 0
|
|
18646
|
+
}, className: "pc-text-responsive", children: t("raiseDataRequest") }),
|
|
18647
|
+
isPopup && /* @__PURE__ */ jsx59(
|
|
18648
|
+
PCButton,
|
|
18649
|
+
{
|
|
18650
|
+
variant: "text",
|
|
18651
|
+
onClick: onClose,
|
|
18652
|
+
style: { padding: 0, flexShrink: 0, marginLeft: "auto" },
|
|
18653
|
+
children: /* @__PURE__ */ jsx59(FiX, { size: 20 })
|
|
18654
|
+
}
|
|
18655
|
+
)
|
|
18656
|
+
]
|
|
18600
18657
|
}
|
|
18601
|
-
|
|
18602
|
-
|
|
18603
|
-
|
|
18604
|
-
|
|
18605
|
-
{
|
|
18606
|
-
|
|
18658
|
+
),
|
|
18659
|
+
/* @__PURE__ */ jsxs38(
|
|
18660
|
+
"div",
|
|
18661
|
+
{
|
|
18662
|
+
style: {
|
|
18663
|
+
...pcStyles.flex,
|
|
18664
|
+
...pcStyles.flexCol,
|
|
18665
|
+
gap: getVar20("--pc-spacing-lg"),
|
|
18666
|
+
padding: getVar20("--pc-spacing-lg")
|
|
18667
|
+
},
|
|
18668
|
+
className: "pc-padding-responsive pc-spacing-responsive",
|
|
18669
|
+
children: [
|
|
18670
|
+
/* @__PURE__ */ jsxs38("div", { style: {
|
|
18607
18671
|
...pcStyles.flex,
|
|
18608
|
-
...pcStyles.itemsCenter,
|
|
18609
|
-
...pcStyles.justifyBetween,
|
|
18610
|
-
backgroundColor: `var(--pc-bg-secondary)`,
|
|
18611
|
-
padding: getVar20("--pc-spacing-md"),
|
|
18612
18672
|
width: "100%",
|
|
18613
|
-
|
|
18614
|
-
|
|
18615
|
-
|
|
18616
|
-
|
|
18617
|
-
zIndex: 20,
|
|
18618
|
-
borderBottom: `1px solid var(--pc-border-color)`
|
|
18619
|
-
} : {
|
|
18620
|
-
position: "relative",
|
|
18621
|
-
borderRadius: `${getVar20("--pc-border-radius-lg")} ${getVar20("--pc-border-radius-lg")} 0 0`
|
|
18622
|
-
}
|
|
18623
|
-
},
|
|
18624
|
-
className: "pc-padding-responsive",
|
|
18625
|
-
children: [
|
|
18626
|
-
/* @__PURE__ */ jsx59("p", { style: {
|
|
18627
|
-
fontSize: pcStyles.textSm.fontSize,
|
|
18628
|
-
fontWeight: pcStyles.fontWeightSemibold.fontWeight,
|
|
18629
|
-
color: `var(--pc-text-primary)`,
|
|
18630
|
-
margin: 0,
|
|
18631
|
-
whiteSpace: "nowrap",
|
|
18632
|
-
flexShrink: 0,
|
|
18633
|
-
flexGrow: 0
|
|
18634
|
-
}, className: "pc-text-responsive", children: t("raiseDataRequest") }),
|
|
18635
|
-
isPopup && /* @__PURE__ */ jsx59(
|
|
18636
|
-
PCButton,
|
|
18637
|
-
{
|
|
18638
|
-
variant: "text",
|
|
18639
|
-
onClick: onClose,
|
|
18640
|
-
style: { padding: 0, flexShrink: 0, marginLeft: "auto" },
|
|
18641
|
-
children: /* @__PURE__ */ jsx59(FiX, { size: 20 })
|
|
18642
|
-
}
|
|
18643
|
-
)
|
|
18644
|
-
]
|
|
18645
|
-
}
|
|
18646
|
-
),
|
|
18647
|
-
/* @__PURE__ */ jsxs38(
|
|
18648
|
-
"div",
|
|
18649
|
-
{
|
|
18650
|
-
style: {
|
|
18651
|
-
...pcStyles.flex,
|
|
18652
|
-
...pcStyles.flexCol,
|
|
18653
|
-
gap: getVar20("--pc-spacing-lg"),
|
|
18654
|
-
padding: getVar20("--pc-spacing-lg")
|
|
18655
|
-
},
|
|
18656
|
-
className: "pc-padding-responsive pc-spacing-responsive",
|
|
18657
|
-
children: [
|
|
18658
|
-
/* @__PURE__ */ jsxs38("div", { style: {
|
|
18659
|
-
...pcStyles.flex,
|
|
18660
|
-
width: "100%",
|
|
18661
|
-
...pcStyles.itemsEnd,
|
|
18662
|
-
gap: getVar20("--pc-spacing-sm"),
|
|
18663
|
-
flexWrap: "wrap"
|
|
18664
|
-
}, children: [
|
|
18665
|
-
/* @__PURE__ */ jsx59(
|
|
18666
|
-
PCInput,
|
|
18667
|
-
{
|
|
18668
|
-
style: { flex: 1, minWidth: "200px" },
|
|
18669
|
-
label: /* @__PURE__ */ jsxs38("span", { children: [
|
|
18670
|
-
t("contact"),
|
|
18671
|
-
/* @__PURE__ */ jsx59("span", { style: { color: getVar20("--pc-error") }, children: "*" })
|
|
18672
|
-
] }),
|
|
18673
|
-
placeholder: t("contactPlaceholder"),
|
|
18674
|
-
value: formData.contact,
|
|
18675
|
-
readOnly: !isPopup,
|
|
18676
|
-
onChange: (e) => {
|
|
18677
|
-
if (!isPopup) {
|
|
18678
|
-
return;
|
|
18679
|
-
}
|
|
18680
|
-
;
|
|
18681
|
-
setFormData({
|
|
18682
|
-
...formData,
|
|
18683
|
-
contact: e.target.value
|
|
18684
|
-
});
|
|
18685
|
-
setIsPopupFormEnabled(false);
|
|
18686
|
-
}
|
|
18687
|
-
}
|
|
18688
|
-
),
|
|
18689
|
-
isPopup && !isPopupFormEnabled && /* @__PURE__ */ jsx59("div", { style: { ...pcStyles.flex, ...pcStyles.justifyEnd }, children: /* @__PURE__ */ jsx59(
|
|
18690
|
-
PCButton,
|
|
18691
|
-
{
|
|
18692
|
-
size: "sm",
|
|
18693
|
-
onClick: handleVerifyContact,
|
|
18694
|
-
style: { height: "2.25rem", flexShrink: 0 },
|
|
18695
|
-
disabled: !formData.contact || isVerifyingContact,
|
|
18696
|
-
children: isVerifyingContact ? t("verifying") : t("verify")
|
|
18697
|
-
}
|
|
18698
|
-
) })
|
|
18699
|
-
] }),
|
|
18673
|
+
...pcStyles.itemsEnd,
|
|
18674
|
+
gap: getVar20("--pc-spacing-sm"),
|
|
18675
|
+
flexWrap: "wrap"
|
|
18676
|
+
}, children: [
|
|
18700
18677
|
/* @__PURE__ */ jsx59(
|
|
18701
|
-
|
|
18678
|
+
PCInput,
|
|
18702
18679
|
{
|
|
18680
|
+
style: { flex: 1, minWidth: "200px" },
|
|
18703
18681
|
label: /* @__PURE__ */ jsxs38("span", { children: [
|
|
18704
|
-
t("
|
|
18682
|
+
t("contact"),
|
|
18705
18683
|
/* @__PURE__ */ jsx59("span", { style: { color: getVar20("--pc-error") }, children: "*" })
|
|
18706
18684
|
] }),
|
|
18707
|
-
|
|
18708
|
-
|
|
18709
|
-
|
|
18710
|
-
|
|
18711
|
-
|
|
18712
|
-
|
|
18713
|
-
label: requestTypeLabels[type]
|
|
18714
|
-
})).find((opt) => opt.value === requestType) || null,
|
|
18715
|
-
onChange: (value) => {
|
|
18716
|
-
if (value) {
|
|
18717
|
-
setRequestType(value.value);
|
|
18718
|
-
setTimePeriod("");
|
|
18719
|
-
setIsRequestDetailsExpanded(true);
|
|
18685
|
+
placeholder: t("contactPlaceholder"),
|
|
18686
|
+
value: formData.contact,
|
|
18687
|
+
readOnly: !isPopup,
|
|
18688
|
+
onChange: (e) => {
|
|
18689
|
+
if (!isPopup) {
|
|
18690
|
+
return;
|
|
18720
18691
|
}
|
|
18721
|
-
|
|
18722
|
-
|
|
18723
|
-
|
|
18692
|
+
;
|
|
18693
|
+
setFormData({
|
|
18694
|
+
...formData,
|
|
18695
|
+
contact: e.target.value
|
|
18696
|
+
});
|
|
18697
|
+
setIsPopupFormEnabled(false);
|
|
18698
|
+
}
|
|
18724
18699
|
}
|
|
18725
18700
|
),
|
|
18726
|
-
/* @__PURE__ */
|
|
18727
|
-
|
|
18701
|
+
isPopup && !isPopupFormEnabled && /* @__PURE__ */ jsx59("div", { style: { ...pcStyles.flex, ...pcStyles.justifyEnd }, children: /* @__PURE__ */ jsx59(
|
|
18702
|
+
PCButton,
|
|
18728
18703
|
{
|
|
18729
|
-
|
|
18730
|
-
|
|
18731
|
-
|
|
18732
|
-
|
|
18733
|
-
|
|
18734
|
-
backgroundColor: getVar20("--pc-bg-secondary"),
|
|
18735
|
-
overflow: "hidden",
|
|
18736
|
-
...isPopup && !isPopupFormEnabled ? {
|
|
18737
|
-
pointerEvents: "none",
|
|
18738
|
-
opacity: 0.6
|
|
18739
|
-
} : {}
|
|
18740
|
-
},
|
|
18741
|
-
children: [
|
|
18742
|
-
/* @__PURE__ */ jsxs38("div", { style: {
|
|
18743
|
-
...pcStyles.flex,
|
|
18744
|
-
...pcStyles.itemsCenter,
|
|
18745
|
-
...pcStyles.justifyBetween,
|
|
18746
|
-
padding: getVar20("--pc-spacing-md"),
|
|
18747
|
-
borderBottom: isRequestDetailsExpanded ? `1px solid ${getVar20("--pc-border-color")}` : "none"
|
|
18748
|
-
}, children: [
|
|
18749
|
-
/* @__PURE__ */ jsxs38("p", { style: {
|
|
18750
|
-
fontWeight: pcStyles.fontWeightSemibold.fontWeight,
|
|
18751
|
-
color: `var(--pc-text-primary)`,
|
|
18752
|
-
fontSize: pcStyles.textSm.fontSize,
|
|
18753
|
-
margin: 0
|
|
18754
|
-
}, children: [
|
|
18755
|
-
t("requestDetails"),
|
|
18756
|
-
" ",
|
|
18757
|
-
/* @__PURE__ */ jsx59("span", { style: { color: getVar20("--pc-error") }, children: "*" })
|
|
18758
|
-
] }),
|
|
18759
|
-
/* @__PURE__ */ jsx59(
|
|
18760
|
-
PCButton,
|
|
18761
|
-
{
|
|
18762
|
-
variant: "text",
|
|
18763
|
-
size: "sm",
|
|
18764
|
-
style: { height: "auto", padding: 0, color: "var(--pc-text-secondary)", flexShrink: 0 },
|
|
18765
|
-
onClick: () => setIsRequestDetailsExpanded(
|
|
18766
|
-
!isRequestDetailsExpanded
|
|
18767
|
-
),
|
|
18768
|
-
children: isRequestDetailsExpanded ? /* @__PURE__ */ jsx59(FiChevronUp, { size: 20 }) : /* @__PURE__ */ jsx59(FiChevronDown, { size: 20 })
|
|
18769
|
-
}
|
|
18770
|
-
)
|
|
18771
|
-
] }),
|
|
18772
|
-
isRequestDetailsExpanded && /* @__PURE__ */ jsx59("div", { style: {
|
|
18773
|
-
padding: getVar20("--pc-spacing-md")
|
|
18774
|
-
}, children: requestType === "ACCESS" /* ACCESS */ || requestType === "erasure" /* ERASURE */ ? /* @__PURE__ */ jsx59(
|
|
18775
|
-
PurposeSelectionSection,
|
|
18776
|
-
{
|
|
18777
|
-
purposes: requestType === "ACCESS" /* ACCESS */ ? accessPurposes : erasurePurposes,
|
|
18778
|
-
setPurposes: requestType === "ACCESS" /* ACCESS */ ? setAccessPurposes : setErasurePurposes,
|
|
18779
|
-
requestType,
|
|
18780
|
-
isTranslating
|
|
18781
|
-
}
|
|
18782
|
-
) : requestType === "CORRECTION" /* CORRECTION */ ? /* @__PURE__ */ jsx59(
|
|
18783
|
-
CorrectionDataSection,
|
|
18784
|
-
{
|
|
18785
|
-
dataElements: uniqueDataElements,
|
|
18786
|
-
selected: selectedCorrectionElements,
|
|
18787
|
-
setSelected: setSelectedCorrectionElements,
|
|
18788
|
-
correctionValues,
|
|
18789
|
-
setCorrectionValues,
|
|
18790
|
-
isTranslating
|
|
18791
|
-
}
|
|
18792
|
-
) : requestType === "grievance" /* GRIEVANCE */ ? /* @__PURE__ */ jsx59(
|
|
18793
|
-
GrievanceDataSection,
|
|
18794
|
-
{
|
|
18795
|
-
grievanceOptions,
|
|
18796
|
-
selectedGrievances,
|
|
18797
|
-
setSelectedGrievances,
|
|
18798
|
-
isTranslating
|
|
18799
|
-
}
|
|
18800
|
-
) : requestType === "nomination" /* NOMINATION */ ? /* @__PURE__ */ jsx59(
|
|
18801
|
-
NominationDataSection,
|
|
18802
|
-
{
|
|
18803
|
-
nominationData,
|
|
18804
|
-
setNominationData,
|
|
18805
|
-
isTranslating
|
|
18806
|
-
}
|
|
18807
|
-
) : /* @__PURE__ */ jsx59(
|
|
18808
|
-
"div",
|
|
18809
|
-
{
|
|
18810
|
-
style: {
|
|
18811
|
-
color: getVar20("--pc-text-secondary"),
|
|
18812
|
-
...isPopup ? {
|
|
18813
|
-
padding: getVar20("--pc-spacing-md")
|
|
18814
|
-
} : {
|
|
18815
|
-
...pcStyles.flex,
|
|
18816
|
-
height: "8rem",
|
|
18817
|
-
...pcStyles.itemsCenter,
|
|
18818
|
-
...pcStyles.justifyCenter,
|
|
18819
|
-
padding: getVar20("--pc-spacing-lg")
|
|
18820
|
-
},
|
|
18821
|
-
textAlign: "center"
|
|
18822
|
-
},
|
|
18823
|
-
children: t("selectRequestType")
|
|
18824
|
-
}
|
|
18825
|
-
) })
|
|
18826
|
-
]
|
|
18704
|
+
size: "sm",
|
|
18705
|
+
onClick: handleVerifyContact,
|
|
18706
|
+
style: { height: "2.25rem", flexShrink: 0 },
|
|
18707
|
+
disabled: !formData.contact || isVerifyingContact,
|
|
18708
|
+
children: isVerifyingContact ? t("verifying") : t("verify")
|
|
18827
18709
|
}
|
|
18828
|
-
)
|
|
18829
|
-
|
|
18830
|
-
|
|
18831
|
-
|
|
18832
|
-
|
|
18710
|
+
) })
|
|
18711
|
+
] }),
|
|
18712
|
+
/* @__PURE__ */ jsx59(
|
|
18713
|
+
PCSelect,
|
|
18714
|
+
{
|
|
18715
|
+
label: /* @__PURE__ */ jsxs38("span", { children: [
|
|
18716
|
+
t("requestType"),
|
|
18717
|
+
/* @__PURE__ */ jsx59("span", { style: { color: getVar20("--pc-error") }, children: "*" })
|
|
18718
|
+
] }),
|
|
18719
|
+
options: Object.values(RequestTypeEnum).map((type) => ({
|
|
18720
|
+
value: type,
|
|
18721
|
+
label: requestTypeLabels[type]
|
|
18722
|
+
})),
|
|
18723
|
+
value: Object.values(RequestTypeEnum).map((type) => ({
|
|
18724
|
+
value: type,
|
|
18725
|
+
label: requestTypeLabels[type]
|
|
18726
|
+
})).find((opt) => opt.value === requestType) || null,
|
|
18727
|
+
onChange: (value) => {
|
|
18728
|
+
if (value) {
|
|
18729
|
+
setRequestType(value.value);
|
|
18730
|
+
setTimePeriod("");
|
|
18731
|
+
setIsRequestDetailsExpanded(true);
|
|
18732
|
+
}
|
|
18733
|
+
},
|
|
18734
|
+
placeholder: t("selectRequestType"),
|
|
18735
|
+
disabled: isPopup && !isPopupFormEnabled
|
|
18736
|
+
}
|
|
18737
|
+
),
|
|
18738
|
+
/* @__PURE__ */ jsxs38(
|
|
18739
|
+
"div",
|
|
18740
|
+
{
|
|
18741
|
+
style: {
|
|
18742
|
+
...pcStyles.flex,
|
|
18743
|
+
...pcStyles.flexCol,
|
|
18744
|
+
borderRadius: pcStyles.borderRadiusLg,
|
|
18745
|
+
border: `1px solid ${getVar20("--pc-border-color")}`,
|
|
18746
|
+
backgroundColor: getVar20("--pc-bg-secondary"),
|
|
18747
|
+
overflow: "hidden",
|
|
18748
|
+
...isPopup && !isPopupFormEnabled ? {
|
|
18749
|
+
pointerEvents: "none",
|
|
18750
|
+
opacity: 0.6
|
|
18751
|
+
} : {}
|
|
18752
|
+
},
|
|
18753
|
+
children: [
|
|
18754
|
+
/* @__PURE__ */ jsxs38("div", { style: {
|
|
18833
18755
|
...pcStyles.flex,
|
|
18834
|
-
...pcStyles.
|
|
18835
|
-
|
|
18836
|
-
|
|
18837
|
-
|
|
18838
|
-
|
|
18839
|
-
|
|
18840
|
-
},
|
|
18841
|
-
children: [
|
|
18842
|
-
/* @__PURE__ */ jsx59("p", { style: {
|
|
18756
|
+
...pcStyles.itemsCenter,
|
|
18757
|
+
...pcStyles.justifyBetween,
|
|
18758
|
+
padding: getVar20("--pc-spacing-md"),
|
|
18759
|
+
borderBottom: isRequestDetailsExpanded ? `1px solid ${getVar20("--pc-border-color")}` : "none"
|
|
18760
|
+
}, children: [
|
|
18761
|
+
/* @__PURE__ */ jsxs38("p", { style: {
|
|
18843
18762
|
fontWeight: pcStyles.fontWeightSemibold.fontWeight,
|
|
18844
18763
|
color: `var(--pc-text-primary)`,
|
|
18845
18764
|
fontSize: pcStyles.textSm.fontSize,
|
|
18846
18765
|
margin: 0
|
|
18847
|
-
}, children:
|
|
18766
|
+
}, children: [
|
|
18767
|
+
t("requestDetails"),
|
|
18768
|
+
" ",
|
|
18769
|
+
/* @__PURE__ */ jsx59("span", { style: { color: getVar20("--pc-error") }, children: "*" })
|
|
18770
|
+
] }),
|
|
18848
18771
|
/* @__PURE__ */ jsx59(
|
|
18849
|
-
|
|
18772
|
+
PCButton,
|
|
18850
18773
|
{
|
|
18851
|
-
|
|
18852
|
-
|
|
18853
|
-
|
|
18854
|
-
|
|
18855
|
-
|
|
18774
|
+
variant: "text",
|
|
18775
|
+
size: "sm",
|
|
18776
|
+
style: { height: "auto", padding: 0, color: "var(--pc-text-secondary)", flexShrink: 0 },
|
|
18777
|
+
onClick: () => setIsRequestDetailsExpanded(
|
|
18778
|
+
!isRequestDetailsExpanded
|
|
18779
|
+
),
|
|
18780
|
+
children: isRequestDetailsExpanded ? /* @__PURE__ */ jsx59(FiChevronUp, { size: 20 }) : /* @__PURE__ */ jsx59(FiChevronDown, { size: 20 })
|
|
18856
18781
|
}
|
|
18857
|
-
)
|
|
18858
|
-
|
|
18859
|
-
|
|
18860
|
-
|
|
18861
|
-
|
|
18782
|
+
)
|
|
18783
|
+
] }),
|
|
18784
|
+
isRequestDetailsExpanded && /* @__PURE__ */ jsx59("div", { style: {
|
|
18785
|
+
padding: getVar20("--pc-spacing-md")
|
|
18786
|
+
}, children: requestType === "ACCESS" /* ACCESS */ || requestType === "erasure" /* ERASURE */ ? /* @__PURE__ */ jsx59(
|
|
18787
|
+
PurposeSelectionSection,
|
|
18788
|
+
{
|
|
18789
|
+
purposes: requestType === "ACCESS" /* ACCESS */ ? accessPurposes : erasurePurposes,
|
|
18790
|
+
setPurposes: requestType === "ACCESS" /* ACCESS */ ? setAccessPurposes : setErasurePurposes,
|
|
18791
|
+
requestType,
|
|
18792
|
+
isTranslating
|
|
18793
|
+
}
|
|
18794
|
+
) : requestType === "CORRECTION" /* CORRECTION */ ? /* @__PURE__ */ jsx59(
|
|
18795
|
+
CorrectionDataSection,
|
|
18796
|
+
{
|
|
18797
|
+
dataElements: uniqueDataElements,
|
|
18798
|
+
selected: selectedCorrectionElements,
|
|
18799
|
+
setSelected: setSelectedCorrectionElements,
|
|
18800
|
+
correctionValues,
|
|
18801
|
+
setCorrectionValues,
|
|
18802
|
+
isTranslating
|
|
18803
|
+
}
|
|
18804
|
+
) : requestType === "grievance" /* GRIEVANCE */ ? /* @__PURE__ */ jsx59(
|
|
18805
|
+
GrievanceDataSection,
|
|
18806
|
+
{
|
|
18807
|
+
grievanceOptions,
|
|
18808
|
+
selectedGrievances,
|
|
18809
|
+
setSelectedGrievances,
|
|
18810
|
+
isTranslating
|
|
18811
|
+
}
|
|
18812
|
+
) : requestType === "nomination" /* NOMINATION */ ? /* @__PURE__ */ jsx59(
|
|
18813
|
+
NominationDataSection,
|
|
18814
|
+
{
|
|
18815
|
+
nominationData,
|
|
18816
|
+
setNominationData,
|
|
18817
|
+
isTranslating
|
|
18818
|
+
}
|
|
18819
|
+
) : /* @__PURE__ */ jsx59(
|
|
18820
|
+
"div",
|
|
18821
|
+
{
|
|
18822
|
+
style: {
|
|
18823
|
+
color: getVar20("--pc-text-secondary"),
|
|
18824
|
+
...isPopup ? {
|
|
18825
|
+
padding: getVar20("--pc-spacing-md")
|
|
18826
|
+
} : {
|
|
18862
18827
|
...pcStyles.flex,
|
|
18863
|
-
|
|
18864
|
-
...pcStyles.
|
|
18865
|
-
|
|
18866
|
-
|
|
18867
|
-
backgroundColor: `var(--pc-bg-secondary)`,
|
|
18868
|
-
padding: getVar20("--pc-spacing-md"),
|
|
18869
|
-
minHeight: "100px",
|
|
18870
|
-
...isPopup ? {
|
|
18871
|
-
gap: "0.5rem",
|
|
18872
|
-
...pcStyles.overflowYAuto
|
|
18873
|
-
} : {
|
|
18874
|
-
gap: getVar20("--pc-spacing-sm")
|
|
18875
|
-
}
|
|
18828
|
+
height: "8rem",
|
|
18829
|
+
...pcStyles.itemsCenter,
|
|
18830
|
+
...pcStyles.justifyCenter,
|
|
18831
|
+
padding: getVar20("--pc-spacing-lg")
|
|
18876
18832
|
},
|
|
18877
|
-
|
|
18878
|
-
|
|
18879
|
-
|
|
18880
|
-
|
|
18881
|
-
|
|
18882
|
-
|
|
18883
|
-
|
|
18884
|
-
|
|
18885
|
-
|
|
18886
|
-
|
|
18887
|
-
|
|
18888
|
-
|
|
18889
|
-
|
|
18890
|
-
|
|
18891
|
-
|
|
18892
|
-
|
|
18893
|
-
|
|
18894
|
-
|
|
18895
|
-
|
|
18896
|
-
|
|
18897
|
-
|
|
18898
|
-
|
|
18899
|
-
|
|
18900
|
-
|
|
18901
|
-
|
|
18902
|
-
|
|
18903
|
-
|
|
18904
|
-
|
|
18905
|
-
|
|
18906
|
-
|
|
18907
|
-
|
|
18908
|
-
|
|
18909
|
-
|
|
18910
|
-
|
|
18911
|
-
|
|
18912
|
-
|
|
18913
|
-
|
|
18914
|
-
|
|
18915
|
-
|
|
18916
|
-
|
|
18917
|
-
|
|
18918
|
-
|
|
18919
|
-
|
|
18920
|
-
|
|
18921
|
-
|
|
18922
|
-
|
|
18923
|
-
|
|
18924
|
-
|
|
18925
|
-
|
|
18926
|
-
|
|
18927
|
-
|
|
18928
|
-
|
|
18929
|
-
|
|
18930
|
-
|
|
18931
|
-
|
|
18932
|
-
|
|
18933
|
-
|
|
18934
|
-
|
|
18935
|
-
|
|
18936
|
-
|
|
18937
|
-
|
|
18938
|
-
|
|
18939
|
-
|
|
18940
|
-
|
|
18941
|
-
|
|
18942
|
-
|
|
18943
|
-
|
|
18944
|
-
|
|
18945
|
-
|
|
18946
|
-
|
|
18947
|
-
|
|
18948
|
-
|
|
18949
|
-
|
|
18950
|
-
|
|
18833
|
+
textAlign: "center"
|
|
18834
|
+
},
|
|
18835
|
+
children: t("selectRequestType")
|
|
18836
|
+
}
|
|
18837
|
+
) })
|
|
18838
|
+
]
|
|
18839
|
+
}
|
|
18840
|
+
),
|
|
18841
|
+
/* @__PURE__ */ jsxs38(
|
|
18842
|
+
"div",
|
|
18843
|
+
{
|
|
18844
|
+
style: {
|
|
18845
|
+
...pcStyles.flex,
|
|
18846
|
+
...pcStyles.flexCol,
|
|
18847
|
+
gap: getVar20("--pc-spacing-sm"),
|
|
18848
|
+
...isPopup && !isPopupFormEnabled ? {
|
|
18849
|
+
pointerEvents: "none",
|
|
18850
|
+
opacity: 0.6
|
|
18851
|
+
} : {}
|
|
18852
|
+
},
|
|
18853
|
+
children: [
|
|
18854
|
+
/* @__PURE__ */ jsx59("p", { style: {
|
|
18855
|
+
fontWeight: pcStyles.fontWeightSemibold.fontWeight,
|
|
18856
|
+
color: `var(--pc-text-primary)`,
|
|
18857
|
+
fontSize: pcStyles.textSm.fontSize,
|
|
18858
|
+
margin: 0
|
|
18859
|
+
}, children: t("supportingDocumentation") }),
|
|
18860
|
+
/* @__PURE__ */ jsx59(
|
|
18861
|
+
"input",
|
|
18862
|
+
{
|
|
18863
|
+
ref: fileInputRef,
|
|
18864
|
+
id: "privacy-file-upload",
|
|
18865
|
+
type: "file",
|
|
18866
|
+
onChange: (e) => handleFileChange(e),
|
|
18867
|
+
style: { display: "none" }
|
|
18868
|
+
}
|
|
18869
|
+
),
|
|
18870
|
+
/* @__PURE__ */ jsxs38(
|
|
18871
|
+
"div",
|
|
18872
|
+
{
|
|
18873
|
+
style: {
|
|
18874
|
+
...pcStyles.flex,
|
|
18875
|
+
flexWrap: "wrap",
|
|
18876
|
+
...pcStyles.itemsStart,
|
|
18877
|
+
borderRadius: pcStyles.borderRadiusMd,
|
|
18878
|
+
border: `1px solid var(--pc-border-color)`,
|
|
18879
|
+
backgroundColor: `var(--pc-bg-secondary)`,
|
|
18880
|
+
padding: getVar20("--pc-spacing-md"),
|
|
18881
|
+
minHeight: "100px",
|
|
18882
|
+
...isPopup ? {
|
|
18883
|
+
gap: "0.5rem",
|
|
18884
|
+
...pcStyles.overflowYAuto
|
|
18885
|
+
} : {
|
|
18886
|
+
gap: getVar20("--pc-spacing-sm")
|
|
18887
|
+
}
|
|
18888
|
+
},
|
|
18889
|
+
children: [
|
|
18890
|
+
isDocument && uploadedDocuments.length > 0 && /* @__PURE__ */ jsx59(
|
|
18891
|
+
"div",
|
|
18892
|
+
{
|
|
18893
|
+
style: {
|
|
18894
|
+
...pcStyles.flex,
|
|
18895
|
+
...pcStyles.gapSm,
|
|
18896
|
+
...isPopup ? { flexWrap: "wrap" } : {},
|
|
18897
|
+
width: "100%"
|
|
18898
|
+
},
|
|
18899
|
+
children: uploadedDocuments.map((doc) => /* @__PURE__ */ jsxs38(
|
|
18900
|
+
"div",
|
|
18901
|
+
{
|
|
18902
|
+
style: {
|
|
18903
|
+
position: "relative",
|
|
18904
|
+
...pcStyles.flex,
|
|
18905
|
+
...pcStyles.itemsCenter,
|
|
18906
|
+
...pcStyles.gapXs,
|
|
18907
|
+
borderRadius: pcStyles.borderRadiusMd,
|
|
18908
|
+
border: `1px solid var(--pc-border-color)`,
|
|
18909
|
+
backgroundColor: `var(--pc-bg-primary)`,
|
|
18910
|
+
padding: getVar20("--pc-spacing-sm")
|
|
18951
18911
|
},
|
|
18952
|
-
|
|
18953
|
-
|
|
18954
|
-
|
|
18955
|
-
|
|
18956
|
-
|
|
18957
|
-
|
|
18958
|
-
|
|
18959
|
-
|
|
18960
|
-
|
|
18961
|
-
|
|
18962
|
-
|
|
18963
|
-
|
|
18964
|
-
|
|
18965
|
-
|
|
18966
|
-
|
|
18967
|
-
|
|
18968
|
-
|
|
18969
|
-
|
|
18970
|
-
|
|
18971
|
-
|
|
18972
|
-
|
|
18973
|
-
|
|
18974
|
-
|
|
18975
|
-
|
|
18976
|
-
|
|
18977
|
-
|
|
18978
|
-
|
|
18979
|
-
|
|
18980
|
-
|
|
18981
|
-
|
|
18982
|
-
|
|
18983
|
-
|
|
18984
|
-
|
|
18985
|
-
|
|
18986
|
-
|
|
18987
|
-
|
|
18988
|
-
|
|
18989
|
-
|
|
18990
|
-
|
|
18991
|
-
|
|
18992
|
-
|
|
18993
|
-
|
|
18994
|
-
|
|
18995
|
-
|
|
18996
|
-
|
|
18997
|
-
|
|
18912
|
+
children: [
|
|
18913
|
+
/* @__PURE__ */ jsx59(
|
|
18914
|
+
"img",
|
|
18915
|
+
{
|
|
18916
|
+
src: fileAttach_default,
|
|
18917
|
+
alt: "fileAttach",
|
|
18918
|
+
width: 24,
|
|
18919
|
+
height: 24
|
|
18920
|
+
}
|
|
18921
|
+
),
|
|
18922
|
+
/* @__PURE__ */ jsx59(
|
|
18923
|
+
"p",
|
|
18924
|
+
{
|
|
18925
|
+
style: {
|
|
18926
|
+
fontWeight: pcStyles.fontWeightMedium.fontWeight,
|
|
18927
|
+
color: `var(--pc-text-primary)`,
|
|
18928
|
+
...isPopup ? {
|
|
18929
|
+
maxWidth: "100px",
|
|
18930
|
+
overflow: "hidden",
|
|
18931
|
+
textOverflow: "ellipsis",
|
|
18932
|
+
whiteSpace: "nowrap",
|
|
18933
|
+
fontSize: pcStyles.textXs.fontSize
|
|
18934
|
+
} : {
|
|
18935
|
+
fontSize: pcStyles.textSm.fontSize
|
|
18936
|
+
}
|
|
18937
|
+
},
|
|
18938
|
+
children: doc.name
|
|
18939
|
+
}
|
|
18940
|
+
),
|
|
18941
|
+
/* @__PURE__ */ jsx59(
|
|
18942
|
+
"div",
|
|
18943
|
+
{
|
|
18944
|
+
style: {
|
|
18945
|
+
position: "absolute",
|
|
18946
|
+
right: "-0.25rem",
|
|
18947
|
+
top: "-0.5rem",
|
|
18948
|
+
cursor: "pointer"
|
|
18949
|
+
},
|
|
18950
|
+
onClick: (e) => {
|
|
18951
|
+
e.stopPropagation();
|
|
18952
|
+
handleRemoveDocument(doc.uuid);
|
|
18953
|
+
},
|
|
18954
|
+
children: /* @__PURE__ */ jsx59("div", { style: {
|
|
18955
|
+
borderRadius: "50%",
|
|
18956
|
+
border: `1px solid var(--pc-border-color)`,
|
|
18957
|
+
backgroundColor: `var(--pc-bg-secondary)`,
|
|
18958
|
+
padding: "0.125rem"
|
|
18959
|
+
}, children: /* @__PURE__ */ jsx59(AiOutlineClose, { size: 12, style: { color: "var(--pc-error)" } }) })
|
|
18960
|
+
}
|
|
18961
|
+
)
|
|
18962
|
+
]
|
|
18998
18963
|
},
|
|
18999
|
-
|
|
19000
|
-
|
|
19001
|
-
|
|
19002
|
-
|
|
18964
|
+
doc.uuid
|
|
18965
|
+
))
|
|
18966
|
+
}
|
|
18967
|
+
),
|
|
18968
|
+
/* @__PURE__ */ jsx59("div", { style: {
|
|
18969
|
+
width: uploadedDocuments.length > 0 ? "auto" : "100%",
|
|
18970
|
+
...pcStyles.flex,
|
|
18971
|
+
...pcStyles.itemsCenter,
|
|
18972
|
+
...pcStyles.justifyCenter,
|
|
18973
|
+
minHeight: uploadedDocuments.length > 0 ? "auto" : "100px"
|
|
18974
|
+
}, children: isDocumentUploading ? /* @__PURE__ */ jsxs38("div", { style: {
|
|
18975
|
+
padding: uploadedDocuments.length > 0 ? getVar20("--pc-spacing-sm") : getVar20("--pc-spacing-lg"),
|
|
18976
|
+
borderRadius: pcStyles.borderRadiusMd,
|
|
18977
|
+
border: uploadedDocuments.length > 0 ? `1px solid var(--pc-border-color)` : "none",
|
|
18978
|
+
backgroundColor: `var(--pc-bg-primary)`,
|
|
18979
|
+
fontWeight: pcStyles.fontWeightSemibold.fontWeight,
|
|
18980
|
+
color: `var(--pc-text-primary)`,
|
|
18981
|
+
...pcStyles.flex,
|
|
18982
|
+
...pcStyles.itemsCenter,
|
|
18983
|
+
...pcStyles.justifyCenter,
|
|
18984
|
+
gap: uploadedDocuments.length > 0 ? getVar20("--pc-spacing-sm") : getVar20("--pc-spacing-md"),
|
|
18985
|
+
width: "auto"
|
|
18986
|
+
}, children: [
|
|
18987
|
+
/* @__PURE__ */ jsx59(PCLoader, { variant: "spinner", size: "sm" }),
|
|
18988
|
+
/* @__PURE__ */ jsx59("span", { children: t("uploading") })
|
|
18989
|
+
] }) : /* @__PURE__ */ jsx59(
|
|
18990
|
+
"div",
|
|
18991
|
+
{
|
|
18992
|
+
style: {
|
|
18993
|
+
...pcStyles.flex,
|
|
18994
|
+
width: uploadedDocuments.length > 0 ? "auto" : "100%",
|
|
18995
|
+
cursor: "pointer",
|
|
18996
|
+
...pcStyles.itemsCenter,
|
|
18997
|
+
...pcStyles.justifyCenter,
|
|
18998
|
+
gap: uploadedDocuments.length > 0 ? getVar20("--pc-spacing-sm") : getVar20("--pc-spacing-md"),
|
|
18999
|
+
borderRadius: pcStyles.borderRadiusMd,
|
|
19000
|
+
padding: uploadedDocuments.length > 0 ? getVar20("--pc-spacing-sm") : getVar20("--pc-spacing-lg"),
|
|
19001
|
+
border: uploadedDocuments.length > 0 ? `1px solid var(--pc-border-color)` : "none",
|
|
19002
|
+
backgroundColor: uploadedDocuments.length > 0 ? `var(--pc-bg-primary)` : "transparent",
|
|
19003
|
+
transition: "all 0.2s ease"
|
|
19004
|
+
},
|
|
19005
|
+
onMouseEnter: (e) => {
|
|
19006
|
+
e.currentTarget.style.backgroundColor = uploadedDocuments.length > 0 ? `var(--pc-bg-hover)` : `var(--pc-bg-hover)`;
|
|
19007
|
+
if (uploadedDocuments.length > 0) {
|
|
19008
|
+
e.currentTarget.style.borderColor = `var(--pc-primary)`;
|
|
19009
|
+
}
|
|
19010
|
+
},
|
|
19011
|
+
onMouseLeave: (e) => {
|
|
19012
|
+
e.currentTarget.style.backgroundColor = uploadedDocuments.length > 0 ? `var(--pc-bg-primary)` : "transparent";
|
|
19013
|
+
if (uploadedDocuments.length > 0) {
|
|
19014
|
+
e.currentTarget.style.borderColor = `var(--pc-border-color)`;
|
|
19015
|
+
}
|
|
19016
|
+
},
|
|
19017
|
+
role: "button",
|
|
19018
|
+
tabIndex: 0,
|
|
19019
|
+
"aria-label": t("uploadFile"),
|
|
19020
|
+
onClick: () => {
|
|
19021
|
+
var _a2;
|
|
19022
|
+
return (_a2 = document.getElementById("privacy-file-upload")) == null ? void 0 : _a2.click();
|
|
19023
|
+
},
|
|
19024
|
+
onKeyDown: (e) => {
|
|
19025
|
+
var _a2;
|
|
19026
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
19027
|
+
e.preventDefault();
|
|
19028
|
+
(_a2 = document.getElementById("privacy-file-upload")) == null ? void 0 : _a2.click();
|
|
19029
|
+
}
|
|
19030
|
+
},
|
|
19031
|
+
children: uploadedDocuments.length === 0 ? /* @__PURE__ */ jsxs38(Fragment10, { children: [
|
|
19032
|
+
/* @__PURE__ */ jsx59("div", { children: /* @__PURE__ */ jsx59(
|
|
19033
|
+
"img",
|
|
19034
|
+
{
|
|
19035
|
+
src: uploadFileIcon_default,
|
|
19036
|
+
width: 44,
|
|
19037
|
+
height: 44,
|
|
19038
|
+
alt: "upload"
|
|
19003
19039
|
}
|
|
19004
|
-
},
|
|
19005
|
-
|
|
19006
|
-
|
|
19007
|
-
|
|
19008
|
-
|
|
19009
|
-
|
|
19010
|
-
|
|
19011
|
-
|
|
19012
|
-
|
|
19013
|
-
|
|
19014
|
-
|
|
19015
|
-
e.preventDefault();
|
|
19016
|
-
(_a2 = document.getElementById("privacy-file-upload")) == null ? void 0 : _a2.click();
|
|
19040
|
+
) }),
|
|
19041
|
+
/* @__PURE__ */ jsx59("span", { style: {
|
|
19042
|
+
color: "var(--pc-text-secondary)",
|
|
19043
|
+
fontSize: pcStyles.textSm.fontSize
|
|
19044
|
+
}, children: t("uploadFile") })
|
|
19045
|
+
] }) : /* @__PURE__ */ jsxs38("div", { style: { ...pcStyles.flex, ...pcStyles.itemsCenter, ...pcStyles.justifyCenter, ...pcStyles.gapSm }, children: [
|
|
19046
|
+
/* @__PURE__ */ jsx59(
|
|
19047
|
+
PiUploadBold,
|
|
19048
|
+
{
|
|
19049
|
+
size: isPopup ? 20 : 16,
|
|
19050
|
+
style: { color: "var(--pc-text-secondary)" }
|
|
19017
19051
|
}
|
|
19018
|
-
|
|
19019
|
-
|
|
19020
|
-
|
|
19021
|
-
|
|
19022
|
-
|
|
19023
|
-
|
|
19024
|
-
|
|
19025
|
-
|
|
19026
|
-
|
|
19027
|
-
}
|
|
19028
|
-
) }),
|
|
19029
|
-
/* @__PURE__ */ jsx59("span", { style: {
|
|
19030
|
-
color: "var(--pc-text-secondary)",
|
|
19031
|
-
fontSize: pcStyles.textSm.fontSize
|
|
19032
|
-
}, children: t("uploadFile") })
|
|
19033
|
-
] }) : /* @__PURE__ */ jsxs38("div", { style: { ...pcStyles.flex, ...pcStyles.itemsCenter, ...pcStyles.justifyCenter, ...pcStyles.gapSm }, children: [
|
|
19034
|
-
/* @__PURE__ */ jsx59(
|
|
19035
|
-
PiUploadBold,
|
|
19036
|
-
{
|
|
19037
|
-
size: isPopup ? 20 : 16,
|
|
19038
|
-
style: { color: "var(--pc-text-secondary)" }
|
|
19039
|
-
}
|
|
19040
|
-
),
|
|
19041
|
-
!isPopup && /* @__PURE__ */ jsx59("p", { style: {
|
|
19042
|
-
fontWeight: pcStyles.fontWeightMedium.fontWeight,
|
|
19043
|
-
color: `var(--pc-text-primary)`
|
|
19044
|
-
}, children: t("uploadFileButton") })
|
|
19045
|
-
] })
|
|
19046
|
-
}
|
|
19047
|
-
) })
|
|
19048
|
-
]
|
|
19049
|
-
}
|
|
19050
|
-
)
|
|
19051
|
-
]
|
|
19052
|
-
}
|
|
19053
|
-
),
|
|
19054
|
-
requestType === "ACCESS" /* ACCESS */ && /* @__PURE__ */ jsx59(
|
|
19055
|
-
PCSelect,
|
|
19056
|
-
{
|
|
19057
|
-
label: t("timePeriod"),
|
|
19058
|
-
options: timePeriodOptions,
|
|
19059
|
-
value: timePeriodOptions.find(
|
|
19060
|
-
(opt) => opt.value === timePeriod
|
|
19061
|
-
) || null,
|
|
19062
|
-
onChange: (value) => {
|
|
19063
|
-
if (value) {
|
|
19064
|
-
setTimePeriod(value.value);
|
|
19052
|
+
),
|
|
19053
|
+
!isPopup && /* @__PURE__ */ jsx59("p", { style: {
|
|
19054
|
+
fontWeight: pcStyles.fontWeightMedium.fontWeight,
|
|
19055
|
+
color: `var(--pc-text-primary)`
|
|
19056
|
+
}, children: t("uploadFileButton") })
|
|
19057
|
+
] })
|
|
19058
|
+
}
|
|
19059
|
+
) })
|
|
19060
|
+
]
|
|
19065
19061
|
}
|
|
19066
|
-
|
|
19067
|
-
|
|
19068
|
-
|
|
19069
|
-
|
|
19070
|
-
|
|
19071
|
-
|
|
19072
|
-
|
|
19073
|
-
|
|
19074
|
-
|
|
19075
|
-
|
|
19076
|
-
|
|
19077
|
-
|
|
19078
|
-
|
|
19079
|
-
|
|
19080
|
-
|
|
19081
|
-
|
|
19082
|
-
}
|
|
19083
|
-
|
|
19084
|
-
|
|
19085
|
-
|
|
19086
|
-
|
|
19087
|
-
|
|
19088
|
-
|
|
19089
|
-
|
|
19090
|
-
|
|
19091
|
-
|
|
19092
|
-
|
|
19093
|
-
|
|
19094
|
-
|
|
19095
|
-
|
|
19096
|
-
|
|
19097
|
-
|
|
19098
|
-
|
|
19099
|
-
|
|
19100
|
-
|
|
19101
|
-
|
|
19102
|
-
|
|
19103
|
-
|
|
19104
|
-
|
|
19105
|
-
|
|
19106
|
-
|
|
19107
|
-
|
|
19108
|
-
|
|
19109
|
-
|
|
19110
|
-
|
|
19111
|
-
|
|
19112
|
-
|
|
19113
|
-
|
|
19114
|
-
|
|
19115
|
-
|
|
19116
|
-
|
|
19117
|
-
|
|
19118
|
-
|
|
19119
|
-
|
|
19120
|
-
|
|
19121
|
-
|
|
19062
|
+
)
|
|
19063
|
+
]
|
|
19064
|
+
}
|
|
19065
|
+
),
|
|
19066
|
+
requestType === "ACCESS" /* ACCESS */ && /* @__PURE__ */ jsx59(
|
|
19067
|
+
PCSelect,
|
|
19068
|
+
{
|
|
19069
|
+
label: t("timePeriod"),
|
|
19070
|
+
options: timePeriodOptions,
|
|
19071
|
+
value: timePeriodOptions.find(
|
|
19072
|
+
(opt) => opt.value === timePeriod
|
|
19073
|
+
) || null,
|
|
19074
|
+
onChange: (value) => {
|
|
19075
|
+
if (value) {
|
|
19076
|
+
setTimePeriod(value.value);
|
|
19077
|
+
}
|
|
19078
|
+
},
|
|
19079
|
+
disabled: isPopup && !isPopupFormEnabled
|
|
19080
|
+
}
|
|
19081
|
+
),
|
|
19082
|
+
/* @__PURE__ */ jsx59(
|
|
19083
|
+
PCTextarea,
|
|
19084
|
+
{
|
|
19085
|
+
label: t("additionalNote"),
|
|
19086
|
+
placeholder: t("reasonOptional"),
|
|
19087
|
+
value: formData.additionalNote,
|
|
19088
|
+
onChange: (e) => setFormData({
|
|
19089
|
+
...formData,
|
|
19090
|
+
additionalNote: e.target.value
|
|
19091
|
+
}),
|
|
19092
|
+
style: isPopup ? { minHeight: "60px" } : {},
|
|
19093
|
+
disabled: isPopup && !isPopupFormEnabled
|
|
19094
|
+
}
|
|
19095
|
+
),
|
|
19096
|
+
/* @__PURE__ */ jsx59(
|
|
19097
|
+
PCCheckbox,
|
|
19098
|
+
{
|
|
19099
|
+
size: "sm",
|
|
19100
|
+
label: /* @__PURE__ */ jsxs38("span", { children: [
|
|
19101
|
+
t("confirmCheckBox"),
|
|
19102
|
+
" ",
|
|
19103
|
+
/* @__PURE__ */ jsx59("span", { style: { color: getVar20("--pc-error") }, children: "*" })
|
|
19104
|
+
] }),
|
|
19105
|
+
checked: formData.confirmCheckBox,
|
|
19106
|
+
onChange: (e) => setFormData({
|
|
19107
|
+
...formData,
|
|
19108
|
+
confirmCheckBox: e.target.checked
|
|
19109
|
+
}),
|
|
19110
|
+
disabled: isPopup && !isPopupFormEnabled
|
|
19111
|
+
}
|
|
19112
|
+
),
|
|
19113
|
+
/* @__PURE__ */ jsxs38(
|
|
19114
|
+
"div",
|
|
19115
|
+
{
|
|
19116
|
+
style: {
|
|
19117
|
+
...pcStyles.flex,
|
|
19118
|
+
...pcStyles.flexRow,
|
|
19119
|
+
...pcStyles.justifyEnd,
|
|
19120
|
+
gap: getVar20("--pc-spacing-sm"),
|
|
19121
|
+
...isPopup ? {
|
|
19122
|
+
position: "sticky",
|
|
19123
|
+
bottom: 0,
|
|
19124
|
+
left: 0,
|
|
19125
|
+
right: 0,
|
|
19126
|
+
zIndex: 20,
|
|
19127
|
+
borderTop: `1px solid ${getVar20("--pc-border-color")}`,
|
|
19128
|
+
backgroundColor: getVar20("--pc-bg-primary"),
|
|
19129
|
+
padding: "0.75rem",
|
|
19130
|
+
marginLeft: "-0.75rem",
|
|
19131
|
+
marginRight: "-0.75rem"
|
|
19132
|
+
} : {
|
|
19133
|
+
marginTop: pcStyles.mtMd.marginTop
|
|
19134
|
+
}
|
|
19135
|
+
},
|
|
19136
|
+
className: "pc-flex-responsive pc-spacing-responsive",
|
|
19137
|
+
children: [
|
|
19138
|
+
isPopup && /* @__PURE__ */ jsx59(PCButton, { variant: "secondary", onClick: onClose, style: { flexShrink: 0 }, children: (_b = t("cancel")) != null ? _b : "Cancel" }),
|
|
19139
|
+
/* @__PURE__ */ jsx59(
|
|
19140
|
+
PCButton,
|
|
19141
|
+
{
|
|
19142
|
+
variant: "primary",
|
|
19143
|
+
onClick: handleSubmitClick,
|
|
19144
|
+
disabled: !isFormValid || isLoading,
|
|
19145
|
+
isLoading,
|
|
19146
|
+
style: {
|
|
19147
|
+
...pcStyles.flex,
|
|
19148
|
+
...pcStyles.itemsCenter,
|
|
19149
|
+
...pcStyles.justifyCenter,
|
|
19150
|
+
minWidth: "120px",
|
|
19151
|
+
flexShrink: 0,
|
|
19152
|
+
opacity: !isFormValid || isLoading ? 0.5 : 1,
|
|
19153
|
+
cursor: !isFormValid || isLoading ? "not-allowed" : isLoading ? "wait" : "pointer"
|
|
19154
|
+
},
|
|
19155
|
+
children: t("submit")
|
|
19122
19156
|
}
|
|
19123
|
-
|
|
19124
|
-
|
|
19125
|
-
|
|
19126
|
-
|
|
19127
|
-
|
|
19128
|
-
PCButton,
|
|
19129
|
-
{
|
|
19130
|
-
variant: "primary",
|
|
19131
|
-
onClick: handleSubmitClick,
|
|
19132
|
-
disabled: !isFormValid || isLoading,
|
|
19133
|
-
isLoading,
|
|
19134
|
-
style: {
|
|
19135
|
-
...pcStyles.flex,
|
|
19136
|
-
...pcStyles.itemsCenter,
|
|
19137
|
-
...pcStyles.justifyCenter,
|
|
19138
|
-
minWidth: "120px",
|
|
19139
|
-
flexShrink: 0,
|
|
19140
|
-
opacity: !isFormValid || isLoading ? 0.5 : 1,
|
|
19141
|
-
cursor: !isFormValid || isLoading ? "not-allowed" : isLoading ? "wait" : "pointer"
|
|
19142
|
-
},
|
|
19143
|
-
children: t("submit")
|
|
19144
|
-
}
|
|
19145
|
-
)
|
|
19146
|
-
]
|
|
19147
|
-
}
|
|
19148
|
-
)
|
|
19149
|
-
]
|
|
19150
|
-
}
|
|
19151
|
-
)
|
|
19152
|
-
] })
|
|
19153
|
-
}
|
|
19154
|
-
)
|
|
19155
|
-
] }) }),
|
|
19156
|
-
/* @__PURE__ */ jsx59(
|
|
19157
|
-
PCModal,
|
|
19158
|
-
{
|
|
19159
|
-
isOpen: isErasureConsentModalOpen,
|
|
19160
|
-
onClose: handleErasureModalClose,
|
|
19161
|
-
size: "md",
|
|
19162
|
-
showCloseButton: false,
|
|
19163
|
-
footer: /* @__PURE__ */ jsxs38("div", { className: "pc-erasure-modal-footer", children: [
|
|
19164
|
-
/* @__PURE__ */ jsx59(
|
|
19165
|
-
PCButton,
|
|
19166
|
-
{
|
|
19167
|
-
variant: "secondary",
|
|
19168
|
-
onClick: () => handleErasureModalChoice(false),
|
|
19169
|
-
disabled: isLoading,
|
|
19170
|
-
children: t("revokeConsentNo")
|
|
19171
|
-
}
|
|
19172
|
-
),
|
|
19173
|
-
/* @__PURE__ */ jsx59(
|
|
19174
|
-
PCButton,
|
|
19175
|
-
{
|
|
19176
|
-
variant: "primary",
|
|
19177
|
-
onClick: () => handleErasureModalChoice(true),
|
|
19178
|
-
disabled: isLoading,
|
|
19179
|
-
isLoading,
|
|
19180
|
-
children: t("revokeConsentYes")
|
|
19157
|
+
)
|
|
19158
|
+
]
|
|
19159
|
+
}
|
|
19160
|
+
)
|
|
19161
|
+
]
|
|
19181
19162
|
}
|
|
19182
19163
|
)
|
|
19183
|
-
] }),
|
|
19184
|
-
children: /* @__PURE__ */ jsxs38("div", { className: "pc-erasure-modal-content", children: [
|
|
19185
|
-
/* @__PURE__ */ jsxs38("div", { className: "pc-erasure-modal-header", children: [
|
|
19186
|
-
/* @__PURE__ */ jsx59("div", { className: "pc-erasure-modal-icon", children: /* @__PURE__ */ jsx59(FiAlertCircle, { size: 24 }) }),
|
|
19187
|
-
/* @__PURE__ */ jsx59("p", { className: "pc-erasure-modal-title", children: t("revokeConsentModalTitle") }),
|
|
19188
|
-
/* @__PURE__ */ jsx59("p", { className: "pc-erasure-modal-question", children: t("revokeConsentModalQuestion") })
|
|
19189
|
-
] }),
|
|
19190
|
-
/* @__PURE__ */ jsxs38("div", { className: "pc-erasure-modal-purposes", children: [
|
|
19191
|
-
/* @__PURE__ */ jsx59("p", { className: "pc-erasure-modal-purposes-label", children: t("revokeConsentModalPurposesLabel") }),
|
|
19192
|
-
selectedErasurePurposeList.length > 0 ? /* @__PURE__ */ jsxs38(Fragment10, { children: [
|
|
19193
|
-
selectedErasurePurposeList.slice(0, MAX_DISPLAYED_PURPOSE_NAMES_IN_ERASURE_MODAL).map((name) => /* @__PURE__ */ jsx59("div", { className: "pc-erasure-modal-purpose-item", children: name }, name)),
|
|
19194
|
-
selectedErasurePurposeList.length > MAX_DISPLAYED_PURPOSE_NAMES_IN_ERASURE_MODAL && /* @__PURE__ */ jsx59("span", { className: "pc-erasure-modal-purposes-placeholder", children: t("revokeConsentModalAndMore", {
|
|
19195
|
-
count: selectedErasurePurposeList.length - MAX_DISPLAYED_PURPOSE_NAMES_IN_ERASURE_MODAL
|
|
19196
|
-
}) })
|
|
19197
|
-
] }) : /* @__PURE__ */ jsx59("span", { className: "pc-erasure-modal-purposes-placeholder", children: t("revokeConsentModalYourPurposes") })
|
|
19198
|
-
] }),
|
|
19199
|
-
/* @__PURE__ */ jsx59("div", { className: "pc-erasure-modal-warning", children: /* @__PURE__ */ jsxs38("p", { className: "pc-erasure-modal-warning-text", children: [
|
|
19200
|
-
/* @__PURE__ */ jsx59("span", { className: "pc-erasure-modal-warning-label", children: t("revokeConsentModalIfYesLabel") }),
|
|
19201
|
-
" ",
|
|
19202
|
-
t("revokeConsentModalIfYesBody")
|
|
19203
|
-
] }) })
|
|
19204
19164
|
] })
|
|
19205
19165
|
}
|
|
19206
19166
|
)
|
|
19207
|
-
] });
|
|
19167
|
+
] }) }) });
|
|
19208
19168
|
}
|
|
19209
19169
|
|
|
19210
19170
|
// src/RedactoPrivacyCenter/components/CaseHistory.tsx
|
|
@@ -20685,12 +20645,26 @@ import { useTranslation as useTranslation42 } from "react-i18next";
|
|
|
20685
20645
|
import { IoArrowBack as IoArrowBack2 } from "react-icons/io5";
|
|
20686
20646
|
|
|
20687
20647
|
// src/RedactoPrivacyCenter/components/CaseDetails/utils.ts
|
|
20648
|
+
var isTerminalCaseStatus = (status) => {
|
|
20649
|
+
if (!status) {
|
|
20650
|
+
return false;
|
|
20651
|
+
}
|
|
20652
|
+
return TERMINAL_CASE_STATUSES.includes(status.toLowerCase());
|
|
20653
|
+
};
|
|
20688
20654
|
var getCaseStatusVariant2 = (status) => {
|
|
20689
|
-
const
|
|
20690
|
-
if (
|
|
20691
|
-
|
|
20692
|
-
|
|
20693
|
-
if (
|
|
20655
|
+
const normalized = status.toLowerCase().replace(/_/g, "");
|
|
20656
|
+
if (normalized === "completed") {
|
|
20657
|
+
return "success";
|
|
20658
|
+
}
|
|
20659
|
+
if (normalized === "rejected" || normalized === "declined") {
|
|
20660
|
+
return "error";
|
|
20661
|
+
}
|
|
20662
|
+
if (normalized === "processing" || normalized === "inprogress" || normalized === "expired") {
|
|
20663
|
+
return "warning";
|
|
20664
|
+
}
|
|
20665
|
+
if (normalized === "initiated") {
|
|
20666
|
+
return "info";
|
|
20667
|
+
}
|
|
20694
20668
|
return "secondary";
|
|
20695
20669
|
};
|
|
20696
20670
|
var formatCaseStatus2 = (s) => s.split("_").map((word) => word.charAt(0).toUpperCase() + word.slice(1)).join(" ");
|
|
@@ -20742,15 +20716,42 @@ import {
|
|
|
20742
20716
|
// src/RedactoPrivacyCenter/components/CaseDetails/DocumentRequestCard.tsx
|
|
20743
20717
|
import { useTranslation as useTranslation36 } from "react-i18next";
|
|
20744
20718
|
import { IoAttach } from "react-icons/io5";
|
|
20745
|
-
|
|
20719
|
+
|
|
20720
|
+
// src/RedactoPrivacyCenter/components/CaseDetails/FinalizedTooltipWrapper.tsx
|
|
20721
|
+
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
20722
|
+
var AUTO_WIDTH_TRIGGER_STYLE = { width: "auto" };
|
|
20723
|
+
var FinalizedTooltipWrapper = ({
|
|
20724
|
+
enabled,
|
|
20725
|
+
autoWidth = false,
|
|
20726
|
+
children
|
|
20727
|
+
}) => {
|
|
20728
|
+
const tooltip = useCaseFinalizedTooltip();
|
|
20729
|
+
if (!enabled) {
|
|
20730
|
+
return children;
|
|
20731
|
+
}
|
|
20732
|
+
return /* @__PURE__ */ jsx69(
|
|
20733
|
+
PCTooltip,
|
|
20734
|
+
{
|
|
20735
|
+
content: tooltip,
|
|
20736
|
+
triggerStyle: autoWidth ? AUTO_WIDTH_TRIGGER_STYLE : void 0,
|
|
20737
|
+
children
|
|
20738
|
+
}
|
|
20739
|
+
);
|
|
20740
|
+
};
|
|
20741
|
+
|
|
20742
|
+
// src/RedactoPrivacyCenter/components/CaseDetails/DocumentRequestCard.tsx
|
|
20743
|
+
import { jsx as jsx70, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
20746
20744
|
var DocumentRequestCard = ({
|
|
20747
20745
|
message,
|
|
20748
20746
|
onUpload,
|
|
20749
|
-
isSubmitting
|
|
20747
|
+
isSubmitting,
|
|
20748
|
+
isCaseFinalized
|
|
20750
20749
|
}) => {
|
|
20751
20750
|
const { t } = useTranslation36();
|
|
20752
20751
|
const meta = message.document_request_metadata;
|
|
20753
|
-
if (!meta)
|
|
20752
|
+
if (!meta) {
|
|
20753
|
+
return null;
|
|
20754
|
+
}
|
|
20754
20755
|
const canUpload = UPLOAD_ACTIVE_STATUSES.includes(meta.document_request_status);
|
|
20755
20756
|
const statusInfo = DOCUMENT_REQUEST_STATUS_LABEL[meta.document_request_status];
|
|
20756
20757
|
return /* @__PURE__ */ jsxs46(
|
|
@@ -20763,12 +20764,12 @@ var DocumentRequestCard = ({
|
|
|
20763
20764
|
},
|
|
20764
20765
|
children: [
|
|
20765
20766
|
/* @__PURE__ */ jsxs46("div", { className: "pc-doc-request-header", children: [
|
|
20766
|
-
/* @__PURE__ */
|
|
20767
|
+
/* @__PURE__ */ jsx70(IoAttach, { size: 16, className: "pc-doc-request-icon", style: { color: STATUS_COLORS.info.color } }),
|
|
20767
20768
|
/* @__PURE__ */ jsxs46("div", { children: [
|
|
20768
|
-
/* @__PURE__ */
|
|
20769
|
-
meta.accepted_document && /* @__PURE__ */
|
|
20769
|
+
/* @__PURE__ */ jsx70("div", { className: "pc-doc-request-title", style: { color: STATUS_COLORS.infoDark }, children: t("documentRequestedLabel", { title: meta.title }) }),
|
|
20770
|
+
meta.accepted_document && /* @__PURE__ */ jsx70("div", { className: "pc-doc-request-accepted", style: { color: STATUS_COLORS.info.color }, children: t("acceptedLabel", { accepted: meta.accepted_document }) })
|
|
20770
20771
|
] }),
|
|
20771
|
-
/* @__PURE__ */
|
|
20772
|
+
/* @__PURE__ */ jsx70(
|
|
20772
20773
|
"span",
|
|
20773
20774
|
{
|
|
20774
20775
|
className: "pc-doc-request-status",
|
|
@@ -20777,21 +20778,21 @@ var DocumentRequestCard = ({
|
|
|
20777
20778
|
}
|
|
20778
20779
|
)
|
|
20779
20780
|
] }),
|
|
20780
|
-
canUpload && /* @__PURE__ */ jsxs46(
|
|
20781
|
+
canUpload && /* @__PURE__ */ jsx70(FinalizedTooltipWrapper, { enabled: isCaseFinalized, autoWidth: true, children: /* @__PURE__ */ jsxs46(
|
|
20781
20782
|
PCButton,
|
|
20782
20783
|
{
|
|
20783
20784
|
variant: "outline",
|
|
20784
20785
|
size: "sm",
|
|
20785
|
-
disabled: isSubmitting,
|
|
20786
|
-
onClick: () => onUpload(message.uuid),
|
|
20786
|
+
disabled: isSubmitting || isCaseFinalized,
|
|
20787
|
+
onClick: isCaseFinalized ? void 0 : () => onUpload(message.uuid),
|
|
20787
20788
|
className: "pc-doc-request-upload-btn",
|
|
20788
20789
|
children: [
|
|
20789
|
-
isSubmitting ? /* @__PURE__ */
|
|
20790
|
+
isSubmitting ? /* @__PURE__ */ jsx70(PCLoader, { variant: "spinner", size: "sm" }) : /* @__PURE__ */ jsx70(IoAttach, { size: 14 }),
|
|
20790
20791
|
t("uploadAndSubmit")
|
|
20791
20792
|
]
|
|
20792
20793
|
}
|
|
20793
|
-
),
|
|
20794
|
-
meta.document_request_status === "rejected" && meta.rejection_reason && /* @__PURE__ */
|
|
20794
|
+
) }),
|
|
20795
|
+
meta.document_request_status === "rejected" && meta.rejection_reason && /* @__PURE__ */ jsx70(
|
|
20795
20796
|
"div",
|
|
20796
20797
|
{
|
|
20797
20798
|
className: "pc-doc-request-rejection",
|
|
@@ -20805,7 +20806,7 @@ var DocumentRequestCard = ({
|
|
|
20805
20806
|
};
|
|
20806
20807
|
|
|
20807
20808
|
// src/RedactoPrivacyCenter/components/CaseDetails/StatusEvent.tsx
|
|
20808
|
-
import { jsx as
|
|
20809
|
+
import { jsx as jsx71, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
20809
20810
|
var StatusEvent = ({
|
|
20810
20811
|
icon,
|
|
20811
20812
|
color,
|
|
@@ -20823,32 +20824,32 @@ var StatusEvent = ({
|
|
|
20823
20824
|
style: { backgroundColor: bgColor, border: `1px solid ${borderColor}`, color },
|
|
20824
20825
|
children: [
|
|
20825
20826
|
icon,
|
|
20826
|
-
/* @__PURE__ */
|
|
20827
|
+
/* @__PURE__ */ jsx71("span", { children: text })
|
|
20827
20828
|
]
|
|
20828
20829
|
}
|
|
20829
20830
|
),
|
|
20830
|
-
subText && /* @__PURE__ */
|
|
20831
|
-
/* @__PURE__ */
|
|
20831
|
+
subText && /* @__PURE__ */ jsx71("div", { className: "pc-status-event-sub", style: { color }, children: subText }),
|
|
20832
|
+
/* @__PURE__ */ jsx71("span", { className: "pc-status-event-time", children: timestamp })
|
|
20832
20833
|
] });
|
|
20833
20834
|
};
|
|
20834
20835
|
|
|
20835
20836
|
// src/RedactoPrivacyCenter/components/CaseDetails/AttachmentCard.tsx
|
|
20836
20837
|
import { useTranslation as useTranslation37 } from "react-i18next";
|
|
20837
20838
|
import { IoDocumentText } from "react-icons/io5";
|
|
20838
|
-
import { Fragment as Fragment12, jsx as
|
|
20839
|
+
import { Fragment as Fragment12, jsx as jsx72, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
20839
20840
|
var AttachmentCard = ({ doc }) => {
|
|
20840
20841
|
const { t } = useTranslation37();
|
|
20841
20842
|
const downloadUrl = getDownloadUrl(doc.file_url);
|
|
20842
20843
|
const fileName = doc.file_name || t("document");
|
|
20843
20844
|
const content = /* @__PURE__ */ jsxs48(Fragment12, { children: [
|
|
20844
|
-
/* @__PURE__ */
|
|
20845
|
+
/* @__PURE__ */ jsx72(IoDocumentText, { size: 20, className: "pc-attachment-icon" }),
|
|
20845
20846
|
/* @__PURE__ */ jsxs48("div", { className: "pc-attachment-info", children: [
|
|
20846
|
-
/* @__PURE__ */
|
|
20847
|
-
/* @__PURE__ */
|
|
20847
|
+
/* @__PURE__ */ jsx72("div", { className: "pc-attachment-name", children: fileName }),
|
|
20848
|
+
/* @__PURE__ */ jsx72("div", { className: "pc-attachment-size", children: doc.file_size ? formatFileSize(doc.file_size) : "" })
|
|
20848
20849
|
] })
|
|
20849
20850
|
] });
|
|
20850
20851
|
if (downloadUrl) {
|
|
20851
|
-
return /* @__PURE__ */
|
|
20852
|
+
return /* @__PURE__ */ jsx72(
|
|
20852
20853
|
"a",
|
|
20853
20854
|
{
|
|
20854
20855
|
href: downloadUrl,
|
|
@@ -20860,11 +20861,11 @@ var AttachmentCard = ({ doc }) => {
|
|
|
20860
20861
|
}
|
|
20861
20862
|
);
|
|
20862
20863
|
}
|
|
20863
|
-
return /* @__PURE__ */
|
|
20864
|
+
return /* @__PURE__ */ jsx72("div", { className: "pc-attachment-card", children: content });
|
|
20864
20865
|
};
|
|
20865
20866
|
|
|
20866
20867
|
// src/RedactoPrivacyCenter/components/CaseDetails/ChatBubble.tsx
|
|
20867
|
-
import { jsx as
|
|
20868
|
+
import { jsx as jsx73, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
20868
20869
|
var ChatBubble = ({
|
|
20869
20870
|
message,
|
|
20870
20871
|
isPrincipal,
|
|
@@ -20878,17 +20879,18 @@ var ChatBubble = ({
|
|
|
20878
20879
|
" \xB7 ",
|
|
20879
20880
|
timestamp
|
|
20880
20881
|
] }),
|
|
20881
|
-
message.body && /* @__PURE__ */
|
|
20882
|
-
message.documents.map((doc) => /* @__PURE__ */
|
|
20882
|
+
message.body && /* @__PURE__ */ jsx73("div", { className: `pc-chat-bubble pc-chat-bubble--${direction}`, children: message.body }),
|
|
20883
|
+
message.documents.map((doc) => /* @__PURE__ */ jsx73(AttachmentCard, { doc }, doc.uuid))
|
|
20883
20884
|
] });
|
|
20884
20885
|
};
|
|
20885
20886
|
|
|
20886
20887
|
// src/RedactoPrivacyCenter/components/CaseDetails/MessageItem.tsx
|
|
20887
|
-
import { Fragment as Fragment13, jsx as
|
|
20888
|
+
import { Fragment as Fragment13, jsx as jsx74, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
20888
20889
|
var MessageItem = ({
|
|
20889
20890
|
message,
|
|
20890
20891
|
onUploadForRequest,
|
|
20891
|
-
isSubmittingForRequest
|
|
20892
|
+
isSubmittingForRequest,
|
|
20893
|
+
isCaseFinalized
|
|
20892
20894
|
}) => {
|
|
20893
20895
|
var _a;
|
|
20894
20896
|
const { t } = useTranslation38();
|
|
@@ -20904,22 +20906,23 @@ var MessageItem = ({
|
|
|
20904
20906
|
" \xB7 ",
|
|
20905
20907
|
timestamp
|
|
20906
20908
|
] }),
|
|
20907
|
-
/* @__PURE__ */
|
|
20909
|
+
/* @__PURE__ */ jsx74("div", { className: "pc-chat-bubble pc-chat-bubble--received", children: message.body })
|
|
20908
20910
|
] }),
|
|
20909
|
-
/* @__PURE__ */
|
|
20911
|
+
/* @__PURE__ */ jsx74(
|
|
20910
20912
|
DocumentRequestCard,
|
|
20911
20913
|
{
|
|
20912
20914
|
message,
|
|
20913
20915
|
onUpload: onUploadForRequest,
|
|
20914
|
-
isSubmitting: isSubmittingForRequest
|
|
20916
|
+
isSubmitting: isSubmittingForRequest,
|
|
20917
|
+
isCaseFinalized
|
|
20915
20918
|
}
|
|
20916
20919
|
)
|
|
20917
20920
|
] });
|
|
20918
20921
|
case "document_approved":
|
|
20919
|
-
return /* @__PURE__ */
|
|
20922
|
+
return /* @__PURE__ */ jsx74(
|
|
20920
20923
|
StatusEvent,
|
|
20921
20924
|
{
|
|
20922
|
-
icon: /* @__PURE__ */
|
|
20925
|
+
icon: /* @__PURE__ */ jsx74(IoCheckmarkCircle, { size: 18 }),
|
|
20923
20926
|
color: STATUS_COLORS.success.color,
|
|
20924
20927
|
bgColor: STATUS_COLORS.success.bg,
|
|
20925
20928
|
borderColor: STATUS_COLORS.success.border,
|
|
@@ -20928,10 +20931,10 @@ var MessageItem = ({
|
|
|
20928
20931
|
}
|
|
20929
20932
|
);
|
|
20930
20933
|
case "document_rejected":
|
|
20931
|
-
return /* @__PURE__ */
|
|
20934
|
+
return /* @__PURE__ */ jsx74(
|
|
20932
20935
|
StatusEvent,
|
|
20933
20936
|
{
|
|
20934
|
-
icon: /* @__PURE__ */
|
|
20937
|
+
icon: /* @__PURE__ */ jsx74(IoCloseCircle, { size: 18 }),
|
|
20935
20938
|
color: STATUS_COLORS.error.color,
|
|
20936
20939
|
bgColor: STATUS_COLORS.error.bg,
|
|
20937
20940
|
borderColor: STATUS_COLORS.error.border,
|
|
@@ -20941,10 +20944,10 @@ var MessageItem = ({
|
|
|
20941
20944
|
}
|
|
20942
20945
|
);
|
|
20943
20946
|
case "document_replacement_requested":
|
|
20944
|
-
return /* @__PURE__ */
|
|
20947
|
+
return /* @__PURE__ */ jsx74(
|
|
20945
20948
|
StatusEvent,
|
|
20946
20949
|
{
|
|
20947
|
-
icon: /* @__PURE__ */
|
|
20950
|
+
icon: /* @__PURE__ */ jsx74(IoAlertCircle, { size: 18 }),
|
|
20948
20951
|
color: STATUS_COLORS.warning.color,
|
|
20949
20952
|
bgColor: STATUS_COLORS.warning.bg,
|
|
20950
20953
|
borderColor: STATUS_COLORS.warning.border,
|
|
@@ -20957,7 +20960,7 @@ var MessageItem = ({
|
|
|
20957
20960
|
case "document_replaced":
|
|
20958
20961
|
case "message_sent":
|
|
20959
20962
|
default:
|
|
20960
|
-
return /* @__PURE__ */
|
|
20963
|
+
return /* @__PURE__ */ jsx74(
|
|
20961
20964
|
ChatBubble,
|
|
20962
20965
|
{
|
|
20963
20966
|
message,
|
|
@@ -20972,7 +20975,7 @@ var MessageItem = ({
|
|
|
20972
20975
|
// src/RedactoPrivacyCenter/components/CaseDetails/MessageComposer.tsx
|
|
20973
20976
|
import { useTranslation as useTranslation39 } from "react-i18next";
|
|
20974
20977
|
import { IoAttach as IoAttach2, IoSend, IoDocumentText as IoDocumentText2 } from "react-icons/io5";
|
|
20975
|
-
import { jsx as
|
|
20978
|
+
import { jsx as jsx75, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
20976
20979
|
var MessageComposer = ({
|
|
20977
20980
|
messageText,
|
|
20978
20981
|
onMessageTextChange,
|
|
@@ -20981,7 +20984,8 @@ var MessageComposer = ({
|
|
|
20981
20984
|
onAttachClick,
|
|
20982
20985
|
onSend,
|
|
20983
20986
|
isSending,
|
|
20984
|
-
isUploading
|
|
20987
|
+
isUploading,
|
|
20988
|
+
isCaseFinalized
|
|
20985
20989
|
}) => {
|
|
20986
20990
|
const { t } = useTranslation39();
|
|
20987
20991
|
const handleKeyDown = (e) => {
|
|
@@ -20991,11 +20995,11 @@ var MessageComposer = ({
|
|
|
20991
20995
|
}
|
|
20992
20996
|
};
|
|
20993
20997
|
return /* @__PURE__ */ jsxs51("div", { className: "pc-composer", children: [
|
|
20994
|
-
pendingUpload && /* @__PURE__ */
|
|
20995
|
-
/* @__PURE__ */
|
|
20996
|
-
/* @__PURE__ */
|
|
20997
|
-
/* @__PURE__ */
|
|
20998
|
-
/* @__PURE__ */
|
|
20998
|
+
pendingUpload && /* @__PURE__ */ jsx75("div", { className: "pc-composer-pending-row", children: /* @__PURE__ */ jsxs51("div", { className: "pc-composer-pending-pill", children: [
|
|
20999
|
+
/* @__PURE__ */ jsx75(IoDocumentText2, { size: 14 }),
|
|
21000
|
+
/* @__PURE__ */ jsx75("span", { children: pendingUpload.file_name }),
|
|
21001
|
+
/* @__PURE__ */ jsx75("span", { className: "pc-composer-pending-size", children: formatFileSize(pendingUpload.file_size) }),
|
|
21002
|
+
/* @__PURE__ */ jsx75(
|
|
20999
21003
|
"button",
|
|
21000
21004
|
{
|
|
21001
21005
|
type: "button",
|
|
@@ -21006,7 +21010,7 @@ var MessageComposer = ({
|
|
|
21006
21010
|
}
|
|
21007
21011
|
)
|
|
21008
21012
|
] }) }),
|
|
21009
|
-
/* @__PURE__ */
|
|
21013
|
+
/* @__PURE__ */ jsx75("div", { className: "pc-composer-textarea-wrap", children: /* @__PURE__ */ jsx75(FinalizedTooltipWrapper, { enabled: isCaseFinalized, children: /* @__PURE__ */ jsx75(
|
|
21010
21014
|
"textarea",
|
|
21011
21015
|
{
|
|
21012
21016
|
value: messageText,
|
|
@@ -21014,40 +21018,41 @@ var MessageComposer = ({
|
|
|
21014
21018
|
onKeyDown: handleKeyDown,
|
|
21015
21019
|
placeholder: t("writeMessagePlaceholder"),
|
|
21016
21020
|
rows: 3,
|
|
21017
|
-
className: "pc-composer-textarea"
|
|
21021
|
+
className: "pc-composer-textarea",
|
|
21022
|
+
disabled: isCaseFinalized
|
|
21018
21023
|
}
|
|
21019
|
-
) }),
|
|
21024
|
+
) }) }),
|
|
21020
21025
|
/* @__PURE__ */ jsxs51("div", { className: "pc-composer-actions", children: [
|
|
21021
|
-
/* @__PURE__ */ jsxs51(
|
|
21026
|
+
/* @__PURE__ */ jsx75(FinalizedTooltipWrapper, { enabled: isCaseFinalized, autoWidth: true, children: /* @__PURE__ */ jsxs51(
|
|
21022
21027
|
PCButton,
|
|
21023
21028
|
{
|
|
21024
21029
|
variant: "outline",
|
|
21025
21030
|
size: "sm",
|
|
21026
|
-
disabled: isUploading || isSending,
|
|
21031
|
+
disabled: isUploading || isSending || isCaseFinalized,
|
|
21027
21032
|
onClick: onAttachClick,
|
|
21028
21033
|
className: "pc-composer-btn",
|
|
21029
21034
|
children: [
|
|
21030
|
-
isUploading ? /* @__PURE__ */
|
|
21035
|
+
isUploading ? /* @__PURE__ */ jsx75(PCLoader, { variant: "spinner", size: "sm" }) : /* @__PURE__ */ jsx75(IoAttach2, { size: 16 }),
|
|
21031
21036
|
t("attachFile")
|
|
21032
21037
|
]
|
|
21033
21038
|
}
|
|
21034
|
-
),
|
|
21035
|
-
/* @__PURE__ */ jsxs51(
|
|
21039
|
+
) }),
|
|
21040
|
+
/* @__PURE__ */ jsx75(FinalizedTooltipWrapper, { enabled: isCaseFinalized, autoWidth: true, children: /* @__PURE__ */ jsxs51(
|
|
21036
21041
|
PCButton,
|
|
21037
21042
|
{
|
|
21038
21043
|
size: "sm",
|
|
21039
|
-
disabled: !messageText.trim() && !pendingUpload || isSending || isUploading,
|
|
21044
|
+
disabled: !messageText.trim() && !pendingUpload || isSending || isUploading || isCaseFinalized,
|
|
21040
21045
|
onClick: onSend,
|
|
21041
21046
|
className: "pc-composer-btn",
|
|
21042
21047
|
children: [
|
|
21043
|
-
isSending ? /* @__PURE__ */
|
|
21048
|
+
isSending ? /* @__PURE__ */ jsx75(PCLoader, { variant: "spinner", size: "sm" }) : null,
|
|
21044
21049
|
t("send"),
|
|
21045
|
-
/* @__PURE__ */
|
|
21050
|
+
/* @__PURE__ */ jsx75(IoSend, { size: 14 })
|
|
21046
21051
|
]
|
|
21047
21052
|
}
|
|
21048
|
-
)
|
|
21053
|
+
) })
|
|
21049
21054
|
] }),
|
|
21050
|
-
/* @__PURE__ */
|
|
21055
|
+
/* @__PURE__ */ jsx75("div", { className: "pc-composer-footer", children: t("messagesSecureFooter") })
|
|
21051
21056
|
] });
|
|
21052
21057
|
};
|
|
21053
21058
|
|
|
@@ -21177,10 +21182,12 @@ function useFileUpload(uploadMutation, submitMutation, refetch, scrollToBottom)
|
|
|
21177
21182
|
}
|
|
21178
21183
|
|
|
21179
21184
|
// src/RedactoPrivacyCenter/components/CaseDetails/MessagesTab.tsx
|
|
21180
|
-
import { jsx as
|
|
21181
|
-
var MessagesTab = ({ caseUuid }) => {
|
|
21185
|
+
import { jsx as jsx76, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
21186
|
+
var MessagesTab = ({ caseUuid, caseStatus }) => {
|
|
21182
21187
|
var _a;
|
|
21188
|
+
const isCaseFinalized = isTerminalCaseStatus(caseStatus);
|
|
21183
21189
|
const { t } = useTranslation40();
|
|
21190
|
+
const caseFinalizedTooltip = useCaseFinalizedTooltip();
|
|
21184
21191
|
const { organization } = useOrganization();
|
|
21185
21192
|
const { accessToken, refreshToken, onError, updateTokens } = useAuth();
|
|
21186
21193
|
const authContext = useMemo19(
|
|
@@ -21229,8 +21236,8 @@ var MessagesTab = ({ caseUuid }) => {
|
|
|
21229
21236
|
const isSending = sendMutation.isPending;
|
|
21230
21237
|
const isUploading = uploadMutation.isPending;
|
|
21231
21238
|
return /* @__PURE__ */ jsxs52("div", { className: "pc-messages-container", children: [
|
|
21232
|
-
/* @__PURE__ */
|
|
21233
|
-
/* @__PURE__ */
|
|
21239
|
+
/* @__PURE__ */ jsx76("input", { ref: attachInputRef, type: "file", className: "pc-hidden", onChange: handleAttachFile }),
|
|
21240
|
+
/* @__PURE__ */ jsx76("input", { ref: submitInputRef, type: "file", className: "pc-hidden", onChange: handleSubmitInputChange }),
|
|
21234
21241
|
/* @__PURE__ */ jsxs52(
|
|
21235
21242
|
"div",
|
|
21236
21243
|
{
|
|
@@ -21241,9 +21248,9 @@ var MessagesTab = ({ caseUuid }) => {
|
|
|
21241
21248
|
color: STATUS_COLORS.infoBanner.color
|
|
21242
21249
|
},
|
|
21243
21250
|
children: [
|
|
21244
|
-
/* @__PURE__ */
|
|
21245
|
-
/* @__PURE__ */
|
|
21246
|
-
/* @__PURE__ */
|
|
21251
|
+
/* @__PURE__ */ jsx76("span", { children: "\u{1F512}" }),
|
|
21252
|
+
/* @__PURE__ */ jsx76("span", { className: "pc-messages-notice-text", children: isCaseFinalized ? caseFinalizedTooltip : t("secureMessagesNotice") }),
|
|
21253
|
+
/* @__PURE__ */ jsx76(
|
|
21247
21254
|
"button",
|
|
21248
21255
|
{
|
|
21249
21256
|
type: "button",
|
|
@@ -21253,7 +21260,7 @@ var MessagesTab = ({ caseUuid }) => {
|
|
|
21253
21260
|
title: t("refreshMessages", "Refresh messages"),
|
|
21254
21261
|
className: "pc-messages-refresh-btn",
|
|
21255
21262
|
style: { color: STATUS_COLORS.infoBanner.color },
|
|
21256
|
-
children: /* @__PURE__ */
|
|
21263
|
+
children: /* @__PURE__ */ jsx76(
|
|
21257
21264
|
IoRefresh,
|
|
21258
21265
|
{
|
|
21259
21266
|
size: 16,
|
|
@@ -21272,25 +21279,26 @@ var MessagesTab = ({ caseUuid }) => {
|
|
|
21272
21279
|
onScroll: handleScroll,
|
|
21273
21280
|
className: "pc-messages-list",
|
|
21274
21281
|
children: [
|
|
21275
|
-
isLoading && /* @__PURE__ */
|
|
21276
|
-
isError && /* @__PURE__ */
|
|
21282
|
+
isLoading && /* @__PURE__ */ jsx76("div", { className: "pc-messages-center", children: /* @__PURE__ */ jsx76(PCLoader, { variant: "spinner", size: "md" }) }),
|
|
21283
|
+
isError && /* @__PURE__ */ jsx76("div", { className: "pc-messages-center-text", children: /* @__PURE__ */ jsx76(PCText, { size: "sm", color: "secondary", children: t("errorLoadingMessages") }) }),
|
|
21277
21284
|
!isLoading && !isError && messages.length === 0 && /* @__PURE__ */ jsxs52("div", { className: "pc-messages-empty", children: [
|
|
21278
|
-
/* @__PURE__ */
|
|
21279
|
-
/* @__PURE__ */
|
|
21285
|
+
/* @__PURE__ */ jsx76(IoDocumentText3, { size: 40, className: "pc-messages-empty-icon" }),
|
|
21286
|
+
/* @__PURE__ */ jsx76(PCText, { size: "sm", color: "secondary", children: t("noMessagesYet") })
|
|
21280
21287
|
] }),
|
|
21281
|
-
messages.map((msg) => /* @__PURE__ */
|
|
21288
|
+
messages.map((msg) => /* @__PURE__ */ jsx76(
|
|
21282
21289
|
MessageItem,
|
|
21283
21290
|
{
|
|
21284
21291
|
message: msg,
|
|
21285
21292
|
onUploadForRequest: triggerUploadForRequest,
|
|
21286
|
-
isSubmittingForRequest: submittingForRequest === msg.uuid
|
|
21293
|
+
isSubmittingForRequest: submittingForRequest === msg.uuid,
|
|
21294
|
+
isCaseFinalized
|
|
21287
21295
|
},
|
|
21288
21296
|
msg.uuid
|
|
21289
21297
|
))
|
|
21290
21298
|
]
|
|
21291
21299
|
}
|
|
21292
21300
|
),
|
|
21293
|
-
/* @__PURE__ */
|
|
21301
|
+
/* @__PURE__ */ jsx76(
|
|
21294
21302
|
MessageComposer,
|
|
21295
21303
|
{
|
|
21296
21304
|
messageText,
|
|
@@ -21303,7 +21311,8 @@ var MessagesTab = ({ caseUuid }) => {
|
|
|
21303
21311
|
},
|
|
21304
21312
|
onSend: handleSend,
|
|
21305
21313
|
isSending,
|
|
21306
|
-
isUploading
|
|
21314
|
+
isUploading,
|
|
21315
|
+
isCaseFinalized
|
|
21307
21316
|
}
|
|
21308
21317
|
)
|
|
21309
21318
|
] });
|
|
@@ -21311,7 +21320,7 @@ var MessagesTab = ({ caseUuid }) => {
|
|
|
21311
21320
|
|
|
21312
21321
|
// src/RedactoPrivacyCenter/components/CaseDetails/RequestDetailsTab.tsx
|
|
21313
21322
|
import { useTranslation as useTranslation41 } from "react-i18next";
|
|
21314
|
-
import { jsx as
|
|
21323
|
+
import { jsx as jsx77, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
21315
21324
|
var RequestDetailsTab = ({
|
|
21316
21325
|
selectedCase,
|
|
21317
21326
|
request_details,
|
|
@@ -21319,70 +21328,70 @@ var RequestDetailsTab = ({
|
|
|
21319
21328
|
}) => {
|
|
21320
21329
|
const { t } = useTranslation41();
|
|
21321
21330
|
return /* @__PURE__ */ jsxs53("div", { className: "pc-request-details", children: [
|
|
21322
|
-
/* @__PURE__ */
|
|
21331
|
+
/* @__PURE__ */ jsx77("div", { className: "pc-request-summary-card", children: /* @__PURE__ */ jsxs53("div", { className: "pc-case-details-grid pc-request-summary-grid", children: [
|
|
21323
21332
|
/* @__PURE__ */ jsxs53("div", { children: [
|
|
21324
|
-
/* @__PURE__ */
|
|
21325
|
-
/* @__PURE__ */
|
|
21333
|
+
/* @__PURE__ */ jsx77(PCText, { size: "xs", weight: "medium", color: "secondary", className: "pc-request-field-label", children: t("requestType") }),
|
|
21334
|
+
/* @__PURE__ */ jsx77(PCText, { size: "sm", weight: "semibold", className: "pc-request-field-value--capitalize", children: requestTypeLabel })
|
|
21326
21335
|
] }),
|
|
21327
21336
|
/* @__PURE__ */ jsxs53("div", { children: [
|
|
21328
|
-
/* @__PURE__ */
|
|
21329
|
-
/* @__PURE__ */
|
|
21337
|
+
/* @__PURE__ */ jsx77(PCText, { size: "xs", weight: "medium", color: "secondary", className: "pc-request-field-label", children: t("status") }),
|
|
21338
|
+
/* @__PURE__ */ jsx77(PCBadge, { variant: getCaseStatusVariant2(selectedCase.status), size: "sm", className: "pc-status-badge", children: selectedCase.status_display || formatCaseStatus2(selectedCase.status) })
|
|
21330
21339
|
] }),
|
|
21331
21340
|
/* @__PURE__ */ jsxs53("div", { children: [
|
|
21332
|
-
/* @__PURE__ */
|
|
21333
|
-
/* @__PURE__ */
|
|
21341
|
+
/* @__PURE__ */ jsx77(PCText, { size: "xs", weight: "medium", color: "secondary", className: "pc-request-field-label", children: t("createdAt") }),
|
|
21342
|
+
/* @__PURE__ */ jsx77(PCText, { size: "sm", weight: "medium", className: "pc-request-field-value", children: formatDate(selectedCase.created_at) })
|
|
21334
21343
|
] }),
|
|
21335
21344
|
selectedCase.completed_at && /* @__PURE__ */ jsxs53("div", { children: [
|
|
21336
|
-
/* @__PURE__ */
|
|
21337
|
-
/* @__PURE__ */
|
|
21345
|
+
/* @__PURE__ */ jsx77(PCText, { size: "xs", weight: "medium", color: "secondary", className: "pc-request-field-label", children: t("completedAt") }),
|
|
21346
|
+
/* @__PURE__ */ jsx77(PCText, { size: "sm", weight: "medium", className: "pc-request-field-value", children: formatDate(selectedCase.completed_at) })
|
|
21338
21347
|
] })
|
|
21339
21348
|
] }) }),
|
|
21340
21349
|
(selectedCase.description_display || selectedCase.description) && /* @__PURE__ */ jsxs53("div", { className: "pc-request-description", children: [
|
|
21341
|
-
/* @__PURE__ */
|
|
21342
|
-
/* @__PURE__ */
|
|
21350
|
+
/* @__PURE__ */ jsx77(PCText, { size: "sm", weight: "semibold", className: "pc-request-description-title", children: t("descriptionLabel") }),
|
|
21351
|
+
/* @__PURE__ */ jsx77(PCText, { size: "sm", color: "secondary", className: "pc-request-description-text", children: selectedCase.description_display || selectedCase.description })
|
|
21343
21352
|
] }),
|
|
21344
21353
|
request_details && /* @__PURE__ */ jsxs53("div", { className: "pc-request-specifics", children: [
|
|
21345
|
-
/* @__PURE__ */
|
|
21354
|
+
/* @__PURE__ */ jsx77("div", { className: "pc-request-section-divider", children: /* @__PURE__ */ jsx77("span", { className: "pc-request-section-title", children: t("requestSpecifics") }) }),
|
|
21346
21355
|
request_details.purposes && request_details.purposes.length > 0 && /* @__PURE__ */ jsxs53("div", { children: [
|
|
21347
|
-
/* @__PURE__ */
|
|
21348
|
-
/* @__PURE__ */
|
|
21356
|
+
/* @__PURE__ */ jsx77(PCText, { size: "sm", weight: "semibold", className: "pc-request-section-heading", children: t("purposesInvolved") }),
|
|
21357
|
+
/* @__PURE__ */ jsx77("ul", { className: "pc-request-purpose-list", children: request_details.purposes.map((p) => {
|
|
21349
21358
|
var _a, _b, _c, _d;
|
|
21350
21359
|
return /* @__PURE__ */ jsxs53("li", { className: "pc-request-purpose-item", children: [
|
|
21351
|
-
/* @__PURE__ */
|
|
21352
|
-
((_c = p.purpose) == null ? void 0 : _c.description) && /* @__PURE__ */
|
|
21353
|
-
((_d = p.purpose) == null ? void 0 : _d.data_elements) && p.purpose.data_elements.some((de) => de.selected) && /* @__PURE__ */
|
|
21360
|
+
/* @__PURE__ */ jsx77("div", { className: "pc-request-purpose-name", children: (_b = p.purpose) == null ? void 0 : _b.name }),
|
|
21361
|
+
((_c = p.purpose) == null ? void 0 : _c.description) && /* @__PURE__ */ jsx77("div", { className: "pc-request-purpose-desc", children: p.purpose.description }),
|
|
21362
|
+
((_d = p.purpose) == null ? void 0 : _d.data_elements) && p.purpose.data_elements.some((de) => de.selected) && /* @__PURE__ */ jsx77("div", { className: "pc-request-data-elements", children: p.purpose.data_elements.filter((de) => de.selected).map((de) => /* @__PURE__ */ jsx77(PCBadge, { variant: "secondary", size: "sm", className: "pc-status-badge", children: de.name }, de.uuid)) })
|
|
21354
21363
|
] }, (_a = p.purpose) == null ? void 0 : _a.uuid);
|
|
21355
21364
|
}) })
|
|
21356
21365
|
] }),
|
|
21357
21366
|
request_details.correction_data && request_details.correction_data.length > 0 && /* @__PURE__ */ jsxs53("div", { children: [
|
|
21358
|
-
/* @__PURE__ */
|
|
21359
|
-
/* @__PURE__ */
|
|
21360
|
-
/* @__PURE__ */
|
|
21361
|
-
/* @__PURE__ */
|
|
21362
|
-
/* @__PURE__ */
|
|
21363
|
-
/* @__PURE__ */
|
|
21364
|
-
/* @__PURE__ */
|
|
21367
|
+
/* @__PURE__ */ jsx77(PCText, { size: "sm", weight: "semibold", className: "pc-request-section-heading", children: t("dataToCorrect") }),
|
|
21368
|
+
/* @__PURE__ */ jsx77("div", { className: "pcOverflowXAuto", children: /* @__PURE__ */ jsx77("div", { className: "pc-request-table-wrap", children: /* @__PURE__ */ jsxs53(PCTable, { className: "pc-request-table", children: [
|
|
21369
|
+
/* @__PURE__ */ jsx77(PCTable.Header, { className: "pc-request-table-header", children: /* @__PURE__ */ jsx77(PCTable.Row, { children: [t("field"), t("currentValue"), t("newValue")].map((h) => /* @__PURE__ */ jsx77(PCTable.Head, { className: "pc-request-table-head", children: h }, h)) }) }),
|
|
21370
|
+
/* @__PURE__ */ jsx77(PCTable.Body, { children: request_details.correction_data.map((item) => /* @__PURE__ */ jsxs53(PCTable.Row, { className: "pc-request-table-row", children: [
|
|
21371
|
+
/* @__PURE__ */ jsx77(PCTable.Cell, { className: "pc-request-table-cell pc-request-table-cell--name", children: item.name }),
|
|
21372
|
+
/* @__PURE__ */ jsx77(PCTable.Cell, { className: "pc-request-table-cell pc-request-table-cell--value", children: item.curr_value || "-" }),
|
|
21373
|
+
/* @__PURE__ */ jsx77(PCTable.Cell, { className: "pc-request-table-cell pc-request-table-cell--value", children: item.new_value || "-" })
|
|
21365
21374
|
] }, item.name)) })
|
|
21366
21375
|
] }) }) })
|
|
21367
21376
|
] }),
|
|
21368
21377
|
request_details.nomination_data && /* @__PURE__ */ jsxs53("div", { children: [
|
|
21369
|
-
/* @__PURE__ */
|
|
21378
|
+
/* @__PURE__ */ jsx77(PCText, { size: "sm", weight: "semibold", className: "pc-request-section-heading", children: t("nomination") }),
|
|
21370
21379
|
/* @__PURE__ */ jsxs53("div", { className: "pc-request-nomination-card", children: [
|
|
21371
21380
|
/* @__PURE__ */ jsxs53("div", { className: "pc-request-nomination-field", children: [
|
|
21372
|
-
/* @__PURE__ */
|
|
21373
|
-
/* @__PURE__ */
|
|
21381
|
+
/* @__PURE__ */ jsx77(PCText, { size: "xs", weight: "medium", color: "secondary", children: t("nomineeEmail") }),
|
|
21382
|
+
/* @__PURE__ */ jsx77(PCText, { size: "sm", weight: "medium", className: "pc-request-field-value", children: request_details.nomination_data.nominee_email || "-" })
|
|
21374
21383
|
] }),
|
|
21375
21384
|
/* @__PURE__ */ jsxs53("div", { className: "pc-request-nomination-field", children: [
|
|
21376
|
-
/* @__PURE__ */
|
|
21377
|
-
/* @__PURE__ */
|
|
21385
|
+
/* @__PURE__ */ jsx77(PCText, { size: "xs", weight: "medium", color: "secondary", children: t("nomineeMobile") }),
|
|
21386
|
+
/* @__PURE__ */ jsx77(PCText, { size: "sm", weight: "medium", className: "pc-request-field-value", children: request_details.nomination_data.nominee_mobile || "-" })
|
|
21378
21387
|
] })
|
|
21379
21388
|
] })
|
|
21380
21389
|
] }),
|
|
21381
21390
|
request_details.grievance_types && request_details.grievance_types.length > 0 && /* @__PURE__ */ jsxs53("div", { children: [
|
|
21382
|
-
/* @__PURE__ */
|
|
21383
|
-
/* @__PURE__ */
|
|
21391
|
+
/* @__PURE__ */ jsx77(PCText, { size: "sm", weight: "semibold", className: "pc-request-section-heading", children: t("grievanceTypes") }),
|
|
21392
|
+
/* @__PURE__ */ jsx77("div", { className: "pc-request-grievance-wrap", children: request_details.grievance_types.map((g) => {
|
|
21384
21393
|
var _a;
|
|
21385
|
-
return /* @__PURE__ */
|
|
21394
|
+
return /* @__PURE__ */ jsx77(PCBadge, { variant: "secondary", size: "sm", className: "pc-status-badge", children: (_a = g.grievance) == null ? void 0 : _a.replace("_", " ") }, g.grievance);
|
|
21386
21395
|
}) })
|
|
21387
21396
|
] })
|
|
21388
21397
|
] })
|
|
@@ -21390,7 +21399,7 @@ var RequestDetailsTab = ({
|
|
|
21390
21399
|
};
|
|
21391
21400
|
|
|
21392
21401
|
// src/RedactoPrivacyCenter/PrivacyCenterCaseDetailsPage.tsx
|
|
21393
|
-
import { Fragment as Fragment14, jsx as
|
|
21402
|
+
import { Fragment as Fragment14, jsx as jsx78, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
21394
21403
|
var PrivacyCenterCaseDetailsPage = () => {
|
|
21395
21404
|
var _a, _b;
|
|
21396
21405
|
const { t } = useTranslation42();
|
|
@@ -21440,7 +21449,7 @@ var PrivacyCenterCaseDetailsPage = () => {
|
|
|
21440
21449
|
}
|
|
21441
21450
|
}, [selectedCase, targetUuid, isLoading, navigateTo]);
|
|
21442
21451
|
if (!selectedCase) {
|
|
21443
|
-
return isLoading ? /* @__PURE__ */
|
|
21452
|
+
return isLoading ? /* @__PURE__ */ jsx78("div", { style: { display: "flex", justifyContent: "center", alignItems: "center", minHeight: "200px" }, children: /* @__PURE__ */ jsx78(PCLoader, { size: "lg" }) }) : null;
|
|
21444
21453
|
}
|
|
21445
21454
|
const { request_details } = selectedCase;
|
|
21446
21455
|
const requestTypeLabel = selectedCase.request_type_display || selectedCase.request_type.replace("_", " ");
|
|
@@ -21450,7 +21459,7 @@ var PrivacyCenterCaseDetailsPage = () => {
|
|
|
21450
21459
|
{ id: "messages", label: t("messages") }
|
|
21451
21460
|
];
|
|
21452
21461
|
return /* @__PURE__ */ jsxs54("div", { className: "pc-case-page", children: [
|
|
21453
|
-
/* @__PURE__ */
|
|
21462
|
+
/* @__PURE__ */ jsx78("div", { className: "pc-case-back", children: /* @__PURE__ */ jsxs54(
|
|
21454
21463
|
PCButton,
|
|
21455
21464
|
{
|
|
21456
21465
|
variant: "text",
|
|
@@ -21458,33 +21467,33 @@ var PrivacyCenterCaseDetailsPage = () => {
|
|
|
21458
21467
|
onClick: () => navigateTo("form"),
|
|
21459
21468
|
className: "pc-case-back-btn",
|
|
21460
21469
|
children: [
|
|
21461
|
-
/* @__PURE__ */
|
|
21470
|
+
/* @__PURE__ */ jsx78(IoArrowBack2, { size: 16, className: "pc-case-back-icon" }),
|
|
21462
21471
|
t("backToHome")
|
|
21463
21472
|
]
|
|
21464
21473
|
}
|
|
21465
21474
|
) }),
|
|
21466
21475
|
/* @__PURE__ */ jsxs54("div", { className: "pc-case-header", children: [
|
|
21467
|
-
/* @__PURE__ */
|
|
21468
|
-
/* @__PURE__ */
|
|
21469
|
-
/* @__PURE__ */
|
|
21470
|
-
/* @__PURE__ */
|
|
21476
|
+
/* @__PURE__ */ jsx78("span", { className: "pc-case-header-id", children: selectedCase.case_id }),
|
|
21477
|
+
/* @__PURE__ */ jsx78("span", { children: "\xB7" }),
|
|
21478
|
+
/* @__PURE__ */ jsx78("span", { children: requestTypeLabel }),
|
|
21479
|
+
/* @__PURE__ */ jsx78("span", { children: "\xB7" }),
|
|
21471
21480
|
/* @__PURE__ */ jsxs54("span", { children: [
|
|
21472
21481
|
t("submitted"),
|
|
21473
21482
|
" ",
|
|
21474
21483
|
formatDate(selectedCase.created_at)
|
|
21475
21484
|
] }),
|
|
21476
21485
|
selectedCase.due_date && /* @__PURE__ */ jsxs54(Fragment14, { children: [
|
|
21477
|
-
/* @__PURE__ */
|
|
21486
|
+
/* @__PURE__ */ jsx78("span", { children: "\xB7" }),
|
|
21478
21487
|
/* @__PURE__ */ jsxs54("span", { className: isDueDateOverdue ? "pc-case-header-overdue" : void 0, children: [
|
|
21479
21488
|
t("responseDue"),
|
|
21480
21489
|
" ",
|
|
21481
21490
|
formatDate(selectedCase.due_date)
|
|
21482
21491
|
] })
|
|
21483
21492
|
] }),
|
|
21484
|
-
/* @__PURE__ */
|
|
21485
|
-
/* @__PURE__ */
|
|
21493
|
+
/* @__PURE__ */ jsx78("span", { children: "\xB7" }),
|
|
21494
|
+
/* @__PURE__ */ jsx78(PCBadge, { variant: getCaseStatusVariant2(selectedCase.status), size: "sm", className: "pc-status-badge", children: selectedCase.status_display || formatCaseStatus2(selectedCase.status) })
|
|
21486
21495
|
] }),
|
|
21487
|
-
/* @__PURE__ */
|
|
21496
|
+
/* @__PURE__ */ jsx78("div", { className: "pc-case-tabs", children: tabs.map((tab) => /* @__PURE__ */ jsx78(
|
|
21488
21497
|
"button",
|
|
21489
21498
|
{
|
|
21490
21499
|
onClick: () => setActiveTab(tab.id),
|
|
@@ -21494,8 +21503,8 @@ var PrivacyCenterCaseDetailsPage = () => {
|
|
|
21494
21503
|
tab.id
|
|
21495
21504
|
)) }),
|
|
21496
21505
|
/* @__PURE__ */ jsxs54("div", { className: "pc-case-tab-content", children: [
|
|
21497
|
-
activeTab === "messages" && /* @__PURE__ */
|
|
21498
|
-
activeTab === "request-details" && /* @__PURE__ */
|
|
21506
|
+
activeTab === "messages" && /* @__PURE__ */ jsx78(MessagesTab, { caseUuid: selectedCase.uuid, caseStatus: selectedCase.status }),
|
|
21507
|
+
activeTab === "request-details" && /* @__PURE__ */ jsx78(RequestDetailsTab, { selectedCase, request_details, requestTypeLabel })
|
|
21499
21508
|
] })
|
|
21500
21509
|
] });
|
|
21501
21510
|
};
|
|
@@ -21506,11 +21515,11 @@ import { IoChevronBackOutline } from "react-icons/io5";
|
|
|
21506
21515
|
import { useTranslation as useTranslation45 } from "react-i18next";
|
|
21507
21516
|
|
|
21508
21517
|
// src/RedactoPrivacyCenter/components/NotificationHub/StatCard.tsx
|
|
21509
|
-
import { jsx as
|
|
21518
|
+
import { jsx as jsx79, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
21510
21519
|
var StatCard = ({ value, label }) => {
|
|
21511
21520
|
return /* @__PURE__ */ jsxs55("div", { className: "pc-notification-stat-card", children: [
|
|
21512
|
-
/* @__PURE__ */
|
|
21513
|
-
/* @__PURE__ */
|
|
21521
|
+
/* @__PURE__ */ jsx79("span", { className: "pc-notification-stat-value", children: value }),
|
|
21522
|
+
/* @__PURE__ */ jsx79("span", { className: "pc-notification-stat-label", children: label })
|
|
21514
21523
|
] });
|
|
21515
21524
|
};
|
|
21516
21525
|
|
|
@@ -21519,7 +21528,7 @@ import { useTranslation as useTranslation44 } from "react-i18next";
|
|
|
21519
21528
|
|
|
21520
21529
|
// src/RedactoPrivacyCenter/components/NotificationHub/NotificationRow.tsx
|
|
21521
21530
|
import { useTranslation as useTranslation43 } from "react-i18next";
|
|
21522
|
-
import { jsx as
|
|
21531
|
+
import { jsx as jsx80, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
21523
21532
|
var NotificationRow = ({ notification, onClick, onCTAClick }) => {
|
|
21524
21533
|
const { t } = useTranslation43();
|
|
21525
21534
|
const statusLabel = notification.status_label_display || notification.status_label;
|
|
@@ -21541,15 +21550,15 @@ var NotificationRow = ({ notification, onClick, onCTAClick }) => {
|
|
|
21541
21550
|
className: "pc-notification-row",
|
|
21542
21551
|
"data-read": notification.is_read ? "true" : "false",
|
|
21543
21552
|
children: [
|
|
21544
|
-
/* @__PURE__ */
|
|
21553
|
+
/* @__PURE__ */ jsx80(NotificationIcon, { notificationType: notification.notification_type, size: "lg" }),
|
|
21545
21554
|
/* @__PURE__ */ jsxs56("div", { className: "pc-notification-row-content", children: [
|
|
21546
21555
|
/* @__PURE__ */ jsxs56("div", { className: "pc-notification-row-title-line", children: [
|
|
21547
|
-
/* @__PURE__ */
|
|
21548
|
-
!notification.is_read && /* @__PURE__ */
|
|
21549
|
-
statusLabel && /* @__PURE__ */
|
|
21556
|
+
/* @__PURE__ */ jsx80("span", { className: "pc-notification-row-title", children: notification.title }),
|
|
21557
|
+
!notification.is_read && /* @__PURE__ */ jsx80("span", { className: "pc-notification-unread-dot-lg" }),
|
|
21558
|
+
statusLabel && /* @__PURE__ */ jsx80("span", { className: "pc-notification-status-badge", children: statusLabel })
|
|
21550
21559
|
] }),
|
|
21551
|
-
/* @__PURE__ */
|
|
21552
|
-
notification.ctas && notification.ctas.length > 0 && /* @__PURE__ */
|
|
21560
|
+
/* @__PURE__ */ jsx80("p", { className: "pc-notification-row-description", children: notification.description }),
|
|
21561
|
+
notification.ctas && notification.ctas.length > 0 && /* @__PURE__ */ jsx80("div", { className: "pc-notification-row-ctas", children: notification.ctas.map((cta) => /* @__PURE__ */ jsx80(
|
|
21553
21562
|
NotificationCTAButton,
|
|
21554
21563
|
{
|
|
21555
21564
|
cta,
|
|
@@ -21562,14 +21571,14 @@ var NotificationRow = ({ notification, onClick, onCTAClick }) => {
|
|
|
21562
21571
|
`${cta.action_type}-${cta.label}`
|
|
21563
21572
|
)) })
|
|
21564
21573
|
] }),
|
|
21565
|
-
/* @__PURE__ */
|
|
21574
|
+
/* @__PURE__ */ jsx80("span", { className: "pc-notification-row-time", children: formatTimeAgo(notification.created_at, t) })
|
|
21566
21575
|
]
|
|
21567
21576
|
}
|
|
21568
21577
|
);
|
|
21569
21578
|
};
|
|
21570
21579
|
|
|
21571
21580
|
// src/RedactoPrivacyCenter/components/NotificationHub/NotificationListPanel.tsx
|
|
21572
|
-
import { jsx as
|
|
21581
|
+
import { jsx as jsx81, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
21573
21582
|
var NotificationListPanel = ({
|
|
21574
21583
|
notifications,
|
|
21575
21584
|
totalCount,
|
|
@@ -21598,11 +21607,11 @@ var NotificationListPanel = ({
|
|
|
21598
21607
|
] })
|
|
21599
21608
|
] }),
|
|
21600
21609
|
/* @__PURE__ */ jsxs57("div", { className: "pc-notification-header-actions", children: [
|
|
21601
|
-
/* @__PURE__ */
|
|
21602
|
-
/* @__PURE__ */
|
|
21610
|
+
/* @__PURE__ */ jsx81(NotificationRefreshButton, { isRefreshing: isRefreshing2, onRefresh, iconSize: 18 }),
|
|
21611
|
+
/* @__PURE__ */ jsx81("button", { type: "button", onClick: onMarkAllRead, className: "pc-notification-link-btn", children: t("markAllAsRead") })
|
|
21603
21612
|
] })
|
|
21604
21613
|
] }),
|
|
21605
|
-
/* @__PURE__ */
|
|
21614
|
+
/* @__PURE__ */ jsx81("div", { className: "pc-notification-filter-tabs", children: tabs.map((tab) => /* @__PURE__ */ jsx81(
|
|
21606
21615
|
"button",
|
|
21607
21616
|
{
|
|
21608
21617
|
type: "button",
|
|
@@ -21614,7 +21623,7 @@ var NotificationListPanel = ({
|
|
|
21614
21623
|
},
|
|
21615
21624
|
tab.key
|
|
21616
21625
|
)) }),
|
|
21617
|
-
/* @__PURE__ */
|
|
21626
|
+
/* @__PURE__ */ jsx81("div", { children: isLoading && !isRefreshing2 ? /* @__PURE__ */ jsx81("div", { className: "pc-notification-empty-state", children: t("loadingNotifications") }) : notifications.length === 0 ? /* @__PURE__ */ jsx81("div", { className: "pc-notification-empty-state", children: t("noNotificationsInCategory") }) : notifications.map((notification) => /* @__PURE__ */ jsx81(
|
|
21618
21627
|
NotificationRow,
|
|
21619
21628
|
{
|
|
21620
21629
|
notification,
|
|
@@ -21624,7 +21633,7 @@ var NotificationListPanel = ({
|
|
|
21624
21633
|
notification.uuid
|
|
21625
21634
|
)) }),
|
|
21626
21635
|
totalCount > NOTIFICATION_PAGE_SIZE && /* @__PURE__ */ jsxs57("div", { className: "pc-notification-pagination", children: [
|
|
21627
|
-
/* @__PURE__ */
|
|
21636
|
+
/* @__PURE__ */ jsx81(
|
|
21628
21637
|
"button",
|
|
21629
21638
|
{
|
|
21630
21639
|
type: "button",
|
|
@@ -21634,8 +21643,8 @@ var NotificationListPanel = ({
|
|
|
21634
21643
|
children: t("previous")
|
|
21635
21644
|
}
|
|
21636
21645
|
),
|
|
21637
|
-
/* @__PURE__ */
|
|
21638
|
-
/* @__PURE__ */
|
|
21646
|
+
/* @__PURE__ */ jsx81("span", { className: "pc-notification-pagination-range", children: t("paginationRange", { start: skip + 1, end: Math.min(skip + NOTIFICATION_PAGE_SIZE, totalCount), total: totalCount }) }),
|
|
21647
|
+
/* @__PURE__ */ jsx81(
|
|
21639
21648
|
"button",
|
|
21640
21649
|
{
|
|
21641
21650
|
type: "button",
|
|
@@ -21650,7 +21659,7 @@ var NotificationListPanel = ({
|
|
|
21650
21659
|
};
|
|
21651
21660
|
|
|
21652
21661
|
// src/RedactoPrivacyCenter/NotificationsPage.tsx
|
|
21653
|
-
import { jsx as
|
|
21662
|
+
import { jsx as jsx82, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
21654
21663
|
var NotificationsPage = () => {
|
|
21655
21664
|
const { t } = useTranslation45();
|
|
21656
21665
|
const { langParam } = useCurrentLanguage();
|
|
@@ -21780,16 +21789,16 @@ var NotificationsPage = () => {
|
|
|
21780
21789
|
const onBack = useCallback19(() => navigateTo("consent-manager"), [navigateTo]);
|
|
21781
21790
|
return /* @__PURE__ */ jsxs58("div", { className: "pc-notification-page", children: [
|
|
21782
21791
|
/* @__PURE__ */ jsxs58("button", { type: "button", onClick: onBack, className: "pc-notification-back-btn", children: [
|
|
21783
|
-
/* @__PURE__ */
|
|
21792
|
+
/* @__PURE__ */ jsx82(IoChevronBackOutline, { size: 14 }),
|
|
21784
21793
|
t("backToManageConsent")
|
|
21785
21794
|
] }),
|
|
21786
21795
|
/* @__PURE__ */ jsxs58("div", { className: "pc-notification-stats-grid", children: [
|
|
21787
|
-
/* @__PURE__ */
|
|
21788
|
-
/* @__PURE__ */
|
|
21789
|
-
/* @__PURE__ */
|
|
21790
|
-
/* @__PURE__ */
|
|
21796
|
+
/* @__PURE__ */ jsx82(StatCard, { value: summary.total, label: statLabels.total }),
|
|
21797
|
+
/* @__PURE__ */ jsx82(StatCard, { value: summary.unread, label: statLabels.unread }),
|
|
21798
|
+
/* @__PURE__ */ jsx82(StatCard, { value: summary.action_needed, label: statLabels.action_needed }),
|
|
21799
|
+
/* @__PURE__ */ jsx82(StatCard, { value: summary.acknowledged, label: statLabels.acknowledged })
|
|
21791
21800
|
] }),
|
|
21792
|
-
/* @__PURE__ */
|
|
21801
|
+
/* @__PURE__ */ jsx82(
|
|
21793
21802
|
NotificationListPanel,
|
|
21794
21803
|
{
|
|
21795
21804
|
notifications,
|
|
@@ -21810,7 +21819,7 @@ var NotificationsPage = () => {
|
|
|
21810
21819
|
};
|
|
21811
21820
|
|
|
21812
21821
|
// src/RedactoPrivacyCenter/PrivacyCenterHomePage.tsx
|
|
21813
|
-
import { jsx as
|
|
21822
|
+
import { jsx as jsx83 } from "react/jsx-runtime";
|
|
21814
21823
|
function PrivacyCenterHomePage() {
|
|
21815
21824
|
const { currentPage } = useInternalNavigation();
|
|
21816
21825
|
useEffect28(() => {
|
|
@@ -21820,17 +21829,17 @@ function PrivacyCenterHomePage() {
|
|
|
21820
21829
|
}, []);
|
|
21821
21830
|
switch (currentPage) {
|
|
21822
21831
|
case "consent-manager":
|
|
21823
|
-
return /* @__PURE__ */
|
|
21832
|
+
return /* @__PURE__ */ jsx83(PrivacyCenterConsentManagerPage, {});
|
|
21824
21833
|
case "form":
|
|
21825
|
-
return /* @__PURE__ */
|
|
21834
|
+
return /* @__PURE__ */ jsx83(PrivacyCenterFormPage, {});
|
|
21826
21835
|
case "activity":
|
|
21827
|
-
return /* @__PURE__ */
|
|
21836
|
+
return /* @__PURE__ */ jsx83(PrivacyCenterActivityPage, {});
|
|
21828
21837
|
case "case-details":
|
|
21829
|
-
return /* @__PURE__ */
|
|
21838
|
+
return /* @__PURE__ */ jsx83(PrivacyCenterCaseDetailsPage, {});
|
|
21830
21839
|
case "notifications":
|
|
21831
|
-
return /* @__PURE__ */
|
|
21840
|
+
return /* @__PURE__ */ jsx83(NotificationsPage, {});
|
|
21832
21841
|
default:
|
|
21833
|
-
return /* @__PURE__ */
|
|
21842
|
+
return /* @__PURE__ */ jsx83(PrivacyCenterConsentManagerPage, {});
|
|
21834
21843
|
}
|
|
21835
21844
|
}
|
|
21836
21845
|
|
|
@@ -24491,7 +24500,7 @@ var injectPCStyles = () => {
|
|
|
24491
24500
|
};
|
|
24492
24501
|
|
|
24493
24502
|
// src/RedactoPrivacyCenter/RedactoPrivacyCenter.tsx
|
|
24494
|
-
import { jsx as
|
|
24503
|
+
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
24495
24504
|
injectPCStyles();
|
|
24496
24505
|
function RedactoPrivacyCenter({
|
|
24497
24506
|
baseUrl,
|
|
@@ -24502,13 +24511,13 @@ function RedactoPrivacyCenter({
|
|
|
24502
24511
|
initialPage = "consent-manager",
|
|
24503
24512
|
onBack
|
|
24504
24513
|
}) {
|
|
24505
|
-
return /* @__PURE__ */
|
|
24514
|
+
return /* @__PURE__ */ jsx84(I18nextProvider, { i18n: i18n_default, children: /* @__PURE__ */ jsx84(BrandingProvider, { slug, baseUrl, children: /* @__PURE__ */ jsx84(BaseUrlProvider, { baseUrl, children: /* @__PURE__ */ jsx84(
|
|
24506
24515
|
AuthProvider,
|
|
24507
24516
|
{
|
|
24508
24517
|
accessToken,
|
|
24509
24518
|
refreshToken,
|
|
24510
24519
|
onError,
|
|
24511
|
-
children: /* @__PURE__ */
|
|
24520
|
+
children: /* @__PURE__ */ jsx84(NavigationProvider, { initialPage, children: /* @__PURE__ */ jsx84(PageChromeProvider, { children: /* @__PURE__ */ jsx84(PrivacyCenterLayout, { slug, onBack, children: /* @__PURE__ */ jsx84(PrivacyCenterHomePage, {}) }) }) })
|
|
24512
24521
|
}
|
|
24513
24522
|
) }) }) });
|
|
24514
24523
|
}
|