@qwik.dev/devtools 2.0.0-beta.43 → 2.0.0-beta.47

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 (87) hide show
  1. package/dist/kit/index.d.mts +6 -0
  2. package/dist/kit/index.mjs +4 -6
  3. package/dist/plugin/codegen.mjs +1 -1
  4. package/dist/plugin/{create-hook-runtime-ChnIePeB.mjs → create-hook-runtime-CAtQC5B3.mjs} +42 -22
  5. package/dist/plugin/index.mjs +15 -7
  6. package/dist/ui/{bundle-graph-CoI___e1.json → bundle-graph-DNRrO_5W.json} +1 -1
  7. package/dist/ui/entry.extension.qwik.mjs +3 -2
  8. package/dist/ui/lib-types/ui/src/features/HookTree/hookTreeHelpers.d.ts +1 -1
  9. 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
  10. 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
  11. 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
  12. 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
  13. package/dist/ui/packages/devtools/kit/src/overlay-paths.qwik.mjs +4 -4
  14. package/dist/ui/packages/devtools/ui/src/components/DevtoolsButton/DevtoolsButton.qwik.mjs +21 -19
  15. package/dist/ui/packages/devtools/ui/src/components/DevtoolsContainer/DevtoolsContainer.qwik.mjs +4 -1
  16. package/dist/ui/packages/devtools/ui/src/components/DevtoolsPanel/DevtoolsPanel.qwik.mjs +91 -78
  17. package/dist/ui/packages/devtools/ui/src/components/IconButton/IconButton.qwik.mjs +3 -2
  18. package/dist/ui/packages/devtools/ui/src/components/Icons/Icons.qwik.mjs +178 -96
  19. package/dist/ui/packages/devtools/ui/src/components/InfoBanner/InfoBanner.qwik.mjs +4 -2
  20. package/dist/ui/packages/devtools/ui/src/components/Tab/Tab.qwik.mjs +5 -6
  21. package/dist/ui/packages/devtools/ui/src/components/TabContent/TabContent.qwik.mjs +1 -1
  22. package/dist/ui/packages/devtools/ui/src/components/TabTitle/TabTitle.qwik.mjs +1 -1
  23. package/dist/ui/packages/devtools/ui/src/components/ThemeToggle/QwikThemeToggle.qwik.mjs +4 -4
  24. package/dist/ui/packages/devtools/ui/src/components/ThemeToggle/theme-script.qwik.mjs +1 -1
  25. package/dist/ui/packages/devtools/ui/src/components/Tree/Tree.qwik.mjs +41 -24
  26. package/dist/ui/packages/devtools/ui/src/devtools/CommandPalette.qwik.mjs +49 -35
  27. package/dist/ui/packages/devtools/ui/src/devtools/CustomizeTabsPanel.qwik.mjs +46 -35
  28. package/dist/ui/packages/devtools/ui/src/devtools/DevtoolsContent.qwik.mjs +30 -45
  29. package/dist/ui/packages/devtools/ui/src/devtools/DevtoolsSidebar.qwik.mjs +28 -22
  30. package/dist/ui/packages/devtools/ui/src/devtools/QwikDevtools.qwik.mjs +10 -10
  31. package/dist/ui/packages/devtools/ui/src/devtools/QwikDevtoolsExtension.qwik.mjs +5 -4
  32. package/dist/ui/packages/devtools/ui/src/devtools/command-palette.qwik.mjs +24 -12
  33. package/dist/ui/packages/devtools/ui/src/devtools/page-data-source.qwik.mjs +4 -2
  34. package/dist/ui/packages/devtools/ui/src/devtools/rpc.qwik.mjs +6 -4
  35. package/dist/ui/packages/devtools/ui/src/devtools/sidebar-tabs.qwik.mjs +24 -13
  36. package/dist/ui/packages/devtools/ui/src/devtools/tabs.qwik.mjs +10 -10
  37. package/dist/ui/packages/devtools/ui/src/features/Assets/Assets.qwik.mjs +2 -2
  38. package/dist/ui/packages/devtools/ui/src/features/BuildAnalysis/BuildAnalysis.qwik.mjs +15 -13
  39. package/dist/ui/packages/devtools/ui/src/features/CodeBreak/CodeBreak.qwik.mjs +19 -21
  40. package/dist/ui/packages/devtools/ui/src/features/CodeBreak/HtmlParser.qwik.mjs +13 -11
  41. package/dist/ui/packages/devtools/ui/src/features/CodeBreak/StateParser.qwik.mjs +13 -11
  42. package/dist/ui/packages/devtools/ui/src/features/HookTree/HookTree.qwik.mjs +82 -71
  43. package/dist/ui/packages/devtools/ui/src/features/HookTree/hookTreeHelpers.qwik.mjs +7 -4
  44. package/dist/ui/packages/devtools/ui/src/features/Inspect/Inspect.qwik.mjs +12 -11
  45. package/dist/ui/packages/devtools/ui/src/features/Inspect/iframe-theme.qwik.mjs +2 -1
  46. package/dist/ui/packages/devtools/ui/src/features/Overview/Overview.qwik.mjs +20 -16
  47. package/dist/ui/packages/devtools/ui/src/features/Packages/Packages.qwik.mjs +37 -36
  48. package/dist/ui/packages/devtools/ui/src/features/Packages/components/DependencyCard/DependencyCard.qwik.mjs +38 -28
  49. package/dist/ui/packages/devtools/ui/src/features/Packages/components/DependencyOperationFeedback/DependencyOperationFeedback.qwik.mjs +4 -3
  50. package/dist/ui/packages/devtools/ui/src/features/Packages/components/DependencyToolbar/DependencyToolbar.qwik.mjs +19 -18
  51. package/dist/ui/packages/devtools/ui/src/features/Packages/components/InstalledDependencyList/InstalledDependencyList.qwik.mjs +4 -4
  52. package/dist/ui/packages/devtools/ui/src/features/Packages/components/PackageIcon/PackageIcon.qwik.mjs +4 -4
  53. package/dist/ui/packages/devtools/ui/src/features/Packages/components/PackageSearchResults/PackageSearchResults.qwik.mjs +6 -5
  54. package/dist/ui/packages/devtools/ui/src/features/Packages/components/SearchResultCard/SearchResultCard.qwik.mjs +25 -14
  55. package/dist/ui/packages/devtools/ui/src/features/Performance/Performance.qwik.mjs +24 -20
  56. package/dist/ui/packages/devtools/ui/src/features/Performance/components/ComponentCard.qwik.mjs +3 -1
  57. package/dist/ui/packages/devtools/ui/src/features/Performance/components/HookDetailsPanel.qwik.mjs +10 -6
  58. package/dist/ui/packages/devtools/ui/src/features/Performance/components/PerformanceOverview.qwik.mjs +11 -9
  59. package/dist/ui/packages/devtools/ui/src/features/Performance/components/StatCard.qwik.mjs +2 -2
  60. package/dist/ui/packages/devtools/ui/src/features/Performance/computePerfViewModel.qwik.mjs +4 -2
  61. package/dist/ui/packages/devtools/ui/src/features/Preloads/Preloads.qwik.mjs +94 -82
  62. package/dist/ui/packages/devtools/ui/src/features/RenderTree/RenderTree.qwik.mjs +36 -32
  63. package/dist/ui/packages/devtools/ui/src/features/RenderTree/components/HighlightedCodeList.qwik.mjs +2 -1
  64. package/dist/ui/packages/devtools/ui/src/features/RenderTree/components/HookFiltersCard.qwik.mjs +17 -18
  65. package/dist/ui/packages/devtools/ui/src/features/RenderTree/components/RenderTreeTabs.qwik.mjs +4 -2
  66. package/dist/ui/packages/devtools/ui/src/features/RenderTree/components/StateTreeNodeLabel.qwik.mjs +8 -7
  67. package/dist/ui/packages/devtools/ui/src/features/Routes/Routes.qwik.mjs +10 -6
  68. package/dist/ui/q-manifest.json +187 -187
  69. package/package.json +8 -8
  70. /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
  71. /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
  72. /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
  73. /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
  74. /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
  75. /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
  76. /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
  77. /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
  78. /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
  79. /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
  80. /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
  81. /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
  82. /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
  83. /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
  84. /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
  85. /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
  86. /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
  87. /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
@@ -1,46 +1,50 @@
1
1
  import { IconCubeOutline, IconFolderTree, IconPhotoOutline } from "../../components/Icons/Icons.qwik.mjs";
2
2
  import { InfoBanner } from "../../components/InfoBanner/InfoBanner.qwik.mjs";
3
- import { _captures, _fnSignal, _jsxSorted, _qrlSync, componentQrl, inlinedQrl } from "@qwik.dev/core";
3
+ import { _capturesObj, _fnSignal, _jsxSorted, _qrlSync, componentQrl, inlinedQrl } from "@qwik.dev/core";
4
4
  import { Fragment } from "@qwik.dev/core/jsx-runtime";
5
5
  var _hf0 = (p0) => p0.state.routes?.length;
6
+ var _hf0_str = "p0.state.routes?.length";
6
7
  var _hf1 = (p0) => p0.state.components.length;
8
+ var _hf1_str = "p0.state.components.length";
7
9
  var _hf2 = (p0) => p0.state.assets.length || 0;
10
+ var _hf2_str = "p0.state.assets.length||0";
8
11
  var Overview = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawProps) => {
12
+ const isExtension = _rawProps.state.isExtension;
9
13
  const pageJump = /*#__PURE__*/ inlinedQrl((pageName) => {
10
- const _rawProps = _captures[0];
14
+ let _rawProps = _capturesObj._[0];
11
15
  _rawProps.state.activeTab = pageName;
12
16
  }, "Overview_component_pageJump_0Fqlp0MwWqk", [_rawProps]);
13
17
  const stopPropagation = _qrlSync((e) => {
14
18
  e.preventDefault();
15
19
  }, "e=>{e.preventDefault();}");
16
20
  return /*#__PURE__*/ _jsxSorted(Fragment, null, null, [
17
- _rawProps.state.isExtension && _rawProps.state.vitePluginDetected && /*#__PURE__*/ _jsxSorted(InfoBanner, null, { class: "mb-5" }, [/*#__PURE__*/ _jsxSorted("span", null, { class: "text-foreground font-medium" }, "Vite plugin detected", 3, null), /*#__PURE__*/ _jsxSorted("span", null, { class: "text-muted-foreground" }, [" ", "- the in-app overlay has additional features (routes, assets, packages, code inspection)"], 3, null)], 3, "G0_0"),
21
+ isExtension && _rawProps.state.vitePluginDetected && /*#__PURE__*/ _jsxSorted(InfoBanner, null, { class: "mb-5" }, [/*#__PURE__*/ _jsxSorted("span", null, { class: "text-foreground font-medium" }, "Vite plugin detected", 3, null), /*#__PURE__*/ _jsxSorted("span", null, { class: "text-muted-foreground" }, [" ", "- the in-app overlay has additional features (routes, assets, packages, code inspection)"], 3, null)], 3, "pG_0"),
18
22
  /*#__PURE__*/ _jsxSorted("div", null, { class: "grid grid-cols-1 gap-5 md:grid-cols-3" }, [
19
- !_rawProps.state.isExtension && /*#__PURE__*/ _jsxSorted("div", { "q-e:click": [/*#__PURE__*/ inlinedQrl(() => {
20
- const pageJump = _captures[0];
23
+ !isExtension && /*#__PURE__*/ _jsxSorted("div", { "q-e:click": [/*#__PURE__*/ inlinedQrl(() => {
24
+ let pageJump = _capturesObj._[0];
21
25
  return pageJump("routes");
22
- }, "Overview_component_Fragment_div_div_q_e_click_qb0eJJi67Us", [pageJump]), stopPropagation] }, { class: "border-border bg-card-item-bg hover:bg-card-item-hover-bg flex cursor-pointer items-center gap-5 rounded-xl border p-5 transition-all duration-200 hover:-translate-y-0.5" }, [/*#__PURE__*/ _jsxSorted("div", null, { class: "bg-foreground/5 border-border rounded-lg border p-3.5" }, /*#__PURE__*/ _jsxSorted(IconFolderTree, null, { class: "text-accent h-6 w-6" }, null, 3, "G0_1"), 1, null), /*#__PURE__*/ _jsxSorted("div", null, null, [/*#__PURE__*/ _jsxSorted("div", null, { class: "text-3xl font-semibold" }, _fnSignal(_hf0, [_rawProps]), 1, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "text-muted-foreground text-sm" }, "pages", 3, null)], 1, null)], 0, "G0_2"),
26
+ }, "Overview_component_Fragment_div_div_q_e_click_qb0eJJi67Us", [pageJump]), stopPropagation] }, { class: "border-border bg-card-item-bg hover:bg-card-item-hover-bg flex cursor-pointer items-center gap-5 rounded-xl border p-5 transition-all duration-200 hover:-translate-y-0.5" }, [/*#__PURE__*/ _jsxSorted("div", null, { class: "bg-foreground/5 border-border rounded-lg border p-3.5" }, /*#__PURE__*/ _jsxSorted(IconFolderTree, null, { class: "text-accent h-6 w-6" }, null, 3, "pG_1"), 1, null), /*#__PURE__*/ _jsxSorted("div", null, null, [/*#__PURE__*/ _jsxSorted("div", null, { class: "text-3xl font-semibold" }, _fnSignal(_hf0, [_rawProps], _hf0_str), 1, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "text-muted-foreground text-sm" }, "pages", 3, null)], 1, null)], 0, "pG_2"),
23
27
  /*#__PURE__*/ _jsxSorted("div", { "q-e:click": [/*#__PURE__*/ inlinedQrl(() => {
24
- const pageJump = _captures[0];
28
+ let pageJump = _capturesObj._[0];
25
29
  return pageJump("renderTree");
26
- }, "Overview_component_Fragment_div_div_q_e_click_1_B7lsWRRqMVk", [pageJump]), stopPropagation] }, { class: "border-border bg-card-item-bg hover:bg-card-item-hover-bg flex cursor-pointer items-center gap-5 rounded-xl border p-5 transition-all duration-200 hover:-translate-y-0.5" }, [/*#__PURE__*/ _jsxSorted("div", null, { class: "bg-foreground/5 border-border rounded-lg border p-3.5" }, /*#__PURE__*/ _jsxSorted(IconCubeOutline, null, { class: "text-accent h-6 w-6" }, null, 3, "G0_3"), 1, null), /*#__PURE__*/ _jsxSorted("div", null, null, [/*#__PURE__*/ _jsxSorted("div", null, { class: "text-3xl font-semibold" }, _fnSignal(_hf1, [_rawProps]), 1, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "text-muted-foreground text-sm" }, "components", 3, null)], 1, null)], 0, null),
27
- !_rawProps.state.isExtension && /*#__PURE__*/ _jsxSorted("div", { "q-e:click": [/*#__PURE__*/ inlinedQrl(() => {
28
- const pageJump = _captures[0];
30
+ }, "Overview_component_Fragment_div_div_q_e_click_1_B7lsWRRqMVk", [pageJump]), stopPropagation] }, { class: "border-border bg-card-item-bg hover:bg-card-item-hover-bg flex cursor-pointer items-center gap-5 rounded-xl border p-5 transition-all duration-200 hover:-translate-y-0.5" }, [/*#__PURE__*/ _jsxSorted("div", null, { class: "bg-foreground/5 border-border rounded-lg border p-3.5" }, /*#__PURE__*/ _jsxSorted(IconCubeOutline, null, { class: "text-accent h-6 w-6" }, null, 3, "pG_3"), 1, null), /*#__PURE__*/ _jsxSorted("div", null, null, [/*#__PURE__*/ _jsxSorted("div", null, { class: "text-3xl font-semibold" }, _fnSignal(_hf1, [_rawProps], _hf1_str), 1, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "text-muted-foreground text-sm" }, "components", 3, null)], 1, null)], 0, null),
31
+ !isExtension && /*#__PURE__*/ _jsxSorted("div", { "q-e:click": [/*#__PURE__*/ inlinedQrl(() => {
32
+ let pageJump = _capturesObj._[0];
29
33
  return pageJump("assets");
30
- }, "Overview_component_Fragment_div_div_q_e_click_2_ZsZbMuPvZFo", [pageJump]), stopPropagation] }, { class: "border-border bg-card-item-bg hover:bg-card-item-hover-bg flex cursor-pointer items-center gap-5 rounded-xl border p-5 transition-all duration-200 hover:-translate-y-0.5" }, [/*#__PURE__*/ _jsxSorted("div", null, { class: "bg-foreground/5 border-border rounded-lg border p-3.5" }, /*#__PURE__*/ _jsxSorted(IconPhotoOutline, null, { class: "text-accent h-6 w-6" }, null, 3, "G0_4"), 1, null), /*#__PURE__*/ _jsxSorted("div", null, null, [/*#__PURE__*/ _jsxSorted("div", null, { class: "text-3xl font-semibold" }, _fnSignal(_hf2, [_rawProps]), 1, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "text-muted-foreground text-sm" }, "assets", 3, null)], 1, null)], 0, "G0_5")
34
+ }, "Overview_component_Fragment_div_div_q_e_click_2_ZsZbMuPvZFo", [pageJump]), stopPropagation] }, { class: "border-border bg-card-item-bg hover:bg-card-item-hover-bg flex cursor-pointer items-center gap-5 rounded-xl border p-5 transition-all duration-200 hover:-translate-y-0.5" }, [/*#__PURE__*/ _jsxSorted("div", null, { class: "bg-foreground/5 border-border rounded-lg border p-3.5" }, /*#__PURE__*/ _jsxSorted(IconPhotoOutline, null, { class: "text-accent h-6 w-6" }, null, 3, "pG_4"), 1, null), /*#__PURE__*/ _jsxSorted("div", null, null, [/*#__PURE__*/ _jsxSorted("div", null, { class: "text-3xl font-semibold" }, _fnSignal(_hf2, [_rawProps], _hf2_str), 1, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "text-muted-foreground text-sm" }, "assets", 3, null)], 1, null)], 0, "pG_5")
31
35
  ], 1, null),
32
36
  _rawProps.state.npmPackages.length > 0 && /*#__PURE__*/ _jsxSorted("div", {
33
- class: ["border-border bg-card-item-bg mt-6 space-y-4 rounded-xl border p-5 md:mt-6", !_rawProps.state.isExtension && "hover:bg-card-item-hover-bg cursor-pointer hover:-translate-y-0.5"],
34
- "q-e:click": _rawProps.state.isExtension ? void 0 : [/*#__PURE__*/ inlinedQrl(() => {
35
- const pageJump = _captures[0];
37
+ class: ["border-border bg-card-item-bg mt-6 space-y-4 rounded-xl border p-5 md:mt-6", !isExtension && "hover:bg-card-item-hover-bg cursor-pointer hover:-translate-y-0.5"],
38
+ "q-e:click": isExtension ? void 0 : [/*#__PURE__*/ inlinedQrl(() => {
39
+ let pageJump = _capturesObj._[0];
36
40
  return pageJump("packages");
37
41
  }, "Overview_component_Fragment_div_q_e_click_vcC0WjWKJuE", [pageJump]), stopPropagation]
38
- }, null, [/*#__PURE__*/ _jsxSorted("h3", null, { class: "text-lg font-semibold" }, "Installed Packages", 3, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "grid grid-cols-1 gap-3 md:grid-cols-2" }, _rawProps.state.npmPackages.map(([name, version]) => /*#__PURE__*/ _jsxSorted("div", null, { class: "bg-foreground/5 flex items-center justify-between rounded-lg p-3" }, [/*#__PURE__*/ _jsxSorted("div", null, { class: "text-sm" }, name, 1, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "bg-foreground/5 border-border text-muted-foreground rounded-full border px-2 py-1 text-xs" }, version, 1, null)], 1, name)), 1, null)], 0, "G0_6"),
42
+ }, null, [/*#__PURE__*/ _jsxSorted("h3", null, { class: "text-lg font-semibold" }, "Installed Packages", 3, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "grid grid-cols-1 gap-3 md:grid-cols-2" }, _rawProps.state.npmPackages.map(([name, version]) => /*#__PURE__*/ _jsxSorted("div", null, { class: "bg-foreground/5 flex items-center justify-between rounded-lg p-3" }, [/*#__PURE__*/ _jsxSorted("div", null, { class: "text-sm" }, name, 1, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "bg-foreground/5 border-border text-muted-foreground rounded-full border px-2 py-1 text-xs" }, version, 1, null)], 1, name)), 1, null)], 0, "pG_6"),
39
43
  /*#__PURE__*/ _jsxSorted("div", null, { class: "border-border bg-card-item-bg mt-6 space-y-4 rounded-xl border p-5 md:mt-6" }, [/*#__PURE__*/ _jsxSorted("h3", null, { class: "text-lg font-semibold" }, "Performance", 3, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "space-y-3" }, [
40
44
  /*#__PURE__*/ _jsxSorted("div", null, { class: "border-border flex justify-between border-b py-2" }, [/*#__PURE__*/ _jsxSorted("span", null, { class: "text-muted-foreground" }, "SSR to full load", 3, null), /*#__PURE__*/ _jsxSorted("span", null, { class: "font-medium" }, "-", 3, null)], 3, null),
41
45
  /*#__PURE__*/ _jsxSorted("div", null, { class: "border-border flex justify-between border-b py-2" }, [/*#__PURE__*/ _jsxSorted("span", null, { class: "text-muted-foreground" }, "Page load", 3, null), /*#__PURE__*/ _jsxSorted("span", null, { class: "font-medium" }, "-", 3, null)], 3, null),
42
46
  /*#__PURE__*/ _jsxSorted("div", null, { class: "flex justify-between py-2" }, [/*#__PURE__*/ _jsxSorted("span", null, { class: "text-muted-foreground" }, "Navigation", 3, null), /*#__PURE__*/ _jsxSorted("span", null, { class: "font-medium" }, "-", 3, null)], 3, null)
43
47
  ], 3, null)], 3, null)
44
- ], 1, "G0_7");
48
+ ], 1, "pG_7");
45
49
  }, "Overview_component_05j1MjtAwR0"));
46
50
  export { Overview };
@@ -8,8 +8,9 @@ import { InstalledDependencyList } from "./components/InstalledDependencyList/In
8
8
  import "./components/InstalledDependencyList/index.qwik.mjs";
9
9
  import { PackageSearchResults } from "./components/PackageSearchResults/PackageSearchResults.qwik.mjs";
10
10
  import "./components/PackageSearchResults/index.qwik.mjs";
11
- import { _captures, _fnSignal, _jsxSorted, _wrapProp, componentQrl, inlinedQrl, useComputedQrl, useSignal, useStore, useVisibleTaskQrl } from "@qwik.dev/core";
11
+ import { _capturesObj, _fnSignal, _jsxSorted, _wrapProp, componentQrl, inlinedQrl, useComputedQrl, useSignal, useStore, useVisibleTaskQrl } from "@qwik.dev/core";
12
12
  var _hf0 = (p0) => p0.state.isLoadingDependencies;
13
+ var _hf0_str = "p0.state.isLoadingDependencies";
13
14
  var Packages = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawProps) => {
14
15
  const installedSearch = useSignal("");
15
16
  const packageSearch = useSignal("");
@@ -22,19 +23,19 @@ var Packages = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawProps) =
22
23
  const selectedTypes = useStore({});
23
24
  const lastRetry = useSignal(null);
24
25
  const packages = useComputedQrl(/*#__PURE__*/ inlinedQrl(() => {
25
- return _captures[0].state.allDependencies;
26
+ return _capturesObj._[0].state.allDependencies;
26
27
  }, "Packages_component_packages_useComputed_5C0oZ6vArhA", [_rawProps]));
27
28
  const filteredPackages = useComputedQrl(/*#__PURE__*/ inlinedQrl(() => {
28
- const installedSearch = _captures[0], packages = _captures[1];
29
+ let installedSearch = _capturesObj._[0], packages = _capturesObj._[1];
29
30
  return filterInstalledDependencies(packages.value, installedSearch.value);
30
31
  }, "Packages_component_filteredPackages_useComputed_kTFXWZIh16k", [installedSearch, packages]));
31
32
  const applyDependencies = /*#__PURE__*/ inlinedQrl((dependencies) => {
32
- const _rawProps = _captures[0], searchResults = _captures[1];
33
+ let _rawProps = _capturesObj._[0], searchResults = _capturesObj._[1];
33
34
  _rawProps.state.allDependencies = mergeDependencyRefresh(_rawProps.state.allDependencies, dependencies);
34
35
  searchResults.value = markInstalledSearchResults(searchResults.value, _rawProps.state.allDependencies);
35
36
  }, "Packages_component_applyDependencies_SU3TgVXkgJ8", [_rawProps, searchResults]);
36
37
  const followDependencyEnrichment = /*#__PURE__*/ inlinedQrl(async () => {
37
- const applyDependencies = _captures[0];
38
+ let applyDependencies = _capturesObj._[0];
38
39
  const rpc = await getDevtoolsRpc();
39
40
  for (let i = 0; i < 20; i++) {
40
41
  const status = await rpc.getDependenciesStatus();
@@ -44,7 +45,7 @@ var Packages = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawProps) =
44
45
  }
45
46
  }, "Packages_component_followDependencyEnrichment_Ggz9YsHENo0", [applyDependencies]);
46
47
  const refreshDependencies = /*#__PURE__*/ inlinedQrl(async () => {
47
- const applyDependencies = _captures[0], followDependencyEnrichment = _captures[1], isRefreshing = _captures[2];
48
+ let applyDependencies = _capturesObj._[0], followDependencyEnrichment = _capturesObj._[1], isRefreshing = _capturesObj._[2];
48
49
  isRefreshing.value = true;
49
50
  try {
50
51
  await applyDependencies(await (await getDevtoolsRpc()).refreshDependencies());
@@ -58,7 +59,7 @@ var Packages = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawProps) =
58
59
  isRefreshing
59
60
  ]);
60
61
  const runPackageSearch = /*#__PURE__*/ inlinedQrl(async () => {
61
- const _rawProps = _captures[0], isSearching = _captures[1], lastRetry = _captures[2], packageSearch = _captures[3], searchError = _captures[4], searchResults = _captures[5];
62
+ let _rawProps = _capturesObj._[0], isSearching = _capturesObj._[1], lastRetry = _capturesObj._[2], packageSearch = _capturesObj._[3], searchError = _capturesObj._[4], searchResults = _capturesObj._[5];
62
63
  const query = packageSearch.value.trim();
63
64
  searchError.value = "";
64
65
  lastRetry.value = { action: "search" };
@@ -86,7 +87,7 @@ var Packages = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawProps) =
86
87
  searchResults
87
88
  ]);
88
89
  const installPackage = /*#__PURE__*/ inlinedQrl(async (packageName, dependencyType) => {
89
- const activeOperationKey = _captures[0], applyDependencies = _captures[1], feedback = _captures[2], followDependencyEnrichment = _captures[3], lastRetry = _captures[4];
90
+ let activeOperationKey = _capturesObj._[0], applyDependencies = _capturesObj._[1], feedback = _capturesObj._[2], followDependencyEnrichment = _capturesObj._[3], lastRetry = _capturesObj._[4];
90
91
  activeOperationKey.value = `install:${packageName}`;
91
92
  lastRetry.value = {
92
93
  action: "install",
@@ -130,7 +131,7 @@ var Packages = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawProps) =
130
131
  lastRetry
131
132
  ]);
132
133
  const updatePackage = /*#__PURE__*/ inlinedQrl(async (packageName) => {
133
- const activeOperationKey = _captures[0], applyDependencies = _captures[1], feedback = _captures[2], followDependencyEnrichment = _captures[3], lastRetry = _captures[4];
134
+ let activeOperationKey = _capturesObj._[0], applyDependencies = _capturesObj._[1], feedback = _capturesObj._[2], followDependencyEnrichment = _capturesObj._[3], lastRetry = _capturesObj._[4];
134
135
  activeOperationKey.value = `update:${packageName}`;
135
136
  lastRetry.value = {
136
137
  action: "update",
@@ -173,7 +174,7 @@ var Packages = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawProps) =
173
174
  lastRetry
174
175
  ]);
175
176
  const retryLastOperation = /*#__PURE__*/ inlinedQrl(async () => {
176
- const installPackage = _captures[0], lastRetry = _captures[1], runPackageSearch = _captures[2], updatePackage = _captures[3];
177
+ let installPackage = _capturesObj._[0], lastRetry = _capturesObj._[1], runPackageSearch = _capturesObj._[2], updatePackage = _capturesObj._[3];
177
178
  const retry = lastRetry.value;
178
179
  if (!retry) return;
179
180
  if (retry.action === "search") {
@@ -192,7 +193,7 @@ var Packages = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawProps) =
192
193
  updatePackage
193
194
  ]);
194
195
  useVisibleTaskQrl(/*#__PURE__*/ inlinedQrl(async ({ cleanup }) => {
195
- const _rawProps = _captures[0];
196
+ let _rawProps = _capturesObj._[0];
196
197
  const rpc = await getDevtoolsRpc();
197
198
  const interval = window.setInterval(async () => {
198
199
  const status = await rpc.getDependenciesStatus();
@@ -202,34 +203,31 @@ var Packages = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawProps) =
202
203
  cleanup(() => window.clearInterval(interval));
203
204
  }, "Packages_component_useVisibleTask_XrRVvgaLnoU", [_rawProps]));
204
205
  return /*#__PURE__*/ _jsxSorted("div", null, { class: "flex h-full min-h-0 flex-col gap-4" }, [
205
- /*#__PURE__*/ _jsxSorted(DependencyToolbar, {
206
+ /*#__PURE__*/ _jsxSorted(DependencyToolbar, null, {
207
+ installedSearch: _wrapProp(installedSearch),
208
+ packageSearch: _wrapProp(packageSearch),
209
+ isRefreshing: _wrapProp(isRefreshing),
210
+ isSearching: _wrapProp(isSearching),
206
211
  onInstalledSearch$: /*#__PURE__*/ inlinedQrl((value) => {
207
- const installedSearch = _captures[0];
212
+ let installedSearch = _capturesObj._[0];
208
213
  installedSearch.value = value;
209
214
  }, "Packages_component_div_DependencyToolbar_onInstalledSearch_Y4apO8fjc0s", [installedSearch]),
210
215
  onPackageSearch$: /*#__PURE__*/ inlinedQrl((value) => {
211
- const packageSearch = _captures[0];
216
+ let packageSearch = _capturesObj._[0];
212
217
  packageSearch.value = value;
213
- }, "Packages_component_div_DependencyToolbar_onPackageSearch_RhfweH40tz8", [packageSearch])
214
- }, {
215
- installedSearch: _wrapProp(installedSearch),
216
- packageSearch: _wrapProp(packageSearch),
217
- isRefreshing: _wrapProp(isRefreshing),
218
- isSearching: _wrapProp(isSearching),
218
+ }, "Packages_component_div_DependencyToolbar_onPackageSearch_RhfweH40tz8", [packageSearch]),
219
219
  onSearch$: runPackageSearch,
220
220
  onRefresh$: refreshDependencies
221
- }, null, 2, "Kn_0"),
222
- /*#__PURE__*/ _jsxSorted(DependencyOperationFeedback, { onDismiss$: /*#__PURE__*/ inlinedQrl(() => {
223
- const feedback = _captures[0];
224
- feedback.value = null;
225
- }, "Packages_component_div_DependencyOperationFeedback_onDismiss_Vs5uHnyH1n8", [feedback]) }, {
221
+ }, null, 3, "Kq_0"),
222
+ /*#__PURE__*/ _jsxSorted(DependencyOperationFeedback, null, {
226
223
  feedback: _wrapProp(feedback),
227
- onRetry$: retryLastOperation
228
- }, null, 2, "Kn_1"),
229
- /*#__PURE__*/ _jsxSorted(PackageSearchResults, { onTypeChange$: /*#__PURE__*/ inlinedQrl((packageName, dependencyType) => {
230
- const selectedTypes = _captures[0];
231
- selectedTypes[packageName] = dependencyType;
232
- }, "Packages_component_div_PackageSearchResults_onTypeChange_DUQ8MUEyaY4", [selectedTypes]) }, {
224
+ onRetry$: retryLastOperation,
225
+ onDismiss$: /*#__PURE__*/ inlinedQrl(() => {
226
+ let feedback = _capturesObj._[0];
227
+ feedback.value = null;
228
+ }, "Packages_component_div_DependencyOperationFeedback_onDismiss_Vs5uHnyH1n8", [feedback])
229
+ }, null, 3, "Kq_1"),
230
+ /*#__PURE__*/ _jsxSorted(PackageSearchResults, null, {
233
231
  query: _wrapProp(packageSearch),
234
232
  results: _wrapProp(searchResults),
235
233
  error: _wrapProp(searchError),
@@ -237,16 +235,19 @@ var Packages = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawProps) =
237
235
  activeOperationKey: _wrapProp(activeOperationKey),
238
236
  selectedTypes,
239
237
  onRetrySearch$: runPackageSearch,
238
+ onTypeChange$: /*#__PURE__*/ inlinedQrl((packageName, dependencyType) => {
239
+ let selectedTypes = _capturesObj._[0];
240
+ selectedTypes[packageName] = dependencyType;
241
+ }, "Packages_component_div_PackageSearchResults_onTypeChange_DUQ8MUEyaY4", [selectedTypes]),
240
242
  onInstall$: installPackage
241
- }, null, 2, "Kn_2"),
242
- /*#__PURE__*/ _jsxSorted(InstalledDependencyList, null, {
243
+ }, null, 3, "Kq_2"),
244
+ /*#__PURE__*/ _jsxSorted(InstalledDependencyList, { isLoading: _fnSignal(_hf0, [_rawProps], _hf0_str) }, {
243
245
  dependencies: _wrapProp(packages),
244
246
  filteredDependencies: _wrapProp(filteredPackages),
245
- isLoading: _fnSignal(_hf0, [_rawProps]),
246
247
  searchKeyword: _wrapProp(installedSearch),
247
248
  activeOperationKey: _wrapProp(activeOperationKey),
248
249
  onUpdate$: updatePackage
249
- }, null, 3, "Kn_3")
250
- ], 1, "Kn_4");
250
+ }, null, 3, "Kq_3")
251
+ ], 1, "Kq_4");
251
252
  }, "Packages_component_M0NSps63wxg"));
252
253
  export { Packages };
@@ -1,47 +1,55 @@
1
1
  import { getDependencyStatusClass, getDependencyStatusLabel } from "../../package-utils.qwik.mjs";
2
2
  import { PackageIcon } from "../PackageIcon/PackageIcon.qwik.mjs";
3
3
  import "../PackageIcon/index.qwik.mjs";
4
- import { _captures, _fnSignal, _jsxSorted, componentQrl, inlinedQrl } from "@qwik.dev/core";
4
+ import { _capturesObj, _fnSignal, _jsxSorted, componentQrl, inlinedQrl } from "@qwik.dev/core";
5
5
  var _hf0 = (p0) => p0.pkg.name;
6
+ var _hf0_str = "p0.pkg.name";
6
7
  var _hf1 = (p0) => p0.pkg.iconUrl;
8
+ var _hf1_str = "p0.pkg.iconUrl";
7
9
  var _hf2 = (p0) => p0.pkg.currentVersion;
10
+ var _hf2_str = "p0.pkg.currentVersion";
8
11
  var _hf3 = (p0) => p0.pkg.latestVersion;
12
+ var _hf3_str = "p0.pkg.latestVersion";
9
13
  var _hf4 = (p0) => p0.pkg.description || "No description available";
14
+ var _hf4_str = "p0.pkg.description||\"No description available\"";
10
15
  var _hf5 = (p0) => p0.activeOperationKey === `update:${p0.pkg.name}`;
16
+ var _hf5_str = "p0.activeOperationKey===`update:${p0.pkg.name}`";
11
17
  var _hf6 = (p0) => p0.activeOperationKey === `update:${p0.pkg.name}` ? "Updating..." : "Update Now";
18
+ var _hf6_str = "p0.activeOperationKey===`update:${p0.pkg.name}`?\"Updating...\":\"Update Now\"";
12
19
  var DependencyCard = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawProps) => {
13
- const authorDisplayName = (typeof _rawProps.pkg.author === "string" ? _rawProps.pkg.author.trim() : (_rawProps.pkg.author?.name || "").trim()) || "Unknown";
20
+ const author = _rawProps.pkg.author;
21
+ const authorDisplayName = (typeof author === "string" ? author.trim() : (author?.name || "").trim()) || "Unknown";
14
22
  const authorInitials = authorDisplayName.split(/\s+/).filter(Boolean).map((n) => n.charAt(0)).join("").substring(0, 2).toUpperCase() || "??";
15
23
  const handleAuthorClick = /*#__PURE__*/ inlinedQrl(() => {
16
- const _rawProps = _captures[0];
17
- if (typeof _rawProps.pkg.author !== "string") {
18
- if (_rawProps.pkg.author?.url) window.open(_rawProps.pkg.author.url, "_blank");
19
- else if (_rawProps.pkg.author?.email) window.open(`mailto:${_rawProps.pkg.author.email}`, "_blank");
24
+ let author = _capturesObj._[0];
25
+ if (typeof author !== "string") {
26
+ if (author?.url) window.open(author.url, "_blank");
27
+ else if (author?.email) window.open(`mailto:${author.email}`, "_blank");
20
28
  }
21
- }, "DependencyCard_component_handleAuthorClick_Z27jxExGLYo", [_rawProps]);
29
+ }, "DependencyCard_component_handleAuthorClick_Z27jxExGLYo", [author]);
22
30
  const handlePackageClick = /*#__PURE__*/ inlinedQrl(() => {
23
- const _rawProps = _captures[0];
31
+ let _rawProps = _capturesObj._[0];
24
32
  if (_rawProps.pkg.npmUrl) window.open(_rawProps.pkg.npmUrl, "_blank");
25
33
  }, "DependencyCard_component_handlePackageClick_MvynAcdfp2g", [_rawProps]);
26
34
  const handleHomepageClick = /*#__PURE__*/ inlinedQrl(() => {
27
- const _rawProps = _captures[0];
35
+ let _rawProps = _capturesObj._[0];
28
36
  if (_rawProps.pkg.homepage) window.open(_rawProps.pkg.homepage, "_blank");
29
37
  }, "DependencyCard_component_handleHomepageClick_G7v4ZbrD5Zs", [_rawProps]);
30
38
  const handleRepositoryClick = /*#__PURE__*/ inlinedQrl(() => {
31
- const _rawProps = _captures[0];
39
+ let _rawProps = _capturesObj._[0];
32
40
  if (_rawProps.pkg.repository) window.open(_rawProps.pkg.repository, "_blank");
33
41
  }, "DependencyCard_component_handleRepositoryClick_g80bocL0Cfc", [_rawProps]);
34
42
  return /*#__PURE__*/ _jsxSorted("div", null, { class: "bg-card-item-bg border-glass-border hover:border-primary/30 hover:shadow-primary/5 group relative rounded-xl border p-5 transition-all duration-300 hover:-translate-y-0.5 hover:shadow-lg" }, [/*#__PURE__*/ _jsxSorted("div", null, { class: "from-primary/0 via-primary/0 to-primary/5 pointer-events-none absolute inset-0 rounded-xl bg-gradient-to-br opacity-0 transition-opacity duration-300 group-hover:opacity-100" }, null, 3, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "relative flex flex-col gap-4" }, [
35
43
  /*#__PURE__*/ _jsxSorted("div", null, { class: "flex items-start gap-4" }, [/*#__PURE__*/ _jsxSorted("div", { title: `View ${_rawProps.pkg.name} on npm` }, {
36
44
  class: "from-primary/10 via-primary/20 to-primary/30 border-primary/20 group-hover:shadow-primary/20 flex h-12 w-12 flex-shrink-0 cursor-pointer items-center justify-center overflow-hidden rounded-xl border bg-gradient-to-br shadow-md transition-all duration-300 hover:scale-110 hover:rotate-3",
37
45
  "q-e:click": handlePackageClick
38
- }, /*#__PURE__*/ _jsxSorted(PackageIcon, null, {
39
- packageName: _fnSignal(_hf0, [_rawProps]),
40
- iconUrl: _fnSignal(_hf1, [_rawProps])
41
- }, null, 3, "ct_0"), 1, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "min-w-0 flex-1" }, [/*#__PURE__*/ _jsxSorted("h3", { title: _fnSignal(_hf0, [_rawProps]) }, {
46
+ }, /*#__PURE__*/ _jsxSorted(PackageIcon, {
47
+ iconUrl: _fnSignal(_hf1, [_rawProps], _hf1_str),
48
+ packageName: _fnSignal(_hf0, [_rawProps], _hf0_str)
49
+ }, null, null, 3, "y7_0"), 1, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "min-w-0 flex-1" }, [/*#__PURE__*/ _jsxSorted("h3", { title: _fnSignal(_hf0, [_rawProps], _hf0_str) }, {
42
50
  class: "text-foreground hover:text-primary mb-1.5 cursor-pointer truncate text-base font-bold transition-colors",
43
51
  "q-e:click": handlePackageClick
44
- }, _fnSignal(_hf0, [_rawProps]), 1, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "flex flex-wrap items-center gap-2" }, [
52
+ }, _fnSignal(_hf0, [_rawProps], _hf0_str), 1, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "flex flex-wrap items-center gap-2" }, [
45
53
  /*#__PURE__*/ _jsxSorted("span", null, { class: "bg-primary/10 border-primary/20 text-primary inline-flex items-center gap-1 rounded-md border px-2.5 py-0.5 text-xs font-medium" }, [
46
54
  /*#__PURE__*/ _jsxSorted("svg", null, {
47
55
  class: "h-3 w-3",
@@ -55,26 +63,28 @@ var DependencyCard = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawPr
55
63
  d: "M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z"
56
64
  }, null, 3, null), 3, null),
57
65
  "v",
58
- _fnSignal(_hf2, [_rawProps])
66
+ _fnSignal(_hf2, [_rawProps], _hf2_str)
59
67
  ], 1, null),
60
68
  /*#__PURE__*/ _jsxSorted("span", { class: ["inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-medium", getDependencyStatusClass(_rawProps.pkg.status)].join(" ") }, null, getDependencyStatusLabel(_rawProps.pkg.status), 1, null),
61
- _rawProps.pkg.latestVersion && _rawProps.pkg.status === "outdated" ? /*#__PURE__*/ _jsxSorted("span", null, { class: "text-muted-foreground text-xs" }, ["latest v", _fnSignal(_hf3, [_rawProps])], 1, "ct_1") : null
69
+ _rawProps.pkg.latestVersion && _rawProps.pkg.status === "outdated" ? /*#__PURE__*/ _jsxSorted("span", null, { class: "text-muted-foreground text-xs" }, ["latest v", _fnSignal(_hf3, [_rawProps], _hf3_str)], 1, "y7_1") : null
62
70
  ], 1, null)], 1, null)], 1, null),
63
- /*#__PURE__*/ _jsxSorted("p", null, { class: "text-muted-foreground line-clamp-2 min-h-[2.5rem] text-sm leading-relaxed" }, _fnSignal(_hf4, [_rawProps]), 1, null),
71
+ /*#__PURE__*/ _jsxSorted("p", null, { class: "text-muted-foreground line-clamp-2 min-h-[2.5rem] text-sm leading-relaxed" }, _fnSignal(_hf4, [_rawProps], _hf4_str), 1, null),
64
72
  /*#__PURE__*/ _jsxSorted("div", null, { class: "border-border border-t" }, null, 3, null),
65
- /*#__PURE__*/ _jsxSorted("div", null, { class: "flex items-center justify-between gap-3" }, [_rawProps.pkg.author ? /*#__PURE__*/ _jsxSorted("div", null, { class: "flex min-w-0 flex-1 items-center gap-2" }, [/*#__PURE__*/ _jsxSorted("div", { title: `Contact ${authorDisplayName}` }, {
73
+ /*#__PURE__*/ _jsxSorted("div", null, { class: "flex items-center justify-between gap-3" }, [author ? /*#__PURE__*/ _jsxSorted("div", null, { class: "flex min-w-0 flex-1 items-center gap-2" }, [/*#__PURE__*/ _jsxSorted("div", { title: `Contact ${authorDisplayName}` }, {
66
74
  class: "from-accent/20 to-accent/40 border-accent/30 flex h-7 w-7 flex-shrink-0 cursor-pointer items-center justify-center rounded-full border bg-gradient-to-br transition-transform hover:scale-110",
67
75
  "q-e:click": handleAuthorClick
68
- }, /*#__PURE__*/ _jsxSorted("span", null, { class: "text-accent text-[10px] font-semibold" }, authorInitials, 1, null), 1, null), /*#__PURE__*/ _jsxSorted("span", null, { class: "text-muted-foreground truncate text-xs" }, /*#__PURE__*/ _jsxSorted("span", null, { class: "text-foreground font-medium" }, authorDisplayName, 1, null), 1, null)], 1, "ct_2") : /*#__PURE__*/ _jsxSorted("div", null, { class: "flex-1" }, null, 3, "ct_3"), /*#__PURE__*/ _jsxSorted("div", null, { class: "flex items-center gap-1.5" }, [
76
+ }, /*#__PURE__*/ _jsxSorted("span", null, { class: "text-accent text-[10px] font-semibold" }, authorInitials, 1, null), 1, null), /*#__PURE__*/ _jsxSorted("span", null, { class: "text-muted-foreground truncate text-xs" }, /*#__PURE__*/ _jsxSorted("span", null, { class: "text-foreground font-medium" }, authorDisplayName, 1, null), 1, null)], 1, "y7_2") : /*#__PURE__*/ _jsxSorted("div", null, { class: "flex-1" }, null, 3, "y7_3"), /*#__PURE__*/ _jsxSorted("div", null, { class: "flex items-center gap-1.5" }, [
69
77
  _rawProps.pkg.status === "outdated" && /*#__PURE__*/ _jsxSorted("button", {
70
- disabled: _fnSignal(_hf5, [_rawProps]),
71
- "q-e:click": /*#__PURE__*/ inlinedQrl((_, _1, _rawProps) => _rawProps.onUpdate$(_rawProps.pkg.name), "DependencyCard_component_div_div_div_div_button_q_e_click_0yYsxJjsZQk").m(),
72
- "q:p": _rawProps,
78
+ disabled: _fnSignal(_hf5, [_rawProps], _hf5_str),
73
79
  title: `Update ${_rawProps.pkg.name}`
74
80
  }, {
75
81
  type: "button",
82
+ "q-e:click": /*#__PURE__*/ inlinedQrl(() => {
83
+ let _rawProps = _capturesObj._[0];
84
+ return _rawProps.onUpdate$(_rawProps.pkg.name);
85
+ }, "DependencyCard_component_div_div_div_div_button_q_e_click_0yYsxJjsZQk", [_rawProps]),
76
86
  class: "bg-primary/10 hover:bg-primary/20 text-primary rounded-lg px-2.5 py-1.5 text-xs font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-50"
77
- }, _fnSignal(_hf6, [_rawProps]), 4, "ct_4"),
87
+ }, _fnSignal(_hf6, [_rawProps], _hf6_str), 1, "y7_4"),
78
88
  _rawProps.pkg.homepage && /*#__PURE__*/ _jsxSorted("button", null, {
79
89
  "q-e:click": handleHomepageClick,
80
90
  class: "hover:bg-primary/10 group/btn text-muted-foreground hover:text-primary rounded-lg p-1.5 transition-all duration-200",
@@ -89,7 +99,7 @@ var DependencyCard = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawPr
89
99
  "stroke-linejoin": "round",
90
100
  "stroke-width": "2",
91
101
  d: "M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"
92
- }, null, 3, null), 3, null), 3, "ct_5"),
102
+ }, null, 3, null), 3, null), 3, "y7_5"),
93
103
  _rawProps.pkg.repository && /*#__PURE__*/ _jsxSorted("button", null, {
94
104
  "q-e:click": handleRepositoryClick,
95
105
  class: "hover:bg-primary/10 group/btn text-muted-foreground hover:text-primary rounded-lg p-1.5 transition-all duration-200",
@@ -98,7 +108,7 @@ var DependencyCard = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawPr
98
108
  class: "h-4 w-4",
99
109
  fill: "currentColor",
100
110
  viewBox: "0 0 24 24"
101
- }, /*#__PURE__*/ _jsxSorted("path", null, { d: "M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z" }, null, 3, null), 3, null), 3, "ct_6"),
111
+ }, /*#__PURE__*/ _jsxSorted("path", null, { d: "M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z" }, null, 3, null), 3, null), 3, "y7_6"),
102
112
  _rawProps.pkg.npmUrl && /*#__PURE__*/ _jsxSorted("button", null, {
103
113
  "q-e:click": handlePackageClick,
104
114
  class: "hover:bg-primary/10 group/btn text-muted-foreground hover:text-primary rounded-lg p-1.5 transition-all duration-200",
@@ -107,8 +117,8 @@ var DependencyCard = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawPr
107
117
  class: "h-4 w-4",
108
118
  fill: "currentColor",
109
119
  viewBox: "0 0 24 24"
110
- }, /*#__PURE__*/ _jsxSorted("path", null, { d: "M0 7.334v8h6.666v1.332H12v-1.332h12v-8H0zm6.666 6.664H5.334v-4H3.999v4H1.335V8.667h5.331v5.331zm4 0v1.336H8.001V8.667h5.334v5.332h-2.669v-.001zm12.001 0h-1.33v-4h-1.336v4h-1.335v-4h-1.33v4h-2.671V8.667h8.002v5.331zM10.665 10H12v2.667h-1.335V10z" }, null, 3, null), 3, null), 3, "ct_7")
120
+ }, /*#__PURE__*/ _jsxSorted("path", null, { d: "M0 7.334v8h6.666v1.332H12v-1.332h12v-8H0zm6.666 6.664H5.334v-4H3.999v4H1.335V8.667h5.331v5.331zm4 0v1.336H8.001V8.667h5.334v5.332h-2.669v-.001zm12.001 0h-1.33v-4h-1.336v4h-1.335v-4h-1.33v4h-2.671V8.667h8.002v5.331zM10.665 10H12v2.667h-1.335V10z" }, null, 3, null), 3, null), 3, "y7_7")
111
121
  ], 1, null)], 1, null)
112
- ], 1, null)], 1, "ct_8");
122
+ ], 1, null)], 1, "y7_8");
113
123
  }, "DependencyCard_component_16iStPKJyzY"));
114
124
  export { DependencyCard };
@@ -1,14 +1,15 @@
1
1
  import { _fnSignal, _jsxSorted, componentQrl, inlinedQrl } from "@qwik.dev/core";
2
2
  var _hf0 = (p0) => p0.feedback.message;
3
+ var _hf0_str = "p0.feedback.message";
3
4
  var DependencyOperationFeedback = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawProps) => {
4
5
  if (!_rawProps.feedback) return null;
5
6
  const isError = _rawProps.feedback.type === "error";
6
- return /*#__PURE__*/ _jsxSorted("div", { class: ["rounded-xl border px-4 py-3 text-sm", isError ? "border-red-500/20 bg-red-500/10 text-red-300" : "border-emerald-500/20 bg-emerald-500/10 text-emerald-300"].join(" ") }, null, /*#__PURE__*/ _jsxSorted("div", null, { class: "flex flex-wrap items-center justify-between gap-3" }, [/*#__PURE__*/ _jsxSorted("span", null, null, _fnSignal(_hf0, [_rawProps]), 1, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "flex items-center gap-2" }, [isError && _rawProps.feedback.retryAction ? /*#__PURE__*/ _jsxSorted("button", { "q-e:click": _rawProps.onRetry$ }, {
7
+ return /*#__PURE__*/ _jsxSorted("div", { class: ["rounded-xl border px-4 py-3 text-sm", isError ? "border-red-500/20 bg-red-500/10 text-red-300" : "border-emerald-500/20 bg-emerald-500/10 text-emerald-300"].join(" ") }, null, /*#__PURE__*/ _jsxSorted("div", null, { class: "flex flex-wrap items-center justify-between gap-3" }, [/*#__PURE__*/ _jsxSorted("span", null, null, _fnSignal(_hf0, [_rawProps], _hf0_str), 1, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "flex items-center gap-2" }, [isError && _rawProps.feedback.retryAction ? /*#__PURE__*/ _jsxSorted("button", { "q-e:click": _rawProps.onRetry$ }, {
7
8
  type: "button",
8
9
  class: "rounded-lg bg-foreground/10 px-2.5 py-1 text-xs hover:bg-foreground/20"
9
- }, "Retry", 2, "yy_0") : null, /*#__PURE__*/ _jsxSorted("button", { "q-e:click": _rawProps.onDismiss$ }, {
10
+ }, "Retry", 2, "Jo_0") : null, /*#__PURE__*/ _jsxSorted("button", { "q-e:click": _rawProps.onDismiss$ }, {
10
11
  type: "button",
11
12
  class: "rounded-lg bg-foreground/10 px-2.5 py-1 text-xs hover:bg-foreground/20"
12
- }, "Dismiss", 2, null)], 1, null)], 1, null), 1, "yy_1");
13
+ }, "Dismiss", 2, null)], 1, null)], 1, null), 1, "Jo_1");
13
14
  }, "DependencyOperationFeedback_component_3LtTZiIpvzQ"));
14
15
  export { DependencyOperationFeedback };
@@ -1,42 +1,43 @@
1
- import { _fnSignal, _jsxSorted, _wrapProp, componentQrl, inlinedQrl } from "@qwik.dev/core";
1
+ import { _capturesObj, _fnSignal, _jsxSorted, _wrapProp, componentQrl, inlinedQrl } from "@qwik.dev/core";
2
2
  var _hf0 = (p0) => p0.isSearching ? "Searching..." : "Search";
3
+ var _hf0_str = "p0.isSearching?\"Searching...\":\"Search\"";
3
4
  var _hf1 = (p0) => p0.isRefreshing ? "Refreshing..." : "Refresh";
5
+ var _hf1_str = "p0.isRefreshing?\"Refreshing...\":\"Refresh\"";
4
6
  var DependencyToolbar = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((props) => {
5
7
  return /*#__PURE__*/ _jsxSorted("div", null, { class: "border-glass-border bg-card-item-bg rounded-xl border p-4" }, /*#__PURE__*/ _jsxSorted("div", null, { class: "grid gap-3 lg:grid-cols-[1fr_1fr_auto]" }, [
6
- /*#__PURE__*/ _jsxSorted("label", null, { class: "flex min-w-0 flex-col gap-1.5" }, [/*#__PURE__*/ _jsxSorted("span", null, { class: "text-muted-foreground text-xs font-medium" }, "Installed dependencies", 3, null), /*#__PURE__*/ _jsxSorted("input", {
7
- "q-e:input": /*#__PURE__*/ inlinedQrl((_, target, props) => props.onInstalledSearch$(target.value), "DependencyToolbar_component_div_div_label_input_q_e_input_nhSJP6PYDI0").m(),
8
- "q:p": props,
9
- value: _wrapProp(props, "installedSearch")
10
- }, {
8
+ /*#__PURE__*/ _jsxSorted("label", null, { class: "flex min-w-0 flex-col gap-1.5" }, [/*#__PURE__*/ _jsxSorted("span", null, { class: "text-muted-foreground text-xs font-medium" }, "Installed dependencies", 3, null), /*#__PURE__*/ _jsxSorted("input", { value: _wrapProp(props, "installedSearch") }, {
9
+ "q-e:input": /*#__PURE__*/ inlinedQrl((_, target) => {
10
+ return _capturesObj._[0].onInstalledSearch$(target.value);
11
+ }, "DependencyToolbar_component_div_div_label_input_q_e_input_nhSJP6PYDI0", [props]),
11
12
  class: "border-border bg-background/60 text-foreground placeholder:text-muted-foreground rounded-lg border px-3 py-2 text-sm outline-none focus:border-primary",
12
13
  placeholder: "Search installed packages",
13
14
  type: "search"
14
- }, null, 6, null)], 1, null),
15
- /*#__PURE__*/ _jsxSorted("label", null, { class: "flex min-w-0 flex-col gap-1.5" }, [/*#__PURE__*/ _jsxSorted("span", null, { class: "text-muted-foreground text-xs font-medium" }, "Search npm", 3, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "flex gap-2" }, [/*#__PURE__*/ _jsxSorted("input", {
16
- "q-e:input": /*#__PURE__*/ inlinedQrl((_, target, props) => props.onPackageSearch$(target.value), "DependencyToolbar_component_div_div_label_div_input_q_e_input_mwHCBr4jtxk").m(),
17
- "q-e:keydown": /*#__PURE__*/ inlinedQrl((event, _1, props) => {
15
+ }, null, 3, null)], 1, null),
16
+ /*#__PURE__*/ _jsxSorted("label", null, { class: "flex min-w-0 flex-col gap-1.5" }, [/*#__PURE__*/ _jsxSorted("span", null, { class: "text-muted-foreground text-xs font-medium" }, "Search npm", 3, null), /*#__PURE__*/ _jsxSorted("div", null, { class: "flex gap-2" }, [/*#__PURE__*/ _jsxSorted("input", { value: _wrapProp(props, "packageSearch") }, {
17
+ "q-e:input": /*#__PURE__*/ inlinedQrl((_, target) => {
18
+ return _capturesObj._[0].onPackageSearch$(target.value);
19
+ }, "DependencyToolbar_component_div_div_label_div_input_q_e_input_mwHCBr4jtxk", [props]),
20
+ "q-e:keydown": /*#__PURE__*/ inlinedQrl((event) => {
21
+ let props = _capturesObj._[0];
18
22
  if (event.key === "Enter") props.onSearch$();
19
- }, "DependencyToolbar_component_div_div_label_div_input_q_e_keydown_NtKT2JkJI0g").m(),
20
- "q:p": props,
21
- value: _wrapProp(props, "packageSearch")
22
- }, {
23
+ }, "DependencyToolbar_component_div_div_label_div_input_q_e_keydown_NtKT2JkJI0g", [props]),
23
24
  class: "border-border bg-background/60 text-foreground placeholder:text-muted-foreground min-w-0 flex-1 rounded-lg border px-3 py-2 text-sm outline-none focus:border-primary",
24
25
  placeholder: "Find new packages",
25
26
  type: "search"
26
- }, null, 6, null), /*#__PURE__*/ _jsxSorted("button", {
27
+ }, null, 3, null), /*#__PURE__*/ _jsxSorted("button", {
27
28
  disabled: _wrapProp(props, "isSearching"),
28
29
  "q-e:click": props.onSearch$
29
30
  }, {
30
31
  type: "button",
31
32
  class: "bg-primary/10 hover:bg-primary/20 text-primary rounded-lg px-3 py-2 text-sm font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-50"
32
- }, _fnSignal(_hf0, [props]), 0, null)], 1, null)], 1, null),
33
+ }, _fnSignal(_hf0, [props], _hf0_str), 0, null)], 1, null)], 1, null),
33
34
  /*#__PURE__*/ _jsxSorted("div", null, { class: "flex items-end" }, /*#__PURE__*/ _jsxSorted("button", {
34
35
  disabled: _wrapProp(props, "isRefreshing"),
35
36
  "q-e:click": props.onRefresh$
36
37
  }, {
37
38
  type: "button",
38
39
  class: "border-border bg-foreground/5 hover:bg-foreground/10 rounded-lg border px-3 py-2 text-sm transition-colors disabled:cursor-not-allowed disabled:opacity-50"
39
- }, _fnSignal(_hf1, [props]), 0, null), 1, null)
40
- ], 1, null), 1, "DU_0");
40
+ }, _fnSignal(_hf1, [props], _hf1_str), 0, null), 1, null)
41
+ ], 1, null), 1, "0M_0");
41
42
  }, "DependencyToolbar_component_A01yfmGXjeo"));
42
43
  export { DependencyToolbar };
@@ -6,16 +6,16 @@ var InstalledDependencyList = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQr
6
6
  "Dependencies are being preloaded in the background...",
7
7
  /*#__PURE__*/ _jsxSorted("br", null, null, null, 3, null),
8
8
  "This should only take a moment"
9
- ], 3, null)], 3, null), 3, "Bb_0");
10
- if (props.dependencies.length === 0) return /*#__PURE__*/ _jsxSorted("div", null, { class: "py-8 text-center" }, /*#__PURE__*/ _jsxSorted("div", null, { class: "text-muted-foreground text-sm" }, "No dependencies found in package.json", 3, null), 3, "Bb_1");
9
+ ], 3, null)], 3, null), 3, "Jr_0");
10
+ if (props.dependencies.length === 0) return /*#__PURE__*/ _jsxSorted("div", null, { class: "py-8 text-center" }, /*#__PURE__*/ _jsxSorted("div", null, { class: "text-muted-foreground text-sm" }, "No dependencies found in package.json", 3, null), 3, "Jr_1");
11
11
  if (props.filteredDependencies.length === 0) return /*#__PURE__*/ _jsxSorted("div", null, { class: "py-8 text-center" }, /*#__PURE__*/ _jsxSorted("div", null, { class: "text-muted-foreground text-sm" }, [
12
12
  "No installed dependencies match \"",
13
13
  _wrapProp(props, "searchKeyword"),
14
14
  "\""
15
- ], 1, null), 1, "Bb_2");
15
+ ], 1, null), 1, "Jr_2");
16
16
  return /*#__PURE__*/ _jsxSorted("div", null, { class: "grid gap-4 md:grid-cols-2 lg:grid-cols-3" }, props.filteredDependencies.map((pkg) => /*#__PURE__*/ _jsxSorted(DependencyCard, {
17
17
  onUpdate$: props.onUpdate$,
18
18
  pkg
19
- }, { activeOperationKey: _wrapProp(props, "activeOperationKey") }, null, 2, pkg.name)), 1, "Bb_3");
19
+ }, { activeOperationKey: _wrapProp(props, "activeOperationKey") }, null, 2, pkg.name)), 1, "Jr_3");
20
20
  }, "InstalledDependencyList_component_uodXFl0i7Y0"));
21
21
  export { InstalledDependencyList };
@@ -1,12 +1,12 @@
1
- import { _captures, _jsxSorted, _wrapProp, componentQrl, inlinedQrl, useSignal } from "@qwik.dev/core";
1
+ import { _capturesObj, _jsxSorted, _wrapProp, componentQrl, inlinedQrl, useSignal } from "@qwik.dev/core";
2
2
  var PackageIcon = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawProps) => {
3
3
  const iconError = useSignal(false);
4
4
  const handleIconError = /*#__PURE__*/ inlinedQrl(() => {
5
- const iconError = _captures[0];
5
+ let iconError = _capturesObj._[0];
6
6
  iconError.value = true;
7
7
  }, "PackageIcon_component_handleIconError_6GG7b4NJpQI", [iconError]);
8
8
  const fallbackInitial = _rawProps.packageName.split("/").pop()?.charAt(0).toUpperCase() || _rawProps.packageName.charAt(0).toUpperCase();
9
- if (!_rawProps.iconUrl || iconError.value) return /*#__PURE__*/ _jsxSorted("span", null, { class: "text-primary text-sm font-bold" }, fallbackInitial, 1, "JC_0");
9
+ if (!_rawProps.iconUrl || iconError.value) return /*#__PURE__*/ _jsxSorted("span", null, { class: "text-primary text-sm font-bold" }, fallbackInitial, 1, "6R_0");
10
10
  return /*#__PURE__*/ _jsxSorted("img", {
11
11
  alt: `${_rawProps.packageName} icon`,
12
12
  src: _wrapProp(_rawProps, "iconUrl")
@@ -16,6 +16,6 @@ var PackageIcon = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((_rawProps
16
16
  height: "24",
17
17
  "q-e:error": handleIconError,
18
18
  loading: "lazy"
19
- }, null, 3, "JC_1");
19
+ }, null, 3, "6R_1");
20
20
  }, "PackageIcon_component_JgJ0UtqxVLw"));
21
21
  export { PackageIcon };
@@ -2,23 +2,24 @@ import { SearchResultCard } from "../SearchResultCard/SearchResultCard.qwik.mjs"
2
2
  import "../SearchResultCard/index.qwik.mjs";
3
3
  import { _fnSignal, _jsxSorted, _wrapProp, componentQrl, inlinedQrl } from "@qwik.dev/core";
4
4
  var _hf0 = (p0, p1) => p0.selectedTypes[p1.name] || "devDependencies";
5
+ var _hf0_str = "p0.selectedTypes[p1.name]||\"devDependencies\"";
5
6
  var PackageSearchResults = /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((props) => {
6
7
  if (!props.query.trim()) return null;
7
- if (props.isSearching) return /*#__PURE__*/ _jsxSorted("div", null, { class: "border-glass-border bg-card-item-bg text-muted-foreground rounded-xl border p-4 text-sm" }, "Searching packages...", 3, "bz_0");
8
+ if (props.isSearching) return /*#__PURE__*/ _jsxSorted("div", null, { class: "border-glass-border bg-card-item-bg text-muted-foreground rounded-xl border p-4 text-sm" }, "Searching packages...", 3, "RU_0");
8
9
  if (props.error) return /*#__PURE__*/ _jsxSorted("div", null, { class: "rounded-xl border border-red-500/20 bg-red-500/10 p-4 text-sm text-red-300" }, [/*#__PURE__*/ _jsxSorted("div", null, null, _wrapProp(props, "error"), 1, null), /*#__PURE__*/ _jsxSorted("button", { "q-e:click": props.onRetrySearch$ }, {
9
10
  type: "button",
10
11
  class: "mt-3 rounded-lg bg-red-500/10 px-3 py-1.5 text-xs font-medium hover:bg-red-500/20"
11
- }, "Retry", 2, null)], 1, "bz_1");
12
+ }, "Retry", 2, null)], 1, "RU_1");
12
13
  if (props.results.length === 0) return /*#__PURE__*/ _jsxSorted("div", null, { class: "border-glass-border bg-card-item-bg text-muted-foreground rounded-xl border p-4 text-sm" }, [
13
14
  "No external packages found for \"",
14
15
  _wrapProp(props, "query"),
15
16
  "\"."
16
- ], 1, "bz_2");
17
+ ], 1, "RU_2");
17
18
  return /*#__PURE__*/ _jsxSorted("div", null, { class: "flex flex-col gap-3" }, props.results.map((result) => /*#__PURE__*/ _jsxSorted(SearchResultCard, {
18
19
  onInstall$: props.onInstall$,
19
20
  onTypeChange$: props.onTypeChange$,
20
21
  result,
21
- selectedType: _fnSignal(_hf0, [props, result])
22
- }, { activeOperationKey: _wrapProp(props, "activeOperationKey") }, null, 2, result.name)), 1, "bz_3");
22
+ selectedType: _fnSignal(_hf0, [props, result], _hf0_str)
23
+ }, { activeOperationKey: _wrapProp(props, "activeOperationKey") }, null, 2, result.name)), 1, "RU_3");
23
24
  }, "PackageSearchResults_component_EKXKiudzonI"));
24
25
  export { PackageSearchResults };