@foldkit/devtools 0.156.0-canary.f26af9919036 → 0.156.0-canary.ff1c88cd2f65
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/overlay.d.ts.map +1 -1
- package/dist/overlay.js +6 -6
- package/package.json +7 -6
package/dist/overlay.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../src/overlay.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,OAAO,EACP,MAAM,EAEN,OAAO,EAGP,MAAM,EAKN,MAAM,EAGN,eAAe,EAEhB,MAAM,QAAQ,CAAA;AAGf,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAA;AAC1C,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,aAAa,EAGlB,KAAK,WAAW,EAChB,KAAK,UAAU,EAKhB,MAAM,uBAAuB,CAAA;AAU9B,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../src/overlay.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,OAAO,EACP,MAAM,EAEN,OAAO,EAGP,MAAM,EAKN,MAAM,EAGN,eAAe,EAEhB,MAAM,QAAQ,CAAA;AAGf,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAA;AAC1C,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,aAAa,EAGlB,KAAK,WAAW,EAChB,KAAK,UAAU,EAKhB,MAAM,uBAAuB,CAAA;AAU9B,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;;;;;;;;;;;;;;;;;;;AAqWrE,cAAM,YAAa,SAAQ,iBAE1B;CAAG;;AAEJ,cAAM,iBAAkB,SAAQ,sBAGC;CAAG;AAEpC,eAAO,MAAM,UAAU;;iBAGrB,CAAA;AAEF,eAAO,MAAM,YAAY;;iBAGvB,CAAA;AAoCF,eAAO,MAAM,oBAAoB;;;;;iBAkB/B,CAAA;AAuBF,eAAO,MAAM,gBAAgB;;;;;;;;wBAS3B,CAAA;AAEF,eAAO,MAAM,YAAY;;;;;;;;wBAIvB,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;wBAOxB,CAAA;AAEF,eAAO,MAAM,MAAM;;wBAOjB,CAAA;AAEF,eAAO,MAAM,KAAK;;wBAOhB,CAAA;AAEF,eAAO,MAAM,WAAW;;6BAUtB,CAAA;AA86DF,eAAO,MAAM,aAAa,UACjB,aAAa,YACV,gBAAgB,QACpB,YAAY,eACL,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,6DAmFhC,CAAA"}
|
package/dist/overlay.js
CHANGED
|
@@ -209,11 +209,11 @@ const objectPreview = (value) => __foldkitBrandViewResult((pipe(value, Record.ke
|
|
|
209
209
|
},
|
|
210
210
|
}))), "@foldkit/devtools/overlay.js#objectPreview");
|
|
211
211
|
const collapsedPreview = (value) => __foldkitBrandViewResult((Match.value(value).pipe(Match.when(globalThis.Array.isArray, array => __foldkitBrandViewResult((`(${array.length})`), "@foldkit/devtools/overlay.js#anonymous~11")), Match.when(Predicate.isObject, objectPreview), Match.orElse(() => __foldkitBrandViewResult((''), "@foldkit/devtools/overlay.js#anonymous~12")))), "@foldkit/devtools/overlay.js#collapsedPreview");
|
|
212
|
-
const foldInspectorTabsOutMessage =
|
|
212
|
+
const foldInspectorTabsOutMessage = Tabs.OutMessage.match({
|
|
213
213
|
Selected: ({ value }) => __foldkitBrandViewResult((model => (__foldkitBrandViewResult(({
|
|
214
214
|
model: evo(model, { activeInspectorTab: () => __foldkitBrandViewResult((value), "@foldkit/devtools/overlay.js#activeInspectorTab") }),
|
|
215
215
|
}), "@foldkit/devtools/overlay.js#anonymous~13"))), "@foldkit/devtools/overlay.js#Selected"),
|
|
216
|
-
})
|
|
216
|
+
});
|
|
217
217
|
const foldInspectorTabs = Update.foldChild({
|
|
218
218
|
update: InspectorTabs.update,
|
|
219
219
|
read: (model) => __foldkitBrandViewResult((Option.some(model.inspectorTabs)), "@foldkit/devtools/overlay.js#read"),
|
|
@@ -221,13 +221,13 @@ const foldInspectorTabs = Update.foldChild({
|
|
|
221
221
|
toParentMessage: message => __foldkitBrandViewResult((Message.GotInspectorTabsMessage({ message })), "@foldkit/devtools/overlay.js#toParentMessage"),
|
|
222
222
|
foldOutMessage: foldInspectorTabsOutMessage,
|
|
223
223
|
});
|
|
224
|
-
const foldSubmodelFilterOutMessage =
|
|
224
|
+
const foldSubmodelFilterOutMessage = Listbox.OutMessage.match({
|
|
225
225
|
Selected: ({ value }) => __foldkitBrandViewResult((model => (__foldkitBrandViewResult(({
|
|
226
226
|
model: evo(model, {
|
|
227
227
|
maybeSubmodelFilter: () => __foldkitBrandViewResult((Option.liftPredicate(value, String.isNonEmpty)), "@foldkit/devtools/overlay.js#maybeSubmodelFilter"),
|
|
228
228
|
}),
|
|
229
229
|
}), "@foldkit/devtools/overlay.js#anonymous~14"))), "@foldkit/devtools/overlay.js#Selected~2"),
|
|
230
|
-
})
|
|
230
|
+
});
|
|
231
231
|
const foldSubmodelFilter = Update.foldChild({
|
|
232
232
|
update: SubmodelFilterListbox.update,
|
|
233
233
|
read: (model) => __foldkitBrandViewResult((Option.some(model.submodelFilterListbox)), "@foldkit/devtools/overlay.js#read~2"),
|
|
@@ -240,14 +240,14 @@ const foldSubmodelFilter = Update.foldChild({
|
|
|
240
240
|
// NOTE: Pointer Messages update the thumb immediately, but jumping to and
|
|
241
241
|
// inspecting the corresponding state is expensive. Keep only the latest host
|
|
242
242
|
// index until TickedScrubFrame flushes one navigation on the next frame.
|
|
243
|
-
const foldScrubberSliderOutMessage =
|
|
243
|
+
const foldScrubberSliderOutMessage = Slider.OutMessage.match({
|
|
244
244
|
ChangedValue: ({ value }) => __foldkitBrandViewResult((model => (__foldkitBrandViewResult(({
|
|
245
245
|
model: evo(model, {
|
|
246
246
|
scrubberValue: () => __foldkitBrandViewResult((value), "@foldkit/devtools/overlay.js#scrubberValue"),
|
|
247
247
|
maybePendingScrubIndex: () => __foldkitBrandViewResult((Option.some(sliderValueToHostIndex(value, model.startIndex))), "@foldkit/devtools/overlay.js#maybePendingScrubIndex"),
|
|
248
248
|
}),
|
|
249
249
|
}), "@foldkit/devtools/overlay.js#anonymous~15"))), "@foldkit/devtools/overlay.js#ChangedValue"),
|
|
250
|
-
})
|
|
250
|
+
});
|
|
251
251
|
const foldScrubberSlider = Update.foldChild({
|
|
252
252
|
update: Slider.update,
|
|
253
253
|
read: (model) => __foldkitBrandViewResult((Option.some(model.scrubberSlider)), "@foldkit/devtools/overlay.js#read~3"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foldkit/devtools",
|
|
3
|
-
"version": "0.156.0-canary.
|
|
3
|
+
"version": "0.156.0-canary.ff1c88cd2f65",
|
|
4
4
|
"description": "In-browser DevTools overlay for Foldkit applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
],
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"@effect/platform-browser": "4.0.0-rc.112",
|
|
18
|
-
"@foldkit/ui": "0.156.0-canary.
|
|
18
|
+
"@foldkit/ui": "0.156.0-canary.ff1c88cd2f65",
|
|
19
19
|
"effect": "4.0.0-rc.112",
|
|
20
|
-
"foldkit": "0.156.0-canary.
|
|
20
|
+
"foldkit": "0.156.0-canary.ff1c88cd2f65"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"clsx": "^2.1.1"
|
|
@@ -25,12 +25,13 @@
|
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@effect/platform-browser": "4.0.0-rc.112",
|
|
27
27
|
"effect": "4.0.0-rc.112",
|
|
28
|
+
"happy-dom": "^20.11.13",
|
|
28
29
|
"rimraf": "^6.1.3",
|
|
29
30
|
"typescript": "^7.0.2",
|
|
30
31
|
"vitest": "^4.1.11",
|
|
31
|
-
"@foldkit/ui": "0.156.0-canary.
|
|
32
|
-
"@foldkit/vite-plugin": "0.20.0-canary.
|
|
33
|
-
"foldkit": "0.156.0-canary.
|
|
32
|
+
"@foldkit/ui": "0.156.0-canary.ff1c88cd2f65",
|
|
33
|
+
"@foldkit/vite-plugin": "0.20.0-canary.ff1c88cd2f65",
|
|
34
|
+
"foldkit": "0.156.0-canary.ff1c88cd2f65"
|
|
34
35
|
},
|
|
35
36
|
"keywords": [
|
|
36
37
|
"foldkit",
|