@symfony/ux-live-component 3.1.0 → 3.5.0

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.
@@ -1,11 +1,21 @@
1
1
  import { Controller } from "@hotwired/stimulus";
2
+ interface Download {
3
+ filename: string;
4
+ blob: Blob;
5
+ }
2
6
  declare class export_default$2 {
3
7
  response: Response;
4
8
  private body;
5
9
  private liveUrl;
10
+ private download;
11
+ private parsePromise;
6
12
  constructor(response: Response);
7
13
  getBody(): Promise<string>;
14
+ getDownload(): Download | null;
8
15
  getLiveUrl(): string | null;
16
+ getDownloadUrl(): string | null;
17
+ isRemoved(): boolean;
18
+ private parse;
9
19
  }
10
20
  declare class export_default$1 {
11
21
  promise: Promise<Response>;
@@ -100,6 +110,7 @@ declare class Component {
100
110
  private pendingActions;
101
111
  private pendingFiles;
102
112
  private isRequestPending;
113
+ private isRemoved;
103
114
  private requestDebounceTimeout;
104
115
  private nextRequestPromise;
105
116
  private nextRequestPromiseResolve;
@@ -108,6 +119,7 @@ declare class Component {
108
119
  event: string;
109
120
  action: string;
110
121
  }>, id: string | null, backend: BackendInterface, elementDriver: ElementDriver);
122
+ getOriginalId(): string | null;
111
123
  addPlugin(plugin: PluginInterface): void;
112
124
  connect(): void;
113
125
  disconnect(): void;
@@ -125,6 +137,7 @@ declare class Component {
125
137
  private performEmit;
126
138
  private doEmit;
127
139
  private isTurboEnabled;
140
+ private removeFromPage;
128
141
  private tryStartingRequest;
129
142
  private performRequest;
130
143
  private processRerender;