@lunora/studio 1.0.0-alpha.8 → 1.0.0-alpha.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +6 -0
- package/dist/index.d.ts +777 -780
- package/dist/index.js +1 -41
- package/dist/mount.d.ts +10 -10
- package/dist/mount.js +1 -26
- package/dist/packem_chunks/ApiTab.js +1 -0
- package/dist/packem_chunks/AuditPanel.js +1 -0
- package/dist/packem_chunks/DeploymentHealthPanel.js +1 -0
- package/dist/packem_chunks/ExportImportPanel.js +3 -0
- package/dist/packem_chunks/FileBrowser.js +4 -0
- package/dist/packem_chunks/FunctionRunner.js +1 -0
- package/dist/packem_chunks/FunctionStatsPanel.js +1 -0
- package/dist/packem_chunks/HealthPanel.js +1 -0
- package/dist/packem_chunks/InsightsPanel.js +1 -0
- package/dist/packem_chunks/LogsPanel.js +1 -0
- package/dist/packem_chunks/MailPanel.js +2 -0
- package/dist/packem_chunks/MetricsPanel.js +1 -0
- package/dist/packem_chunks/NotificationsPanel.js +1 -0
- package/dist/packem_chunks/PitrPanel.js +1 -0
- package/dist/packem_chunks/SchemaViewer.js +1 -0
- package/dist/packem_chunks/SecurityAdvisorPanel.js +1 -0
- package/dist/packem_chunks/SettingsPanel.js +1 -0
- package/dist/packem_chunks/SqlEditorPanel.js +6 -0
- package/dist/packem_chunks/TableEditor.js +1 -0
- package/dist/packem_chunks/agents-panel.js +1 -0
- package/dist/packem_chunks/analytics-panel.js +1 -0
- package/dist/packem_chunks/auth-audit-panel.js +1 -0
- package/dist/packem_chunks/auth-config-panel.js +1 -0
- package/dist/packem_chunks/auth-sessions-panel.js +1 -0
- package/dist/packem_chunks/containers-panel.js +1 -0
- package/dist/packem_chunks/dashboards-panel.js +1 -0
- package/dist/packem_chunks/fanout-panel.js +1 -0
- package/dist/packem_chunks/flags-panel.js +1 -0
- package/dist/packem_chunks/issues-panel.js +1 -0
- package/dist/packem_chunks/kv-browser.js +1 -0
- package/dist/packem_chunks/log-drains-panel.js +4 -0
- package/dist/packem_chunks/migrations-route.js +1 -0
- package/dist/packem_chunks/organizations-panel.js +1 -0
- package/dist/packem_chunks/payments-panel.js +1 -0
- package/dist/packem_chunks/permissions-panel.js +1 -0
- package/dist/packem_chunks/queues-panel.js +1 -0
- package/dist/packem_chunks/rls-panel.js +1 -0
- package/dist/packem_chunks/schedule-panel.js +1 -0
- package/dist/packem_chunks/sparkline.js +1 -0
- package/dist/packem_chunks/storage-rules-panel.js +1 -0
- package/dist/packem_chunks/subscriptions-panel.js +1 -0
- package/dist/packem_chunks/sync-client-panel.js +1 -0
- package/dist/packem_chunks/traces-panel.js +1 -0
- package/dist/packem_chunks/users-panel.js +1 -0
- package/dist/packem_chunks/vector-browser.js +1 -0
- package/dist/packem_chunks/workflows-panel.js +1 -0
- package/dist/packem_shared/ADMIN_FUNCTIONS-BnD4aovm.js +1 -0
- package/dist/packem_shared/ApiDocsPanel-DfUQ1ZAF.js +2 -0
- package/dist/packem_shared/ApiReferencePanel-9q8BbJl-.js +1 -0
- package/dist/packem_shared/CommandPalette--SQwfTW1.js +1 -0
- package/dist/packem_shared/ConfirmButton-CTL3f3kr.js +1 -0
- package/dist/packem_shared/ConnectionBadge-DOk0CQWo.js +1 -0
- package/dist/packem_shared/DEFAULT_AUTO_REFRESH_MS-BCC8_4BQ.js +1 -0
- package/dist/packem_shared/DEFAULT_INSIGHT_THRESHOLDS-B-hcFVoi.js +1 -0
- package/dist/packem_shared/DEFAULT_LOCALE-BZ4NojpD.js +1 -0
- package/dist/packem_shared/DataBrowser-CuRlztBz.js +1 -0
- package/dist/packem_shared/DataFilters-B26ZeqBZ.js +1 -0
- package/dist/packem_shared/ErrorBoundary-DvzYskH7.js +1 -0
- package/dist/packem_shared/GlobalDataBrowser-DB-vQ2_H.js +1 -0
- package/dist/packem_shared/HomePanel-Dcs4a3Ax.js +1 -0
- package/dist/packem_shared/MigrationsPanel-C2OnsqRb.js +1 -0
- package/dist/packem_shared/OpenRpcReferencePanel-qOZcWXMs.js +1 -0
- package/dist/packem_shared/STUDIO_ROOT_CLASS-C6MccdVk.js +1 -0
- package/dist/packem_shared/ScheduledJobs-D8kBZWBu.js +1 -0
- package/dist/packem_shared/ShardInput-BVn2iCU0.js +1 -0
- package/dist/packem_shared/Studio-B26_pT8J.js +1 -0
- package/dist/packem_shared/StudioApp-bXhJeLlZ.js +1 -0
- package/dist/packem_shared/StudioI18nProvider-CZ5h4nrV.js +1 -0
- package/dist/packem_shared/advisor-view-Pa8HLtBv.js +1 -0
- package/dist/packem_shared/aggregateMetrics-BNfajLa2.js +1 -0
- package/dist/packem_shared/alert-CVcOFuDR.js +1 -0
- package/dist/packem_shared/app.d-DW7yZsfu.d.ts +252 -0
- package/dist/packem_shared/badge-BbuuAio7.js +1 -0
- package/dist/packem_shared/bar-chart-DraN_srt.js +9 -0
- package/dist/packem_shared/browser-storage-xjTyMKY0.js +1 -0
- package/dist/packem_shared/button-BkCrNcAs.js +1 -0
- package/dist/packem_shared/card-CIDGUN6K.js +1 -0
- package/dist/packem_shared/cf-links-gbDy51nR.js +1 -0
- package/dist/packem_shared/checkbox-StT4Gob6.js +1 -0
- package/dist/packem_shared/data-grid-DcxyIXwG.js +1 -0
- package/dist/packem_shared/data-view-params-ClrV7XgF.js +1 -0
- package/dist/packem_shared/dropdown-menu-C3RQ_HlW.js +2 -0
- package/dist/packem_shared/empty-state-Cg7t_8qu.js +1 -0
- package/dist/packem_shared/error-alert-t6cpEi0z.js +1 -0
- package/dist/packem_shared/grid-features-jnrD0SpX.js +6 -0
- package/dist/packem_shared/home-panel-CU6MWLHG.js +3 -0
- package/dist/packem_shared/input-JHu63lTv.js +1 -0
- package/dist/packem_shared/internal-BSIsQVC6.js +2 -0
- package/dist/packem_shared/label-6uP1obNF.js +1 -0
- package/dist/packem_shared/live-status-CmuRLFKf.js +1 -0
- package/dist/packem_shared/log-fields-CoL3hsIQ.js +1 -0
- package/dist/packem_shared/modal-shell-CUwwWC2o.js +1 -0
- package/dist/packem_shared/operation-console-provider-BMJNtiyB.js +1 -0
- package/dist/packem_shared/recording-client-DRAZEmzE.js +1 -0
- package/dist/packem_shared/reference-view-DnYYWr7I.js +12 -0
- package/dist/packem_shared/result-chart-DzJOVsaw.js +1 -0
- package/dist/packem_shared/schema-diagram-cg-bz_VL.js +2 -0
- package/dist/packem_shared/scroll-area-DTEq6Jec.js +2 -0
- package/dist/packem_shared/select-Bul-DeII.js +2 -0
- package/dist/packem_shared/shard-history-DMEW5VBE.js +1 -0
- package/dist/packem_shared/skeleton-C1wQ9M5t.js +1 -0
- package/dist/packem_shared/sparkline-CgjeUU2I.js +1 -0
- package/dist/packem_shared/storage-tier-DznqOf-q.js +1 -0
- package/dist/packem_shared/studio-q-C-acL7.js +2 -0
- package/dist/packem_shared/table-DdJBrClo.js +2 -0
- package/dist/packem_shared/table-list-sidebar-BFkSQwlB.js +1 -0
- package/dist/packem_shared/textarea-Bu2-jKAs.js +1 -0
- package/dist/packem_shared/trace-handoff-Dw7mwjxu.js +1 -0
- package/dist/packem_shared/use-admin-query-QJ-ibl5u.js +1 -0
- package/dist/packem_shared/use-async-submit-q3ymBJkD.js +1 -0
- package/dist/packem_shared/use-auth-config-BObBpdsi.js +1 -0
- package/dist/packem_shared/use-sql-assistant-CHEu2-Rk.js +1 -0
- package/dist/packem_shared/useDebounced-Ihdiid_k.js +1 -0
- package/dist/packem_shared/utils-bhneXptQ.js +1 -0
- package/dist/packem_shared/virtual-rect-1o1veP7R.js +1 -0
- package/dist/standalone/chunk-2GA4SHO7.js +1 -0
- package/dist/standalone/chunk-2OUPA2WJ.js +1 -0
- package/dist/standalone/chunk-2PJNAWB3.js +1 -0
- package/dist/standalone/chunk-2VDFV5TD.js +1 -0
- package/dist/standalone/chunk-2WOIRKEI.js +1 -0
- package/dist/standalone/chunk-33CL6OHR.js +1 -0
- package/dist/standalone/chunk-34D36UCW.js +1 -0
- package/dist/standalone/chunk-3C3CG7ZK.js +1 -0
- package/dist/standalone/chunk-3O3HAXW7.js +1 -0
- package/dist/standalone/chunk-3STOIE7Q.js +1 -0
- package/dist/standalone/chunk-3XIESWL4.js +1 -0
- package/dist/standalone/chunk-4UOFSGUS.js +1 -0
- package/dist/standalone/chunk-53WEPGUD.js +1 -0
- package/dist/standalone/chunk-54MMVNPT.js +1 -0
- package/dist/standalone/chunk-5CVJS7ON.js +1 -0
- package/dist/standalone/chunk-5Y3QLNWX.js +1 -0
- package/dist/standalone/chunk-6IKEW5LG.js +1 -0
- package/dist/standalone/chunk-6LNCYDZO.js +1 -0
- package/dist/standalone/chunk-6NY7SPDL.js +1 -0
- package/dist/standalone/chunk-6PNPIW6I.js +2 -0
- package/dist/standalone/chunk-6ST5ECQA.js +1 -0
- package/dist/standalone/chunk-6VAKZALJ.js +1 -0
- package/dist/standalone/chunk-6YI4WJO4.js +1 -0
- package/dist/standalone/chunk-6YTSSIEJ.js +3 -0
- package/dist/standalone/chunk-7LWMHTJ3.js +1 -0
- package/dist/standalone/chunk-7QIFDWQV.js +1 -0
- package/dist/standalone/chunk-7T7UOTYK.js +1 -0
- package/dist/standalone/chunk-A74VSSA2.js +4 -0
- package/dist/standalone/chunk-AADILRJW.js +14 -0
- package/dist/standalone/chunk-AVAC26HJ.js +1 -0
- package/dist/standalone/chunk-BGBLQ563.js +1 -0
- package/dist/standalone/chunk-CCVXYYPJ.js +1 -0
- package/dist/standalone/chunk-CFPZYHPY.js +2 -0
- package/dist/standalone/chunk-CT5MMH4O.js +1 -0
- package/dist/standalone/chunk-CTNB2KIA.js +1 -0
- package/dist/standalone/chunk-CU55Y5TV.js +62 -0
- package/dist/standalone/chunk-D2RKH6JK.js +1 -0
- package/dist/standalone/chunk-E3NMX2VU.js +4 -0
- package/dist/standalone/chunk-EN2QAEO4.js +11 -0
- package/dist/standalone/chunk-ESVP44Y3.js +1 -0
- package/dist/standalone/chunk-FNPJ7GJZ.js +1 -0
- package/dist/standalone/chunk-FOBRNWBG.js +3 -0
- package/dist/standalone/chunk-FXCBF4XT.js +1 -0
- package/dist/standalone/chunk-G6PSMGLD.js +1 -0
- package/dist/standalone/chunk-GAX5IZYG.js +8 -0
- package/dist/standalone/chunk-GB6U2BPU.js +1 -0
- package/dist/standalone/chunk-GEDMLM4A.js +6 -0
- package/dist/standalone/chunk-GMR677FL.js +1 -0
- package/dist/standalone/chunk-GRL5MG3Z.js +1 -0
- package/dist/standalone/chunk-GXSZH7VJ.js +13 -0
- package/dist/standalone/chunk-GYKVBKT5.js +1 -0
- package/dist/standalone/chunk-H6YOWRFB.js +1 -0
- package/dist/standalone/chunk-HJ3E4YF5.js +1 -0
- package/dist/standalone/chunk-HJD2YUQS.js +1 -0
- package/dist/standalone/chunk-HPFLBYRI.js +1 -0
- package/dist/standalone/chunk-IC4L6G56.js +1 -0
- package/dist/standalone/chunk-IHQC7J35.js +1 -0
- package/dist/standalone/chunk-ILNELDFC.js +1 -0
- package/dist/standalone/chunk-IVFHIQOT.js +1 -0
- package/dist/standalone/chunk-JLOWAJRR.js +1 -0
- package/dist/standalone/chunk-JN2Y24PY.js +1 -0
- package/dist/standalone/chunk-JRMMYIAF.js +1 -0
- package/dist/standalone/chunk-KC44QCN6.js +1 -0
- package/dist/standalone/chunk-KJB7YAKB.js +1 -0
- package/dist/standalone/chunk-KLQYC6CC.js +1 -0
- package/dist/standalone/chunk-KUVMORDQ.js +1 -0
- package/dist/standalone/chunk-KZ3ALMMP.js +1 -0
- package/dist/standalone/chunk-L7R74G63.js +1 -0
- package/dist/standalone/chunk-LEDWUPXM.js +1 -0
- package/dist/standalone/chunk-LFKCLLPT.js +1 -0
- package/dist/standalone/chunk-MIQTKZAR.js +1 -0
- package/dist/standalone/chunk-OG4N2XHD.js +19 -0
- package/dist/standalone/chunk-OY2RVUZL.js +1 -0
- package/dist/standalone/chunk-P4YLIBCN.js +1 -0
- package/dist/standalone/chunk-PZVU2QMX.js +1 -0
- package/dist/standalone/chunk-Q7O6B7WC.js +1 -0
- package/dist/standalone/chunk-QBWRC5YX.js +1 -0
- package/dist/standalone/chunk-QLQADHFE.js +1 -0
- package/dist/standalone/chunk-QWGT25SE.js +1 -0
- package/dist/standalone/chunk-QXXIJAD5.js +1 -0
- package/dist/standalone/chunk-QZGTH6WH.js +1 -0
- package/dist/standalone/chunk-RJP3WBZ4.js +1 -0
- package/dist/standalone/chunk-RNL6BSFM.js +1 -0
- package/dist/standalone/chunk-RNRJKBY3.js +4 -0
- package/dist/standalone/chunk-RQ7AFLIV.js +1 -0
- package/dist/standalone/chunk-S252DAFP.js +1 -0
- package/dist/standalone/chunk-S2VVR7HI.js +1 -0
- package/dist/standalone/chunk-SD4BERSA.js +1 -0
- package/dist/standalone/chunk-SFDOII3B.js +1 -0
- package/dist/standalone/chunk-SKHEGARW.js +1 -0
- package/dist/standalone/chunk-SKW6J4VW.js +1 -0
- package/dist/standalone/chunk-SMIESS7P.js +1 -0
- package/dist/standalone/chunk-T6VMSOBB.js +1 -0
- package/dist/standalone/chunk-T7IUZIF4.js +1 -0
- package/dist/standalone/chunk-THIXMMZD.js +1 -0
- package/dist/standalone/chunk-TTGOOYLF.js +1 -0
- package/dist/standalone/chunk-U6TNNM5U.js +1 -0
- package/dist/standalone/chunk-UZERI5YC.js +1 -0
- package/dist/standalone/chunk-V53KNYRN.js +1 -0
- package/dist/standalone/chunk-VHWOCPRK.js +1 -0
- package/dist/standalone/chunk-W6SAOXGH.js +6 -0
- package/dist/standalone/chunk-WBYSSCV2.js +1 -0
- package/dist/standalone/chunk-X665E2HU.js +1 -0
- package/dist/standalone/chunk-XBDKZZ67.js +1 -0
- package/dist/standalone/chunk-XDAT7LHC.js +1 -0
- package/dist/standalone/chunk-XQCVZAGU.js +1 -0
- package/dist/standalone/chunk-XS5LDR52.js +1 -0
- package/dist/standalone/chunk-XXQUMVWH.js +1 -0
- package/dist/standalone/chunk-Y5Y7DHFW.js +1 -0
- package/dist/standalone/chunk-YJYTMQJI.js +1 -0
- package/dist/standalone/chunk-Z2V42P7J.js +1 -0
- package/dist/standalone/chunk-ZJGP6EKR.js +1 -0
- package/dist/standalone/studio.js +9 -356
- package/dist/styles.css +2 -2
- package/package.json +16 -14
- package/dist/packem_shared/ADMIN_FUNCTIONS-DjXgvJb6.js +0 -46
- package/dist/packem_shared/ApiDocsPanel-yVSGHK3H.js +0 -842
- package/dist/packem_shared/ApiReferencePanel-1vubqG5s.js +0 -229
- package/dist/packem_shared/ApiTab-rwttyQ1-.js +0 -251
- package/dist/packem_shared/AuditPanel-BqXZAsu_.js +0 -212
- package/dist/packem_shared/CommandPalette-BtgkBzZI.js +0 -373
- package/dist/packem_shared/ConfirmButton-C2eVi2Qv.js +0 -59
- package/dist/packem_shared/ConnectionBadge-B2DDM2Tn.js +0 -111
- package/dist/packem_shared/DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js +0 -50
- package/dist/packem_shared/DEFAULT_INSIGHT_THRESHOLDS-DjF0h-gA.js +0 -89
- package/dist/packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js +0 -27
- package/dist/packem_shared/DataBrowser-Ck_7QwNK.js +0 -4542
- package/dist/packem_shared/DataFilters-FNquMaiu.js +0 -249
- package/dist/packem_shared/ErrorBoundary-BzAApI7J.js +0 -66
- package/dist/packem_shared/ExportImportPanel-Dq6rj0tI.js +0 -193
- package/dist/packem_shared/FileBrowser-0pCpdKPE.js +0 -2932
- package/dist/packem_shared/FunctionRunner-7NH3KcTg.js +0 -343
- package/dist/packem_shared/FunctionStatsPanel-Cn_EBpDy.js +0 -432
- package/dist/packem_shared/GlobalDataBrowser-BTEmGrph.js +0 -318
- package/dist/packem_shared/HealthPanel-CQ4LzVET.js +0 -640
- package/dist/packem_shared/HomePanel-CP0lN1eF.js +0 -1273
- package/dist/packem_shared/InsightsPanel-DzNtoz7k.js +0 -423
- package/dist/packem_shared/LogsPanel-C3W0mabf.js +0 -839
- package/dist/packem_shared/MailPanel-CoEfWkCh.js +0 -447
- package/dist/packem_shared/MetricsPanel-CujtUfpl.js +0 -1625
- package/dist/packem_shared/MigrationsPanel-RX5qIFSr.js +0 -246
- package/dist/packem_shared/OpenRpcReferencePanel-vbcYbv3V.js +0 -191
- package/dist/packem_shared/PitrPanel-LJGNP_IX.js +0 -252
- package/dist/packem_shared/STUDIO_ROOT_CLASS-D12gX2dV.js +0 -3
- package/dist/packem_shared/ScheduledJobs-CabfKbyM.js +0 -159
- package/dist/packem_shared/SchemaViewer-Bam6ylvw.js +0 -2512
- package/dist/packem_shared/SecurityAdvisorPanel-DHr_bI38.js +0 -79
- package/dist/packem_shared/SettingsPanel-CBXQpYQA.js +0 -176
- package/dist/packem_shared/ShardInput-gx_DZXXn.js +0 -107
- package/dist/packem_shared/SqlEditorPanel-D5wMIxcg.js +0 -13
- package/dist/packem_shared/Studio-DkgODWD3.js +0 -33
- package/dist/packem_shared/StudioApp-ColQCvC_.js +0 -657
- package/dist/packem_shared/StudioI18nProvider-B-tDCZIi.js +0 -48
- package/dist/packem_shared/TableEditor-B8K5nUna.js +0 -371
- package/dist/packem_shared/advisor-view-CGcfMiPq.js +0 -159
- package/dist/packem_shared/aggregateMetrics-D4nUHEKU.js +0 -108
- package/dist/packem_shared/app.d-Nbhpihxv.d.ts +0 -300
- package/dist/packem_shared/badge-B2PKA1-5.js +0 -49
- package/dist/packem_shared/bar-chart-CzJAgqkp.js +0 -3245
- package/dist/packem_shared/button-BhsN2uZH.js +0 -49
- package/dist/packem_shared/card-DURq3ElK.js +0 -175
- package/dist/packem_shared/cf-links-2cktDedA.js +0 -8
- package/dist/packem_shared/checkbox-UNkzAxl-.js +0 -63
- package/dist/packem_shared/data-grid-B5CaV3wS.js +0 -183
- package/dist/packem_shared/dropdown-menu-WY4B_eJO.js +0 -280
- package/dist/packem_shared/empty-state-DY_oe0k6.js +0 -98
- package/dist/packem_shared/grid-features-CzUfqgsM.js +0 -840
- package/dist/packem_shared/input-XH4r1Pt1.js +0 -53
- package/dist/packem_shared/internal-rXJEAhXS.js +0 -68
- package/dist/packem_shared/label-D8ykjn5J.js +0 -46
- package/dist/packem_shared/live-status-FZ0psC1z.js +0 -44
- package/dist/packem_shared/reference-view-B4E49Lip.js +0 -2180
- package/dist/packem_shared/shard-history-DyebH1R5.js +0 -38
- package/dist/packem_shared/sparkline-10dG-_f0.js +0 -93
- package/dist/packem_shared/sql-editor-panel-Smfl_FDF.js +0 -2562
- package/dist/packem_shared/storage-tier-CL98eOvn.js +0 -85
- package/dist/packem_shared/studio-Be28OqIx.js +0 -10413
- package/dist/packem_shared/table-_RzNvy3R.js +0 -246
- package/dist/packem_shared/table-list-sidebar-Bg7uzbvC.js +0 -832
- package/dist/packem_shared/textarea-D3gaCU_-.js +0 -46
- package/dist/packem_shared/use-live-admin-Dq6g3daN.js +0 -73
- package/dist/packem_shared/use-live-shard-seed-Cuk3dnH0.js +0 -76
- package/dist/packem_shared/useDebounced-Dxncpg6z.js +0 -32
- package/dist/packem_shared/utils-B05Dmz_H.js +0 -8
- package/dist/packem_shared/virtual-rect-CVMUskSm.js +0 -10
|
@@ -1,280 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { c } from 'react/compiler-runtime';
|
|
3
|
-
import 'react';
|
|
4
|
-
import { Menu } from '@base-ui/react/menu';
|
|
5
|
-
import { c as cn } from './utils-B05Dmz_H.js';
|
|
6
|
-
import { HugeiconsIcon } from '@hugeicons/react';
|
|
7
|
-
import { Tick02Icon } from '@hugeicons/core-free-icons';
|
|
8
|
-
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
9
|
-
|
|
10
|
-
function DropdownMenu(t0) {
|
|
11
|
-
const $ = c(4);
|
|
12
|
-
let props;
|
|
13
|
-
if ($[0] !== t0) {
|
|
14
|
-
({
|
|
15
|
-
...props
|
|
16
|
-
} = t0);
|
|
17
|
-
$[0] = t0;
|
|
18
|
-
$[1] = props;
|
|
19
|
-
} else {
|
|
20
|
-
props = $[1];
|
|
21
|
-
}
|
|
22
|
-
let t1;
|
|
23
|
-
if ($[2] !== props) {
|
|
24
|
-
t1 = /* @__PURE__ */ jsxDEV(Menu.Root, {
|
|
25
|
-
"data-slot": "dropdown-menu",
|
|
26
|
-
...props
|
|
27
|
-
}, void 0, false);
|
|
28
|
-
$[2] = props;
|
|
29
|
-
$[3] = t1;
|
|
30
|
-
} else {
|
|
31
|
-
t1 = $[3];
|
|
32
|
-
}
|
|
33
|
-
return t1;
|
|
34
|
-
}
|
|
35
|
-
function DropdownMenuTrigger(t0) {
|
|
36
|
-
const $ = c(4);
|
|
37
|
-
let props;
|
|
38
|
-
if ($[0] !== t0) {
|
|
39
|
-
({
|
|
40
|
-
...props
|
|
41
|
-
} = t0);
|
|
42
|
-
$[0] = t0;
|
|
43
|
-
$[1] = props;
|
|
44
|
-
} else {
|
|
45
|
-
props = $[1];
|
|
46
|
-
}
|
|
47
|
-
let t1;
|
|
48
|
-
if ($[2] !== props) {
|
|
49
|
-
t1 = /* @__PURE__ */ jsxDEV(Menu.Trigger, {
|
|
50
|
-
"data-slot": "dropdown-menu-trigger",
|
|
51
|
-
...props
|
|
52
|
-
}, void 0, false);
|
|
53
|
-
$[2] = props;
|
|
54
|
-
$[3] = t1;
|
|
55
|
-
} else {
|
|
56
|
-
t1 = $[3];
|
|
57
|
-
}
|
|
58
|
-
return t1;
|
|
59
|
-
}
|
|
60
|
-
function DropdownMenuContent({
|
|
61
|
-
align = "start",
|
|
62
|
-
alignOffset = 0,
|
|
63
|
-
side = "bottom",
|
|
64
|
-
sideOffset = 4,
|
|
65
|
-
className,
|
|
66
|
-
...props
|
|
67
|
-
}) {
|
|
68
|
-
return /* @__PURE__ */ jsxDEV(Menu.Portal, {
|
|
69
|
-
children: /* @__PURE__ */ jsxDEV(Menu.Positioner, {
|
|
70
|
-
className: "isolate z-50 outline-none",
|
|
71
|
-
align,
|
|
72
|
-
alignOffset,
|
|
73
|
-
side,
|
|
74
|
-
sideOffset,
|
|
75
|
-
children: /* @__PURE__ */ jsxDEV(Menu.Popup, {
|
|
76
|
-
"data-slot": "dropdown-menu-content",
|
|
77
|
-
className: cn("z-50 max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-md text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 outline-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:overflow-hidden 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),
|
|
78
|
-
...props
|
|
79
|
-
}, void 0, false)
|
|
80
|
-
}, void 0, false)
|
|
81
|
-
}, void 0, false);
|
|
82
|
-
}
|
|
83
|
-
function DropdownMenuGroup(t0) {
|
|
84
|
-
const $ = c(4);
|
|
85
|
-
let props;
|
|
86
|
-
if ($[0] !== t0) {
|
|
87
|
-
({
|
|
88
|
-
...props
|
|
89
|
-
} = t0);
|
|
90
|
-
$[0] = t0;
|
|
91
|
-
$[1] = props;
|
|
92
|
-
} else {
|
|
93
|
-
props = $[1];
|
|
94
|
-
}
|
|
95
|
-
let t1;
|
|
96
|
-
if ($[2] !== props) {
|
|
97
|
-
t1 = /* @__PURE__ */ jsxDEV(Menu.Group, {
|
|
98
|
-
"data-slot": "dropdown-menu-group",
|
|
99
|
-
...props
|
|
100
|
-
}, void 0, false);
|
|
101
|
-
$[2] = props;
|
|
102
|
-
$[3] = t1;
|
|
103
|
-
} else {
|
|
104
|
-
t1 = $[3];
|
|
105
|
-
}
|
|
106
|
-
return t1;
|
|
107
|
-
}
|
|
108
|
-
function DropdownMenuLabel(t0) {
|
|
109
|
-
const $ = c(10);
|
|
110
|
-
let className;
|
|
111
|
-
let inset;
|
|
112
|
-
let props;
|
|
113
|
-
if ($[0] !== t0) {
|
|
114
|
-
({
|
|
115
|
-
className,
|
|
116
|
-
inset,
|
|
117
|
-
...props
|
|
118
|
-
} = t0);
|
|
119
|
-
$[0] = t0;
|
|
120
|
-
$[1] = className;
|
|
121
|
-
$[2] = inset;
|
|
122
|
-
$[3] = props;
|
|
123
|
-
} else {
|
|
124
|
-
className = $[1];
|
|
125
|
-
inset = $[2];
|
|
126
|
-
props = $[3];
|
|
127
|
-
}
|
|
128
|
-
let t1;
|
|
129
|
-
if ($[4] !== className) {
|
|
130
|
-
t1 = cn("px-2 py-2 text-xs text-muted-foreground data-inset:ps-7", className);
|
|
131
|
-
$[4] = className;
|
|
132
|
-
$[5] = t1;
|
|
133
|
-
} else {
|
|
134
|
-
t1 = $[5];
|
|
135
|
-
}
|
|
136
|
-
let t2;
|
|
137
|
-
if ($[6] !== inset || $[7] !== props || $[8] !== t1) {
|
|
138
|
-
t2 = /* @__PURE__ */ jsxDEV(Menu.GroupLabel, {
|
|
139
|
-
"data-slot": "dropdown-menu-label",
|
|
140
|
-
"data-inset": inset,
|
|
141
|
-
className: t1,
|
|
142
|
-
...props
|
|
143
|
-
}, void 0, false);
|
|
144
|
-
$[6] = inset;
|
|
145
|
-
$[7] = props;
|
|
146
|
-
$[8] = t1;
|
|
147
|
-
$[9] = t2;
|
|
148
|
-
} else {
|
|
149
|
-
t2 = $[9];
|
|
150
|
-
}
|
|
151
|
-
return t2;
|
|
152
|
-
}
|
|
153
|
-
function DropdownMenuItem({
|
|
154
|
-
className,
|
|
155
|
-
inset,
|
|
156
|
-
variant = "default",
|
|
157
|
-
...props
|
|
158
|
-
}) {
|
|
159
|
-
return /* @__PURE__ */ jsxDEV(Menu.Item, {
|
|
160
|
-
"data-slot": "dropdown-menu-item",
|
|
161
|
-
"data-inset": inset,
|
|
162
|
-
"data-variant": variant,
|
|
163
|
-
className: cn("group/dropdown-menu-item relative flex cursor-default items-center gap-2 rounded-md px-2 py-2 text-xs outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:ps-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive", className),
|
|
164
|
-
...props
|
|
165
|
-
}, void 0, false);
|
|
166
|
-
}
|
|
167
|
-
function DropdownMenuCheckboxItem(t0) {
|
|
168
|
-
const $ = c(15);
|
|
169
|
-
let checked;
|
|
170
|
-
let children;
|
|
171
|
-
let className;
|
|
172
|
-
let inset;
|
|
173
|
-
let props;
|
|
174
|
-
if ($[0] !== t0) {
|
|
175
|
-
({
|
|
176
|
-
className,
|
|
177
|
-
children,
|
|
178
|
-
checked,
|
|
179
|
-
inset,
|
|
180
|
-
...props
|
|
181
|
-
} = t0);
|
|
182
|
-
$[0] = t0;
|
|
183
|
-
$[1] = checked;
|
|
184
|
-
$[2] = children;
|
|
185
|
-
$[3] = className;
|
|
186
|
-
$[4] = inset;
|
|
187
|
-
$[5] = props;
|
|
188
|
-
} else {
|
|
189
|
-
checked = $[1];
|
|
190
|
-
children = $[2];
|
|
191
|
-
className = $[3];
|
|
192
|
-
inset = $[4];
|
|
193
|
-
props = $[5];
|
|
194
|
-
}
|
|
195
|
-
let t1;
|
|
196
|
-
if ($[6] !== className) {
|
|
197
|
-
t1 = cn("relative flex 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 focus:**:text-accent-foreground data-inset:ps-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className);
|
|
198
|
-
$[6] = className;
|
|
199
|
-
$[7] = t1;
|
|
200
|
-
} else {
|
|
201
|
-
t1 = $[7];
|
|
202
|
-
}
|
|
203
|
-
let t2;
|
|
204
|
-
if ($[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
205
|
-
t2 = /* @__PURE__ */ jsxDEV("span", {
|
|
206
|
-
className: "pointer-events-none absolute end-2 flex items-center justify-center",
|
|
207
|
-
"data-slot": "dropdown-menu-checkbox-item-indicator",
|
|
208
|
-
children: /* @__PURE__ */ jsxDEV(Menu.CheckboxItemIndicator, {
|
|
209
|
-
children: /* @__PURE__ */ jsxDEV(HugeiconsIcon, {
|
|
210
|
-
icon: Tick02Icon,
|
|
211
|
-
strokeWidth: 2
|
|
212
|
-
}, void 0, false)
|
|
213
|
-
}, void 0, false)
|
|
214
|
-
}, void 0, false);
|
|
215
|
-
$[8] = t2;
|
|
216
|
-
} else {
|
|
217
|
-
t2 = $[8];
|
|
218
|
-
}
|
|
219
|
-
let t3;
|
|
220
|
-
if ($[9] !== checked || $[10] !== children || $[11] !== inset || $[12] !== props || $[13] !== t1) {
|
|
221
|
-
t3 = /* @__PURE__ */ jsxDEV(Menu.CheckboxItem, {
|
|
222
|
-
"data-slot": "dropdown-menu-checkbox-item",
|
|
223
|
-
"data-inset": inset,
|
|
224
|
-
className: t1,
|
|
225
|
-
checked,
|
|
226
|
-
...props,
|
|
227
|
-
children: [t2, children]
|
|
228
|
-
}, void 0, true);
|
|
229
|
-
$[9] = checked;
|
|
230
|
-
$[10] = children;
|
|
231
|
-
$[11] = inset;
|
|
232
|
-
$[12] = props;
|
|
233
|
-
$[13] = t1;
|
|
234
|
-
$[14] = t3;
|
|
235
|
-
} else {
|
|
236
|
-
t3 = $[14];
|
|
237
|
-
}
|
|
238
|
-
return t3;
|
|
239
|
-
}
|
|
240
|
-
function DropdownMenuSeparator(t0) {
|
|
241
|
-
const $ = c(8);
|
|
242
|
-
let className;
|
|
243
|
-
let props;
|
|
244
|
-
if ($[0] !== t0) {
|
|
245
|
-
({
|
|
246
|
-
className,
|
|
247
|
-
...props
|
|
248
|
-
} = t0);
|
|
249
|
-
$[0] = t0;
|
|
250
|
-
$[1] = className;
|
|
251
|
-
$[2] = props;
|
|
252
|
-
} else {
|
|
253
|
-
className = $[1];
|
|
254
|
-
props = $[2];
|
|
255
|
-
}
|
|
256
|
-
let t1;
|
|
257
|
-
if ($[3] !== className) {
|
|
258
|
-
t1 = cn("-mx-1 h-px bg-border", className);
|
|
259
|
-
$[3] = className;
|
|
260
|
-
$[4] = t1;
|
|
261
|
-
} else {
|
|
262
|
-
t1 = $[4];
|
|
263
|
-
}
|
|
264
|
-
let t2;
|
|
265
|
-
if ($[5] !== props || $[6] !== t1) {
|
|
266
|
-
t2 = /* @__PURE__ */ jsxDEV(Menu.Separator, {
|
|
267
|
-
"data-slot": "dropdown-menu-separator",
|
|
268
|
-
className: t1,
|
|
269
|
-
...props
|
|
270
|
-
}, void 0, false);
|
|
271
|
-
$[5] = props;
|
|
272
|
-
$[6] = t1;
|
|
273
|
-
$[7] = t2;
|
|
274
|
-
} else {
|
|
275
|
-
t2 = $[7];
|
|
276
|
-
}
|
|
277
|
-
return t2;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
export { DropdownMenuTrigger as D, DropdownMenuLabel as a, DropdownMenuItem as b, DropdownMenuContent as c, DropdownMenu as d, DropdownMenuCheckboxItem as e, DropdownMenuSeparator as f, DropdownMenuGroup as g };
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { c } from 'react/compiler-runtime';
|
|
2
|
-
import { c as cn } from './utils-B05Dmz_H.js';
|
|
3
|
-
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
4
|
-
|
|
5
|
-
const EmptyState = (t0) => {
|
|
6
|
-
const $ = c(19);
|
|
7
|
-
const {
|
|
8
|
-
action,
|
|
9
|
-
className,
|
|
10
|
-
description,
|
|
11
|
-
icon,
|
|
12
|
-
testId,
|
|
13
|
-
title
|
|
14
|
-
} = t0;
|
|
15
|
-
let t1;
|
|
16
|
-
if ($[0] !== className) {
|
|
17
|
-
t1 = cn("flex flex-col items-center justify-center gap-3 rounded-lg border border-dashed border-border px-6 py-14 text-center", className);
|
|
18
|
-
$[0] = className;
|
|
19
|
-
$[1] = t1;
|
|
20
|
-
} else {
|
|
21
|
-
t1 = $[1];
|
|
22
|
-
}
|
|
23
|
-
let t2;
|
|
24
|
-
if ($[2] !== icon) {
|
|
25
|
-
t2 = icon !== void 0 && /* @__PURE__ */ jsxDEV("span", {
|
|
26
|
-
className: "flex size-10 items-center justify-center rounded-lg bg-muted text-muted-foreground [&_svg]:size-5",
|
|
27
|
-
children: icon
|
|
28
|
-
}, void 0, false);
|
|
29
|
-
$[2] = icon;
|
|
30
|
-
$[3] = t2;
|
|
31
|
-
} else {
|
|
32
|
-
t2 = $[3];
|
|
33
|
-
}
|
|
34
|
-
let t3;
|
|
35
|
-
if ($[4] !== title) {
|
|
36
|
-
t3 = /* @__PURE__ */ jsxDEV("p", {
|
|
37
|
-
className: "text-sm font-medium text-foreground",
|
|
38
|
-
children: title
|
|
39
|
-
}, void 0, false);
|
|
40
|
-
$[4] = title;
|
|
41
|
-
$[5] = t3;
|
|
42
|
-
} else {
|
|
43
|
-
t3 = $[5];
|
|
44
|
-
}
|
|
45
|
-
let t4;
|
|
46
|
-
if ($[6] !== description) {
|
|
47
|
-
t4 = description !== void 0 && /* @__PURE__ */ jsxDEV("p", {
|
|
48
|
-
className: "max-w-sm text-sm text-muted-foreground",
|
|
49
|
-
children: description
|
|
50
|
-
}, void 0, false);
|
|
51
|
-
$[6] = description;
|
|
52
|
-
$[7] = t4;
|
|
53
|
-
} else {
|
|
54
|
-
t4 = $[7];
|
|
55
|
-
}
|
|
56
|
-
let t5;
|
|
57
|
-
if ($[8] !== t3 || $[9] !== t4) {
|
|
58
|
-
t5 = /* @__PURE__ */ jsxDEV("div", {
|
|
59
|
-
className: "flex flex-col gap-1",
|
|
60
|
-
children: [t3, t4]
|
|
61
|
-
}, void 0, true);
|
|
62
|
-
$[8] = t3;
|
|
63
|
-
$[9] = t4;
|
|
64
|
-
$[10] = t5;
|
|
65
|
-
} else {
|
|
66
|
-
t5 = $[10];
|
|
67
|
-
}
|
|
68
|
-
let t6;
|
|
69
|
-
if ($[11] !== action) {
|
|
70
|
-
t6 = action !== void 0 && /* @__PURE__ */ jsxDEV("div", {
|
|
71
|
-
className: "mt-1 flex items-center gap-2",
|
|
72
|
-
children: action
|
|
73
|
-
}, void 0, false);
|
|
74
|
-
$[11] = action;
|
|
75
|
-
$[12] = t6;
|
|
76
|
-
} else {
|
|
77
|
-
t6 = $[12];
|
|
78
|
-
}
|
|
79
|
-
let t7;
|
|
80
|
-
if ($[13] !== t1 || $[14] !== t2 || $[15] !== t5 || $[16] !== t6 || $[17] !== testId) {
|
|
81
|
-
t7 = /* @__PURE__ */ jsxDEV("div", {
|
|
82
|
-
className: t1,
|
|
83
|
-
"data-testid": testId,
|
|
84
|
-
children: [t2, t5, t6]
|
|
85
|
-
}, void 0, true);
|
|
86
|
-
$[13] = t1;
|
|
87
|
-
$[14] = t2;
|
|
88
|
-
$[15] = t5;
|
|
89
|
-
$[16] = t6;
|
|
90
|
-
$[17] = testId;
|
|
91
|
-
$[18] = t7;
|
|
92
|
-
} else {
|
|
93
|
-
t7 = $[18];
|
|
94
|
-
}
|
|
95
|
-
return t7;
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
export { EmptyState as E };
|