@oddsquad/vite-plugin-lit 0.6.1 → 0.8.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.
Files changed (292) hide show
  1. package/CHANGELOG.md +68 -0
  2. package/LICENSE +1 -1
  3. package/README.md +40 -17
  4. package/bin.mjs +89 -13
  5. package/client.d.ts +0 -6
  6. package/dist/client/assets/{browser-agent-rpc-BXhoSh1z-F2EfZsFX.js → browser-agent-rpc-BXhoSh1z-ybEeG-x9.js} +2 -2
  7. package/dist/client/assets/{browser-agent-rpc-BXhoSh1z-F2EfZsFX.js.map → browser-agent-rpc-BXhoSh1z-ybEeG-x9.js.map} +1 -1
  8. package/dist/client/assets/{index-B2HYO7lk.js → index-CgkhETVR.js} +22 -145
  9. package/dist/client/assets/index-CgkhETVR.js.map +1 -0
  10. package/dist/client/index.html +1 -1
  11. package/dist/standalone/lit-devtools.js +6717 -0
  12. package/index.d.ts +0 -5
  13. package/index.d.ts.map +1 -1
  14. package/index.js +1 -5
  15. package/index.js.map +1 -1
  16. package/lib/color-scheme.d.ts +0 -5
  17. package/lib/color-scheme.d.ts.map +1 -1
  18. package/lib/color-scheme.js +0 -5
  19. package/lib/color-scheme.js.map +1 -1
  20. package/lib/confine.d.ts +0 -5
  21. package/lib/confine.d.ts.map +1 -1
  22. package/lib/confine.js +0 -5
  23. package/lib/confine.js.map +1 -1
  24. package/lib/devframe/allowed-origins.d.ts +21 -0
  25. package/lib/devframe/allowed-origins.d.ts.map +1 -0
  26. package/lib/devframe/allowed-origins.js +58 -0
  27. package/lib/devframe/allowed-origins.js.map +1 -0
  28. package/lib/devframe/definition.d.ts +7 -3
  29. package/lib/devframe/definition.d.ts.map +1 -1
  30. package/lib/devframe/definition.js +1 -6
  31. package/lib/devframe/definition.js.map +1 -1
  32. package/lib/devframe/icon.d.ts +0 -5
  33. package/lib/devframe/icon.d.ts.map +1 -1
  34. package/lib/devframe/icon.js +0 -5
  35. package/lib/devframe/icon.js.map +1 -1
  36. package/lib/devframe/launch-editor.d.ts +0 -5
  37. package/lib/devframe/launch-editor.d.ts.map +1 -1
  38. package/lib/devframe/launch-editor.js +0 -5
  39. package/lib/devframe/launch-editor.js.map +1 -1
  40. package/lib/devframe/paths.d.ts +8 -3
  41. package/lib/devframe/paths.d.ts.map +1 -1
  42. package/lib/devframe/paths.js +0 -5
  43. package/lib/devframe/paths.js.map +1 -1
  44. package/lib/devframe/protocol.d.ts +6 -3
  45. package/lib/devframe/protocol.d.ts.map +1 -1
  46. package/lib/devframe/protocol.js +0 -5
  47. package/lib/devframe/protocol.js.map +1 -1
  48. package/lib/devframe/rpc-source.d.ts +15 -3
  49. package/lib/devframe/rpc-source.d.ts.map +1 -1
  50. package/lib/devframe/rpc-source.js +0 -5
  51. package/lib/devframe/rpc-source.js.map +1 -1
  52. package/lib/devframe/source.d.ts +0 -5
  53. package/lib/devframe/source.d.ts.map +1 -1
  54. package/lib/devframe/source.js +7 -3
  55. package/lib/devframe/source.js.map +1 -1
  56. package/lib/devframe/vite.d.ts +0 -5
  57. package/lib/devframe/vite.d.ts.map +1 -1
  58. package/lib/devframe/vite.js +16 -3
  59. package/lib/devframe/vite.js.map +1 -1
  60. package/lib/http.d.ts +0 -5
  61. package/lib/http.d.ts.map +1 -1
  62. package/lib/http.js +0 -5
  63. package/lib/http.js.map +1 -1
  64. package/lib/icons.d.ts +0 -5
  65. package/lib/icons.d.ts.map +1 -1
  66. package/lib/icons.js +0 -5
  67. package/lib/icons.js.map +1 -1
  68. package/lib/options.d.ts +26 -5
  69. package/lib/options.d.ts.map +1 -1
  70. package/lib/options.js +19 -5
  71. package/lib/options.js.map +1 -1
  72. package/lib/override-baselines.d.ts +0 -5
  73. package/lib/override-baselines.d.ts.map +1 -1
  74. package/lib/override-baselines.js +0 -5
  75. package/lib/override-baselines.js.map +1 -1
  76. package/lib/plugin.d.ts +0 -5
  77. package/lib/plugin.d.ts.map +1 -1
  78. package/lib/plugin.js +3 -5
  79. package/lib/plugin.js.map +1 -1
  80. package/lib/plugins/css-literals.d.ts +0 -5
  81. package/lib/plugins/css-literals.d.ts.map +1 -1
  82. package/lib/plugins/css-literals.js +0 -5
  83. package/lib/plugins/css-literals.js.map +1 -1
  84. package/lib/plugins/css-queries.d.ts +0 -5
  85. package/lib/plugins/css-queries.d.ts.map +1 -1
  86. package/lib/plugins/css-queries.js +0 -5
  87. package/lib/plugins/css-queries.js.map +1 -1
  88. package/lib/plugins/open-in-editor.d.ts +0 -5
  89. package/lib/plugins/open-in-editor.d.ts.map +1 -1
  90. package/lib/plugins/open-in-editor.js +0 -5
  91. package/lib/plugins/open-in-editor.js.map +1 -1
  92. package/lib/plugins/private-fields.d.ts +22 -0
  93. package/lib/plugins/private-fields.d.ts.map +1 -0
  94. package/lib/plugins/private-fields.js +254 -0
  95. package/lib/plugins/private-fields.js.map +1 -0
  96. package/lib/plugins/shared.d.ts +0 -5
  97. package/lib/plugins/shared.d.ts.map +1 -1
  98. package/lib/plugins/shared.js +0 -5
  99. package/lib/plugins/shared.js.map +1 -1
  100. package/lib/plugins/timeline-virtual.d.ts +0 -5
  101. package/lib/plugins/timeline-virtual.d.ts.map +1 -1
  102. package/lib/plugins/timeline-virtual.js +0 -5
  103. package/lib/plugins/timeline-virtual.js.map +1 -1
  104. package/lib/runtime/child-state.d.ts +95 -0
  105. package/lib/runtime/child-state.d.ts.map +1 -0
  106. package/lib/runtime/child-state.js +461 -0
  107. package/lib/runtime/child-state.js.map +1 -0
  108. package/lib/runtime/css.d.ts +14 -3
  109. package/lib/runtime/css.d.ts.map +1 -1
  110. package/lib/runtime/css.js +3 -5
  111. package/lib/runtime/css.js.map +1 -1
  112. package/lib/runtime/edge-panel.d.ts +8 -3
  113. package/lib/runtime/edge-panel.d.ts.map +1 -1
  114. package/lib/runtime/edge-panel.js +0 -5
  115. package/lib/runtime/edge-panel.js.map +1 -1
  116. package/lib/runtime/fonts.d.ts +0 -5
  117. package/lib/runtime/fonts.d.ts.map +1 -1
  118. package/lib/runtime/fonts.js +0 -5
  119. package/lib/runtime/fonts.js.map +1 -1
  120. package/lib/runtime/indicator.d.ts +3 -3
  121. package/lib/runtime/indicator.js +0 -5
  122. package/lib/runtime/indicator.js.map +1 -1
  123. package/lib/runtime/inspector/collect.d.ts +3 -3
  124. package/lib/runtime/inspector/collect.d.ts.map +1 -1
  125. package/lib/runtime/inspector/collect.js +0 -5
  126. package/lib/runtime/inspector/collect.js.map +1 -1
  127. package/lib/runtime/inspector/highlight.d.ts +10 -3
  128. package/lib/runtime/inspector/highlight.d.ts.map +1 -1
  129. package/lib/runtime/inspector/highlight.js +0 -5
  130. package/lib/runtime/inspector/highlight.js.map +1 -1
  131. package/lib/runtime/inspector/install.d.ts +6 -3
  132. package/lib/runtime/inspector/install.d.ts.map +1 -1
  133. package/lib/runtime/inspector/install.js +4 -6
  134. package/lib/runtime/inspector/install.js.map +1 -1
  135. package/lib/runtime/inspector/serialize.d.ts +4 -3
  136. package/lib/runtime/inspector/serialize.d.ts.map +1 -1
  137. package/lib/runtime/inspector/serialize.js +0 -5
  138. package/lib/runtime/inspector/serialize.js.map +1 -1
  139. package/lib/runtime/intern.d.ts +11 -3
  140. package/lib/runtime/intern.d.ts.map +1 -1
  141. package/lib/runtime/intern.js +11 -3
  142. package/lib/runtime/intern.js.map +1 -1
  143. package/lib/runtime/overrides.d.ts +3 -3
  144. package/lib/runtime/overrides.d.ts.map +1 -1
  145. package/lib/runtime/overrides.js +0 -5
  146. package/lib/runtime/overrides.js.map +1 -1
  147. package/lib/runtime/page-channel.d.ts +0 -5
  148. package/lib/runtime/page-channel.d.ts.map +1 -1
  149. package/lib/runtime/page-channel.js +13 -3
  150. package/lib/runtime/page-channel.js.map +1 -1
  151. package/lib/runtime/patch.d.ts +22 -3
  152. package/lib/runtime/patch.d.ts.map +1 -1
  153. package/lib/runtime/patch.js +22 -6
  154. package/lib/runtime/patch.js.map +1 -1
  155. package/lib/runtime/rpc-transport.d.ts +21 -3
  156. package/lib/runtime/rpc-transport.d.ts.map +1 -1
  157. package/lib/runtime/rpc-transport.js +4 -5
  158. package/lib/runtime/rpc-transport.js.map +1 -1
  159. package/lib/runtime/source-meta.d.ts +0 -5
  160. package/lib/runtime/source-meta.d.ts.map +1 -1
  161. package/lib/runtime/source-meta.js +0 -5
  162. package/lib/runtime/source-meta.js.map +1 -1
  163. package/lib/runtime/source-overlay/editors.d.ts +0 -5
  164. package/lib/runtime/source-overlay/editors.d.ts.map +1 -1
  165. package/lib/runtime/source-overlay/editors.js +9 -9
  166. package/lib/runtime/source-overlay/editors.js.map +1 -1
  167. package/lib/runtime/source-overlay/mask-path.d.ts +0 -5
  168. package/lib/runtime/source-overlay/mask-path.d.ts.map +1 -1
  169. package/lib/runtime/source-overlay/mask-path.js +0 -5
  170. package/lib/runtime/source-overlay/mask-path.js.map +1 -1
  171. package/lib/runtime/source-overlay/overlay-element.d.ts +0 -5
  172. package/lib/runtime/source-overlay/overlay-element.d.ts.map +1 -1
  173. package/lib/runtime/source-overlay/overlay-element.js +0 -5
  174. package/lib/runtime/source-overlay/overlay-element.js.map +1 -1
  175. package/lib/runtime/source-overlay/source-host.d.ts +0 -5
  176. package/lib/runtime/source-overlay/source-host.d.ts.map +1 -1
  177. package/lib/runtime/source-overlay/source-host.js +0 -5
  178. package/lib/runtime/source-overlay/source-host.js.map +1 -1
  179. package/lib/runtime/source-overlay/template.d.ts +0 -5
  180. package/lib/runtime/source-overlay/template.d.ts.map +1 -1
  181. package/lib/runtime/source-overlay/template.js +0 -5
  182. package/lib/runtime/source-overlay/template.js.map +1 -1
  183. package/lib/runtime/source-overlay.d.ts +0 -5
  184. package/lib/runtime/source-overlay.d.ts.map +1 -1
  185. package/lib/runtime/source-overlay.js +0 -5
  186. package/lib/runtime/source-overlay.js.map +1 -1
  187. package/lib/runtime/standalone.d.ts +22 -0
  188. package/lib/runtime/standalone.d.ts.map +1 -0
  189. package/lib/runtime/standalone.js +45 -0
  190. package/lib/runtime/standalone.js.map +1 -0
  191. package/lib/runtime/timeline/chrome-tracks.d.ts +0 -5
  192. package/lib/runtime/timeline/chrome-tracks.d.ts.map +1 -1
  193. package/lib/runtime/timeline/chrome-tracks.js +5 -3
  194. package/lib/runtime/timeline/chrome-tracks.js.map +1 -1
  195. package/lib/runtime/timeline/clock.d.ts +7 -3
  196. package/lib/runtime/timeline/clock.d.ts.map +1 -1
  197. package/lib/runtime/timeline/clock.js +0 -5
  198. package/lib/runtime/timeline/clock.js.map +1 -1
  199. package/lib/runtime/timeline/flash.d.ts +0 -5
  200. package/lib/runtime/timeline/flash.d.ts.map +1 -1
  201. package/lib/runtime/timeline/flash.js +15 -3
  202. package/lib/runtime/timeline/flash.js.map +1 -1
  203. package/lib/runtime/timeline/identity.d.ts +0 -5
  204. package/lib/runtime/timeline/identity.d.ts.map +1 -1
  205. package/lib/runtime/timeline/identity.js +9 -3
  206. package/lib/runtime/timeline/identity.js.map +1 -1
  207. package/lib/runtime/timeline/input.d.ts +0 -5
  208. package/lib/runtime/timeline/input.d.ts.map +1 -1
  209. package/lib/runtime/timeline/input.js +2 -3
  210. package/lib/runtime/timeline/input.js.map +1 -1
  211. package/lib/runtime/timeline/install.d.ts +11 -3
  212. package/lib/runtime/timeline/install.d.ts.map +1 -1
  213. package/lib/runtime/timeline/install.js +4 -7
  214. package/lib/runtime/timeline/install.js.map +1 -1
  215. package/lib/runtime/timeline/lifecycle.d.ts +13 -3
  216. package/lib/runtime/timeline/lifecycle.d.ts.map +1 -1
  217. package/lib/runtime/timeline/lifecycle.js +5 -6
  218. package/lib/runtime/timeline/lifecycle.js.map +1 -1
  219. package/lib/runtime/timeline/public-api.d.ts +6 -3
  220. package/lib/runtime/timeline/public-api.d.ts.map +1 -1
  221. package/lib/runtime/timeline/public-api.js +0 -5
  222. package/lib/runtime/timeline/public-api.js.map +1 -1
  223. package/lib/runtime/timeline/render.d.ts +0 -5
  224. package/lib/runtime/timeline/render.d.ts.map +1 -1
  225. package/lib/runtime/timeline/render.js +21 -3
  226. package/lib/runtime/timeline/render.js.map +1 -1
  227. package/lib/runtime/timeline/transport.d.ts +0 -5
  228. package/lib/runtime/timeline/transport.d.ts.map +1 -1
  229. package/lib/runtime/timeline/transport.js +10 -3
  230. package/lib/runtime/timeline/transport.js.map +1 -1
  231. package/lib/segmented-tabs.d.ts +0 -5
  232. package/lib/segmented-tabs.d.ts.map +1 -1
  233. package/lib/segmented-tabs.js +0 -5
  234. package/lib/segmented-tabs.js.map +1 -1
  235. package/lib/snapshot.d.ts +11 -3
  236. package/lib/snapshot.d.ts.map +1 -1
  237. package/lib/snapshot.js +0 -5
  238. package/lib/snapshot.js.map +1 -1
  239. package/lib/source-meta.d.ts +0 -5
  240. package/lib/source-meta.d.ts.map +1 -1
  241. package/lib/source-meta.js +0 -5
  242. package/lib/source-meta.js.map +1 -1
  243. package/lib/timeline/derive.d.ts +0 -5
  244. package/lib/timeline/derive.d.ts.map +1 -1
  245. package/lib/timeline/derive.js +22 -3
  246. package/lib/timeline/derive.js.map +1 -1
  247. package/lib/timeline/filter.d.ts +0 -5
  248. package/lib/timeline/filter.d.ts.map +1 -1
  249. package/lib/timeline/filter.js +6 -3
  250. package/lib/timeline/filter.js.map +1 -1
  251. package/lib/timeline/tracks.d.ts +0 -5
  252. package/lib/timeline/tracks.d.ts.map +1 -1
  253. package/lib/timeline/tracks.js +12 -3
  254. package/lib/timeline/tracks.js.map +1 -1
  255. package/lib/tokens.d.ts +0 -5
  256. package/lib/tokens.d.ts.map +1 -1
  257. package/lib/tokens.js +0 -5
  258. package/lib/tokens.js.map +1 -1
  259. package/lib/transform.d.ts +0 -5
  260. package/lib/transform.d.ts.map +1 -1
  261. package/lib/transform.js +0 -5
  262. package/lib/transform.js.map +1 -1
  263. package/lib/types.d.ts +10 -5
  264. package/lib/types.d.ts.map +1 -1
  265. package/lib/types.js +0 -5
  266. package/lib/types.js.map +1 -1
  267. package/lib/wrap-table.d.ts +0 -5
  268. package/lib/wrap-table.d.ts.map +1 -1
  269. package/lib/wrap-table.js +12 -3
  270. package/lib/wrap-table.js.map +1 -1
  271. package/package.json +14 -10
  272. package/types/hmr-incompatibility.d.ts +0 -5
  273. package/types/hmr-incompatibility.d.ts.map +1 -1
  274. package/types/hmr-incompatibility.js +13 -3
  275. package/types/hmr-incompatibility.js.map +1 -1
  276. package/types/in-page.d.ts +0 -5
  277. package/types/in-page.d.ts.map +1 -1
  278. package/types/in-page.js +0 -5
  279. package/types/in-page.js.map +1 -1
  280. package/types/inspector.d.ts +0 -5
  281. package/types/inspector.d.ts.map +1 -1
  282. package/types/inspector.js +13 -3
  283. package/types/inspector.js.map +1 -1
  284. package/types/snapshot.d.ts +0 -5
  285. package/types/snapshot.d.ts.map +1 -1
  286. package/types/snapshot.js +12 -3
  287. package/types/snapshot.js.map +1 -1
  288. package/types/timeline.d.ts +4 -6
  289. package/types/timeline.d.ts.map +1 -1
  290. package/types/timeline.js +0 -5
  291. package/types/timeline.js.map +1 -1
  292. package/dist/client/assets/index-B2HYO7lk.js.map +0 -1
@@ -744,11 +744,6 @@ var e$4 = (e, t, c) => (c.configurable = !0, c.enumerable = !0, Reflect.decorate
744
744
  //#endregion
745
745
  //#region src/lib/tokens.ts
746
746
  /**
747
- * @license
748
- * Copyright 2026 Google LLC
749
- * SPDX-License-Identifier: BSD-3-Clause
750
- */
751
- /**
752
747
  * Design token CSS custom properties for the Lit DevTools.
753
748
  *
754
749
  * Two entry points:
@@ -1013,11 +1008,6 @@ var injectTokens = (options) => {
1013
1008
  };
1014
1009
  //#endregion
1015
1010
  //#region src/lib/color-scheme.ts
1016
- /**
1017
- * @license
1018
- * Copyright 2026 Google LLC
1019
- * SPDX-License-Identifier: BSD-3-Clause
1020
- */
1021
1011
  /** localStorage key for the panel UI color-scheme preference. */
1022
1012
  var COLOR_SCHEME_LS_KEY = "lit-devtools-color-scheme";
1023
1013
  /** Read the saved preference, defaulting to `auto`. */
@@ -1199,11 +1189,6 @@ var n = e$1(class extends f {
1199
1189
  });
1200
1190
  //#endregion
1201
1191
  //#region src/lib/timeline/derive.ts
1202
- /**
1203
- * @license
1204
- * Copyright 2026 Google LLC
1205
- * SPDX-License-Identifier: BSD-3-Clause
1206
- */
1207
1192
  /** Layer whose events describe Lit update ticks. */
1208
1193
  var LIFECYCLE_LAYER_ID = "lit-lifecycle";
1209
1194
  /** Layers whose events are developer input, for {@link attributeInput}. */
@@ -1410,11 +1395,6 @@ var attributeInput = (cycles, events, windowMs = 200) => {
1410
1395
  //#endregion
1411
1396
  //#region src/lib/timeline/filter.ts
1412
1397
  /**
1413
- * @license
1414
- * Copyright 2026 Google LLC
1415
- * SPDX-License-Identifier: BSD-3-Clause
1416
- */
1417
- /**
1418
1398
  * Compiles the regex box. An empty box matches everything. A pattern that
1419
1399
  * does not compile (the user is mid-typing `foo(`) disables the filter rather
1420
1400
  * than hiding every row, and is reported as `invalid` so the input can say so.
@@ -1457,7 +1437,7 @@ var listElements = (events) => {
1457
1437
  }));
1458
1438
  };
1459
1439
  //#endregion
1460
- //#region \0@oxc-project+runtime@0.149.0/helpers/esm/decorate.js
1440
+ //#region \0@oxc-project+runtime@0.151.0/helpers/esm/decorate.js
1461
1441
  function __decorate(decorators, target, key, desc) {
1462
1442
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1463
1443
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -1466,11 +1446,6 @@ function __decorate(decorators, target, key, desc) {
1466
1446
  }
1467
1447
  //#endregion
1468
1448
  //#region src/lib/segmented-tabs.ts
1469
- /**
1470
- * @license
1471
- * Copyright 2026 Google LLC
1472
- * SPDX-License-Identifier: BSD-3-Clause
1473
- */
1474
1449
  var SegmentedTabs = class SegmentedTabs extends i$2 {
1475
1450
  static {
1476
1451
  this.styles = [tokens, i$5`
@@ -1581,11 +1556,6 @@ __decorate([n$3()], SegmentedTabs.prototype, "size", void 0);
1581
1556
  SegmentedTabs = __decorate([t$2("segmented-tabs")], SegmentedTabs);
1582
1557
  //#endregion
1583
1558
  //#region src/panel/timeline-layers.ts
1584
- /**
1585
- * @license
1586
- * Copyright 2026 Google LLC
1587
- * SPDX-License-Identifier: BSD-3-Clause
1588
- */
1589
1559
  /** A layer's `0xRRGGBB` colour as a CSS hex string. */
1590
1560
  var hexColor = (color) => "#" + color.toString(16).padStart(6, "0");
1591
1561
  /** CSS colour of layer `id`, grey for a layer `layers` does not know. */
@@ -7016,7 +6986,7 @@ async function getDevframeRpcClient(options = {}) {
7016
6986
  bootstrapAuthSettled = true;
7017
6987
  });
7018
6988
  if (connectionMeta.mcp) __vitePreload(async () => {
7019
- const { setupBrowserAgentRpcBridge } = await import("./browser-agent-rpc-BXhoSh1z-F2EfZsFX.js");
6989
+ const { setupBrowserAgentRpcBridge } = await import("./browser-agent-rpc-BXhoSh1z-ybEeG-x9.js");
7020
6990
  return { setupBrowserAgentRpcBridge };
7021
6991
  }, [], import.meta.url).then(({ setupBrowserAgentRpcBridge }) => {
7022
6992
  if (!closed) disposeBrowserAgentBridge = setupBrowserAgentRpcBridge(rpc);
@@ -7030,11 +7000,6 @@ var connectDevframe = getDevframeRpcClient;
7030
7000
  //#endregion
7031
7001
  //#region src/types/timeline.ts
7032
7002
  /**
7033
- * @license
7034
- * Copyright 2026 Google LLC
7035
- * SPDX-License-Identifier: BSD-3-Clause
7036
- */
7037
- /**
7038
7003
  * Built-in editors the source overlay can open files in. Keep in sync with
7039
7004
  * BUILTIN_EDITORS in lib/runtime/source-overlay/editors.ts.
7040
7005
  */
@@ -7066,11 +7031,6 @@ var SETTINGS_OVERRIDE_LS_KEY = "lit-devtools-overrides";
7066
7031
  var OVERRIDE_BASELINES_LS_KEY = "lit-devtools-override-baselines";
7067
7032
  //#endregion
7068
7033
  //#region src/lib/devframe/protocol.ts
7069
- /**
7070
- * @license
7071
- * Copyright 2026 Google LLC
7072
- * SPDX-License-Identifier: BSD-3-Clause
7073
- */
7074
7034
  /** Shared-state key holding the {@link SessionState} snapshot. */
7075
7035
  var SESSION_STATE_KEY = "session";
7076
7036
  /**
@@ -7087,11 +7047,6 @@ var LAYER_FLAGS = {
7087
7047
  //#endregion
7088
7048
  //#region src/panel/client.ts
7089
7049
  /**
7090
- * @license
7091
- * Copyright 2026 Google LLC
7092
- * SPDX-License-Identifier: BSD-3-Clause
7093
- */
7094
- /**
7095
7050
  * The panel's single connection to the node side.
7096
7051
  *
7097
7052
  * The panel is served by the devframe host as a static SPA, so
@@ -7153,11 +7108,6 @@ var describeError = (error) => {
7153
7108
  //#endregion
7154
7109
  //#region src/panel/open-in-editor.ts
7155
7110
  /**
7156
- * @license
7157
- * Copyright 2026 Google LLC
7158
- * SPDX-License-Identifier: BSD-3-Clause
7159
- */
7160
- /**
7161
7111
  * Opening a source location from the panel.
7162
7112
  *
7163
7113
  * Two paths, in order:
@@ -7207,11 +7157,6 @@ var openInEditor = async (file, line) => {
7207
7157
  };
7208
7158
  //#endregion
7209
7159
  //#region src/panel/timeline-span-detail.ts
7210
- /**
7211
- * @license
7212
- * Copyright 2026 Google LLC
7213
- * SPDX-License-Identifier: BSD-3-Clause
7214
- */
7215
7160
  var TimelineSpanDetail = class TimelineSpanDetail extends i$2 {
7216
7161
  constructor(..._args) {
7217
7162
  super(..._args);
@@ -7334,11 +7279,6 @@ __decorate([n$3({ type: Boolean })], TimelineSpanDetail.prototype, "filterable",
7334
7279
  TimelineSpanDetail = __decorate([t$2("timeline-span-detail")], TimelineSpanDetail);
7335
7280
  //#endregion
7336
7281
  //#region src/panel/timeline-event-list.ts
7337
- /**
7338
- * @license
7339
- * Copyright 2026 Google LLC
7340
- * SPDX-License-Identifier: BSD-3-Clause
7341
- */
7342
7282
  var RAW_KEY_PREFIX = "raw:";
7343
7283
  /** Whether `key` names a Raw-mode row rather than a collapsed span. */
7344
7284
  var isRawKey = (key) => key.startsWith(RAW_KEY_PREFIX);
@@ -7621,11 +7561,6 @@ TimelineEventList = __decorate([t$2("timeline-event-list")], TimelineEventList);
7621
7561
  //#endregion
7622
7562
  //#region src/lib/timeline/tracks.ts
7623
7563
  /**
7624
- * @license
7625
- * Copyright 2026 Google LLC
7626
- * SPDX-License-Identifier: BSD-3-Clause
7627
- */
7628
- /**
7629
7564
  * Where a span stops occupying its row. A point event occupies only its own
7630
7565
  * instant; a span whose end has not arrived (still running, or its end fell
7631
7566
  * out of the buffer) occupies the rest of the recording, because that is
@@ -7795,11 +7730,6 @@ var niceStep = (minMs) => {
7795
7730
  };
7796
7731
  //#endregion
7797
7732
  //#region src/panel/timeline-tracks.ts
7798
- /**
7799
- * @license
7800
- * Copyright 2026 Google LLC
7801
- * SPDX-License-Identifier: BSD-3-Clause
7802
- */
7803
7733
  /** Height of one packed row inside a lane. */
7804
7734
  var ROW_PX = 14;
7805
7735
  /** Marks narrower than this draw as a fixed-width tick, so sub-millisecond
@@ -8176,11 +8106,6 @@ TimelineTracks = __decorate([t$2("timeline-tracks")], TimelineTracks);
8176
8106
  //#endregion
8177
8107
  //#region src/panel/timeline-store.ts
8178
8108
  /**
8179
- * @license
8180
- * Copyright 2026 Google LLC
8181
- * SPDX-License-Identifier: BSD-3-Clause
8182
- */
8183
- /**
8184
8109
  * The panel's single recorded-event buffer.
8185
8110
  *
8186
8111
  * More than one view reads the recording — the Timeline lists it, the Updates
@@ -8304,11 +8229,6 @@ var start = async () => {
8304
8229
  };
8305
8230
  //#endregion
8306
8231
  //#region src/panel/timeline-view.ts
8307
- /**
8308
- * @license
8309
- * Copyright 2026 Google LLC
8310
- * SPDX-License-Identifier: BSD-3-Clause
8311
- */
8312
8232
  /** localStorage key remembering List vs Tracks. */
8313
8233
  var MODE_LS_KEY = "lit-devtools-timeline-mode";
8314
8234
  /** localStorage key remembering which tracks the user hid. Stored as the
@@ -8764,11 +8684,6 @@ TimelineView = __decorate([t$2("timeline-view")], TimelineView);
8764
8684
  //#endregion
8765
8685
  //#region src/types/hmr-incompatibility.ts
8766
8686
  /**
8767
- * @license
8768
- * Copyright 2026 Google LLC
8769
- * SPDX-License-Identifier: BSD-3-Clause
8770
- */
8771
- /**
8772
8687
  * Human-readable text for a reason, shared by the browser console message in
8773
8688
  * `src/lib/runtime/patch.ts` and the DevTools panel's banner so the two can't
8774
8689
  * drift apart. The wording of the first two cases is asserted verbatim by
@@ -9476,11 +9391,6 @@ function connectPanelChannel(options) {
9476
9391
  //#endregion
9477
9392
  //#region src/types/in-page.ts
9478
9393
  /**
9479
- * @license
9480
- * Copyright 2026 Google LLC
9481
- * SPDX-License-Identifier: BSD-3-Clause
9482
- */
9483
- /**
9484
9394
  * The direct page ↔ panel channel, for interactions that never need the node
9485
9395
  * side.
9486
9396
  *
@@ -9510,11 +9420,6 @@ var LIT_IN_PAGE_CHANNEL = "lit:in-page";
9510
9420
  //#endregion
9511
9421
  //#region src/panel/in-page.ts
9512
9422
  /**
9513
- * @license
9514
- * Copyright 2026 Google LLC
9515
- * SPDX-License-Identifier: BSD-3-Clause
9516
- */
9517
- /**
9518
9423
  * The panel end of the direct page channel (see `types/in-page.ts`).
9519
9424
  *
9520
9425
  * Connected lazily, on first use, rather than at panel boot: connecting posts
@@ -9541,11 +9446,6 @@ var inPageConnected = () => inPageChannel().status === "connected";
9541
9446
  //#endregion
9542
9447
  //#region src/panel/settings-override.ts
9543
9448
  /**
9544
- * @license
9545
- * Copyright 2026 Google LLC
9546
- * SPDX-License-Identifier: BSD-3-Clause
9547
- */
9548
- /**
9549
9449
  * The panel's single owner of the {@link SettingsOverride}: what it is right
9550
9450
  * now, how it changes, and who wants to know.
9551
9451
  *
@@ -9698,11 +9598,6 @@ var keepBaseline = (key, current) => {
9698
9598
  };
9699
9599
  //#endregion
9700
9600
  //#region src/panel/components-view.ts
9701
- /**
9702
- * @license
9703
- * Copyright 2026 Google LLC
9704
- * SPDX-License-Identifier: BSD-3-Clause
9705
- */
9706
9601
  /** localStorage key remembering the opt-in live-tree toggle. */
9707
9602
  var LIVE_LS_KEY = "lit-devtools-components-live";
9708
9603
  var ComponentsView = class ComponentsView extends i$2 {
@@ -10401,11 +10296,6 @@ var findAncestors = (nodes, id) => {
10401
10296
  };
10402
10297
  //#endregion
10403
10298
  //#region src/panel/updates-view.ts
10404
- /**
10405
- * @license
10406
- * Copyright 2026 Google LLC
10407
- * SPDX-License-Identifier: BSD-3-Clause
10408
- */
10409
10299
  var UpdatesView = class UpdatesView extends i$2 {
10410
10300
  constructor(..._args) {
10411
10301
  super(..._args);
@@ -10715,11 +10605,6 @@ var renderCause = (cycle) => {
10715
10605
  //#endregion
10716
10606
  //#region src/panel/deep-link.ts
10717
10607
  /**
10718
- * @license
10719
- * Copyright 2026 Google LLC
10720
- * SPDX-License-Identifier: BSD-3-Clause
10721
- */
10722
- /**
10723
10608
  * Addressing a specific view inside the panel.
10724
10609
  *
10725
10610
  * Two arrival paths, because the panel runs in two quite different places:
@@ -10826,11 +10711,6 @@ var onDeepLink = (apply) => {
10826
10711
  //#endregion
10827
10712
  //#region src/lib/override-baselines.ts
10828
10713
  /**
10829
- * @license
10830
- * Copyright 2026 Google LLC
10831
- * SPDX-License-Identifier: BSD-3-Clause
10832
- */
10833
- /**
10834
10714
  * Whether the config value an override was made against has since changed.
10835
10715
  *
10836
10716
  * `recorded` is `undefined` for a legacy override that predates baseline
@@ -10846,11 +10726,6 @@ var baselineChanged = (key, recorded, current) => {
10846
10726
  };
10847
10727
  //#endregion
10848
10728
  //#region src/panel/devtools-settings.ts
10849
- /**
10850
- * @license
10851
- * Copyright 2026 Google LLC
10852
- * SPDX-License-Identifier: BSD-3-Clause
10853
- */
10854
10729
  var DevtoolsSettings = class DevtoolsSettings extends i$2 {
10855
10730
  constructor(..._args) {
10856
10731
  super(..._args);
@@ -11129,6 +11004,7 @@ var DevtoolsSettings = class DevtoolsSettings extends i$2 {
11129
11004
  return {
11130
11005
  hmrReconnect: s.hmr.reconnect,
11131
11006
  hmrOnIncompatible: s.hmr.onIncompatible,
11007
+ hmrChildState: s.hmr.childState,
11132
11008
  hmrIndicatorVisible: s.hmr.indicatorEnabled,
11133
11009
  hmrIndicatorCount: s.hmr.indicatorCount,
11134
11010
  sourceOverlayEditor: s.sourceOverlay.editor
@@ -11241,6 +11117,7 @@ var DevtoolsSettings = class DevtoolsSettings extends i$2 {
11241
11117
  </p>`;
11242
11118
  const reconnect = o.hmrReconnect ?? s.hmr.reconnect;
11243
11119
  const onIncompatible = o.hmrOnIncompatible ?? s.hmr.onIncompatible;
11120
+ const childState = o.hmrChildState ?? s.hmr.childState;
11244
11121
  const indicatorVisible = o.hmrIndicatorVisible ?? s.hmr.indicatorEnabled;
11245
11122
  const indicatorCount = o.hmrIndicatorCount ?? s.hmr.indicatorCount;
11246
11123
  return b`
@@ -11275,6 +11152,23 @@ var DevtoolsSettings = class DevtoolsSettings extends i$2 {
11275
11152
  ${this._ovrSource("hmrOnIncompatible", s.hmr.onIncompatible)}
11276
11153
  </td>
11277
11154
  </tr>
11155
+ <tr>
11156
+ <td class="key">child state</td>
11157
+ <td class="val">
11158
+ <select
11159
+ @change=${(e) => this._set("hmrChildState", e.target.value)}
11160
+ >
11161
+ ${[
11162
+ "transfer",
11163
+ "reuse",
11164
+ "reset"
11165
+ ].map((mode) => b`<option value=${mode} ?selected=${childState === mode}>
11166
+ ${mode}
11167
+ </option>`)}
11168
+ </select>
11169
+ ${this._ovrSource("hmrChildState", s.hmr.childState)}
11170
+ </td>
11171
+ </tr>
11278
11172
  <tr class=${s.hmr.indicatorEnabled ? "" : "row-disabled"}>
11279
11173
  <td class="key">indicator</td>
11280
11174
  <td class="val">
@@ -11467,11 +11361,6 @@ __decorate([r$2()], DevtoolsSettings.prototype, "_colorScheme", void 0);
11467
11361
  DevtoolsSettings = __decorate([t$2("devtools-settings")], DevtoolsSettings);
11468
11362
  //#endregion
11469
11363
  //#region src/lib/icons.ts
11470
- /**
11471
- * @license
11472
- * Copyright 2026 Google LLC
11473
- * SPDX-License-Identifier: BSD-3-Clause
11474
- */
11475
11364
  /** `cube` — Components tab. */
11476
11365
  var CUBE_ICON = "M223.68,66.15,135.68,18h0a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32h0l80.34,44L128,120,47.66,76ZM40,90l80,43.78v85.79L40,175.82Zm96,129.57V133.82L216,90v85.78Z";
11477
11366
  /** `clock` — Timeline tab. */
@@ -11482,11 +11371,6 @@ var NOTIFICATION_ICON = "M216,128v80a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V56A1
11482
11371
  var GEAR_ICON = "M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z";
11483
11372
  //#endregion
11484
11373
  //#region src/panel/lit-devtools-panel.ts
11485
- /**
11486
- * @license
11487
- * Copyright 2026 Google LLC
11488
- * SPDX-License-Identifier: BSD-3-Clause
11489
- */
11490
11374
  injectTokens({ colorScheme: true });
11491
11375
  applyColorScheme(readColorSchemePreference());
11492
11376
  /**
@@ -11717,13 +11601,6 @@ __decorate([e$3("updates-view")], LitDevtoolsPanel.prototype, "_updatesView", vo
11717
11601
  __decorate([e$3("timeline-view")], LitDevtoolsPanel.prototype, "_timelineView", void 0);
11718
11602
  LitDevtoolsPanel = __decorate([t$2("lit-devtools-panel")], LitDevtoolsPanel);
11719
11603
  //#endregion
11720
- //#region src/panel/main.ts
11721
- /**
11722
- * @license
11723
- * Copyright 2026 Google LLC
11724
- * SPDX-License-Identifier: BSD-3-Clause
11725
- */
11726
- //#endregion
11727
11604
  export { onBrowserAgentToolsChanged as n, nanoid as r, listBrowserAgentTools as t };
11728
11605
 
11729
- //# sourceMappingURL=index-B2HYO7lk.js.map
11606
+ //# sourceMappingURL=index-CgkhETVR.js.map