@frontera-sdk/chat-ui 1.53.15 → 1.53.16
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/chat.js +132 -132
- package/dist/{chunk-JMWT7YJF.js → chunk-47UUMIS3.js} +1 -1
- package/dist/{chunk-UKJZW3SE.js → chunk-D6YKQJ5V.js} +2 -2
- package/dist/{chunk-4B7BE6BH.js → chunk-FVSSLEFN.js} +136 -12
- package/dist/{chunk-X6WR7JYK.js → chunk-N2PBTMEA.js} +1 -1
- package/dist/{chunk-DFZX3QDH.js → chunk-PNU2CDXK.js} +1 -1
- package/dist/{chunk-H4M6ZW55.js → chunk-UUZ3ANIK.js} +2 -2
- package/dist/header.js +3 -3
- package/dist/message.js +3 -3
- package/dist/new-session.js +2 -2
- package/dist/{pdf-deck-view-inner-IQ25XH74.js → pdf-deck-view-inner-3TG3EQ3B.js} +2 -2
- package/dist/{pdf-document-view-inner-4EUWNXSB.js → pdf-document-view-inner-3EGB6RKB.js} +2 -2
- package/package.json +3 -3
package/dist/chat.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { offset, flip, autoUpdate, computePosition } from './chunk-I7SXWUAN.js';
|
|
3
3
|
import { isFullscreenHotkey, DeckNotesCard, deckOwnsArrowKeys } from './chunk-4FRTPVJT.js';
|
|
4
|
-
import { ArtifactSkeleton, resolveStageWidth, zoomPercent, DECK_ZOOM_LEVELS, LazyThumb } from './chunk-
|
|
5
|
-
import { NewSessionPrompt, keepCaretOnTap } from './chunk-
|
|
4
|
+
import { ArtifactSkeleton, resolveStageWidth, zoomPercent, DECK_ZOOM_LEVELS, LazyThumb } from './chunk-N2PBTMEA.js';
|
|
5
|
+
import { NewSessionPrompt, keepCaretOnTap } from './chunk-47UUMIS3.js';
|
|
6
6
|
import { PendingCards } from './chunk-SNLXL6Q5.js';
|
|
7
7
|
import { themeToStyle } from './chunk-6HYPVNVA.js';
|
|
8
8
|
import { useChatAgents } from './chunk-NDU6ERVT.js';
|
|
9
9
|
import { subjectOfChatToken, capabilitiesOfChatToken } from './chunk-CCVPZVFK.js';
|
|
10
10
|
import { useChatCredential } from './chunk-6BCUAPW3.js';
|
|
11
11
|
import './chunk-WDYCLC4F.js';
|
|
12
|
-
import { chatSidePanelSessionKey, Chart1Icon, useTemplatePreviewStore, useHasTemplatePreviewHost, useChatSidePanelStore, ChatHeader, ChatHeaderActions, useRightPane, getChatOverviewAgentStatus, useChatOverviewVisible, useConversationArtifacts, PENDING_CHART_TAB_PREFIX, CHART_TAB_PREFIX, AGENT_WORK_TAB_ID, AGENT_ROUTINES_TAB_ID, SOURCES_TAB_ID, TEMPLATE_TAB_ID, OutputsSection, ChainLink1Icon, ChatOverviewContent, COMPUTER_TAB_PREFIX, SourceRow, motion, MAX_CHAT_SIDE_PANEL_SESSIONS, DEFAULT_CHAT_SIDE_PANEL_SIZE, TableIcon } from './chunk-
|
|
13
|
-
import { dynamic, useChatStreamStore, useComposerStore, Message, Thinking, setPendingFiles, usePersonConfirmations, unshownPendingConfirmations, ConversationConfirmationCard, useLivePreviewUrl, ArrowRotateClockwiseIcon, useComputerFiles, useUploadComputerFile, CanvasWidget, isPlainTextLanguage, useUploadFile, COMPOSER_ID_MAIN, useContextWindowInfo, useIsCompacting, useQueuedMessages, VolumeFullIcon, WarningSignIcon, useComputer, csvTextToWorkbookJson, CSV_PREVIEW_MAX_ROWS, CopyButton, COMPOSER_ID_COPILOT, ModelIcon, modeToBrandRow, useBackDismiss, PdfViewer, brandLabel, Spinner } from './chunk-
|
|
14
|
-
import { Textarea, resolveChatHost, artifactFormatIcon, BookIcon, useAgentRoster, ShieldCheckIcon, useArtifactStore, useCanvasStore, useChatOverviewStore, setSdkConversationPath, setSdkDarkMode, AgentsProvider, PluginProvider, WorkspaceProvider, TooltipProvider, ChatHostProvider, getPersonConfirmation, isToolPart, getToolState, getToolName, getToolInput, sourceKind, extractDomain, CitationViewerContext, MarkdownRenderer, ConnectRunnerContext, usePathname, useChatSurfaceProvider, usePaneFocusStore, useAgentPanelStore, Tooltip, TooltipTrigger, TooltipContent, StudioDisplayIcon, WorldIcon, SlidesWideIcon, ArtifactActionsMenu, DotGrid1x3HorizontalTightIcon, ArrowsShowIcon, useKeyboardInset, ExclamationCircleIcon, getToolOutput, useArtifact, useUpdateArtifact, useArtifactFileObjectUrl, resolveArtifactIconFormat, useSourcesEnrichment, LoaderIcon, FileDownloadIcon, Label, Input, renderPluginBlock, useArtifactVersion, useChatCapabilities, useChatCapabilityEnabled, useChatOptInEnabled, useChatHost, useSessionPendingApprovals, tableToCsv, tableToXlsx, tableToMarkdown, DropdownMenu, DropdownMenuTrigger, StyledDropdownMenuContent, StyledDropdownMenuItem, useArtifactVersions, useClient, unwrapData, authFetch, getBearerHeadersForApi, EyeOpenIcon, EyeSlashIcon, useRestoreArtifactVersion, ZoomableImage, ChatImageLightbox, useDownloadArtifact, useArtifactFileBytes, useArtifactPreviewFileObjectUrl, useArtifactVersionPreviewFileObjectUrl, errorText, SpreadsheetIcon, FilePdfIcon, useOptionalWorkspaceContext, useAgentConnectionStatus, useArtifacts, useSession, useWorkspaceContext, useConversationDesktopStatus, isRequestHumanTool, appsKeys, unwrapDataDeep, useRouter, Images1Icon, ArrowUpIcon, VideoIcon, AudioIcon, useBrand, resolveBearerHeaders, subscribeSdkDarkMode, getSdkDarkMode, unwrap, useConnectRunner, useStartUserConnect, useUpsertGrant, useRevokeGrant, AlertDialog, AlertDialogContent, AlertDialogHeader, AlertDialogTitle, AlertDialogDescription, AlertDialogFooter, AlertDialogCancel, AlertDialogAction, LayoutGrid1Icon, useCatalog, useInstalls, useWorkspaceSlug, buildTenantUrlAbsolute } from './chunk-
|
|
12
|
+
import { chatSidePanelSessionKey, Chart1Icon, useTemplatePreviewStore, useHasTemplatePreviewHost, useChatSidePanelStore, ChatHeader, ChatHeaderActions, useRightPane, getChatOverviewAgentStatus, useChatOverviewVisible, useConversationArtifacts, PENDING_CHART_TAB_PREFIX, CHART_TAB_PREFIX, AGENT_WORK_TAB_ID, AGENT_ROUTINES_TAB_ID, SOURCES_TAB_ID, TEMPLATE_TAB_ID, OutputsSection, ChainLink1Icon, ChatOverviewContent, COMPUTER_TAB_PREFIX, SourceRow, motion, MAX_CHAT_SIDE_PANEL_SESSIONS, DEFAULT_CHAT_SIDE_PANEL_SIZE, TableIcon } from './chunk-D6YKQJ5V.js';
|
|
13
|
+
import { dynamic, useChatStreamStore, useComposerStore, Message, Thinking, setPendingFiles, usePersonConfirmations, unshownPendingConfirmations, ConversationConfirmationCard, useLivePreviewUrl, ArrowRotateClockwiseIcon, useComputerFiles, useUploadComputerFile, CanvasWidget, isPlainTextLanguage, useUploadFile, COMPOSER_ID_MAIN, useContextWindowInfo, useIsCompacting, useQueuedMessages, VolumeFullIcon, WarningSignIcon, useComputer, csvTextToWorkbookJson, CSV_PREVIEW_MAX_ROWS, CopyButton, COMPOSER_ID_COPILOT, ModelIcon, modeToBrandRow, useBackDismiss, PdfViewer, brandLabel, Spinner } from './chunk-UUZ3ANIK.js';
|
|
14
|
+
import { Textarea, resolveChatHost, artifactFormatIcon, BookIcon, useAgentRoster, ShieldCheckIcon, useArtifactStore, useCanvasStore, useChatOverviewStore, setSdkConversationPath, setSdkDarkMode, AgentsProvider, PluginProvider, WorkspaceProvider, TooltipProvider, ChatHostProvider, getPersonConfirmation, isToolPart, getToolState, getToolName, getToolInput, sourceKind, extractDomain, CitationViewerContext, MarkdownRenderer, ConnectRunnerContext, usePathname, useChatSurfaceProvider, usePaneFocusStore, useAgentPanelStore, Tooltip, TooltipTrigger, TooltipContent, StudioDisplayIcon, WorldIcon, SlidesWideIcon, ArtifactActionsMenu, DotGrid1x3HorizontalTightIcon, ArrowsShowIcon, useKeyboardInset, ExclamationCircleIcon, getToolOutput, useArtifact, useUpdateArtifact, useArtifactFileObjectUrl, resolveArtifactIconFormat, useSourcesEnrichment, LoaderIcon, FileDownloadIcon, Label, Input, renderPluginBlock, useArtifactVersion, useChatCapabilities, useChatCapabilityEnabled, useChatOptInEnabled, useChatHost, useSessionPendingApprovals, tableToCsv, tableToXlsx, tableToMarkdown, DropdownMenu, DropdownMenuTrigger, StyledDropdownMenuContent, StyledDropdownMenuItem, useArtifactVersions, useClient, unwrapData, authFetch, getBearerHeadersForApi, EyeOpenIcon, EyeSlashIcon, useRestoreArtifactVersion, ZoomableImage, ChatImageLightbox, useDownloadArtifact, useArtifactFileBytes, useArtifactPreviewFileObjectUrl, useArtifactVersionPreviewFileObjectUrl, errorText, SpreadsheetIcon, FilePdfIcon, useOptionalWorkspaceContext, useAgentConnectionStatus, useArtifacts, useSession, useWorkspaceContext, useConversationDesktopStatus, isRequestHumanTool, appsKeys, unwrapDataDeep, useRouter, Images1Icon, ArrowUpIcon, VideoIcon, AudioIcon, useBrand, resolveBearerHeaders, subscribeSdkDarkMode, getSdkDarkMode, unwrap, useConnectRunner, useStartUserConnect, useUpsertGrant, useRevokeGrant, AlertDialog, AlertDialogContent, AlertDialogHeader, AlertDialogTitle, AlertDialogDescription, AlertDialogFooter, AlertDialogCancel, AlertDialogAction, LayoutGrid1Icon, useCatalog, useInstalls, useWorkspaceSlug, buildTenantUrlAbsolute } from './chunk-PNU2CDXK.js';
|
|
15
15
|
import { ChevronLeftIcon } from './chunk-CWAOLMFS.js';
|
|
16
16
|
import { Popover, PopoverTrigger, PopoverContent, Sheet, SheetContent, SheetHeader, SheetTitle, SheetDescription } from './chunk-RQSMCGBR.js';
|
|
17
|
-
import { MOBILE_BREAKPOINT, useIsMobile, I18nProvider, useTranslation } from './chunk-
|
|
17
|
+
import { MOBILE_BREAKPOINT, useIsMobile, I18nProvider, useTranslation } from './chunk-FVSSLEFN.js';
|
|
18
18
|
import './chunk-G4EXD5F3.js';
|
|
19
19
|
import { AppIcon, frontera_icon_default, PhotoIcon, Folder1Icon, FileTextIcon, describeToolRow, SquareArrowTopRightIcon, ClipboardIcon, getToolMeta, useStreamdownPlugins, AppIconFrame, MessageResponse } from './chunk-OBAC3B64.js';
|
|
20
20
|
import { Skeleton, Button, ScrollArea, ChevronDownMediumIcon, buttonVariants } from './chunk-UWKO24VT.js';
|
|
@@ -42397,7 +42397,7 @@ function SheetEditor({ content, onSave, readOnly = false }) {
|
|
|
42397
42397
|
);
|
|
42398
42398
|
}
|
|
42399
42399
|
var PdfDocumentViewInner = dynamic(
|
|
42400
|
-
() => import('./pdf-document-view-inner-
|
|
42400
|
+
() => import('./pdf-document-view-inner-3EGB6RKB.js'),
|
|
42401
42401
|
{
|
|
42402
42402
|
ssr: false,
|
|
42403
42403
|
loading: () => /* @__PURE__ */ jsx(ArtifactSkeleton, { format: "pdf" })
|
|
@@ -43216,7 +43216,7 @@ function HtmlDeckView({ content, inChat = false, versionSlot }) {
|
|
|
43216
43216
|
!present && inChat && /* @__PURE__ */ jsx(DeckEditPanel, { currentIndex: sel, currentHtml: slides[sel]?.html ?? "" })
|
|
43217
43217
|
] });
|
|
43218
43218
|
}
|
|
43219
|
-
var Inner = dynamic(() => import('./pdf-deck-view-inner-
|
|
43219
|
+
var Inner = dynamic(() => import('./pdf-deck-view-inner-3TG3EQ3B.js'), {
|
|
43220
43220
|
ssr: false,
|
|
43221
43221
|
loading: () => /* @__PURE__ */ jsx(ArtifactSkeleton, { format: "htmldeck" })
|
|
43222
43222
|
});
|
|
@@ -44100,135 +44100,11 @@ function constructFrom(date, value) {
|
|
|
44100
44100
|
return new Date(value);
|
|
44101
44101
|
}
|
|
44102
44102
|
|
|
44103
|
-
// ../../node_modules/date-fns/toDate.js
|
|
44104
|
-
function toDate(argument, context) {
|
|
44105
|
-
return constructFrom(argument, argument);
|
|
44106
|
-
}
|
|
44107
|
-
|
|
44108
|
-
// ../../node_modules/date-fns/_lib/defaultOptions.js
|
|
44109
|
-
var defaultOptions2 = {};
|
|
44110
|
-
function getDefaultOptions() {
|
|
44111
|
-
return defaultOptions2;
|
|
44112
|
-
}
|
|
44113
|
-
|
|
44114
|
-
// ../../node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js
|
|
44115
|
-
function getTimezoneOffsetInMilliseconds(date) {
|
|
44116
|
-
const _date = toDate(date);
|
|
44117
|
-
const utcDate = new Date(
|
|
44118
|
-
Date.UTC(
|
|
44119
|
-
_date.getFullYear(),
|
|
44120
|
-
_date.getMonth(),
|
|
44121
|
-
_date.getDate(),
|
|
44122
|
-
_date.getHours(),
|
|
44123
|
-
_date.getMinutes(),
|
|
44124
|
-
_date.getSeconds(),
|
|
44125
|
-
_date.getMilliseconds()
|
|
44126
|
-
)
|
|
44127
|
-
);
|
|
44128
|
-
utcDate.setUTCFullYear(_date.getFullYear());
|
|
44129
|
-
return +date - +utcDate;
|
|
44130
|
-
}
|
|
44131
|
-
|
|
44132
|
-
// ../../node_modules/date-fns/_lib/normalizeDates.js
|
|
44133
|
-
function normalizeDates(context, ...dates) {
|
|
44134
|
-
const normalize4 = constructFrom.bind(
|
|
44135
|
-
null,
|
|
44136
|
-
context || dates.find((date) => typeof date === "object")
|
|
44137
|
-
);
|
|
44138
|
-
return dates.map(normalize4);
|
|
44139
|
-
}
|
|
44140
|
-
|
|
44141
|
-
// ../../node_modules/date-fns/compareAsc.js
|
|
44142
|
-
function compareAsc(dateLeft, dateRight) {
|
|
44143
|
-
const diff = +toDate(dateLeft) - +toDate(dateRight);
|
|
44144
|
-
if (diff < 0) return -1;
|
|
44145
|
-
else if (diff > 0) return 1;
|
|
44146
|
-
return diff;
|
|
44147
|
-
}
|
|
44148
|
-
|
|
44149
44103
|
// ../../node_modules/date-fns/constructNow.js
|
|
44150
44104
|
function constructNow(date) {
|
|
44151
44105
|
return constructFrom(date, Date.now());
|
|
44152
44106
|
}
|
|
44153
44107
|
|
|
44154
|
-
// ../../node_modules/date-fns/differenceInCalendarMonths.js
|
|
44155
|
-
function differenceInCalendarMonths(laterDate, earlierDate, options) {
|
|
44156
|
-
const [laterDate_, earlierDate_] = normalizeDates(
|
|
44157
|
-
options?.in,
|
|
44158
|
-
laterDate,
|
|
44159
|
-
earlierDate
|
|
44160
|
-
);
|
|
44161
|
-
const yearsDiff = laterDate_.getFullYear() - earlierDate_.getFullYear();
|
|
44162
|
-
const monthsDiff = laterDate_.getMonth() - earlierDate_.getMonth();
|
|
44163
|
-
return yearsDiff * 12 + monthsDiff;
|
|
44164
|
-
}
|
|
44165
|
-
|
|
44166
|
-
// ../../node_modules/date-fns/_lib/getRoundingMethod.js
|
|
44167
|
-
function getRoundingMethod(method) {
|
|
44168
|
-
return (number) => {
|
|
44169
|
-
const round = Math.trunc;
|
|
44170
|
-
const result = round(number);
|
|
44171
|
-
return result === 0 ? 0 : result;
|
|
44172
|
-
};
|
|
44173
|
-
}
|
|
44174
|
-
|
|
44175
|
-
// ../../node_modules/date-fns/differenceInMilliseconds.js
|
|
44176
|
-
function differenceInMilliseconds(laterDate, earlierDate) {
|
|
44177
|
-
return +toDate(laterDate) - +toDate(earlierDate);
|
|
44178
|
-
}
|
|
44179
|
-
|
|
44180
|
-
// ../../node_modules/date-fns/endOfDay.js
|
|
44181
|
-
function endOfDay(date, options) {
|
|
44182
|
-
const _date = toDate(date);
|
|
44183
|
-
_date.setHours(23, 59, 59, 999);
|
|
44184
|
-
return _date;
|
|
44185
|
-
}
|
|
44186
|
-
|
|
44187
|
-
// ../../node_modules/date-fns/endOfMonth.js
|
|
44188
|
-
function endOfMonth(date, options) {
|
|
44189
|
-
const _date = toDate(date);
|
|
44190
|
-
const month = _date.getMonth();
|
|
44191
|
-
_date.setFullYear(_date.getFullYear(), month + 1, 0);
|
|
44192
|
-
_date.setHours(23, 59, 59, 999);
|
|
44193
|
-
return _date;
|
|
44194
|
-
}
|
|
44195
|
-
|
|
44196
|
-
// ../../node_modules/date-fns/isLastDayOfMonth.js
|
|
44197
|
-
function isLastDayOfMonth(date, options) {
|
|
44198
|
-
const _date = toDate(date);
|
|
44199
|
-
return +endOfDay(_date) === +endOfMonth(_date);
|
|
44200
|
-
}
|
|
44201
|
-
|
|
44202
|
-
// ../../node_modules/date-fns/differenceInMonths.js
|
|
44203
|
-
function differenceInMonths(laterDate, earlierDate, options) {
|
|
44204
|
-
const [laterDate_, workingLaterDate, earlierDate_] = normalizeDates(
|
|
44205
|
-
options?.in,
|
|
44206
|
-
laterDate,
|
|
44207
|
-
laterDate,
|
|
44208
|
-
earlierDate
|
|
44209
|
-
);
|
|
44210
|
-
const sign = compareAsc(workingLaterDate, earlierDate_);
|
|
44211
|
-
const difference = Math.abs(
|
|
44212
|
-
differenceInCalendarMonths(workingLaterDate, earlierDate_)
|
|
44213
|
-
);
|
|
44214
|
-
if (difference < 1) return 0;
|
|
44215
|
-
if (workingLaterDate.getMonth() === 1 && workingLaterDate.getDate() > 27)
|
|
44216
|
-
workingLaterDate.setDate(30);
|
|
44217
|
-
workingLaterDate.setMonth(workingLaterDate.getMonth() - sign * difference);
|
|
44218
|
-
let isLastMonthNotFull = compareAsc(workingLaterDate, earlierDate_) === -sign;
|
|
44219
|
-
if (isLastDayOfMonth(laterDate_) && difference === 1 && compareAsc(laterDate_, earlierDate_) === 1) {
|
|
44220
|
-
isLastMonthNotFull = false;
|
|
44221
|
-
}
|
|
44222
|
-
const result = sign * (difference - +isLastMonthNotFull);
|
|
44223
|
-
return result === 0 ? 0 : result;
|
|
44224
|
-
}
|
|
44225
|
-
|
|
44226
|
-
// ../../node_modules/date-fns/differenceInSeconds.js
|
|
44227
|
-
function differenceInSeconds(laterDate, earlierDate, options) {
|
|
44228
|
-
const diff = differenceInMilliseconds(laterDate, earlierDate) / 1e3;
|
|
44229
|
-
return getRoundingMethod()(diff);
|
|
44230
|
-
}
|
|
44231
|
-
|
|
44232
44108
|
// ../../node_modules/date-fns/locale/en-US/_lib/formatDistance.js
|
|
44233
44109
|
var formatDistanceLocale = {
|
|
44234
44110
|
lessThanXSeconds: {
|
|
@@ -44738,6 +44614,130 @@ var enUS = {
|
|
|
44738
44614
|
}
|
|
44739
44615
|
};
|
|
44740
44616
|
|
|
44617
|
+
// ../../node_modules/date-fns/_lib/defaultOptions.js
|
|
44618
|
+
var defaultOptions2 = {};
|
|
44619
|
+
function getDefaultOptions() {
|
|
44620
|
+
return defaultOptions2;
|
|
44621
|
+
}
|
|
44622
|
+
|
|
44623
|
+
// ../../node_modules/date-fns/toDate.js
|
|
44624
|
+
function toDate(argument, context) {
|
|
44625
|
+
return constructFrom(argument, argument);
|
|
44626
|
+
}
|
|
44627
|
+
|
|
44628
|
+
// ../../node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js
|
|
44629
|
+
function getTimezoneOffsetInMilliseconds(date) {
|
|
44630
|
+
const _date = toDate(date);
|
|
44631
|
+
const utcDate = new Date(
|
|
44632
|
+
Date.UTC(
|
|
44633
|
+
_date.getFullYear(),
|
|
44634
|
+
_date.getMonth(),
|
|
44635
|
+
_date.getDate(),
|
|
44636
|
+
_date.getHours(),
|
|
44637
|
+
_date.getMinutes(),
|
|
44638
|
+
_date.getSeconds(),
|
|
44639
|
+
_date.getMilliseconds()
|
|
44640
|
+
)
|
|
44641
|
+
);
|
|
44642
|
+
utcDate.setUTCFullYear(_date.getFullYear());
|
|
44643
|
+
return +date - +utcDate;
|
|
44644
|
+
}
|
|
44645
|
+
|
|
44646
|
+
// ../../node_modules/date-fns/_lib/normalizeDates.js
|
|
44647
|
+
function normalizeDates(context, ...dates) {
|
|
44648
|
+
const normalize4 = constructFrom.bind(
|
|
44649
|
+
null,
|
|
44650
|
+
context || dates.find((date) => typeof date === "object")
|
|
44651
|
+
);
|
|
44652
|
+
return dates.map(normalize4);
|
|
44653
|
+
}
|
|
44654
|
+
|
|
44655
|
+
// ../../node_modules/date-fns/compareAsc.js
|
|
44656
|
+
function compareAsc(dateLeft, dateRight) {
|
|
44657
|
+
const diff = +toDate(dateLeft) - +toDate(dateRight);
|
|
44658
|
+
if (diff < 0) return -1;
|
|
44659
|
+
else if (diff > 0) return 1;
|
|
44660
|
+
return diff;
|
|
44661
|
+
}
|
|
44662
|
+
|
|
44663
|
+
// ../../node_modules/date-fns/differenceInCalendarMonths.js
|
|
44664
|
+
function differenceInCalendarMonths(laterDate, earlierDate, options) {
|
|
44665
|
+
const [laterDate_, earlierDate_] = normalizeDates(
|
|
44666
|
+
options?.in,
|
|
44667
|
+
laterDate,
|
|
44668
|
+
earlierDate
|
|
44669
|
+
);
|
|
44670
|
+
const yearsDiff = laterDate_.getFullYear() - earlierDate_.getFullYear();
|
|
44671
|
+
const monthsDiff = laterDate_.getMonth() - earlierDate_.getMonth();
|
|
44672
|
+
return yearsDiff * 12 + monthsDiff;
|
|
44673
|
+
}
|
|
44674
|
+
|
|
44675
|
+
// ../../node_modules/date-fns/endOfDay.js
|
|
44676
|
+
function endOfDay(date, options) {
|
|
44677
|
+
const _date = toDate(date);
|
|
44678
|
+
_date.setHours(23, 59, 59, 999);
|
|
44679
|
+
return _date;
|
|
44680
|
+
}
|
|
44681
|
+
|
|
44682
|
+
// ../../node_modules/date-fns/endOfMonth.js
|
|
44683
|
+
function endOfMonth(date, options) {
|
|
44684
|
+
const _date = toDate(date);
|
|
44685
|
+
const month = _date.getMonth();
|
|
44686
|
+
_date.setFullYear(_date.getFullYear(), month + 1, 0);
|
|
44687
|
+
_date.setHours(23, 59, 59, 999);
|
|
44688
|
+
return _date;
|
|
44689
|
+
}
|
|
44690
|
+
|
|
44691
|
+
// ../../node_modules/date-fns/isLastDayOfMonth.js
|
|
44692
|
+
function isLastDayOfMonth(date, options) {
|
|
44693
|
+
const _date = toDate(date);
|
|
44694
|
+
return +endOfDay(_date) === +endOfMonth(_date);
|
|
44695
|
+
}
|
|
44696
|
+
|
|
44697
|
+
// ../../node_modules/date-fns/differenceInMonths.js
|
|
44698
|
+
function differenceInMonths(laterDate, earlierDate, options) {
|
|
44699
|
+
const [laterDate_, workingLaterDate, earlierDate_] = normalizeDates(
|
|
44700
|
+
options?.in,
|
|
44701
|
+
laterDate,
|
|
44702
|
+
laterDate,
|
|
44703
|
+
earlierDate
|
|
44704
|
+
);
|
|
44705
|
+
const sign = compareAsc(workingLaterDate, earlierDate_);
|
|
44706
|
+
const difference = Math.abs(
|
|
44707
|
+
differenceInCalendarMonths(workingLaterDate, earlierDate_)
|
|
44708
|
+
);
|
|
44709
|
+
if (difference < 1) return 0;
|
|
44710
|
+
if (workingLaterDate.getMonth() === 1 && workingLaterDate.getDate() > 27)
|
|
44711
|
+
workingLaterDate.setDate(30);
|
|
44712
|
+
workingLaterDate.setMonth(workingLaterDate.getMonth() - sign * difference);
|
|
44713
|
+
let isLastMonthNotFull = compareAsc(workingLaterDate, earlierDate_) === -sign;
|
|
44714
|
+
if (isLastDayOfMonth(laterDate_) && difference === 1 && compareAsc(laterDate_, earlierDate_) === 1) {
|
|
44715
|
+
isLastMonthNotFull = false;
|
|
44716
|
+
}
|
|
44717
|
+
const result = sign * (difference - +isLastMonthNotFull);
|
|
44718
|
+
return result === 0 ? 0 : result;
|
|
44719
|
+
}
|
|
44720
|
+
|
|
44721
|
+
// ../../node_modules/date-fns/_lib/getRoundingMethod.js
|
|
44722
|
+
function getRoundingMethod(method) {
|
|
44723
|
+
return (number) => {
|
|
44724
|
+
const round = Math.trunc;
|
|
44725
|
+
const result = round(number);
|
|
44726
|
+
return result === 0 ? 0 : result;
|
|
44727
|
+
};
|
|
44728
|
+
}
|
|
44729
|
+
|
|
44730
|
+
// ../../node_modules/date-fns/differenceInMilliseconds.js
|
|
44731
|
+
function differenceInMilliseconds(laterDate, earlierDate) {
|
|
44732
|
+
return +toDate(laterDate) - +toDate(earlierDate);
|
|
44733
|
+
}
|
|
44734
|
+
|
|
44735
|
+
// ../../node_modules/date-fns/differenceInSeconds.js
|
|
44736
|
+
function differenceInSeconds(laterDate, earlierDate, options) {
|
|
44737
|
+
const diff = differenceInMilliseconds(laterDate, earlierDate) / 1e3;
|
|
44738
|
+
return getRoundingMethod()(diff);
|
|
44739
|
+
}
|
|
44740
|
+
|
|
44741
44741
|
// ../../node_modules/date-fns/formatDistance.js
|
|
44742
44742
|
function formatDistance2(laterDate, earlierDate, options) {
|
|
44743
44743
|
const defaultOptions3 = getDefaultOptions();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { Sheet, SheetContent, SheetHeader, SheetTitle, Popover, PopoverTrigger, PopoverContent, MagnifyingGlassIcon } from './chunk-RQSMCGBR.js';
|
|
3
|
-
import { useIsMobile, useTranslation } from './chunk-
|
|
3
|
+
import { useIsMobile, useTranslation } from './chunk-FVSSLEFN.js';
|
|
4
4
|
import { CrossMediumIcon } from './chunk-37WYG6VG.js';
|
|
5
5
|
import { AgentAvatar } from './chunk-RCWVJD7G.js';
|
|
6
6
|
import { cn, Checkmark1Icon } from './chunk-LGVMMBL3.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { requestPaneFocus, useArtifacts, usePlugins, useCanvasStore, useArtifactStore, useChatOverviewStore, useSourcesEnrichment, sourceKind, useCitationViewer, resolveSourceDisplay, extractDomain, useCitedDocument, canvasId, StudioDisplayIcon, LayoutDashboardIcon, useAgentPanelStore, SourceFavicon, dedup, useArtifactFileObjectUrl, resolveArtifactIconFormat, artifactFormatIcon, avatarMotionForStream, AGENT_AVATAR_SIZE, getFileCategory, FileThumbnail, formatFileSize, usePathname, artifactFormatSubtitle, artifactCategory, Input, MobileScreenSheet, TooltipTrigger, Tooltip, useChatCapabilities, TooltipContent, processMessageParts, GridSpinner, PanelEdgeRing, ArtifactActionsMenu, DotGrid1x3HorizontalTightIcon, extractCitationsFromSteps, resolvePluginLanguage, getMessageDisplayTimestampValue } from './chunk-
|
|
2
|
+
import { requestPaneFocus, useArtifacts, usePlugins, useCanvasStore, useArtifactStore, useChatOverviewStore, useSourcesEnrichment, sourceKind, useCitationViewer, resolveSourceDisplay, extractDomain, useCitedDocument, canvasId, StudioDisplayIcon, LayoutDashboardIcon, useAgentPanelStore, SourceFavicon, dedup, useArtifactFileObjectUrl, resolveArtifactIconFormat, artifactFormatIcon, avatarMotionForStream, AGENT_AVATAR_SIZE, getFileCategory, FileThumbnail, formatFileSize, usePathname, artifactFormatSubtitle, artifactCategory, Input, MobileScreenSheet, TooltipTrigger, Tooltip, useChatCapabilities, TooltipContent, processMessageParts, GridSpinner, PanelEdgeRing, ArtifactActionsMenu, DotGrid1x3HorizontalTightIcon, extractCitationsFromSteps, resolvePluginLanguage, getMessageDisplayTimestampValue } from './chunk-PNU2CDXK.js';
|
|
3
3
|
import { MagnifyingGlassIcon, Popover, PopoverTrigger, PopoverContent, Sheet, SheetContent, SheetHeader, SheetTitle } from './chunk-RQSMCGBR.js';
|
|
4
|
-
import { useTranslation, useIsMobile } from './chunk-
|
|
4
|
+
import { useTranslation, useIsMobile } from './chunk-FVSSLEFN.js';
|
|
5
5
|
import { Collapsible, CollapsibleTrigger, CollapsibleContent, Shimmer, HoverCard, HoverCardTrigger, HoverCardContent } from './chunk-OBAC3B64.js';
|
|
6
6
|
import { ChevronDownMediumIcon, ScrollArea, Skeleton, Button } from './chunk-UWKO24VT.js';
|
|
7
7
|
import { Dialog, DialogContent, DialogHeader, DialogTitle, CrossMediumIcon } from './chunk-37WYG6VG.js';
|
|
@@ -1374,6 +1374,15 @@ var en_default = {
|
|
|
1374
1374
|
"admin.knowledge.assistant.keepTextOff": "Questions and answers are no longer kept in traces.",
|
|
1375
1375
|
"admin.knowledge.traces.intro": "Every answer members got on the search page and every try in the Assistant tab, newest first. Open one to see what it searched, what it read and what the model was told. A file shows only if you can open it.",
|
|
1376
1376
|
"admin.knowledge.traces.loadFailed": "The traces could not be loaded.",
|
|
1377
|
+
"admin.knowledge.traces.times.title": "Search answers",
|
|
1378
|
+
"admin.knowledge.traces.times.answers": "Answers",
|
|
1379
|
+
"admin.knowledge.traces.times.rates": "{answered} answered \xB7 {notFound} not found",
|
|
1380
|
+
"admin.knowledge.traces.times.noAnswers": "No answers in this period",
|
|
1381
|
+
"admin.knowledge.traces.times.firstWord": "Time to first word, typical",
|
|
1382
|
+
"admin.knowledge.traces.times.full": "Time to full answer, typical",
|
|
1383
|
+
"admin.knowledge.traces.times.ninety": "9 in 10 within {time}",
|
|
1384
|
+
"admin.knowledge.traces.times.noTimes": "No times in this period",
|
|
1385
|
+
"admin.knowledge.traces.times.loadFailed": "Answer times could not be loaded.",
|
|
1377
1386
|
"admin.knowledge.traces.emptyTitle": "No traces yet",
|
|
1378
1387
|
"admin.knowledge.traces.emptyBody": "Answers on the search page and tries in the Assistant tab appear here.",
|
|
1379
1388
|
"admin.knowledge.traces.filter.all": "All",
|
|
@@ -1628,7 +1637,7 @@ var en_default = {
|
|
|
1628
1637
|
"admin.knowledge.activity.step.scan": "Check for malware",
|
|
1629
1638
|
"admin.knowledge.activity.step.readText": "Read the text",
|
|
1630
1639
|
"admin.knowledge.activity.step.readPages": "Read pages with the reading model",
|
|
1631
|
-
"admin.knowledge.activity.step.findTitle": "Find the title",
|
|
1640
|
+
"admin.knowledge.activity.step.findTitle": "Find the title and date",
|
|
1632
1641
|
"admin.knowledge.activity.step.splitPassages": "Split into passages",
|
|
1633
1642
|
"admin.knowledge.activity.step.embedPassages": "Embed the passages",
|
|
1634
1643
|
"admin.knowledge.activity.step.savePassages": "Save the passages",
|
|
@@ -2501,6 +2510,7 @@ var en_default = {
|
|
|
2501
2510
|
"knowledgeApp.answer.loading": "Reading your results\u2026",
|
|
2502
2511
|
"knowledgeApp.answer.sources": "Sources",
|
|
2503
2512
|
"knowledgeApp.answer.page": "p. {page}",
|
|
2513
|
+
"knowledgeApp.answer.updated": "Updated {date}",
|
|
2504
2514
|
"knowledgeApp.answer.helpful": "Helpful",
|
|
2505
2515
|
"knowledgeApp.answer.notHelpful": "Not helpful",
|
|
2506
2516
|
"knowledgeApp.answer.thanks": "Thanks for the feedback.",
|
|
@@ -5547,6 +5557,62 @@ var en_default = {
|
|
|
5547
5557
|
"omnichannel.settings.fields.optionCount": "Add between 1 and 30 choices.",
|
|
5548
5558
|
"omnichannel.settings.fields.gone": "This field was deleted meanwhile.",
|
|
5549
5559
|
"omnichannel.nav.reports": "Reports",
|
|
5560
|
+
"omnichannel.nav.overview": "Overview",
|
|
5561
|
+
"omnichannel.overview.title": "Overview",
|
|
5562
|
+
"omnichannel.overview.intro": "How your team is doing right now: who is waiting for a person and for how long, where the chats are, and who is Online. It updates every 30 seconds and as chats change.",
|
|
5563
|
+
"omnichannel.overview.updated": "Updated {time}",
|
|
5564
|
+
"omnichannel.overview.channelsOne": "1 channel",
|
|
5565
|
+
"omnichannel.overview.channelsOther": "{count} channels",
|
|
5566
|
+
"omnichannel.overview.refresh": "Refresh",
|
|
5567
|
+
"omnichannel.overview.notRead": "Couldn't read this. It will try again shortly.",
|
|
5568
|
+
"omnichannel.overview.underMinute": "under a minute",
|
|
5569
|
+
"omnichannel.overview.section.now": "Right now",
|
|
5570
|
+
"omnichannel.overview.section.today": "Today so far ({timezone})",
|
|
5571
|
+
"omnichannel.overview.section.todayNoZone": "Today so far",
|
|
5572
|
+
"omnichannel.overview.live.chats": "Chats now",
|
|
5573
|
+
"omnichannel.overview.live.chatsCaption": "With the Agent or with your team",
|
|
5574
|
+
"omnichannel.overview.live.waiting": "Waiting for a person",
|
|
5575
|
+
"omnichannel.overview.live.longestWait": "Longest wait {time}",
|
|
5576
|
+
"omnichannel.overview.live.nobodyWaiting": "Nobody is waiting",
|
|
5577
|
+
"omnichannel.overview.live.firstReplies": "First replies to watch",
|
|
5578
|
+
"omnichannel.overview.live.firstRepliesCaption": "{soon} due soon \xB7 {overdue} overdue",
|
|
5579
|
+
"omnichannel.overview.live.online": "Online now",
|
|
5580
|
+
"omnichannel.overview.live.onlineCaption": "{away} Away",
|
|
5581
|
+
"omnichannel.overview.workload.title": "Conversation workload",
|
|
5582
|
+
"omnichannel.overview.workload.goToInbox": "Go to Inbox",
|
|
5583
|
+
"omnichannel.overview.workload.withAgent": "With the Agent",
|
|
5584
|
+
"omnichannel.overview.workload.withAgentCaption": "Customers who wrote in the last 24 hours",
|
|
5585
|
+
"omnichannel.overview.workload.waiting": "Waiting for a person",
|
|
5586
|
+
"omnichannel.overview.workload.waitingCaption": "Handed over, nobody has taken it yet",
|
|
5587
|
+
"omnichannel.overview.workload.withPeople": "With your team",
|
|
5588
|
+
"omnichannel.overview.workload.withPeopleCaption": "A person is answering",
|
|
5589
|
+
"omnichannel.overview.workload.resolved": "Resolved",
|
|
5590
|
+
"omnichannel.overview.workload.resolvedCaption": "By your team in the last 24 hours",
|
|
5591
|
+
"omnichannel.overview.workload.onTime": "{share}% of waiting chats are not overdue",
|
|
5592
|
+
"omnichannel.overview.workload.nobodyWaiting": "Nobody is waiting for a person",
|
|
5593
|
+
"omnichannel.overview.workload.attention": "{count} need attention",
|
|
5594
|
+
"omnichannel.overview.workload.onTimeLabel": "Waiting chats that are not overdue",
|
|
5595
|
+
"omnichannel.overview.team.title": "Team workload",
|
|
5596
|
+
"omnichannel.overview.team.filterLabel": "Show people",
|
|
5597
|
+
"omnichannel.overview.team.filter.all": "All statuses",
|
|
5598
|
+
"omnichannel.overview.team.filter.online": "Online",
|
|
5599
|
+
"omnichannel.overview.team.filter.away": "Away",
|
|
5600
|
+
"omnichannel.overview.team.empty": "Nobody to show",
|
|
5601
|
+
"omnichannel.overview.waiting.title": "Waiting now",
|
|
5602
|
+
"omnichannel.overview.waiting.showing": "{shown} of {total} shown",
|
|
5603
|
+
"omnichannel.overview.waiting.noTeam": "No team",
|
|
5604
|
+
"omnichannel.overview.waiting.empty": "Nobody is waiting for a person.",
|
|
5605
|
+
"omnichannel.overview.waiting.waited": "Waiting {time}",
|
|
5606
|
+
"omnichannel.overview.today.resolveRate": "Resolve rate",
|
|
5607
|
+
"omnichannel.overview.today.resolveRateCaption": "Of today's {handovers} handovers",
|
|
5608
|
+
"omnichannel.overview.today.resolveRateCaptionOne": "Of today's 1 handover",
|
|
5609
|
+
"omnichannel.overview.today.firstReply": "First reply wait",
|
|
5610
|
+
"omnichannel.overview.today.firstReplyCaption": "Half got a person's first reply within this time",
|
|
5611
|
+
"omnichannel.overview.today.sla": "SLA attainment",
|
|
5612
|
+
"omnichannel.overview.today.slaCaption": "First replies within the target",
|
|
5613
|
+
"omnichannel.overview.today.csat": "Average rating",
|
|
5614
|
+
"omnichannel.overview.today.csatCaption": "CSAT {score} from {count} ratings",
|
|
5615
|
+
"omnichannel.overview.today.csatNone": "No ratings yet today",
|
|
5550
5616
|
"omnichannel.reports.title": "Reports",
|
|
5551
5617
|
"omnichannel.reports.intro": "How your team served customers in the period. Days are counted in {timezone}, the time zone of your service hours.",
|
|
5552
5618
|
"omnichannel.reports.introNoZone": "How your team served customers in the period.",
|
|
@@ -5675,11 +5741,6 @@ var en_default = {
|
|
|
5675
5741
|
"omnichannel.channels.firstReply.save": "Save",
|
|
5676
5742
|
"omnichannel.channels.firstReply.hint": "Minutes of service hours a person has to send the first reply after a chat is handed over. Leave empty for no target.",
|
|
5677
5743
|
"omnichannel.channels.firstReply.invalid": "Enter a whole number of minutes from 1 to 1440, or leave it empty.",
|
|
5678
|
-
"omnichannel.members.now.label": "The team now",
|
|
5679
|
-
"omnichannel.members.now.waiting": "Waiting",
|
|
5680
|
-
"omnichannel.members.now.oldestWait": "Longest wait",
|
|
5681
|
-
"omnichannel.members.now.atRisk": "Due soon",
|
|
5682
|
-
"omnichannel.members.now.overdue": "Overdue",
|
|
5683
5744
|
"omnichannel.members.now.online": "Online",
|
|
5684
5745
|
"omnichannel.inbox.connect.title": "Add a channel",
|
|
5685
5746
|
"omnichannel.inbox.connect.body": "Chats arrive here once a channel is connected.",
|
|
@@ -6040,6 +6101,7 @@ var en_default = {
|
|
|
6040
6101
|
"omnichannel.offerAlerts.title": "A chat is offered to you",
|
|
6041
6102
|
"omnichannel.offerAlerts.bodyTeam": "{customer} \xB7 {team} team",
|
|
6042
6103
|
"omnichannel.escalation.title": "{person} escalated a chat to you",
|
|
6104
|
+
"omnichannel.escalation.fromTeam": "{name} ({team})",
|
|
6043
6105
|
"omnichannel.escalation.open": "Open chat",
|
|
6044
6106
|
"omnichannel.presence.online": "Online",
|
|
6045
6107
|
"omnichannel.presence.away": "Away",
|
|
@@ -8901,6 +8963,15 @@ var id_default = {
|
|
|
8901
8963
|
"admin.knowledge.assistant.keepTextOff": "Pertanyaan dan jawaban tidak lagi disimpan di jejak.",
|
|
8902
8964
|
"admin.knowledge.traces.intro": "Setiap jawaban yang didapat anggota di halaman pencarian dan setiap percobaan di tab Asisten, terbaru di atas. Buka salah satunya untuk melihat apa yang dicari, apa yang dibaca, dan apa yang diberikan ke model. File hanya tampil bila Anda dapat membukanya.",
|
|
8903
8965
|
"admin.knowledge.traces.loadFailed": "Jejak tidak dapat dimuat.",
|
|
8966
|
+
"admin.knowledge.traces.times.title": "Jawaban pencarian",
|
|
8967
|
+
"admin.knowledge.traces.times.answers": "Jawaban",
|
|
8968
|
+
"admin.knowledge.traces.times.rates": "{answered} dijawab \xB7 {notFound} tidak ditemukan",
|
|
8969
|
+
"admin.knowledge.traces.times.noAnswers": "Tidak ada jawaban pada periode ini",
|
|
8970
|
+
"admin.knowledge.traces.times.firstWord": "Waktu ke kata pertama, umumnya",
|
|
8971
|
+
"admin.knowledge.traces.times.full": "Waktu ke jawaban lengkap, umumnya",
|
|
8972
|
+
"admin.knowledge.traces.times.ninety": "9 dari 10 dalam {time}",
|
|
8973
|
+
"admin.knowledge.traces.times.noTimes": "Tidak ada waktu pada periode ini",
|
|
8974
|
+
"admin.knowledge.traces.times.loadFailed": "Waktu jawaban tidak dapat dimuat.",
|
|
8904
8975
|
"admin.knowledge.traces.emptyTitle": "Belum ada jejak",
|
|
8905
8976
|
"admin.knowledge.traces.emptyBody": "Jawaban di halaman pencarian dan percobaan di tab Asisten muncul di sini.",
|
|
8906
8977
|
"admin.knowledge.traces.filter.all": "Semua",
|
|
@@ -9155,7 +9226,7 @@ var id_default = {
|
|
|
9155
9226
|
"admin.knowledge.activity.step.scan": "Periksa malware",
|
|
9156
9227
|
"admin.knowledge.activity.step.readText": "Baca teks",
|
|
9157
9228
|
"admin.knowledge.activity.step.readPages": "Baca halaman dengan model pembaca",
|
|
9158
|
-
"admin.knowledge.activity.step.findTitle": "Temukan judul",
|
|
9229
|
+
"admin.knowledge.activity.step.findTitle": "Temukan judul dan tanggal",
|
|
9159
9230
|
"admin.knowledge.activity.step.splitPassages": "Pecah menjadi bagian",
|
|
9160
9231
|
"admin.knowledge.activity.step.embedPassages": "Buat embedding bagian",
|
|
9161
9232
|
"admin.knowledge.activity.step.savePassages": "Simpan bagian",
|
|
@@ -10028,6 +10099,7 @@ var id_default = {
|
|
|
10028
10099
|
"knowledgeApp.answer.loading": "Membaca hasil Anda\u2026",
|
|
10029
10100
|
"knowledgeApp.answer.sources": "Sumber",
|
|
10030
10101
|
"knowledgeApp.answer.page": "hlm. {page}",
|
|
10102
|
+
"knowledgeApp.answer.updated": "Diperbarui {date}",
|
|
10031
10103
|
"knowledgeApp.answer.helpful": "Membantu",
|
|
10032
10104
|
"knowledgeApp.answer.notHelpful": "Tidak membantu",
|
|
10033
10105
|
"knowledgeApp.answer.thanks": "Terima kasih atas masukannya.",
|
|
@@ -13055,6 +13127,62 @@ var id_default = {
|
|
|
13055
13127
|
"omnichannel.settings.fields.optionCount": "Tambahkan 1 sampai 30 pilihan.",
|
|
13056
13128
|
"omnichannel.settings.fields.gone": "Data ini sudah dihapus sementara itu.",
|
|
13057
13129
|
"omnichannel.nav.reports": "Laporan",
|
|
13130
|
+
"omnichannel.nav.overview": "Ringkasan",
|
|
13131
|
+
"omnichannel.overview.title": "Ringkasan",
|
|
13132
|
+
"omnichannel.overview.intro": "Kondisi tim Anda saat ini: siapa yang menunggu orang dan berapa lama, posisi chat, dan siapa yang Online. Diperbarui setiap 30 detik dan saat chat berubah.",
|
|
13133
|
+
"omnichannel.overview.updated": "Diperbarui {time}",
|
|
13134
|
+
"omnichannel.overview.channelsOne": "1 kanal",
|
|
13135
|
+
"omnichannel.overview.channelsOther": "{count} kanal",
|
|
13136
|
+
"omnichannel.overview.refresh": "Muat ulang",
|
|
13137
|
+
"omnichannel.overview.notRead": "Tidak dapat dibaca. Akan dicoba lagi sebentar lagi.",
|
|
13138
|
+
"omnichannel.overview.underMinute": "kurang dari semenit",
|
|
13139
|
+
"omnichannel.overview.section.now": "Saat ini",
|
|
13140
|
+
"omnichannel.overview.section.today": "Hari ini sejauh ini ({timezone})",
|
|
13141
|
+
"omnichannel.overview.section.todayNoZone": "Hari ini sejauh ini",
|
|
13142
|
+
"omnichannel.overview.live.chats": "Chat saat ini",
|
|
13143
|
+
"omnichannel.overview.live.chatsCaption": "Bersama Agent atau tim Anda",
|
|
13144
|
+
"omnichannel.overview.live.waiting": "Menunggu orang",
|
|
13145
|
+
"omnichannel.overview.live.longestWait": "Tunggu terlama {time}",
|
|
13146
|
+
"omnichannel.overview.live.nobodyWaiting": "Tidak ada yang menunggu",
|
|
13147
|
+
"omnichannel.overview.live.firstReplies": "Balasan pertama yang perlu dipantau",
|
|
13148
|
+
"omnichannel.overview.live.firstRepliesCaption": "{soon} segera jatuh tempo \xB7 {overdue} terlambat",
|
|
13149
|
+
"omnichannel.overview.live.online": "Online sekarang",
|
|
13150
|
+
"omnichannel.overview.live.onlineCaption": "{away} Away",
|
|
13151
|
+
"omnichannel.overview.workload.title": "Beban percakapan",
|
|
13152
|
+
"omnichannel.overview.workload.goToInbox": "Buka Kotak Masuk",
|
|
13153
|
+
"omnichannel.overview.workload.withAgent": "Bersama Agent",
|
|
13154
|
+
"omnichannel.overview.workload.withAgentCaption": "Pelanggan yang menulis dalam 24 jam terakhir",
|
|
13155
|
+
"omnichannel.overview.workload.waiting": "Menunggu orang",
|
|
13156
|
+
"omnichannel.overview.workload.waitingCaption": "Dialihkan, belum diambil siapa pun",
|
|
13157
|
+
"omnichannel.overview.workload.withPeople": "Bersama tim Anda",
|
|
13158
|
+
"omnichannel.overview.workload.withPeopleCaption": "Sedang dijawab orang",
|
|
13159
|
+
"omnichannel.overview.workload.resolved": "Diselesaikan",
|
|
13160
|
+
"omnichannel.overview.workload.resolvedCaption": "Oleh tim Anda dalam 24 jam terakhir",
|
|
13161
|
+
"omnichannel.overview.workload.onTime": "{share}% chat yang menunggu belum terlambat",
|
|
13162
|
+
"omnichannel.overview.workload.nobodyWaiting": "Tidak ada yang menunggu orang",
|
|
13163
|
+
"omnichannel.overview.workload.attention": "{count} perlu perhatian",
|
|
13164
|
+
"omnichannel.overview.workload.onTimeLabel": "Chat menunggu yang belum terlambat",
|
|
13165
|
+
"omnichannel.overview.team.title": "Beban tim",
|
|
13166
|
+
"omnichannel.overview.team.filterLabel": "Tampilkan orang",
|
|
13167
|
+
"omnichannel.overview.team.filter.all": "Semua status",
|
|
13168
|
+
"omnichannel.overview.team.filter.online": "Online",
|
|
13169
|
+
"omnichannel.overview.team.filter.away": "Away",
|
|
13170
|
+
"omnichannel.overview.team.empty": "Tidak ada yang ditampilkan",
|
|
13171
|
+
"omnichannel.overview.waiting.title": "Menunggu sekarang",
|
|
13172
|
+
"omnichannel.overview.waiting.showing": "{shown} dari {total} ditampilkan",
|
|
13173
|
+
"omnichannel.overview.waiting.noTeam": "Tanpa tim",
|
|
13174
|
+
"omnichannel.overview.waiting.empty": "Tidak ada yang menunggu orang.",
|
|
13175
|
+
"omnichannel.overview.waiting.waited": "Menunggu {time}",
|
|
13176
|
+
"omnichannel.overview.today.resolveRate": "Tingkat penyelesaian",
|
|
13177
|
+
"omnichannel.overview.today.resolveRateCaption": "Dari {handovers} pengalihan hari ini",
|
|
13178
|
+
"omnichannel.overview.today.resolveRateCaptionOne": "Dari 1 pengalihan hari ini",
|
|
13179
|
+
"omnichannel.overview.today.firstReply": "Waktu tunggu balasan pertama",
|
|
13180
|
+
"omnichannel.overview.today.firstReplyCaption": "Separuh mendapat balasan pertama dalam waktu ini",
|
|
13181
|
+
"omnichannel.overview.today.sla": "Pencapaian SLA",
|
|
13182
|
+
"omnichannel.overview.today.slaCaption": "Balasan pertama dalam target",
|
|
13183
|
+
"omnichannel.overview.today.csat": "Rata-rata nilai",
|
|
13184
|
+
"omnichannel.overview.today.csatCaption": "CSAT {score} dari {count} penilaian",
|
|
13185
|
+
"omnichannel.overview.today.csatNone": "Belum ada penilaian hari ini",
|
|
13058
13186
|
"omnichannel.reports.title": "Laporan",
|
|
13059
13187
|
"omnichannel.reports.intro": "Bagaimana tim Anda melayani pelanggan dalam periode ini. Hari dihitung dalam {timezone}, zona waktu jam layanan Anda.",
|
|
13060
13188
|
"omnichannel.reports.introNoZone": "Bagaimana tim Anda melayani pelanggan dalam periode ini.",
|
|
@@ -13183,11 +13311,6 @@ var id_default = {
|
|
|
13183
13311
|
"omnichannel.channels.firstReply.save": "Simpan",
|
|
13184
13312
|
"omnichannel.channels.firstReply.hint": "Menit dalam jam layanan untuk mengirim balasan pertama setelah chat diteruskan ke tim. Kosongkan jika tanpa target.",
|
|
13185
13313
|
"omnichannel.channels.firstReply.invalid": "Masukkan jumlah menit dari 1 sampai 1440, atau kosongkan.",
|
|
13186
|
-
"omnichannel.members.now.label": "Tim saat ini",
|
|
13187
|
-
"omnichannel.members.now.waiting": "Menunggu",
|
|
13188
|
-
"omnichannel.members.now.oldestWait": "Tunggu terlama",
|
|
13189
|
-
"omnichannel.members.now.atRisk": "Segera jatuh tempo",
|
|
13190
|
-
"omnichannel.members.now.overdue": "Terlambat",
|
|
13191
13314
|
"omnichannel.members.now.online": "Online",
|
|
13192
13315
|
"omnichannel.inbox.connect.title": "Tambahkan kanal",
|
|
13193
13316
|
"omnichannel.inbox.connect.body": "Chat masuk ke sini setelah kanal terhubung.",
|
|
@@ -13548,6 +13671,7 @@ var id_default = {
|
|
|
13548
13671
|
"omnichannel.offerAlerts.title": "Ada chat yang ditawarkan kepada Anda",
|
|
13549
13672
|
"omnichannel.offerAlerts.bodyTeam": "{customer} \xB7 Tim {team}",
|
|
13550
13673
|
"omnichannel.escalation.title": "{person} mengeskalasi chat kepada Anda",
|
|
13674
|
+
"omnichannel.escalation.fromTeam": "{name} ({team})",
|
|
13551
13675
|
"omnichannel.escalation.open": "Buka chat",
|
|
13552
13676
|
"omnichannel.presence.online": "Online",
|
|
13553
13677
|
"omnichannel.presence.away": "Away",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { useTranslation } from './chunk-
|
|
2
|
+
import { useTranslation } from './chunk-FVSSLEFN.js';
|
|
3
3
|
import { Skeleton } from './chunk-UWKO24VT.js';
|
|
4
4
|
import { useRef, useState, useEffect } from 'react';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { ChevronLeftIcon } from './chunk-CWAOLMFS.js';
|
|
3
3
|
import { MagnifyingGlassIcon, Sheet, SheetContent, SheetHeader, SheetTitle, SheetTrigger } from './chunk-RQSMCGBR.js';
|
|
4
|
-
import { useIsMobile, useTranslation } from './chunk-
|
|
4
|
+
import { useIsMobile, useTranslation } from './chunk-FVSSLEFN.js';
|
|
5
5
|
import { ToolCallItem, ProcessorIcon } from './chunk-G4EXD5F3.js';
|
|
6
6
|
import { describeToolRow, toolKindLabel, getToolMeta, Shimmer, Collapse, ToolGroupReasoningItem, SkillToolItem, DeviceDesktopIcon, WorldSearchIcon, FileTextIcon, useStreamdownPlugins, CircleXIcon, STREAMDOWN_LINK_SAFETY, Folder1Icon, AppIconFrame, AppIcon, Collapsible, CollapsibleTrigger, CollapsibleContent, SquareArrowTopRightIcon, Icon } from './chunk-OBAC3B64.js';
|
|
7
7
|
import { ChevronDownMediumIcon, Button, Skeleton, buttonVariants } from './chunk-UWKO24VT.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { usePlugins, useChatCapabilityEnabled, resolvePluginLanguage, renderPluginBlock, AlertDialog, AlertDialogContent, AlertDialogHeader, AlertDialogTitle, AlertDialogDescription, AlertDialogFooter, AlertDialogCancel, AlertDialogAction, TooltipProvider, Tooltip, TooltipTrigger, TooltipContent, ActionMenu, useArtifactStore, ArtifactActionsMenu, DotGrid1x3HorizontalTightIcon, useArtifact, resolveArtifactIconFormat, artifactFormatIcon, useArtifactFileObjectUrl, artifactFormatSubtitle, ChatImageLightbox, ArrowsShowIcon, FileDownloadIcon, useClient, processMessageParts, getMessageDisplayTimestampValue, getMessageCreatedAtMs, isApprovalRequested, extractCitationsFromSteps, useSourcesEnrichment, extractImagesFromSteps, dedupeImageResults, getDocumentStreamArtifacts, getToolOutput, useCanvasStore, ImageResultsGallery, MessageDecisionCards, useChatCapabilities, useOptionalWorkspaceContext, useCitationViewer, useCitedDocument, useChatOverviewStore, dedup, extractDomain, sourceKind, SourceFavicon, Input, exportDocumentPdf, FilePdfIcon, StudioDisplayIcon, WorldIcon, MessageStepsGroup, getToolState, getToolInput, getToolErrorText, useChatOptInEnabled, ArrowRightIcon, formatFileSize, FileThumbnail, attachmentFileOf, MobileScreenSheet, useAgentHistorySource, treatyErrorMessage, useRouter, useBasePath, useAgentPanelStore, AgentRoutineForm, getFileCategory, unwrap, unwrapData, unwrapDataDeep, formatDecisionTime, DecisionCard, LoaderIcon, formatRelativeTime, CircleCheckIcon, agentRoutineKeys, useOptionalAgentsContext, avatarMotionForStream, AGENT_AVATAR_SIZE } from './chunk-
|
|
2
|
+
import { usePlugins, useChatCapabilityEnabled, resolvePluginLanguage, renderPluginBlock, AlertDialog, AlertDialogContent, AlertDialogHeader, AlertDialogTitle, AlertDialogDescription, AlertDialogFooter, AlertDialogCancel, AlertDialogAction, TooltipProvider, Tooltip, TooltipTrigger, TooltipContent, ActionMenu, useArtifactStore, ArtifactActionsMenu, DotGrid1x3HorizontalTightIcon, useArtifact, resolveArtifactIconFormat, artifactFormatIcon, useArtifactFileObjectUrl, artifactFormatSubtitle, ChatImageLightbox, ArrowsShowIcon, FileDownloadIcon, useClient, processMessageParts, getMessageDisplayTimestampValue, getMessageCreatedAtMs, isApprovalRequested, extractCitationsFromSteps, useSourcesEnrichment, extractImagesFromSteps, dedupeImageResults, getDocumentStreamArtifacts, getToolOutput, useCanvasStore, ImageResultsGallery, MessageDecisionCards, useChatCapabilities, useOptionalWorkspaceContext, useCitationViewer, useCitedDocument, useChatOverviewStore, dedup, extractDomain, sourceKind, SourceFavicon, Input, exportDocumentPdf, FilePdfIcon, StudioDisplayIcon, WorldIcon, MessageStepsGroup, getToolState, getToolInput, getToolErrorText, useChatOptInEnabled, ArrowRightIcon, formatFileSize, FileThumbnail, attachmentFileOf, MobileScreenSheet, useAgentHistorySource, treatyErrorMessage, useRouter, useBasePath, useAgentPanelStore, AgentRoutineForm, getFileCategory, unwrap, unwrapData, unwrapDataDeep, formatDecisionTime, DecisionCard, LoaderIcon, formatRelativeTime, CircleCheckIcon, agentRoutineKeys, useOptionalAgentsContext, avatarMotionForStream, AGENT_AVATAR_SIZE } from './chunk-PNU2CDXK.js';
|
|
3
3
|
import { Sheet, SheetTrigger, SheetContent, SheetHeader, SheetTitle, SheetDescription, Popover, PopoverTrigger, PopoverContent } from './chunk-RQSMCGBR.js';
|
|
4
|
-
import { useIsMobile, useTranslation } from './chunk-
|
|
4
|
+
import { useIsMobile, useTranslation } from './chunk-FVSSLEFN.js';
|
|
5
5
|
import { MessageToolbar, MessageResponse, SquareArrowTopRightIcon, FileTextIcon, Shimmer, ClipboardIcon, Message, MessageContent, PencilIcon, deferDuringLayoutMotion, HoverCard, HoverCardTrigger, HoverCardContent, Collapse, Icon, CircleXIcon, ClockIcon } from './chunk-OBAC3B64.js';
|
|
6
6
|
import { ChevronDownMediumIcon, Button, ScrollArea, Skeleton } from './chunk-UWKO24VT.js';
|
|
7
7
|
import { CrossMediumIcon } from './chunk-37WYG6VG.js';
|
package/dist/header.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { ChatHeader, ChatHeaderActions } from './chunk-
|
|
3
|
-
import './chunk-
|
|
2
|
+
export { ChatHeader, ChatHeaderActions } from './chunk-D6YKQJ5V.js';
|
|
3
|
+
import './chunk-PNU2CDXK.js';
|
|
4
4
|
import './chunk-CWAOLMFS.js';
|
|
5
5
|
import './chunk-RQSMCGBR.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-FVSSLEFN.js';
|
|
7
7
|
import './chunk-G4EXD5F3.js';
|
|
8
8
|
import './chunk-OBAC3B64.js';
|
|
9
9
|
import './chunk-UWKO24VT.js';
|
package/dist/message.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { Message, Thinking } from './chunk-
|
|
3
|
-
import './chunk-
|
|
2
|
+
export { Message, Thinking } from './chunk-UUZ3ANIK.js';
|
|
3
|
+
import './chunk-PNU2CDXK.js';
|
|
4
4
|
import './chunk-CWAOLMFS.js';
|
|
5
5
|
import './chunk-RQSMCGBR.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-FVSSLEFN.js';
|
|
7
7
|
import './chunk-G4EXD5F3.js';
|
|
8
8
|
import './chunk-OBAC3B64.js';
|
|
9
9
|
import './chunk-UWKO24VT.js';
|
package/dist/new-session.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { DEFAULT_SHORTCUTS, NewSessionPrompt, buildDefaultShortcuts } from './chunk-
|
|
2
|
+
export { DEFAULT_SHORTCUTS, NewSessionPrompt, buildDefaultShortcuts } from './chunk-47UUMIS3.js';
|
|
3
3
|
import './chunk-RQSMCGBR.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-FVSSLEFN.js';
|
|
5
5
|
import './chunk-37WYG6VG.js';
|
|
6
6
|
import './chunk-RCWVJD7G.js';
|
|
7
7
|
import './chunk-LGVMMBL3.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { DeckNotesCard, deckOwnsArrowKeys } from './chunk-4FRTPVJT.js';
|
|
3
|
-
import { resolveStageWidth, zoomPercent, DECK_ZOOM_LEVELS, LazyThumb, ArtifactSkeleton } from './chunk-
|
|
3
|
+
import { resolveStageWidth, zoomPercent, DECK_ZOOM_LEVELS, LazyThumb, ArtifactSkeleton } from './chunk-N2PBTMEA.js';
|
|
4
4
|
import { ChevronLeftIcon } from './chunk-CWAOLMFS.js';
|
|
5
|
-
import { useTranslation, useIsMobile } from './chunk-
|
|
5
|
+
import { useTranslation, useIsMobile } from './chunk-FVSSLEFN.js';
|
|
6
6
|
import { Button, ChevronDownMediumIcon, ScrollArea } from './chunk-UWKO24VT.js';
|
|
7
7
|
import { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, ChevronRightIcon } from './chunk-C3HW5S2Z.js';
|
|
8
8
|
import { cn } from './chunk-LGVMMBL3.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { zoomPercent, DECK_ZOOM_LEVELS, ArtifactSkeleton, LazyThumb } from './chunk-
|
|
2
|
+
import { zoomPercent, DECK_ZOOM_LEVELS, ArtifactSkeleton, LazyThumb } from './chunk-N2PBTMEA.js';
|
|
3
3
|
import { ChevronLeftIcon } from './chunk-CWAOLMFS.js';
|
|
4
|
-
import { useTranslation, useIsMobile } from './chunk-
|
|
4
|
+
import { useTranslation, useIsMobile } from './chunk-FVSSLEFN.js';
|
|
5
5
|
import { Button, ChevronDownMediumIcon, ScrollArea } from './chunk-UWKO24VT.js';
|
|
6
6
|
import { ChevronRightIcon, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuRadioGroup, DropdownMenuRadioItem } from './chunk-C3HW5S2Z.js';
|
|
7
7
|
import { cn } from './chunk-LGVMMBL3.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontera-sdk/chat-ui",
|
|
3
|
-
"version": "1.53.
|
|
3
|
+
"version": "1.53.16",
|
|
4
4
|
"description": "Ready-made React components for embedding a Frontera agent conversation — message rendering, tool calls, artifacts and composer.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"frontera",
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
},
|
|
90
90
|
"dependencies": {
|
|
91
91
|
"@elysiajs/eden": "^1.4.9",
|
|
92
|
-
"@frontera-sdk/chat": "1.53.
|
|
93
|
-
"@frontera-sdk/core": "1.53.
|
|
92
|
+
"@frontera-sdk/chat": "1.53.16",
|
|
93
|
+
"@frontera-sdk/core": "1.53.16",
|
|
94
94
|
"@radix-ui/react-alert-dialog": "^1.1.23",
|
|
95
95
|
"@radix-ui/react-collapsible": "^1.1.12",
|
|
96
96
|
"@radix-ui/react-compose-refs": "^1.1.5",
|