@ezychat/web 0.1.67 → 0.1.68

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.
@@ -3486,6 +3486,7 @@ export declare const enResources: {
3486
3486
  newInbox: string;
3487
3487
  sameInbox: string;
3488
3488
  noNumber: string;
3489
+ service: string;
3489
3490
  };
3490
3491
  tile: {
3491
3492
  chats: string;
@@ -3510,6 +3511,21 @@ export declare const enResources: {
3510
3511
  title: string;
3511
3512
  body: string;
3512
3513
  };
3514
+ protected: {
3515
+ title: string;
3516
+ ask: string;
3517
+ moves: string;
3518
+ allow: string;
3519
+ allowAgain: string;
3520
+ waitingTitle: string;
3521
+ waitingBody: string;
3522
+ declined: string;
3523
+ failed: string;
3524
+ byHand: string;
3525
+ step1: string;
3526
+ step2: string;
3527
+ step3: string;
3528
+ };
3513
3529
  check: {
3514
3530
  title: string;
3515
3531
  liteRunning: string;
@@ -3626,6 +3642,7 @@ export declare const enResources: {
3626
3642
  bring: string;
3627
3643
  bringChats: string;
3628
3644
  bringTeam: string;
3645
+ bringAll: string;
3629
3646
  new: string;
3630
3647
  newAccount: string;
3631
3648
  newQr: string;
@@ -1,5 +1,5 @@
1
1
  import { type ReactNode } from 'react';
2
- import type { DesktopLiteImportBridge, LiteImportState, LiteTeamChoice, LiteUser, User } from '@ezychat/shared';
2
+ import type { DesktopLiteImportBridge, LiteImportMode, LiteImportState, LiteTeamChoice, LiteUser, User } from '@ezychat/shared';
3
3
  export type Act = (call: () => Promise<LiteImportState>, failMessage: string) => Promise<boolean>;
4
4
  interface StepProps {
5
5
  state: LiteImportState;
@@ -7,6 +7,15 @@ interface StepProps {
7
7
  act: Act;
8
8
  busy: boolean;
9
9
  }
10
+ /**
11
+ * Lite runs as an OS service and its data folder is locked to it (phase 'protected', confirmed mock
12
+ * round 4): "Allow" frees it with one admin prompt (Lite's own "Remove service"), then the normal flow
13
+ * starts at Found. Nothing of Lite's data is known here, so the figure shows no number.
14
+ */
15
+ export declare function ProtectedStep({ state, bridge, act, busy, mode, cancel, }: StepProps & {
16
+ mode: LiteImportMode;
17
+ cancel: ReactNode;
18
+ }): import("react").JSX.Element;
10
19
  /** What was found: the figure, summary tiles, and that Lite's data stays. */
11
20
  export declare function FoundStep({ state, onContinue, cancel, }: {
12
21
  state: LiteImportState;
@@ -24,10 +24,14 @@ export declare function IconLine({ icon: I, tone, children, }: {
24
24
  tone?: string;
25
25
  children: ReactNode;
26
26
  }): import("react").JSX.Element;
27
- /** The figure: EzyChat Lite → this product, with what happens to the number. */
28
- export declare function MoveFigure({ number, mode }: {
27
+ /**
28
+ * The figure: EzyChat Lite → this product, with what happens to the number. `service`: Lite's data is
29
+ * still locked to its OS service, so the number is not known yet.
30
+ */
31
+ export declare function MoveFigure({ number, mode, service, }: {
29
32
  number: string | null;
30
33
  mode: LiteImportMode;
34
+ service?: boolean;
31
35
  }): import("react").JSX.Element;
32
36
  /** The import steps the desktop reports, each with its state. */
33
37
  export declare function StepList({ steps }: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ezychat/web",
3
- "version": "0.1.67",
3
+ "version": "0.1.68",
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,7 +40,7 @@
40
40
  "build:lib": "node ../../scripts/build-web-lib.mjs"
41
41
  },
42
42
  "dependencies": {
43
- "@ezychat/shared": "0.1.67",
43
+ "@ezychat/shared": "0.1.68",
44
44
  "@fontsource-variable/inter": "^5.3.0",
45
45
  "@tanstack/react-query": "^5.105.0",
46
46
  "@types/react": "^19.3.0",