@qwik.dev/devtools 2.0.0-beta.43 → 2.0.0-beta.45
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/kit/index.mjs +4 -6
- package/dist/plugin/codegen.mjs +1 -1
- package/dist/plugin/{create-hook-runtime-ChnIePeB.mjs → create-hook-runtime-CoRDu99E.mjs} +2 -4
- package/dist/plugin/index.mjs +4 -7
- package/dist/ui/{bundle-graph-CoI___e1.json → bundle-graph-DNRrO_5W.json} +1 -1
- package/dist/ui/entry.extension.qwik.mjs +3 -2
- package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/element.qwik.mjs +2 -2
- package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/index.qwik.mjs +1 -1
- package/dist/ui/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/html.qwik.mjs +11 -1
- package/dist/ui/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/svg.qwik.mjs +2 -0
- package/dist/ui/packages/devtools/kit/src/overlay-paths.qwik.mjs +4 -4
- package/dist/ui/packages/devtools/ui/src/components/DevtoolsButton/DevtoolsButton.qwik.mjs +15 -13
- package/dist/ui/packages/devtools/ui/src/components/DevtoolsContainer/DevtoolsContainer.qwik.mjs +4 -1
- package/dist/ui/packages/devtools/ui/src/components/DevtoolsPanel/DevtoolsPanel.qwik.mjs +82 -69
- package/dist/ui/packages/devtools/ui/src/components/IconButton/IconButton.qwik.mjs +3 -2
- package/dist/ui/packages/devtools/ui/src/components/Icons/Icons.qwik.mjs +178 -96
- package/dist/ui/packages/devtools/ui/src/components/InfoBanner/InfoBanner.qwik.mjs +4 -2
- package/dist/ui/packages/devtools/ui/src/components/Tab/Tab.qwik.mjs +5 -6
- package/dist/ui/packages/devtools/ui/src/components/TabContent/TabContent.qwik.mjs +1 -1
- package/dist/ui/packages/devtools/ui/src/components/TabTitle/TabTitle.qwik.mjs +1 -1
- package/dist/ui/packages/devtools/ui/src/components/ThemeToggle/QwikThemeToggle.qwik.mjs +4 -4
- package/dist/ui/packages/devtools/ui/src/components/ThemeToggle/theme-script.qwik.mjs +1 -1
- package/dist/ui/packages/devtools/ui/src/components/Tree/Tree.qwik.mjs +36 -19
- package/dist/ui/packages/devtools/ui/src/devtools/CommandPalette.qwik.mjs +40 -26
- package/dist/ui/packages/devtools/ui/src/devtools/CustomizeTabsPanel.qwik.mjs +39 -28
- package/dist/ui/packages/devtools/ui/src/devtools/DevtoolsContent.qwik.mjs +30 -45
- package/dist/ui/packages/devtools/ui/src/devtools/DevtoolsSidebar.qwik.mjs +26 -20
- package/dist/ui/packages/devtools/ui/src/devtools/QwikDevtools.qwik.mjs +7 -7
- package/dist/ui/packages/devtools/ui/src/devtools/QwikDevtoolsExtension.qwik.mjs +3 -2
- package/dist/ui/packages/devtools/ui/src/devtools/command-palette.qwik.mjs +24 -12
- package/dist/ui/packages/devtools/ui/src/devtools/page-data-source.qwik.mjs +4 -2
- package/dist/ui/packages/devtools/ui/src/devtools/rpc.qwik.mjs +6 -4
- package/dist/ui/packages/devtools/ui/src/devtools/sidebar-tabs.qwik.mjs +24 -13
- package/dist/ui/packages/devtools/ui/src/devtools/tabs.qwik.mjs +10 -10
- package/dist/ui/packages/devtools/ui/src/features/Assets/Assets.qwik.mjs +2 -2
- package/dist/ui/packages/devtools/ui/src/features/BuildAnalysis/BuildAnalysis.qwik.mjs +10 -8
- package/dist/ui/packages/devtools/ui/src/features/CodeBreak/CodeBreak.qwik.mjs +19 -21
- package/dist/ui/packages/devtools/ui/src/features/CodeBreak/HtmlParser.qwik.mjs +10 -8
- package/dist/ui/packages/devtools/ui/src/features/CodeBreak/StateParser.qwik.mjs +10 -8
- package/dist/ui/packages/devtools/ui/src/features/HookTree/HookTree.qwik.mjs +67 -56
- package/dist/ui/packages/devtools/ui/src/features/HookTree/hookTreeHelpers.qwik.mjs +6 -3
- package/dist/ui/packages/devtools/ui/src/features/Inspect/Inspect.qwik.mjs +12 -11
- package/dist/ui/packages/devtools/ui/src/features/Inspect/iframe-theme.qwik.mjs +2 -1
- package/dist/ui/packages/devtools/ui/src/features/Overview/Overview.qwik.mjs +14 -10
- package/dist/ui/packages/devtools/ui/src/features/Packages/Packages.qwik.mjs +24 -23
- package/dist/ui/packages/devtools/ui/src/features/Packages/components/DependencyCard/DependencyCard.qwik.mjs +34 -24
- package/dist/ui/packages/devtools/ui/src/features/Packages/components/DependencyOperationFeedback/DependencyOperationFeedback.qwik.mjs +4 -3
- package/dist/ui/packages/devtools/ui/src/features/Packages/components/DependencyToolbar/DependencyToolbar.qwik.mjs +19 -18
- package/dist/ui/packages/devtools/ui/src/features/Packages/components/InstalledDependencyList/InstalledDependencyList.qwik.mjs +4 -4
- package/dist/ui/packages/devtools/ui/src/features/Packages/components/PackageIcon/PackageIcon.qwik.mjs +2 -2
- package/dist/ui/packages/devtools/ui/src/features/Packages/components/PackageSearchResults/PackageSearchResults.qwik.mjs +6 -5
- package/dist/ui/packages/devtools/ui/src/features/Packages/components/SearchResultCard/SearchResultCard.qwik.mjs +25 -14
- package/dist/ui/packages/devtools/ui/src/features/Performance/Performance.qwik.mjs +14 -10
- package/dist/ui/packages/devtools/ui/src/features/Performance/components/ComponentCard.qwik.mjs +3 -1
- package/dist/ui/packages/devtools/ui/src/features/Performance/components/HookDetailsPanel.qwik.mjs +10 -6
- package/dist/ui/packages/devtools/ui/src/features/Performance/components/PerformanceOverview.qwik.mjs +11 -9
- package/dist/ui/packages/devtools/ui/src/features/Performance/components/StatCard.qwik.mjs +2 -2
- package/dist/ui/packages/devtools/ui/src/features/Performance/computePerfViewModel.qwik.mjs +4 -2
- package/dist/ui/packages/devtools/ui/src/features/Preloads/Preloads.qwik.mjs +84 -72
- package/dist/ui/packages/devtools/ui/src/features/RenderTree/RenderTree.qwik.mjs +25 -21
- package/dist/ui/packages/devtools/ui/src/features/RenderTree/components/HighlightedCodeList.qwik.mjs +2 -1
- package/dist/ui/packages/devtools/ui/src/features/RenderTree/components/HookFiltersCard.qwik.mjs +16 -17
- package/dist/ui/packages/devtools/ui/src/features/RenderTree/components/RenderTreeTabs.qwik.mjs +4 -2
- package/dist/ui/packages/devtools/ui/src/features/RenderTree/components/StateTreeNodeLabel.qwik.mjs +8 -7
- package/dist/ui/packages/devtools/ui/src/features/Routes/Routes.qwik.mjs +10 -6
- package/dist/ui/q-manifest.json +180 -180
- package/package.json +8 -8
- /package/dist/ui/node_modules/.pnpm/{debug@4.4.3_supports-color@10.2.2 → debug@4.4.3_supports-color@11.0.0}/node_modules/debug/src/browser.qwik.mjs +0 -0
- /package/dist/ui/node_modules/.pnpm/{debug@4.4.3_supports-color@10.2.2 → debug@4.4.3_supports-color@11.0.0}/node_modules/debug/src/common.qwik.mjs +0 -0
- /package/dist/ui/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/index.qwik.mjs +0 -0
- /package/dist/ui/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/aria.qwik.mjs +0 -0
- /package/dist/ui/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/find.qwik.mjs +0 -0
- /package/dist/ui/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/normalize.qwik.mjs +0 -0
- /package/dist/ui/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/case-insensitive-transform.qwik.mjs +0 -0
- /package/dist/ui/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/case-sensitive-transform.qwik.mjs +0 -0
- /package/dist/ui/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/create.qwik.mjs +0 -0
- /package/dist/ui/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/defined-info.qwik.mjs +0 -0
- /package/dist/ui/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/info.qwik.mjs +0 -0
- /package/dist/ui/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/merge.qwik.mjs +0 -0
- /package/dist/ui/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/schema.qwik.mjs +0 -0
- /package/dist/ui/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/types.qwik.mjs +0 -0
- /package/dist/ui/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/xlink.qwik.mjs +0 -0
- /package/dist/ui/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/xml.qwik.mjs +0 -0
- /package/dist/ui/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/xmlns.qwik.mjs +0 -0
- /package/dist/ui/node_modules/.pnpm/{vite-hot-client@2.1.0_vite@8.2.1_@types_node@24.10.0_esbuild@0.28.2_jiti@2.6.1_terser@5.46.0_tsx@4.21.0_yaml@2.8.3_ → vite-hot-client@2.2.0_vite@8.2.1_@types_node@25.6.0_esbuild@0.28.2_jiti@2.7.0_terser@5.46.0_tsx@4.21.0_yaml@2.9.0_}/node_modules/vite-hot-client/dist/index.qwik.mjs +0 -0
|
@@ -2,8 +2,11 @@ import { IconArrowsPointingIn, IconArrowsPointingOut, IconXMark, QwikLogo } from
|
|
|
2
2
|
import { Slot, _captures, _fnSignal, _jsxSorted, componentQrl, inlinedQrl, isBrowser, useSignal, useTaskQrl, useVisibleTaskQrl } from "@qwik.dev/core";
|
|
3
3
|
import { Fragment } from "@qwik.dev/core/jsx-runtime";
|
|
4
4
|
var _hf0 = (p0) => ["border-glass-border/80 flex items-center justify-between border-b px-4 py-3", p0.state.isPanelFullscreen ? "cursor-default" : "cursor-grab"];
|
|
5
|
+
var _hf0_str = "[\"border-glass-border/80 flex items-center justify-between border-b px-4 py-3\",p0.state.isPanelFullscreen?\"cursor-default\":\"cursor-grab\"]";
|
|
5
6
|
var _hf1 = (p0) => p0.state.isPanelFullscreen ? "Fullscreen mode" : "Drag the title bar or resize from any edge";
|
|
7
|
+
var _hf1_str = "p0.state.isPanelFullscreen?\"Fullscreen mode\":\"Drag the title bar or resize from any edge\"";
|
|
6
8
|
var _hf2 = (p0) => p0.state.isPanelFullscreen ? "Restore window" : "Enter fullscreen";
|
|
9
|
+
var _hf2_str = "p0.state.isPanelFullscreen?\"Restore window\":\"Enter fullscreen\"";
|
|
7
10
|
var WINDOW_MARGIN = 24;
|
|
8
11
|
var COMPACT_MARGIN = 8;
|
|
9
12
|
var DEFAULT_WIDTH = 1180;
|
|
@@ -281,107 +284,117 @@ var DevtoolsPanel = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((props)
|
|
|
281
284
|
width: `min(calc(100vw - 48px), ${DEFAULT_WIDTH}px)`,
|
|
282
285
|
height: `min(calc(100vh - 48px), ${DEFAULT_HEIGHT}px)`
|
|
283
286
|
};
|
|
284
|
-
return /*#__PURE__*/ _jsxSorted(Fragment, null, null, [/*#__PURE__*/ _jsxSorted("div", {
|
|
285
|
-
|
|
287
|
+
return /*#__PURE__*/ _jsxSorted(Fragment, null, null, [/*#__PURE__*/ _jsxSorted("div", null, {
|
|
288
|
+
class: "fixed inset-0 z-[9990] bg-black/50 backdrop-blur-sm transition-opacity duration-300",
|
|
289
|
+
"q-e:mousedown": /*#__PURE__*/ inlinedQrl(() => {
|
|
290
|
+
const props = _captures[0];
|
|
286
291
|
props.state.isOpen = false;
|
|
287
|
-
}, "DevtoolsPanel_component_Fragment_div_q_e_mousedown_Yyj4ufBP6gI")
|
|
288
|
-
|
|
289
|
-
}, { class: "fixed inset-0 z-[9990] bg-black/50 backdrop-blur-sm transition-opacity duration-300" }, null, 6, null), /*#__PURE__*/ _jsxSorted("div", {
|
|
292
|
+
}, "DevtoolsPanel_component_Fragment_div_q_e_mousedown_Yyj4ufBP6gI", [props])
|
|
293
|
+
}, null, 3, null), /*#__PURE__*/ _jsxSorted("div", {
|
|
290
294
|
class: [
|
|
291
295
|
"glass-panel text-foreground fixed z-[9991] flex overflow-hidden border transition-[border-radius,width,height,left,top]",
|
|
292
296
|
interactionMode.value ? "duration-0" : "duration-200 ease-out",
|
|
293
297
|
props.state.isPanelFullscreen ? "inset-0 rounded-none" : "rounded-2xl shadow-2xl"
|
|
294
298
|
],
|
|
295
|
-
"q-e:mousedown": /*#__PURE__*/ inlinedQrl((event) => {
|
|
296
|
-
event.stopPropagation();
|
|
297
|
-
}, "DevtoolsPanel_component_Fragment_div_q_e_mousedown_1_TccpGpuhI0Q"),
|
|
298
299
|
style: panelStyle
|
|
299
|
-
},
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
}, {
|
|
300
|
+
}, { "q-e:mousedown": /*#__PURE__*/ inlinedQrl((event) => {
|
|
301
|
+
event.stopPropagation();
|
|
302
|
+
}, "DevtoolsPanel_component_Fragment_div_q_e_mousedown_1_TccpGpuhI0Q") }, [!props.state.isPanelFullscreen && /*#__PURE__*/ _jsxSorted(Fragment, null, null, [
|
|
303
|
+
/*#__PURE__*/ _jsxSorted("button", null, {
|
|
304
304
|
type: "button",
|
|
305
305
|
"aria-label": "Resize north",
|
|
306
|
-
class: "absolute inset-x-4 top-0 z-20 h-2 cursor-ns-resize"
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
"
|
|
311
|
-
},
|
|
306
|
+
class: "absolute inset-x-4 top-0 z-20 h-2 cursor-ns-resize",
|
|
307
|
+
"q-e:mousedown": /*#__PURE__*/ inlinedQrl((event) => {
|
|
308
|
+
const handleResizeStart = _captures[0];
|
|
309
|
+
return handleResizeStart("n", event);
|
|
310
|
+
}, "DevtoolsPanel_component_Fragment_div_Fragment_button_q_e_mousedown_Kpo8QnowZug", [handleResizeStart])
|
|
311
|
+
}, null, 3, null),
|
|
312
|
+
/*#__PURE__*/ _jsxSorted("button", null, {
|
|
312
313
|
type: "button",
|
|
313
314
|
"aria-label": "Resize south",
|
|
314
|
-
class: "absolute inset-x-4 bottom-0 z-20 h-2 cursor-ns-resize"
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
"
|
|
319
|
-
},
|
|
315
|
+
class: "absolute inset-x-4 bottom-0 z-20 h-2 cursor-ns-resize",
|
|
316
|
+
"q-e:mousedown": /*#__PURE__*/ inlinedQrl((event) => {
|
|
317
|
+
const handleResizeStart = _captures[0];
|
|
318
|
+
return handleResizeStart("s", event);
|
|
319
|
+
}, "DevtoolsPanel_component_Fragment_div_Fragment_button_q_e_mousedown_1_rpnKj8SmWbQ", [handleResizeStart])
|
|
320
|
+
}, null, 3, null),
|
|
321
|
+
/*#__PURE__*/ _jsxSorted("button", null, {
|
|
320
322
|
type: "button",
|
|
321
323
|
"aria-label": "Resize east",
|
|
322
|
-
class: "absolute top-4 right-0 bottom-4 z-20 w-2 cursor-ew-resize"
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
"
|
|
327
|
-
},
|
|
324
|
+
class: "absolute top-4 right-0 bottom-4 z-20 w-2 cursor-ew-resize",
|
|
325
|
+
"q-e:mousedown": /*#__PURE__*/ inlinedQrl((event) => {
|
|
326
|
+
const handleResizeStart = _captures[0];
|
|
327
|
+
return handleResizeStart("e", event);
|
|
328
|
+
}, "DevtoolsPanel_component_Fragment_div_Fragment_button_q_e_mousedown_2_7pH0bhGUSrQ", [handleResizeStart])
|
|
329
|
+
}, null, 3, null),
|
|
330
|
+
/*#__PURE__*/ _jsxSorted("button", null, {
|
|
328
331
|
type: "button",
|
|
329
332
|
"aria-label": "Resize west",
|
|
330
|
-
class: "absolute top-4 bottom-4 left-0 z-20 w-2 cursor-ew-resize"
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
"
|
|
335
|
-
},
|
|
333
|
+
class: "absolute top-4 bottom-4 left-0 z-20 w-2 cursor-ew-resize",
|
|
334
|
+
"q-e:mousedown": /*#__PURE__*/ inlinedQrl((event) => {
|
|
335
|
+
const handleResizeStart = _captures[0];
|
|
336
|
+
return handleResizeStart("w", event);
|
|
337
|
+
}, "DevtoolsPanel_component_Fragment_div_Fragment_button_q_e_mousedown_3_BqRiXxG6CsY", [handleResizeStart])
|
|
338
|
+
}, null, 3, null),
|
|
339
|
+
/*#__PURE__*/ _jsxSorted("button", null, {
|
|
336
340
|
type: "button",
|
|
337
341
|
"aria-label": "Resize northwest",
|
|
338
|
-
class: "absolute top-0 left-0 z-20 h-4 w-4 cursor-nwse-resize"
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
"
|
|
343
|
-
},
|
|
342
|
+
class: "absolute top-0 left-0 z-20 h-4 w-4 cursor-nwse-resize",
|
|
343
|
+
"q-e:mousedown": /*#__PURE__*/ inlinedQrl((event) => {
|
|
344
|
+
const handleResizeStart = _captures[0];
|
|
345
|
+
return handleResizeStart("nw", event);
|
|
346
|
+
}, "DevtoolsPanel_component_Fragment_div_Fragment_button_q_e_mousedown_4_azrG92Zn70A", [handleResizeStart])
|
|
347
|
+
}, null, 3, null),
|
|
348
|
+
/*#__PURE__*/ _jsxSorted("button", null, {
|
|
344
349
|
type: "button",
|
|
345
350
|
"aria-label": "Resize northeast",
|
|
346
|
-
class: "absolute top-0 right-0 z-20 h-4 w-4 cursor-nesw-resize"
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
"
|
|
351
|
-
},
|
|
351
|
+
class: "absolute top-0 right-0 z-20 h-4 w-4 cursor-nesw-resize",
|
|
352
|
+
"q-e:mousedown": /*#__PURE__*/ inlinedQrl((event) => {
|
|
353
|
+
const handleResizeStart = _captures[0];
|
|
354
|
+
return handleResizeStart("ne", event);
|
|
355
|
+
}, "DevtoolsPanel_component_Fragment_div_Fragment_button_q_e_mousedown_5_hTShrOzMO2s", [handleResizeStart])
|
|
356
|
+
}, null, 3, null),
|
|
357
|
+
/*#__PURE__*/ _jsxSorted("button", null, {
|
|
352
358
|
type: "button",
|
|
353
359
|
"aria-label": "Resize southwest",
|
|
354
|
-
class: "absolute bottom-0 left-0 z-20 h-4 w-4 cursor-nesw-resize"
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
"
|
|
359
|
-
},
|
|
360
|
+
class: "absolute bottom-0 left-0 z-20 h-4 w-4 cursor-nesw-resize",
|
|
361
|
+
"q-e:mousedown": /*#__PURE__*/ inlinedQrl((event) => {
|
|
362
|
+
const handleResizeStart = _captures[0];
|
|
363
|
+
return handleResizeStart("sw", event);
|
|
364
|
+
}, "DevtoolsPanel_component_Fragment_div_Fragment_button_q_e_mousedown_6_ukQTZz0jKXc", [handleResizeStart])
|
|
365
|
+
}, null, 3, null),
|
|
366
|
+
/*#__PURE__*/ _jsxSorted("button", null, {
|
|
360
367
|
type: "button",
|
|
361
368
|
"aria-label": "Resize southeast",
|
|
362
|
-
class: "absolute right-0 bottom-0 z-20 h-4 w-4 cursor-nwse-resize"
|
|
363
|
-
|
|
364
|
-
|
|
369
|
+
class: "absolute right-0 bottom-0 z-20 h-4 w-4 cursor-nwse-resize",
|
|
370
|
+
"q-e:mousedown": /*#__PURE__*/ inlinedQrl((event) => {
|
|
371
|
+
const handleResizeStart = _captures[0];
|
|
372
|
+
return handleResizeStart("se", event);
|
|
373
|
+
}, "DevtoolsPanel_component_Fragment_div_Fragment_button_q_e_mousedown_7_eWsKZf7ZlNg", [handleResizeStart])
|
|
374
|
+
}, null, 3, null)
|
|
375
|
+
], 3, "YV_0"), /*#__PURE__*/ _jsxSorted("div", null, { class: "flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden" }, [/*#__PURE__*/ _jsxSorted("div", { class: _fnSignal(_hf0, [props], _hf0_str) }, {
|
|
365
376
|
"q-e:mousedown": handleDragStart,
|
|
366
377
|
"q-e:dblclick": handleToggleFullscreen
|
|
367
378
|
}, [/*#__PURE__*/ _jsxSorted("div", null, { class: "flex min-w-0 items-center gap-3" }, [/*#__PURE__*/ _jsxSorted(QwikLogo, null, {
|
|
368
379
|
title: "Qwik Logo",
|
|
369
380
|
class: "h-5 w-5 shrink-0"
|
|
370
|
-
}, null, 3, "
|
|
371
|
-
|
|
372
|
-
|
|
381
|
+
}, null, 3, "YV_1"), /*#__PURE__*/ _jsxSorted("div", null, { class: "min-w-0" }, [/*#__PURE__*/ _jsxSorted("div", null, { class: "truncate text-sm font-semibold" }, "Qwik DevTools", 3, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "text-muted-foreground truncate text-xs" }, _fnSignal(_hf1, [props], _hf1_str), 1, null)], 1, null)], 1, null), /*#__PURE__*/ _jsxSorted("div", null, {
|
|
382
|
+
class: "flex items-center gap-2",
|
|
383
|
+
"q-e:mousedown": /*#__PURE__*/ inlinedQrl((event) => {
|
|
384
|
+
event.stopPropagation();
|
|
385
|
+
}, "DevtoolsPanel_component_Fragment_div_div_div_div_q_e_mousedown_4Q09AHNKYqo")
|
|
386
|
+
}, [/*#__PURE__*/ _jsxSorted("button", { "aria-label": _fnSignal(_hf2, [props], _hf2_str) }, {
|
|
373
387
|
type: "button",
|
|
374
388
|
class: "bg-card-item-bg hover:bg-card-item-hover-bg border-glass-border text-muted-foreground hover:text-foreground flex h-9 w-9 cursor-pointer items-center justify-center rounded-full border shadow-sm backdrop-blur-md transition-all hover:scale-105 active:scale-95",
|
|
375
389
|
"q-e:click": handleToggleFullscreen
|
|
376
|
-
}, props.state.isPanelFullscreen ? /*#__PURE__*/ _jsxSorted(IconArrowsPointingIn, null, { class: "h-4 w-4" }, null, 3, "
|
|
377
|
-
"q-e:click": /*#__PURE__*/ inlinedQrl((_, _1, props) => {
|
|
378
|
-
props.state.isOpen = false;
|
|
379
|
-
}, "DevtoolsPanel_component_Fragment_div_div_div_div_button_q_e_click_wy3qFhRhsTU").m(),
|
|
380
|
-
"q:p": props
|
|
381
|
-
}, {
|
|
390
|
+
}, props.state.isPanelFullscreen ? /*#__PURE__*/ _jsxSorted(IconArrowsPointingIn, null, { class: "h-4 w-4" }, null, 3, "YV_2") : /*#__PURE__*/ _jsxSorted(IconArrowsPointingOut, null, { class: "h-4 w-4" }, null, 3, "YV_3"), 1, null), /*#__PURE__*/ _jsxSorted("button", null, {
|
|
382
391
|
type: "button",
|
|
383
392
|
"aria-label": "Close devtools",
|
|
384
|
-
class: "bg-card-item-bg hover:bg-card-item-hover-bg border-glass-border text-muted-foreground hover:text-foreground flex h-9 w-9 cursor-pointer items-center justify-center rounded-full border shadow-sm backdrop-blur-md transition-all hover:scale-105 active:scale-95"
|
|
385
|
-
|
|
393
|
+
class: "bg-card-item-bg hover:bg-card-item-hover-bg border-glass-border text-muted-foreground hover:text-foreground flex h-9 w-9 cursor-pointer items-center justify-center rounded-full border shadow-sm backdrop-blur-md transition-all hover:scale-105 active:scale-95",
|
|
394
|
+
"q-e:click": /*#__PURE__*/ inlinedQrl(() => {
|
|
395
|
+
const props = _captures[0];
|
|
396
|
+
props.state.isOpen = false;
|
|
397
|
+
}, "DevtoolsPanel_component_Fragment_div_div_div_div_button_q_e_click_wy3qFhRhsTU", [props])
|
|
398
|
+
}, /*#__PURE__*/ _jsxSorted(IconXMark, null, { class: "h-5 w-5" }, null, 3, "YV_4"), 1, null)], 1, null)], 1, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "flex min-h-0 min-w-0 flex-1 overflow-hidden" }, /*#__PURE__*/ _jsxSorted(Slot, null, null, null, 3, "YV_5"), 1, null)], 1, null)], 1, null)], 1, "YV_6");
|
|
386
399
|
}, "DevtoolsPanel_component_BVQpbxoWoJY"));
|
|
387
400
|
export { DevtoolsPanel };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Slot, _jsxSorted, _wrapProp, componentQrl, inlinedQrl } from "@qwik.dev/core";
|
|
2
|
-
/** Small toolbar button with icon slot and optional text. Supports active/inactive visual states. */
|
|
2
|
+
/** Small toolbar button with icon slot and optional text. Supports active/inactive visual states. */
|
|
3
|
+
var IconButton = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((props) => {
|
|
3
4
|
return /*#__PURE__*/ _jsxSorted("button", {
|
|
4
5
|
"aria-label": _wrapProp(props, "title"),
|
|
5
6
|
class: [
|
|
@@ -9,6 +10,6 @@ import { Slot, _jsxSorted, _wrapProp, componentQrl, inlinedQrl } from "@qwik.dev
|
|
|
9
10
|
],
|
|
10
11
|
"q-e:click": props.onClick$,
|
|
11
12
|
title: _wrapProp(props, "title")
|
|
12
|
-
}, null, /*#__PURE__*/ _jsxSorted(Slot, null, null, null, 3, "
|
|
13
|
+
}, null, /*#__PURE__*/ _jsxSorted(Slot, null, null, null, 3, "W9_0"), 0, "W9_1");
|
|
13
14
|
}, "IconButton_component_bgPeqZ4Kexo"));
|
|
14
15
|
export { IconButton };
|