@lunora/studio 1.0.0-alpha.13 → 1.0.0-alpha.131
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 +881 -786
- package/dist/index.js +1 -41
- package/dist/mount.d.ts +10 -10
- package/dist/mount.js +1 -26
- package/dist/packem_chunks/AdvisorHealthPanel.js +1 -0
- 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 +9 -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/evals-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/reactors-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-B6z7VLYt.js +1 -0
- package/dist/packem_shared/ApiDocsPanel-Du1L7Ysj.js +2 -0
- package/dist/packem_shared/ApiReferencePanel-uGgGOBYj.js +1 -0
- package/dist/packem_shared/CommandPalette-HqiXrWIm.js +1 -0
- package/dist/packem_shared/ConfirmButton-Cj2SOapE.js +1 -0
- package/dist/packem_shared/ConnectionBadge-Bh16X9-u.js +1 -0
- package/dist/packem_shared/DEFAULT_AUTO_REFRESH_MS-DuULO4XM.js +1 -0
- package/dist/packem_shared/DEFAULT_INSIGHT_THRESHOLDS-1Lrg55IV.js +1 -0
- package/dist/packem_shared/DEFAULT_LOCALE-A1Yg5ORA.js +1 -0
- package/dist/packem_shared/DataBrowser-W5TxvLB8.js +4 -0
- package/dist/packem_shared/DataFilters-3nbW0uax.js +1 -0
- package/dist/packem_shared/ErrorBoundary-BWNF98VF.js +1 -0
- package/dist/packem_shared/GlobalDataBrowser-LFznuyGe.js +1 -0
- package/dist/packem_shared/HomePanel-DmB0EKjl.js +1 -0
- package/dist/packem_shared/MigrationsPanel-BDNt136v.js +1 -0
- package/dist/packem_shared/OpenRpcReferencePanel-DgrpASYD.js +1 -0
- package/dist/packem_shared/STUDIO_ROOT_CLASS-C6MccdVk.js +1 -0
- package/dist/packem_shared/ScheduledJobs-CiO3eXgI.js +1 -0
- package/dist/packem_shared/ShardInput-CdawpUiS.js +1 -0
- package/dist/packem_shared/Studio-CkNE_tEy.js +1 -0
- package/dist/packem_shared/StudioApp-BZP_0E2n.js +1 -0
- package/dist/packem_shared/StudioI18nProvider-Bl547evf.js +1 -0
- package/dist/packem_shared/advisor-view-C1KFTXSH.js +1 -0
- package/dist/packem_shared/aggregateMetrics-A-Y7OH6R.js +1 -0
- package/dist/packem_shared/alert-C2SEhYS9.js +1 -0
- package/dist/packem_shared/app.d-D1bPR8FO.d.ts +252 -0
- package/dist/packem_shared/badge-cAk9Di1Q.js +1 -0
- package/dist/packem_shared/bar-chart-B6gzp_f9.js +6 -0
- package/dist/packem_shared/browser-storage-BH1MxLZs.js +1 -0
- package/dist/packem_shared/button-BOPLD1un.js +1 -0
- package/dist/packem_shared/card-BGlQzQY-.js +1 -0
- package/dist/packem_shared/cf-links-CBJ5SywP.js +1 -0
- package/dist/packem_shared/checkbox-C5w53W-E.js +1 -0
- package/dist/packem_shared/control-button-BOZ5K-FC.js +1 -0
- package/dist/packem_shared/data-grid-BFTQnkXq.js +1 -0
- package/dist/packem_shared/data-view-params-qoSTqjAj.js +1 -0
- package/dist/packem_shared/dropdown-menu-U7Tjg1Nb.js +2 -0
- package/dist/packem_shared/empty-state-B939z6K2.js +1 -0
- package/dist/packem_shared/error-alert-TYdKetJd.js +1 -0
- package/dist/packem_shared/grid-features-jBzZGauv.js +6 -0
- package/dist/packem_shared/home-panel-DHOa3sxt.js +3 -0
- package/dist/packem_shared/input-CY5W3wzv.js +1 -0
- package/dist/packem_shared/internal-CwaF9YNk.js +2 -0
- package/dist/packem_shared/label-BOUo-DP0.js +1 -0
- package/dist/packem_shared/live-status-Bf7rR8o8.js +1 -0
- package/dist/packem_shared/log-fields-SBxKyBug.js +1 -0
- package/dist/packem_shared/log-line-UnE93Ovi.js +1 -0
- package/dist/packem_shared/modal-shell-wGW4CKEW.js +1 -0
- package/dist/packem_shared/operation-console-provider-DoloEvon.js +1 -0
- package/dist/packem_shared/quote-identifier-CGiYFBvY.js +1 -0
- package/dist/packem_shared/recording-client-CKn4-vUx.js +1 -0
- package/dist/packem_shared/reference-view-BU2dNK9Z.js +13 -0
- package/dist/packem_shared/schema-diagram-DOaIh1y6.js +2 -0
- package/dist/packem_shared/scroll-area-DSJftwu_.js +2 -0
- package/dist/packem_shared/select-BPISLTcv.js +2 -0
- package/dist/packem_shared/shard-history-DU5b3QDI.js +1 -0
- package/dist/packem_shared/shortcuts-lH4Vaqjc.js +1 -0
- package/dist/packem_shared/skeleton-DFBBaJU6.js +1 -0
- package/dist/packem_shared/sparkline-CYbJzfA1.js +1 -0
- package/dist/packem_shared/sql-result-table-CqlZo2QN.js +1 -0
- package/dist/packem_shared/stat-card-B9uIvAHg.js +1 -0
- package/dist/packem_shared/storage-tier-C2mKwYRj.js +1 -0
- package/dist/packem_shared/studio-CXai1O2K.js +2 -0
- package/dist/packem_shared/table-BMsuYFhk.js +2 -0
- package/dist/packem_shared/table-list-sidebar-BWq_-gtu.js +1 -0
- package/dist/packem_shared/textarea-DpO3i-Qo.js +1 -0
- package/dist/packem_shared/trace-handoff-z9sy89Ci.js +1 -0
- package/dist/packem_shared/use-admin-query-P0RJrjsD.js +1 -0
- package/dist/packem_shared/use-async-submit-DdLd0MdK.js +1 -0
- package/dist/packem_shared/use-auth-config-z3KRWAqD.js +1 -0
- package/dist/packem_shared/use-open-trace-4mqqFWrn.js +1 -0
- package/dist/packem_shared/use-shard-key-BsP3o5wT.js +1 -0
- package/dist/packem_shared/use-sql-assistant-D1K2LqpO.js +1 -0
- package/dist/packem_shared/useDebounced-DVeQ5-oW.js +1 -0
- package/dist/packem_shared/utils-bhneXptQ.js +1 -0
- package/dist/packem_shared/virtual-rect-D_j7aLxX.js +1 -0
- package/dist/packem_shared/wire-codec-Dl3VeNrd.js +1 -0
- package/dist/standalone/chunk-26VREVWU.js +1 -0
- package/dist/standalone/chunk-2SFSTQS4.js +1 -0
- package/dist/standalone/chunk-2VGV6RPS.js +1 -0
- package/dist/standalone/chunk-2XOGZAF4.js +3 -0
- package/dist/standalone/chunk-333WFRWG.js +1 -0
- package/dist/standalone/chunk-362AVHNC.js +1 -0
- package/dist/standalone/chunk-3NXFFXQ2.js +1 -0
- package/dist/standalone/chunk-3S4VZ2ZM.js +1 -0
- package/dist/standalone/chunk-443UDYWL.js +6 -0
- package/dist/standalone/chunk-4PZEPCO7.js +1 -0
- package/dist/standalone/chunk-4YTSKL4R.js +1 -0
- package/dist/standalone/chunk-4ZCENYC3.js +1 -0
- package/dist/standalone/chunk-57VX76PR.js +1 -0
- package/dist/standalone/chunk-5EW733RQ.js +1 -0
- package/dist/standalone/chunk-5JLIP2HH.js +1 -0
- package/dist/standalone/chunk-6CBLYGXJ.js +1 -0
- package/dist/standalone/chunk-6UPO6ELN.js +1 -0
- package/dist/standalone/chunk-6ZPTNC34.js +19 -0
- package/dist/standalone/chunk-74ASA4WU.js +1 -0
- package/dist/standalone/chunk-76YLMHR3.js +1 -0
- package/dist/standalone/chunk-77JLGJ7V.js +1 -0
- package/dist/standalone/chunk-7PIHTTND.js +1 -0
- package/dist/standalone/chunk-7SROZWKL.js +1 -0
- package/dist/standalone/chunk-AFKLFS74.js +1 -0
- package/dist/standalone/chunk-AOAJGSYZ.js +2 -0
- package/dist/standalone/chunk-AXXNMZQ4.js +1 -0
- package/dist/standalone/chunk-BFCUKERU.js +8 -0
- package/dist/standalone/chunk-BQK2C2Z4.js +1 -0
- package/dist/standalone/chunk-BUIAZFSC.js +1 -0
- package/dist/standalone/chunk-BWEXJENB.js +1 -0
- package/dist/standalone/chunk-CA5ILAW2.js +14 -0
- package/dist/standalone/chunk-CAOUXOL7.js +1 -0
- package/dist/standalone/chunk-CKTKI4IY.js +1 -0
- package/dist/standalone/chunk-CL76PTLM.js +2 -0
- package/dist/standalone/chunk-CN2AINNY.js +1 -0
- package/dist/standalone/chunk-CP4ZFBVW.js +1 -0
- package/dist/standalone/chunk-CSYDKCNQ.js +1 -0
- package/dist/standalone/chunk-CYX3OHJ3.js +1 -0
- package/dist/standalone/chunk-DKSLOJDQ.js +1 -0
- package/dist/standalone/chunk-DPNEFSEC.js +1 -0
- package/dist/standalone/chunk-DUDQV6XJ.js +1 -0
- package/dist/standalone/chunk-DZGOHOOE.js +1 -0
- package/dist/standalone/chunk-EBI7CCQQ.js +1 -0
- package/dist/standalone/chunk-EDHW2EEG.js +1 -0
- package/dist/standalone/chunk-EE63P4VX.js +1 -0
- package/dist/standalone/chunk-ELO3V35K.js +1 -0
- package/dist/standalone/chunk-EVQ6LHI6.js +1 -0
- package/dist/standalone/chunk-EYGF6TQS.js +1 -0
- package/dist/standalone/chunk-F7JOSNAT.js +1 -0
- package/dist/standalone/chunk-FB5DOMZF.js +4 -0
- package/dist/standalone/chunk-FDLSPDIC.js +15 -0
- package/dist/standalone/chunk-FJ6G6FNE.js +1 -0
- package/dist/standalone/chunk-GIQDEWC4.js +1 -0
- package/dist/standalone/chunk-GSQURGCT.js +1 -0
- package/dist/standalone/chunk-H3BH6X3G.js +1 -0
- package/dist/standalone/chunk-H7YVFLA5.js +7 -0
- package/dist/standalone/chunk-HAIBZTXF.js +1 -0
- package/dist/standalone/chunk-HRD2DVIW.js +1 -0
- package/dist/standalone/chunk-IE5S3JMD.js +1 -0
- package/dist/standalone/chunk-INQICZYC.js +1 -0
- package/dist/standalone/chunk-IYWVSMAY.js +1 -0
- package/dist/standalone/chunk-IZXGBTPE.js +1 -0
- package/dist/standalone/chunk-JHXEEPRG.js +1 -0
- package/dist/standalone/chunk-JURAVSE7.js +1 -0
- package/dist/standalone/chunk-JUWOEHDD.js +1 -0
- package/dist/standalone/chunk-JV7KTJPY.js +1 -0
- package/dist/standalone/chunk-KTXD2N6F.js +1 -0
- package/dist/standalone/chunk-KVSQKUWD.js +1 -0
- package/dist/standalone/chunk-L4EZAHCD.js +1 -0
- package/dist/standalone/chunk-M3NNNOD5.js +1 -0
- package/dist/standalone/chunk-MCLM2QJI.js +1 -0
- package/dist/standalone/chunk-METRMDIQ.js +1 -0
- package/dist/standalone/chunk-MPYVZLYP.js +1 -0
- package/dist/standalone/chunk-MSCK3V6U.js +1 -0
- package/dist/standalone/chunk-MVZARXDR.js +1 -0
- package/dist/standalone/chunk-MYFFCV2R.js +1 -0
- package/dist/standalone/chunk-NIX2QSSN.js +1 -0
- package/dist/standalone/chunk-NNLNQKT7.js +59 -0
- package/dist/standalone/chunk-NSOLPNU7.js +1 -0
- package/dist/standalone/chunk-NXXGISFB.js +1 -0
- package/dist/standalone/chunk-O5MAFDY2.js +1 -0
- package/dist/standalone/chunk-OE4KGVJW.js +4 -0
- package/dist/standalone/chunk-OEGE3YDK.js +11 -0
- package/dist/standalone/chunk-OG57FC7W.js +1 -0
- package/dist/standalone/chunk-PQICDSPP.js +1 -0
- package/dist/standalone/chunk-PSPJORP6.js +1 -0
- package/dist/standalone/chunk-PZ4QDWTI.js +1 -0
- package/dist/standalone/chunk-QHQTOESO.js +1 -0
- package/dist/standalone/chunk-QO4SZ4WH.js +1 -0
- package/dist/standalone/chunk-R5ZTCHCE.js +1 -0
- package/dist/standalone/chunk-RCZTUWG3.js +1 -0
- package/dist/standalone/chunk-RJINX3H6.js +1 -0
- package/dist/standalone/chunk-RLRTQOFQ.js +1 -0
- package/dist/standalone/chunk-RPCMQE4A.js +1 -0
- package/dist/standalone/chunk-SJ4CA7QG.js +1 -0
- package/dist/standalone/chunk-SPDZUX4P.js +1 -0
- package/dist/standalone/chunk-SQMJUXBA.js +1 -0
- package/dist/standalone/chunk-SRQP7SLQ.js +1 -0
- package/dist/standalone/chunk-TB5N24CM.js +1 -0
- package/dist/standalone/chunk-TFMQSCGC.js +1 -0
- package/dist/standalone/chunk-TIANWRSD.js +1 -0
- package/dist/standalone/chunk-TNKECJW4.js +1 -0
- package/dist/standalone/chunk-TPAZM36C.js +1 -0
- package/dist/standalone/chunk-TV2M3PHL.js +1 -0
- package/dist/standalone/chunk-TVGQ7K5I.js +1 -0
- package/dist/standalone/chunk-U7LNRJHZ.js +1 -0
- package/dist/standalone/chunk-UANVABQG.js +1 -0
- package/dist/standalone/chunk-V6QPVFDL.js +1 -0
- package/dist/standalone/chunk-VHXQGKA7.js +1 -0
- package/dist/standalone/chunk-VLW547U6.js +1 -0
- package/dist/standalone/chunk-VR3UJA7B.js +1 -0
- package/dist/standalone/chunk-VZCS5GXZ.js +1 -0
- package/dist/standalone/chunk-W2FXNIVC.js +1 -0
- package/dist/standalone/chunk-W2JBKQNU.js +1 -0
- package/dist/standalone/chunk-WUW4ZHRL.js +1 -0
- package/dist/standalone/chunk-WXBTOI6T.js +1 -0
- package/dist/standalone/chunk-WY33QRLH.js +9 -0
- package/dist/standalone/chunk-XJSWM47N.js +1 -0
- package/dist/standalone/chunk-XNBAJ6XA.js +1 -0
- package/dist/standalone/chunk-XQS7KSHL.js +1 -0
- package/dist/standalone/chunk-Y2YQITGI.js +1 -0
- package/dist/standalone/chunk-Z6SECRFO.js +3 -0
- package/dist/standalone/chunk-ZHPDAJBM.js +1 -0
- package/dist/standalone/chunk-ZPGNTTQ3.js +1 -0
- package/dist/standalone/chunk-ZSOLGJFC.js +1 -0
- package/dist/standalone/studio.js +9 -378
- package/dist/styles.css +2 -2
- package/package.json +16 -15
- package/dist/packem_shared/ADMIN_FUNCTIONS-CZJCZ4c7.js +0 -47
- package/dist/packem_shared/ApiDocsPanel-yEz0fiof.js +0 -842
- package/dist/packem_shared/ApiReferencePanel-1vubqG5s.js +0 -229
- package/dist/packem_shared/ApiTab-DdubReQI.js +0 -251
- package/dist/packem_shared/AuditPanel-CE5ofjCc.js +0 -200
- 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-DpL8U-Nf.js +0 -4475
- package/dist/packem_shared/DataFilters-FNquMaiu.js +0 -249
- package/dist/packem_shared/ErrorBoundary-BzAApI7J.js +0 -66
- package/dist/packem_shared/ExportImportPanel-ChsSUCYZ.js +0 -197
- package/dist/packem_shared/FileBrowser-DsRBnVhZ.js +0 -2932
- package/dist/packem_shared/FunctionRunner-D4cZ6fuA.js +0 -343
- package/dist/packem_shared/FunctionStatsPanel-BVelWgNv.js +0 -375
- package/dist/packem_shared/GlobalDataBrowser-3X9uRfdO.js +0 -289
- package/dist/packem_shared/HealthPanel-CxUVKfvo.js +0 -648
- package/dist/packem_shared/HomePanel-tfqpZxuu.js +0 -1334
- package/dist/packem_shared/InsightsPanel-DNg3K9XN.js +0 -461
- package/dist/packem_shared/LogsPanel-B4LoSRj0.js +0 -827
- package/dist/packem_shared/MailPanel-CcpdyWYs.js +0 -440
- package/dist/packem_shared/MetricsPanel-CxoyWbNb.js +0 -1611
- package/dist/packem_shared/MigrationsPanel-DGwJGWDA.js +0 -239
- package/dist/packem_shared/OpenRpcReferencePanel-vbcYbv3V.js +0 -191
- package/dist/packem_shared/PitrPanel-CKUzyyHi.js +0 -252
- package/dist/packem_shared/STUDIO_ROOT_CLASS-D12gX2dV.js +0 -3
- package/dist/packem_shared/ScheduledJobs-BWNwIN3I.js +0 -262
- package/dist/packem_shared/SchemaViewer-RclXFo9Q.js +0 -2512
- package/dist/packem_shared/SecurityAdvisorPanel-Dqql1Z5O.js +0 -92
- package/dist/packem_shared/SettingsPanel-D5iTY0YE.js +0 -390
- package/dist/packem_shared/ShardInput-gx_DZXXn.js +0 -107
- package/dist/packem_shared/SqlEditorPanel-Dj-In-B3.js +0 -13
- package/dist/packem_shared/Studio-VWvKNOw4.js +0 -33
- package/dist/packem_shared/StudioApp-BhQ6T2pn.js +0 -657
- package/dist/packem_shared/StudioI18nProvider-B-tDCZIi.js +0 -48
- package/dist/packem_shared/TableEditor-BY8bTpCl.js +0 -11
- 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-BVJFkXyj.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-CMdxstu5.js +0 -2562
- package/dist/packem_shared/storage-tier-CL98eOvn.js +0 -85
- package/dist/packem_shared/studio-D8ry3tJR.js +0 -11043
- package/dist/packem_shared/table-_RzNvy3R.js +0 -246
- package/dist/packem_shared/table-editor-CWx68ZCg.js +0 -407
- 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-admin-query-BkbdNFNz.js +0 -105
- 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,49 +0,0 @@
|
|
|
1
|
-
import { Button as Button$1 } from '@base-ui/react/button';
|
|
2
|
-
import { cva } from 'class-variance-authority';
|
|
3
|
-
import { c as cn } from './utils-B05Dmz_H.js';
|
|
4
|
-
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
5
|
-
|
|
6
|
-
const buttonVariants = cva("group/button inline-flex shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-xs font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-1 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-1 aria-invalid:ring-destructive/20 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", {
|
|
7
|
-
variants: {
|
|
8
|
-
variant: {
|
|
9
|
-
default: "bg-primary text-primary-foreground hover:bg-primary/80",
|
|
10
|
-
outline: "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
|
|
11
|
-
secondary: "bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
|
|
12
|
-
ghost: "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",
|
|
13
|
-
destructive: "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",
|
|
14
|
-
link: "text-primary underline-offset-4 hover:underline"
|
|
15
|
-
},
|
|
16
|
-
size: {
|
|
17
|
-
default: "h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pe-2 has-data-[icon=inline-start]:ps-2",
|
|
18
|
-
xs: "h-6 gap-1 rounded-md px-2 text-xs has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 [&_svg:not([class*='size-'])]:size-3",
|
|
19
|
-
sm: "h-7 gap-1 rounded-md px-2.5 has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 [&_svg:not([class*='size-'])]:size-3.5",
|
|
20
|
-
lg: "h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pe-2 has-data-[icon=inline-start]:ps-2",
|
|
21
|
-
icon: "size-8",
|
|
22
|
-
"icon-xs": "size-6 rounded-md [&_svg:not([class*='size-'])]:size-3",
|
|
23
|
-
"icon-sm": "size-7 rounded-md",
|
|
24
|
-
"icon-lg": "size-9"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
defaultVariants: {
|
|
28
|
-
variant: "default",
|
|
29
|
-
size: "default"
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
function Button({
|
|
33
|
-
className,
|
|
34
|
-
variant = "default",
|
|
35
|
-
size = "default",
|
|
36
|
-
...props
|
|
37
|
-
}) {
|
|
38
|
-
return /* @__PURE__ */ jsxDEV(Button$1, {
|
|
39
|
-
"data-slot": "button",
|
|
40
|
-
className: cn(buttonVariants({
|
|
41
|
-
variant,
|
|
42
|
-
size,
|
|
43
|
-
className
|
|
44
|
-
})),
|
|
45
|
-
...props
|
|
46
|
-
}, void 0, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export { Button as B };
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
import { c } from 'react/compiler-runtime';
|
|
2
|
-
import 'react';
|
|
3
|
-
import { c as cn } from './utils-B05Dmz_H.js';
|
|
4
|
-
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
5
|
-
|
|
6
|
-
function Card({
|
|
7
|
-
className,
|
|
8
|
-
size = "default",
|
|
9
|
-
...props
|
|
10
|
-
}) {
|
|
11
|
-
return /* @__PURE__ */ jsxDEV("div", {
|
|
12
|
-
"data-slot": "card",
|
|
13
|
-
"data-size": size,
|
|
14
|
-
className: cn("group/card flex flex-col gap-4 overflow-hidden rounded-xl border border-border bg-card py-4 text-xs/relaxed text-card-foreground shadow-xs has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:gap-2 data-[size=sm]:py-3 data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-md *:[img:last-child]:rounded-md", className),
|
|
15
|
-
...props
|
|
16
|
-
}, void 0, false);
|
|
17
|
-
}
|
|
18
|
-
function CardHeader(t0) {
|
|
19
|
-
const $ = c(8);
|
|
20
|
-
let className;
|
|
21
|
-
let props;
|
|
22
|
-
if ($[0] !== t0) {
|
|
23
|
-
({
|
|
24
|
-
className,
|
|
25
|
-
...props
|
|
26
|
-
} = t0);
|
|
27
|
-
$[0] = t0;
|
|
28
|
-
$[1] = className;
|
|
29
|
-
$[2] = props;
|
|
30
|
-
} else {
|
|
31
|
-
className = $[1];
|
|
32
|
-
props = $[2];
|
|
33
|
-
}
|
|
34
|
-
let t1;
|
|
35
|
-
if ($[3] !== className) {
|
|
36
|
-
t1 = cn("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-md px-4 group-data-[size=sm]/card:px-3 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3", className);
|
|
37
|
-
$[3] = className;
|
|
38
|
-
$[4] = t1;
|
|
39
|
-
} else {
|
|
40
|
-
t1 = $[4];
|
|
41
|
-
}
|
|
42
|
-
let t2;
|
|
43
|
-
if ($[5] !== props || $[6] !== t1) {
|
|
44
|
-
t2 = /* @__PURE__ */ jsxDEV("div", {
|
|
45
|
-
"data-slot": "card-header",
|
|
46
|
-
className: t1,
|
|
47
|
-
...props
|
|
48
|
-
}, void 0, false);
|
|
49
|
-
$[5] = props;
|
|
50
|
-
$[6] = t1;
|
|
51
|
-
$[7] = t2;
|
|
52
|
-
} else {
|
|
53
|
-
t2 = $[7];
|
|
54
|
-
}
|
|
55
|
-
return t2;
|
|
56
|
-
}
|
|
57
|
-
function CardTitle(t0) {
|
|
58
|
-
const $ = c(8);
|
|
59
|
-
let className;
|
|
60
|
-
let props;
|
|
61
|
-
if ($[0] !== t0) {
|
|
62
|
-
({
|
|
63
|
-
className,
|
|
64
|
-
...props
|
|
65
|
-
} = t0);
|
|
66
|
-
$[0] = t0;
|
|
67
|
-
$[1] = className;
|
|
68
|
-
$[2] = props;
|
|
69
|
-
} else {
|
|
70
|
-
className = $[1];
|
|
71
|
-
props = $[2];
|
|
72
|
-
}
|
|
73
|
-
let t1;
|
|
74
|
-
if ($[3] !== className) {
|
|
75
|
-
t1 = cn("font-heading text-sm font-medium group-data-[size=sm]/card:text-sm", className);
|
|
76
|
-
$[3] = className;
|
|
77
|
-
$[4] = t1;
|
|
78
|
-
} else {
|
|
79
|
-
t1 = $[4];
|
|
80
|
-
}
|
|
81
|
-
let t2;
|
|
82
|
-
if ($[5] !== props || $[6] !== t1) {
|
|
83
|
-
t2 = /* @__PURE__ */ jsxDEV("div", {
|
|
84
|
-
"data-slot": "card-title",
|
|
85
|
-
className: t1,
|
|
86
|
-
...props
|
|
87
|
-
}, void 0, false);
|
|
88
|
-
$[5] = props;
|
|
89
|
-
$[6] = t1;
|
|
90
|
-
$[7] = t2;
|
|
91
|
-
} else {
|
|
92
|
-
t2 = $[7];
|
|
93
|
-
}
|
|
94
|
-
return t2;
|
|
95
|
-
}
|
|
96
|
-
function CardDescription(t0) {
|
|
97
|
-
const $ = c(8);
|
|
98
|
-
let className;
|
|
99
|
-
let props;
|
|
100
|
-
if ($[0] !== t0) {
|
|
101
|
-
({
|
|
102
|
-
className,
|
|
103
|
-
...props
|
|
104
|
-
} = t0);
|
|
105
|
-
$[0] = t0;
|
|
106
|
-
$[1] = className;
|
|
107
|
-
$[2] = props;
|
|
108
|
-
} else {
|
|
109
|
-
className = $[1];
|
|
110
|
-
props = $[2];
|
|
111
|
-
}
|
|
112
|
-
let t1;
|
|
113
|
-
if ($[3] !== className) {
|
|
114
|
-
t1 = cn("text-xs/relaxed text-muted-foreground", className);
|
|
115
|
-
$[3] = className;
|
|
116
|
-
$[4] = t1;
|
|
117
|
-
} else {
|
|
118
|
-
t1 = $[4];
|
|
119
|
-
}
|
|
120
|
-
let t2;
|
|
121
|
-
if ($[5] !== props || $[6] !== t1) {
|
|
122
|
-
t2 = /* @__PURE__ */ jsxDEV("div", {
|
|
123
|
-
"data-slot": "card-description",
|
|
124
|
-
className: t1,
|
|
125
|
-
...props
|
|
126
|
-
}, void 0, false);
|
|
127
|
-
$[5] = props;
|
|
128
|
-
$[6] = t1;
|
|
129
|
-
$[7] = t2;
|
|
130
|
-
} else {
|
|
131
|
-
t2 = $[7];
|
|
132
|
-
}
|
|
133
|
-
return t2;
|
|
134
|
-
}
|
|
135
|
-
function CardContent(t0) {
|
|
136
|
-
const $ = c(8);
|
|
137
|
-
let className;
|
|
138
|
-
let props;
|
|
139
|
-
if ($[0] !== t0) {
|
|
140
|
-
({
|
|
141
|
-
className,
|
|
142
|
-
...props
|
|
143
|
-
} = t0);
|
|
144
|
-
$[0] = t0;
|
|
145
|
-
$[1] = className;
|
|
146
|
-
$[2] = props;
|
|
147
|
-
} else {
|
|
148
|
-
className = $[1];
|
|
149
|
-
props = $[2];
|
|
150
|
-
}
|
|
151
|
-
let t1;
|
|
152
|
-
if ($[3] !== className) {
|
|
153
|
-
t1 = cn("px-4 group-data-[size=sm]/card:px-3", className);
|
|
154
|
-
$[3] = className;
|
|
155
|
-
$[4] = t1;
|
|
156
|
-
} else {
|
|
157
|
-
t1 = $[4];
|
|
158
|
-
}
|
|
159
|
-
let t2;
|
|
160
|
-
if ($[5] !== props || $[6] !== t1) {
|
|
161
|
-
t2 = /* @__PURE__ */ jsxDEV("div", {
|
|
162
|
-
"data-slot": "card-content",
|
|
163
|
-
className: t1,
|
|
164
|
-
...props
|
|
165
|
-
}, void 0, false);
|
|
166
|
-
$[5] = props;
|
|
167
|
-
$[6] = t1;
|
|
168
|
-
$[7] = t2;
|
|
169
|
-
} else {
|
|
170
|
-
t2 = $[7];
|
|
171
|
-
}
|
|
172
|
-
return t2;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
export { Card as C, CardContent as a, CardHeader as b, CardTitle as c, CardDescription as d };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
const CLOUDFLARE_DASH = "https://dash.cloudflare.com/?to=/:account";
|
|
2
|
-
const CLOUDFLARE_OBSERVABILITY_URL = `${CLOUDFLARE_DASH}/workers-and-pages/observability`;
|
|
3
|
-
const CLOUDFLARE_WORKERS_URL = `${CLOUDFLARE_DASH}/workers-and-pages`;
|
|
4
|
-
const CLOUDFLARE_R2_URL = `${CLOUDFLARE_DASH}/r2`;
|
|
5
|
-
const CLOUDFLARE_D1_URL = `${CLOUDFLARE_DASH}/workers/d1`;
|
|
6
|
-
const CLOUDFLARE_DURABLE_OBJECTS_URL = `${CLOUDFLARE_DASH}/workers/durable-objects`;
|
|
7
|
-
|
|
8
|
-
export { CLOUDFLARE_OBSERVABILITY_URL as C, CLOUDFLARE_WORKERS_URL as a, CLOUDFLARE_D1_URL as b, CLOUDFLARE_DURABLE_OBJECTS_URL as c, CLOUDFLARE_R2_URL as d };
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { c } from 'react/compiler-runtime';
|
|
2
|
-
import { Checkbox as Checkbox$1 } from '@base-ui/react/checkbox';
|
|
3
|
-
import { c as cn } from './utils-B05Dmz_H.js';
|
|
4
|
-
import { HugeiconsIcon } from '@hugeicons/react';
|
|
5
|
-
import { Tick02Icon } from '@hugeicons/core-free-icons';
|
|
6
|
-
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
7
|
-
|
|
8
|
-
function Checkbox(t0) {
|
|
9
|
-
const $ = c(9);
|
|
10
|
-
let className;
|
|
11
|
-
let props;
|
|
12
|
-
if ($[0] !== t0) {
|
|
13
|
-
({
|
|
14
|
-
className,
|
|
15
|
-
...props
|
|
16
|
-
} = t0);
|
|
17
|
-
$[0] = t0;
|
|
18
|
-
$[1] = className;
|
|
19
|
-
$[2] = props;
|
|
20
|
-
} else {
|
|
21
|
-
className = $[1];
|
|
22
|
-
props = $[2];
|
|
23
|
-
}
|
|
24
|
-
let t1;
|
|
25
|
-
if ($[3] !== className) {
|
|
26
|
-
t1 = cn("peer relative flex size-4 shrink-0 items-center justify-center rounded-md border border-input transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 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 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary", className);
|
|
27
|
-
$[3] = className;
|
|
28
|
-
$[4] = t1;
|
|
29
|
-
} else {
|
|
30
|
-
t1 = $[4];
|
|
31
|
-
}
|
|
32
|
-
let t2;
|
|
33
|
-
if ($[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
34
|
-
t2 = /* @__PURE__ */ jsxDEV(Checkbox$1.Indicator, {
|
|
35
|
-
"data-slot": "checkbox-indicator",
|
|
36
|
-
className: "grid place-content-center text-current transition-none [&>svg]:size-3.5",
|
|
37
|
-
children: /* @__PURE__ */ jsxDEV(HugeiconsIcon, {
|
|
38
|
-
icon: Tick02Icon,
|
|
39
|
-
strokeWidth: 2
|
|
40
|
-
}, void 0, false)
|
|
41
|
-
}, void 0, false);
|
|
42
|
-
$[5] = t2;
|
|
43
|
-
} else {
|
|
44
|
-
t2 = $[5];
|
|
45
|
-
}
|
|
46
|
-
let t3;
|
|
47
|
-
if ($[6] !== props || $[7] !== t1) {
|
|
48
|
-
t3 = /* @__PURE__ */ jsxDEV(Checkbox$1.Root, {
|
|
49
|
-
"data-slot": "checkbox",
|
|
50
|
-
className: t1,
|
|
51
|
-
...props,
|
|
52
|
-
children: t2
|
|
53
|
-
}, void 0, false);
|
|
54
|
-
$[6] = props;
|
|
55
|
-
$[7] = t1;
|
|
56
|
-
$[8] = t3;
|
|
57
|
-
} else {
|
|
58
|
-
t3 = $[8];
|
|
59
|
-
}
|
|
60
|
-
return t3;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export { Checkbox as C };
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
import { c } from 'react/compiler-runtime';
|
|
2
|
-
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
3
|
-
import { h as formatCell } from './internal-rXJEAhXS.js';
|
|
4
|
-
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
5
|
-
|
|
6
|
-
const CellValue = (t0) => {
|
|
7
|
-
const $ = c(8);
|
|
8
|
-
const {
|
|
9
|
-
value
|
|
10
|
-
} = t0;
|
|
11
|
-
if (value === null || value === void 0) {
|
|
12
|
-
let t12;
|
|
13
|
-
if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
14
|
-
t12 = /* @__PURE__ */ jsxDEV("span", {
|
|
15
|
-
className: "text-muted-foreground/50 italic",
|
|
16
|
-
children: "NULL"
|
|
17
|
-
}, void 0, false);
|
|
18
|
-
$[0] = t12;
|
|
19
|
-
} else {
|
|
20
|
-
t12 = $[0];
|
|
21
|
-
}
|
|
22
|
-
return t12;
|
|
23
|
-
}
|
|
24
|
-
let t1;
|
|
25
|
-
if ($[1] !== value) {
|
|
26
|
-
t1 = formatCell(value);
|
|
27
|
-
$[1] = value;
|
|
28
|
-
$[2] = t1;
|
|
29
|
-
} else {
|
|
30
|
-
t1 = $[2];
|
|
31
|
-
}
|
|
32
|
-
let t2;
|
|
33
|
-
if ($[3] !== value) {
|
|
34
|
-
t2 = formatCell(value);
|
|
35
|
-
$[3] = value;
|
|
36
|
-
$[4] = t2;
|
|
37
|
-
} else {
|
|
38
|
-
t2 = $[4];
|
|
39
|
-
}
|
|
40
|
-
let t3;
|
|
41
|
-
if ($[5] !== t1 || $[6] !== t2) {
|
|
42
|
-
t3 = /* @__PURE__ */ jsxDEV("span", {
|
|
43
|
-
title: t1,
|
|
44
|
-
children: t2
|
|
45
|
-
}, void 0, false);
|
|
46
|
-
$[5] = t1;
|
|
47
|
-
$[6] = t2;
|
|
48
|
-
$[7] = t3;
|
|
49
|
-
} else {
|
|
50
|
-
t3 = $[7];
|
|
51
|
-
}
|
|
52
|
-
return t3;
|
|
53
|
-
};
|
|
54
|
-
const TransposedTable = (t0) => {
|
|
55
|
-
const $ = c(22);
|
|
56
|
-
const {
|
|
57
|
-
columns,
|
|
58
|
-
rows
|
|
59
|
-
} = t0;
|
|
60
|
-
const t = useT();
|
|
61
|
-
let t1;
|
|
62
|
-
if ($[0] !== t) {
|
|
63
|
-
t1 = t("Field");
|
|
64
|
-
$[0] = t;
|
|
65
|
-
$[1] = t1;
|
|
66
|
-
} else {
|
|
67
|
-
t1 = $[1];
|
|
68
|
-
}
|
|
69
|
-
let t2;
|
|
70
|
-
if ($[2] !== t1) {
|
|
71
|
-
t2 = /* @__PURE__ */ jsxDEV("th", {
|
|
72
|
-
className: "border-b border-e border-border px-3 py-1.5 text-start font-mono text-[11px] tracking-wide uppercase text-muted-foreground",
|
|
73
|
-
children: t1
|
|
74
|
-
}, void 0, false);
|
|
75
|
-
$[2] = t1;
|
|
76
|
-
$[3] = t2;
|
|
77
|
-
} else {
|
|
78
|
-
t2 = $[3];
|
|
79
|
-
}
|
|
80
|
-
let t3;
|
|
81
|
-
if ($[4] !== rows || $[5] !== t) {
|
|
82
|
-
let t42;
|
|
83
|
-
if ($[7] !== t) {
|
|
84
|
-
t42 = (_, index) => /* @__PURE__ */ jsxDEV("th", {
|
|
85
|
-
className: "border-b border-border px-3 py-1.5 text-start font-mono text-[11px] tracking-wide uppercase tabular-nums text-muted-foreground",
|
|
86
|
-
children: t("Row {n}", {
|
|
87
|
-
n: index + 1
|
|
88
|
-
})
|
|
89
|
-
}, index, false);
|
|
90
|
-
$[7] = t;
|
|
91
|
-
$[8] = t42;
|
|
92
|
-
} else {
|
|
93
|
-
t42 = $[8];
|
|
94
|
-
}
|
|
95
|
-
t3 = rows.map(t42);
|
|
96
|
-
$[4] = rows;
|
|
97
|
-
$[5] = t;
|
|
98
|
-
$[6] = t3;
|
|
99
|
-
} else {
|
|
100
|
-
t3 = $[6];
|
|
101
|
-
}
|
|
102
|
-
let t4;
|
|
103
|
-
if ($[9] !== t2 || $[10] !== t3) {
|
|
104
|
-
t4 = /* @__PURE__ */ jsxDEV("thead", {
|
|
105
|
-
className: "sticky top-0 z-10 bg-muted",
|
|
106
|
-
children: /* @__PURE__ */ jsxDEV("tr", {
|
|
107
|
-
children: [t2, t3]
|
|
108
|
-
}, void 0, true)
|
|
109
|
-
}, void 0, false);
|
|
110
|
-
$[9] = t2;
|
|
111
|
-
$[10] = t3;
|
|
112
|
-
$[11] = t4;
|
|
113
|
-
} else {
|
|
114
|
-
t4 = $[11];
|
|
115
|
-
}
|
|
116
|
-
let t5;
|
|
117
|
-
if ($[12] !== columns || $[13] !== rows) {
|
|
118
|
-
let t62;
|
|
119
|
-
if ($[15] !== rows) {
|
|
120
|
-
t62 = (column) => /* @__PURE__ */ jsxDEV("tr", {
|
|
121
|
-
className: "hover:bg-muted/40",
|
|
122
|
-
children: [/* @__PURE__ */ jsxDEV("th", {
|
|
123
|
-
className: "border-b border-e border-border px-3 py-1.5 text-start font-mono font-medium whitespace-nowrap",
|
|
124
|
-
scope: "row",
|
|
125
|
-
children: column
|
|
126
|
-
}, void 0, false), rows.map((row, index_0) => /* @__PURE__ */ jsxDEV("td", {
|
|
127
|
-
className: "max-w-md truncate border-b border-border px-3 py-1.5 font-mono",
|
|
128
|
-
children: /* @__PURE__ */ jsxDEV(CellValue, {
|
|
129
|
-
value: row[column]
|
|
130
|
-
}, void 0, false)
|
|
131
|
-
}, index_0, false))]
|
|
132
|
-
}, column, true);
|
|
133
|
-
$[15] = rows;
|
|
134
|
-
$[16] = t62;
|
|
135
|
-
} else {
|
|
136
|
-
t62 = $[16];
|
|
137
|
-
}
|
|
138
|
-
t5 = columns.map(t62);
|
|
139
|
-
$[12] = columns;
|
|
140
|
-
$[13] = rows;
|
|
141
|
-
$[14] = t5;
|
|
142
|
-
} else {
|
|
143
|
-
t5 = $[14];
|
|
144
|
-
}
|
|
145
|
-
let t6;
|
|
146
|
-
if ($[17] !== t5) {
|
|
147
|
-
t6 = /* @__PURE__ */ jsxDEV("tbody", {
|
|
148
|
-
children: t5
|
|
149
|
-
}, void 0, false);
|
|
150
|
-
$[17] = t5;
|
|
151
|
-
$[18] = t6;
|
|
152
|
-
} else {
|
|
153
|
-
t6 = $[18];
|
|
154
|
-
}
|
|
155
|
-
let t7;
|
|
156
|
-
if ($[19] !== t4 || $[20] !== t6) {
|
|
157
|
-
t7 = /* @__PURE__ */ jsxDEV("div", {
|
|
158
|
-
className: "min-h-0 flex-1 overflow-auto",
|
|
159
|
-
"data-testid": "db-transposed",
|
|
160
|
-
children: /* @__PURE__ */ jsxDEV("table", {
|
|
161
|
-
className: "border-collapse text-xs",
|
|
162
|
-
children: [t4, t6]
|
|
163
|
-
}, void 0, true)
|
|
164
|
-
}, void 0, false);
|
|
165
|
-
$[19] = t4;
|
|
166
|
-
$[20] = t6;
|
|
167
|
-
$[21] = t7;
|
|
168
|
-
} else {
|
|
169
|
-
t7 = $[21];
|
|
170
|
-
}
|
|
171
|
-
return t7;
|
|
172
|
-
};
|
|
173
|
-
const GridContainer = ({
|
|
174
|
-
children,
|
|
175
|
-
layout = "card",
|
|
176
|
-
testId
|
|
177
|
-
}) => /* @__PURE__ */ jsxDEV("div", {
|
|
178
|
-
className: layout === "fill" ? "flex min-h-0 flex-1 flex-col overflow-hidden border-t border-border" : "overflow-x-auto border border-border bg-card",
|
|
179
|
-
"data-testid": testId,
|
|
180
|
-
children
|
|
181
|
-
}, void 0, false);
|
|
182
|
-
|
|
183
|
-
export { CellValue as C, GridContainer as G, TransposedTable as T };
|