@vaadin/hilla-frontend 25.2.0-rc2 → 25.3.0-alpha1
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/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -2
- package/types.d.ts +10 -2
package/index.js
CHANGED
|
@@ -6,7 +6,7 @@ export { ActionOnLostSubscription, FluxConnection, State } from "./FluxConnectio
|
|
|
6
6
|
vaadinObj.registrations ??= [];
|
|
7
7
|
vaadinObj.registrations.push({
|
|
8
8
|
is: feature ? `@vaadin/hilla-frontend/${feature}` : "@vaadin/hilla-frontend",
|
|
9
|
-
version: "25.
|
|
9
|
+
version: "25.3.0-alpha1"
|
|
10
10
|
});
|
|
11
11
|
})();
|
|
12
12
|
//# sourceMappingURL=./index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAAA;AACA;AACA;AACA,SAAS,0BAA0B,gBAAgB;AAInD,CAAC,CAAC,SAAS,YAAa,WAAW,WAAW,CAAE,MAAM;AACpD,WAAU,kBAAkB,CAAE;AAC9B,WAAU,cAAc,KAAK;EAC3B,IAAI,WAAW,yBAAyB,QAAQ,IAAI;EACpD,SAAS;CACV,EAAC;AACH,IAAG","names":[],"sources":["/opt/agent/work/649c11185a3798db/packages/ts/frontend/src/index.ts"],"sourcesContent":["export * from './Authentication.js';\nexport * from './Connect.js';\nexport * from './EndpointErrors.js';\nexport { ActionOnLostSubscription, FluxConnection, State } from './FluxConnection.js';\n\n// @ts-expect-error: esbuild injection\n// eslint-disable-next-line @typescript-eslint/no-unsafe-call\n((feature, vaadinObj = (globalThis.Vaadin ??= {})) => {\n vaadinObj.registrations ??= [];\n vaadinObj.registrations.push({\n is: feature ? `@vaadin/hilla-frontend/${feature}` : '@vaadin/hilla-frontend',\n version: '25.
|
|
1
|
+
{"mappings":"AAAA;AACA;AACA;AACA,SAAS,0BAA0B,gBAAgB;AAInD,CAAC,CAAC,SAAS,YAAa,WAAW,WAAW,CAAE,MAAM;AACpD,WAAU,kBAAkB,CAAE;AAC9B,WAAU,cAAc,KAAK;EAC3B,IAAI,WAAW,yBAAyB,QAAQ,IAAI;EACpD,SAAS;CACV,EAAC;AACH,IAAG","names":[],"sources":["/opt/agent/work/649c11185a3798db/packages/ts/frontend/src/index.ts"],"sourcesContent":["export * from './Authentication.js';\nexport * from './Connect.js';\nexport * from './EndpointErrors.js';\nexport { ActionOnLostSubscription, FluxConnection, State } from './FluxConnection.js';\n\n// @ts-expect-error: esbuild injection\n// eslint-disable-next-line @typescript-eslint/no-unsafe-call\n((feature, vaadinObj = (globalThis.Vaadin ??= {})) => {\n vaadinObj.registrations ??= [];\n vaadinObj.registrations.push({\n is: feature ? `@vaadin/hilla-frontend/${feature}` : '@vaadin/hilla-frontend',\n version: '25.3.0-alpha1',\n });\n})();\n"],"version":3}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/hilla-frontend",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.3.0-alpha1",
|
|
4
4
|
"description": "Hilla core frontend utils",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
@@ -62,7 +62,6 @@
|
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@vaadin/common-frontend": "0.0.19",
|
|
66
65
|
"atmosphere.js": "3.1.3",
|
|
67
66
|
"js-cookie": "3.0.7"
|
|
68
67
|
},
|
package/types.d.ts
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Minimal shape of the connection state store that Vaadin Flow exposes on the
|
|
3
|
+
* global `window.Vaadin` object. Hilla only reports loading progress to it; the
|
|
4
|
+
* store itself is provided by Flow at runtime (it is not created by Hilla).
|
|
5
|
+
*/
|
|
6
|
+
export interface ConnectionStateStore {
|
|
7
|
+
loadingStarted(): void;
|
|
8
|
+
loadingFinished(): void;
|
|
9
|
+
loadingFailed(): void;
|
|
10
|
+
}
|
|
2
11
|
export interface VaadinRegistration {
|
|
3
12
|
readonly is: string;
|
|
4
13
|
readonly version?: string;
|
|
@@ -8,7 +17,6 @@ export interface VaadinFlow {
|
|
|
8
17
|
}
|
|
9
18
|
export interface Vaadin {
|
|
10
19
|
readonly Flow?: VaadinFlow;
|
|
11
|
-
readonly connectionIndicator?: ConnectionIndicator;
|
|
12
20
|
readonly connectionState?: ConnectionStateStore;
|
|
13
21
|
registrations?: VaadinRegistration[];
|
|
14
22
|
}
|