@solid-labs/fab-one-widget 0.1.7 → 0.1.9
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/{GirthManagerWidget-C5L2H3Y2.js → GirthManagerWidget-CaXgi08X.js} +941 -972
- package/dist/{GirthManagerWidget-C5L2H3Y2.js.map → GirthManagerWidget-CaXgi08X.js.map} +1 -1
- package/dist/geo_wasm.d.ts +529 -0
- package/dist/geo_wasm.js +1686 -0
- package/dist/geo_wasm_bg.wasm +0 -0
- package/dist/girth-manager-web-widget/src/GirthManagerWidget.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/web-component.js +1 -1
- package/package.json +8 -3
|
Binary file
|
|
@@ -5,7 +5,7 @@ export interface GirthManagerWidgetProps {
|
|
|
5
5
|
request: WidgetRequest;
|
|
6
6
|
/** Called when "Continue to Next Step" is clicked with the full response payload */
|
|
7
7
|
onComplete?: (response: WidgetResponse) => void;
|
|
8
|
-
/** Pre-loaded WASM module.
|
|
8
|
+
/** Pre-loaded WASM module. Must be loaded and initialized before passing. */
|
|
9
9
|
wasmModule?: WasmModule | null;
|
|
10
10
|
}
|
|
11
|
-
export declare const GirthManagerWidget: ({ request, onComplete, wasmModule
|
|
11
|
+
export declare const GirthManagerWidget: ({ request, onComplete, wasmModule }: GirthManagerWidgetProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/index.js
CHANGED
package/dist/web-component.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElement as s } from "react";
|
|
2
2
|
import { createRoot as i } from "react-dom/client";
|
|
3
|
-
import { G as o } from "./GirthManagerWidget-
|
|
3
|
+
import { G as o } from "./GirthManagerWidget-CaXgi08X.js";
|
|
4
4
|
class n extends HTMLElement {
|
|
5
5
|
constructor() {
|
|
6
6
|
super(...arguments), this._root = null, this._request = null, this._wasmModule = void 0, this._handleComplete = (e) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solid-labs/fab-one-widget",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/girth-manager-web-widget/src/index.d.ts",
|
|
@@ -12,14 +12,19 @@
|
|
|
12
12
|
"./web-component": {
|
|
13
13
|
"import": "./dist/web-component.js",
|
|
14
14
|
"types": "./dist/girth-manager-web-widget/src/web-component.d.ts"
|
|
15
|
-
}
|
|
15
|
+
},
|
|
16
|
+
"./wasm": {
|
|
17
|
+
"import": "./dist/geo_wasm.js",
|
|
18
|
+
"types": "./dist/geo_wasm.d.ts"
|
|
19
|
+
},
|
|
20
|
+
"./wasm/geo_wasm_bg.wasm": "./dist/geo_wasm_bg.wasm"
|
|
16
21
|
},
|
|
17
22
|
"files": [
|
|
18
23
|
"dist"
|
|
19
24
|
],
|
|
20
25
|
"scripts": {
|
|
21
26
|
"dev": "vite",
|
|
22
|
-
"build": "vite build && tsc --emitDeclarationOnly",
|
|
27
|
+
"build": "vite build && tsc --emitDeclarationOnly && cp ../wasm/galileo-core-geo/pkg/geo_wasm_bg.wasm ../wasm/galileo-core-geo/pkg/geo_wasm.js ../wasm/galileo-core-geo/pkg/geo_wasm.d.ts dist/",
|
|
23
28
|
"preview": "vite preview",
|
|
24
29
|
"typecheck": "tsc --noEmit"
|
|
25
30
|
},
|