@burdenoff/microfe-support 2026.1109.1 → 2026.1115.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/global-operations.d.ts +62 -0
- package/dist/generated/global-operations.js +104 -69
- package/dist/generated/global-operations.js.map +1 -1
- package/dist/generated/global-types.js +17 -15
- package/dist/generated/global-types.js.map +1 -1
- package/dist/support/SupportUserRoot.js +32 -28
- package/dist/support/SupportUserRoot.js.map +1 -1
- package/dist/support/SupportUserRoutes.d.ts +1 -0
- package/dist/support/SupportUserRoutes.js +31 -28
- package/dist/support/SupportUserRoutes.js.map +1 -1
- package/dist/support/components/PageLayout.js +35 -35
- package/dist/support/components/RouteHelpers.d.ts +2 -1
- package/dist/support/components/RouteHelpers.js +3 -3
- package/dist/support/components/RouteHelpers.js.map +1 -1
- package/dist/support/components/help/RelatedArticles.d.ts +12 -0
- package/dist/support/components/help/RelatedArticles.js +55 -0
- package/dist/support/components/help/RelatedArticles.js.map +1 -0
- package/dist/support/components/help/RequestDetailHeader.d.ts +18 -0
- package/dist/support/components/help/RequestDetailHeader.js +129 -0
- package/dist/support/components/help/RequestDetailHeader.js.map +1 -0
- package/dist/support/components/help/SatisfactionReview.d.ts +18 -0
- package/dist/support/components/help/SatisfactionReview.js +103 -0
- package/dist/support/components/help/SatisfactionReview.js.map +1 -0
- package/dist/support/components/help/StarRating.d.ts +16 -0
- package/dist/support/components/help/StarRating.js +63 -0
- package/dist/support/components/help/StarRating.js.map +1 -0
- package/dist/support/components/help/StatusGroupPill.d.ts +11 -0
- package/dist/support/components/help/StatusGroupPill.js +19 -0
- package/dist/support/components/help/StatusGroupPill.js.map +1 -0
- package/dist/support/components/settings/TicketCategoriesSettings.js +69 -69
- package/dist/support/components/settings/TicketCategoriesSettings.js.map +1 -1
- package/dist/support/components/tickets/MessageComposer.js +7 -7
- package/dist/support/components/tickets/MessageComposer.js.map +1 -1
- package/dist/support/components/tickets/TicketDetailHeader.js +54 -60
- package/dist/support/components/tickets/TicketDetailHeader.js.map +1 -1
- package/dist/support/components/ui.js +1 -1
- package/dist/support/constants.d.ts +23 -0
- package/dist/support/constants.js +2 -2
- package/dist/support/constants.js.map +1 -1
- package/dist/support/hooks/useDebouncedValue.d.ts +6 -0
- package/dist/support/hooks/useDebouncedValue.js +12 -0
- package/dist/support/hooks/useDebouncedValue.js.map +1 -0
- package/dist/support/hooks/useKnowledgeBaseOperations.d.ts +8 -1
- package/dist/support/hooks/useKnowledgeBaseOperations.js +86 -81
- package/dist/support/hooks/useKnowledgeBaseOperations.js.map +1 -1
- package/dist/support/hooks/useSupportVariant.d.ts +11 -0
- package/dist/support/hooks/useSupportVariant.js +11 -0
- package/dist/support/hooks/useSupportVariant.js.map +1 -0
- package/dist/support/hooks/useTicketCreatedToast.d.ts +16 -0
- package/dist/support/hooks/useTicketCreatedToast.js +25 -0
- package/dist/support/hooks/useTicketCreatedToast.js.map +1 -0
- package/dist/support/hooks/useTicketLabels.d.ts +22 -0
- package/dist/support/hooks/useTicketLabels.js +40 -0
- package/dist/support/hooks/useTicketLabels.js.map +1 -0
- package/dist/support/index.d.ts +1 -1
- package/dist/support/pages/ArticleDetailAdminPage.js +84 -84
- package/dist/support/pages/ArticleDetailAdminPage.js.map +1 -1
- package/dist/support/pages/ArticleDetailUserPage.d.ts +5 -0
- package/dist/support/pages/ArticleDetailUserPage.js +133 -69
- package/dist/support/pages/ArticleDetailUserPage.js.map +1 -1
- package/dist/support/pages/AskForHelpPage.d.ts +11 -0
- package/dist/support/pages/AskForHelpPage.js +396 -0
- package/dist/support/pages/AskForHelpPage.js.map +1 -0
- package/dist/support/pages/ContactInquiriesPage.js +73 -73
- package/dist/support/pages/ContactInquiryDetailPage.js +47 -47
- package/dist/support/pages/ContactInquiryDetailPage.js.map +1 -1
- package/dist/support/pages/CreateTicketPage.d.ts +4 -0
- package/dist/support/pages/CreateTicketPage.js +121 -117
- package/dist/support/pages/CreateTicketPage.js.map +1 -1
- package/dist/support/pages/HelpHubPage.d.ts +9 -0
- package/dist/support/pages/HelpHubPage.js +272 -0
- package/dist/support/pages/HelpHubPage.js.map +1 -0
- package/dist/support/pages/JobApplicationDetailPage.js +388 -388
- package/dist/support/pages/JobApplicationDetailPage.js.map +1 -1
- package/dist/support/pages/JobApplicationsPage.js +35 -35
- package/dist/support/pages/JobPostingDetailPage.js +236 -236
- package/dist/support/pages/JobPostingDetailPage.js.map +1 -1
- package/dist/support/pages/KnowledgeBaseUserPage.d.ts +6 -1
- package/dist/support/pages/KnowledgeBaseUserPage.js +188 -137
- package/dist/support/pages/KnowledgeBaseUserPage.js.map +1 -1
- package/dist/support/pages/MyRequestsPage.d.ts +16 -0
- package/dist/support/pages/MyRequestsPage.js +389 -0
- package/dist/support/pages/MyRequestsPage.js.map +1 -0
- package/dist/support/pages/TicketDetailUserPage.d.ts +5 -0
- package/dist/support/pages/TicketDetailUserPage.js +285 -192
- package/dist/support/pages/TicketDetailUserPage.js.map +1 -1
- package/dist/support/pages/TicketListPage.d.ts +7 -0
- package/dist/support/pages/TicketListPage.js +150 -153
- package/dist/support/pages/TicketListPage.js.map +1 -1
- package/dist/support/providers/SupportProvider.js +8 -7
- package/dist/support/providers/SupportProvider.js.map +1 -1
- package/dist/support/store/supportStore.d.ts +5 -0
- package/dist/support/store/supportStore.js +1 -0
- package/dist/support/store/supportStore.js.map +1 -1
- package/dist/support/translations/en.d.ts +279 -0
- package/dist/support/translations/en.js +270 -1
- package/dist/support/translations/en.js.map +1 -1
- package/dist/support/types/index.d.ts +13 -0
- package/dist/support/utils/cameFrom.d.ts +16 -0
- package/dist/support/utils/cameFrom.js +22 -0
- package/dist/support/utils/cameFrom.js.map +1 -0
- package/dist/support/utils/dates.d.ts +15 -0
- package/dist/support/utils/dates.js +35 -0
- package/dist/support/utils/dates.js.map +1 -0
- package/dist/support/utils/reopen.d.ts +27 -0
- package/dist/support/utils/reopen.js +27 -0
- package/dist/support/utils/reopen.js.map +1 -0
- package/dist/support/utils/requestTechnicalDetails.d.ts +13 -0
- package/dist/support/utils/requestTechnicalDetails.js +38 -0
- package/dist/support/utils/requestTechnicalDetails.js.map +1 -0
- package/dist/support/utils/ticketFilters.d.ts +16 -0
- package/dist/support/utils/ticketFilters.js +24 -12
- package/dist/support/utils/ticketFilters.js.map +1 -1
- package/dist/support/utils/ticketStatusGroups.d.ts +20 -0
- package/dist/support/utils/ticketStatusGroups.js +39 -0
- package/dist/support/utils/ticketStatusGroups.js.map +1 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.js","names":["enTranslations"],"sources":["../../../src/support/translations/en.ts"],"sourcesContent":["// This file is auto-generated by scripts/extract-i18n.ts.\n// Do not edit it manually; run `bun scripts/extract-i18n.ts` instead.\nexport const enTranslations = {\n common: {\n cancel: 'Cancel',\n },\n support: {\n analytics: {\n categoryBreakdown: {\n title: 'Top Categories',\n },\n metric: {\n avgResponseTime: {\n subtitle: 'Resolution: {{resolution}}h',\n title: 'Avg Response Time',\n },\n satisfaction: {\n subtitle: 'CSAT: {{csat}}%, NPS: {{nps}}',\n title: 'Satisfaction',\n },\n slaCompliance: {\n subtitle: '{{count}} breached',\n title: 'SLA Compliance',\n },\n totalTickets: {\n subtitle: '{{open}} open, {{resolved}} resolved',\n title: 'Total Tickets',\n },\n },\n nextSteps: {\n export: {\n description: 'Share performance with stakeholders in one click.',\n label: 'Export a PDF report',\n },\n period: {\n description: 'Compare the last 7, 30, 90 days or a full year to spot trends.',\n label: 'Switch the reporting period',\n },\n sla: {\n description: 'Scroll to the SLA report to see where commitments slipped.',\n label: 'Review SLA compliance',\n },\n title: 'Make the most of your data',\n },\n priorityBreakdown: {\n title: 'Tickets by Priority',\n },\n purpose:\n 'Measure how your support operation is performing. Track ticket volume, first-response and resolution times, SLA compliance and customer satisfaction so you can spot bottlenecks, balance agent workload, and prove the impact of your team. Adjust the period to compare trends over time.',\n satisfaction: {\n avgRating: 'Avg Rating',\n csat: 'CSAT',\n distribution: 'Rating Distribution ({{count}} responses)',\n nps: 'NPS',\n promoterScore: 'Promoter Score',\n satisfaction: 'Satisfaction',\n title: 'Customer Satisfaction',\n },\n slaReport: {\n avg: 'Avg: {{value}}h',\n breached: 'Breached',\n byPriority: 'Compliance by Priority',\n firstResponse: 'First Response',\n resolution: 'Resolution',\n ticketsCount: '{{count}} tickets',\n title: 'SLA Compliance Report',\n totalTickets: 'Total Tickets',\n },\n title: 'Support Analytics',\n topAgents: {\n empty: 'No agent data available',\n resolved: '{{count}} resolved',\n title: 'Top Performing Agents',\n },\n trendChart: {\n title: 'Ticket Volume Trends',\n },\n },\n article: {\n actions: {\n archive: 'Archive',\n archiving: 'Archiving…',\n backToKnowledgeBase: 'Back to Knowledge Base',\n delete: 'Delete',\n deleting: 'Deleting…',\n edit: 'Edit',\n publish: 'Publish',\n publishing: 'Publishing…',\n unpublish: 'Unpublish',\n unpublishing: 'Unpublishing…',\n },\n adminRequired: {\n createDescription: 'You need administrator privileges to create knowledge base articles.',\n editDescription: 'You need administrator privileges to edit knowledge base articles.',\n title: 'Admin Access Required',\n },\n createPurpose:\n 'Write a knowledge base article to answer a question your customers keep asking. A clear, well-categorised guide deflects repeat tickets and helps users self-serve. Save as a draft while you work, then publish when it is ready for customers to see.',\n createSubtitle: 'Add a new article to the knowledge base',\n createTitle: 'Create New Article',\n deleteConfirm: {\n confirm: 'Delete',\n message: 'Delete this article? This cannot be undone.',\n title: 'Delete Article',\n },\n deleteDialog: {\n description: 'Are you sure you want to delete \"{{title}}\"? This action cannot be undone.',\n title: 'Delete Article?',\n },\n editPurpose:\n 'Refine an existing knowledge base article. Keep guides accurate as your product evolves, fix unclear steps, or move an article between draft and published. Changes go live for customers as soon as you save a published article.',\n editTitle: 'Edit Article',\n errors: {\n archiveFailed: 'Failed to archive article.',\n createFailed: 'Failed to create article. Please try again.',\n deleteFailed: 'Failed to delete article.',\n publishFailed: 'Failed to publish article.',\n unpublishFailed: 'Failed to unpublish article.',\n updateFailed: 'Failed to update article. Please try again.',\n },\n feedback: {\n description: 'See how readers rate this guide — low scores are a cue to revise it.',\n no: 'No ({{count}})',\n title: 'Was this article helpful?',\n userDescription: 'Your feedback helps us improve our guides for everyone.',\n yes: 'Yes ({{count}})',\n },\n loading: 'Loading article...',\n nextSteps: {\n back: {\n description: 'Return to the full list of articles.',\n label: 'Back to the knowledge base',\n },\n edit: {\n description: 'Update the content, category or tags.',\n label: 'Edit the article',\n },\n publish: {\n description: 'Make this article visible to customers.',\n label: 'Publish it',\n },\n title: 'Manage this article',\n unpublish: {\n description: 'Hide it from customers while you revise.',\n label: 'Unpublish or archive',\n },\n },\n notFound: {\n description: \"The article you're looking for doesn't exist or has been removed.\",\n editDescription: \"The article you're trying to edit doesn't exist or has been removed.\",\n title: 'Article not found',\n },\n notifications: {\n archived: 'Article archived.',\n created: 'Article created successfully!',\n deleted: 'Article deleted successfully!',\n published: 'Article published successfully!',\n unpublished: 'Article unpublished.',\n updated: 'Article updated successfully!',\n },\n status: {\n archived: 'Archived',\n draft: 'Draft',\n published: 'Published',\n },\n views: '{{count}} views',\n },\n articleForm: {\n actions: {\n cancel: 'Cancel',\n create: 'Create Article',\n edit: 'Edit',\n preview: 'Preview',\n saving: 'Saving…',\n update: 'Update Article',\n },\n labels: {\n category: 'Category',\n content: 'Content',\n excerpt: 'Excerpt',\n metaDescription: 'Meta Description',\n slug: 'URL Slug',\n status: 'Status',\n tags: 'Tags',\n title: 'Title',\n },\n markdownHint:\n 'Supports Markdown: **bold**, *italic*, # headings, - lists, [links](url), ```code```',\n nothingToPreview: 'Nothing to preview',\n placeholders: {\n category: 'Select a category',\n content: 'Article content (supports Markdown)',\n excerpt: 'Brief summary of the article (displayed in search results)',\n metaDescription: 'SEO meta description (optional)',\n slug: 'article-url-slug',\n tags: 'Enter tags separated by commas (e.g., billing, account, setup)',\n title: 'Article title',\n },\n slugHint: 'Auto-generated from title. Edit to customize.',\n status: {\n draft: 'Draft - Not visible to users',\n published: 'Published - Visible to all users',\n },\n },\n attachmentList: {\n loading: 'Loading attachments…',\n },\n contactInquiries: {\n empty: {\n description: 'Contact form submissions from your product websites will appear here.',\n title: 'No inquiries yet',\n },\n error: {\n title: 'Failed to load inquiries',\n },\n filters: {\n allProducts: 'All products',\n allStatuses: 'All statuses',\n productLabel: 'Product',\n statusLabel: 'Status',\n toggle: 'Filters',\n },\n list: {\n productTitle: 'Product: {{name}}',\n },\n loadMore: 'Load more',\n loading: 'Loading inquiries…',\n purpose:\n \"Every message sent through your product websites' contact forms lands here. Triage sales and support leads, mark spam, and convert genuine inquiries into tickets so nothing from a prospective customer slips through the cracks. Open an inquiry to read it in full and take action.\",\n search: {\n aria: 'Search inquiries',\n placeholder: 'Search by name, email, or subject...',\n },\n status: {\n archived: 'Archived',\n converted: 'Converted',\n new: 'New',\n reviewed: 'Reviewed',\n spam: 'Spam',\n },\n subtitle: 'Website contact form submissions',\n title: 'Contact Inquiries',\n },\n contactInquiryDetail: {\n actions: {\n archive: 'Archive',\n backToInquiries: 'Back to Inquiries',\n convertToTicket: 'Convert to Ticket',\n replyViaEmail: 'Reply via Email',\n statusLabel: 'Status',\n title: 'Actions',\n },\n additionalData: {\n title: 'Additional Data',\n },\n contactInfo: {\n copyEmail: 'Copy email',\n labels: {\n category: 'Category',\n company: 'Company',\n email: 'Email',\n name: 'Name',\n product: 'Product',\n source: 'Source',\n },\n title: 'Contact Information',\n },\n from: 'from',\n loading: 'Loading inquiry details…',\n message: {\n title: 'Message',\n },\n nextSteps: {\n archive: {\n description: 'Clear out anything that needs no follow-up.',\n label: 'Archive or mark spam',\n },\n convert: {\n description: 'Turn a real request into a tracked support ticket.',\n label: 'Convert to a ticket',\n },\n reply: {\n description: 'Send a branded email response from the Reply panel.',\n label: 'Reply to the sender',\n },\n title: 'Handle this inquiry',\n },\n notFound: {\n description: \"This inquiry may have been deleted or you don't have access.\",\n title: 'Inquiry not found',\n },\n notifications: {\n replySent: 'Reply sent successfully!',\n statusUpdated: 'Status updated successfully',\n },\n purpose:\n 'Everything a prospect or customer sent through your contact form, in one place. Read the message, reply by branded email, and decide what happens next — convert a genuine lead into a support ticket, mark it reviewed, or archive spam. Use the actions on the right to move it forward.',\n reply: {\n ariaLabel: 'Reply message',\n placeholder: 'Type your reply... This will be sent as a branded email to the contact.',\n send: 'Send Reply',\n title: 'Reply',\n },\n status: {\n archived: 'Archived',\n converted: 'Converted to Ticket',\n new: 'New',\n reviewed: 'Reviewed',\n spam: 'Spam',\n },\n timeAgo: {\n days: '{{days}}d ago',\n hours: '{{hours}}h ago',\n minutes: '{{minutes}}m ago',\n },\n timeline: {\n converted: 'Converted to Ticket',\n lastUpdated: 'Last Updated',\n submitted: 'Submitted',\n title: 'Timeline',\n },\n },\n createTicket: {\n actions: {\n cancel: 'Cancel',\n submit: 'Create Ticket',\n submitting: 'Creating…',\n },\n attachments: {\n label: 'Attach files, screenshots, logs, or documents',\n remove: 'Remove attachment {{fileName}}',\n uploading: 'Uploading {{fileName}}...',\n },\n category: {\n loading: 'Loading categories...',\n select: 'Select a category',\n },\n errors: {\n createFailed: 'Failed to create ticket. Please try again.',\n },\n labels: {\n attachments: 'Attachments',\n category: 'Category',\n description: 'Description',\n priority: 'Priority',\n subject: 'Subject',\n },\n markdownHint: 'Markdown is supported, including fenced code blocks.',\n notifications: {\n created: 'Ticket created successfully!',\n },\n placeholders: {\n description: 'Provide detailed information about your issue',\n subject: 'Brief description of your issue',\n },\n priority: {\n critical: 'Critical - Complete blocker, urgent',\n high: 'High - Significant impact on work',\n low: 'Low - General question or minor issue',\n normal: 'Normal - Standard support request',\n },\n purpose:\n 'Tell us what is going wrong and our support team will pick it up. The clearer your subject, description and priority, the faster we can help — attach screenshots, logs or files if they explain the problem. You will be able to follow the reply right here once it is submitted.',\n subtitle: 'Submit a new support request',\n title: 'Create New Ticket',\n validation: {\n descriptionMin: 'Description must be at least {{min}} characters long.',\n subjectMin: 'Subject must be at least {{min}} characters long.',\n },\n },\n footer: {\n ready: 'Support Ready',\n },\n knowledgeBase: {\n actions: {\n newArticle: 'New Article',\n },\n allArticles: 'All Articles',\n articleCount: '{{count}} articles',\n browseByCategory: 'Browse by Category',\n clear: 'Clear',\n clearSearch: 'Clear Search',\n empty: {\n description: 'Check back later for helpful articles and guides',\n searchDescription: 'Try adjusting your search terms or browse by category',\n searchTitle: 'No articles found',\n title: 'No articles available',\n },\n helpful: '{{count}} helpful',\n loadMore: 'Load More',\n loading: 'Loading articles...',\n popularArticles: 'Popular Articles',\n purposeAdmin:\n 'Author and curate the self-serve help center customers see. Write clear how-to guides and FAQ articles here to deflect repetitive tickets — well-covered topics mean fewer support requests. Draft and archived articles are visible to you but hidden from customers until published.',\n purposeUser:\n 'Your self-serve help center. Search how-to guides and answers before raising a ticket — most common questions (setup, billing, troubleshooting) are answered here in seconds. Browse by category or check the most popular articles below.',\n searchPlaceholder: 'Search for help articles...',\n searchResults: 'Search Results for \"{{query}}\"',\n status: {\n archived: 'Archived',\n draft: 'Draft',\n },\n subtitleAdmin: 'Manage help articles and documentation',\n subtitleUser: 'Find answers to common questions and learn how to use our platform',\n title: 'Knowledge Base',\n views: '{{count}} views',\n },\n loading: {\n default: 'Loading...',\n },\n messageComposer: {\n attachFiles: 'Attach files',\n cannedResponses: 'Canned responses',\n hint: 'Markdown supported. Press Enter to send, Shift+Enter for new line',\n internalNote: 'Internal Note (not visible to customer)',\n loadingCannedResponses: 'Loading saved replies...',\n noCannedResponses: 'No saved replies available',\n selectCannedResponse: 'Insert a saved reply',\n send: 'Send',\n sending: 'Sending...',\n },\n messageThread: {\n agentAlias: 'Support Agent',\n customer: 'Customer',\n empty: {\n description: 'Start the conversation by sending a message',\n title: 'No messages yet',\n },\n internalBadge: 'Internal',\n you: 'You',\n },\n nav: {\n analytics: 'Analytics',\n contactInquiries: 'Contact Inquiries',\n interviewers: 'Interviewers',\n jobApplications: 'Job Applications',\n jobPostings: 'Job Postings',\n knowledgeBase: 'Knowledge Base',\n settings: 'Settings',\n tickets: 'Tickets',\n },\n root: {\n errorFallback: 'Something went wrong loading this module. Please refresh the page.',\n },\n settings: {\n cannedResponses: {\n actions: {\n delete: 'Delete canned response',\n edit: 'Edit canned response',\n new: 'New Response',\n },\n empty: 'No canned responses configured',\n errors: {\n deleteFailed: 'Failed to delete response.',\n saveFailed: 'Failed to save response.',\n },\n form: {\n cancel: 'Cancel',\n create: 'Create Response',\n createTitle: 'Create New Response',\n editTitle: 'Edit Response',\n responseLabel: 'Response',\n responsePlaceholder: 'Write the saved reply agents can reuse.',\n saving: 'Saving...',\n tagsLabel: 'Tags',\n tagsPlaceholder: 'billing, onboarding, bug',\n titleLabel: 'Title',\n titlePlaceholder: 'e.g., Troubleshooting next steps',\n update: 'Update Response',\n },\n subtitle: 'Pre-written responses for common customer inquiries',\n title: 'Canned Responses',\n },\n categories: {\n actions: {\n activate: 'Activate',\n cancel: 'Cancel',\n create: 'Create Category',\n creating: 'Creating...',\n deactivate: 'Deactivate',\n delete: 'Delete category',\n edit: 'Edit category',\n new: 'New Category',\n update: 'Update Category',\n updating: 'Updating...',\n },\n aria: {\n activate: 'Activate category',\n deactivate: 'Deactivate category',\n delete: 'Delete category',\n edit: 'Edit category',\n },\n articleCount: '{{count}} articles',\n deleteDialog: {\n cancel: 'Cancel',\n confirm: 'Delete',\n description:\n 'Are you sure you want to delete this category? This action cannot be undone.',\n title: 'Delete category?',\n },\n empty: {\n createLink: 'Create your first category',\n title: 'No categories configured',\n },\n errors: {\n createFailed: 'Failed to create category.',\n deleteBlocked: 'Cannot delete category with {{count}} articles. Move articles first.',\n deleteFailed: 'Failed to delete category.',\n statusUpdateFailed: 'Failed to update category status.',\n updateFailed: 'Failed to update category.',\n },\n form: {\n activeLabel: 'Active',\n colorAria: 'Use {{color}} category color',\n colorLabel: 'Color',\n descriptionLabel: 'Description',\n descriptionPlaceholder: 'Brief description of this category...',\n iconLabel: 'Icon (emoji)',\n iconPlaceholder: 'e.g., 🛠️',\n nameLabel: 'Category Name',\n namePlaceholder: 'e.g., Technical Support',\n slugHint: 'URL-friendly identifier (auto-generated from name)',\n slugLabel: 'Slug',\n slugPlaceholder: 'technical-support',\n },\n inactiveBadge: 'Inactive',\n modal: {\n createTitle: 'Create Category',\n editTitle: 'Edit Category',\n },\n notifications: {\n activated: 'Category activated.',\n created: 'Category created successfully!',\n deactivated: 'Category deactivated.',\n deleted: 'Category deleted successfully!',\n updated: 'Category updated successfully!',\n },\n subtitle: 'Organize tickets and knowledge base articles by category',\n title: 'Ticket Categories',\n },\n loading: 'Loading settings...',\n nextSteps: {\n categories: {\n description: 'Group tickets and articles for easier triage.',\n label: 'Organise categories',\n },\n responses: {\n description: 'Reusable replies that agents can insert instantly.',\n label: 'Create canned responses',\n },\n sla: {\n description: 'Set response and resolution targets per priority.',\n label: 'Define SLA policies',\n },\n title: 'Set up your support desk',\n },\n permission: {\n description:\n 'You need administrator privileges to access support settings. Please contact your workspace admin for access.',\n title: 'Admin Access Required',\n },\n purpose:\n 'Tune how your support desk runs. Define SLA policies so high-priority tickets get a guaranteed response time, write canned responses so agents reply to common questions in one click, and organise tickets and articles into categories. These settings shape the experience for both your team and your customers.',\n sla: {\n actions: {\n delete: 'Delete SLA policy',\n edit: 'Edit SLA policy',\n new: 'New Policy',\n },\n businessHoursOnly: 'Business hours only',\n empty: 'No SLA policies configured',\n form: {\n businessHoursLabel: 'Business hours only',\n cancel: 'Cancel',\n create: 'Create Policy',\n createTitle: 'Create New Policy',\n editTitle: 'Edit Policy',\n firstResponseLabel: 'First Response (minutes)',\n nameLabel: 'Policy Name',\n namePlaceholder: 'e.g., Critical Response SLA',\n priorityLabel: 'Priority',\n resolutionLabel: 'Resolution Time (minutes)',\n saving: 'Saving...',\n update: 'Update Policy',\n },\n inactiveBadge: 'Inactive',\n subtitle: 'Manage service level agreement policies for different priority levels',\n summary:\n 'Priority: {{priority}} • First Response: {{firstResponse}}m • Resolution: {{resolution}}m',\n title: 'SLA Policies',\n twentyFourSeven: '24/7',\n },\n subtitle: 'Configure support module preferences and policies',\n tabs: {\n categories: 'Categories',\n responses: 'Canned Responses',\n sla: 'SLA Policies',\n },\n title: 'Support Settings',\n },\n shared: {\n category: {\n billingAccount: 'Billing & Account',\n bugReport: 'Bug Report',\n featureRequest: 'Feature Request',\n generalSupport: 'General Support',\n technicalSupport: 'Technical Support',\n },\n messageType: {\n agent: 'Agent',\n customer: 'Customer',\n internalNote: 'Internal Note',\n system: 'System',\n },\n notAvailable: 'N/A',\n priority: {\n critical: 'Critical',\n high: 'High',\n low: 'Low',\n normal: 'Normal',\n },\n source: {\n api: 'API',\n email: 'Email',\n import: 'Import',\n inApp: 'In-App',\n phone: 'Phone',\n website: 'Website',\n },\n status: {\n closed: 'Closed',\n inProgress: 'In Progress',\n new: 'New',\n reopened: 'Reopened',\n resolved: 'Resolved',\n waitingCustomer: 'Waiting on Customer',\n },\n uncategorized: 'Uncategorized',\n unknown: 'Unknown',\n },\n ticketDetail: {\n actions: {\n back: 'Back to Tickets',\n createNewTicket: 'Create New Ticket',\n reopen: 'Reopen',\n },\n conversationTitle: 'Conversation',\n descriptionHeading: 'Description',\n descriptionTitle: 'Customer request — Description',\n error: {\n description: 'An error occurred while loading the ticket. Please try again.',\n title: 'Failed to load ticket',\n },\n errors: {\n attachmentUploadFailed: 'Attachment upload failed: {{message}}',\n changeStatus: 'Failed to change ticket status.',\n messageSentAttachmentsFailed: 'Message sent, but attachments failed: {{message}}',\n nothingToSend: 'Nothing to send.',\n reopenFailed: 'Failed to reopen ticket.',\n reopenLimit:\n 'You have reached the maximum number of reopens for this ticket. Please create a new ticket to continue.',\n reviewSubmitFailed: 'Failed to submit review.',\n sendMessage: 'Failed to send message.',\n uploadAttachments: 'Failed to upload attachments.',\n },\n loading: 'Loading ticket details...',\n meta: {\n created: 'Created {{date}}',\n due: 'Due {{date}}',\n sla: 'SLA: {{label}}',\n },\n nextSteps: {\n inProgress: {\n description: 'Let the customer know you are working on it.',\n label: 'Mark as In Progress',\n },\n reply: {\n description: 'Draft a response in the composer below.',\n label: 'Reply to the customer',\n },\n resolve: {\n description: 'Close out the request once the issue is fixed.',\n label: 'Resolve the ticket',\n },\n title: 'Agent quick actions',\n },\n notFound: {\n description: \"The ticket you're looking for doesn't exist or has been deleted.\",\n title: 'Ticket not found',\n },\n notifications: {\n reopened: 'Ticket reopened.',\n reviewSubmitted: 'Thanks for your feedback!',\n },\n reopenCount: 'Reopen {{current}}/{{max}}',\n review: {\n description:\n 'Share a quick rating once the ticket is closed. Optional notes help improve future responses.',\n feedbackAgentHelpful: 'Agent helpful',\n feedbackIssueResolved: 'Issue resolved',\n feedbackKnowledgeBase: 'Knowledge base',\n feedbackOther: 'Other',\n feedbackResponseTime: 'Response time',\n feedbackTypeLabel: 'Feedback type',\n notesLabel: 'Notes',\n notesPlaceholder: 'Optional notes about the support experience',\n optional: 'Optional',\n rating1: '1 - Poor',\n rating2: '2 - Needs improvement',\n rating3: '3 - Okay',\n rating4: '4 - Good',\n rating5: '5 - Excellent',\n ratingLabel: 'Rating',\n selectRating: 'Select rating',\n submit: 'Submit review',\n submitting: 'Submitting...',\n title: 'Rate this support experience',\n },\n sidebar: {\n agentLabel: 'Agent',\n assignedTo: 'Assigned To',\n category: 'Category',\n createdBy: 'Created By',\n linkedTickets: {\n title: 'Linked Tickets',\n },\n satisfaction: {\n pending: 'Pending',\n title: 'Customer Satisfaction',\n },\n sla: {\n atRisk: 'SLA at risk',\n onTrack: 'On Track',\n policy: 'Policy: {{name}}',\n statusLabel: 'Status',\n },\n slaStatus: 'SLA Status',\n source: 'Source',\n tags: 'Tags',\n timestamps: {\n closed: 'Closed',\n created: 'Created',\n due: 'Due',\n firstResponse: 'First Response',\n resolved: 'Resolved',\n title: 'Timestamps',\n updated: 'Updated',\n },\n unknownUser: 'User {{id}}',\n },\n userNextSteps: {\n knowledgeBase: {\n description: 'Find answers to common questions instantly.',\n label: 'Browse the knowledge base',\n },\n newTicket: {\n description: 'Have a different issue? Start a fresh request.',\n label: 'Open a new ticket',\n },\n reopen: {\n description: 'Still stuck? Reopen to continue the conversation.',\n label: 'Reopen this ticket',\n },\n reply: {\n description: 'Add details or answer a question from our support team.',\n label: 'Reply to the conversation',\n },\n title: 'Quick actions',\n },\n },\n ticketList: {\n actions: {\n loadMore: 'Load More',\n loadingMore: 'Loading...',\n newTicket: 'New Ticket',\n },\n category: {\n general: 'General',\n },\n count: {\n plural: 'tickets',\n single: 'ticket',\n },\n empty: {\n action: 'Create Ticket',\n description: 'Create your first support ticket to get started, or adjust your filters.',\n title: 'No tickets found',\n },\n error: {\n description: 'An error occurred while loading tickets. Please try again.',\n title: 'Failed to load tickets',\n },\n filters: {\n priority: {\n all: 'All Priorities',\n label: 'Priority',\n },\n status: {\n all: 'All Statuses',\n label: 'Status',\n },\n toggle: 'Filters',\n },\n loading: 'Loading tickets...',\n meta: {\n assigned: 'Assigned',\n },\n missingProduct: {\n description:\n 'This support view needs a product configuration before tickets can be loaded.',\n title: 'Unable to load tickets for this product',\n },\n purpose: {\n admin:\n 'Your shared support inbox — triage, prioritise and respond to every customer ticket here. Filter by product, status, priority or assignee to find what needs attention, and open a ticket to read the full conversation and reply.',\n user: 'Track every help request you have raised. Open a ticket to follow the conversation with our team, add details, or share attachments — or create a new ticket whenever you hit a snag.',\n },\n scopedSearch: {\n hint: 'Search results are limited to tickets already loaded for this product. Load more tickets to expand the searchable set.',\n },\n search: {\n placeholder: 'Search tickets...',\n },\n sla: {\n atRisk: 'SLA At Risk',\n breached: 'SLA Breached',\n },\n subtitle: 'Manage and respond to customer support requests',\n title: 'Support Tickets',\n titleAccent: 'Tickets',\n },\n },\n} as const;\n"],"mappings":";AAEA,IAAaA,IAAiB;CAC5B,QAAQ,EACN,QAAQ,SACV;CACA,SAAS;EACP,WAAW;GACT,mBAAmB,EACjB,OAAO,iBACT;GACA,QAAQ;IACN,iBAAiB;KACf,UAAU;KACV,OAAO;IACT;IACA,cAAc;KACZ,UAAU;KACV,OAAO;IACT;IACA,eAAe;KACb,UAAU;KACV,OAAO;IACT;IACA,cAAc;KACZ,UAAU;KACV,OAAO;IACT;GACF;GACA,WAAW;IACT,QAAQ;KACN,aAAa;KACb,OAAO;IACT;IACA,QAAQ;KACN,aAAa;KACb,OAAO;IACT;IACA,KAAK;KACH,aAAa;KACb,OAAO;IACT;IACA,OAAO;GACT;GACA,mBAAmB,EACjB,OAAO,sBACT;GACA,SACE;GACF,cAAc;IACZ,WAAW;IACX,MAAM;IACN,cAAc;IACd,KAAK;IACL,eAAe;IACf,cAAc;IACd,OAAO;GACT;GACA,WAAW;IACT,KAAK;IACL,UAAU;IACV,YAAY;IACZ,eAAe;IACf,YAAY;IACZ,cAAc;IACd,OAAO;IACP,cAAc;GAChB;GACA,OAAO;GACP,WAAW;IACT,OAAO;IACP,UAAU;IACV,OAAO;GACT;GACA,YAAY,EACV,OAAO,uBACT;EACF;EACA,SAAS;GACP,SAAS;IACP,SAAS;IACT,WAAW;IACX,qBAAqB;IACrB,QAAQ;IACR,UAAU;IACV,MAAM;IACN,SAAS;IACT,YAAY;IACZ,WAAW;IACX,cAAc;GAChB;GACA,eAAe;IACb,mBAAmB;IACnB,iBAAiB;IACjB,OAAO;GACT;GACA,eACE;GACF,gBAAgB;GAChB,aAAa;GACb,eAAe;IACb,SAAS;IACT,SAAS;IACT,OAAO;GACT;GACA,cAAc;IACZ,aAAa;IACb,OAAO;GACT;GACA,aACE;GACF,WAAW;GACX,QAAQ;IACN,eAAe;IACf,cAAc;IACd,cAAc;IACd,eAAe;IACf,iBAAiB;IACjB,cAAc;GAChB;GACA,UAAU;IACR,aAAa;IACb,IAAI;IACJ,OAAO;IACP,iBAAiB;IACjB,KAAK;GACP;GACA,SAAS;GACT,WAAW;IACT,MAAM;KACJ,aAAa;KACb,OAAO;IACT;IACA,MAAM;KACJ,aAAa;KACb,OAAO;IACT;IACA,SAAS;KACP,aAAa;KACb,OAAO;IACT;IACA,OAAO;IACP,WAAW;KACT,aAAa;KACb,OAAO;IACT;GACF;GACA,UAAU;IACR,aAAa;IACb,iBAAiB;IACjB,OAAO;GACT;GACA,eAAe;IACb,UAAU;IACV,SAAS;IACT,SAAS;IACT,WAAW;IACX,aAAa;IACb,SAAS;GACX;GACA,QAAQ;IACN,UAAU;IACV,OAAO;IACP,WAAW;GACb;GACA,OAAO;EACT;EACA,aAAa;GACX,SAAS;IACP,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,SAAS;IACT,QAAQ;IACR,QAAQ;GACV;GACA,QAAQ;IACN,UAAU;IACV,SAAS;IACT,SAAS;IACT,iBAAiB;IACjB,MAAM;IACN,QAAQ;IACR,MAAM;IACN,OAAO;GACT;GACA,cACE;GACF,kBAAkB;GAClB,cAAc;IACZ,UAAU;IACV,SAAS;IACT,SAAS;IACT,iBAAiB;IACjB,MAAM;IACN,MAAM;IACN,OAAO;GACT;GACA,UAAU;GACV,QAAQ;IACN,OAAO;IACP,WAAW;GACb;EACF;EACA,gBAAgB,EACd,SAAS,uBACX;EACA,kBAAkB;GAChB,OAAO;IACL,aAAa;IACb,OAAO;GACT;GACA,OAAO,EACL,OAAO,2BACT;GACA,SAAS;IACP,aAAa;IACb,aAAa;IACb,cAAc;IACd,aAAa;IACb,QAAQ;GACV;GACA,MAAM,EACJ,cAAc,oBAChB;GACA,UAAU;GACV,SAAS;GACT,SACE;GACF,QAAQ;IACN,MAAM;IACN,aAAa;GACf;GACA,QAAQ;IACN,UAAU;IACV,WAAW;IACX,KAAK;IACL,UAAU;IACV,MAAM;GACR;GACA,UAAU;GACV,OAAO;EACT;EACA,sBAAsB;GACpB,SAAS;IACP,SAAS;IACT,iBAAiB;IACjB,iBAAiB;IACjB,eAAe;IACf,aAAa;IACb,OAAO;GACT;GACA,gBAAgB,EACd,OAAO,kBACT;GACA,aAAa;IACX,WAAW;IACX,QAAQ;KACN,UAAU;KACV,SAAS;KACT,OAAO;KACP,MAAM;KACN,SAAS;KACT,QAAQ;IACV;IACA,OAAO;GACT;GACA,MAAM;GACN,SAAS;GACT,SAAS,EACP,OAAO,UACT;GACA,WAAW;IACT,SAAS;KACP,aAAa;KACb,OAAO;IACT;IACA,SAAS;KACP,aAAa;KACb,OAAO;IACT;IACA,OAAO;KACL,aAAa;KACb,OAAO;IACT;IACA,OAAO;GACT;GACA,UAAU;IACR,aAAa;IACb,OAAO;GACT;GACA,eAAe;IACb,WAAW;IACX,eAAe;GACjB;GACA,SACE;GACF,OAAO;IACL,WAAW;IACX,aAAa;IACb,MAAM;IACN,OAAO;GACT;GACA,QAAQ;IACN,UAAU;IACV,WAAW;IACX,KAAK;IACL,UAAU;IACV,MAAM;GACR;GACA,SAAS;IACP,MAAM;IACN,OAAO;IACP,SAAS;GACX;GACA,UAAU;IACR,WAAW;IACX,aAAa;IACb,WAAW;IACX,OAAO;GACT;EACF;EACA,cAAc;GACZ,SAAS;IACP,QAAQ;IACR,QAAQ;IACR,YAAY;GACd;GACA,aAAa;IACX,OAAO;IACP,QAAQ;IACR,WAAW;GACb;GACA,UAAU;IACR,SAAS;IACT,QAAQ;GACV;GACA,QAAQ,EACN,cAAc,6CAChB;GACA,QAAQ;IACN,aAAa;IACb,UAAU;IACV,aAAa;IACb,UAAU;IACV,SAAS;GACX;GACA,cAAc;GACd,eAAe,EACb,SAAS,+BACX;GACA,cAAc;IACZ,aAAa;IACb,SAAS;GACX;GACA,UAAU;IACR,UAAU;IACV,MAAM;IACN,KAAK;IACL,QAAQ;GACV;GACA,SACE;GACF,UAAU;GACV,OAAO;GACP,YAAY;IACV,gBAAgB;IAChB,YAAY;GACd;EACF;EACA,QAAQ,EACN,OAAO,gBACT;EACA,eAAe;GACb,SAAS,EACP,YAAY,cACd;GACA,aAAa;GACb,cAAc;GACd,kBAAkB;GAClB,OAAO;GACP,aAAa;GACb,OAAO;IACL,aAAa;IACb,mBAAmB;IACnB,aAAa;IACb,OAAO;GACT;GACA,SAAS;GACT,UAAU;GACV,SAAS;GACT,iBAAiB;GACjB,cACE;GACF,aACE;GACF,mBAAmB;GACnB,eAAe;GACf,QAAQ;IACN,UAAU;IACV,OAAO;GACT;GACA,eAAe;GACf,cAAc;GACd,OAAO;GACP,OAAO;EACT;EACA,SAAS,EACP,SAAS,aACX;EACA,iBAAiB;GACf,aAAa;GACb,iBAAiB;GACjB,MAAM;GACN,cAAc;GACd,wBAAwB;GACxB,mBAAmB;GACnB,sBAAsB;GACtB,MAAM;GACN,SAAS;EACX;EACA,eAAe;GACb,YAAY;GACZ,UAAU;GACV,OAAO;IACL,aAAa;IACb,OAAO;GACT;GACA,eAAe;GACf,KAAK;EACP;EACA,KAAK;GACH,WAAW;GACX,kBAAkB;GAClB,cAAc;GACd,iBAAiB;GACjB,aAAa;GACb,eAAe;GACf,UAAU;GACV,SAAS;EACX;EACA,MAAM,EACJ,eAAe,qEACjB;EACA,UAAU;GACR,iBAAiB;IACf,SAAS;KACP,QAAQ;KACR,MAAM;KACN,KAAK;IACP;IACA,OAAO;IACP,QAAQ;KACN,cAAc;KACd,YAAY;IACd;IACA,MAAM;KACJ,QAAQ;KACR,QAAQ;KACR,aAAa;KACb,WAAW;KACX,eAAe;KACf,qBAAqB;KACrB,QAAQ;KACR,WAAW;KACX,iBAAiB;KACjB,YAAY;KACZ,kBAAkB;KAClB,QAAQ;IACV;IACA,UAAU;IACV,OAAO;GACT;GACA,YAAY;IACV,SAAS;KACP,UAAU;KACV,QAAQ;KACR,QAAQ;KACR,UAAU;KACV,YAAY;KACZ,QAAQ;KACR,MAAM;KACN,KAAK;KACL,QAAQ;KACR,UAAU;IACZ;IACA,MAAM;KACJ,UAAU;KACV,YAAY;KACZ,QAAQ;KACR,MAAM;IACR;IACA,cAAc;IACd,cAAc;KACZ,QAAQ;KACR,SAAS;KACT,aACE;KACF,OAAO;IACT;IACA,OAAO;KACL,YAAY;KACZ,OAAO;IACT;IACA,QAAQ;KACN,cAAc;KACd,eAAe;KACf,cAAc;KACd,oBAAoB;KACpB,cAAc;IAChB;IACA,MAAM;KACJ,aAAa;KACb,WAAW;KACX,YAAY;KACZ,kBAAkB;KAClB,wBAAwB;KACxB,WAAW;KACX,iBAAiB;KACjB,WAAW;KACX,iBAAiB;KACjB,UAAU;KACV,WAAW;KACX,iBAAiB;IACnB;IACA,eAAe;IACf,OAAO;KACL,aAAa;KACb,WAAW;IACb;IACA,eAAe;KACb,WAAW;KACX,SAAS;KACT,aAAa;KACb,SAAS;KACT,SAAS;IACX;IACA,UAAU;IACV,OAAO;GACT;GACA,SAAS;GACT,WAAW;IACT,YAAY;KACV,aAAa;KACb,OAAO;IACT;IACA,WAAW;KACT,aAAa;KACb,OAAO;IACT;IACA,KAAK;KACH,aAAa;KACb,OAAO;IACT;IACA,OAAO;GACT;GACA,YAAY;IACV,aACE;IACF,OAAO;GACT;GACA,SACE;GACF,KAAK;IACH,SAAS;KACP,QAAQ;KACR,MAAM;KACN,KAAK;IACP;IACA,mBAAmB;IACnB,OAAO;IACP,MAAM;KACJ,oBAAoB;KACpB,QAAQ;KACR,QAAQ;KACR,aAAa;KACb,WAAW;KACX,oBAAoB;KACpB,WAAW;KACX,iBAAiB;KACjB,eAAe;KACf,iBAAiB;KACjB,QAAQ;KACR,QAAQ;IACV;IACA,eAAe;IACf,UAAU;IACV,SACE;IACF,OAAO;IACP,iBAAiB;GACnB;GACA,UAAU;GACV,MAAM;IACJ,YAAY;IACZ,WAAW;IACX,KAAK;GACP;GACA,OAAO;EACT;EACA,QAAQ;GACN,UAAU;IACR,gBAAgB;IAChB,WAAW;IACX,gBAAgB;IAChB,gBAAgB;IAChB,kBAAkB;GACpB;GACA,aAAa;IACX,OAAO;IACP,UAAU;IACV,cAAc;IACd,QAAQ;GACV;GACA,cAAc;GACd,UAAU;IACR,UAAU;IACV,MAAM;IACN,KAAK;IACL,QAAQ;GACV;GACA,QAAQ;IACN,KAAK;IACL,OAAO;IACP,QAAQ;IACR,OAAO;IACP,OAAO;IACP,SAAS;GACX;GACA,QAAQ;IACN,QAAQ;IACR,YAAY;IACZ,KAAK;IACL,UAAU;IACV,UAAU;IACV,iBAAiB;GACnB;GACA,eAAe;GACf,SAAS;EACX;EACA,cAAc;GACZ,SAAS;IACP,MAAM;IACN,iBAAiB;IACjB,QAAQ;GACV;GACA,mBAAmB;GACnB,oBAAoB;GACpB,kBAAkB;GAClB,OAAO;IACL,aAAa;IACb,OAAO;GACT;GACA,QAAQ;IACN,wBAAwB;IACxB,cAAc;IACd,8BAA8B;IAC9B,eAAe;IACf,cAAc;IACd,aACE;IACF,oBAAoB;IACpB,aAAa;IACb,mBAAmB;GACrB;GACA,SAAS;GACT,MAAM;IACJ,SAAS;IACT,KAAK;IACL,KAAK;GACP;GACA,WAAW;IACT,YAAY;KACV,aAAa;KACb,OAAO;IACT;IACA,OAAO;KACL,aAAa;KACb,OAAO;IACT;IACA,SAAS;KACP,aAAa;KACb,OAAO;IACT;IACA,OAAO;GACT;GACA,UAAU;IACR,aAAa;IACb,OAAO;GACT;GACA,eAAe;IACb,UAAU;IACV,iBAAiB;GACnB;GACA,aAAa;GACb,QAAQ;IACN,aACE;IACF,sBAAsB;IACtB,uBAAuB;IACvB,uBAAuB;IACvB,eAAe;IACf,sBAAsB;IACtB,mBAAmB;IACnB,YAAY;IACZ,kBAAkB;IAClB,UAAU;IACV,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,aAAa;IACb,cAAc;IACd,QAAQ;IACR,YAAY;IACZ,OAAO;GACT;GACA,SAAS;IACP,YAAY;IACZ,YAAY;IACZ,UAAU;IACV,WAAW;IACX,eAAe,EACb,OAAO,iBACT;IACA,cAAc;KACZ,SAAS;KACT,OAAO;IACT;IACA,KAAK;KACH,QAAQ;KACR,SAAS;KACT,QAAQ;KACR,aAAa;IACf;IACA,WAAW;IACX,QAAQ;IACR,MAAM;IACN,YAAY;KACV,QAAQ;KACR,SAAS;KACT,KAAK;KACL,eAAe;KACf,UAAU;KACV,OAAO;KACP,SAAS;IACX;IACA,aAAa;GACf;GACA,eAAe;IACb,eAAe;KACb,aAAa;KACb,OAAO;IACT;IACA,WAAW;KACT,aAAa;KACb,OAAO;IACT;IACA,QAAQ;KACN,aAAa;KACb,OAAO;IACT;IACA,OAAO;KACL,aAAa;KACb,OAAO;IACT;IACA,OAAO;GACT;EACF;EACA,YAAY;GACV,SAAS;IACP,UAAU;IACV,aAAa;IACb,WAAW;GACb;GACA,UAAU,EACR,SAAS,UACX;GACA,OAAO;IACL,QAAQ;IACR,QAAQ;GACV;GACA,OAAO;IACL,QAAQ;IACR,aAAa;IACb,OAAO;GACT;GACA,OAAO;IACL,aAAa;IACb,OAAO;GACT;GACA,SAAS;IACP,UAAU;KACR,KAAK;KACL,OAAO;IACT;IACA,QAAQ;KACN,KAAK;KACL,OAAO;IACT;IACA,QAAQ;GACV;GACA,SAAS;GACT,MAAM,EACJ,UAAU,WACZ;GACA,gBAAgB;IACd,aACE;IACF,OAAO;GACT;GACA,SAAS;IACP,OACE;IACF,MAAM;GACR;GACA,cAAc,EACZ,MAAM,yHACR;GACA,QAAQ,EACN,aAAa,oBACf;GACA,KAAK;IACH,QAAQ;IACR,UAAU;GACZ;GACA,UAAU;GACV,OAAO;GACP,aAAa;EACf;CACF;AACF"}
|
|
1
|
+
{"version":3,"file":"en.js","names":["enTranslations"],"sources":["../../../src/support/translations/en.ts"],"sourcesContent":["// This file is auto-generated by scripts/extract-i18n.ts.\n// Do not edit it manually; run `bun scripts/extract-i18n.ts` instead.\nexport const enTranslations = {\n common: {\n cancel: 'Cancel',\n },\n support: {\n analytics: {\n categoryBreakdown: {\n title: 'Top Categories',\n },\n metric: {\n avgResponseTime: {\n subtitle: 'Resolution: {{resolution}}h',\n title: 'Avg Response Time',\n },\n satisfaction: {\n subtitle: 'CSAT: {{csat}}%, NPS: {{nps}}',\n title: 'Satisfaction',\n },\n slaCompliance: {\n subtitle: '{{count}} breached',\n title: 'SLA Compliance',\n },\n totalTickets: {\n subtitle: '{{open}} open, {{resolved}} resolved',\n title: 'Total Tickets',\n },\n },\n nextSteps: {\n export: {\n description: 'Share performance with stakeholders in one click.',\n label: 'Export a PDF report',\n },\n period: {\n description: 'Compare the last 7, 30, 90 days or a full year to spot trends.',\n label: 'Switch the reporting period',\n },\n sla: {\n description: 'Scroll to the SLA report to see where commitments slipped.',\n label: 'Review SLA compliance',\n },\n title: 'Make the most of your data',\n },\n priorityBreakdown: {\n title: 'Tickets by Priority',\n },\n purpose:\n 'Measure how your support operation is performing. Track ticket volume, first-response and resolution times, SLA compliance and customer satisfaction so you can spot bottlenecks, balance agent workload, and prove the impact of your team. Adjust the period to compare trends over time.',\n satisfaction: {\n avgRating: 'Avg Rating',\n csat: 'CSAT',\n distribution: 'Rating Distribution ({{count}} responses)',\n nps: 'NPS',\n promoterScore: 'Promoter Score',\n satisfaction: 'Satisfaction',\n title: 'Customer Satisfaction',\n },\n slaReport: {\n avg: 'Avg: {{value}}h',\n breached: 'Breached',\n byPriority: 'Compliance by Priority',\n firstResponse: 'First Response',\n resolution: 'Resolution',\n ticketsCount: '{{count}} tickets',\n title: 'SLA Compliance Report',\n totalTickets: 'Total Tickets',\n },\n title: 'Support Analytics',\n topAgents: {\n empty: 'No agent data available',\n resolved: '{{count}} resolved',\n title: 'Top Performing Agents',\n },\n trendChart: {\n title: 'Ticket Volume Trends',\n },\n },\n article: {\n actions: {\n archive: 'Archive',\n archiving: 'Archiving…',\n backToKnowledgeBase: 'Back to Knowledge Base',\n delete: 'Delete',\n deleting: 'Deleting…',\n edit: 'Edit',\n publish: 'Publish',\n publishing: 'Publishing…',\n unpublish: 'Unpublish',\n unpublishing: 'Unpublishing…',\n },\n adminRequired: {\n createDescription: 'You need administrator privileges to create knowledge base articles.',\n editDescription: 'You need administrator privileges to edit knowledge base articles.',\n title: 'Admin Access Required',\n },\n createPurpose:\n 'Write a knowledge base article to answer a question your customers keep asking. A clear, well-categorised guide deflects repeat tickets and helps users self-serve. Save as a draft while you work, then publish when it is ready for customers to see.',\n createSubtitle: 'Add a new article to the knowledge base',\n createTitle: 'Create New Article',\n deleteConfirm: {\n confirm: 'Delete',\n message: 'Delete this article? This cannot be undone.',\n title: 'Delete Article',\n },\n deleteDialog: {\n description: 'Are you sure you want to delete \"{{title}}\"? This action cannot be undone.',\n title: 'Delete Article?',\n },\n editPurpose:\n 'Refine an existing knowledge base article. Keep guides accurate as your product evolves, fix unclear steps, or move an article between draft and published. Changes go live for customers as soon as you save a published article.',\n editTitle: 'Edit Article',\n errors: {\n archiveFailed: 'Failed to archive article.',\n createFailed: 'Failed to create article. Please try again.',\n deleteFailed: 'Failed to delete article.',\n publishFailed: 'Failed to publish article.',\n unpublishFailed: 'Failed to unpublish article.',\n updateFailed: 'Failed to update article. Please try again.',\n },\n feedback: {\n description: 'See how readers rate this guide — low scores are a cue to revise it.',\n error: \"We couldn't save your answer. Please try again.\",\n no: 'No ({{count}})',\n thanks: 'Thanks for your feedback!',\n title: 'Was this article helpful?',\n userDescription: 'Your feedback helps us improve our guides for everyone.',\n yes: 'Yes ({{count}})',\n },\n loading: 'Loading article...',\n nextSteps: {\n back: {\n description: 'Return to the full list of articles.',\n label: 'Back to the knowledge base',\n },\n edit: {\n description: 'Update the content, category or tags.',\n label: 'Edit the article',\n },\n publish: {\n description: 'Make this article visible to customers.',\n label: 'Publish it',\n },\n title: 'Manage this article',\n unpublish: {\n description: 'Hide it from customers while you revise.',\n label: 'Unpublish or archive',\n },\n },\n notFound: {\n description: \"The article you're looking for doesn't exist or has been removed.\",\n editDescription: \"The article you're trying to edit doesn't exist or has been removed.\",\n title: 'Article not found',\n },\n notifications: {\n archived: 'Article archived.',\n created: 'Article created successfully!',\n deleted: 'Article deleted successfully!',\n published: 'Article published successfully!',\n unpublished: 'Article unpublished.',\n updated: 'Article updated successfully!',\n },\n status: {\n archived: 'Archived',\n draft: 'Draft',\n published: 'Published',\n },\n views: '{{count}} views',\n },\n articleForm: {\n actions: {\n cancel: 'Cancel',\n create: 'Create Article',\n edit: 'Edit',\n preview: 'Preview',\n saving: 'Saving…',\n update: 'Update Article',\n },\n labels: {\n category: 'Category',\n content: 'Content',\n excerpt: 'Excerpt',\n metaDescription: 'Meta Description',\n slug: 'URL Slug',\n status: 'Status',\n tags: 'Tags',\n title: 'Title',\n },\n markdownHint:\n 'Supports Markdown: **bold**, *italic*, # headings, - lists, [links](url), ```code```',\n nothingToPreview: 'Nothing to preview',\n placeholders: {\n category: 'Select a category',\n content: 'Article content (supports Markdown)',\n excerpt: 'Brief summary of the article (displayed in search results)',\n metaDescription: 'SEO meta description (optional)',\n slug: 'article-url-slug',\n tags: 'Enter tags separated by commas (e.g., billing, account, setup)',\n title: 'Article title',\n },\n slugHint: 'Auto-generated from title. Edit to customize.',\n status: {\n draft: 'Draft - Not visible to users',\n published: 'Published - Visible to all users',\n },\n },\n askForHelp: {\n actions: {\n back: 'Back to my support requests',\n send: 'Send request',\n sending: 'Sending…',\n },\n attachments: {\n choose: 'Choose files',\n },\n category: {\n loading: 'Loading topics…',\n notSure: 'Not sure',\n placeholder: 'Choose a topic (optional)',\n },\n errors: {\n sendFailed: \"We couldn't send your request. Please try again.\",\n },\n labels: {\n attachments: 'Add a screenshot or file',\n category: \"What's this about?\",\n description: 'Description',\n priority: 'Priority',\n subject: 'Subject',\n },\n placeholders: {\n description: 'What were you trying to do, and what happened instead?',\n subject: 'For example: Slack messages are not arriving',\n },\n priorityHint:\n 'Most questions are Normal. Choose Critical only when you are completely blocked.',\n purpose:\n 'The clearer the subject and description, the faster we can help. A screenshot often explains the problem best.',\n subtitle: \"Tell us what's going on and our team will reply here.\",\n suggestions: {\n newTab: '(opens in a new tab)',\n title: 'These articles might help',\n },\n title: 'Ask for help',\n validation: {\n descriptionRequired: \"Tell us what's happening.\",\n subjectRequired: 'Add a subject.',\n },\n },\n attachmentList: {\n loading: 'Loading attachments…',\n },\n contactInquiries: {\n empty: {\n description: 'Contact form submissions from your product websites will appear here.',\n title: 'No inquiries yet',\n },\n error: {\n title: 'Failed to load inquiries',\n },\n filters: {\n allProducts: 'All products',\n allStatuses: 'All statuses',\n productLabel: 'Product',\n statusLabel: 'Status',\n toggle: 'Filters',\n },\n list: {\n productTitle: 'Product: {{name}}',\n },\n loadMore: 'Load more',\n loading: 'Loading inquiries…',\n purpose:\n \"Every message sent through your product websites' contact forms lands here. Triage sales and support leads, mark spam, and convert genuine inquiries into tickets so nothing from a prospective customer slips through the cracks. Open an inquiry to read it in full and take action.\",\n search: {\n aria: 'Search inquiries',\n placeholder: 'Search by name, email, or subject...',\n },\n status: {\n archived: 'Archived',\n converted: 'Converted',\n new: 'New',\n reviewed: 'Reviewed',\n spam: 'Spam',\n },\n subtitle: 'Website contact form submissions',\n title: 'Contact Inquiries',\n },\n contactInquiryDetail: {\n actions: {\n archive: 'Archive',\n backToInquiries: 'Back to Inquiries',\n convertToTicket: 'Convert to Ticket',\n replyViaEmail: 'Reply via Email',\n statusLabel: 'Status',\n title: 'Actions',\n },\n additionalData: {\n title: 'Additional Data',\n },\n contactInfo: {\n copyEmail: 'Copy email',\n labels: {\n category: 'Category',\n company: 'Company',\n email: 'Email',\n name: 'Name',\n product: 'Product',\n source: 'Source',\n },\n title: 'Contact Information',\n },\n from: 'from',\n loading: 'Loading inquiry details…',\n message: {\n title: 'Message',\n },\n nextSteps: {\n archive: {\n description: 'Clear out anything that needs no follow-up.',\n label: 'Archive or mark spam',\n },\n convert: {\n description: 'Turn a real request into a tracked support ticket.',\n label: 'Convert to a ticket',\n },\n reply: {\n description: 'Send a branded email response from the Reply panel.',\n label: 'Reply to the sender',\n },\n title: 'Handle this inquiry',\n },\n notFound: {\n description: \"This inquiry may have been deleted or you don't have access.\",\n title: 'Inquiry not found',\n },\n notifications: {\n replySent: 'Reply sent successfully!',\n statusUpdated: 'Status updated successfully',\n },\n purpose:\n 'Everything a prospect or customer sent through your contact form, in one place. Read the message, reply by branded email, and decide what happens next — convert a genuine lead into a support ticket, mark it reviewed, or archive spam. Use the actions on the right to move it forward.',\n reply: {\n ariaLabel: 'Reply message',\n placeholder: 'Type your reply... This will be sent as a branded email to the contact.',\n send: 'Send Reply',\n title: 'Reply',\n },\n status: {\n archived: 'Archived',\n converted: 'Converted to Ticket',\n new: 'New',\n reviewed: 'Reviewed',\n spam: 'Spam',\n },\n timeAgo: {\n days: '{{days}}d ago',\n hours: '{{hours}}h ago',\n minutes: '{{minutes}}m ago',\n },\n timeline: {\n converted: 'Converted to Ticket',\n lastUpdated: 'Last Updated',\n submitted: 'Submitted',\n title: 'Timeline',\n },\n },\n createTicket: {\n actions: {\n cancel: 'Cancel',\n submit: 'Create Ticket',\n submitting: 'Creating…',\n },\n attachments: {\n label: 'Attach files, screenshots, logs, or documents',\n remove: 'Remove attachment {{fileName}}',\n uploading: 'Uploading {{fileName}}...',\n },\n category: {\n loading: 'Loading categories...',\n select: 'Select a category',\n },\n errors: {\n createFailed: 'Failed to create ticket. Please try again.',\n },\n labels: {\n attachments: 'Attachments',\n category: 'Category',\n description: 'Description',\n priority: 'Priority',\n subject: 'Subject',\n },\n markdownHint: 'Markdown is supported, including fenced code blocks.',\n notifications: {\n created: 'Ticket created successfully!',\n },\n placeholders: {\n description: 'Provide detailed information about your issue',\n subject: 'Brief description of your issue',\n },\n priority: {\n critical: 'Critical - Complete blocker, urgent',\n high: 'High - Significant impact on work',\n low: 'Low - General question or minor issue',\n normal: 'Normal - Standard support request',\n },\n purpose:\n 'Tell us what is going wrong and our support team will pick it up. The clearer your subject, description and priority, the faster we can help — attach screenshots, logs or files if they explain the problem. You will be able to follow the reply right here once it is submitted.',\n subtitle: 'Submit a new support request',\n title: 'Create New Ticket',\n validation: {\n descriptionMin: 'Description must be at least {{min}} characters long.',\n subjectMin: 'Subject must be at least {{min}} characters long.',\n },\n },\n footer: {\n ready: 'Support Ready',\n },\n helpArticle: {\n actions: {\n back: 'Back to help articles',\n },\n feedback: {\n contactSupport: 'Contact support',\n no: 'No',\n stillStuck: 'Still stuck?',\n yes: 'Yes',\n },\n related: {\n title: 'Related articles',\n },\n technical: {\n helpful: 'Helpful: {{count}}',\n id: 'Article ID: {{id}}',\n notHelpful: 'Not helpful: {{count}}',\n version: 'Version: {{version}}',\n views: 'Views: {{count}}',\n },\n },\n helpArticles: {\n contactSupport: 'Contact support',\n searchPlaceholder: 'Search help articles',\n stats: {\n article: '{{title}}: {{views}} views, {{helpful}} helpful',\n category: '{{name}}: {{count}} articles',\n },\n subtitle: 'Guides and answers to common questions.',\n title: 'Help articles',\n },\n hub: {\n askForHelp: 'Ask for help',\n popular: {\n browseAll: 'Browse all help articles',\n empty: 'No help articles have been published yet.',\n error: \"We couldn't load articles right now.\",\n loading: 'Loading articles…',\n title: 'Popular articles',\n },\n requests: {\n empty: \"You haven't asked us anything yet.\",\n error: \"We couldn't load your requests right now.\",\n loading: 'Loading your requests…',\n meta: 'Created {{date}} · {{status}}',\n metaAnswered: 'Answered {{date}}',\n missingProduct: \"We can't show your requests on this page.\",\n seeAll: 'See all requests',\n title: 'Your requests',\n },\n search: {\n askInstead: 'Ask our team instead',\n empty: 'No articles match \"{{query}}\".',\n error: \"Search isn't working right now. Please try again.\",\n label: 'Search help articles',\n placeholder: 'Search help articles',\n resultsLabel: 'Matching articles',\n searching: 'Searching…',\n seeAll: 'See all results',\n },\n subtitle: 'Answers, guides and your questions to our team.',\n title: 'Help & support',\n },\n knowledgeBase: {\n actions: {\n newArticle: 'New Article',\n },\n allArticles: 'All Articles',\n articleCount: '{{count}} articles',\n browseByCategory: 'Browse by Category',\n clear: 'Clear',\n clearSearch: 'Clear Search',\n empty: {\n description: 'Check back later for helpful articles and guides',\n searchDescription: 'Try adjusting your search terms or browse by category',\n searchTitle: 'No articles found',\n title: 'No articles available',\n },\n helpful: '{{count}} helpful',\n loadMore: 'Load More',\n loading: 'Loading articles...',\n popularArticles: 'Popular Articles',\n purposeAdmin:\n 'Author and curate the self-serve help center customers see. Write clear how-to guides and FAQ articles here to deflect repetitive tickets — well-covered topics mean fewer support requests. Draft and archived articles are visible to you but hidden from customers until published.',\n purposeUser:\n 'Your self-serve help center. Search how-to guides and answers before raising a ticket — most common questions (setup, billing, troubleshooting) are answered here in seconds. Browse by category or check the most popular articles below.',\n searchPlaceholder: 'Search for help articles...',\n searchResults: 'Search Results for \"{{query}}\"',\n status: {\n archived: 'Archived',\n draft: 'Draft',\n },\n subtitleAdmin: 'Manage help articles and documentation',\n subtitleUser: 'Find answers to common questions and learn how to use our platform',\n title: 'Knowledge Base',\n views: '{{count}} views',\n },\n loading: {\n default: 'Loading...',\n },\n messageComposer: {\n attachFiles: 'Attach files',\n cannedResponses: 'Canned responses',\n hint: 'Markdown supported. Press Enter to send, Shift+Enter for new line',\n internalNote: 'Internal Note (not visible to customer)',\n internalNoteAriaLabel: 'Internal note',\n loadingCannedResponses: 'Loading saved replies...',\n noCannedResponses: 'No saved replies available',\n removeAttachment: 'Remove attachment {{fileName}}',\n selectCannedResponse: 'Insert a saved reply',\n send: 'Send',\n sending: 'Sending...',\n },\n messageThread: {\n agentAlias: 'Support Agent',\n customer: 'Customer',\n empty: {\n description: 'Start the conversation by sending a message',\n title: 'No messages yet',\n },\n internalBadge: 'Internal',\n you: 'You',\n },\n nav: {\n analytics: 'Analytics',\n contactInquiries: 'Contact Inquiries',\n interviewers: 'Interviewers',\n jobApplications: 'Job Applications',\n jobPostings: 'Job Postings',\n knowledgeBase: 'Knowledge Base',\n settings: 'Settings',\n tickets: 'Tickets',\n },\n requestDetail: {\n actions: {\n askForHelp: 'Ask for help',\n back: 'My support requests',\n reopen: 'Reopen',\n },\n browseHelpArticles: 'Still stuck? Browse help articles',\n meta: {\n category: 'Category',\n created: 'Created',\n notRated: 'Not rated yet',\n ratedOn: 'Sent {{date}}',\n ratingValue: '{{rating}} out of 5',\n status: 'Status',\n updated: 'Updated',\n yourComment: 'Your feedback',\n yourRating: 'Your rating',\n },\n notifications: {\n created: \"Your request is sent. We'll reply here.\",\n },\n reopenLimit: \"This request can't be reopened again. Ask for help to start a new request.\",\n review: {\n description: 'A quick rating helps us improve. Notes are optional.',\n feedbackTypeLabel: 'What mattered most?',\n notesLabel: 'Notes (optional)',\n notesPlaceholder: 'Anything we should know?',\n rating1: 'Poor',\n rating2: 'Needs improvement',\n rating3: 'Okay',\n rating4: 'Good',\n rating5: 'Excellent',\n ratingLabel: 'Your rating',\n starLabel: '{{count}} stars, {{word}}',\n starLabelOne: '{{count}} star, {{word}}',\n title: 'How did we do?',\n },\n technical: {\n assignedAgent: 'Assigned agent',\n closed: 'Closed',\n createdBy: 'Created by',\n due: 'Due',\n escalationLevel: 'Escalation level',\n firstResponse: 'First response',\n firstResponseDue: 'First response due',\n id: 'Request ID',\n linkedTickets: 'Linked requests',\n notAssigned: 'Not assigned',\n number: 'Request number',\n priority: 'Priority',\n reopened: 'Reopened',\n reopenedAt: 'Last reopened',\n reopenedValue: '{{count}} of {{max}}',\n resolutionDue: 'Resolution due',\n resolved: 'Resolved',\n reviewPending: 'Pending',\n reviewRating: '{{rating}} of 5',\n reviews: 'Your reviews',\n slaPolicy: 'SLA policy',\n slaStatus: 'SLA status',\n source: 'Source',\n tags: 'Tags',\n },\n },\n requests: {\n actions: {\n askForHelp: 'Ask for help',\n loadMore: 'Load more',\n loadingMore: 'Loading…',\n },\n card: {\n agentOnIt: 'An agent is on it',\n created: 'Created {{date}}',\n },\n count: {\n plural: '{{count}} requests',\n single: '{{count}} request',\n },\n empty: {\n description: 'Ask us anything, or change the filters above to see other requests.',\n title: 'No requests found',\n },\n error: {\n description: 'Something went wrong on our side. Please refresh the page to try again.',\n title: \"We couldn't load your requests\",\n },\n filters: {\n all: 'All',\n anyPriority: 'Any priority',\n dateFrom: 'Created from',\n dateTo: 'Created to',\n more: 'More filters',\n moreWithCount: 'More filters ({{count}})',\n priority: 'Priority',\n statusLabel: 'Show requests',\n },\n loading: 'Loading your requests…',\n missingProduct: {\n description:\n 'This page is missing its product setting. Please contact us by email instead.',\n title: \"We can't show your requests here\",\n },\n purpose:\n 'Open a request to follow the conversation with our team, add details or share a screenshot.',\n scopedSearchHint:\n 'Only the requests already loaded are searched. Load more to search further back.',\n search: {\n label: 'Search your requests',\n placeholder: 'Search your requests',\n },\n searchHelpArticles: 'Search help articles',\n subtitle: \"Track questions you've asked our team\",\n title: 'My support requests',\n view: {\n grid: 'Show requests as a grid',\n label: 'Layout',\n list: 'Show requests as a list',\n },\n },\n root: {\n errorFallback: 'Something went wrong loading this module. Please refresh the page.',\n },\n settings: {\n cannedResponses: {\n actions: {\n delete: 'Delete canned response',\n edit: 'Edit canned response',\n new: 'New Response',\n },\n empty: 'No canned responses configured',\n errors: {\n deleteFailed: 'Failed to delete response.',\n saveFailed: 'Failed to save response.',\n },\n form: {\n cancel: 'Cancel',\n create: 'Create Response',\n createTitle: 'Create New Response',\n editTitle: 'Edit Response',\n responseLabel: 'Response',\n responsePlaceholder: 'Write the saved reply agents can reuse.',\n saving: 'Saving...',\n tagsLabel: 'Tags',\n tagsPlaceholder: 'billing, onboarding, bug',\n titleLabel: 'Title',\n titlePlaceholder: 'e.g., Troubleshooting next steps',\n update: 'Update Response',\n },\n subtitle: 'Pre-written responses for common customer inquiries',\n title: 'Canned Responses',\n },\n categories: {\n actions: {\n activate: 'Activate',\n cancel: 'Cancel',\n create: 'Create Category',\n creating: 'Creating...',\n deactivate: 'Deactivate',\n delete: 'Delete category',\n edit: 'Edit category',\n new: 'New Category',\n update: 'Update Category',\n updating: 'Updating...',\n },\n aria: {\n activate: 'Activate category',\n deactivate: 'Deactivate category',\n delete: 'Delete category',\n edit: 'Edit category',\n },\n articleCount: '{{count}} articles',\n deleteDialog: {\n cancel: 'Cancel',\n confirm: 'Delete',\n description:\n 'Are you sure you want to delete this category? This action cannot be undone.',\n title: 'Delete category?',\n },\n empty: {\n createLink: 'Create your first category',\n title: 'No categories configured',\n },\n errors: {\n createFailed: 'Failed to create category.',\n deleteBlocked: 'Cannot delete category with {{count}} articles. Move articles first.',\n deleteFailed: 'Failed to delete category.',\n statusUpdateFailed: 'Failed to update category status.',\n updateFailed: 'Failed to update category.',\n },\n form: {\n activeLabel: 'Active',\n colorAria: 'Use {{color}} category color',\n colorLabel: 'Color',\n descriptionLabel: 'Description',\n descriptionPlaceholder: 'Brief description of this category...',\n iconLabel: 'Icon (emoji)',\n iconPlaceholder: 'e.g., 🛠️',\n nameLabel: 'Category Name',\n namePlaceholder: 'e.g., Technical Support',\n slugHint: 'URL-friendly identifier (auto-generated from name)',\n slugLabel: 'Slug',\n slugPlaceholder: 'technical-support',\n },\n inactiveBadge: 'Inactive',\n modal: {\n createTitle: 'Create Category',\n editTitle: 'Edit Category',\n },\n notifications: {\n activated: 'Category activated.',\n created: 'Category created successfully!',\n deactivated: 'Category deactivated.',\n deleted: 'Category deleted successfully!',\n updated: 'Category updated successfully!',\n },\n subtitle: 'Organize tickets and knowledge base articles by category',\n title: 'Ticket Categories',\n },\n loading: 'Loading settings...',\n nextSteps: {\n categories: {\n description: 'Group tickets and articles for easier triage.',\n label: 'Organise categories',\n },\n responses: {\n description: 'Reusable replies that agents can insert instantly.',\n label: 'Create canned responses',\n },\n sla: {\n description: 'Set response and resolution targets per priority.',\n label: 'Define SLA policies',\n },\n title: 'Set up your support desk',\n },\n permission: {\n description:\n 'You need administrator privileges to access support settings. Please contact your workspace admin for access.',\n title: 'Admin Access Required',\n },\n purpose:\n 'Tune how your support desk runs. Define SLA policies so high-priority tickets get a guaranteed response time, write canned responses so agents reply to common questions in one click, and organise tickets and articles into categories. These settings shape the experience for both your team and your customers.',\n sla: {\n actions: {\n delete: 'Delete SLA policy',\n edit: 'Edit SLA policy',\n new: 'New Policy',\n },\n businessHoursOnly: 'Business hours only',\n empty: 'No SLA policies configured',\n form: {\n businessHoursLabel: 'Business hours only',\n cancel: 'Cancel',\n create: 'Create Policy',\n createTitle: 'Create New Policy',\n editTitle: 'Edit Policy',\n firstResponseLabel: 'First Response (minutes)',\n nameLabel: 'Policy Name',\n namePlaceholder: 'e.g., Critical Response SLA',\n priorityLabel: 'Priority',\n resolutionLabel: 'Resolution Time (minutes)',\n saving: 'Saving...',\n update: 'Update Policy',\n },\n inactiveBadge: 'Inactive',\n subtitle: 'Manage service level agreement policies for different priority levels',\n summary:\n 'Priority: {{priority}} • First Response: {{firstResponse}}m • Resolution: {{resolution}}m',\n title: 'SLA Policies',\n twentyFourSeven: '24/7',\n },\n subtitle: 'Configure support module preferences and policies',\n tabs: {\n categories: 'Categories',\n responses: 'Canned Responses',\n sla: 'SLA Policies',\n },\n title: 'Support Settings',\n },\n shared: {\n category: {\n billingAccount: 'Billing & Account',\n bugReport: 'Bug Report',\n featureRequest: 'Feature Request',\n generalSupport: 'General Support',\n technicalSupport: 'Technical Support',\n },\n messageType: {\n agent: 'Agent',\n customer: 'Customer',\n internalNote: 'Internal Note',\n system: 'System',\n },\n notAvailable: 'N/A',\n priority: {\n critical: 'Critical',\n high: 'High',\n low: 'Low',\n normal: 'Normal',\n },\n source: {\n api: 'API',\n email: 'Email',\n import: 'Import',\n inApp: 'In-App',\n phone: 'Phone',\n website: 'Website',\n },\n status: {\n closed: 'Closed',\n inProgress: 'In Progress',\n new: 'New',\n reopened: 'Reopened',\n resolved: 'Resolved',\n waitingCustomer: 'Waiting on Customer',\n },\n statusGroup: {\n closed: 'Closed',\n open: 'Open',\n waiting: 'Waiting for you',\n },\n uncategorized: 'Uncategorized',\n unknown: 'Unknown',\n },\n ticketDetail: {\n actions: {\n back: 'Back to Tickets',\n createNewTicket: 'Create New Ticket',\n reopen: 'Reopen',\n },\n conversationTitle: 'Conversation',\n descriptionHeading: 'Description',\n descriptionTitle: 'Customer request — Description',\n error: {\n description: 'An error occurred while loading the ticket. Please try again.',\n title: 'Failed to load ticket',\n },\n errors: {\n attachmentUploadFailed: 'Attachment upload failed: {{message}}',\n changeStatus: 'Failed to change ticket status.',\n messageSentAttachmentsFailed: 'Message sent, but attachments failed: {{message}}',\n nothingToSend: 'Nothing to send.',\n reopenFailed: 'Failed to reopen ticket.',\n reopenLimit:\n 'You have reached the maximum number of reopens for this ticket. Please create a new ticket to continue.',\n reviewSubmitFailed: 'Failed to submit review.',\n sendMessage: 'Failed to send message.',\n uploadAttachments: 'Failed to upload attachments.',\n },\n loading: 'Loading ticket details...',\n meta: {\n created: 'Created {{date}}',\n due: 'Due {{date}}',\n sla: 'SLA: {{label}}',\n },\n nextSteps: {\n inProgress: {\n description: 'Let the customer know you are working on it.',\n label: 'Mark as In Progress',\n },\n reply: {\n description: 'Draft a response in the composer below.',\n label: 'Reply to the customer',\n },\n resolve: {\n description: 'Close out the request once the issue is fixed.',\n label: 'Resolve the ticket',\n },\n title: 'Agent quick actions',\n },\n notFound: {\n description: \"The ticket you're looking for doesn't exist or has been deleted.\",\n title: 'Ticket not found',\n },\n notifications: {\n reopened: 'Ticket reopened.',\n reviewSubmitted: 'Thanks for your feedback!',\n },\n reopenCount: 'Reopen {{current}}/{{max}}',\n review: {\n description:\n 'Share a quick rating once the ticket is closed. Optional notes help improve future responses.',\n feedbackAgentHelpful: 'Agent helpful',\n feedbackIssueResolved: 'Issue resolved',\n feedbackKnowledgeBase: 'Knowledge base',\n feedbackOther: 'Other',\n feedbackResponseTime: 'Response time',\n feedbackTypeLabel: 'Feedback type',\n notesLabel: 'Notes',\n notesPlaceholder: 'Optional notes about the support experience',\n optional: 'Optional',\n rating1: '1 - Poor',\n rating2: '2 - Needs improvement',\n rating3: '3 - Okay',\n rating4: '4 - Good',\n rating5: '5 - Excellent',\n ratingLabel: 'Rating',\n selectRating: 'Select rating',\n submit: 'Submit review',\n submitting: 'Submitting...',\n title: 'Rate this support experience',\n },\n sidebar: {\n agentLabel: 'Agent',\n assignedTo: 'Assigned To',\n category: 'Category',\n createdBy: 'Created By',\n linkedTickets: {\n title: 'Linked Tickets',\n },\n satisfaction: {\n pending: 'Pending',\n title: 'Customer Satisfaction',\n },\n sla: {\n atRisk: 'SLA at risk',\n onTrack: 'On Track',\n policy: 'Policy: {{name}}',\n statusLabel: 'Status',\n },\n slaStatus: 'SLA Status',\n source: 'Source',\n tags: 'Tags',\n timestamps: {\n closed: 'Closed',\n created: 'Created',\n due: 'Due',\n firstResponse: 'First Response',\n resolved: 'Resolved',\n title: 'Timestamps',\n updated: 'Updated',\n },\n unknownUser: 'User {{id}}',\n },\n userNextSteps: {\n knowledgeBase: {\n description: 'Find answers to common questions instantly.',\n label: 'Browse the knowledge base',\n },\n newTicket: {\n description: 'Have a different issue? Start a fresh request.',\n label: 'Open a new ticket',\n },\n reopen: {\n description: 'Still stuck? Reopen to continue the conversation.',\n label: 'Reopen this ticket',\n },\n reply: {\n description: 'Add details or answer a question from our support team.',\n label: 'Reply to the conversation',\n },\n title: 'Quick actions',\n },\n },\n ticketList: {\n actions: {\n loadMore: 'Load More',\n loadingMore: 'Loading...',\n newTicket: 'New Ticket',\n },\n category: {\n general: 'General',\n },\n count: {\n plural: 'tickets',\n single: 'ticket',\n },\n empty: {\n action: 'Create Ticket',\n description: 'Create your first support ticket to get started, or adjust your filters.',\n title: 'No tickets found',\n },\n error: {\n description: 'An error occurred while loading tickets. Please try again.',\n title: 'Failed to load tickets',\n },\n filters: {\n assignee: 'Assignee',\n assigneePlaceholder: 'User ID',\n dateFrom: 'Date From',\n dateTo: 'Date To',\n priority: {\n all: 'All Priorities',\n label: 'Priority',\n },\n product: 'Product',\n status: {\n all: 'All Statuses',\n label: 'Status',\n },\n toggle: 'Filters',\n },\n loading: 'Loading tickets...',\n meta: {\n assigned: 'Assigned',\n },\n missingProduct: {\n description:\n 'This support view needs a product configuration before tickets can be loaded.',\n title: 'Unable to load tickets for this product',\n },\n priorityAccessible: 'Priority: {{priority}}',\n purpose: {\n admin:\n 'Your shared support inbox — triage, prioritise and respond to every customer ticket here. Filter by product, status, priority or assignee to find what needs attention, and open a ticket to read the full conversation and reply.',\n user: 'Track every help request you have raised. Open a ticket to follow the conversation with our team, add details, or share attachments — or create a new ticket whenever you hit a snag.',\n },\n scopedSearch: {\n hint: 'Search results are limited to tickets already loaded for this product. Load more tickets to expand the searchable set.',\n },\n search: {\n placeholder: 'Search tickets...',\n },\n sla: {\n atRisk: 'SLA At Risk',\n breached: 'SLA Breached',\n },\n subtitle: 'Manage and respond to customer support requests',\n title: 'Support Tickets',\n titleAccent: 'Tickets',\n view: {\n gridAriaLabel: 'Show tickets as a grid',\n listAriaLabel: 'Show tickets as a list',\n },\n },\n triage: {\n autoRun: 'Triaged automatically when the ticket arrived, {{at}}.',\n category: 'Category',\n citationArticle: 'Article: {{title}}',\n citationCanned: 'Canned: {{title}}',\n citationFaq: 'FAQ: {{title}}',\n confidence: '{{pct}}% of the evidence',\n discard: 'Discard',\n discarded: 'Draft discarded.',\n draft: 'Draft reply',\n draftNotSent: 'Not sent — only you can see this.',\n draftTitle: 'Reply draft',\n drafted: 'Reply drafted from the knowledge base.',\n errors: {\n discard: 'Could not discard the draft.',\n draft: 'Could not draft a reply.',\n noGrounding:\n 'No published article or FAQ covers this ticket closely enough to draft a reply. Write this one by hand.',\n send: 'Could not send the reply.',\n triage: 'Triage failed.',\n },\n evidence: 'Based on',\n evidenceArticle: 'Article: {{label}}',\n evidenceTicket: 'Ticket {{label}}',\n lightestLoad: 'lightest load',\n manualRun: 'Triaged on request, {{at}}.',\n noCategory: 'No category',\n none: 'None',\n notTriaged:\n 'This ticket has not been triaged yet. Run triage to fill its category, priority and SLA from similar resolved tickets.',\n priority: 'Priority',\n redraft: 'Draft again',\n rerun: 'Re-run triage',\n run: 'Run triage',\n send: 'Send to customer',\n sent: 'Reply sent to the customer.',\n setByTriage: 'set by triage',\n sources: 'Sources',\n suggestedAgent: 'Suggested agent',\n title: 'Triage and reply draft',\n triaged: 'Ticket triaged.',\n },\n },\n} as const;\n"],"mappings":";AAEA,IAAaA,IAAiB;CAC5B,QAAQ,EACN,QAAQ,SACV;CACA,SAAS;EACP,WAAW;GACT,mBAAmB,EACjB,OAAO,iBACT;GACA,QAAQ;IACN,iBAAiB;KACf,UAAU;KACV,OAAO;IACT;IACA,cAAc;KACZ,UAAU;KACV,OAAO;IACT;IACA,eAAe;KACb,UAAU;KACV,OAAO;IACT;IACA,cAAc;KACZ,UAAU;KACV,OAAO;IACT;GACF;GACA,WAAW;IACT,QAAQ;KACN,aAAa;KACb,OAAO;IACT;IACA,QAAQ;KACN,aAAa;KACb,OAAO;IACT;IACA,KAAK;KACH,aAAa;KACb,OAAO;IACT;IACA,OAAO;GACT;GACA,mBAAmB,EACjB,OAAO,sBACT;GACA,SACE;GACF,cAAc;IACZ,WAAW;IACX,MAAM;IACN,cAAc;IACd,KAAK;IACL,eAAe;IACf,cAAc;IACd,OAAO;GACT;GACA,WAAW;IACT,KAAK;IACL,UAAU;IACV,YAAY;IACZ,eAAe;IACf,YAAY;IACZ,cAAc;IACd,OAAO;IACP,cAAc;GAChB;GACA,OAAO;GACP,WAAW;IACT,OAAO;IACP,UAAU;IACV,OAAO;GACT;GACA,YAAY,EACV,OAAO,uBACT;EACF;EACA,SAAS;GACP,SAAS;IACP,SAAS;IACT,WAAW;IACX,qBAAqB;IACrB,QAAQ;IACR,UAAU;IACV,MAAM;IACN,SAAS;IACT,YAAY;IACZ,WAAW;IACX,cAAc;GAChB;GACA,eAAe;IACb,mBAAmB;IACnB,iBAAiB;IACjB,OAAO;GACT;GACA,eACE;GACF,gBAAgB;GAChB,aAAa;GACb,eAAe;IACb,SAAS;IACT,SAAS;IACT,OAAO;GACT;GACA,cAAc;IACZ,aAAa;IACb,OAAO;GACT;GACA,aACE;GACF,WAAW;GACX,QAAQ;IACN,eAAe;IACf,cAAc;IACd,cAAc;IACd,eAAe;IACf,iBAAiB;IACjB,cAAc;GAChB;GACA,UAAU;IACR,aAAa;IACb,OAAO;IACP,IAAI;IACJ,QAAQ;IACR,OAAO;IACP,iBAAiB;IACjB,KAAK;GACP;GACA,SAAS;GACT,WAAW;IACT,MAAM;KACJ,aAAa;KACb,OAAO;IACT;IACA,MAAM;KACJ,aAAa;KACb,OAAO;IACT;IACA,SAAS;KACP,aAAa;KACb,OAAO;IACT;IACA,OAAO;IACP,WAAW;KACT,aAAa;KACb,OAAO;IACT;GACF;GACA,UAAU;IACR,aAAa;IACb,iBAAiB;IACjB,OAAO;GACT;GACA,eAAe;IACb,UAAU;IACV,SAAS;IACT,SAAS;IACT,WAAW;IACX,aAAa;IACb,SAAS;GACX;GACA,QAAQ;IACN,UAAU;IACV,OAAO;IACP,WAAW;GACb;GACA,OAAO;EACT;EACA,aAAa;GACX,SAAS;IACP,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,SAAS;IACT,QAAQ;IACR,QAAQ;GACV;GACA,QAAQ;IACN,UAAU;IACV,SAAS;IACT,SAAS;IACT,iBAAiB;IACjB,MAAM;IACN,QAAQ;IACR,MAAM;IACN,OAAO;GACT;GACA,cACE;GACF,kBAAkB;GAClB,cAAc;IACZ,UAAU;IACV,SAAS;IACT,SAAS;IACT,iBAAiB;IACjB,MAAM;IACN,MAAM;IACN,OAAO;GACT;GACA,UAAU;GACV,QAAQ;IACN,OAAO;IACP,WAAW;GACb;EACF;EACA,YAAY;GACV,SAAS;IACP,MAAM;IACN,MAAM;IACN,SAAS;GACX;GACA,aAAa,EACX,QAAQ,eACV;GACA,UAAU;IACR,SAAS;IACT,SAAS;IACT,aAAa;GACf;GACA,QAAQ,EACN,YAAY,mDACd;GACA,QAAQ;IACN,aAAa;IACb,UAAU;IACV,aAAa;IACb,UAAU;IACV,SAAS;GACX;GACA,cAAc;IACZ,aAAa;IACb,SAAS;GACX;GACA,cACE;GACF,SACE;GACF,UAAU;GACV,aAAa;IACX,QAAQ;IACR,OAAO;GACT;GACA,OAAO;GACP,YAAY;IACV,qBAAqB;IACrB,iBAAiB;GACnB;EACF;EACA,gBAAgB,EACd,SAAS,uBACX;EACA,kBAAkB;GAChB,OAAO;IACL,aAAa;IACb,OAAO;GACT;GACA,OAAO,EACL,OAAO,2BACT;GACA,SAAS;IACP,aAAa;IACb,aAAa;IACb,cAAc;IACd,aAAa;IACb,QAAQ;GACV;GACA,MAAM,EACJ,cAAc,oBAChB;GACA,UAAU;GACV,SAAS;GACT,SACE;GACF,QAAQ;IACN,MAAM;IACN,aAAa;GACf;GACA,QAAQ;IACN,UAAU;IACV,WAAW;IACX,KAAK;IACL,UAAU;IACV,MAAM;GACR;GACA,UAAU;GACV,OAAO;EACT;EACA,sBAAsB;GACpB,SAAS;IACP,SAAS;IACT,iBAAiB;IACjB,iBAAiB;IACjB,eAAe;IACf,aAAa;IACb,OAAO;GACT;GACA,gBAAgB,EACd,OAAO,kBACT;GACA,aAAa;IACX,WAAW;IACX,QAAQ;KACN,UAAU;KACV,SAAS;KACT,OAAO;KACP,MAAM;KACN,SAAS;KACT,QAAQ;IACV;IACA,OAAO;GACT;GACA,MAAM;GACN,SAAS;GACT,SAAS,EACP,OAAO,UACT;GACA,WAAW;IACT,SAAS;KACP,aAAa;KACb,OAAO;IACT;IACA,SAAS;KACP,aAAa;KACb,OAAO;IACT;IACA,OAAO;KACL,aAAa;KACb,OAAO;IACT;IACA,OAAO;GACT;GACA,UAAU;IACR,aAAa;IACb,OAAO;GACT;GACA,eAAe;IACb,WAAW;IACX,eAAe;GACjB;GACA,SACE;GACF,OAAO;IACL,WAAW;IACX,aAAa;IACb,MAAM;IACN,OAAO;GACT;GACA,QAAQ;IACN,UAAU;IACV,WAAW;IACX,KAAK;IACL,UAAU;IACV,MAAM;GACR;GACA,SAAS;IACP,MAAM;IACN,OAAO;IACP,SAAS;GACX;GACA,UAAU;IACR,WAAW;IACX,aAAa;IACb,WAAW;IACX,OAAO;GACT;EACF;EACA,cAAc;GACZ,SAAS;IACP,QAAQ;IACR,QAAQ;IACR,YAAY;GACd;GACA,aAAa;IACX,OAAO;IACP,QAAQ;IACR,WAAW;GACb;GACA,UAAU;IACR,SAAS;IACT,QAAQ;GACV;GACA,QAAQ,EACN,cAAc,6CAChB;GACA,QAAQ;IACN,aAAa;IACb,UAAU;IACV,aAAa;IACb,UAAU;IACV,SAAS;GACX;GACA,cAAc;GACd,eAAe,EACb,SAAS,+BACX;GACA,cAAc;IACZ,aAAa;IACb,SAAS;GACX;GACA,UAAU;IACR,UAAU;IACV,MAAM;IACN,KAAK;IACL,QAAQ;GACV;GACA,SACE;GACF,UAAU;GACV,OAAO;GACP,YAAY;IACV,gBAAgB;IAChB,YAAY;GACd;EACF;EACA,QAAQ,EACN,OAAO,gBACT;EACA,aAAa;GACX,SAAS,EACP,MAAM,wBACR;GACA,UAAU;IACR,gBAAgB;IAChB,IAAI;IACJ,YAAY;IACZ,KAAK;GACP;GACA,SAAS,EACP,OAAO,mBACT;GACA,WAAW;IACT,SAAS;IACT,IAAI;IACJ,YAAY;IACZ,SAAS;IACT,OAAO;GACT;EACF;EACA,cAAc;GACZ,gBAAgB;GAChB,mBAAmB;GACnB,OAAO;IACL,SAAS;IACT,UAAU;GACZ;GACA,UAAU;GACV,OAAO;EACT;EACA,KAAK;GACH,YAAY;GACZ,SAAS;IACP,WAAW;IACX,OAAO;IACP,OAAO;IACP,SAAS;IACT,OAAO;GACT;GACA,UAAU;IACR,OAAO;IACP,OAAO;IACP,SAAS;IACT,MAAM;IACN,cAAc;IACd,gBAAgB;IAChB,QAAQ;IACR,OAAO;GACT;GACA,QAAQ;IACN,YAAY;IACZ,OAAO;IACP,OAAO;IACP,OAAO;IACP,aAAa;IACb,cAAc;IACd,WAAW;IACX,QAAQ;GACV;GACA,UAAU;GACV,OAAO;EACT;EACA,eAAe;GACb,SAAS,EACP,YAAY,cACd;GACA,aAAa;GACb,cAAc;GACd,kBAAkB;GAClB,OAAO;GACP,aAAa;GACb,OAAO;IACL,aAAa;IACb,mBAAmB;IACnB,aAAa;IACb,OAAO;GACT;GACA,SAAS;GACT,UAAU;GACV,SAAS;GACT,iBAAiB;GACjB,cACE;GACF,aACE;GACF,mBAAmB;GACnB,eAAe;GACf,QAAQ;IACN,UAAU;IACV,OAAO;GACT;GACA,eAAe;GACf,cAAc;GACd,OAAO;GACP,OAAO;EACT;EACA,SAAS,EACP,SAAS,aACX;EACA,iBAAiB;GACf,aAAa;GACb,iBAAiB;GACjB,MAAM;GACN,cAAc;GACd,uBAAuB;GACvB,wBAAwB;GACxB,mBAAmB;GACnB,kBAAkB;GAClB,sBAAsB;GACtB,MAAM;GACN,SAAS;EACX;EACA,eAAe;GACb,YAAY;GACZ,UAAU;GACV,OAAO;IACL,aAAa;IACb,OAAO;GACT;GACA,eAAe;GACf,KAAK;EACP;EACA,KAAK;GACH,WAAW;GACX,kBAAkB;GAClB,cAAc;GACd,iBAAiB;GACjB,aAAa;GACb,eAAe;GACf,UAAU;GACV,SAAS;EACX;EACA,eAAe;GACb,SAAS;IACP,YAAY;IACZ,MAAM;IACN,QAAQ;GACV;GACA,oBAAoB;GACpB,MAAM;IACJ,UAAU;IACV,SAAS;IACT,UAAU;IACV,SAAS;IACT,aAAa;IACb,QAAQ;IACR,SAAS;IACT,aAAa;IACb,YAAY;GACd;GACA,eAAe,EACb,SAAS,0CACX;GACA,aAAa;GACb,QAAQ;IACN,aAAa;IACb,mBAAmB;IACnB,YAAY;IACZ,kBAAkB;IAClB,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,aAAa;IACb,WAAW;IACX,cAAc;IACd,OAAO;GACT;GACA,WAAW;IACT,eAAe;IACf,QAAQ;IACR,WAAW;IACX,KAAK;IACL,iBAAiB;IACjB,eAAe;IACf,kBAAkB;IAClB,IAAI;IACJ,eAAe;IACf,aAAa;IACb,QAAQ;IACR,UAAU;IACV,UAAU;IACV,YAAY;IACZ,eAAe;IACf,eAAe;IACf,UAAU;IACV,eAAe;IACf,cAAc;IACd,SAAS;IACT,WAAW;IACX,WAAW;IACX,QAAQ;IACR,MAAM;GACR;EACF;EACA,UAAU;GACR,SAAS;IACP,YAAY;IACZ,UAAU;IACV,aAAa;GACf;GACA,MAAM;IACJ,WAAW;IACX,SAAS;GACX;GACA,OAAO;IACL,QAAQ;IACR,QAAQ;GACV;GACA,OAAO;IACL,aAAa;IACb,OAAO;GACT;GACA,OAAO;IACL,aAAa;IACb,OAAO;GACT;GACA,SAAS;IACP,KAAK;IACL,aAAa;IACb,UAAU;IACV,QAAQ;IACR,MAAM;IACN,eAAe;IACf,UAAU;IACV,aAAa;GACf;GACA,SAAS;GACT,gBAAgB;IACd,aACE;IACF,OAAO;GACT;GACA,SACE;GACF,kBACE;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b,OAAO;IACT;IACA,SAAS;KACP,aAAa;KACb,OAAO;IACT;IACA,OAAO;GACT;GACA,UAAU;IACR,aAAa;IACb,OAAO;GACT;GACA,eAAe;IACb,UAAU;IACV,iBAAiB;GACnB;GACA,aAAa;GACb,QAAQ;IACN,aACE;IACF,sBAAsB;IACtB,uBAAuB;IACvB,uBAAuB;IACvB,eAAe;IACf,sBAAsB;IACtB,mBAAmB;IACnB,YAAY;IACZ,kBAAkB;IAClB,UAAU;IACV,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,aAAa;IACb,cAAc;IACd,QAAQ;IACR,YAAY;IACZ,OAAO;GACT;GACA,SAAS;IACP,YAAY;IACZ,YAAY;IACZ,UAAU;IACV,WAAW;IACX,eAAe,EACb,OAAO,iBACT;IACA,cAAc;KACZ,SAAS;KACT,OAAO;IACT;IACA,KAAK;KACH,QAAQ;KACR,SAAS;KACT,QAAQ;KACR,aAAa;IACf;IACA,WAAW;IACX,QAAQ;IACR,MAAM;IACN,YAAY;KACV,QAAQ;KACR,SAAS;KACT,KAAK;KACL,eAAe;KACf,UAAU;KACV,OAAO;KACP,SAAS;IACX;IACA,aAAa;GACf;GACA,eAAe;IACb,eAAe;KACb,aAAa;KACb,OAAO;IACT;IACA,WAAW;KACT,aAAa;KACb,OAAO;IACT;IACA,QAAQ;KACN,aAAa;KACb,OAAO;IACT;IACA,OAAO;KACL,aAAa;KACb,OAAO;IACT;IACA,OAAO;GACT;EACF;EACA,YAAY;GACV,SAAS;IACP,UAAU;IACV,aAAa;IACb,WAAW;GACb;GACA,UAAU,EACR,SAAS,UACX;GACA,OAAO;IACL,QAAQ;IACR,QAAQ;GACV;GACA,OAAO;IACL,QAAQ;IACR,aAAa;IACb,OAAO;GACT;GACA,OAAO;IACL,aAAa;IACb,OAAO;GACT;GACA,SAAS;IACP,UAAU;IACV,qBAAqB;IACrB,UAAU;IACV,QAAQ;IACR,UAAU;KACR,KAAK;KACL,OAAO;IACT;IACA,SAAS;IACT,QAAQ;KACN,KAAK;KACL,OAAO;IACT;IACA,QAAQ;GACV;GACA,SAAS;GACT,MAAM,EACJ,UAAU,WACZ;GACA,gBAAgB;IACd,aACE;IACF,OAAO;GACT;GACA,oBAAoB;GACpB,SAAS;IACP,OACE;IACF,MAAM;GACR;GACA,cAAc,EACZ,MAAM,yHACR;GACA,QAAQ,EACN,aAAa,oBACf;GACA,KAAK;IACH,QAAQ;IACR,UAAU;GACZ;GACA,UAAU;GACV,OAAO;GACP,aAAa;GACb,MAAM;IACJ,eAAe;IACf,eAAe;GACjB;EACF;EACA,QAAQ;GACN,SAAS;GACT,UAAU;GACV,iBAAiB;GACjB,gBAAgB;GAChB,aAAa;GACb,YAAY;GACZ,SAAS;GACT,WAAW;GACX,OAAO;GACP,cAAc;GACd,YAAY;GACZ,SAAS;GACT,QAAQ;IACN,SAAS;IACT,OAAO;IACP,aACE;IACF,MAAM;IACN,QAAQ;GACV;GACA,UAAU;GACV,iBAAiB;GACjB,gBAAgB;GAChB,cAAc;GACd,WAAW;GACX,YAAY;GACZ,MAAM;GACN,YACE;GACF,UAAU;GACV,SAAS;GACT,OAAO;GACP,KAAK;GACL,MAAM;GACN,MAAM;GACN,aAAa;GACb,SAAS;GACT,gBAAgB;GAChB,OAAO;GACP,SAAS;EACX;CACF;AACF"}
|
|
@@ -105,7 +105,20 @@ export interface MicrofrontendRootProps {
|
|
|
105
105
|
/**
|
|
106
106
|
* Props for the SupportRoot component
|
|
107
107
|
*/
|
|
108
|
+
/**
|
|
109
|
+
* Opt-in look and wording for one host app. Leave it unset to keep the module
|
|
110
|
+
* exactly as every other app sees it today.
|
|
111
|
+
*/
|
|
112
|
+
export type SupportVariant = 'fluidgrids';
|
|
108
113
|
export interface SupportRootProps extends MicrofrontendRootProps {
|
|
114
|
+
/**
|
|
115
|
+
* Opt in to the FluidGrids Navigation v2 Help & support experience
|
|
116
|
+
* (BOFF-11844): a help hub at the index route, "My support requests",
|
|
117
|
+
* "Ask for help", a customer-facing request detail and help articles with
|
|
118
|
+
* onward paths. Only fluidgrids-app sets this; every other app leaves it
|
|
119
|
+
* unset and sees the module unchanged.
|
|
120
|
+
*/
|
|
121
|
+
variant?: SupportVariant;
|
|
109
122
|
/**
|
|
110
123
|
* Show support tickets across all products instead of scoping user lists to productId.
|
|
111
124
|
* Intended for hub surfaces such as workspaces-app; admin views keep their own filters.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns `value` when it is a same-origin relative path, otherwise undefined.
|
|
3
|
+
*
|
|
4
|
+
* Accepted: a path that starts with exactly one "/" (so not "//host"), with no
|
|
5
|
+
* scheme, control characters, whitespace, angle brackets, quotes or
|
|
6
|
+
* backslashes. The value is trimmed first and capped at
|
|
7
|
+
* `MAX_CAME_FROM_LENGTH` characters.
|
|
8
|
+
*/
|
|
9
|
+
export declare function sanitizeCameFrom(value: unknown): string | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* Reads the hidden "came from" context a host passes as `?from=` or as router
|
|
12
|
+
* state `{ from }`. The query parameter wins when both are present. Anything
|
|
13
|
+
* that is not a same-origin relative path is dropped, because the value comes
|
|
14
|
+
* from a URL anyone can craft and is stored in the ticket's metadata.
|
|
15
|
+
*/
|
|
16
|
+
export declare function readCameFrom(searchParams: URLSearchParams, state: unknown): string | undefined;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import "../constants.js";
|
|
2
|
+
// src/support/utils/cameFrom.ts
|
|
3
|
+
var e = /[\s<>"'`\\]/;
|
|
4
|
+
function t(e) {
|
|
5
|
+
for (let t = 0; t < e.length; t += 1) {
|
|
6
|
+
let n = e.charCodeAt(t);
|
|
7
|
+
if (n <= 31 || n === 127) return !0;
|
|
8
|
+
}
|
|
9
|
+
return !1;
|
|
10
|
+
}
|
|
11
|
+
function n(n) {
|
|
12
|
+
if (typeof n != "string") return;
|
|
13
|
+
let r = n.trim();
|
|
14
|
+
if (r.startsWith("/") && !r.startsWith("//") && !(t(r) || e.test(r))) return r.slice(0, 500);
|
|
15
|
+
}
|
|
16
|
+
function r(e, t) {
|
|
17
|
+
let r = typeof t == "object" && t && "from" in t ? t.from : void 0;
|
|
18
|
+
return n(e.get("from") ?? r);
|
|
19
|
+
}
|
|
20
|
+
export { r as readCameFrom, n as sanitizeCameFrom };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=cameFrom.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cameFrom.js","names":["DISALLOWED_PRINTABLE","hasControlCharacter","index","value","code","sanitizeCameFrom","trimmed","readCameFrom","fromState","state","searchParams"],"sources":["../../../src/support/utils/cameFrom.ts"],"sourcesContent":["import { ASK_FOR_HELP_FROM_PARAM, MAX_CAME_FROM_LENGTH } from '../constants';\n\n/**\n * Characters a \"came from\" value may not contain: ASCII control characters\n * (including tab and newline), whitespace, angle brackets, quotes and the\n * backslash. Browsers treat `/\\host` like `//host`, so the backslash is\n * refused along with the protocol-relative prefix.\n */\nconst DISALLOWED_PRINTABLE = /[\\s<>\"'`\\\\]/;\n\nfunction hasControlCharacter(value: string): boolean {\n for (let index = 0; index < value.length; index += 1) {\n const code = value.charCodeAt(index);\n if (code <= 0x1f || code === 0x7f) return true;\n }\n return false;\n}\n\n/**\n * Returns `value` when it is a same-origin relative path, otherwise undefined.\n *\n * Accepted: a path that starts with exactly one \"/\" (so not \"//host\"), with no\n * scheme, control characters, whitespace, angle brackets, quotes or\n * backslashes. The value is trimmed first and capped at\n * `MAX_CAME_FROM_LENGTH` characters.\n */\nexport function sanitizeCameFrom(value: unknown): string | undefined {\n if (typeof value !== 'string') return undefined;\n const trimmed = value.trim();\n if (!trimmed.startsWith('/') || trimmed.startsWith('//')) return undefined;\n if (hasControlCharacter(trimmed) || DISALLOWED_PRINTABLE.test(trimmed)) return undefined;\n return trimmed.slice(0, MAX_CAME_FROM_LENGTH);\n}\n\n/**\n * Reads the hidden \"came from\" context a host passes as `?from=` or as router\n * state `{ from }`. The query parameter wins when both are present. Anything\n * that is not a same-origin relative path is dropped, because the value comes\n * from a URL anyone can craft and is stored in the ticket's metadata.\n */\nexport function readCameFrom(searchParams: URLSearchParams, state: unknown): string | undefined {\n const fromState =\n state !== null && typeof state === 'object' && 'from' in state\n ? (state as { from?: unknown }).from\n : undefined;\n return sanitizeCameFrom(searchParams.get(ASK_FOR_HELP_FROM_PARAM) ?? fromState);\n}\n"],"mappings":";;AAQA,IAAMA,IAAuB;AAE7B,SAASC,EAAoB,GAAwB;CACnD,KAAK,IAAIC,IAAQ,GAAGA,IAAQC,EAAM,QAAQ,KAAS,GAAG;EACpD,IAAMC,IAAOD,EAAM,WAAWD,CAAK;EACnC,IAAIE,KAAQ,MAAQA,MAAS,KAAM,OAAO;CAC5C;CACA,OAAO;AACT;AAUA,SAAgBC,EAAiB,GAAoC;CACnE,IAAI,OAAOF,KAAU,UAAU;CAC/B,IAAMG,IAAUH,EAAM,KAAK;CAC3B,IAAKG,EAAQ,WAAW,GAAG,KAAK,GAAQ,WAAW,IAAI,KACnD,IAAoBA,CAAO,KAAKN,EAAqB,KAAKM,CAAO,IACrE,OAAOA,EAAQ,MAAM,GAAA,GAAuB;AAC9C;AAQA,SAAgBC,EAAa,GAA+B,GAAoC;CAC9F,IAAMC,IACc,OAAOC,KAAU,YAAnCA,KAA+C,UAAUA,IACpDA,EAA6B,OAC9B,KAAA;CACN,OAAOJ,EAAiBK,EAAa,IAAA,MAA2B,KAAKF,CAAS;AAChF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Short, friendly date for request rows: "1 Nov" this year, "1 Nov 2025"
|
|
3
|
+
* otherwise. Falls back to an empty string for a missing or unparseable value
|
|
4
|
+
* so a bad timestamp never renders as "Invalid Date".
|
|
5
|
+
*/
|
|
6
|
+
export declare function formatShortDate(value: string | null | undefined, locale?: string, now?: Date): string;
|
|
7
|
+
/** Full date and time for technical details; empty for a missing value. */
|
|
8
|
+
export declare function formatDateTime(value: string | null | undefined, locale?: string): string;
|
|
9
|
+
/**
|
|
10
|
+
* `YYYY-MM-DD` for an `<input type="date">`, built from the date's local
|
|
11
|
+
* parts. `toISOString()` would use UTC and show the previous day east of UTC
|
|
12
|
+
* for a value stored as local midnight (or the next day west of UTC for a
|
|
13
|
+
* value stored as local end of day).
|
|
14
|
+
*/
|
|
15
|
+
export declare function toLocalDateInputValue(date: Date | null | undefined): string;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// src/support/utils/dates.ts
|
|
2
|
+
function e(e, t, n = /* @__PURE__ */ new Date()) {
|
|
3
|
+
if (!e) return "";
|
|
4
|
+
let r = new Date(e);
|
|
5
|
+
if (Number.isNaN(r.getTime())) return "";
|
|
6
|
+
let i = r.getFullYear() === n.getFullYear() ? {
|
|
7
|
+
day: "numeric",
|
|
8
|
+
month: "short"
|
|
9
|
+
} : {
|
|
10
|
+
day: "numeric",
|
|
11
|
+
month: "short",
|
|
12
|
+
year: "numeric"
|
|
13
|
+
};
|
|
14
|
+
try {
|
|
15
|
+
return r.toLocaleDateString(t, i);
|
|
16
|
+
} catch {
|
|
17
|
+
return r.toLocaleDateString(void 0, i);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
function t(e, t) {
|
|
21
|
+
if (!e) return "";
|
|
22
|
+
let n = new Date(e);
|
|
23
|
+
if (Number.isNaN(n.getTime())) return "";
|
|
24
|
+
try {
|
|
25
|
+
return n.toLocaleString(t);
|
|
26
|
+
} catch {
|
|
27
|
+
return n.toLocaleString();
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
function n(e) {
|
|
31
|
+
return !e || Number.isNaN(e.getTime()) ? "" : `${String(e.getFullYear()).padStart(4, "0")}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")}`;
|
|
32
|
+
}
|
|
33
|
+
export { t as formatDateTime, e as formatShortDate, n as toLocalDateInputValue };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=dates.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dates.js","names":["formatShortDate","value","date","options","now","locale","formatDateTime","toLocalDateInputValue"],"sources":["../../../src/support/utils/dates.ts"],"sourcesContent":["/**\n * Short, friendly date for request rows: \"1 Nov\" this year, \"1 Nov 2025\"\n * otherwise. Falls back to an empty string for a missing or unparseable value\n * so a bad timestamp never renders as \"Invalid Date\".\n */\nexport function formatShortDate(\n value: string | null | undefined,\n locale?: string,\n now: Date = new Date()\n): string {\n if (!value) return '';\n const date = new Date(value);\n if (Number.isNaN(date.getTime())) return '';\n const options: Intl.DateTimeFormatOptions =\n date.getFullYear() === now.getFullYear()\n ? { day: 'numeric', month: 'short' }\n : { day: 'numeric', month: 'short', year: 'numeric' };\n try {\n return date.toLocaleDateString(locale, options);\n } catch {\n // An unknown locale tag throws a RangeError; use the runtime default.\n return date.toLocaleDateString(undefined, options);\n }\n}\n\n/** Full date and time for technical details; empty for a missing value. */\nexport function formatDateTime(value: string | null | undefined, locale?: string): string {\n if (!value) return '';\n const date = new Date(value);\n if (Number.isNaN(date.getTime())) return '';\n try {\n return date.toLocaleString(locale);\n } catch {\n return date.toLocaleString();\n }\n}\n\n/**\n * `YYYY-MM-DD` for an `<input type=\"date\">`, built from the date's local\n * parts. `toISOString()` would use UTC and show the previous day east of UTC\n * for a value stored as local midnight (or the next day west of UTC for a\n * value stored as local end of day).\n */\nexport function toLocalDateInputValue(date: Date | null | undefined): string {\n if (!date || Number.isNaN(date.getTime())) return '';\n const year = String(date.getFullYear()).padStart(4, '0');\n const month = String(date.getMonth() + 1).padStart(2, '0');\n const day = String(date.getDate()).padStart(2, '0');\n return `${year}-${month}-${day}`;\n}\n"],"mappings":";AAKA,SAAgBA,EACd,GACA,GACA,oBAAY,IAAI,KAAK,GACb;CACR,IAAI,CAACC,GAAO,OAAO;CACnB,IAAMC,IAAO,IAAI,KAAKD,CAAK;CAC3B,IAAI,OAAO,MAAMC,EAAK,QAAQ,CAAC,GAAG,OAAO;CACzC,IAAMC,IACJD,EAAK,YAAY,MAAME,EAAI,YAAY,IACnC;EAAE,KAAK;EAAW,OAAO;CAAQ,IACjC;EAAE,KAAK;EAAW,OAAO;EAAS,MAAM;CAAU;CACxD,IAAI;EACF,OAAOF,EAAK,mBAAmBG,GAAQF,CAAO;CAChD,QAAQ;EAEN,OAAOD,EAAK,mBAAmB,KAAA,GAAWC,CAAO;CACnD;AACF;AAGA,SAAgBG,EAAe,GAAkC,GAAyB;CACxF,IAAI,CAACL,GAAO,OAAO;CACnB,IAAMC,IAAO,IAAI,KAAKD,CAAK;CAC3B,IAAI,OAAO,MAAMC,EAAK,QAAQ,CAAC,GAAG,OAAO;CACzC,IAAI;EACF,OAAOA,EAAK,eAAeG,CAAM;CACnC,QAAQ;EACN,OAAOH,EAAK,eAAe;CAC7B;AACF;AAQA,SAAgBK,EAAsB,GAAuC;CAK3E,OAJI,CAACL,KAAQ,OAAO,MAAMA,EAAK,QAAQ,CAAC,IAAU,KAI3C,GAHM,OAAOA,EAAK,YAAY,CAAC,CAAC,CAAC,SAAS,GAAG,GAG1C,EAAK,GAFD,OAAOA,EAAK,SAAS,IAAI,CAAC,CAAC,CAAC,SAAS,GAAG,GAEpC,EAAM,GADZ,OAAOA,EAAK,QAAQ,CAAC,CAAC,CAAC,SAAS,GAAG,GACpB;AAC7B"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { SupportTicketStatus, SupportTicket } from '../../generated/global-types';
|
|
2
|
+
type ReopenableTicket = Pick<SupportTicket, 'status' | 'metadata'>;
|
|
3
|
+
/**
|
|
4
|
+
* How many times the requester has reopened a ticket so far.
|
|
5
|
+
*
|
|
6
|
+
* `metadata` is JSONB on the server side, so `reopenCount` may have landed as
|
|
7
|
+
* a number or a numeric string (`"3"`) depending on how it was written. Both
|
|
8
|
+
* are coerced to a safe number; anything else counts as 0.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getReopenCount(metadata: SupportTicket['metadata'] | undefined): number;
|
|
11
|
+
/** True when the ticket is in a state the requester may reopen from. */
|
|
12
|
+
export declare function isReopenableStatus(status: SupportTicketStatus): boolean;
|
|
13
|
+
/** True when the requester has used every reopen the server allows. */
|
|
14
|
+
export declare function isReopenCapReached(ticket: Pick<SupportTicket, 'metadata'>): boolean;
|
|
15
|
+
/**
|
|
16
|
+
* The single reopen rule for every user-facing surface: a ticket can be
|
|
17
|
+
* reopened from CLOSED or RESOLVED while it is under the server's reopen cap.
|
|
18
|
+
* Allowing RESOLVED gives the requester one "Reopen" click when an agent marks
|
|
19
|
+
* a ticket resolved too early, instead of Close then Reopen.
|
|
20
|
+
*/
|
|
21
|
+
export declare function canReopenTicket(ticket: ReopenableTicket): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* True when the ticket would be reopenable but the cap blocks it, which is
|
|
24
|
+
* when the requester should be told to open a new ticket instead.
|
|
25
|
+
*/
|
|
26
|
+
export declare function isReopenBlockedByLimit(ticket: ReopenableTicket): boolean;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { SupportTicketStatus as e } from "../../generated/global-types.js";
|
|
2
|
+
// src/support/utils/reopen.ts
|
|
3
|
+
function t(e) {
|
|
4
|
+
if (typeof e != "object" || !e || Array.isArray(e)) return 0;
|
|
5
|
+
let t = e.reopenCount;
|
|
6
|
+
if (typeof t == "number" && Number.isFinite(t)) return t;
|
|
7
|
+
if (typeof t == "string") {
|
|
8
|
+
let e = Number.parseInt(t, 10);
|
|
9
|
+
return Number.isFinite(e) ? e : 0;
|
|
10
|
+
}
|
|
11
|
+
return 0;
|
|
12
|
+
}
|
|
13
|
+
function n(t) {
|
|
14
|
+
return t === e.Closed || t === e.Resolved;
|
|
15
|
+
}
|
|
16
|
+
function r(e) {
|
|
17
|
+
return t(e.metadata) >= 3;
|
|
18
|
+
}
|
|
19
|
+
function i(e) {
|
|
20
|
+
return n(e.status) && !r(e);
|
|
21
|
+
}
|
|
22
|
+
function a(e) {
|
|
23
|
+
return n(e.status) && r(e);
|
|
24
|
+
}
|
|
25
|
+
export { i as canReopenTicket, t as getReopenCount, a as isReopenBlockedByLimit, r as isReopenCapReached, n as isReopenableStatus };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=reopen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reopen.js","names":["getReopenCount","metadata","rawReopenCount","parsed","isReopenableStatus","status","SupportTicketStatus","isReopenCapReached","ticket","canReopenTicket","isReopenBlockedByLimit"],"sources":["../../../src/support/utils/reopen.ts"],"sourcesContent":["import { SupportTicketStatus, type SupportTicket } from '../../generated/global-types';\nimport { MAX_REOPEN_COUNT } from '../constants';\n\ntype ReopenableTicket = Pick<SupportTicket, 'status' | 'metadata'>;\n\n/**\n * How many times the requester has reopened a ticket so far.\n *\n * `metadata` is JSONB on the server side, so `reopenCount` may have landed as\n * a number or a numeric string (`\"3\"`) depending on how it was written. Both\n * are coerced to a safe number; anything else counts as 0.\n */\nexport function getReopenCount(metadata: SupportTicket['metadata'] | undefined): number {\n if (metadata == null || typeof metadata !== 'object' || Array.isArray(metadata)) {\n return 0;\n }\n const rawReopenCount = (metadata as Record<string, unknown>).reopenCount;\n if (typeof rawReopenCount === 'number' && Number.isFinite(rawReopenCount)) {\n return rawReopenCount;\n }\n if (typeof rawReopenCount === 'string') {\n const parsed = Number.parseInt(rawReopenCount, 10);\n return Number.isFinite(parsed) ? parsed : 0;\n }\n return 0;\n}\n\n/** True when the ticket is in a state the requester may reopen from. */\nexport function isReopenableStatus(status: SupportTicketStatus): boolean {\n return status === SupportTicketStatus.Closed || status === SupportTicketStatus.Resolved;\n}\n\n/** True when the requester has used every reopen the server allows. */\nexport function isReopenCapReached(ticket: Pick<SupportTicket, 'metadata'>): boolean {\n return getReopenCount(ticket.metadata) >= MAX_REOPEN_COUNT;\n}\n\n/**\n * The single reopen rule for every user-facing surface: a ticket can be\n * reopened from CLOSED or RESOLVED while it is under the server's reopen cap.\n * Allowing RESOLVED gives the requester one \"Reopen\" click when an agent marks\n * a ticket resolved too early, instead of Close then Reopen.\n */\nexport function canReopenTicket(ticket: ReopenableTicket): boolean {\n return isReopenableStatus(ticket.status) && !isReopenCapReached(ticket);\n}\n\n/**\n * True when the ticket would be reopenable but the cap blocks it, which is\n * when the requester should be told to open a new ticket instead.\n */\nexport function isReopenBlockedByLimit(ticket: ReopenableTicket): boolean {\n return isReopenableStatus(ticket.status) && isReopenCapReached(ticket);\n}\n"],"mappings":";;AAYA,SAAgBA,EAAe,GAAyD;CACtF,IAAwB,OAAOC,KAAa,aAAxCA,KAAoD,MAAM,QAAQA,CAAQ,GAC5E,OAAO;CAET,IAAMC,IAAkBD,EAAqC;CAC7D,IAAI,OAAOC,KAAmB,YAAY,OAAO,SAASA,CAAc,GACtE,OAAOA;CAET,IAAI,OAAOA,KAAmB,UAAU;EACtC,IAAMC,IAAS,OAAO,SAASD,GAAgB,EAAE;EACjD,OAAO,OAAO,SAASC,CAAM,IAAIA,IAAS;CAC5C;CACA,OAAO;AACT;AAGA,SAAgBC,EAAmB,GAAsC;CACvE,OAAOC,MAAWC,EAAoB,UAAUD,MAAWC,EAAoB;AACjF;AAGA,SAAgBC,EAAmB,GAAkD;CACnF,OAAOP,EAAeQ,EAAO,QAAQ,KAAA;AACvC;AAQA,SAAgBC,EAAgB,GAAmC;CACjE,OAAOL,EAAmBI,EAAO,MAAM,KAAK,CAACD,EAAmBC,CAAM;AACxE;AAMA,SAAgBE,EAAuB,GAAmC;CACxE,OAAON,EAAmBI,EAAO,MAAM,KAAKD,EAAmBC,CAAM;AACvE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SupportTicket, SupportTicketPriority } from '../../generated/global-types';
|
|
2
|
+
type Translate = (key: string, fallback: string, params?: Record<string, string | number>) => string;
|
|
3
|
+
/**
|
|
4
|
+
* The agent-side fields of a request as one plain-text block for
|
|
5
|
+
* `ShowTechnicalDetails` (BOFF-11844). The FluidGrids request page moves these
|
|
6
|
+
* off the header and out of the old sidebar; nothing is dropped, it is one
|
|
7
|
+
* click deeper and can be copied whole into a message to the support team.
|
|
8
|
+
*
|
|
9
|
+
* Labels are translated; values (IDs, enum names, dates) are raw so they match
|
|
10
|
+
* what an agent sees. Empty fields are left out.
|
|
11
|
+
*/
|
|
12
|
+
export declare function buildRequestTechnicalDetails(ticket: SupportTicket, tr: Translate, priorityLabels: Record<SupportTicketPriority, string>, locale?: string): string;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { formatDateTime as e } from "./dates.js";
|
|
2
|
+
import { getReopenCount as t } from "./reopen.js";
|
|
3
|
+
// src/support/utils/requestTechnicalDetails.ts
|
|
4
|
+
function n(n, r, i, a) {
|
|
5
|
+
let o = [], s = (e, t) => {
|
|
6
|
+
t != null && t !== "" && o.push(`${e}: ${t}`);
|
|
7
|
+
};
|
|
8
|
+
s(r("support.requestDetail.technical.number", "Request number"), n.ticketNumber), s(r("support.requestDetail.technical.id", "Request ID"), n.id), s(r("support.requestDetail.technical.priority", "Priority"), i[n.priority] ?? n.priority), s(r("support.requestDetail.technical.reopened", "Reopened"), r("support.requestDetail.technical.reopenedValue", "{{count}} of {{max}}", {
|
|
9
|
+
count: t(n.metadata),
|
|
10
|
+
max: 3
|
|
11
|
+
}));
|
|
12
|
+
let c = n.user;
|
|
13
|
+
if (c) {
|
|
14
|
+
let e = [
|
|
15
|
+
c.name || [c.firstName, c.lastName].filter(Boolean).join(" ") || void 0,
|
|
16
|
+
c.email ? `<${c.email}>` : void 0,
|
|
17
|
+
`(${c.id})`
|
|
18
|
+
].filter(Boolean).join(" ");
|
|
19
|
+
s(r("support.requestDetail.technical.createdBy", "Created by"), e);
|
|
20
|
+
}
|
|
21
|
+
if (s(r("support.requestDetail.technical.assignedAgent", "Assigned agent"), n.assignedTo || r("support.requestDetail.technical.notAssigned", "Not assigned")), s(r("support.requestDetail.technical.source", "Source"), n.source), s(r("support.requestDetail.technical.tags", "Tags"), n.tags && n.tags.length > 0 ? n.tags.join(", ") : void 0), s(r("support.requestDetail.technical.slaStatus", "SLA status"), n.slaBreachStatus), s(r("support.requestDetail.technical.slaPolicy", "SLA policy"), n.slaPolicy?.name), s(r("support.requestDetail.technical.escalationLevel", "Escalation level"), n.escalationLevel), s(r("support.requestDetail.technical.due", "Due"), e(n.dueAt, a)), s(r("support.requestDetail.technical.firstResponseDue", "First response due"), e(n.firstResponseDue, a)), s(r("support.requestDetail.technical.firstResponse", "First response"), e(n.firstResponseAt, a)), s(r("support.requestDetail.technical.resolutionDue", "Resolution due"), e(n.resolutionDue, a)), s(r("support.requestDetail.technical.resolved", "Resolved"), e(n.resolvedAt, a)), s(r("support.requestDetail.technical.closed", "Closed"), e(n.closedAt, a)), s(r("support.requestDetail.technical.reopenedAt", "Last reopened"), e(n.reopenedAt, a)), n.surveys && n.surveys.length > 0) {
|
|
22
|
+
o.push(r("support.requestDetail.technical.reviews", "Your reviews") + ":");
|
|
23
|
+
for (let t of n.surveys) {
|
|
24
|
+
let n = t.submittedAt ? e(t.submittedAt, a) : r("support.requestDetail.technical.reviewPending", "Pending"), i = t.submittedAt && t.rating ? r("support.requestDetail.technical.reviewRating", "{{rating}} of 5", { rating: t.rating }) : void 0;
|
|
25
|
+
o.push(` ${[n, i].filter(Boolean).join(" - ")}`);
|
|
26
|
+
let s = t.comment?.trim();
|
|
27
|
+
if (s) for (let e of s.split("\n")) o.push(` ${e}`);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
if (n.linkedTickets && n.linkedTickets.length > 0) {
|
|
31
|
+
o.push(r("support.requestDetail.technical.linkedTickets", "Linked requests") + ":");
|
|
32
|
+
for (let e of n.linkedTickets) o.push(` ${e.linkType} -> ${e.toTicketId}`);
|
|
33
|
+
}
|
|
34
|
+
return o.join("\n");
|
|
35
|
+
}
|
|
36
|
+
export { n as buildRequestTechnicalDetails };
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=requestTechnicalDetails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requestTechnicalDetails.js","names":["buildRequestTechnicalDetails","lines","add","value","label","tr","ticket","priorityLabels","getReopenCount","user","identity","formatDateTime","locale","survey","when","rating","comment","commentLine","link"],"sources":["../../../src/support/utils/requestTechnicalDetails.ts"],"sourcesContent":["import type { SupportTicket, SupportTicketPriority } from '../../generated/global-types';\nimport { MAX_REOPEN_COUNT } from '../constants';\nimport { formatDateTime } from './dates';\nimport { getReopenCount } from './reopen';\n\ntype Translate = (\n key: string,\n fallback: string,\n params?: Record<string, string | number>\n) => string;\n\n/**\n * The agent-side fields of a request as one plain-text block for\n * `ShowTechnicalDetails` (BOFF-11844). The FluidGrids request page moves these\n * off the header and out of the old sidebar; nothing is dropped, it is one\n * click deeper and can be copied whole into a message to the support team.\n *\n * Labels are translated; values (IDs, enum names, dates) are raw so they match\n * what an agent sees. Empty fields are left out.\n */\nexport function buildRequestTechnicalDetails(\n ticket: SupportTicket,\n tr: Translate,\n priorityLabels: Record<SupportTicketPriority, string>,\n locale?: string\n): string {\n const lines: string[] = [];\n const add = (label: string, value: string | number | null | undefined) => {\n if (value === null || value === undefined || value === '') return;\n lines.push(`${label}: ${value}`);\n };\n\n add(tr('support.requestDetail.technical.number', 'Request number'), ticket.ticketNumber);\n add(tr('support.requestDetail.technical.id', 'Request ID'), ticket.id);\n add(\n tr('support.requestDetail.technical.priority', 'Priority'),\n priorityLabels[ticket.priority] ?? ticket.priority\n );\n add(\n tr('support.requestDetail.technical.reopened', 'Reopened'),\n tr('support.requestDetail.technical.reopenedValue', '{{count}} of {{max}}', {\n count: getReopenCount(ticket.metadata),\n max: MAX_REOPEN_COUNT,\n })\n );\n\n const user = ticket.user;\n if (user) {\n const name =\n user.name || [user.firstName, user.lastName].filter(Boolean).join(' ') || undefined;\n const identity = [name, user.email ? `<${user.email}>` : undefined, `(${user.id})`]\n .filter(Boolean)\n .join(' ');\n add(tr('support.requestDetail.technical.createdBy', 'Created by'), identity);\n }\n\n add(\n tr('support.requestDetail.technical.assignedAgent', 'Assigned agent'),\n ticket.assignedTo || tr('support.requestDetail.technical.notAssigned', 'Not assigned')\n );\n add(tr('support.requestDetail.technical.source', 'Source'), ticket.source);\n add(\n tr('support.requestDetail.technical.tags', 'Tags'),\n ticket.tags && ticket.tags.length > 0 ? ticket.tags.join(', ') : undefined\n );\n add(tr('support.requestDetail.technical.slaStatus', 'SLA status'), ticket.slaBreachStatus);\n add(tr('support.requestDetail.technical.slaPolicy', 'SLA policy'), ticket.slaPolicy?.name);\n add(\n tr('support.requestDetail.technical.escalationLevel', 'Escalation level'),\n ticket.escalationLevel\n );\n add(tr('support.requestDetail.technical.due', 'Due'), formatDateTime(ticket.dueAt, locale));\n add(\n tr('support.requestDetail.technical.firstResponseDue', 'First response due'),\n formatDateTime(ticket.firstResponseDue, locale)\n );\n add(\n tr('support.requestDetail.technical.firstResponse', 'First response'),\n formatDateTime(ticket.firstResponseAt, locale)\n );\n add(\n tr('support.requestDetail.technical.resolutionDue', 'Resolution due'),\n formatDateTime(ticket.resolutionDue, locale)\n );\n add(\n tr('support.requestDetail.technical.resolved', 'Resolved'),\n formatDateTime(ticket.resolvedAt, locale)\n );\n add(\n tr('support.requestDetail.technical.closed', 'Closed'),\n formatDateTime(ticket.closedAt, locale)\n );\n add(\n tr('support.requestDetail.technical.reopenedAt', 'Last reopened'),\n formatDateTime(ticket.reopenedAt, locale)\n );\n\n // Every satisfaction survey, including ones from before a reopen, so the\n // customer's earlier ratings and comments stay visible (the classic page\n // listed them in its sidebar).\n if (ticket.surveys && ticket.surveys.length > 0) {\n lines.push(tr('support.requestDetail.technical.reviews', 'Your reviews') + ':');\n for (const survey of ticket.surveys) {\n const when = survey.submittedAt\n ? formatDateTime(survey.submittedAt, locale)\n : tr('support.requestDetail.technical.reviewPending', 'Pending');\n const rating =\n survey.submittedAt && survey.rating\n ? tr('support.requestDetail.technical.reviewRating', '{{rating}} of 5', {\n rating: survey.rating,\n })\n : undefined;\n lines.push(` ${[when, rating].filter(Boolean).join(' - ')}`);\n const comment = survey.comment?.trim();\n if (comment) {\n for (const commentLine of comment.split('\\n')) {\n lines.push(` ${commentLine}`);\n }\n }\n }\n }\n\n if (ticket.linkedTickets && ticket.linkedTickets.length > 0) {\n lines.push(tr('support.requestDetail.technical.linkedTickets', 'Linked requests') + ':');\n for (const link of ticket.linkedTickets) {\n lines.push(` ${link.linkType} -> ${link.toTicketId}`);\n }\n }\n\n return lines.join('\\n');\n}\n"],"mappings":"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"}
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
import { SupportTicket, SupportTicketFilterInput } from '../../generated/global-types';
|
|
2
2
|
import { TicketFilters } from '../store/supportStore';
|
|
3
|
+
export interface TicketProductScope {
|
|
4
|
+
/** The product to pin a self-scoped list to, when the view is product-scoped. */
|
|
5
|
+
scopedProductId: string | undefined;
|
|
6
|
+
/** False when the view must be product-scoped but no product id was resolved. */
|
|
7
|
+
hasRequiredProductScope: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Decides whether a user-facing ticket list is pinned to the host's product.
|
|
11
|
+
* Admins and hub surfaces that set `showAllProductTickets` see every product;
|
|
12
|
+
* everyone else only sees tickets raised from this product.
|
|
13
|
+
*/
|
|
14
|
+
export declare function resolveTicketProductScope(options: {
|
|
15
|
+
role?: string | null;
|
|
16
|
+
productId?: string;
|
|
17
|
+
showAllProductTickets?: boolean;
|
|
18
|
+
}): TicketProductScope;
|
|
3
19
|
export declare function buildTicketFilter(ticketFilter: TicketFilters): SupportTicketFilterInput | undefined;
|
|
4
20
|
export declare function scopeTicketFilterToProduct(filter: SupportTicketFilterInput | undefined, productId: string | undefined): SupportTicketFilterInput | undefined;
|
|
5
21
|
export declare function matchesTicketClientFilters(ticket: SupportTicket, ticketFilter: TicketFilters): boolean;
|