@burdenoff/microfe-support 2026.626.1 → 2026.716.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 +2517 -0
- package/dist/generated/global-types.d.ts +22913 -0
- package/dist/generated/wspace-operations.d.ts +1 -0
- package/dist/generated/wspace-types.d.ts +57850 -0
- package/dist/index.d.ts +5 -0
- package/dist/support/SupportAdminRoot.d.ts +20 -0
- package/dist/support/SupportAdminRoutes.d.ts +13 -0
- package/dist/support/SupportUserRoot.d.ts +17 -0
- package/dist/support/SupportUserRoutes.d.ts +11 -0
- package/dist/support/components/NotificationToast.d.ts +17 -0
- package/dist/support/components/PageLayout.d.ts +71 -0
- package/dist/support/components/RouteHelpers.d.ts +9 -0
- package/dist/support/components/analytics/CategoryBreakdown.d.ts +9 -0
- package/dist/support/components/analytics/MetricCard.d.ts +10 -0
- package/dist/support/components/analytics/PriorityBreakdown.d.ts +9 -0
- package/dist/support/components/analytics/SLAReport.d.ts +23 -0
- package/dist/support/components/analytics/SatisfactionDistribution.d.ts +23 -0
- package/dist/support/components/analytics/TopAgents.d.ts +19 -0
- package/dist/support/components/analytics/TrendChart.d.ts +15 -0
- package/dist/support/components/kb/ArticleForm.d.ts +25 -0
- package/dist/support/components/kb/ArticleForm.js.map +1 -1
- package/dist/support/components/settings/CannedResponsesSettings.d.ts +21 -0
- package/dist/support/components/settings/CannedResponsesSettings.js.map +1 -1
- package/dist/support/components/settings/SLAPoliciesSettings.d.ts +18 -0
- package/dist/support/components/settings/TicketCategoriesSettings.d.ts +20 -0
- package/dist/support/components/tickets/AttachmentList.d.ts +7 -0
- package/dist/support/components/tickets/AttachmentList.js.map +1 -1
- package/dist/support/components/tickets/MarkdownContent.d.ts +7 -0
- package/dist/support/components/tickets/MessageComposer.d.ts +22 -0
- package/dist/support/components/tickets/MessageThread.d.ts +12 -0
- package/dist/support/components/tickets/TicketDetailHeader.d.ts +16 -0
- package/dist/support/components/tickets/TicketDetailHeader.js.map +1 -1
- package/dist/support/components/tickets/TicketHeader.d.ts +9 -0
- package/dist/support/components/tickets/TicketSidebar.d.ts +7 -0
- package/dist/support/components/tickets/TicketSidebar.js.map +1 -1
- package/dist/support/components/ui.d.ts +5 -0
- package/dist/support/constants.d.ts +20 -0
- package/dist/support/events/rybbit.d.ts +13 -0
- package/dist/support/hooks/index.d.ts +5 -0
- package/dist/support/hooks/useAnalyticsOperations.d.ts +51 -0
- package/dist/support/hooks/useAttachmentsFailedToast.d.ts +2 -0
- package/dist/support/hooks/useChatOperations.d.ts +27 -0
- package/dist/support/hooks/useKnowledgeBaseOperations.d.ts +55 -0
- package/dist/support/hooks/useNotification.d.ts +20 -0
- package/dist/support/hooks/useRegisterFooter.d.ts +6 -0
- package/dist/support/hooks/useSettingsOperations.d.ts +47 -0
- package/dist/support/hooks/useSupportAttachments.d.ts +10 -0
- package/dist/support/hooks/useTicketListOperations.d.ts +31 -0
- package/dist/support/hooks/useTicketOperations.d.ts +39 -0
- package/dist/support/index.d.ts +44 -0
- package/dist/support/pages/AnalyticsPage.d.ts +1 -0
- package/dist/support/pages/ArticleDetailAdminPage.d.ts +7 -0
- package/dist/support/pages/ArticleDetailUserPage.d.ts +7 -0
- package/dist/support/pages/ContactInquiriesPage.d.ts +1 -0
- package/dist/support/pages/ContactInquiryDetailPage.d.ts +1 -0
- package/dist/support/pages/ContactInquiryDetailPage.js +174 -166
- package/dist/support/pages/ContactInquiryDetailPage.js.map +1 -1
- package/dist/support/pages/CreateArticlePage.d.ts +1 -0
- package/dist/support/pages/CreateTicketPage.d.ts +1 -0
- package/dist/support/pages/CreateTicketPage.js.map +1 -1
- package/dist/support/pages/EditArticlePage.d.ts +1 -0
- package/dist/support/pages/JobApplicationDetailPage.d.ts +1 -0
- package/dist/support/pages/JobApplicationDetailPage.js.map +1 -1
- package/dist/support/pages/JobApplicationsPage.d.ts +1 -0
- package/dist/support/pages/JobApplicationsPage.js.map +1 -1
- package/dist/support/pages/KnowledgeBaseAdminPage.d.ts +7 -0
- package/dist/support/pages/KnowledgeBaseAdminPage.js.map +1 -1
- package/dist/support/pages/KnowledgeBaseUserPage.d.ts +8 -0
- package/dist/support/pages/SettingsPage.d.ts +1 -0
- package/dist/support/pages/SettingsPage.js.map +1 -1
- package/dist/support/pages/TicketDetailAdminPage.d.ts +8 -0
- package/dist/support/pages/TicketDetailAdminPage.js +102 -101
- package/dist/support/pages/TicketDetailAdminPage.js.map +1 -1
- package/dist/support/pages/TicketDetailUserPage.d.ts +8 -0
- package/dist/support/pages/TicketListPage.d.ts +11 -0
- package/dist/support/providers/SupportProvider.d.ts +16 -0
- package/dist/support/store/supportStore.d.ts +66 -0
- package/dist/support/types/index.d.ts +160 -0
- package/dist/support/utils/attachments.d.ts +27 -0
- package/dist/support/utils/breadcrumbRegistry.d.ts +2 -0
- package/dist/support/utils/breadcrumbRegistry.js +14 -0
- package/dist/support/utils/breadcrumbRegistry.js.map +1 -0
- package/dist/support/utils/categoryColors.d.ts +10 -0
- package/dist/support/utils/cn.d.ts +6 -0
- package/dist/support/utils/context.d.ts +2 -0
- package/dist/support/utils/errors.d.ts +2 -0
- package/dist/support/utils/i18n.d.ts +4 -0
- package/dist/support/utils/index.d.ts +57 -0
- package/dist/support/utils/markdown.d.ts +2 -0
- package/dist/support/utils/supportFiles.d.ts +15 -0
- package/dist/support/utils/ticketFilters.d.ts +6 -0
- package/dist/support/utils/uiTokens.d.ts +7 -0
- package/dist/utils/nativeBridge.d.ts +2 -0
- package/package.json +3 -3
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Support Microfrontend Types
|
|
3
|
+
*
|
|
4
|
+
* This file defines types for the support microfrontend module.
|
|
5
|
+
*/
|
|
6
|
+
export interface NavItem {
|
|
7
|
+
id: string;
|
|
8
|
+
label: string;
|
|
9
|
+
path: string;
|
|
10
|
+
icon?: React.ReactNode;
|
|
11
|
+
order?: number;
|
|
12
|
+
group?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface FooterItem {
|
|
15
|
+
id: string;
|
|
16
|
+
label: string;
|
|
17
|
+
path?: string;
|
|
18
|
+
onClick?: () => void;
|
|
19
|
+
type?: 'status' | 'action' | 'link';
|
|
20
|
+
order?: number;
|
|
21
|
+
section?: 'left' | 'center' | 'right';
|
|
22
|
+
}
|
|
23
|
+
export type { ViewMode, TicketFilters, KnowledgeBaseArticleState } from '../store/supportStore';
|
|
24
|
+
export interface ChatMessage {
|
|
25
|
+
id: string;
|
|
26
|
+
content: string;
|
|
27
|
+
senderType: 'CUSTOMER' | 'AGENT' | 'SYSTEM';
|
|
28
|
+
createdAt: string;
|
|
29
|
+
attachments?: Array<{
|
|
30
|
+
id: string;
|
|
31
|
+
filename: string;
|
|
32
|
+
url: string;
|
|
33
|
+
size: number;
|
|
34
|
+
}>;
|
|
35
|
+
}
|
|
36
|
+
export interface ChatSession {
|
|
37
|
+
id: string;
|
|
38
|
+
status: 'WAITING' | 'ACTIVE' | 'ENDED';
|
|
39
|
+
startedAt: string;
|
|
40
|
+
endedAt?: string;
|
|
41
|
+
queuePosition?: number;
|
|
42
|
+
assignedAgent?: {
|
|
43
|
+
id: string;
|
|
44
|
+
displayName: string;
|
|
45
|
+
email: string;
|
|
46
|
+
};
|
|
47
|
+
messages?: ChatMessage[];
|
|
48
|
+
lastMessage?: ChatMessage;
|
|
49
|
+
}
|
|
50
|
+
export interface Ticket {
|
|
51
|
+
id: string;
|
|
52
|
+
ticketNumber: string;
|
|
53
|
+
subject: string;
|
|
54
|
+
description?: string;
|
|
55
|
+
status: SupportTicketStatus;
|
|
56
|
+
priority: SupportTicketPriority;
|
|
57
|
+
createdAt: string;
|
|
58
|
+
updatedAt: string;
|
|
59
|
+
userId: string;
|
|
60
|
+
assignedTo?: string;
|
|
61
|
+
ticketCategory?: {
|
|
62
|
+
id: string;
|
|
63
|
+
name: string;
|
|
64
|
+
color?: string;
|
|
65
|
+
};
|
|
66
|
+
slaBreachStatus?: SLABreachStatus;
|
|
67
|
+
}
|
|
68
|
+
export interface AddTicketMessageInput {
|
|
69
|
+
content: string;
|
|
70
|
+
isInternal?: boolean;
|
|
71
|
+
attachments?: File[];
|
|
72
|
+
}
|
|
73
|
+
export type SupportTicketStatus = 'NEW' | 'IN_PROGRESS' | 'WAITING_CUSTOMER' | 'RESOLVED' | 'CLOSED' | 'REOPENED';
|
|
74
|
+
export type SupportTicketPriority = 'CRITICAL' | 'HIGH' | 'NORMAL' | 'LOW';
|
|
75
|
+
export type SLABreachStatus = 'NONE' | 'WARNING_50' | 'WARNING_75' | 'WARNING_90' | 'BREACHED';
|
|
76
|
+
/**
|
|
77
|
+
* Current user information passed from the app shell
|
|
78
|
+
*/
|
|
79
|
+
export interface CurrentUser {
|
|
80
|
+
id: string;
|
|
81
|
+
email: string;
|
|
82
|
+
displayName?: string;
|
|
83
|
+
firstName?: string;
|
|
84
|
+
lastName?: string;
|
|
85
|
+
avatar?: string;
|
|
86
|
+
username?: string;
|
|
87
|
+
name?: string;
|
|
88
|
+
/** User role (e.g., 'admin', 'member', 'viewer') */
|
|
89
|
+
role?: string;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Base props for microfrontend root components
|
|
93
|
+
*/
|
|
94
|
+
export interface MicrofrontendRootProps {
|
|
95
|
+
basePath?: string;
|
|
96
|
+
apiGatewayUrl?: string;
|
|
97
|
+
authToken?: string;
|
|
98
|
+
tenantId?: string;
|
|
99
|
+
workspaceId?: string;
|
|
100
|
+
organizationId?: string;
|
|
101
|
+
productId?: string;
|
|
102
|
+
navigate?: (path: string) => void;
|
|
103
|
+
currentUser?: CurrentUser;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Props for the SupportRoot component
|
|
107
|
+
*/
|
|
108
|
+
export interface SupportRootProps extends MicrofrontendRootProps {
|
|
109
|
+
/**
|
|
110
|
+
* Show support tickets across all products instead of scoping user lists to productId.
|
|
111
|
+
* Intended for hub surfaces such as workspaces-app; admin views keep their own filters.
|
|
112
|
+
*/
|
|
113
|
+
showAllProductTickets?: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Optional callback when a ticket is created
|
|
116
|
+
*/
|
|
117
|
+
onTicketCreated?: (ticket: {
|
|
118
|
+
id: string;
|
|
119
|
+
ticketNumber: string;
|
|
120
|
+
}) => void;
|
|
121
|
+
/**
|
|
122
|
+
* Optional callback when a chat session starts
|
|
123
|
+
*/
|
|
124
|
+
onChatStarted?: (session: {
|
|
125
|
+
id: string;
|
|
126
|
+
}) => void;
|
|
127
|
+
/**
|
|
128
|
+
* Optional callback when an article is viewed
|
|
129
|
+
*/
|
|
130
|
+
onArticleViewed?: (article: {
|
|
131
|
+
id: string;
|
|
132
|
+
slug: string;
|
|
133
|
+
}) => void;
|
|
134
|
+
/**
|
|
135
|
+
* Optional function to register navigation items with the shell
|
|
136
|
+
* Injected by the shell app
|
|
137
|
+
*/
|
|
138
|
+
registerNavItems?: (items: NavItem | NavItem[]) => () => void;
|
|
139
|
+
/**
|
|
140
|
+
* Optional function to register footer items with the shell
|
|
141
|
+
*/
|
|
142
|
+
registerFooterItems?: (items: FooterItem | FooterItem[]) => () => void;
|
|
143
|
+
/**
|
|
144
|
+
* Chat widget configuration
|
|
145
|
+
*/
|
|
146
|
+
chatWidget?: {
|
|
147
|
+
position?: 'bottom-right' | 'bottom-left';
|
|
148
|
+
primaryColor?: string;
|
|
149
|
+
enableProactiveChat?: boolean;
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
export type TicketStatus = 'OPEN' | 'IN_PROGRESS' | 'WAITING_ON_CUSTOMER' | 'WAITING_ON_THIRD_PARTY' | 'RESOLVED' | 'CLOSED';
|
|
153
|
+
export type TicketPriority = 'LOW' | 'MEDIUM' | 'HIGH' | 'CRITICAL';
|
|
154
|
+
export interface SLAMetrics {
|
|
155
|
+
isMet: boolean;
|
|
156
|
+
breachPercentage: number;
|
|
157
|
+
minutesRemaining: number;
|
|
158
|
+
targetMinutes: number;
|
|
159
|
+
elapsedMinutes: number;
|
|
160
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const SUPPORT_ALLOWED_EXTENSIONS: readonly string[];
|
|
2
|
+
/**
|
|
3
|
+
* `accept` value for <input type="file">. Derived from EXT_TO_MIME so it always
|
|
4
|
+
* matches the validator. Includes both MIME types and extension hints so the
|
|
5
|
+
* native picker filters correctly across browsers/OSes.
|
|
6
|
+
*/
|
|
7
|
+
export declare const SUPPORT_ATTACHMENT_ACCEPT: string;
|
|
8
|
+
/** Human-readable allowed-types label for error messages. */
|
|
9
|
+
export declare const SUPPORT_ALLOWED_TYPES_LABEL: string;
|
|
10
|
+
/**
|
|
11
|
+
* Max attachment size, mirroring the backend cap
|
|
12
|
+
* (`global-support-svc` SUPPORT_MAX_FILE_SIZE_BYTES, default 5 GiB; the service
|
|
13
|
+
* throws "Attachment exceeds the maximum support upload size" past this). We
|
|
14
|
+
* reject oversized files here too so the user gets immediate feedback instead
|
|
15
|
+
* of waiting through a long upload only to be rejected server-side.
|
|
16
|
+
*/
|
|
17
|
+
export declare const SUPPORT_MAX_ATTACHMENT_BYTES: number;
|
|
18
|
+
export declare function isAllowedAttachment(file: File): boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Split a selection into allowed/rejected. Drag-drop and "All files" picker
|
|
21
|
+
* overrides bypass the `accept` attribute, so callers must validate here too.
|
|
22
|
+
*/
|
|
23
|
+
export declare function partitionAttachments(files: File[]): {
|
|
24
|
+
accepted: File[];
|
|
25
|
+
rejected: File[];
|
|
26
|
+
};
|
|
27
|
+
export declare function rejectedAttachmentsMessage(rejected: File[]): string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/support/utils/breadcrumbRegistry.ts
|
|
2
|
+
function e() {
|
|
3
|
+
if (!(typeof window > "u")) return window.__breadcrumbRegistry;
|
|
4
|
+
}
|
|
5
|
+
function t(t, n) {
|
|
6
|
+
!t || !n?.trim() || e()?.register(t, n.trim());
|
|
7
|
+
}
|
|
8
|
+
function n(t) {
|
|
9
|
+
t && e()?.unregister(t);
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { t as registerBreadcrumbName, n as unregisterBreadcrumbName };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=breadcrumbRegistry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumbRegistry.js","names":[],"sources":["../../../src/support/utils/breadcrumbRegistry.ts"],"sourcesContent":["type BreadcrumbRegistry = {\n register: (id: string, name: string) => void;\n unregister: (id: string) => void;\n};\n\nfunction getBreadcrumbRegistry(): BreadcrumbRegistry | undefined {\n if (typeof window === 'undefined') return undefined;\n return (window as unknown as { __breadcrumbRegistry?: BreadcrumbRegistry }).__breadcrumbRegistry;\n}\n\nexport function registerBreadcrumbName(id: string | undefined, name: string | undefined | null) {\n if (!id || !name?.trim()) return;\n getBreadcrumbRegistry()?.register(id, name.trim());\n}\n\nexport function unregisterBreadcrumbName(id: string | undefined) {\n if (!id) return;\n getBreadcrumbRegistry()?.unregister(id);\n}\n"],"mappings":";AAKA,SAAS,IAAwD;AAC3D,cAAO,SAAW,KACtB,QAAQ,OAAoE;;AAG9E,SAAgB,EAAuB,GAAwB,GAAiC;AAC1F,EAAC,KAAM,CAAC,GAAM,MAAM,IACxB,GAAuB,EAAE,SAAS,GAAI,EAAK,MAAM,CAAC;;AAGpD,SAAgB,EAAyB,GAAwB;AAC1D,MACL,GAAuB,EAAE,WAAW,EAAG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type CategoryColorOption = {
|
|
2
|
+
value: string;
|
|
3
|
+
label: string;
|
|
4
|
+
swatchClass: string;
|
|
5
|
+
badgeClass: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const CATEGORY_COLOR_OPTIONS: CategoryColorOption[];
|
|
8
|
+
export declare function getCategoryColorOption(color?: string | null): CategoryColorOption;
|
|
9
|
+
export declare function getCategoryBadgeClass(color?: string | null): string;
|
|
10
|
+
export declare function getCategorySwatchClass(color?: string | null): string;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { TicketStatus, TicketPriority, SLAMetrics } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Join a base path with a sub-path, avoiding double slashes.
|
|
4
|
+
* Used by Root components to construct navigation paths from basePath.
|
|
5
|
+
*/
|
|
6
|
+
export declare function joinPath(base: string, path: string): string;
|
|
7
|
+
export declare function isAdminRole(role?: string | null): boolean;
|
|
8
|
+
/** Humanise a ContactInquiry.category slug for display, e.g. "plugin-developer" → "Plugin developer". */
|
|
9
|
+
export declare function humanizeCategory(value?: string | null): string;
|
|
10
|
+
/**
|
|
11
|
+
* Format ticket status for display
|
|
12
|
+
*/
|
|
13
|
+
export declare function formatTicketStatus(status: TicketStatus): string;
|
|
14
|
+
/**
|
|
15
|
+
* Get color for ticket priority
|
|
16
|
+
*/
|
|
17
|
+
export declare function getPriorityColor(priority: TicketPriority): string;
|
|
18
|
+
/**
|
|
19
|
+
* Get icon for ticket priority
|
|
20
|
+
*/
|
|
21
|
+
export declare function getPriorityIcon(priority: import('../types').SupportTicketPriority | TicketPriority): string;
|
|
22
|
+
/**
|
|
23
|
+
* Format file size for display
|
|
24
|
+
*/
|
|
25
|
+
export declare function formatFileSize(bytes: number): string;
|
|
26
|
+
/**
|
|
27
|
+
* Format time ago (e.g., "2 hours ago")
|
|
28
|
+
*/
|
|
29
|
+
export declare function formatTimeAgo(date: string | Date): string;
|
|
30
|
+
/**
|
|
31
|
+
* Format duration in minutes to human-readable string
|
|
32
|
+
*/
|
|
33
|
+
export declare function formatDuration(minutes: number): string;
|
|
34
|
+
/**
|
|
35
|
+
* Calculate SLA breach percentage
|
|
36
|
+
*/
|
|
37
|
+
export declare function calculateSLAStatus(slaMetrics: SLAMetrics | undefined): {
|
|
38
|
+
status: 'safe' | 'warning' | 'danger';
|
|
39
|
+
label: string;
|
|
40
|
+
color: string;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Truncate text with ellipsis
|
|
44
|
+
*/
|
|
45
|
+
export declare function truncateText(text: string, maxLength: number): string;
|
|
46
|
+
/**
|
|
47
|
+
* Extract initials from name
|
|
48
|
+
*/
|
|
49
|
+
export declare function getInitials(name: string): string;
|
|
50
|
+
/**
|
|
51
|
+
* Validate email address
|
|
52
|
+
*/
|
|
53
|
+
export declare function isValidEmail(email: string): boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Generate color from string (for avatars, categories, etc.)
|
|
56
|
+
*/
|
|
57
|
+
export declare function stringToColor(str: string): string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface SupportAttachmentRecord {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
mimeType: string;
|
|
5
|
+
size: string;
|
|
6
|
+
downloadUrl: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function uploadSupportAttachmentFiles(options: {
|
|
9
|
+
ticketId: string;
|
|
10
|
+
files: File[];
|
|
11
|
+
onFileProgress?: (fileName: string, progress: number) => void;
|
|
12
|
+
}): Promise<{
|
|
13
|
+
files: SupportAttachmentRecord[];
|
|
14
|
+
}>;
|
|
15
|
+
export declare function resolveSupportAttachmentFile(fileId: string, ticketId: string): Promise<SupportAttachmentRecord>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type SupportTicket, type SupportTicketFilterInput } from '../../generated/global-types';
|
|
2
|
+
import type { TicketFilters } from '../store/supportStore';
|
|
3
|
+
export declare function buildTicketFilter(ticketFilter: TicketFilters): SupportTicketFilterInput | undefined;
|
|
4
|
+
export declare function scopeTicketFilterToProduct(filter: SupportTicketFilterInput | undefined, productId: string | undefined): SupportTicketFilterInput | undefined;
|
|
5
|
+
export declare function matchesTicketClientFilters(ticket: SupportTicket, ticketFilter: TicketFilters): boolean;
|
|
6
|
+
export declare function matchesTicketSearch(ticket: SupportTicket, query: string): boolean;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { SlaBreachStatus, SupportTicketPriority, SupportTicketStatus } from '../../generated/global-types';
|
|
2
|
+
export declare const ticketStatusBadgeClasses: Record<SupportTicketStatus, string>;
|
|
3
|
+
export declare const ticketPriorityBadgeClasses: Record<SupportTicketPriority, string>;
|
|
4
|
+
export declare const ticketPriorityDotClasses: Record<SupportTicketPriority, string>;
|
|
5
|
+
export declare const slaBreachBadgeClasses: Record<SlaBreachStatus, string>;
|
|
6
|
+
export declare const slaBreachTextClasses: Record<SlaBreachStatus, string>;
|
|
7
|
+
export declare const analyticsSeriesClasses: readonly ["bg-status-info-bg", "bg-accent-purple", "bg-status-warning-bg", "bg-status-success-bg", "bg-status-error-bg", "bg-accent-teal", "bg-accent-indigo", "bg-muted-foreground"];
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { getPlatform, isNative, isIOS, isAndroid, isWeb, nativeImpact, nativeNotify, nativeToast, nativeConfirm, nativeCopyText, nativeShare, nativeOpenUrl, useNativePlatform, useSafeArea, useNativeKeyboard, useAppState, useDeviceInfo, useHaptics, useStatusBar, } from '@burdenoff/fe-libs/shared/native';
|
|
2
|
+
export type { BurdenoffNativePlatform, BurdenoffNativeBridge, SafeAreaInsets, DeviceInfo, HapticImpactStyle, HapticNotificationType, ToastDuration, ConfirmOptions, ShareOptions, AppState, StatusBarTheme, } from '@burdenoff/fe-libs/shared/native';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/microfe-support",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.716.1",
|
|
4
4
|
"description": "Burdenoff Support Microfrontend - Complete customer support and ticketing interface",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"main": "./dist/index.js",
|
|
18
18
|
"scripts": {
|
|
19
19
|
"dev": "vite",
|
|
20
|
-
"build": "tsc && vite build --config vite.config.mjs && tsc
|
|
21
|
-
"build:types": "tsc
|
|
20
|
+
"build": "tsc && vite build --config vite.config.mjs && tsc -p tsconfig.build.json",
|
|
21
|
+
"build:types": "tsc -p tsconfig.build.json",
|
|
22
22
|
"schema:pull": "graphql-codegen --project schema-wspace && graphql-codegen --project schema-global",
|
|
23
23
|
"codegen": "graphql-codegen --project wspace && graphql-codegen --project global",
|
|
24
24
|
"codegen:watch": "graphql-codegen --project default --watch",
|