@lunora/studio 1.0.0-alpha.29 → 1.0.0-alpha.30

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 (165) hide show
  1. package/dist/index.js +28 -28
  2. package/dist/mount.js +1 -1
  3. package/dist/{packem_shared/ApiTab-vo8uhE29.js → packem_chunks/ApiTab.js} +5 -5
  4. package/dist/{packem_shared/AuditPanel-CBjYR6S5.js → packem_chunks/AuditPanel.js} +12 -12
  5. package/dist/{packem_shared/ExportImportPanel-DtDEy4OD.js → packem_chunks/ExportImportPanel.js} +10 -10
  6. package/dist/{packem_shared/FileBrowser-DqLRjqsM.js → packem_chunks/FileBrowser.js} +15 -15
  7. package/dist/{packem_shared/FunctionRunner-BmRkCvT4.js → packem_chunks/FunctionRunner.js} +10 -10
  8. package/dist/{packem_shared/FunctionStatsPanel-Bi3kyQvu.js → packem_chunks/FunctionStatsPanel.js} +13 -13
  9. package/dist/{packem_shared/HealthPanel-C7IPO6Ts.js → packem_chunks/HealthPanel.js} +12 -12
  10. package/dist/{packem_shared/InsightsPanel-BD29GXXd.js → packem_chunks/InsightsPanel.js} +11 -11
  11. package/dist/{packem_shared/LogsPanel-2JhE1qep.js → packem_chunks/LogsPanel.js} +13 -13
  12. package/dist/{packem_shared/MailPanel-DwNsuFJC.js → packem_chunks/MailPanel.js} +10 -10
  13. package/dist/{packem_shared/metrics-panel-3FSfzgEX.js → packem_chunks/MetricsPanel.js} +17 -284
  14. package/dist/{packem_shared/MigrationsPanel-Z1DmSSzf.js → packem_chunks/MigrationsPanel.js} +16 -16
  15. package/dist/{packem_shared/PitrPanel-3mec0LTF.js → packem_chunks/PitrPanel.js} +9 -9
  16. package/dist/{packem_shared/SchemaViewer-nxDV7dZJ.js → packem_chunks/SchemaViewer.js} +15 -15
  17. package/dist/{packem_shared/SecurityAdvisorPanel-5tYrJdvn.js → packem_chunks/SecurityAdvisorPanel.js} +4 -4
  18. package/dist/{packem_shared/SettingsPanel-SijRekVc.js → packem_chunks/SettingsPanel.js} +7 -7
  19. package/dist/{packem_shared/sql-editor-panel-DBuIpCXk.js → packem_chunks/SqlEditorPanel.js} +12 -252
  20. package/dist/{packem_shared/table-editor-7iSgi3te.js → packem_chunks/TableEditor.js} +7 -101
  21. package/dist/packem_chunks/analytics-panel.js +261 -0
  22. package/dist/packem_chunks/auth-config-panel.js +179 -0
  23. package/dist/packem_chunks/auth-sessions-panel.js +175 -0
  24. package/dist/packem_chunks/dashboards-panel.js +779 -0
  25. package/dist/packem_chunks/fanout-panel.js +481 -0
  26. package/dist/packem_chunks/flags-panel.js +176 -0
  27. package/dist/packem_chunks/kv-browser.js +1896 -0
  28. package/dist/packem_chunks/log-drains-panel.js +273 -0
  29. package/dist/packem_chunks/organizations-panel.js +670 -0
  30. package/dist/packem_chunks/payments-panel.js +185 -0
  31. package/dist/packem_chunks/permissions-panel.js +804 -0
  32. package/dist/packem_chunks/queues-panel.js +147 -0
  33. package/dist/packem_chunks/rls-panel.js +313 -0
  34. package/dist/packem_chunks/schedule-panel.js +831 -0
  35. package/dist/packem_chunks/sparkline.js +79 -0
  36. package/dist/packem_chunks/storage-rules-panel.js +138 -0
  37. package/dist/packem_chunks/subscriptions-panel.js +236 -0
  38. package/dist/packem_chunks/users-panel.js +1265 -0
  39. package/dist/packem_chunks/vector-browser.js +281 -0
  40. package/dist/packem_chunks/workflows-panel.js +562 -0
  41. package/dist/packem_shared/{ApiDocsPanel-BSSgtcVf.js → ApiDocsPanel-B6u_wnz-.js} +1 -1
  42. package/dist/packem_shared/{ApiReferencePanel-D24xOjCw.js → ApiReferencePanel-Drz4UO0a.js} +2 -1
  43. package/dist/packem_shared/{CommandPalette-L-CuSRUc.js → CommandPalette-B5BertvU.js} +1 -1
  44. package/dist/packem_shared/{DataBrowser-DBKOIVKS.js → DataBrowser-ANTHLWWh.js} +6 -5
  45. package/dist/packem_shared/{GlobalDataBrowser-DOjhvhKa.js → GlobalDataBrowser-CjgTG_wa.js} +4 -4
  46. package/dist/packem_shared/{HomePanel-dJIkHY_i.js → HomePanel-c2FodE9t.js} +4 -4
  47. package/dist/packem_shared/{OpenRpcReferencePanel-Dq0yyVWz.js → OpenRpcReferencePanel-CspFdbUT.js} +2 -1
  48. package/dist/packem_shared/{ScheduledJobs--Z9GTmKb.js → ScheduledJobs-BEJXtsBn.js} +2 -2
  49. package/dist/packem_shared/Studio-CVTtA_sB.js +16 -0
  50. package/dist/packem_shared/{StudioApp-wxioPfiP.js → StudioApp-BSYV2fz6.js} +1 -1
  51. package/dist/packem_shared/{bar-chart-CzJAgqkp.js → bar-chart-Bb__F5-u.js} +1 -1
  52. package/dist/packem_shared/browser-storage-d03UsV7v.js +249 -0
  53. package/dist/packem_shared/{cf-links-2cktDedA.js → cf-links-BZfRdxSE.js} +1 -1
  54. package/dist/packem_shared/{data-grid-CrapHxR-.js → data-grid-Dsg6nRjo.js} +1 -1
  55. package/dist/packem_shared/data-view-params-Cd6yRVbv.js +96 -0
  56. package/dist/packem_shared/{grid-features-DnTbXXNb.js → grid-features-D7nNzBYm.js} +4 -99
  57. package/dist/packem_shared/{home-panel-VdQI_8oX.js → home-panel-aOR_drVv.js} +24 -87
  58. package/dist/packem_shared/{internal-CvMZCVd6.js → internal-FcNZ3beb.js} +1 -1
  59. package/dist/packem_shared/modal-shell-hyaJvIJ6.js +100 -0
  60. package/dist/packem_shared/{reference-view-DVyk5kXj.js → reference-view-Doy1XlQq.js} +4 -44
  61. package/dist/packem_shared/select-UkNYCT3s.js +273 -0
  62. package/dist/packem_shared/skeleton-CGhL0p20.js +45 -0
  63. package/dist/packem_shared/{sparkline-10dG-_f0.js → sparkline-KgMPHS4u.js} +1 -1
  64. package/dist/packem_shared/studio-dMTJ-kRR.js +3987 -0
  65. package/dist/packem_shared/{table-list-sidebar-BbSgfLJ2.js → table-list-sidebar-VMo0ftxD.js} +1 -1
  66. package/dist/packem_shared/{use-admin-query-CFl5GUg_.js → use-admin-query-BViPA3US.js} +2 -2
  67. package/dist/packem_shared/use-auth-capabilities-BHkoBnbZ.js +32 -0
  68. package/dist/standalone/chunk-2DS7JLWL.js +13 -0
  69. package/dist/standalone/chunk-2K47A3P6.js +1 -0
  70. package/dist/standalone/chunk-2NGUNNGW.js +1 -0
  71. package/dist/standalone/chunk-2PDQ4KZ6.js +1 -0
  72. package/dist/standalone/chunk-3BP4BTLR.js +4 -0
  73. package/dist/standalone/chunk-3OA7PECS.js +6 -0
  74. package/dist/standalone/chunk-4QHKBC77.js +1 -0
  75. package/dist/standalone/chunk-57LYXHXH.js +1 -0
  76. package/dist/standalone/chunk-5NSZVXCS.js +1 -0
  77. package/dist/standalone/chunk-5OIBXYZM.js +1 -0
  78. package/dist/standalone/chunk-63XKJQTQ.js +1 -0
  79. package/dist/standalone/chunk-6RC6L33K.js +4 -0
  80. package/dist/standalone/chunk-6VTGE3WJ.js +1 -0
  81. package/dist/standalone/chunk-7PBZKXYA.js +1 -0
  82. package/dist/standalone/chunk-7POIIWC5.js +3 -0
  83. package/dist/standalone/chunk-7RYIQKZA.js +1 -0
  84. package/dist/standalone/chunk-7TJJXVSE.js +1 -0
  85. package/dist/standalone/chunk-AB6QGMBF.js +1 -0
  86. package/dist/standalone/chunk-AHILM3ZP.js +1 -0
  87. package/dist/standalone/chunk-AQGOX5DK.js +1 -0
  88. package/dist/standalone/chunk-ASLGNHAX.js +1 -0
  89. package/dist/standalone/chunk-BHTPZS7L.js +4 -0
  90. package/dist/standalone/chunk-BJGBHGK3.js +1 -0
  91. package/dist/standalone/chunk-D7HKX4DI.js +1 -0
  92. package/dist/standalone/chunk-DGWTR4G7.js +1 -0
  93. package/dist/standalone/chunk-DSX53PBM.js +1 -0
  94. package/dist/standalone/chunk-DV2MNASX.js +1 -0
  95. package/dist/standalone/chunk-DWDILV2E.js +1 -0
  96. package/dist/standalone/chunk-E7AVZZKO.js +1 -0
  97. package/dist/standalone/chunk-EGJX34WM.js +1 -0
  98. package/dist/standalone/chunk-FCR3HKFV.js +1 -0
  99. package/dist/standalone/chunk-FKO3HO6I.js +4 -0
  100. package/dist/standalone/chunk-FQKNJSRA.js +76 -0
  101. package/dist/standalone/chunk-G2TFEWEQ.js +4 -0
  102. package/dist/standalone/chunk-GABMIICA.js +1 -0
  103. package/dist/standalone/chunk-GTM65MVX.js +1 -0
  104. package/dist/standalone/chunk-GZXPPJVK.js +1 -0
  105. package/dist/standalone/chunk-HFBRE65A.js +1 -0
  106. package/dist/standalone/chunk-HFMQNUBC.js +1 -0
  107. package/dist/standalone/chunk-HG7Q5B3H.js +1 -0
  108. package/dist/standalone/chunk-HTQL7AXU.js +1 -0
  109. package/dist/standalone/chunk-HV7G6DFP.js +5 -0
  110. package/dist/standalone/chunk-ITLLHEVG.js +1 -0
  111. package/dist/standalone/chunk-J6J54MBP.js +1 -0
  112. package/dist/standalone/chunk-JSEXCW5Q.js +1 -0
  113. package/dist/standalone/chunk-KEGAWN6Y.js +1 -0
  114. package/dist/standalone/chunk-KG3QTFWE.js +1 -0
  115. package/dist/standalone/chunk-KGS7KM4A.js +2 -0
  116. package/dist/standalone/chunk-KODWGUAB.js +1 -0
  117. package/dist/standalone/chunk-KZ6INM5M.js +1 -0
  118. package/dist/standalone/chunk-MGFEVTRI.js +1 -0
  119. package/dist/standalone/chunk-N2QDG3MW.js +1 -0
  120. package/dist/standalone/chunk-N4JI6VQD.js +1 -0
  121. package/dist/standalone/chunk-NNISYDNI.js +1 -0
  122. package/dist/standalone/chunk-O4PXDNR3.js +1 -0
  123. package/dist/standalone/chunk-O77VNUFD.js +1 -0
  124. package/dist/standalone/chunk-OD2POGPJ.js +1 -0
  125. package/dist/standalone/chunk-OXCK3ZUG.js +1 -0
  126. package/dist/standalone/chunk-P7DSVO4U.js +1 -0
  127. package/dist/standalone/chunk-PKAM3N5C.js +1 -0
  128. package/dist/standalone/chunk-QGXGBHQO.js +1 -0
  129. package/dist/standalone/chunk-QHA3TAEJ.js +1 -0
  130. package/dist/standalone/chunk-QQWC62X7.js +1 -0
  131. package/dist/standalone/chunk-RMYA7NAH.js +1 -0
  132. package/dist/standalone/chunk-RRCPZMC2.js +22 -0
  133. package/dist/standalone/chunk-S53RUBW5.js +1 -0
  134. package/dist/standalone/chunk-SB4GT6PK.js +1 -0
  135. package/dist/standalone/chunk-SEU5V7I6.js +1 -0
  136. package/dist/standalone/chunk-SHIOUDOT.js +1 -0
  137. package/dist/standalone/chunk-SIDRSX7Y.js +1 -0
  138. package/dist/standalone/chunk-SVR644RF.js +1 -0
  139. package/dist/standalone/chunk-TAD43CG5.js +1 -0
  140. package/dist/standalone/chunk-TBMYIZIO.js +1 -0
  141. package/dist/standalone/chunk-TICVNLPM.js +1 -0
  142. package/dist/standalone/chunk-TQ36RWOP.js +1 -0
  143. package/dist/standalone/chunk-UGMRUEBU.js +1 -0
  144. package/dist/standalone/chunk-UII66UVF.js +1 -0
  145. package/dist/standalone/chunk-VJPQUBN6.js +8 -0
  146. package/dist/standalone/chunk-VLXV72QE.js +1 -0
  147. package/dist/standalone/chunk-VMJKJWG6.js +1 -0
  148. package/dist/standalone/chunk-VPDPN5RR.js +2 -0
  149. package/dist/standalone/chunk-VSEGZA3J.js +1 -0
  150. package/dist/standalone/chunk-VXBZQIGY.js +4 -0
  151. package/dist/standalone/chunk-W7PCVQTE.js +1 -0
  152. package/dist/standalone/chunk-XLILSHPE.js +1 -0
  153. package/dist/standalone/chunk-XURNGQSS.js +1 -0
  154. package/dist/standalone/chunk-YJGANMU7.js +18 -0
  155. package/dist/standalone/chunk-YQQJ4N6U.js +1 -0
  156. package/dist/standalone/chunk-ZH7UES4T.js +2 -0
  157. package/dist/standalone/chunk-ZPUO7FNI.js +1 -0
  158. package/dist/standalone/chunk-ZQCVDXDL.js +1 -0
  159. package/dist/standalone/studio.js +104 -268
  160. package/package.json +1 -1
  161. package/dist/packem_shared/MetricsPanel-CRa4ITlq.js +0 -19
  162. package/dist/packem_shared/SqlEditorPanel-DI4obotI.js +0 -13
  163. package/dist/packem_shared/Studio-B_L5Q2-X.js +0 -33
  164. package/dist/packem_shared/TableEditor-1T-5KYtr.js +0 -11
  165. package/dist/packem_shared/studio-Dm6H5DHS.js +0 -13388
@@ -1,290 +1,23 @@
1
- 'use client';
2
1
  import { c } from 'react/compiler-runtime';
3
2
  import { useLunora } from '@lunora/react';
4
3
  import { useState, useRef, useEffect, useMemo } from 'react';
5
- import { L as LiveError } from './live-status-FZ0psC1z.js';
6
- import { ShardInput } from './ShardInput-gx_DZXXn.js';
7
- import { B as Button } from './button-BhsN2uZH.js';
8
- import { a as CardContent, C as Card, b as CardHeader, c as CardTitle, d as CardDescription } from './card-DURq3ElK.js';
9
- import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from './table-DsCa9Qp9.js';
10
- import { u as useAdminQuery } from './use-admin-query-CFl5GUg_.js';
11
- import useDebounced from './useDebounced-Dxncpg6z.js';
12
- import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
13
- import { ADMIN_FUNCTIONS } from './ADMIN_FUNCTIONS-CdaxLGkE.js';
14
- import { c as CLOUDFLARE_DURABLE_OBJECTS_URL } from './cf-links-2cktDedA.js';
15
- import { h as formatBytes, f as fireAndForget, c as callOptions, e as errorMessage, a as adminRef } from './internal-CvMZCVd6.js';
16
- import { r as recordShard, l as loadRecentShards } from './shard-history-DyebH1R5.js';
17
- import { aggregateMetrics, computeLatencyPercentiles, enrichQueryStats, shardsToAggregate } from './aggregateMetrics-D4nUHEKU.js';
18
- import { B as Badge } from './badge-B2PKA1-5.js';
19
- import { Select as Select$1 } from '@base-ui/react/select';
20
- import { c as cn } from './utils-B05Dmz_H.js';
21
- import { HugeiconsIcon } from '@hugeicons/react';
22
- import { UnfoldMoreIcon, Tick02Icon, ArrowUp01Icon, ArrowDown01Icon } from '@hugeicons/core-free-icons';
4
+ import { L as LiveError } from '../packem_shared/live-status-FZ0psC1z.js';
5
+ import { ShardInput } from '../packem_shared/ShardInput-gx_DZXXn.js';
6
+ import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
7
+ import { a as CardContent, C as Card, b as CardHeader, c as CardTitle, d as CardDescription } from '../packem_shared/card-DURq3ElK.js';
8
+ import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
9
+ import { u as useAdminQuery } from '../packem_shared/use-admin-query-BViPA3US.js';
10
+ import useDebounced from '../packem_shared/useDebounced-Dxncpg6z.js';
11
+ import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
12
+ import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-CdaxLGkE.js';
13
+ import { c as CLOUDFLARE_DURABLE_OBJECTS_URL } from '../packem_shared/cf-links-BZfRdxSE.js';
14
+ import { h as formatBytes, f as fireAndForget, c as callOptions, e as errorMessage, a as adminRef } from '../packem_shared/internal-FcNZ3beb.js';
15
+ import { r as recordShard, l as loadRecentShards } from '../packem_shared/shard-history-DyebH1R5.js';
16
+ import { aggregateMetrics, computeLatencyPercentiles, enrichQueryStats, shardsToAggregate } from '../packem_shared/aggregateMetrics-D4nUHEKU.js';
17
+ import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
18
+ import { S as SelectValue, a as SelectTrigger, b as SelectItem, c as SelectContent, d as Select } from '../packem_shared/select-UkNYCT3s.js';
23
19
  import { jsxDEV, Fragment } from 'react/jsx-dev-runtime';
24
- import { S as Sparkline } from './sparkline-10dG-_f0.js';
25
-
26
- const Select = Select$1.Root;
27
- function SelectValue(t0) {
28
- const $ = c(8);
29
- let className;
30
- let props;
31
- if ($[0] !== t0) {
32
- ({
33
- className,
34
- ...props
35
- } = t0);
36
- $[0] = t0;
37
- $[1] = className;
38
- $[2] = props;
39
- } else {
40
- className = $[1];
41
- props = $[2];
42
- }
43
- let t1;
44
- if ($[3] !== className) {
45
- t1 = cn("flex flex-1 text-start", className);
46
- $[3] = className;
47
- $[4] = t1;
48
- } else {
49
- t1 = $[4];
50
- }
51
- let t2;
52
- if ($[5] !== props || $[6] !== t1) {
53
- t2 = /* @__PURE__ */ jsxDEV(Select$1.Value, {
54
- "data-slot": "select-value",
55
- className: t1,
56
- ...props
57
- }, void 0, false);
58
- $[5] = props;
59
- $[6] = t1;
60
- $[7] = t2;
61
- } else {
62
- t2 = $[7];
63
- }
64
- return t2;
65
- }
66
- function SelectTrigger({
67
- className,
68
- size = "default",
69
- children,
70
- ...props
71
- }) {
72
- return /* @__PURE__ */ jsxDEV(Select$1.Trigger, {
73
- "data-slot": "select-trigger",
74
- "data-size": size,
75
- className: cn("flex w-fit items-center justify-between gap-1.5 rounded-md border border-input bg-transparent py-2 pe-2 ps-2.5 text-xs whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-1 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-1 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-md *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
76
- ...props,
77
- children: [children, /* @__PURE__ */ jsxDEV(Select$1.Icon, {
78
- render: /* @__PURE__ */ jsxDEV(HugeiconsIcon, {
79
- icon: UnfoldMoreIcon,
80
- strokeWidth: 2,
81
- className: "pointer-events-none size-4 text-muted-foreground"
82
- }, void 0, false)
83
- }, void 0, false)]
84
- }, void 0, true);
85
- }
86
- function SelectContent({
87
- className,
88
- children,
89
- side = "bottom",
90
- sideOffset = 4,
91
- align = "center",
92
- alignOffset = 0,
93
- alignItemWithTrigger = true,
94
- ...props
95
- }) {
96
- return /* @__PURE__ */ jsxDEV(Select$1.Portal, {
97
- children: /* @__PURE__ */ jsxDEV(Select$1.Positioner, {
98
- side,
99
- sideOffset,
100
- align,
101
- alignOffset,
102
- alignItemWithTrigger,
103
- className: "isolate z-50",
104
- children: /* @__PURE__ */ jsxDEV(Select$1.Popup, {
105
- "data-slot": "select-content",
106
- "data-align-trigger": alignItemWithTrigger,
107
- className: cn("isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-md text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-start-2 data-[side=inline-start]:slide-in-from-end-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 animate-none! relative bg-popover before:pointer-events-none before:absolute before:inset-0 before:-z-1 before:rounded-[inherit] **:data-[slot$=-item]:focus:bg-foreground/10 **:data-[slot$=-item]:data-highlighted:bg-foreground/10 **:data-[slot$=-separator]:bg-foreground/5 **:data-[slot$=-trigger]:focus:bg-foreground/10 **:data-[slot$=-trigger]:aria-expanded:bg-foreground/10! **:data-[variant=destructive]:focus:bg-foreground/10! **:data-[variant=destructive]:text-accent-foreground! **:data-[variant=destructive]:**:text-accent-foreground!", className),
108
- ...props,
109
- children: [/* @__PURE__ */ jsxDEV(SelectScrollUpButton, {}, void 0, false), /* @__PURE__ */ jsxDEV(Select$1.List, {
110
- children
111
- }, void 0, false), /* @__PURE__ */ jsxDEV(SelectScrollDownButton, {}, void 0, false)]
112
- }, void 0, true)
113
- }, void 0, false)
114
- }, void 0, false);
115
- }
116
- function SelectItem(t0) {
117
- const $ = c(13);
118
- let children;
119
- let className;
120
- let props;
121
- if ($[0] !== t0) {
122
- ({
123
- className,
124
- children,
125
- ...props
126
- } = t0);
127
- $[0] = t0;
128
- $[1] = children;
129
- $[2] = className;
130
- $[3] = props;
131
- } else {
132
- children = $[1];
133
- className = $[2];
134
- props = $[3];
135
- }
136
- let t1;
137
- if ($[4] !== className) {
138
- t1 = cn("relative flex w-full cursor-default items-center gap-2 rounded-md py-2 pe-8 ps-2 text-xs outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", className);
139
- $[4] = className;
140
- $[5] = t1;
141
- } else {
142
- t1 = $[5];
143
- }
144
- let t2;
145
- if ($[6] !== children) {
146
- t2 = /* @__PURE__ */ jsxDEV(Select$1.ItemText, {
147
- className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap",
148
- children
149
- }, void 0, false);
150
- $[6] = children;
151
- $[7] = t2;
152
- } else {
153
- t2 = $[7];
154
- }
155
- let t3;
156
- if ($[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
157
- t3 = /* @__PURE__ */ jsxDEV(Select$1.ItemIndicator, {
158
- render: /* @__PURE__ */ jsxDEV("span", {
159
- className: "pointer-events-none absolute end-2 flex size-4 items-center justify-center"
160
- }, void 0, false),
161
- children: /* @__PURE__ */ jsxDEV(HugeiconsIcon, {
162
- icon: Tick02Icon,
163
- strokeWidth: 2,
164
- className: "pointer-events-none"
165
- }, void 0, false)
166
- }, void 0, false);
167
- $[8] = t3;
168
- } else {
169
- t3 = $[8];
170
- }
171
- let t4;
172
- if ($[9] !== props || $[10] !== t1 || $[11] !== t2) {
173
- t4 = /* @__PURE__ */ jsxDEV(Select$1.Item, {
174
- "data-slot": "select-item",
175
- className: t1,
176
- ...props,
177
- children: [t2, t3]
178
- }, void 0, true);
179
- $[9] = props;
180
- $[10] = t1;
181
- $[11] = t2;
182
- $[12] = t4;
183
- } else {
184
- t4 = $[12];
185
- }
186
- return t4;
187
- }
188
- function SelectScrollUpButton(t0) {
189
- const $ = c(9);
190
- let className;
191
- let props;
192
- if ($[0] !== t0) {
193
- ({
194
- className,
195
- ...props
196
- } = t0);
197
- $[0] = t0;
198
- $[1] = className;
199
- $[2] = props;
200
- } else {
201
- className = $[1];
202
- props = $[2];
203
- }
204
- let t1;
205
- if ($[3] !== className) {
206
- t1 = cn("top-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4", className);
207
- $[3] = className;
208
- $[4] = t1;
209
- } else {
210
- t1 = $[4];
211
- }
212
- let t2;
213
- if ($[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
214
- t2 = /* @__PURE__ */ jsxDEV(HugeiconsIcon, {
215
- icon: ArrowUp01Icon,
216
- strokeWidth: 2
217
- }, void 0, false);
218
- $[5] = t2;
219
- } else {
220
- t2 = $[5];
221
- }
222
- let t3;
223
- if ($[6] !== props || $[7] !== t1) {
224
- t3 = /* @__PURE__ */ jsxDEV(Select$1.ScrollUpArrow, {
225
- "data-slot": "select-scroll-up-button",
226
- className: t1,
227
- ...props,
228
- children: t2
229
- }, void 0, false);
230
- $[6] = props;
231
- $[7] = t1;
232
- $[8] = t3;
233
- } else {
234
- t3 = $[8];
235
- }
236
- return t3;
237
- }
238
- function SelectScrollDownButton(t0) {
239
- const $ = c(9);
240
- let className;
241
- let props;
242
- if ($[0] !== t0) {
243
- ({
244
- className,
245
- ...props
246
- } = t0);
247
- $[0] = t0;
248
- $[1] = className;
249
- $[2] = props;
250
- } else {
251
- className = $[1];
252
- props = $[2];
253
- }
254
- let t1;
255
- if ($[3] !== className) {
256
- t1 = cn("bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4", className);
257
- $[3] = className;
258
- $[4] = t1;
259
- } else {
260
- t1 = $[4];
261
- }
262
- let t2;
263
- if ($[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
264
- t2 = /* @__PURE__ */ jsxDEV(HugeiconsIcon, {
265
- icon: ArrowDown01Icon,
266
- strokeWidth: 2
267
- }, void 0, false);
268
- $[5] = t2;
269
- } else {
270
- t2 = $[5];
271
- }
272
- let t3;
273
- if ($[6] !== props || $[7] !== t1) {
274
- t3 = /* @__PURE__ */ jsxDEV(Select$1.ScrollDownArrow, {
275
- "data-slot": "select-scroll-down-button",
276
- className: t1,
277
- ...props,
278
- children: t2
279
- }, void 0, false);
280
- $[6] = props;
281
- $[7] = t1;
282
- $[8] = t3;
283
- } else {
284
- t3 = $[8];
285
- }
286
- return t3;
287
- }
20
+ import { S as Sparkline } from '../packem_shared/sparkline-KgMPHS4u.js';
288
21
 
289
22
  const performanceLevel = (avgMs) => {
290
23
  if (avgMs >= 100) {
@@ -1608,4 +1341,4 @@ const MetricsPanel = ({
1608
1341
  }, void 0, true);
1609
1342
  };
1610
1343
 
1611
- export { MetricsPanel as M, SelectValue as S, SelectTrigger as a, SelectItem as b, SelectContent as c, Select as d };
1344
+ export { MetricsPanel };
@@ -1,21 +1,21 @@
1
1
  import { useLunora } from '@lunora/react';
2
2
  import { useState, useEffect } from 'react';
3
- import { ConfirmButton } from './ConfirmButton-C2eVi2Qv.js';
4
- import { L as LiveError } from './live-status-FZ0psC1z.js';
5
- import { ShardInput } from './ShardInput-gx_DZXXn.js';
6
- import { B as Badge } from './badge-B2PKA1-5.js';
7
- import { B as Button } from './button-BhsN2uZH.js';
8
- import { C as Card, a as CardContent } from './card-DURq3ElK.js';
9
- import { E as EmptyState } from './empty-state-DY_oe0k6.js';
10
- import { I as Input } from './input-XH4r1Pt1.js';
11
- import { L as Label } from './label-D8ykjn5J.js';
12
- import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from './table-DsCa9Qp9.js';
13
- import { u as useAdminQuery } from './use-admin-query-CFl5GUg_.js';
14
- import useDebounced from './useDebounced-Dxncpg6z.js';
15
- import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
16
- import { ADMIN_FUNCTIONS } from './ADMIN_FUNCTIONS-CdaxLGkE.js';
17
- import { b as formatTimestamp, f as fireAndForget, c as callOptions, e as errorMessage, a as adminRef } from './internal-CvMZCVd6.js';
18
- import { r as recordShard } from './shard-history-DyebH1R5.js';
3
+ import { ConfirmButton } from '../packem_shared/ConfirmButton-C2eVi2Qv.js';
4
+ import { L as LiveError } from '../packem_shared/live-status-FZ0psC1z.js';
5
+ import { ShardInput } from '../packem_shared/ShardInput-gx_DZXXn.js';
6
+ import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
7
+ import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
8
+ import { C as Card, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
9
+ import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
10
+ import { I as Input } from '../packem_shared/input-XH4r1Pt1.js';
11
+ import { L as Label } from '../packem_shared/label-D8ykjn5J.js';
12
+ import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
13
+ import { u as useAdminQuery } from '../packem_shared/use-admin-query-BViPA3US.js';
14
+ import useDebounced from '../packem_shared/useDebounced-Dxncpg6z.js';
15
+ import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
16
+ import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-CdaxLGkE.js';
17
+ import { g as formatTimestamp, f as fireAndForget, c as callOptions, e as errorMessage, a as adminRef } from '../packem_shared/internal-FcNZ3beb.js';
18
+ import { r as recordShard } from '../packem_shared/shard-history-DyebH1R5.js';
19
19
  import { jsxDEV } from 'react/jsx-dev-runtime';
20
20
 
21
21
  const RUN_MIGRATION = adminRef(ADMIN_FUNCTIONS.runMigration);
@@ -1,14 +1,14 @@
1
1
  import { useLunora } from '@lunora/react';
2
2
  import { useState, useCallback, useEffect } from 'react';
3
- import { ConfirmButton } from './ConfirmButton-C2eVi2Qv.js';
4
- import { B as Badge } from './badge-B2PKA1-5.js';
5
- import { B as Button } from './button-BhsN2uZH.js';
6
- import { I as Input } from './input-XH4r1Pt1.js';
7
- import { L as Label } from './label-D8ykjn5J.js';
8
- import { useAutoRefresh } from './DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js';
9
- import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
10
- import { ADMIN_FUNCTIONS } from './ADMIN_FUNCTIONS-CdaxLGkE.js';
11
- import { c as callOptions, e as errorMessage, f as fireAndForget, a as adminRef } from './internal-CvMZCVd6.js';
3
+ import { ConfirmButton } from '../packem_shared/ConfirmButton-C2eVi2Qv.js';
4
+ import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
5
+ import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
6
+ import { I as Input } from '../packem_shared/input-XH4r1Pt1.js';
7
+ import { L as Label } from '../packem_shared/label-D8ykjn5J.js';
8
+ import { useAutoRefresh } from '../packem_shared/DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js';
9
+ import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
10
+ import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-CdaxLGkE.js';
11
+ import { c as callOptions, e as errorMessage, f as fireAndForget, a as adminRef } from '../packem_shared/internal-FcNZ3beb.js';
12
12
  import { jsxDEV } from 'react/jsx-dev-runtime';
13
13
 
14
14
  const GET_BOOKMARK = adminRef(ADMIN_FUNCTIONS.getPitrBookmark);
@@ -2,27 +2,27 @@
2
2
  import { c } from 'react/compiler-runtime';
3
3
  import { useLunora } from '@lunora/react';
4
4
  import { useState, useRef, useEffect } from 'react';
5
- import { ShardInput } from './ShardInput-gx_DZXXn.js';
6
- import { S as StorageTierBadge, T as TIER_META } from './storage-tier-CL98eOvn.js';
7
- import { B as Badge } from './badge-B2PKA1-5.js';
8
- import { B as Button } from './button-BhsN2uZH.js';
9
- import { C as Card, b as CardHeader, c as CardTitle, d as CardDescription, a as CardContent } from './card-DURq3ElK.js';
10
- import { E as EmptyState } from './empty-state-DY_oe0k6.js';
11
- import { I as Input } from './input-XH4r1Pt1.js';
12
- import useDebounced from './useDebounced-Dxncpg6z.js';
13
- import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
14
- import { ADMIN_FUNCTIONS } from './ADMIN_FUNCTIONS-CdaxLGkE.js';
15
- import { f as fireAndForget, c as callOptions, e as errorMessage, a as adminRef } from './internal-CvMZCVd6.js';
16
- import { r as recordShard } from './shard-history-DyebH1R5.js';
17
- import { c as cn } from './utils-B05Dmz_H.js';
5
+ import { ShardInput } from '../packem_shared/ShardInput-gx_DZXXn.js';
6
+ import { S as StorageTierBadge, T as TIER_META } from '../packem_shared/storage-tier-CL98eOvn.js';
7
+ import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
8
+ import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
9
+ import { C as Card, b as CardHeader, c as CardTitle, d as CardDescription, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
10
+ import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
11
+ import { I as Input } from '../packem_shared/input-XH4r1Pt1.js';
12
+ import useDebounced from '../packem_shared/useDebounced-Dxncpg6z.js';
13
+ import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
14
+ import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-CdaxLGkE.js';
15
+ import { f as fireAndForget, c as callOptions, e as errorMessage, a as adminRef } from '../packem_shared/internal-FcNZ3beb.js';
16
+ import { r as recordShard } from '../packem_shared/shard-history-DyebH1R5.js';
17
+ import { c as cn } from '../packem_shared/utils-B05Dmz_H.js';
18
18
  import { Download01Icon } from '@hugeicons/core-free-icons';
19
19
  import { HugeiconsIcon } from '@hugeicons/react';
20
20
  import { Handle, Position, getNodesBounds, getViewportForBounds, useNodesState, useEdgesState, Background, Panel, Controls, MiniMap, ReactFlow, useNodes, useReactFlow } from '@xyflow/react';
21
- import { d as DropdownMenu, D as DropdownMenuTrigger, c as DropdownMenuContent, b as DropdownMenuItem } from './dropdown-menu-WY4B_eJO.js';
21
+ import { d as DropdownMenu, D as DropdownMenuTrigger, c as DropdownMenuContent, b as DropdownMenuItem } from '../packem_shared/dropdown-menu-WY4B_eJO.js';
22
22
  import { jsxDEV } from 'react/jsx-dev-runtime';
23
23
  import { toBlob, toSvg } from 'html-to-image';
24
24
  import { useNavigate } from '@tanstack/react-router';
25
- import { L as Label } from './label-D8ykjn5J.js';
25
+ import { L as Label } from '../packem_shared/label-D8ykjn5J.js';
26
26
 
27
27
  function BaseNode(t0) {
28
28
  const $ = c(10);
@@ -1,8 +1,8 @@
1
1
  import { c } from 'react/compiler-runtime';
2
- import { u as useAdminQuery } from './use-admin-query-CFl5GUg_.js';
3
- import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
4
- import { ADMIN_FUNCTIONS } from './ADMIN_FUNCTIONS-CdaxLGkE.js';
5
- import { A as AdvisorView } from './advisor-view-DzqyvUU3.js';
2
+ import { u as useAdminQuery } from '../packem_shared/use-admin-query-BViPA3US.js';
3
+ import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
4
+ import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-CdaxLGkE.js';
5
+ import { A as AdvisorView } from '../packem_shared/advisor-view-DzqyvUU3.js';
6
6
  import { jsxDEV } from 'react/jsx-dev-runtime';
7
7
 
8
8
  const findingTitle = (t, finding) => ({
@@ -1,12 +1,12 @@
1
1
  import { c } from 'react/compiler-runtime';
2
2
  import 'react';
3
- import { B as Badge } from './badge-B2PKA1-5.js';
4
- import { C as Card, a as CardContent } from './card-DURq3ElK.js';
5
- import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from './table-DsCa9Qp9.js';
6
- import { u as useAdminQuery } from './use-admin-query-CFl5GUg_.js';
7
- import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
8
- import { ADMIN_FUNCTIONS } from './ADMIN_FUNCTIONS-CdaxLGkE.js';
9
- import { a as CLOUDFLARE_WORKERS_URL } from './cf-links-2cktDedA.js';
3
+ import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
4
+ import { C as Card, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
5
+ import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
6
+ import { u as useAdminQuery } from '../packem_shared/use-admin-query-BViPA3US.js';
7
+ import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
8
+ import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-CdaxLGkE.js';
9
+ import { b as CLOUDFLARE_WORKERS_URL } from '../packem_shared/cf-links-BZfRdxSE.js';
10
10
  import { jsxDEV } from 'react/jsx-dev-runtime';
11
11
 
12
12
  const KIND_VARIANT = {