@ezychat/web 0.1.84 → 0.1.85
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-lib/assets/font-9f04f14429bb.woff2 +0 -0
- package/dist-lib/chunks/{admin-T9Qs91WR.js → admin-BDciacjd.js} +55 -59
- package/dist-lib/chunks/{admin-BSIc8-DD.js → admin-Bcel7ZqO.js} +55 -59
- package/dist-lib/chunks/{common-CBTam36M.js → common-BAoxGts5.js} +36 -3
- package/dist-lib/chunks/{common-BE996sRJ.js → common-C3KIPASu.js} +36 -3
- package/dist-lib/chunks/{inbox-BRsRaRZn.js → inbox-HnJhomm8.js} +71 -59
- package/dist-lib/chunks/{inbox-C2IIv9Z3.js → inbox-wUMY4TKD.js} +71 -59
- package/dist-lib/ezychat-web.css +1 -1
- package/dist-lib/index.js +10112 -8036
- package/dist-lib/types/admin/AdminLayout.d.ts +21 -5
- package/dist-lib/types/admin/AgentDreamCard.d.ts +9 -0
- package/dist-lib/types/admin/AgentResolutionCard.d.ts +1 -1
- package/dist-lib/types/admin/DreamChangeDialog.d.ts +14 -0
- package/dist-lib/types/admin/HiddenChats.d.ts +16 -0
- package/dist-lib/types/admin/connectors/ConnectorDetailPage.d.ts +1 -1
- package/dist-lib/types/admin/connectors/GitHubAccountCard.d.ts +8 -0
- package/dist-lib/types/admin/connectors/GitHubSettingsCard.d.ts +4 -0
- package/dist-lib/types/admin/connectors/catalog.d.ts +6 -6
- package/dist-lib/types/api/chat-delete.d.ts +16 -0
- package/dist-lib/types/api/chat-hide.d.ts +21 -0
- package/dist-lib/types/api/connectors.d.ts +128 -0
- package/dist-lib/types/api/dream.d.ts +91 -0
- package/dist-lib/types/api/queries.d.ts +5 -0
- package/dist-lib/types/api/scheduled-tasks.d.ts +6 -6
- package/dist-lib/types/askezy/api.d.ts +2 -2
- package/dist-lib/types/auth/LoginPage.d.ts +1 -0
- package/dist-lib/types/auth/UserMenu.d.ts +2 -0
- package/dist-lib/types/extensions/index.d.ts +1 -1
- package/dist-lib/types/extensions/routes.d.ts +3 -1
- package/dist-lib/types/i18n/resources.d.ts +280 -8
- package/dist-lib/types/inbox/ConversationHeader.d.ts +3 -1
- package/dist-lib/types/inbox/DeleteChatDialog.d.ts +12 -0
- package/dist-lib/types/lib/tips.d.ts +1 -1
- package/dist-lib/types/lib/version.d.ts +4 -0
- package/dist-lib/types/lite-import/steps.d.ts +7 -2
- package/dist-lib/types/nav/AccountPage.d.ts +2 -0
- package/dist-lib/types/nav/AppNav.d.ts +10 -0
- package/dist-lib/types/nav/PhoneBar.d.ts +14 -0
- package/dist-lib/types/nav/attention.d.ts +4 -0
- package/package.json +11 -10
- package/dist-lib/types/askezy/AskEzyButton.d.ts +0 -8
|
@@ -64,6 +64,8 @@ export declare const enResources: {
|
|
|
64
64
|
signOut: string;
|
|
65
65
|
sendFeedback: string;
|
|
66
66
|
emailSupport: string;
|
|
67
|
+
signingOut: string;
|
|
68
|
+
signOutFailed: string;
|
|
67
69
|
};
|
|
68
70
|
errorBoundary: {
|
|
69
71
|
title: string;
|
|
@@ -233,6 +235,37 @@ export declare const enResources: {
|
|
|
233
235
|
step2: string;
|
|
234
236
|
step3: string;
|
|
235
237
|
};
|
|
238
|
+
githubApp: {
|
|
239
|
+
title: string;
|
|
240
|
+
body: string;
|
|
241
|
+
};
|
|
242
|
+
githubToken: {
|
|
243
|
+
title: string;
|
|
244
|
+
body: string;
|
|
245
|
+
action: string;
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
appNav: {
|
|
249
|
+
main: string;
|
|
250
|
+
chats: string;
|
|
251
|
+
reports: string;
|
|
252
|
+
askEzy: string;
|
|
253
|
+
members: string;
|
|
254
|
+
settings: string;
|
|
255
|
+
account: string;
|
|
256
|
+
unread_one: string;
|
|
257
|
+
unread_other: string;
|
|
258
|
+
attention: string;
|
|
259
|
+
settingsTitle: string;
|
|
260
|
+
team: string;
|
|
261
|
+
business: string;
|
|
262
|
+
app: string;
|
|
263
|
+
yourAccount: string;
|
|
264
|
+
accountTitle: string;
|
|
265
|
+
accountDescription: string;
|
|
266
|
+
attentionRow: string;
|
|
267
|
+
backTo: string;
|
|
268
|
+
more: string;
|
|
236
269
|
};
|
|
237
270
|
};
|
|
238
271
|
app: {
|
|
@@ -617,7 +650,6 @@ export declare const enResources: {
|
|
|
617
650
|
page: {
|
|
618
651
|
chats: string;
|
|
619
652
|
title: string;
|
|
620
|
-
admin: string;
|
|
621
653
|
version: string;
|
|
622
654
|
selectTitle: string;
|
|
623
655
|
selectDescription: string;
|
|
@@ -697,6 +729,19 @@ export declare const enResources: {
|
|
|
697
729
|
openGroupInfo: string;
|
|
698
730
|
openCustomer: string;
|
|
699
731
|
};
|
|
732
|
+
deleteChat: {
|
|
733
|
+
more: string;
|
|
734
|
+
action: string;
|
|
735
|
+
title: string;
|
|
736
|
+
messages_one: string;
|
|
737
|
+
messages_other: string;
|
|
738
|
+
files_one: string;
|
|
739
|
+
files_other: string;
|
|
740
|
+
body: string;
|
|
741
|
+
confirm: string;
|
|
742
|
+
done: string;
|
|
743
|
+
failed: string;
|
|
744
|
+
};
|
|
700
745
|
conversation: {
|
|
701
746
|
loading: string;
|
|
702
747
|
notFound: string;
|
|
@@ -1883,7 +1928,6 @@ export declare const enResources: {
|
|
|
1883
1928
|
};
|
|
1884
1929
|
admin: {
|
|
1885
1930
|
title: string;
|
|
1886
|
-
titleWithSection: string;
|
|
1887
1931
|
nav: {
|
|
1888
1932
|
label: string;
|
|
1889
1933
|
members: string;
|
|
@@ -1897,13 +1941,7 @@ export declare const enResources: {
|
|
|
1897
1941
|
safety: string;
|
|
1898
1942
|
};
|
|
1899
1943
|
layout: {
|
|
1900
|
-
inbox: string;
|
|
1901
|
-
menu: string;
|
|
1902
1944
|
footer: string;
|
|
1903
|
-
backToInbox: string;
|
|
1904
|
-
logOut: string;
|
|
1905
|
-
loggingOut: string;
|
|
1906
|
-
logOutFailed: string;
|
|
1907
1945
|
loading: string;
|
|
1908
1946
|
};
|
|
1909
1947
|
ui: {
|
|
@@ -2477,6 +2515,11 @@ export declare const enResources: {
|
|
|
2477
2515
|
phoneHint: string;
|
|
2478
2516
|
linkTitle: string;
|
|
2479
2517
|
linkBody: string;
|
|
2518
|
+
hides_one: string;
|
|
2519
|
+
hides_other: string;
|
|
2520
|
+
hidesUnknown: string;
|
|
2521
|
+
hiddenNote_one: string;
|
|
2522
|
+
hiddenNote_other: string;
|
|
2480
2523
|
actionsTitle: string;
|
|
2481
2524
|
actions: {
|
|
2482
2525
|
logout: {
|
|
@@ -3282,6 +3325,74 @@ export declare const enResources: {
|
|
|
3282
3325
|
offHint: string;
|
|
3283
3326
|
saveFailed: string;
|
|
3284
3327
|
};
|
|
3328
|
+
dream: {
|
|
3329
|
+
title: string;
|
|
3330
|
+
description: string;
|
|
3331
|
+
switch: string;
|
|
3332
|
+
on: string;
|
|
3333
|
+
off: string;
|
|
3334
|
+
runAt: string;
|
|
3335
|
+
runAtHint: string;
|
|
3336
|
+
autoApply: string;
|
|
3337
|
+
autoApplyOn: string;
|
|
3338
|
+
autoApplyOff: string;
|
|
3339
|
+
paused: string;
|
|
3340
|
+
history: string;
|
|
3341
|
+
historyEmpty: string;
|
|
3342
|
+
more: string;
|
|
3343
|
+
runStats: string;
|
|
3344
|
+
dropped: string;
|
|
3345
|
+
run: {
|
|
3346
|
+
running: string;
|
|
3347
|
+
nothing: string;
|
|
3348
|
+
missed: string;
|
|
3349
|
+
failed: string;
|
|
3350
|
+
ai_unavailable: string;
|
|
3351
|
+
access_closed: string;
|
|
3352
|
+
agent_off: string;
|
|
3353
|
+
};
|
|
3354
|
+
status: {
|
|
3355
|
+
waiting: string;
|
|
3356
|
+
applied: string;
|
|
3357
|
+
dismissed: string;
|
|
3358
|
+
undone: string;
|
|
3359
|
+
stale: string;
|
|
3360
|
+
expired: string;
|
|
3361
|
+
};
|
|
3362
|
+
target: {
|
|
3363
|
+
context_text: string;
|
|
3364
|
+
instructions: string;
|
|
3365
|
+
handoff_rules: string;
|
|
3366
|
+
};
|
|
3367
|
+
appliedByItself: string;
|
|
3368
|
+
sources: string;
|
|
3369
|
+
apply: string;
|
|
3370
|
+
dismiss: string;
|
|
3371
|
+
undo: string;
|
|
3372
|
+
seeChange: string;
|
|
3373
|
+
change: {
|
|
3374
|
+
title: string;
|
|
3375
|
+
body: string;
|
|
3376
|
+
before: string;
|
|
3377
|
+
after: string;
|
|
3378
|
+
newItem: string;
|
|
3379
|
+
why: string;
|
|
3380
|
+
whyEmpty: string;
|
|
3381
|
+
customer: string;
|
|
3382
|
+
team: string;
|
|
3383
|
+
checks: string;
|
|
3384
|
+
};
|
|
3385
|
+
check: {
|
|
3386
|
+
privacy: string;
|
|
3387
|
+
leak: string;
|
|
3388
|
+
grounding: string;
|
|
3389
|
+
replay: string;
|
|
3390
|
+
regression: string;
|
|
3391
|
+
};
|
|
3392
|
+
saveFailed: string;
|
|
3393
|
+
actionFailed: string;
|
|
3394
|
+
outdated: string;
|
|
3395
|
+
};
|
|
3285
3396
|
scheduled: {
|
|
3286
3397
|
title: string;
|
|
3287
3398
|
description: string;
|
|
@@ -3334,6 +3445,7 @@ export declare const enResources: {
|
|
|
3334
3445
|
window_closed: string;
|
|
3335
3446
|
missed: string;
|
|
3336
3447
|
chat_gone: string;
|
|
3448
|
+
chat_hidden: string;
|
|
3337
3449
|
confidential_leak: string;
|
|
3338
3450
|
ai_unavailable: string;
|
|
3339
3451
|
lookup_failed: string;
|
|
@@ -3613,6 +3725,14 @@ export declare const enResources: {
|
|
|
3613
3725
|
findHint: string;
|
|
3614
3726
|
read: string;
|
|
3615
3727
|
readHint: string;
|
|
3728
|
+
searchIssues: string;
|
|
3729
|
+
searchIssuesHint: string;
|
|
3730
|
+
listIssues: string;
|
|
3731
|
+
listIssuesHint: string;
|
|
3732
|
+
readIssue: string;
|
|
3733
|
+
readIssueHint: string;
|
|
3734
|
+
searchPulls: string;
|
|
3735
|
+
searchPullsHint: string;
|
|
3616
3736
|
};
|
|
3617
3737
|
items: {
|
|
3618
3738
|
"google-calendar": {
|
|
@@ -3647,6 +3767,14 @@ export declare const enResources: {
|
|
|
3647
3767
|
long: string;
|
|
3648
3768
|
privacy: string;
|
|
3649
3769
|
};
|
|
3770
|
+
github: {
|
|
3771
|
+
name: string;
|
|
3772
|
+
short: string;
|
|
3773
|
+
long: string;
|
|
3774
|
+
privacy: string;
|
|
3775
|
+
privacy2: string;
|
|
3776
|
+
privacy3: string;
|
|
3777
|
+
};
|
|
3650
3778
|
};
|
|
3651
3779
|
gc: {
|
|
3652
3780
|
accountTitle: string;
|
|
@@ -4348,6 +4476,150 @@ export declare const enResources: {
|
|
|
4348
4476
|
};
|
|
4349
4477
|
agentCard: string;
|
|
4350
4478
|
};
|
|
4479
|
+
github: {
|
|
4480
|
+
accountTitle: string;
|
|
4481
|
+
accountDescription: string;
|
|
4482
|
+
what1: string;
|
|
4483
|
+
what2: string;
|
|
4484
|
+
what3: string;
|
|
4485
|
+
signIn: string;
|
|
4486
|
+
useToken: string;
|
|
4487
|
+
signInHint: string;
|
|
4488
|
+
signedIn: string;
|
|
4489
|
+
viaApp: string;
|
|
4490
|
+
viaToken: string;
|
|
4491
|
+
tokenExpires: string;
|
|
4492
|
+
tokenExpired: string;
|
|
4493
|
+
state: {
|
|
4494
|
+
connected: string;
|
|
4495
|
+
expiring: string;
|
|
4496
|
+
expired: string;
|
|
4497
|
+
unavailable: string;
|
|
4498
|
+
no_installation: string;
|
|
4499
|
+
};
|
|
4500
|
+
install: {
|
|
4501
|
+
title: string;
|
|
4502
|
+
body: string;
|
|
4503
|
+
button: string;
|
|
4504
|
+
check: string;
|
|
4505
|
+
orgNote: string;
|
|
4506
|
+
};
|
|
4507
|
+
expiringTitle: string;
|
|
4508
|
+
expiringBody: string;
|
|
4509
|
+
newToken: string;
|
|
4510
|
+
expiredTitle: string;
|
|
4511
|
+
expiredTokenTitle: string;
|
|
4512
|
+
expiredBody: string;
|
|
4513
|
+
signInAgain: string;
|
|
4514
|
+
unavailableTitle: string;
|
|
4515
|
+
unavailableBody: string;
|
|
4516
|
+
reposShared_one: string;
|
|
4517
|
+
reposShared_other: string;
|
|
4518
|
+
changeOnGitHub: string;
|
|
4519
|
+
perAgent: string;
|
|
4520
|
+
disconnectTitle: string;
|
|
4521
|
+
disconnectApp: string;
|
|
4522
|
+
disconnectToken: string;
|
|
4523
|
+
disconnected: string;
|
|
4524
|
+
neverChanges: string;
|
|
4525
|
+
device: {
|
|
4526
|
+
title: string;
|
|
4527
|
+
description: string;
|
|
4528
|
+
step1: string;
|
|
4529
|
+
copy: string;
|
|
4530
|
+
copied: string;
|
|
4531
|
+
step2: string;
|
|
4532
|
+
open: string;
|
|
4533
|
+
waiting: string;
|
|
4534
|
+
deniedTitle: string;
|
|
4535
|
+
deniedBody: string;
|
|
4536
|
+
expiredTitle: string;
|
|
4537
|
+
expiredBody: string;
|
|
4538
|
+
again: string;
|
|
4539
|
+
failedTitle: string;
|
|
4540
|
+
failedBody: string;
|
|
4541
|
+
};
|
|
4542
|
+
token: {
|
|
4543
|
+
title: string;
|
|
4544
|
+
description: string;
|
|
4545
|
+
step1: string;
|
|
4546
|
+
step2: string;
|
|
4547
|
+
step3: string;
|
|
4548
|
+
step4: string;
|
|
4549
|
+
label: string;
|
|
4550
|
+
readOnly: string;
|
|
4551
|
+
save: string;
|
|
4552
|
+
error: {
|
|
4553
|
+
classic: string;
|
|
4554
|
+
invalid: string;
|
|
4555
|
+
no_repos: string;
|
|
4556
|
+
};
|
|
4557
|
+
};
|
|
4558
|
+
notConnected: string;
|
|
4559
|
+
notConnectedHint: string;
|
|
4560
|
+
pausedTitle: string;
|
|
4561
|
+
pausedExpired: string;
|
|
4562
|
+
pausedDown: string;
|
|
4563
|
+
repos: {
|
|
4564
|
+
title: string;
|
|
4565
|
+
description: string;
|
|
4566
|
+
none: string;
|
|
4567
|
+
choose: string;
|
|
4568
|
+
remove: string;
|
|
4569
|
+
private: string;
|
|
4570
|
+
public: string;
|
|
4571
|
+
gone: string;
|
|
4572
|
+
hint: string;
|
|
4573
|
+
whoTitle: string;
|
|
4574
|
+
whoBody: string;
|
|
4575
|
+
notAccessible: string;
|
|
4576
|
+
};
|
|
4577
|
+
access: {
|
|
4578
|
+
title: string;
|
|
4579
|
+
description: string;
|
|
4580
|
+
issues: string;
|
|
4581
|
+
issuesHint: string;
|
|
4582
|
+
pulls: string;
|
|
4583
|
+
pullsHint: string;
|
|
4584
|
+
};
|
|
4585
|
+
needRepo: string;
|
|
4586
|
+
when: {
|
|
4587
|
+
note: string;
|
|
4588
|
+
open: string;
|
|
4589
|
+
};
|
|
4590
|
+
picker: {
|
|
4591
|
+
title: string;
|
|
4592
|
+
description: string;
|
|
4593
|
+
search: string;
|
|
4594
|
+
refresh: string;
|
|
4595
|
+
refreshed: string;
|
|
4596
|
+
add_one: string;
|
|
4597
|
+
add_other: string;
|
|
4598
|
+
noMatch: string;
|
|
4599
|
+
allAdded: string;
|
|
4600
|
+
missing: string;
|
|
4601
|
+
editApp: string;
|
|
4602
|
+
editToken: string;
|
|
4603
|
+
};
|
|
4604
|
+
saved: string;
|
|
4605
|
+
agentCard: {
|
|
4606
|
+
noRepos: string;
|
|
4607
|
+
both_one: string;
|
|
4608
|
+
both_other: string;
|
|
4609
|
+
issues_one: string;
|
|
4610
|
+
issues_other: string;
|
|
4611
|
+
pulls_one: string;
|
|
4612
|
+
pulls_other: string;
|
|
4613
|
+
};
|
|
4614
|
+
act: {
|
|
4615
|
+
searched: string;
|
|
4616
|
+
read: string;
|
|
4617
|
+
refused: string;
|
|
4618
|
+
failed: string;
|
|
4619
|
+
hint: string;
|
|
4620
|
+
emptyHint: string;
|
|
4621
|
+
};
|
|
4622
|
+
};
|
|
4351
4623
|
};
|
|
4352
4624
|
reports: {
|
|
4353
4625
|
title: string;
|
|
@@ -25,5 +25,7 @@ export interface ConversationHeaderProps {
|
|
|
25
25
|
/** Group chats: whether the AI agent answers when tagged or quoted (the header badge). */
|
|
26
26
|
groupAi?: AiGroupChat | null;
|
|
27
27
|
busy?: boolean;
|
|
28
|
+
/** Admins only: the ⋮ menu with Delete chat (no menu without it). */
|
|
29
|
+
onDelete?(): void;
|
|
28
30
|
}
|
|
29
|
-
export declare function ConversationHeader({ chat, directory, onBack, onAssign, onToggleStatus, notesOpen, notesCount, onToggleNotes, showCustomer, customerOpen, onToggleCustomer, onOpenInfo, memberCount, inbox, groupAi, busy, }: ConversationHeaderProps): import("react").JSX.Element;
|
|
31
|
+
export declare function ConversationHeader({ chat, directory, onBack, onAssign, onToggleStatus, notesOpen, notesCount, onToggleNotes, showCustomer, customerOpen, onToggleCustomer, onOpenInfo, memberCount, inbox, groupAi, busy, onDelete, }: ConversationHeaderProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delete chat (admins; docs/features/chat-hide-delete/design.md Part B): the chat's name, what goes
|
|
3
|
+
* (messages and files) and that the WhatsApp phone keeps its copy. Stays open until the server
|
|
4
|
+
* answers; on success the chat leaves every list and `onDeleted` takes the page back to the inbox.
|
|
5
|
+
*/
|
|
6
|
+
export declare function DeleteChatDialog({ jid, name, open, onClose, onDeleted, }: {
|
|
7
|
+
jid: string;
|
|
8
|
+
name: string;
|
|
9
|
+
open: boolean;
|
|
10
|
+
onClose(): void;
|
|
11
|
+
onDeleted(): void;
|
|
12
|
+
}): import("react").JSX.Element;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* under `tips.<topic>` (`title`, `body`, `step1`…`stepN`, `action`); this file holds each tip's shape.
|
|
4
4
|
* Design: docs/features/concept-tips/design.md.
|
|
5
5
|
*/
|
|
6
|
-
export declare const TIP_TOPICS: readonly ["whatsappLink", "aiConnection", "apiKey", "claudeKey", "aiModel", "businessContext", "instructions", "handoff", "tryIt", "voice", "tunnel", "lan", "mcp", "accessToken", "connectors", "safetyAi", "autoBlock", "lockedFiles", "driveFiles", "reportNumber", "sqlApiService", "sqlKeys", "sqlCustomerCode", "usageStats"];
|
|
6
|
+
export declare const TIP_TOPICS: readonly ["whatsappLink", "aiConnection", "apiKey", "claudeKey", "aiModel", "businessContext", "instructions", "handoff", "tryIt", "voice", "tunnel", "lan", "mcp", "accessToken", "connectors", "safetyAi", "autoBlock", "lockedFiles", "driveFiles", "reportNumber", "sqlApiService", "sqlKeys", "sqlCustomerCode", "usageStats", "githubApp", "githubToken"];
|
|
7
7
|
export type TipTopic = (typeof TIP_TOPICS)[number];
|
|
8
8
|
/** The ezychat.ai guides a tip can link to (each exists in en, ms and zh). */
|
|
9
9
|
export type TipGuide = 'getting-started' | 'set-up-ai-agent' | 'connect-cloudflare' | 'connect-ai-assistant';
|
|
@@ -3,6 +3,8 @@ export interface HealthInfo {
|
|
|
3
3
|
app: string;
|
|
4
4
|
version: string;
|
|
5
5
|
mode: string;
|
|
6
|
+
/** 'lite', 'enterprise', …; older servers omit it (Lite). */
|
|
7
|
+
edition?: string;
|
|
6
8
|
}
|
|
7
9
|
export declare const healthQueryKey: readonly ["health"];
|
|
8
10
|
/** Version baked into the web bundle at build time (root package.json), or null if not defined. */
|
|
@@ -10,3 +12,5 @@ export declare const BUILD_VERSION: string | null;
|
|
|
10
12
|
export declare function useAppVersion(): string | null;
|
|
11
13
|
/** The server's run mode from GET /api/health ('dev' for local and test servers), or null while unknown. */
|
|
12
14
|
export declare function useServerMode(): string | null;
|
|
15
|
+
/** The product edition from GET /api/health ('lite' when the server omits it), or null while unknown. */
|
|
16
|
+
export declare function useEdition(): string | null;
|
|
@@ -29,9 +29,14 @@ export declare function ChecksStep({ state, bridge, act, busy, continueLabel, on
|
|
|
29
29
|
}): import("react").JSX.Element;
|
|
30
30
|
/** Default for each Lite user: the same username here → same person, else add with Lite's role. */
|
|
31
31
|
export declare function defaultTeam(liteUsers: LiteUser[], people: User[]): LiteTeamChoice[];
|
|
32
|
-
/**
|
|
33
|
-
|
|
32
|
+
/**
|
|
33
|
+
* Merge review: what comes over, who is who, what stays Enterprise's, what to set up again.
|
|
34
|
+
* `ownAddress`: this install already has its own address. Without one, Lite's app-managed address
|
|
35
|
+
* comes over (server `merge-address.ts`) instead of being set up again.
|
|
36
|
+
*/
|
|
37
|
+
export declare function ReviewStep({ state, bridge, act, busy, people, ownAddress, }: StepProps & {
|
|
34
38
|
people: User[];
|
|
39
|
+
ownAddress: boolean;
|
|
35
40
|
}): import("react").JSX.Element;
|
|
36
41
|
export declare function RunningStep({ state }: {
|
|
37
42
|
state: LiteImportState;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type WebExtensionAdminSection } from '../extensions';
|
|
2
|
+
type Place = 'chats' | 'reports' | 'members' | 'settings' | 'account' | null;
|
|
3
|
+
/** The rail place of a path; `section` is the core section an extension admin page sits under. */
|
|
4
|
+
export declare function placeOf(pathname: string, isAdmin: boolean, section?: WebExtensionAdminSection): Place;
|
|
5
|
+
/**
|
|
6
|
+
* Signed-in shell: rail + page + tabs. No tab bar inside an open chat: the composer owns the bottom of the
|
|
7
|
+
* screen. The Ask Ezy panel stays in App (a sheet in a portal, docked beside the page from 1280 px).
|
|
8
|
+
*/
|
|
9
|
+
export declare function AppShell(): import("react").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The phone app bar of a page reached from the bottom tabs (docs/features/app-navigation/design.md). A tab's own
|
|
3
|
+
* page has only its title; a page one level down (Members, Quick replies, …) has a back link to where it came from.
|
|
4
|
+
* `heading`: the title is the page's `h1` (a page with no title of its own, e.g. the Settings list); otherwise it
|
|
5
|
+
* repeats the page's own heading and stays plain text, so a page never has two `h1`s.
|
|
6
|
+
*/
|
|
7
|
+
export declare function PhoneBar({ title, back, heading, }: {
|
|
8
|
+
title: string;
|
|
9
|
+
back?: {
|
|
10
|
+
to: string;
|
|
11
|
+
label: string;
|
|
12
|
+
};
|
|
13
|
+
heading?: boolean;
|
|
14
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** True when a WhatsApp number of a current (not removed) inbox needs an admin; always false for others. */
|
|
2
|
+
export declare function useNumberAttention(): boolean;
|
|
3
|
+
/** The page of the numbers: WhatsApp in Lite (one number), Inboxes in an edition with several. */
|
|
4
|
+
export declare function useNumbersPath(): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ezychat/web",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.85",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "EzyChat core: the team inbox web app (React) as a library, with createInboxApp and its extension API.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,22 +40,23 @@
|
|
|
40
40
|
"build:lib": "node ../../scripts/build-web-lib.mjs"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@ezychat/shared": "0.1.
|
|
43
|
+
"@ezychat/shared": "0.1.85",
|
|
44
44
|
"@fontsource-variable/inter": "^5.3.0",
|
|
45
|
-
"@tanstack/react-query": "^5.
|
|
45
|
+
"@tanstack/react-query": "^5.107.1",
|
|
46
46
|
"@types/react": "^19.3.0",
|
|
47
47
|
"@types/react-dom": "^19.3.0",
|
|
48
48
|
"class-variance-authority": "^0.7.1",
|
|
49
49
|
"clsx": "^2.1.1",
|
|
50
50
|
"cmdk": "^1.1.1",
|
|
51
51
|
"cn": "^0.5.0",
|
|
52
|
+
"country-flag-emoji-polyfill": "0.1.10",
|
|
52
53
|
"date-fns": "^4.4.0",
|
|
53
|
-
"i18next": "^
|
|
54
|
-
"lucide-react": "^1.
|
|
54
|
+
"i18next": "^27.1.1",
|
|
55
|
+
"lucide-react": "^1.71.0",
|
|
55
56
|
"next-themes": "^0.4.6",
|
|
56
57
|
"nspell": "2.1.5",
|
|
57
58
|
"opus-recorder": "8.0.5",
|
|
58
|
-
"pdfjs-dist": "6.
|
|
59
|
+
"pdfjs-dist": "6.5.438",
|
|
59
60
|
"qrcode.react": "^4.2.0",
|
|
60
61
|
"radix-ui": "^1.8.1",
|
|
61
62
|
"react": "^19.3.1",
|
|
@@ -69,17 +70,17 @@
|
|
|
69
70
|
"vaul": "^1.1.2"
|
|
70
71
|
},
|
|
71
72
|
"devDependencies": {
|
|
72
|
-
"@tailwindcss/vite": "^4.3.
|
|
73
|
+
"@tailwindcss/vite": "^4.3.5",
|
|
73
74
|
"@testing-library/dom": "^10.4.2",
|
|
74
75
|
"@testing-library/jest-dom": "^7.0.1",
|
|
75
76
|
"@testing-library/react": "^16.3.3",
|
|
76
|
-
"@testing-library/user-event": "^14.6.
|
|
77
|
+
"@testing-library/user-event": "^14.6.9",
|
|
77
78
|
"@types/nspell": "2.1.6",
|
|
78
|
-
"@vitejs/plugin-react": "^6.
|
|
79
|
+
"@vitejs/plugin-react": "^6.3.0",
|
|
79
80
|
"dictionary-en-gb": "3.0.0",
|
|
80
81
|
"jsdom": "^30.1.3",
|
|
81
82
|
"tailwindcss": "^4.3.3",
|
|
82
|
-
"vite": "^8.3.
|
|
83
|
+
"vite": "^8.3.7",
|
|
83
84
|
"vite-plugin-pwa": "^2.0.0",
|
|
84
85
|
"workbox-cacheable-response": "^7.4.1",
|
|
85
86
|
"workbox-expiration": "^7.4.1",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type AskEzyRequest } from './AskEzyContext';
|
|
2
|
-
/** Opens Ask Ezy. `compact` shows only the icon (phone headers); the label stays for screen readers. */
|
|
3
|
-
export declare function AskEzyButton({ request, compact, variant, className, }: {
|
|
4
|
-
request?: AskEzyRequest;
|
|
5
|
-
compact?: boolean;
|
|
6
|
-
variant?: 'ghost' | 'outline';
|
|
7
|
-
className?: string;
|
|
8
|
-
}): import("react").JSX.Element | null;
|