orcaq 1.0.33 → 1.1.2
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/63YtjFEq.js +1 -0
- package/.output/public/_nuxt/8tyEaimf.js +30 -0
- package/.output/public/_nuxt/AymhMj9v.js +1 -0
- package/.output/public/_nuxt/B2IKcIj2.js +1 -0
- package/.output/public/_nuxt/B46blMXm.js +7 -0
- package/.output/public/_nuxt/B5WGo5x7.js +1 -0
- package/.output/public/_nuxt/B6MkNyZd.js +132 -0
- package/.output/public/_nuxt/B73IHAoF.js +1 -0
- package/.output/public/_nuxt/B8TrrBEb.js +189 -0
- package/.output/public/_nuxt/B9uki8o2.js +1 -0
- package/.output/public/_nuxt/BEyCol50.js +1 -0
- package/.output/public/_nuxt/BJCrbji-.js +24 -0
- package/.output/public/_nuxt/BJVPtt2X.js +24 -0
- package/.output/public/_nuxt/BL__uYa3.js +1 -0
- package/.output/public/_nuxt/BPACuoI0.js +1 -0
- package/.output/public/_nuxt/BRFPdiIh.js +1 -0
- package/.output/public/_nuxt/BS-LtKx4.js +1 -0
- package/.output/public/_nuxt/BTYBVtfa.js +70 -0
- package/.output/public/_nuxt/BTheloyh.js +1 -0
- package/.output/public/_nuxt/BVUHbgGW.js +27 -0
- package/.output/public/_nuxt/BWZ7atse.js +1 -0
- package/.output/public/_nuxt/BWebIWit.js +39 -0
- package/.output/public/_nuxt/BcsKoAPU.js +984 -0
- package/.output/public/_nuxt/Bf6Q3Zl5.js +89 -0
- package/.output/public/_nuxt/Bj7ctTfH.js +1 -0
- package/.output/public/_nuxt/BjqbQLK3.js +1 -0
- package/.output/public/_nuxt/Bmgr9uz4.js +36 -0
- package/.output/public/_nuxt/Bmx1kTaZ.js +139 -0
- package/.output/public/_nuxt/BoIj4dtd.js +1 -0
- package/.output/public/_nuxt/BoMjapT5.js +220 -0
- package/.output/public/_nuxt/BogEzQi9.js +12 -0
- package/.output/public/_nuxt/BpLDGvqy.js +1 -0
- package/.output/public/_nuxt/BpUSbMUb.js +1 -0
- package/.output/public/_nuxt/BpvGVfME.js +1 -0
- package/.output/public/_nuxt/Bq47tjcm.js +1 -0
- package/.output/public/_nuxt/Bq7OeLM1.js +1 -0
- package/.output/public/_nuxt/BqU89KuH.js +2 -0
- package/.output/public/_nuxt/BrNfge84.js +34 -0
- package/.output/public/_nuxt/BtyzMl9p.js +1 -0
- package/.output/public/_nuxt/ByiJDSw8.js +68 -0
- package/.output/public/_nuxt/ByibjLZn.js +43 -0
- package/.output/public/_nuxt/BzvSm28k.js +67 -0
- package/.output/public/_nuxt/C2XHqDOf.js +1 -0
- package/.output/public/_nuxt/C3ZBsVV_.js +2 -0
- package/.output/public/_nuxt/C6dIAdHr.js +1 -0
- package/.output/public/_nuxt/C7BQpy74.js +1 -0
- package/.output/public/_nuxt/CAnr3OhD.js +1 -0
- package/.output/public/_nuxt/CDJKw_ak.js +1 -0
- package/.output/public/_nuxt/CHEpbbGc.js +1 -0
- package/.output/public/_nuxt/CMkzSwnO.js +61 -0
- package/.output/public/_nuxt/COAycMg4.js +1 -0
- package/.output/public/_nuxt/COHOh4Oe.js +1 -0
- package/.output/public/_nuxt/COq7mAG7.js +10 -0
- package/.output/public/_nuxt/CS5akSNT.js +1 -0
- package/.output/public/_nuxt/CS9hqyP3.js +1 -0
- package/.output/public/_nuxt/CSQ0xnqv.js +6 -0
- package/.output/public/_nuxt/C_7gtl40.js +1 -0
- package/.output/public/_nuxt/Ca0KO9Xq.js +9 -0
- package/.output/public/_nuxt/CerLmMsC.js +22 -0
- package/.output/public/_nuxt/Ci5B19-c.js +15 -0
- package/.output/public/_nuxt/Cnfx1zWl.js +10 -0
- package/.output/public/_nuxt/Cq-MDPLE.js +53 -0
- package/.output/public/_nuxt/CrNLwdoE.js +145 -0
- package/.output/public/_nuxt/CsRSZpa6.js +15 -0
- package/.output/public/_nuxt/CtWq1MER.js +7 -0
- package/.output/public/_nuxt/Cww9dXBK.js +1 -0
- package/.output/public/_nuxt/CycELG5y.js +65 -0
- package/.output/public/_nuxt/CzB2y8br.js +18 -0
- package/.output/public/_nuxt/D-9vaM6z.js +4 -0
- package/.output/public/_nuxt/D4pAW_0T.js +152 -0
- package/.output/public/_nuxt/DAr5YiBT.js +1 -0
- package/.output/public/_nuxt/DDebxXP-.js +1 -0
- package/.output/public/_nuxt/DEZMnZ2r.js +292 -0
- package/.output/public/_nuxt/DGvAu532.js +1 -0
- package/.output/public/_nuxt/DHAL8jJG.js +255 -0
- package/.output/public/_nuxt/DJH-4SVI.js +1 -0
- package/.output/public/_nuxt/DMmjWR_K.js +10 -0
- package/.output/public/_nuxt/DNB4Xmyo.js +37 -0
- package/.output/public/_nuxt/DNoTlUiY.js +7 -0
- package/.output/public/_nuxt/DPIEiNwW.js +1 -0
- package/.output/public/_nuxt/DSaBCmOg.js +162 -0
- package/.output/public/_nuxt/DVnDb6ua.js +1 -0
- package/.output/public/_nuxt/DWqOZJe7.js +1 -0
- package/.output/public/_nuxt/DcCF9IZB.js +1 -0
- package/.output/public/_nuxt/DfNTLojg.js +1 -0
- package/.output/public/_nuxt/DkD29_YA.js +73 -0
- package/.output/public/_nuxt/DpEV6S2O.js +1 -0
- package/.output/public/_nuxt/DpT8FO1Q.js +70 -0
- package/.output/public/_nuxt/Dq1JM9WZ.js +1 -0
- package/.output/public/_nuxt/DsmBazLf.js +20 -0
- package/.output/public/_nuxt/DuCDilAk.js +1 -0
- package/.output/public/_nuxt/FDw04QOj.js +2 -0
- package/.output/public/_nuxt/JOg_XIAv.js +1 -0
- package/.output/public/_nuxt/L2I3LmpB.js +68 -0
- package/.output/public/_nuxt/M6bBaUHa.js +1 -0
- package/.output/public/_nuxt/MW5K_zef.js +1 -0
- package/.output/public/_nuxt/MeLWmO7R.js +162 -0
- package/.output/public/_nuxt/Oe2GG0Lt.js +9 -0
- package/.output/public/_nuxt/S1qa1a4x.js +1 -0
- package/.output/public/_nuxt/Sf02B6Pt.js +3 -0
- package/.output/public/_nuxt/Y1gXUmjt.js +1 -0
- package/.output/public/_nuxt/_qKPTuua.js +1 -0
- package/.output/public/_nuxt/atdCACH-.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/7c171291-8bbd-4c4c-8904-0afae065b82e.json +1 -0
- package/.output/public/_nuxt/dNPwafbq.js +1 -0
- package/.output/public/_nuxt/dWu56FdP.js +3867 -0
- package/.output/public/_nuxt/default.B0xlD4Sl.css +1 -0
- package/.output/public/_nuxt/entry.DxCQuGXb.css +1 -0
- package/.output/public/_nuxt/iNy-Nl0_.js +1 -0
- package/.output/public/_nuxt/ioXB9E2w.js +1 -0
- package/.output/public/_nuxt/kvtnkChG.js +1 -0
- package/.output/public/_nuxt/qzrMNYut.js +1 -0
- package/.output/public/_nuxt/sk7V7xQl.js +1 -0
- package/.output/public/_nuxt/vhkvHdfO.js +1 -0
- package/.output/public/_nuxt/wRAs0MDn.js +2 -0
- package/.output/public/_nuxt/xOD4Ev56.js +1 -0
- package/.output/public/_nuxt/xp7rFxcm.js +1 -0
- package/.output/server/chunks/_/create-adapter.mjs +38 -7
- package/.output/server/chunks/_/create-adapter.mjs.map +1 -1
- package/.output/server/chunks/_/database-error.mjs +10 -0
- package/.output/server/chunks/_/database-error.mjs.map +1 -1
- package/.output/server/chunks/_/database-roles.factory.mjs +126 -22
- package/.output/server/chunks/_/database-roles.factory.mjs.map +1 -1
- package/.output/server/chunks/_/db-connection.mjs +1202 -81
- package/.output/server/chunks/_/db-connection.mjs.map +1 -1
- package/.output/server/chunks/_/functions.factory.mjs +97 -6
- package/.output/server/chunks/_/functions.factory.mjs.map +1 -1
- package/.output/server/chunks/_/instance-insights.factory.mjs +2130 -8
- package/.output/server/chunks/_/instance-insights.factory.mjs.map +1 -1
- package/.output/server/chunks/_/metadata.factory.mjs +1192 -43
- package/.output/server/chunks/_/metadata.factory.mjs.map +1 -1
- package/.output/server/chunks/_/native-backup-jobs.mjs +1302 -0
- package/.output/server/chunks/_/native-backup-jobs.mjs.map +1 -0
- package/.output/server/chunks/_/query.factory.mjs +536 -14
- package/.output/server/chunks/_/query.factory.mjs.map +1 -1
- package/.output/server/chunks/_/redis-browser.service.mjs +513 -0
- package/.output/server/chunks/_/redis-browser.service.mjs.map +1 -0
- package/.output/server/chunks/_/redis-instance-insights.service.mjs +442 -0
- package/.output/server/chunks/_/redis-instance-insights.service.mjs.map +1 -0
- package/.output/server/chunks/_/redis-pubsub.service.mjs +227 -0
- package/.output/server/chunks/_/redis-pubsub.service.mjs.map +1 -0
- package/.output/server/chunks/_/redis.client.mjs +129 -0
- package/.output/server/chunks/_/redis.client.mjs.map +1 -0
- package/.output/server/chunks/_/schemaMeta.type.mjs +13 -0
- package/.output/server/chunks/_/schemaMeta.type.mjs.map +1 -0
- package/.output/server/chunks/_/tables.factory.mjs +917 -37
- package/.output/server/chunks/_/tables.factory.mjs.map +1 -1
- package/.output/server/chunks/_/type-alias.constants.mjs +242 -0
- package/.output/server/chunks/_/type-alias.constants.mjs.map +1 -0
- package/.output/server/chunks/_/views.factory.mjs +106 -8
- package/.output/server/chunks/_/views.factory.mjs.map +1 -1
- package/.output/server/chunks/build/client.manifest.mjs +776 -659
- package/.output/server/chunks/build/client.manifest.mjs.map +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +1152 -749
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/api/ai/agent.mjs +33 -79
- package/.output/server/chunks/routes/api/ai/agent.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-export/export-database.mjs +29 -124
- package/.output/server/chunks/routes/api/database-export/export-database.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-export/jobs/_jobId/download.get.mjs +55 -0
- package/.output/server/chunks/routes/api/database-export/jobs/_jobId/download.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-export/jobs/_jobId_.get.mjs +46 -0
- package/.output/server/chunks/routes/api/database-export/jobs/_jobId_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-import/import-database.mjs +72 -134
- package/.output/server/chunks/routes/api/database-import/import-database.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-import/jobs/_jobId_.get.mjs +46 -0
- package/.output/server/chunks/routes/api/database-import/jobs/_jobId_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-roles/create-role.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/create-role.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/delete-role.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/delete-role.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-databases-with-permissions.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/get-databases-with-permissions.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-databases.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/get-databases.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-permissions.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/get-permissions.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-role-inheritance.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/get-role-inheritance.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-role.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/get-role.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-roles.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/get-roles.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-schema-objects.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/get-schema-objects.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-schemas.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/get-schemas.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/grant-bulk-permissions.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/grant-bulk-permissions.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/grant-permission.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/grant-permission.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/revoke-permission.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/revoke-permission.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/definition.post.mjs +6 -1
- package/.output/server/chunks/routes/api/functions/definition.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/delete.post.mjs +6 -1
- package/.output/server/chunks/routes/api/functions/delete.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/overview.post.mjs +6 -1
- package/.output/server/chunks/routes/api/functions/overview.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/rename.post.mjs +6 -1
- package/.output/server/chunks/routes/api/functions/rename.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/signature.post.mjs +6 -1
- package/.output/server/chunks/routes/api/functions/signature.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/update.post.mjs +27 -6
- package/.output/server/chunks/routes/api/functions/update.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/index.post.mjs +66 -0
- package/.output/server/chunks/routes/api/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/instance-insights/cancel-query.post.mjs +6 -1
- package/.output/server/chunks/routes/api/instance-insights/cancel-query.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/configuration.post.mjs +6 -1
- package/.output/server/chunks/routes/api/instance-insights/configuration.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/dashboard.post.mjs +6 -1
- package/.output/server/chunks/routes/api/instance-insights/dashboard.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/drop-slot.post.mjs +6 -1
- package/.output/server/chunks/routes/api/instance-insights/drop-slot.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/replication.post.mjs +6 -1
- package/.output/server/chunks/routes/api/instance-insights/replication.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/state.post.mjs +6 -1
- package/.output/server/chunks/routes/api/instance-insights/state.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/terminate-connection.post.mjs +6 -1
- package/.output/server/chunks/routes/api/instance-insights/terminate-connection.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/toggle-slot-status.post.mjs +6 -1
- package/.output/server/chunks/routes/api/instance-insights/toggle-slot-status.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/view.post.mjs +66 -0
- package/.output/server/chunks/routes/api/instance-insights/view.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/managment-connection/health-check.mjs +16 -4
- package/.output/server/chunks/routes/api/managment-connection/health-check.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metadata/erd.post.mjs +10 -1
- package/.output/server/chunks/routes/api/metadata/erd.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metadata/meta-data.post.mjs +9 -0
- package/.output/server/chunks/routes/api/metadata/meta-data.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metadata/reverse-schemas.post.mjs +10 -1
- package/.output/server/chunks/routes/api/metadata/reverse-schemas.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metrics/monitor.post.mjs +83 -7
- package/.output/server/chunks/routes/api/metrics/monitor.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/query/execute.post.mjs +8 -1
- package/.output/server/chunks/routes/api/query/execute.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/query/raw-execute-stream.post.mjs +17 -3
- package/.output/server/chunks/routes/api/query/raw-execute-stream.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/query/raw-execute.post.mjs +10 -1
- package/.output/server/chunks/routes/api/query/raw-execute.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/redis/browser/databases.post.mjs +25 -0
- package/.output/server/chunks/routes/api/redis/browser/databases.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/browser/value.patch.mjs +39 -0
- package/.output/server/chunks/routes/api/redis/browser/value.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/browser/value.post.mjs +25 -0
- package/.output/server/chunks/routes/api/redis/browser/value.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/index.post.mjs +37 -0
- package/.output/server/chunks/routes/api/redis/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/instance-insights/kill-client.post.mjs +38 -0
- package/.output/server/chunks/routes/api/redis/instance-insights/kill-client.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/instance-insights/overview.post.mjs +35 -0
- package/.output/server/chunks/routes/api/redis/instance-insights/overview.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/pubsub/messages.post.mjs +24 -0
- package/.output/server/chunks/routes/api/redis/pubsub/messages.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/pubsub/overview.post.mjs +38 -0
- package/.output/server/chunks/routes/api/redis/pubsub/overview.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/pubsub/publish.post.mjs +39 -0
- package/.output/server/chunks/routes/api/redis/pubsub/publish.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/pubsub/subscribe.post.mjs +39 -0
- package/.output/server/chunks/routes/api/redis/pubsub/subscribe.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/pubsub/unsubscribe.post.mjs +24 -0
- package/.output/server/chunks/routes/api/redis/pubsub/unsubscribe.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/workbench/execute.post.mjs +60 -0
- package/.output/server/chunks/routes/api/redis/workbench/execute.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/tables/bulk-delete.post.mjs +12 -6
- package/.output/server/chunks/routes/api/tables/bulk-delete.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/bulk-update.post.mjs +12 -6
- package/.output/server/chunks/routes/api/tables/bulk-update.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/ddl.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/ddl.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/export.post.mjs +8 -3
- package/.output/server/chunks/routes/api/tables/export.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/indexes.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/indexes.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/meta.post.mjs +10 -3
- package/.output/server/chunks/routes/api/tables/meta.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/overview.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/overview.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/rls.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/rls.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/rules.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/rules.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/size.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/size.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/structure.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/structure.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/triggers.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/triggers.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/definition.post.mjs +5 -0
- package/.output/server/chunks/routes/api/views/definition.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/dependencies.post.mjs +5 -0
- package/.output/server/chunks/routes/api/views/dependencies.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/explain.post.mjs +5 -0
- package/.output/server/chunks/routes/api/views/explain.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/indexes.post.mjs +5 -0
- package/.output/server/chunks/routes/api/views/indexes.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/meta.post.mjs +5 -0
- package/.output/server/chunks/routes/api/views/meta.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/overview.post.mjs +5 -0
- package/.output/server/chunks/routes/api/views/overview.post.mjs.map +1 -1
- package/.output/server/chunks/routes/renderer.mjs +1 -1
- package/.output/server/index.mjs +1 -1
- package/.output/server/node_modules/@libsql/client/lib-esm/hrana.js +310 -0
- package/.output/server/node_modules/@libsql/client/lib-esm/http.js +230 -0
- package/.output/server/node_modules/@libsql/client/lib-esm/sql_cache.js +87 -0
- package/.output/server/node_modules/@libsql/client/package.json +123 -0
- package/.output/server/node_modules/@libsql/core/lib-esm/api.js +16 -0
- package/.output/server/node_modules/@libsql/core/lib-esm/config.js +136 -0
- package/.output/server/node_modules/@libsql/core/lib-esm/uri.js +120 -0
- package/.output/server/node_modules/@libsql/core/lib-esm/util.js +55 -0
- package/.output/server/node_modules/@libsql/core/package.json +91 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/batch.js +271 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/byte_queue.js +45 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/client.js +13 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/cursor.js +2 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/describe.js +8 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/index.js +4 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/json/decode.js +59 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/json/encode.js +72 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/decode.js +150 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/encode.js +95 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/util.js +6 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/errors.js +102 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/client.js +124 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/cursor.js +135 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/json_decode.js +62 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/json_encode.js +55 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/protobuf_decode.js +44 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/protobuf_encode.js +78 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/stream.js +363 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/id_alloc.js +47 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/index.js +42 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/libsql_url.js +75 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/queue.js +26 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/queue_microtask.js +13 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/result.js +48 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/json_decode.js +106 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/json_encode.js +71 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/protobuf_decode.js +115 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/protobuf_encode.js +85 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/sql.js +46 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/stmt.js +76 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/stream.js +57 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/util.js +4 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/value.js +83 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/client.js +318 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/cursor.js +80 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/json_decode.js +74 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/json_encode.js +77 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/protobuf_decode.js +60 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/protobuf_encode.js +115 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/stream.js +211 -0
- package/.output/server/node_modules/@libsql/hrana-client/package.json +60 -0
- package/.output/server/node_modules/@libsql/isomorphic-fetch/node.js +6 -0
- package/.output/server/node_modules/@libsql/isomorphic-fetch/package.json +51 -0
- package/.output/server/node_modules/@libsql/isomorphic-ws/node.mjs +2 -0
- package/.output/server/node_modules/@libsql/isomorphic-ws/package.json +53 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/ADD.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/CARD.js +16 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/EXISTS.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/INFO.js +22 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/INSERT.js +41 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/LOADCHUNK.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/MADD.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/MEXISTS.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/RESERVE.js +28 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/SCANDUMP.js +23 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/helpers.js +28 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/index.js +53 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INCRBY.js +28 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INFO.js +22 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INITBYDIM.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INITBYPROB.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/MERGE.js +33 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/QUERY.js +18 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/index.js +26 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/ADD.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/ADDNX.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/COUNT.js +18 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/DEL.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/EXISTS.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/INFO.js +22 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/INSERT.js +34 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/INSERTNX.js +44 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/LOADCHUNK.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/RESERVE.js +31 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/SCANDUMP.js +23 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/index.js +41 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/index.js +18 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/ADD.js +20 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/BYRANK.js +26 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/BYREVRANK.js +41 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/CDF.js +21 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/CREATE.js +21 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/INFO.js +22 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/MAX.js +17 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/MERGE.js +27 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/MIN.js +17 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/QUANTILE.js +21 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/RANK.js +25 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/RESET.js +16 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/REVRANK.js +41 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/TRIMMED_MEAN.js +20 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/index.js +50 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/ADD.js +18 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/COUNT.js +18 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/INCRBY.js +28 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/INFO.js +24 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/LIST.js +16 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/LIST_WITHCOUNT.js +26 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/QUERY.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/RESERVE.js +25 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/index.js +32 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/index.js +9 -0
- package/.output/server/node_modules/@redis/bloom/package.json +36 -0
- package/.output/server/node_modules/@redis/client/dist/index.js +53 -0
- package/.output/server/node_modules/@redis/client/dist/lib/RESP/decoder.js +727 -0
- package/.output/server/node_modules/@redis/client/dist/lib/RESP/encoder.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/RESP/verbatim-string.js +12 -0
- package/.output/server/node_modules/@redis/client/dist/lib/authx/credentials-provider.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/authx/index.js +12 -0
- package/.output/server/node_modules/@redis/client/dist/lib/authx/token-manager.js +184 -0
- package/.output/server/node_modules/@redis/client/dist/lib/authx/token.js +32 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/cache.js +634 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/commands-queue.js +497 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/enterprise-maintenance-manager.js +387 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/identity.js +65 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/index.js +1118 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/legacy-mode.js +119 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/linked-list.js +212 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/multi-command.js +118 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/parser.js +83 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/pool.js +373 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/pub-sub.js +351 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/socket.js +336 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/tracing.js +122 -0
- package/.output/server/node_modules/@redis/client/dist/lib/cluster/cluster-slots.js +657 -0
- package/.output/server/node_modules/@redis/client/dist/lib/cluster/index.js +425 -0
- package/.output/server/node_modules/@redis/client/dist/lib/cluster/multi-command.js +124 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commander.js +91 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_CAT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_DELUSER.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_DRYRUN.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_GENPASS.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_GETUSER.js +33 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LIST.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LOAD.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LOG.js +39 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LOG_RESET.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_SAVE.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_SETUSER.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_USERS.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_WHOAMI.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/APPEND.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ASKING.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/AUTH.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BGREWRITEAOF.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BGSAVE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BITCOUNT.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BITFIELD.js +33 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BITFIELD_RO.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BITOP.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BITPOS.js +31 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BLMOVE.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BLMPOP.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BLPOP.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BRPOP.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BRPOPLPUSH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BZMPOP.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BZPOPMAX.js +34 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BZPOPMIN.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_CACHING.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_GETNAME.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_GETREDIR.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_ID.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_INFO.js +62 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_KILL.js +66 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_LIST.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_NO-EVICT.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_NO-TOUCH.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_PAUSE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_SETNAME.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_TRACKING.js +53 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_TRACKINGINFO.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_UNPAUSE.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_ADDSLOTS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_ADDSLOTSRANGE.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_BUMPEPOCH.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_COUNT-FAILURE-REPORTS.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_COUNTKEYSINSLOT.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_DELSLOTS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_DELSLOTSRANGE.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_FAILOVER.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_FLUSHSLOTS.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_FORGET.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_GETKEYSINSLOT.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_INFO.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_KEYSLOT.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_LINKS.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_MEET.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_MYID.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_MYSHARDID.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_NODES.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_REPLICAS.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_REPLICATE.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_RESET.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SAVECONFIG.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SET-CONFIG-EPOCH.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SETSLOT.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SLOTS.js +30 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_COUNT.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_GETKEYS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_GETKEYSANDFLAGS.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_INFO.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_LIST.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_GET.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_RESETSTAT.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_REWRITE.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_SET.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COPY.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DBSIZE.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DECR.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DECRBY.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DEL.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DELEX.js +43 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DIGEST.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DUMP.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ECHO.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EVAL.js +31 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EVALSHA.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EVALSHA_RO.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EVAL_RO.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EXISTS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EXPIRE.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EXPIREAT.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EXPIRETIME.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FCALL.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FCALL_RO.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FLUSHALL.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FLUSHDB.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_DELETE.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_DUMP.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_FLUSH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_KILL.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_LIST.js +38 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_LIST_WITHCODE.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_LOAD.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_RESTORE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_STATS.js +47 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOADD.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEODIST.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOHASH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOPOS.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_RO.js +46 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_RO_WITH.js +46 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_STORE.js +53 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_WITH.js +36 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_RO.js +45 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_RO_WITH.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_STORE.js +53 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_WITH.js +56 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOSEARCH.js +54 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOSEARCHSTORE.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOSEARCH_WITH.js +55 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GET.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GETBIT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GETDEL.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GETEX.js +50 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GETRANGE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GETSET.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HDEL.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HELLO.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXISTS.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXPIRE.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXPIREAT.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXPIRETIME.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HGET.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HGETALL.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HGETDEL.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HGETEX.js +30 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HINCRBY.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HINCRBYFLOAT.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HKEYS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HLEN.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HMGET.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_GET.js +131 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_RESET.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_START.js +60 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_STOP.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HPERSIST.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HPEXPIRE.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HPEXPIREAT.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HPEXPIRETIME.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HPTTL.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HRANDFIELD.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HRANDFIELD_COUNT.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HRANDFIELD_COUNT_WITHVALUES.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSCAN.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSCAN_NOVALUES.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSET.js +55 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSETEX.js +81 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSETNX.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSTRLEN.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HTTL.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HVALS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/INCR.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/INCRBY.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/INCRBYFLOAT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/INFO.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/KEYS.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LASTSAVE.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_DOCTOR.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_GRAPH.js +37 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_HISTOGRAM.js +39 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_HISTORY.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_LATEST.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_RESET.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS_IDX.js +33 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS_IDX_WITHMATCHLEN.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS_LEN.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LINDEX.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LINSERT.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LLEN.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LMOVE.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LMPOP.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LOLWUT.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOP.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOP_COUNT.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOS.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOS_COUNT.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPUSH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPUSHX.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LRANGE.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LREM.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LSET.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LTRIM.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_DOCTOR.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_MALLOC-STATS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_PURGE.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_STATS.js +39 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_USAGE.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MGET.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MIGRATE.js +48 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MODULE_LIST.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MODULE_LOAD.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MODULE_UNLOAD.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MOVE.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MSET.js +46 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MSETEX.js +104 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MSETNX.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_ENCODING.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_FREQ.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_IDLETIME.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_REFCOUNT.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PERSIST.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PEXPIRE.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PEXPIREAT.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PEXPIRETIME.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PFADD.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PFCOUNT.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PFMERGE.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PING.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PSETEX.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PTTL.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBLISH.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_CHANNELS.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_NUMPAT.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_NUMSUB.js +34 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_SHARDCHANNELS.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_SHARDNUMSUB.js +32 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RANDOMKEY.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/READONLY.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RENAME.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RENAMENX.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/REPLICAOF.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RESTORE-ASKING.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RESTORE.js +34 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ROLE.js +60 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RPOP.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RPOPLPUSH.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RPOP_COUNT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RPUSH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RPUSHX.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SADD.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCAN.js +71 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCARD.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_DEBUG.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_EXISTS.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_FLUSH.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_KILL.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_LOAD.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SDIFF.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SDIFFSTORE.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SET.js +61 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SETBIT.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SETEX.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SETNX.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SETRANGE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SINTER.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SINTERCARD.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SINTERSTORE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SISMEMBER.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SMEMBERS.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SMISMEMBER.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SMOVE.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SORT.js +53 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SORT_RO.js +40 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SORT_STORE.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SPOP.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SPOP_COUNT.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SPUBLISH.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SRANDMEMBER.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SRANDMEMBER_COUNT.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SREM.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SSCAN.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/STRLEN.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SUNION.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SUNIONSTORE.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SWAPDB.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/TIME.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/TOUCH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/TTL.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/TYPE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/UNLINK.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VADD.js +42 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VCARD.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VDIM.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VEMB.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VEMB_RAW.js +42 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VGETATTR.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VINFO.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VLINKS.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VLINKS_WITHSCORES.js +39 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VRANDMEMBER.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VRANGE.js +31 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VREM.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VSETATTR.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VSIM.js +51 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VSIM_WITHSCORES.js +32 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/WAIT.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XACK.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XACKDEL.js +31 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XADD.js +71 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XADD_NOMKSTREAM.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XAUTOCLAIM.js +43 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XAUTOCLAIM_JUSTID.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XCFGSET.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XCLAIM.js +52 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XCLAIM_JUSTID.js +31 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XDEL.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XDELEX.js +29 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_CREATE.js +29 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_CREATECONSUMER.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_DELCONSUMER.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_DESTROY.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_SETID.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XINFO_CONSUMERS.js +40 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XINFO_GROUPS.js +46 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XINFO_STREAM.js +72 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XLEN.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XPENDING.js +42 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XPENDING_RANGE.js +49 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XRANGE.js +50 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XREAD.js +57 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XREADGROUP.js +42 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XREVRANGE.js +49 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XSETID.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XTRIM.js +36 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZADD.js +73 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZADD_INCR.js +36 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZCARD.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZCOUNT.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZDIFF.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZDIFFSTORE.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZDIFF_WITHSCORES.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINCRBY.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTER.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTERCARD.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTERSTORE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTER_WITHSCORES.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZLEXCOUNT.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZMPOP.js +47 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZMSCORE.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMAX.js +34 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMAX_COUNT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMIN.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMIN_COUNT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANDMEMBER.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANDMEMBER_COUNT.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANDMEMBER_COUNT_WITHSCORES.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGE.js +45 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGEBYLEX.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGEBYSCORE.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGEBYSCORE_WITHSCORES.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGESTORE.js +37 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGE_WITHSCORES.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANK.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANK_WITHSCORE.js +38 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREM.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREMRANGEBYLEX.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREMRANGEBYRANK.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREMRANGEBYSCORE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREVRANK.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZSCAN.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZSCORE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZUNION.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZUNIONSTORE.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZUNION_WITHSCORES.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/generic-transformers.js +492 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/index.js +1161 -0
- package/.output/server/node_modules/@redis/client/dist/lib/errors.js +110 -0
- package/.output/server/node_modules/@redis/client/dist/lib/lua-script.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/multi-command.js +48 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/client-registry.js +84 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/index.js +81 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/metrics.js +647 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/types.js +120 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/utils/error.util.js +199 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/utils/index.js +32 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_MASTER.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_MONITOR.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_REPLICAS.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_SENTINELS.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_SET.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/index.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/index.js +1229 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/module.js +10 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/multi-commands.js +115 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/pub-sub-proxy.js +150 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/utils.js +98 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/wait-queue.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/single-entry-cache.js +38 -0
- package/.output/server/node_modules/@redis/client/dist/lib/utils/digest.js +34 -0
- package/.output/server/node_modules/@redis/client/dist/package.json +52 -0
- package/.output/server/node_modules/@redis/client/package.json +52 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRAPPEND.js +26 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRINDEX.js +31 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRINSERT.js +27 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRLEN.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRPOP.js +32 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRTRIM.js +22 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/CLEAR.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/DEBUG_MEMORY.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/DEL.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/FORGET.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/GET.js +24 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/MERGE.js +22 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/MGET.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/MSET.js +25 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/NUMINCRBY.js +26 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/NUMMULTBY.js +25 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/OBJKEYS.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/OBJLEN.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/SET.js +35 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/STRAPPEND.js +26 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/STRLEN.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/TOGGLE.js +20 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/TYPE.js +29 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/index.js +91 -0
- package/.output/server/node_modules/@redis/json/dist/lib/index.js +9 -0
- package/.output/server/node_modules/@redis/json/package.json +36 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/AGGREGATE.js +212 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/AGGREGATE_WITHCURSOR.js +40 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/ALIASADD.js +17 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/ALIASDEL.js +16 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/ALIASUPDATE.js +17 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/ALTER.js +19 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/CONFIG_GET.js +23 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/CONFIG_SET.js +17 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/CREATE.js +277 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/CURSOR_DEL.js +17 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/CURSOR_READ.js +27 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/DICTADD.js +18 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/DICTDEL.js +18 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/DICTDUMP.js +19 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/DROPINDEX.js +24 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/EXPLAIN.js +29 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/EXPLAINCLI.js +26 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/HYBRID.js +273 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/INFO.js +106 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/PROFILE_AGGREGATE.js +58 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/PROFILE_SEARCH.js +58 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SEARCH.js +160 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SEARCH_NOCONTENT.js +34 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SPELLCHECK.js +56 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGADD.js +28 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGDEL.js +18 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET.js +27 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET_WITHPAYLOADS.js +36 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET_WITHSCORES.js +51 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET_WITHSCORES_WITHPAYLOADS.js +53 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGLEN.js +15 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SYNDUMP.js +27 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SYNUPDATE.js +24 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/TAGVALS.js +20 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/_LIST.js +18 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/index.js +125 -0
- package/.output/server/node_modules/@redis/search/dist/lib/dialect/default.js +5 -0
- package/.output/server/node_modules/@redis/search/dist/lib/index.js +17 -0
- package/.output/server/node_modules/@redis/search/package.json +37 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/ADD.js +29 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/ALTER.js +23 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/CREATE.js +24 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/CREATERULE.js +48 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/DECRBY.js +40 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/DEL.js +20 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/DELETERULE.js +17 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/GET.js +33 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/INCRBY.js +40 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/INFO.js +58 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/INFO_DEBUG.js +46 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MADD.js +20 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MGET.js +57 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MGET_SELECTED_LABELS.js +23 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MGET_WITHLABELS.js +43 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE.js +44 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_GROUPBY.js +96 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_SELECTED_LABELS.js +51 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_SELECTED_LABELS_GROUPBY.js +52 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_WITHLABELS.js +59 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_WITHLABELS_GROUPBY.js +52 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE.js +41 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_GROUPBY.js +41 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_SELECTED_LABELS.js +41 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_SELECTED_LABELS_GROUPBY.js +42 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_WITHLABELS.js +41 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_WITHLABELS_GROUPBY.js +41 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/QUERYINDEX.js +20 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/RANGE.js +66 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/REVRANGE.js +40 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/helpers.js +237 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/index.js +113 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/index.js +17 -0
- package/.output/server/node_modules/@redis/time-series/package.json +36 -0
- package/.output/server/node_modules/aws-ssl-profiles/lib/index.js +13 -0
- package/.output/server/node_modules/aws-ssl-profiles/lib/profiles/ca/defaults.js +2888 -0
- package/.output/server/node_modules/aws-ssl-profiles/lib/profiles/ca/proxies.js +111 -0
- package/.output/server/node_modules/aws-ssl-profiles/package.json +52 -0
- package/.output/server/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
- package/.output/server/node_modules/better-sqlite3/lib/database.js +90 -0
- package/.output/server/node_modules/better-sqlite3/lib/index.js +3 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/aggregate.js +43 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/backup.js +67 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/function.js +31 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/inspect.js +7 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/pragma.js +12 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/serialize.js +16 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/table.js +189 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/transaction.js +78 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/wrappers.js +54 -0
- package/.output/server/node_modules/better-sqlite3/lib/sqlite-error.js +20 -0
- package/.output/server/node_modules/better-sqlite3/lib/util.js +12 -0
- package/.output/server/node_modules/better-sqlite3/package.json +59 -0
- package/.output/server/node_modules/cluster-key-slot/lib/index.js +166 -0
- package/.output/server/node_modules/cluster-key-slot/package.json +56 -0
- package/.output/server/node_modules/cpu-features/build/Release/cpufeatures.node +0 -0
- package/.output/server/node_modules/cpu-features/lib/index.js +5 -0
- package/.output/server/node_modules/cpu-features/package.json +40 -0
- package/.output/server/node_modules/denque/index.js +481 -0
- package/.output/server/node_modules/denque/package.json +58 -0
- package/.output/server/node_modules/generate-function/index.js +181 -0
- package/.output/server/node_modules/generate-function/package.json +32 -0
- package/.output/server/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/.output/server/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/.output/server/node_modules/iconv-lite/encodings/index.js +23 -0
- package/.output/server/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/.output/server/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/.output/server/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/.output/server/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/.output/server/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/.output/server/node_modules/iconv-lite/encodings/utf32.js +307 -0
- package/.output/server/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/.output/server/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/.output/server/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/.output/server/node_modules/iconv-lite/lib/index.js +182 -0
- package/.output/server/node_modules/iconv-lite/lib/streams.js +105 -0
- package/.output/server/node_modules/iconv-lite/package.json +70 -0
- package/.output/server/node_modules/is-property/is-property.js +5 -0
- package/.output/server/node_modules/is-property/package.json +36 -0
- package/.output/server/node_modules/js-base64/base64.mjs +301 -0
- package/.output/server/node_modules/js-base64/package.json +43 -0
- package/.output/server/node_modules/long/package.json +58 -0
- package/.output/server/node_modules/long/umd/index.js +1622 -0
- package/.output/server/node_modules/long/umd/package.json +3 -0
- package/.output/server/node_modules/lru.min/lib/index.js +248 -0
- package/.output/server/node_modules/lru.min/package.json +87 -0
- package/.output/server/node_modules/mysql2/index.js +77 -0
- package/.output/server/node_modules/mysql2/lib/auth_41.js +95 -0
- package/.output/server/node_modules/mysql2/lib/auth_plugins/caching_sha2_password.js +115 -0
- package/.output/server/node_modules/mysql2/lib/auth_plugins/index.js +8 -0
- package/.output/server/node_modules/mysql2/lib/auth_plugins/mysql_clear_password.js +17 -0
- package/.output/server/node_modules/mysql2/lib/auth_plugins/mysql_native_password.js +34 -0
- package/.output/server/node_modules/mysql2/lib/auth_plugins/sha256_password.js +74 -0
- package/.output/server/node_modules/mysql2/lib/base/connection.js +1139 -0
- package/.output/server/node_modules/mysql2/lib/base/pool.js +343 -0
- package/.output/server/node_modules/mysql2/lib/commands/auth_switch.js +151 -0
- package/.output/server/node_modules/mysql2/lib/commands/binlog_dump.js +109 -0
- package/.output/server/node_modules/mysql2/lib/commands/change_user.js +68 -0
- package/.output/server/node_modules/mysql2/lib/commands/client_handshake.js +386 -0
- package/.output/server/node_modules/mysql2/lib/commands/close_statement.js +18 -0
- package/.output/server/node_modules/mysql2/lib/commands/command.js +54 -0
- package/.output/server/node_modules/mysql2/lib/commands/execute.js +116 -0
- package/.output/server/node_modules/mysql2/lib/commands/index.js +29 -0
- package/.output/server/node_modules/mysql2/lib/commands/ping.js +36 -0
- package/.output/server/node_modules/mysql2/lib/commands/prepare.js +143 -0
- package/.output/server/node_modules/mysql2/lib/commands/query.js +365 -0
- package/.output/server/node_modules/mysql2/lib/commands/quit.js +29 -0
- package/.output/server/node_modules/mysql2/lib/commands/register_slave.js +27 -0
- package/.output/server/node_modules/mysql2/lib/commands/reset_connection.js +29 -0
- package/.output/server/node_modules/mysql2/lib/commands/server_handshake.js +205 -0
- package/.output/server/node_modules/mysql2/lib/compressed_protocol.js +153 -0
- package/.output/server/node_modules/mysql2/lib/connection.js +12 -0
- package/.output/server/node_modules/mysql2/lib/connection_config.js +299 -0
- package/.output/server/node_modules/mysql2/lib/constants/charset_encodings.js +317 -0
- package/.output/server/node_modules/mysql2/lib/constants/charsets.js +317 -0
- package/.output/server/node_modules/mysql2/lib/constants/client.js +39 -0
- package/.output/server/node_modules/mysql2/lib/constants/commands.js +37 -0
- package/.output/server/node_modules/mysql2/lib/constants/cursor.js +9 -0
- package/.output/server/node_modules/mysql2/lib/constants/encoding_charset.js +50 -0
- package/.output/server/node_modules/mysql2/lib/constants/errors.js +3973 -0
- package/.output/server/node_modules/mysql2/lib/constants/field_flags.js +20 -0
- package/.output/server/node_modules/mysql2/lib/constants/server_status.js +44 -0
- package/.output/server/node_modules/mysql2/lib/constants/session_track.js +11 -0
- package/.output/server/node_modules/mysql2/lib/constants/ssl_profiles.js +11 -0
- package/.output/server/node_modules/mysql2/lib/constants/types.js +64 -0
- package/.output/server/node_modules/mysql2/lib/create_connection.js +10 -0
- package/.output/server/node_modules/mysql2/lib/create_pool.js +10 -0
- package/.output/server/node_modules/mysql2/lib/create_pool_cluster.js +9 -0
- package/.output/server/node_modules/mysql2/lib/helpers.js +83 -0
- package/.output/server/node_modules/mysql2/lib/packet_parser.js +195 -0
- package/.output/server/node_modules/mysql2/lib/packets/auth_next_factor.js +35 -0
- package/.output/server/node_modules/mysql2/lib/packets/auth_switch_request.js +38 -0
- package/.output/server/node_modules/mysql2/lib/packets/auth_switch_request_more_data.js +33 -0
- package/.output/server/node_modules/mysql2/lib/packets/auth_switch_response.js +30 -0
- package/.output/server/node_modules/mysql2/lib/packets/binary_row.js +95 -0
- package/.output/server/node_modules/mysql2/lib/packets/binlog_dump.js +33 -0
- package/.output/server/node_modules/mysql2/lib/packets/binlog_query_statusvars.js +115 -0
- package/.output/server/node_modules/mysql2/lib/packets/change_user.js +97 -0
- package/.output/server/node_modules/mysql2/lib/packets/close_statement.js +21 -0
- package/.output/server/node_modules/mysql2/lib/packets/column_definition.js +291 -0
- package/.output/server/node_modules/mysql2/lib/packets/encode_parameter.js +69 -0
- package/.output/server/node_modules/mysql2/lib/packets/execute.js +177 -0
- package/.output/server/node_modules/mysql2/lib/packets/handshake.js +112 -0
- package/.output/server/node_modules/mysql2/lib/packets/handshake_response.js +173 -0
- package/.output/server/node_modules/mysql2/lib/packets/index.js +154 -0
- package/.output/server/node_modules/mysql2/lib/packets/packet.js +978 -0
- package/.output/server/node_modules/mysql2/lib/packets/prepare_statement.js +27 -0
- package/.output/server/node_modules/mysql2/lib/packets/prepared_statement_header.js +16 -0
- package/.output/server/node_modules/mysql2/lib/packets/query.js +102 -0
- package/.output/server/node_modules/mysql2/lib/packets/register_slave.js +46 -0
- package/.output/server/node_modules/mysql2/lib/packets/reset_connection.js +17 -0
- package/.output/server/node_modules/mysql2/lib/packets/resultset_header.js +124 -0
- package/.output/server/node_modules/mysql2/lib/packets/ssl_request.js +25 -0
- package/.output/server/node_modules/mysql2/lib/packets/text_row.js +47 -0
- package/.output/server/node_modules/mysql2/lib/parsers/binary_parser.js +235 -0
- package/.output/server/node_modules/mysql2/lib/parsers/parser_cache.js +68 -0
- package/.output/server/node_modules/mysql2/lib/parsers/static_binary_parser.js +213 -0
- package/.output/server/node_modules/mysql2/lib/parsers/static_text_parser.js +152 -0
- package/.output/server/node_modules/mysql2/lib/parsers/string.js +50 -0
- package/.output/server/node_modules/mysql2/lib/parsers/text_parser.js +214 -0
- package/.output/server/node_modules/mysql2/lib/pool.js +12 -0
- package/.output/server/node_modules/mysql2/lib/pool_cluster.js +375 -0
- package/.output/server/node_modules/mysql2/lib/pool_config.js +34 -0
- package/.output/server/node_modules/mysql2/lib/pool_connection.js +81 -0
- package/.output/server/node_modules/mysql2/lib/promise/capture_local_err.js +25 -0
- package/.output/server/node_modules/mysql2/lib/promise/connection.js +237 -0
- package/.output/server/node_modules/mysql2/lib/promise/inherit_events.js +27 -0
- package/.output/server/node_modules/mysql2/lib/promise/make_done_cb.js +16 -0
- package/.output/server/node_modules/mysql2/lib/promise/pool.js +118 -0
- package/.output/server/node_modules/mysql2/lib/promise/pool_cluster.js +59 -0
- package/.output/server/node_modules/mysql2/lib/promise/pool_connection.js +19 -0
- package/.output/server/node_modules/mysql2/lib/promise/prepared_statement_info.js +35 -0
- package/.output/server/node_modules/mysql2/lib/server.js +37 -0
- package/.output/server/node_modules/mysql2/lib/tracing.js +81 -0
- package/.output/server/node_modules/mysql2/package.json +95 -0
- package/.output/server/node_modules/mysql2/promise.js +209 -0
- package/.output/server/node_modules/named-placeholders/index.js +179 -0
- package/.output/server/node_modules/named-placeholders/package.json +36 -0
- package/.output/server/node_modules/oracledb/index.js +27 -0
- package/.output/server/node_modules/oracledb/lib/aqDeqOptions.js +186 -0
- package/.output/server/node_modules/oracledb/lib/aqEnqOptions.js +81 -0
- package/.output/server/node_modules/oracledb/lib/aqMessage.js +149 -0
- package/.output/server/node_modules/oracledb/lib/aqQueue.js +293 -0
- package/.output/server/node_modules/oracledb/lib/connection.js +1842 -0
- package/.output/server/node_modules/oracledb/lib/constants.js +210 -0
- package/.output/server/node_modules/oracledb/lib/dbObject.js +606 -0
- package/.output/server/node_modules/oracledb/lib/errors.js +1046 -0
- package/.output/server/node_modules/oracledb/lib/future.js +53 -0
- package/.output/server/node_modules/oracledb/lib/impl/aqDeqOptions.js +206 -0
- package/.output/server/node_modules/oracledb/lib/impl/aqEnqOptions.js +89 -0
- package/.output/server/node_modules/oracledb/lib/impl/aqMessage.js +134 -0
- package/.output/server/node_modules/oracledb/lib/impl/aqQueue.js +82 -0
- package/.output/server/node_modules/oracledb/lib/impl/base.js +45 -0
- package/.output/server/node_modules/oracledb/lib/impl/connection.js +671 -0
- package/.output/server/node_modules/oracledb/lib/impl/datahandlers/buffer.js +1214 -0
- package/.output/server/node_modules/oracledb/lib/impl/datahandlers/constants.js +110 -0
- package/.output/server/node_modules/oracledb/lib/impl/datahandlers/oson.js +852 -0
- package/.output/server/node_modules/oracledb/lib/impl/datahandlers/vector.js +197 -0
- package/.output/server/node_modules/oracledb/lib/impl/dbObject.js +159 -0
- package/.output/server/node_modules/oracledb/lib/impl/index.js +59 -0
- package/.output/server/node_modules/oracledb/lib/impl/lob.js +113 -0
- package/.output/server/node_modules/oracledb/lib/impl/pool.js +230 -0
- package/.output/server/node_modules/oracledb/lib/impl/resultset.js +307 -0
- package/.output/server/node_modules/oracledb/lib/impl/sodaCollection.js +175 -0
- package/.output/server/node_modules/oracledb/lib/impl/sodaDatabase.js +82 -0
- package/.output/server/node_modules/oracledb/lib/impl/sodaDocCursor.js +64 -0
- package/.output/server/node_modules/oracledb/lib/impl/sodaDocument.js +89 -0
- package/.output/server/node_modules/oracledb/lib/impl/sodaOperation.js +110 -0
- package/.output/server/node_modules/oracledb/lib/lob.js +315 -0
- package/.output/server/node_modules/oracledb/lib/oracledb.js +1716 -0
- package/.output/server/node_modules/oracledb/lib/pool.js +873 -0
- package/.output/server/node_modules/oracledb/lib/poolStatistics.js +143 -0
- package/.output/server/node_modules/oracledb/lib/queryStream.js +119 -0
- package/.output/server/node_modules/oracledb/lib/resultset.js +368 -0
- package/.output/server/node_modules/oracledb/lib/settings.js +221 -0
- package/.output/server/node_modules/oracledb/lib/sodaCollection.js +284 -0
- package/.output/server/node_modules/oracledb/lib/sodaDatabase.js +176 -0
- package/.output/server/node_modules/oracledb/lib/sodaDocCursor.js +82 -0
- package/.output/server/node_modules/oracledb/lib/sodaDocument.js +125 -0
- package/.output/server/node_modules/oracledb/lib/sodaOperation.js +236 -0
- package/.output/server/node_modules/oracledb/lib/thin/aq.js +475 -0
- package/.output/server/node_modules/oracledb/lib/thin/connection.js +1504 -0
- package/.output/server/node_modules/oracledb/lib/thin/dbObject.js +737 -0
- package/.output/server/node_modules/oracledb/lib/thin/index.js +40 -0
- package/.output/server/node_modules/oracledb/lib/thin/lob.js +380 -0
- package/.output/server/node_modules/oracledb/lib/thin/pool.js +738 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/capabilities.js +145 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/constants.js +872 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/encryptDecrypt.js +197 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/aqArray.js +238 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/aqBase.js +305 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/aqDeq.js +164 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/aqEnq.js +135 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/auth.js +376 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/base.js +568 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/commit.js +56 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/dataType.js +401 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/execute.js +358 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/fastAuth.js +83 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/fetch.js +64 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/index.js +59 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/lobOp.js +195 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/logOff.js +52 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/ping.js +56 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/protocol.js +97 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/rollback.js +56 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/sessionRelease.js +60 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/transactionChangeState.js +99 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/transactionSwitch.js +147 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/withData.js +920 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/packet.js +631 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/protocol.js +240 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/utils.js +82 -0
- package/.output/server/node_modules/oracledb/lib/thin/resultSet.js +122 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/ANO.js +438 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/connStrategy.js +316 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/constants.js +210 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/ezConnectResolver.js +466 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/navNodes.js +904 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/networkSession.js +733 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js +609 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/nvStrToNvPair.js +780 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/packet.js +439 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/paramParser.js +239 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/sessionAtts.js +198 -0
- package/.output/server/node_modules/oracledb/lib/thin/statement.js +573 -0
- package/.output/server/node_modules/oracledb/lib/thin/statementCache.js +195 -0
- package/.output/server/node_modules/oracledb/lib/thin/util.js +254 -0
- package/.output/server/node_modules/oracledb/lib/traceHandler.js +133 -0
- package/.output/server/node_modules/oracledb/lib/transformer.js +279 -0
- package/.output/server/node_modules/oracledb/lib/types.js +592 -0
- package/.output/server/node_modules/oracledb/lib/util.js +648 -0
- package/.output/server/node_modules/oracledb/lib/version.js +36 -0
- package/.output/server/node_modules/oracledb/package.json +48 -0
- package/.output/server/node_modules/promise-limit/index.js +88 -0
- package/.output/server/node_modules/promise-limit/package.json +39 -0
- package/.output/server/node_modules/redis/dist/index.js +77 -0
- package/.output/server/node_modules/redis/package.json +36 -0
- package/.output/server/node_modules/sql-escaper/lib/index.js +398 -0
- package/.output/server/node_modules/sql-escaper/package.json +81 -0
- package/.output/server/node_modules/sqlite3/build/Release/node_sqlite3.node +0 -0
- package/.output/server/node_modules/ssh2/lib/protocol/crypto/build/Release/sshcrypto.node +0 -0
- package/.output/server/node_modules/ws/lib/buffer-util.js +131 -0
- package/.output/server/node_modules/ws/lib/constants.js +19 -0
- package/.output/server/node_modules/ws/lib/event-target.js +292 -0
- package/.output/server/node_modules/ws/lib/extension.js +203 -0
- package/.output/server/node_modules/ws/lib/limiter.js +55 -0
- package/.output/server/node_modules/ws/lib/permessage-deflate.js +528 -0
- package/.output/server/node_modules/ws/lib/receiver.js +706 -0
- package/.output/server/node_modules/ws/lib/sender.js +602 -0
- package/.output/server/node_modules/ws/lib/stream.js +161 -0
- package/.output/server/node_modules/ws/lib/subprotocol.js +62 -0
- package/.output/server/node_modules/ws/lib/validation.js +152 -0
- package/.output/server/node_modules/ws/lib/websocket-server.js +554 -0
- package/.output/server/node_modules/ws/lib/websocket.js +1393 -0
- package/.output/server/node_modules/ws/package.json +69 -0
- package/.output/server/node_modules/ws/wrapper.mjs +8 -0
- package/.output/server/package.json +29 -18
- package/package.json +9 -3
- package/.output/public/_nuxt/0-wJGyFY.js +0 -2
- package/.output/public/_nuxt/1ntlIJ3J.js +0 -61
- package/.output/public/_nuxt/3c6UPAJG.js +0 -73
- package/.output/public/_nuxt/ACQvpkWm.js +0 -15
- package/.output/public/_nuxt/B-5Px-78.js +0 -1
- package/.output/public/_nuxt/B2GYb2Zp.js +0 -34
- package/.output/public/_nuxt/B2RqwDKD.js +0 -1
- package/.output/public/_nuxt/B8ibHW1N.js +0 -53
- package/.output/public/_nuxt/B9-NZWuC.js +0 -4
- package/.output/public/_nuxt/BBGY5Dij.js +0 -70
- package/.output/public/_nuxt/BC7xWBZm.js +0 -1
- package/.output/public/_nuxt/BCC0qnRS.js +0 -1
- package/.output/public/_nuxt/BEqwcled.js +0 -65
- package/.output/public/_nuxt/BHBluah9.js +0 -39
- package/.output/public/_nuxt/BKKBkPNN.js +0 -160
- package/.output/public/_nuxt/BKltSiU0.js +0 -1
- package/.output/public/_nuxt/BKokR8_i.js +0 -2
- package/.output/public/_nuxt/BL9A1tZd.js +0 -7
- package/.output/public/_nuxt/BOzTRnyW.js +0 -1
- package/.output/public/_nuxt/BP3TGvlW.js +0 -36
- package/.output/public/_nuxt/BPj7cOdr.js +0 -9
- package/.output/public/_nuxt/BSs9H74b.js +0 -1
- package/.output/public/_nuxt/BTp4hJJX.js +0 -30
- package/.output/public/_nuxt/BUolzwzd.js +0 -1
- package/.output/public/_nuxt/BWSKnXVC.js +0 -1
- package/.output/public/_nuxt/BX8ZW8Wz.js +0 -1
- package/.output/public/_nuxt/BZOx0xl6.js +0 -1
- package/.output/public/_nuxt/B_IzdKBm.js +0 -1
- package/.output/public/_nuxt/BaseCodeEditor.SAr2eD8R.css +0 -1
- package/.output/public/_nuxt/BbHeTL4H.js +0 -1
- package/.output/public/_nuxt/Bdd_MGHp.js +0 -1
- package/.output/public/_nuxt/Bdtn2mn5.js +0 -1
- package/.output/public/_nuxt/Bf6dfiAn.js +0 -1
- package/.output/public/_nuxt/BfStSYv5.js +0 -10
- package/.output/public/_nuxt/BiCaG3fA.js +0 -1
- package/.output/public/_nuxt/BiZhfq--.js +0 -1
- package/.output/public/_nuxt/Bj9pfQd-.js +0 -10
- package/.output/public/_nuxt/BjU0QAaV.js +0 -732
- package/.output/public/_nuxt/Bpvd5Z9l.js +0 -132
- package/.output/public/_nuxt/BvXVax75.js +0 -162
- package/.output/public/_nuxt/BwI9KIOm.js +0 -255
- package/.output/public/_nuxt/C-3-JfbB.js +0 -1
- package/.output/public/_nuxt/C-xlKweX.js +0 -1
- package/.output/public/_nuxt/CEj-unU2.js +0 -1
- package/.output/public/_nuxt/CEza5aSi.js +0 -1
- package/.output/public/_nuxt/CJWptbcK.js +0 -1
- package/.output/public/_nuxt/CKSjfllY.js +0 -1
- package/.output/public/_nuxt/CMpNcsXd.js +0 -12
- package/.output/public/_nuxt/CPabAXsJ.js +0 -24
- package/.output/public/_nuxt/CPipTUnI.js +0 -152
- package/.output/public/_nuxt/CQ45OBWa.js +0 -89
- package/.output/public/_nuxt/CQAA248G.js +0 -1
- package/.output/public/_nuxt/CRM1vXw3.js +0 -2
- package/.output/public/_nuxt/CUIMPQKu.js +0 -70
- package/.output/public/_nuxt/CUvvUJMD.js +0 -1
- package/.output/public/_nuxt/CWE6B2ZO.js +0 -1
- package/.output/public/_nuxt/CY1oztNj.js +0 -1
- package/.output/public/_nuxt/Cb_5VLq-.js +0 -1
- package/.output/public/_nuxt/Cc9Pv3NC.js +0 -67
- package/.output/public/_nuxt/CdeKF_Y5.js +0 -1
- package/.output/public/_nuxt/Ceqb0tnW.js +0 -9
- package/.output/public/_nuxt/Cf4SYIMN.js +0 -15
- package/.output/public/_nuxt/CfJy-WiZ.js +0 -2
- package/.output/public/_nuxt/Ch9DdZ1v.js +0 -1
- package/.output/public/_nuxt/Chnnd034.js +0 -1
- package/.output/public/_nuxt/CmPpU8kK.js +0 -7
- package/.output/public/_nuxt/CoTGLOo-.js +0 -10
- package/.output/public/_nuxt/CqvBmMuN.js +0 -1
- package/.output/public/_nuxt/CtJG7C0n.js +0 -1
- package/.output/public/_nuxt/Cv13FokC.js +0 -24
- package/.output/public/_nuxt/CyIart-B.js +0 -1
- package/.output/public/_nuxt/Czb-ugrz.js +0 -1
- package/.output/public/_nuxt/D0HVzqS-.js +0 -1
- package/.output/public/_nuxt/D5MxrHN6.js +0 -1
- package/.output/public/_nuxt/DBC_DJ4H.js +0 -292
- package/.output/public/_nuxt/DD0_MMyC.js +0 -22
- package/.output/public/_nuxt/DLBa45iT.js +0 -68
- package/.output/public/_nuxt/DNX5WjhQ.js +0 -1
- package/.output/public/_nuxt/DS5KvVtc.js +0 -1
- package/.output/public/_nuxt/DeHEBoXc.js +0 -43
- package/.output/public/_nuxt/DiVOI330.js +0 -1
- package/.output/public/_nuxt/DkFAxPAy.js +0 -162
- package/.output/public/_nuxt/DonU4d08.js +0 -3
- package/.output/public/_nuxt/Dsj6LIQK.js +0 -220
- package/.output/public/_nuxt/DuEMN8L_.js +0 -189
- package/.output/public/_nuxt/Dv-XdIM2.js +0 -68
- package/.output/public/_nuxt/DyxiJtlL.js +0 -72
- package/.output/public/_nuxt/Dzy5OQn7.js +0 -139
- package/.output/public/_nuxt/EJAhTysQ.js +0 -1
- package/.output/public/_nuxt/GoTwJjoS.js +0 -39
- package/.output/public/_nuxt/L22G0LO0.js +0 -2
- package/.output/public/_nuxt/MT_t-3iM.js +0 -145
- package/.output/public/_nuxt/NPxge8Vj.js +0 -1
- package/.output/public/_nuxt/PuW66QXY.js +0 -6
- package/.output/public/_nuxt/RVJfUWby.js +0 -1
- package/.output/public/_nuxt/Vvsm7Zcb.js +0 -1
- package/.output/public/_nuxt/Yhg2AuOM.js +0 -1
- package/.output/public/_nuxt/Yzrsuije.js +0 -1
- package/.output/public/_nuxt/_pURwnjj.js +0 -1
- package/.output/public/_nuxt/ak-AMfNO.js +0 -1
- package/.output/public/_nuxt/bTGk4NZ_.js +0 -1
- package/.output/public/_nuxt/builds/meta/b0b2d3d7-8491-43b2-b747-bf8ac00fec15.json +0 -1
- package/.output/public/_nuxt/default.DC7ec2JI.css +0 -1
- package/.output/public/_nuxt/entry.kqv_Ayaq.css +0 -1
- package/.output/public/_nuxt/kehy-5uo.js +0 -1
- package/.output/public/_nuxt/newKnrX1.js +0 -1
- package/.output/public/_nuxt/oXG7qeES.js +0 -1
- package/.output/public/_nuxt/rOvrJUdX.js +0 -1
- package/.output/public/_nuxt/vnfYlYqV.js +0 -1
- package/.output/public/_nuxt/x9AB1FGL.js +0 -3867
- package/.output/server/node_modules/cross-spawn/index.js +0 -39
- package/.output/server/node_modules/cross-spawn/lib/enoent.js +0 -59
- package/.output/server/node_modules/cross-spawn/lib/parse.js +0 -91
- package/.output/server/node_modules/cross-spawn/lib/util/escape.js +0 -47
- package/.output/server/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
- package/.output/server/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
- package/.output/server/node_modules/cross-spawn/package.json +0 -73
- package/.output/server/node_modules/execa/index.js +0 -268
- package/.output/server/node_modules/execa/lib/command.js +0 -52
- package/.output/server/node_modules/execa/lib/error.js +0 -88
- package/.output/server/node_modules/execa/lib/kill.js +0 -115
- package/.output/server/node_modules/execa/lib/promise.js +0 -46
- package/.output/server/node_modules/execa/lib/stdio.js +0 -52
- package/.output/server/node_modules/execa/lib/stream.js +0 -97
- package/.output/server/node_modules/execa/package.json +0 -74
- package/.output/server/node_modules/get-stream/buffer-stream.js +0 -52
- package/.output/server/node_modules/get-stream/index.js +0 -61
- package/.output/server/node_modules/get-stream/package.json +0 -47
- package/.output/server/node_modules/human-signals/build/src/core.js +0 -273
- package/.output/server/node_modules/human-signals/build/src/main.js +0 -71
- package/.output/server/node_modules/human-signals/build/src/realtime.js +0 -19
- package/.output/server/node_modules/human-signals/build/src/signals.js +0 -35
- package/.output/server/node_modules/human-signals/package.json +0 -64
- package/.output/server/node_modules/is-stream/index.js +0 -28
- package/.output/server/node_modules/is-stream/package.json +0 -42
- package/.output/server/node_modules/isexe/index.js +0 -57
- package/.output/server/node_modules/isexe/mode.js +0 -41
- package/.output/server/node_modules/isexe/package.json +0 -31
- package/.output/server/node_modules/isexe/windows.js +0 -42
- package/.output/server/node_modules/merge-stream/index.js +0 -41
- package/.output/server/node_modules/merge-stream/package.json +0 -19
- package/.output/server/node_modules/mimic-fn/index.js +0 -13
- package/.output/server/node_modules/mimic-fn/package.json +0 -42
- package/.output/server/node_modules/npm-run-path/index.js +0 -47
- package/.output/server/node_modules/npm-run-path/package.json +0 -44
- package/.output/server/node_modules/onetime/index.js +0 -44
- package/.output/server/node_modules/onetime/package.json +0 -43
- package/.output/server/node_modules/path-key/index.js +0 -16
- package/.output/server/node_modules/path-key/package.json +0 -39
- package/.output/server/node_modules/pg-dump-restore/lib/common.js +0 -33
- package/.output/server/node_modules/pg-dump-restore/lib/index.js +0 -9
- package/.output/server/node_modules/pg-dump-restore/lib/pg-dump.js +0 -95
- package/.output/server/node_modules/pg-dump-restore/lib/pg-restore.js +0 -87
- package/.output/server/node_modules/pg-dump-restore/package.json +0 -66
- package/.output/server/node_modules/shebang-command/index.js +0 -19
- package/.output/server/node_modules/shebang-command/package.json +0 -34
- package/.output/server/node_modules/shebang-regex/index.js +0 -2
- package/.output/server/node_modules/shebang-regex/package.json +0 -35
- package/.output/server/node_modules/signal-exit/index.js +0 -202
- package/.output/server/node_modules/signal-exit/package.json +0 -38
- package/.output/server/node_modules/signal-exit/signals.js +0 -53
- package/.output/server/node_modules/strip-final-newline/index.js +0 -16
- package/.output/server/node_modules/strip-final-newline/package.json +0 -40
- package/.output/server/node_modules/which/package.json +0 -43
- package/.output/server/node_modules/which/which.js +0 -125
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as y,k as d,o as u,w as i,D as v,ab as k,ac as D,g as e,ak as j,p as x,ar as Q,r as O,aK as le,aj as Z,cK as ue,bN as $,aa as B,at as H,f as w,dQ as ie,bk as U,ax as de,aL as pe,cZ as ce,d4 as G,dR as fe,ay as I,as as J,cW as _e,au as ye,a9 as ge,i as me,c as T,av as ve,e as R,F as z,ad as he,ae as V,j as A,dS as Ce,s as Y,l as F,z as L,t as E,A as xe,n as be}from"./BcsKoAPU.js";import{i as W,p as Be,a as ee,b as Me,c as we,d as qe,e as te,f as Se,g as Pe,M as Oe,h as ke}from"./B73IHAoF.js";import{_ as De}from"./AymhMj9v.js";var $e=y({__name:"MenuLabel",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},setup(a){const n=a;return(t,r)=>(u(),d(e(j),k(D(n)),{default:i(()=>[v(t.$slots,"default")]),_:3},16))}}),ae=$e,Te=y({__name:"MenuSeparator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const n=a;return(t,r)=>(u(),d(e(j),x(n,{role:"separator","aria-orientation":"horizontal"}),{default:i(()=>[v(t.$slots,"default")]),_:3},16))}}),ne=Te;const[oe,Ae]=Z("MenuSub");var Fe=y({__name:"MenuSub",props:{open:{type:Boolean,required:!1,default:void 0}},emits:["update:open"],setup(a,{emit:n}){const t=a,o=Q(t,"open",n,{defaultValue:!1,passive:t.open===void 0}),s=W(),l=O(),p=O();return le(c=>{(s==null?void 0:s.open.value)===!1&&(o.value=!1),c(()=>o.value=!1)}),Be({open:o,onOpenChange:c=>{o.value=c},content:p,onContentChange:c=>{p.value=c}}),Ae({triggerId:"",contentId:"",trigger:l,onTriggerChange:c=>{l.value=c}}),(c,C)=>(u(),d(e(ue),null,{default:i(()=>[v(c.$slots,"default")]),_:3}))}}),Ee=Fe,Le=y({__name:"MenuSubContent",props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1,default:!0},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(a,{emit:n}){const o=$(a,n),s=W(),l=ee(),p=oe(),{forwardRef:c,currentElement:C}=B();return p.contentId||(p.contentId=H(void 0,"reka-menu-sub-content")),(b,_)=>(u(),d(e(de),{present:b.forceMount||e(s).open.value},{default:i(()=>[w(Me,x(e(o),{id:e(p).contentId,ref:e(c),"aria-labelledby":e(p).triggerId,align:"start",side:e(l).dir.value==="rtl"?"left":"right","disable-outside-pointer-events":!1,"disable-outside-scroll":!1,"trap-focus":!1,onOpenAutoFocus:_[0]||(_[0]=U(f=>{var h;e(l).isUsingKeyboardRef.value&&((h=e(C))==null||h.focus())},["prevent"])),onCloseAutoFocus:_[1]||(_[1]=U(()=>{},["prevent"])),onFocusOutside:_[2]||(_[2]=f=>{f.defaultPrevented||f.target!==e(p).trigger.value&&e(s).onOpenChange(!1)}),onEscapeKeyDown:_[3]||(_[3]=f=>{e(l).onClose(),f.preventDefault()}),onKeydown:_[4]||(_[4]=f=>{var q,S;const h=(q=f.currentTarget)==null?void 0:q.contains(f.target),g=e(ie)[e(l).dir.value].includes(f.key);h&&g&&(e(s).onOpenChange(!1),(S=e(p).trigger.value)==null||S.focus(),f.preventDefault())})}),{default:i(()=>[v(b.$slots,"default")]),_:3},16,["id","aria-labelledby","side"])]),_:3},8,["present"]))}}),Re=Le,ze=y({__name:"MenuSubTrigger",props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const n=a,t=W(),r=ee(),o=oe(),s=we(),l=O(null);o.triggerId||(o.triggerId=H(void 0,"reka-menu-sub-trigger"));function p(){l.value&&window.clearTimeout(l.value),l.value=null}pe(()=>{p()});function c(_){!G(_)||s.onItemEnter(_)||!n.disabled&&!t.open.value&&!l.value&&(s.onPointerGraceIntentChange(null),l.value=window.setTimeout(()=>{t.onOpenChange(!0),p()},100))}async function C(_){var h,g;if(!G(_))return;p();const f=(h=t.content.value)==null?void 0:h.getBoundingClientRect();if(f!=null&&f.width){const q=(g=t.content.value)==null?void 0:g.dataset.side,S=q==="right",K=S?-5:5,m=f[S?"left":"right"],N=f[S?"right":"left"];s.onPointerGraceIntentChange({area:[{x:_.clientX+K,y:_.clientY},{x:m,y:f.top},{x:N,y:f.top},{x:N,y:f.bottom},{x:m,y:f.bottom}],side:q}),window.clearTimeout(s.pointerGraceTimerRef.value),s.pointerGraceTimerRef.value=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(_))return;s.onPointerGraceIntentChange(null)}}async function b(_){var h;const f=s.searchRef.value!=="";n.disabled||f&&_.key===" "||fe[r.dir.value].includes(_.key)&&(t.onOpenChange(!0),await I(),(h=t.content.value)==null||h.focus(),_.preventDefault())}return(_,f)=>(u(),d(te,{"as-child":""},{default:i(()=>[w(qe,x(n,{id:e(o).triggerId,ref:h=>{var g;(g=e(o))==null||g.onTriggerChange(h==null?void 0:h.$el)},"aria-haspopup":"menu","aria-expanded":e(t).open.value,"aria-controls":e(o).contentId,"data-state":e(ce)(e(t).open.value),onClick:f[0]||(f[0]=async h=>{n.disabled||h.defaultPrevented||(h.currentTarget.focus(),e(t).open.value||e(t).onOpenChange(!0))}),onPointermove:c,onPointerleave:C,onKeydown:b}),{default:i(()=>[v(_.$slots,"default")]),_:3},16,["id","aria-expanded","aria-controls","data-state"])]),_:3}))}}),Ne=ze;const[se,Ie]=Z("ContextMenuRoot");var Ke=y({inheritAttrs:!1,__name:"ContextMenuRoot",props:{pressOpenDelay:{type:Number,required:!1,default:700},dir:{type:String,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(a,{emit:n}){const t=a,r=n,{dir:o,modal:s,pressOpenDelay:l}=J(t);B();const p=_e(o),c=O(!1),C=O();return Ie({open:c,onOpenChange:b=>{c.value=b},dir:p,modal:s,triggerElement:C,pressOpenDelay:l}),ye(c,b=>{r("update:open",b)}),(b,_)=>(u(),d(e(Se),{open:c.value,"onUpdate:open":_[0]||(_[0]=f=>c.value=f),dir:e(p),modal:e(s)},{default:i(()=>[v(b.$slots,"default")]),_:3},8,["open","dir","modal"]))}}),Ue=Ke,je=y({__name:"ContextMenuContent",props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},sideFlip:{type:Boolean,required:!1},alignOffset:{type:Number,required:!1,default:0},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1,default:!0},collisionBoundary:{type:null,required:!1,default:()=>[]},collisionPadding:{type:[Number,Object],required:!1,default:0},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1,default:"partial"},hideWhenDetached:{type:Boolean,required:!1,default:!1},positionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(a,{emit:n}){const o=$(a,n);B();const s=se(),l=O(!1);return(p,c)=>(u(),d(e(Pe),x(e(o),{side:"right","side-offset":2,align:"start","update-position-strategy":"always",style:{"--reka-context-menu-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-context-menu-content-available-width":"var(--reka-popper-available-width)","--reka-context-menu-content-available-height":"var(--reka-popper-available-height)","--reka-context-menu-trigger-width":"var(--reka-popper-anchor-width)","--reka-context-menu-trigger-height":"var(--reka-popper-anchor-height)"},onCloseAutoFocus:c[0]||(c[0]=C=>{!C.defaultPrevented&&l.value&&C.preventDefault(),l.value=!1}),onInteractOutside:c[1]||(c[1]=C=>{C.detail.originalEvent.button===2&&C.target===e(s).triggerElement.value&&C.preventDefault(),!C.defaultPrevented&&!e(s).modal.value&&(l.value=!0)})}),{default:i(()=>[v(p.$slots,"default")]),_:3},16))}}),Ve=je,We=y({__name:"ContextMenuItem",props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(a,{emit:n}){const t=a,o=ge(n);return B(),(s,l)=>(u(),d(e(Oe),k(D({...t,...e(o)})),{default:i(()=>[v(s.$slots,"default")]),_:3},16))}}),Ge=We,Ye=y({__name:"ContextMenuLabel",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const n=a;return B(),(t,r)=>(u(),d(e(ae),k(D(n)),{default:i(()=>[v(t.$slots,"default")]),_:3},16))}}),Xe=Ye,Qe=y({__name:"ContextMenuPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(a){const n=a;return(t,r)=>(u(),d(e(ke),k(D(n)),{default:i(()=>[v(t.$slots,"default")]),_:3},16))}}),Ze=Qe,He=y({__name:"ContextMenuSeparator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const n=a;return B(),(t,r)=>(u(),d(e(ne),k(D(n)),{default:i(()=>[v(t.$slots,"default")]),_:3},16))}}),Je=He,et=y({__name:"ContextMenuSub",props:{defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1,default:void 0}},emits:["update:open"],setup(a,{emit:n}){const t=a,r=n;B();const o=Q(t,"open",r,{defaultValue:t.defaultOpen,passive:t.open===void 0});return(s,l)=>(u(),d(e(Ee),{open:e(o),"onUpdate:open":l[0]||(l[0]=p=>me(o)?o.value=p:null)},{default:i(()=>[v(s.$slots,"default",{open:e(o)})]),_:3},8,["open"]))}}),tt=et,at=y({__name:"ContextMenuSubContent",props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(a,{emit:n}){const o=$(a,n);return B(),(s,l)=>(u(),d(e(Re),x(e(o),{style:{"--reka-context-menu-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-context-menu-content-available-width":"var(--reka-popper-available-width)","--reka-context-menu-content-available-height":"var(--reka-popper-available-height)","--reka-context-menu-trigger-width":"var(--reka-popper-anchor-width)","--reka-context-menu-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:i(()=>[v(s.$slots,"default")]),_:3},16))}}),nt=at,ot=y({__name:"ContextMenuSubTrigger",props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const n=a;return B(),(t,r)=>(u(),d(e(Ne),k(D(n)),{default:i(()=>[v(t.$slots,"default")]),_:3},16))}}),st=ot;function X(a){return a.pointerType!=="mouse"}var rt=y({inheritAttrs:!1,__name:"ContextMenuTrigger",props:{disabled:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(a){const n=a,{disabled:t}=J(n),{forwardRef:r,currentElement:o}=B(),s=se(),l=O({x:0,y:0}),p=T(()=>({getBoundingClientRect:()=>({width:0,height:0,left:l.value.x,right:l.value.x,top:l.value.y,bottom:l.value.y,...l.value})})),c=O(0);function C(){window.clearTimeout(c.value)}function b(g){l.value={x:g.clientX,y:g.clientY},s.onOpenChange(!0)}async function _(g){t.value||(await I(),g.defaultPrevented||(C(),b(g),g.preventDefault()))}async function f(g){t.value||(await I(),X(g)&&!g.defaultPrevented&&(C(),c.value=window.setTimeout(()=>b(g),s.pressOpenDelay.value)))}async function h(g){t.value||(await I(),X(g)&&!g.defaultPrevented&&C())}return ve(()=>{o.value&&(s.triggerElement.value=o.value)}),(g,q)=>(u(),R(z,null,[w(e(te),{as:"template",reference:p.value},null,8,["reference"]),w(e(j),x({ref:e(r),as:g.as,"as-child":g.asChild,"data-state":e(s).open.value?"open":"closed","data-disabled":e(t)?"":void 0,style:{WebkitTouchCallout:"none",pointerEvents:"auto"}},g.$attrs,{onContextmenu:_,onPointerdown:f,onPointermove:h,onPointercancel:h,onPointerup:h}),{default:i(()=>[v(g.$slots,"default")]),_:3},16,["as","as-child","data-state","data-disabled"])],64))}}),lt=rt,ut=y({__name:"DropdownMenuLabel",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const n=a;return B(),(t,r)=>(u(),d(e(ae),k(D(n)),{default:i(()=>[v(t.$slots,"default")]),_:3},16))}}),it=ut,dt=y({__name:"DropdownMenuSeparator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const n=a;return B(),(t,r)=>(u(),d(e(ne),k(D(n)),{default:i(()=>[v(t.$slots,"default")]),_:3},16))}}),pt=dt;const wt=y({__name:"DropdownMenuLabel",props:{asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(a){const n=a,t=he(n,"class","inset"),r=V(t);return(o,s)=>(u(),d(e(it),x({"data-slot":"dropdown-menu-label","data-inset":o.inset?"":void 0},e(r),{class:e(A)("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",n.class)}),{default:i(()=>[v(o.$slots,"default")]),_:3},16,["data-inset","class"]))}}),qt=y({__name:"DropdownMenuSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(a){const n=a,t=T(()=>{const{class:r,...o}=n;return o});return(r,o)=>(u(),d(e(pt),x({"data-slot":"dropdown-menu-separator"},t.value,{class:e(A)("bg-border -mx-1 my-1 h-px",n.class)}),null,16,["class"]))}}),ct=y({__name:"ContextMenu",props:{pressOpenDelay:{},dir:{},modal:{type:Boolean}},emits:["update:open"],setup(a,{emit:n}){const o=$(a,n);return(s,l)=>(u(),d(e(Ue),x({"data-slot":"context-menu"},e(o)),{default:i(()=>[v(s.$slots,"default")]),_:3},16))}}),ft=y({__name:"ContextMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideFlip:{type:Boolean},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},hideShiftedArrow:{type:Boolean},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},class:{},restoreFocus:{type:Boolean,default:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(a,{emit:n}){const t=a,r=n,o=T(()=>{const{class:l,restoreFocus:p,...c}=t;return c}),s=$(o,r);return(l,p)=>(u(),d(e(Ze),null,{default:i(()=>[w(e(Ve),x({"data-slot":"context-menu-content"},e(s),{onCloseAutoFocus:p[0]||(p[0]=c=>!t.restoreFocus&&c.preventDefault()),class:e(A)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-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 z-50 max-h-(--reka-context-menu-content-available-height) min-w-[8rem] overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",t.class)}),{default:i(()=>[v(l.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_t=y({__name:"ContextMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean},variant:{default:"default"}},emits:["select"],setup(a,{emit:n}){const t=a,r=n,o=T(()=>{const{class:l,...p}=t;return p}),s=$(o,r);return(l,p)=>(u(),d(e(Ge),x({"data-slot":"context-menu-item","data-inset":l.inset?"":void 0,"data-variant":l.variant},e(s),{class:e(A)("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive-foreground data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/40 data-[variant=destructive]:focus:text-destructive-foreground data-[variant=destructive]:*:[svg]:!text-destructive-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 cursor-pointer",t.class)}),{default:i(()=>[v(l.$slots,"default")]),_:3},16,["data-inset","data-variant","class"]))}}),yt=y({__name:"ContextMenuLabel",props:{asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(a){const n=a,t=T(()=>{const{class:r,...o}=n;return o});return(r,o)=>(u(),d(e(Xe),x({"data-slot":"context-menu-label","data-inset":r.inset?"":void 0},t.value,{class:e(A)("text-foreground px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",n.class)}),{default:i(()=>[v(r.$slots,"default")]),_:3},16,["data-inset","class"]))}}),gt=y({__name:"ContextMenuSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(a){const n=a,t=T(()=>{const{class:r,...o}=n;return o});return(r,o)=>(u(),d(e(Je),x({"data-slot":"context-menu-separator"},t.value,{class:e(A)("bg-border -mx-1 my-1 h-px",n.class)}),null,16,["class"]))}}),mt=y({__name:"ContextMenuSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean}},emits:["update:open"],setup(a,{emit:n}){const o=$(a,n);return(s,l)=>(u(),d(e(tt),x({"data-slot":"context-menu-sub"},e(o)),{default:i(()=>[v(s.$slots,"default")]),_:3},16))}}),vt=y({__name:"ContextMenuSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},sideFlip:{type:Boolean},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},hideShiftedArrow:{type:Boolean},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(a,{emit:n}){const t=a,r=n,o=T(()=>{const{class:l,...p}=t;return p}),s=$(o,r);return(l,p)=>(u(),d(e(nt),x({"data-slot":"context-menu-sub-content"},e(s),{class:e(A)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-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 z-50 min-w-[8rem] origin-(--reka-context-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",t.class)}),{default:i(()=>[v(l.$slots,"default")]),_:3},16,["class"]))}}),ht=y({__name:"ContextMenuSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(a){const n=a,t=T(()=>{const{class:o,...s}=n;return s}),r=V(t);return(o,s)=>(u(),d(e(st),x({"data-slot":"context-menu-sub-trigger","data-inset":o.inset?"":void 0},e(r),{class:e(A)("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",n.class)}),{default:i(()=>[v(o.$slots,"default"),w(e(Ce),{class:"ml-auto"})]),_:3},16,["data-inset","class"]))}}),Ct=y({__name:"ContextMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(a){const t=V(a);return(r,o)=>(u(),d(e(lt),x({"data-slot":"context-menu-trigger"},e(t)),{default:i(()=>[v(r.$slots,"default")]),_:3},16))}});var P=(a=>(a.ACTION="action",a.LABEL="label",a.SEPARATOR="separator",a.SUBMENU="submenu",a))(P||{});const xt={key:1,class:"text-xs text-muted-foreground ml-2"},St=y({__name:"BaseContextMenu",props:{contextMenuItems:{}},emits:["onClearContextMenu"],setup(a,{emit:n}){const t=n,r=s=>typeof s>"u"?!0:!!s,o=s=>{s||t("onClearContextMenu")};return(s,l)=>{const p=Ct,c=yt,C=xe,b=De,_=_t,f=gt,h=ht,g=vt,q=mt,S=ft,K=ct;return u(),d(K,{"onUpdate:open":o},{default:i(()=>[w(p,{"as-child":""},{default:i(()=>[v(s.$slots,"default")]),_:3}),w(S,{class:"min-w-56",onCloseAutoFocus:l[0]||(l[0]=U(()=>{},["prevent"]))},{default:i(()=>[(u(!0),R(z,null,Y(s.contextMenuItems,(m,N)=>(u(),R(z,{key:N},[m.type===e(P).LABEL&&r(m.condition)?(u(),d(c,{key:0,class:"font-medium text-xs text-muted-foreground"},{default:i(()=>[L(E(m.title),1)]),_:2},1024)):m.type===e(P).ACTION&&r(m.condition)?(u(),d(_,{key:1,onSelect:m.select,disabled:m.disabled},{default:i(()=>[m.icon?(u(),d(C,{key:0,name:m.icon,class:"size-4! min-w-4 text-muted-foreground"},null,8,["name"])):F("",!0),L(" "+E(m.title)+" ",1),m.shortcut?(u(),d(b,{key:1},{default:i(()=>[L(E(m.shortcut),1)]),_:2},1024)):F("",!0)]),_:2},1032,["onSelect","disabled"])):m.type===e(P).SEPARATOR&&r(m.condition)?(u(),d(f,{key:2})):m.type===e(P).SUBMENU&&r(m.condition)?(u(),d(q,{key:3,disabled:!m.items||m.items.length===0},{default:i(()=>[w(h,null,{default:i(()=>[m.icon?(u(),d(C,{key:0,name:m.icon,class:"size-4! min-w-4 text-muted-foreground mr-2"},null,8,["name"])):F("",!0),L(" "+E(m.title)+" ",1),m.desc?(u(),R("span",xt,E(m.desc),1)):F("",!0)]),_:2},1024),w(g,{class:be("min-w-52")},{default:i(()=>[(u(!0),R(z,null,Y(m.items,(M,re)=>(u(),R(z,{key:re},[M.type===e(P).ACTION&&r(M.condition)?(u(),d(_,{key:0,onSelect:M.select},{default:i(()=>[M.icon?(u(),d(C,{key:0,name:M.icon,class:"size-4! min-w-4 text-muted-foreground"},null,8,["name"])):F("",!0),L(" "+E(M.title),1)]),_:2},1032,["onSelect"])):M.type===e(P).LABEL&&r(M.condition)?(u(),d(c,{key:1,class:"font-medium text-xs text-muted-foreground"},{default:i(()=>[L(E(M.title),1)]),_:2},1024)):M.type===e(P).SEPARATOR&&r(M.condition)?(u(),d(f,{key:2})):F("",!0)],64))),128))]),_:2},1024)]),_:2},1032,["disabled"])):F("",!0)],64))),128))]),_:1})]),_:3})}}});export{P as C,wt as _,qt as a,St as b,ct as c,Ct as d,ft as e,yt as f,_t as g,gt as h,mt as i,ht as j,vt as k};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as d}from"./63YtjFEq.js";import{_ as f}from"./xOD4Ev56.js";import{d as u,e as p,f as t,m as n,w as a,z as s,g as i,o as g,A as _}from"./BcsKoAPU.js";import{_ as r}from"./AymhMj9v.js";const x={class:"p-2 flex flex-col items-center justify-center h-full gap-2"},c={class:"text-muted-foreground mt-4"},v={class:"flex items-center pt-3 text-muted-foreground gap-0.5 text-sm"},b={class:"flex items-center pt-1 text-muted-foreground gap-0.5 text-sm"},B={class:"flex items-center pt-1 text-muted-foreground gap-0.5 text-sm"},C={class:"flex items-center pt-1 text-muted-foreground gap-0.5 text-sm"},V=u({__name:"index",setup(k){return(w,e)=>{const l=f,m=d,o=_;return g(),p("div",x,[t(m,{class:"rounded-2xl size-40"},{default:a(()=>[t(l,{src:"/logo.png",alt:"@unovue"})]),_:1}),n("div",c,[e[0]||(e[0]=s(" Click on a database table from the sidebar to begin ")),t(o,{name:"hugeicons:artificial-intelligence-08",class:"size-4 min-w-4"})]),n("div",v,[t(o,{name:"hugeicons:settings-01"}),e[2]||(e[2]=s(" Open setting ")),t(i(r),{class:"pl-2"},{default:a(()=>e[1]||(e[1]=[s("(⌘,)")])),_:1})]),n("div",b,[t(o,{name:"hugeicons:command"}),e[4]||(e[4]=s(" Command Palette ")),t(i(r),{class:"pl-2"},{default:a(()=>e[3]||(e[3]=[s("(⌘K or ⌘P)")])),_:1})]),n("div",B,[t(o,{name:"hugeicons:sidebar-left"}),e[6]||(e[6]=s(" Toggle left sidebar ")),t(i(r),{class:"pl-2"},{default:a(()=>e[5]||(e[5]=[s("(⌘B)")])),_:1})]),n("div",C,[t(o,{name:"hugeicons:sidebar-right"}),e[8]||(e[8]=s(" Toggle right sidebar ")),t(i(r),{class:"pl-2"},{default:a(()=>e[7]||(e[7]=[s("(⇧⌘B)")])),_:1})])])}}});export{V as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{H as Qe,d as U,r as L,au as re,c as T,e as _,m as e,l as N,f as S,a0 as ce,w as E,z as M,t as a,g as t,o as f,A as me,n as oe,df as De,bo as Fe,i as le,aZ as Se,dg as Xe,dh as ke,cq as we,bX as Ie,G as ne,K as fe,a3 as he,k as W,q as Te,J as te,aM as se,bm as _e,bq as Ce,bE as Le,bF as Re,F as D,s as F,bG as Ae,am as He,a6 as ue,a8 as We,a2 as Ye}from"./BcsKoAPU.js";import{g as Ve}from"./CHEpbbGc.js";import{t as K,i as Je,a as Ze,b as et,m as tt,k as st,g as ze,h as je,c as nt,d as Ee,e as ot,f as at,j as it,n as rt,l as lt,S as dt,o as ut,p as ct,_ as Ke,q as mt,r as Me,s as pt,C as ft,u as gt,v as vt,E as xe,w as bt,x as _t,y as ht,z as yt,A as xt,B as $t}from"./Cq-MDPLE.js";import{f as St}from"./-lZvfnzr.js";import{_ as ye}from"./CS9hqyP3.js";import{b as ge,a as Ue}from"./BVmBXPoG.js";import{u as kt}from"./D4pAW_0T.js";import{_ as wt}from"./C_7gtl40.js";import{_ as Pe}from"./BpvGVfME.js";import{_ as It,u as Tt}from"./xp7rFxcm.js";import"./dWu56FdP.js";import"./CS5akSNT.js";var Ne={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},Ct=function(){function n(i){var c=this._condVal=Ee(i)?new RegExp(i):ot(i)?i:null;if(c==null){var s="";K(s)}}return n.prototype.evaluate=function(i){var c=typeof i;return Ee(c)?this._condVal.test(i):at(c)?this._condVal.test(i+""):!1},n}(),Lt=function(){function n(){}return n.prototype.evaluate=function(){return this.value},n}(),Rt=function(){function n(){}return n.prototype.evaluate=function(){for(var i=this.children,c=0;c<i.length;c++)if(!i[c].evaluate())return!1;return!0},n}(),At=function(){function n(){}return n.prototype.evaluate=function(){for(var i=this.children,c=0;c<i.length;c++)if(i[c].evaluate())return!0;return!1},n}(),Pt=function(){function n(){}return n.prototype.evaluate=function(){return!this.child.evaluate()},n}(),Bt=function(){function n(){}return n.prototype.evaluate=function(){for(var i=!!this.valueParser,c=this.getValue,s=c(this.valueGetterParam),o=i?this.valueParser(s):null,h=0;h<this.subCondList.length;h++)if(!this.subCondList[h].evaluate(i?o:s))return!1;return!0},n}();function Be(n,i){if(n===!0||n===!1){var c=new Lt;return c.value=n,c}var s="";return Ge(n)||K(s),n.and?Oe("and",n,i):n.or?Oe("or",n,i):n.not?Et(n,i):Mt(n,i)}function Oe(n,i,c){var s=i[n],o="";et(s)||K(o),s.length||K(o);var h=n==="and"?new Rt:new At;return h.children=tt(s,function(p){return Be(p,c)}),h.children.length||K(o),h}function Et(n,i){var c=n.not,s="";Ge(c)||K(s);var o=new Pt;return o.child=Be(c,i),o.child||K(s),o}function Mt(n,i){for(var c="",s=i.prepareGetValue(n),o=[],h=st(n),p=n.parser,$=p?ze(p):null,b=0;b<h.length;b++){var u=h[b];if(!(u==="parser"||i.valueGetterAttrMap.get(u))){var k=je(Ne,u)?Ne[u]:u,w=n[u],y=$?$(w):w,m=nt(k,y)||k==="reg"&&new Ct(y);m||K(c),o.push(m)}}o.length||K(c);var v=new Bt;return v.valueGetterParam=s,v.valueParser=$,v.getValue=i.getValue,v.subCondList=o,v}function Ge(n){return Je(n)&&!Ze(n)}var Nt=function(){function n(i,c){this._cond=Be(i,c)}return n.prototype.evaluate=function(){return this._cond.evaluate()},n}();function Ot(n,i){return new Nt(n,i)}var Dt={type:"echarts:filter",transform:function(n){for(var i=n.upstream,c,s=Ot(n.config,{valueGetterAttrMap:it({dimension:!0}),prepareGetValue:function($){var b="",u=$.dimension;je($,"dimension")||K(b);var k=i.getDimensionInfo(u);return k||K(b),{dimIdx:k.index}},getValue:function($){return i.retrieveValueFromItem(c,$.dimIdx)}}),o=[],h=0,p=i.count();h<p;h++)c=i.getRawDataItem(h),s.evaluate()&&o.push(c);return{data:o}}},Ft={type:"echarts:sort",transform:function(n){var i=n.upstream,c=n.config,s="",o=rt(c);o.length||K(s);var h=[];lt(o,function(k){var w=k.dimension,y=k.order,m=k.parser,v=k.incomparable;if(w==null&&K(s),y!=="asc"&&y!=="desc"&&K(s),v&&v!=="min"&&v!=="max"){var l="";K(l)}if(y!=="asc"&&y!=="desc"){var r="";K(r)}var d=i.getDimensionInfo(w);d||K(s);var R=m?ze(m):null;m&&!R&&K(s),h.push({dimIdx:d.index,parser:R,comparator:new dt(y,v)})});var p=i.sourceFormat;p!==ut&&p!==ct&&K(s);for(var $=[],b=0,u=i.count();b<u;b++)$.push(i.getRawDataItem(b));return $.sort(function(k,w){for(var y=0;y<h.length;y++){var m=h[y],v=i.retrieveValueFromItem(k,m.dimIdx),l=i.retrieveValueFromItem(w,m.dimIdx);m.parser&&(v=m.parser(v),l=m.parser(l));var r=m.comparator.evaluate(v,l);if(r!==0)return r}return 0}),{data:$}}};function Ht(n){n.registerTransform(Dt),n.registerTransform(Ft)}var Vt=function(n){Ke(i,n);function i(){var c=n!==null&&n.apply(this,arguments)||this;return c.type="dataset",c}return i.prototype.init=function(c,s,o){n.prototype.init.call(this,c,s,o),this._sourceManager=new mt(this),Me(this)},i.prototype.mergeOption=function(c,s){n.prototype.mergeOption.call(this,c,s),Me(this)},i.prototype.optionUpdated=function(){this._sourceManager.dirty()},i.prototype.getSourceManager=function(){return this._sourceManager},i.type="dataset",i.defaultOption={seriesLayoutBy:pt},i}(ft),zt=function(n){Ke(i,n);function i(){var c=n!==null&&n.apply(this,arguments)||this;return c.type="dataset",c}return i.type="dataset",i}(gt);function jt(n){n.registerComponentModel(Vt),n.registerComponentView(zt)}const de=n=>St(n??0),ie=n=>n==null?"0.00/s":`${n.toFixed(2)}/s`,$e=n=>n==null?"0%":`${n.toFixed(2)}%`,ve=n=>{if(!n)return"-";const i=new Date(n);return Number.isNaN(i.getTime())?n:i.toLocaleString()},qe=n=>{if(n==null)return"-";if(n<60)return`${n}s`;const i=Math.floor(n/60),c=n%60;if(i<60)return`${i}m ${c}s`;const s=Math.floor(i/60),o=i%60;return`${s}h ${o}m`},Kt=n=>n==null||n<=0?"0 B":Qe(n).replace(" bytes"," B"),Ut=n=>{if(!n)return"-";const i=n.replace(/\s+/g," ").trim();return i?i.length>320?`${i.slice(0,320)}...`:i:"-"},Gt=n=>(n||"").toLowerCase().includes("idle in transaction"),qt={class:"space-y-4"},Qt={class:"flex items-center justify-between"},Xt={key:0,class:"border border-red-300 bg-red-50 text-red-700 rounded-lg p-3 text-sm"},Wt={class:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-2.5"},Yt={class:"h-full border rounded-lg p-2.5 space-y-2"},Jt={class:"flex items-center gap-1"},Zt={class:"text-sm font-semibold leading-none tabular-nums"},es={class:"grid grid-cols-2 gap-x-3 gap-y-1 text-[11px]"},ts={class:"text-muted-foreground"},ss={class:"tabular-nums text-foreground"},ns={class:"text-muted-foreground"},os={class:"tabular-nums text-foreground"},as={class:"text-muted-foreground"},is={class:"tabular-nums text-foreground"},rs={class:"text-muted-foreground"},ls={class:"tabular-nums text-foreground"},ds={class:"h-full border rounded-lg p-2.5 space-y-2"},us={class:"flex items-center gap-1"},cs={class:"text-sm font-semibold leading-none tabular-nums"},ms={class:"grid grid-cols-2 gap-x-3 gap-y-1 text-[11px]"},ps={class:"text-muted-foreground"},fs={class:"tabular-nums text-foreground"},gs={class:"text-muted-foreground"},vs={class:"tabular-nums text-foreground"},bs={class:"text-muted-foreground"},_s={class:"tabular-nums text-foreground"},hs={class:"text-muted-foreground"},ys={class:"tabular-nums text-foreground"},xs={class:"h-full border rounded-lg p-2.5 space-y-2"},$s={class:"flex items-center gap-1"},Ss={class:"text-sm font-semibold leading-none tabular-nums"},ks={class:"grid grid-cols-2 gap-x-3 gap-y-1 text-[11px]"},ws={class:"text-muted-foreground"},Is={class:"tabular-nums text-foreground"},Ts={class:"text-muted-foreground"},Cs={class:"tabular-nums text-foreground"},Ls={class:"text-muted-foreground"},Rs={class:"tabular-nums text-foreground"},As={class:"text-muted-foreground"},Ps={class:"tabular-nums text-foreground"},Bs={class:"h-full border rounded-lg p-2.5 space-y-2"},Es={class:"flex items-center gap-1"},Ms={class:"text-sm font-semibold leading-none tabular-nums"},Ns={class:"grid grid-cols-2 gap-x-3 gap-y-1 text-[11px]"},Os={class:"text-muted-foreground"},Ds={class:"tabular-nums text-foreground"},Fs={class:"text-muted-foreground"},Hs={class:"tabular-nums text-foreground"},Vs={class:"text-muted-foreground"},zs={class:"tabular-nums text-foreground"},js={class:"text-muted-foreground"},Ks={class:"tabular-nums text-foreground"},Us={class:"grid grid-cols-1 xl:grid-cols-2 gap-3"},Gs={class:"border rounded-lg p-2.5"},qs={class:"insights-chart-container"},Qs={class:"border rounded-lg p-2.5"},Xs={class:"insights-chart-container"},Ws={class:"border rounded-lg p-2.5"},Ys={class:"insights-chart-container"},Js=U({__name:"InstanceInsightsActivitySection",props:{dashboard:{},isLoading:{type:Boolean},isActionLoading:{type:Boolean},onRefresh:{type:Function}},setup(n){vt([bt,_t,ht,jt,Ht,yt,xt,$t]);const i=n,c=L({}),s=L({}),o=L({}),h=(l,r)=>{r!=null&&r.selected&&(l.value={...r.selected})},p=l=>h(c,l),$=l=>h(s,l),b=l=>h(o,l),u=L([]);re(()=>i.dashboard,l=>{if(!(l!=null&&l.capturedAt))return;const r=new Date(l.capturedAt).toLocaleTimeString(),d={capturedAt:l.capturedAt,label:r,sessionsTotal:l.sessions.total,sessionsActive:l.sessions.active,sessionsIdle:l.sessions.idle,tps:l.transactions.tps,commits:l.transactions.commitsPerSec,rollbacks:l.transactions.rollbacksPerSec,reads:l.blockIO.readsPerSec,hits:l.blockIO.hitsPerSec,hitRatio:l.blockIO.bufferHitRatio},R=u.value.findIndex(V=>V.capturedAt===d.capturedAt);if(R>=0){u.value[R]=d;return}u.value.push(d),u.value.length>80&&(u.value=u.value.slice(-80))},{immediate:!0,deep:!0});const k=T(()=>u.value.map((l,r)=>({...l,idx:r}))),w=l=>Object.keys(l).length?l:void 0,y=T(()=>({tooltip:{trigger:"axis"},legend:{top:0,selected:w(c.value)},dataset:[{id:"sessions_raw",source:k.value},{id:"sessions_filtered",fromDatasetId:"sessions_raw",transform:{type:"filter",config:{dimension:"idx",gte:0}}}],grid:{left:45,right:20,top:34,bottom:24},xAxis:{type:"category",boundaryGap:!1},yAxis:{type:"value"},series:[{name:"Total",type:"line",smooth:!0,datasetId:"sessions_filtered",encode:{x:"label",y:"sessionsTotal"}},{name:"Active",type:"line",smooth:!0,datasetId:"sessions_filtered",encode:{x:"label",y:"sessionsActive"}},{name:"Idle",type:"line",smooth:!0,datasetId:"sessions_filtered",encode:{x:"label",y:"sessionsIdle"}}]})),m=T(()=>({tooltip:{trigger:"axis"},legend:{top:0,selected:w(s.value)},dataset:[{id:"transactions_dataset",source:k.value}],grid:{left:45,right:20,top:34,bottom:24},xAxis:{type:"category",boundaryGap:!0},yAxis:[{type:"value",name:"TPS"},{type:"value",name:"Commit/Rollback"}],series:[{name:"TPS",type:"line",smooth:!0,yAxisIndex:0,datasetId:"transactions_dataset",encode:{x:"label",y:"tps"}},{name:"Commits/s",type:"bar",yAxisIndex:1,datasetId:"transactions_dataset",encode:{x:"label",y:"commits"}},{name:"Rollbacks/s",type:"bar",yAxisIndex:1,datasetId:"transactions_dataset",encode:{x:"label",y:"rollbacks"}}]})),v=T(()=>({tooltip:{trigger:"axis"},legend:{top:0,selected:w(o.value)},dataset:[{id:"block_io_dataset",source:k.value}],grid:{left:45,right:20,top:34,bottom:24},xAxis:{type:"category",boundaryGap:!0},yAxis:[{type:"value",name:"Blocks/s"},{type:"value",name:"Hit %",min:0,max:100}],series:[{name:"Reads/s",type:"bar",yAxisIndex:0,datasetId:"block_io_dataset",encode:{x:"label",y:"reads"}},{name:"Hits/s",type:"bar",yAxisIndex:0,datasetId:"block_io_dataset",encode:{x:"label",y:"hits"}},{name:"Buffer Hit Ratio",type:"line",smooth:!0,yAxisIndex:1,datasetId:"block_io_dataset",encode:{x:"label",y:"hitRatio"}}]}));return(l,r)=>{var V,x,g,C,O,H,j,z,q,Y,J,B,A,G,Z,ae,pe,I,P,X,Q;const d=me,R=ce;return f(),_("div",qt,[e("div",Qt,[r[2]||(r[2]=e("div",null,[e("h3",{class:"text-sm font-medium"},"Activity Dashboard"),e("p",{class:"text-xs text-muted-foreground"}," Sessions, TPS, tuples and block I/O ")],-1)),S(R,{variant:"outline",size:"xs",disabled:l.isLoading||l.isActionLoading,class:"font-normal",onClick:r[0]||(r[0]=be=>l.onRefresh())},{default:E(()=>[S(d,{name:"hugeicons:redo",class:oe(["size-4",l.isLoading&&"animate-spin"])},null,8,["class"]),r[1]||(r[1]=M(" Refresh Activity "))]),_:1},8,["disabled"])]),(V=l.dashboard)!=null&&V.sessions.exceedsThreshold?(f(),_("div",Xt,[r[3]||(r[3]=M(" Total connections are at ")),e("strong",null,a(t($e)(l.dashboard.sessions.usagePercent)),1),r[4]||(r[4]=M(" of ")),r[5]||(r[5]=e("strong",null,"max_connections",-1)),r[6]||(r[6]=M(". Investigate connection pool usage. "))])):N("",!0),e("div",Wt,[e("div",Yt,[e("div",Jt,[r[7]||(r[7]=e("p",{class:"text-xs uppercase text-muted-foreground"},"Sessions:",-1)),e("p",Zt,a(t(de)((x=l.dashboard)==null?void 0:x.sessions.total)),1)]),e("div",es,[e("p",ts,[r[8]||(r[8]=e("span",null,"Active: ",-1)),e("span",ss,a(t(de)((g=l.dashboard)==null?void 0:g.sessions.active)),1)]),e("p",ns,[r[9]||(r[9]=e("span",null,"Idle: ",-1)),e("span",os,a(t(de)((C=l.dashboard)==null?void 0:C.sessions.idle)),1)]),e("p",as,[r[10]||(r[10]=e("span",null,"Max: ",-1)),e("span",is,a(t(de)((O=l.dashboard)==null?void 0:O.sessions.maxConnections)),1)]),e("p",rs,[r[11]||(r[11]=e("span",null,"Usage: ",-1)),e("span",ls,a(t($e)((H=l.dashboard)==null?void 0:H.sessions.usagePercent)),1)])])]),e("div",ds,[e("div",us,[r[12]||(r[12]=e("p",{class:"text-xs uppercase text-muted-foreground"},"TPS:",-1)),e("p",cs,a(t(ie)((j=l.dashboard)==null?void 0:j.transactions.tps)),1)]),e("div",ms,[e("p",ps,[r[13]||(r[13]=e("span",null,"Commits/sec: ",-1)),e("span",fs,a(t(ie)((z=l.dashboard)==null?void 0:z.transactions.commitsPerSec)),1)]),e("p",gs,[r[14]||(r[14]=e("span",null,"Rollbacks/sec: ",-1)),e("span",vs,a(t(ie)((q=l.dashboard)==null?void 0:q.transactions.rollbacksPerSec)),1)]),e("p",bs,[r[15]||(r[15]=e("span",null,"Total Commits: ",-1)),e("span",_s,a(t(de)((Y=l.dashboard)==null?void 0:Y.transactions.totalCommits)),1)]),e("p",hs,[r[16]||(r[16]=e("span",null,"Total Rollbacks: ",-1)),e("span",ys,a(t(de)((J=l.dashboard)==null?void 0:J.transactions.totalRollbacks)),1)])])]),e("div",xs,[e("div",$s,[r[17]||(r[17]=e("p",{class:"text-xs uppercase text-muted-foreground"},"Tuples:",-1)),e("p",Ss,a(t(ie)((B=l.dashboard)==null?void 0:B.tuples.insertsPerSec)),1)]),e("div",ks,[e("p",ws,[r[18]||(r[18]=e("span",null,"Updates: ",-1)),e("span",Is,a(t(ie)((A=l.dashboard)==null?void 0:A.tuples.updatesPerSec)),1)]),e("p",Ts,[r[19]||(r[19]=e("span",null,"Deletes: ",-1)),e("span",Cs,a(t(ie)((G=l.dashboard)==null?void 0:G.tuples.deletesPerSec)),1)]),e("p",Ls,[r[20]||(r[20]=e("span",null,"Fetched: ",-1)),e("span",Rs,a(t(ie)((Z=l.dashboard)==null?void 0:Z.tuples.fetchedPerSec)),1)]),e("p",As,[r[21]||(r[21]=e("span",null,"Returned: ",-1)),e("span",Ps,a(t(ie)((ae=l.dashboard)==null?void 0:ae.tuples.returnedPerSec)),1)])])]),e("div",Bs,[e("div",Es,[r[22]||(r[22]=e("p",{class:"text-xs uppercase text-muted-foreground"},"Block I/O:",-1)),e("p",Ms,a(t($e)((pe=l.dashboard)==null?void 0:pe.blockIO.bufferHitRatio)),1)]),e("div",Ns,[e("p",Os,[r[23]||(r[23]=e("span",null,"Reads/sec: ",-1)),e("span",Ds,a(t(ie)((I=l.dashboard)==null?void 0:I.blockIO.readsPerSec)),1)]),e("p",Fs,[r[24]||(r[24]=e("span",null,"Hits/sec: ",-1)),e("span",Hs,a(t(ie)((P=l.dashboard)==null?void 0:P.blockIO.hitsPerSec)),1)]),e("p",Vs,[r[25]||(r[25]=e("span",null,"Total Reads: ",-1)),e("span",zs,a(t(de)((X=l.dashboard)==null?void 0:X.blockIO.totalReads)),1)]),e("p",js,[r[26]||(r[26]=e("span",null,"Total Hits: ",-1)),e("span",Ks,a(t(de)((Q=l.dashboard)==null?void 0:Q.blockIO.totalHits)),1)])])])]),e("div",Us,[e("div",Gs,[r[27]||(r[27]=e("p",{class:"text-sm font-medium mb-1.5"},"Sessions Timeline",-1)),e("div",qs,[S(t(xe),{option:t(y),autoresize:"",class:"insights-chart",onLegendselectchanged:p},null,8,["option"])])]),e("div",Qs,[r[28]||(r[28]=e("p",{class:"text-sm font-medium mb-1.5"},"Transactions Timeline",-1)),e("div",Xs,[S(t(xe),{option:t(m),autoresize:"",class:"insights-chart",onLegendselectchanged:$},null,8,["option"])])])]),e("div",Ws,[r[29]||(r[29]=e("p",{class:"text-sm font-medium mb-1.5"},"Block I/O Timeline",-1)),e("div",Ys,[S(t(xe),{option:t(v),autoresize:"",class:"insights-chart",onLegendselectchanged:b},null,8,["option"])])])])}}}),Zs=De(Js,[["__scopeId","data-v-ba36a884"]]),en={class:"space-y-4 h-full flex flex-col overflow-auto"},tn={class:"flex items-center justify-between gap-2 flex-wrap"},sn={class:"h-full"},nn={class:"flex flex-col sm:flex-row sm:items-center gap-2 mb-2"},on={class:"relative flex-1"},an=U({__name:"InstanceInsightsConfigurationSection",props:{configuration:{},search:{},isLoading:{type:Boolean},isActionLoading:{type:Boolean},onRefresh:{type:Function}},emits:["update:search"],setup(n,{emit:i}){const c=n,s=i,o=T({get:()=>c.search,set:b=>s("update:search",b)}),h=T(()=>{var b;return((b=c.configuration)==null?void 0:b.rows)||[]}),p=T(()=>h.value.map(b=>({name:b.name,category:b.category,value:b.value,unit:b.unit||"-",requires_restart:b.pendingRestart?"yes":"no",description:b.description}))),$=T(()=>ge(p.value));return(b,u)=>{const k=me,w=ce,y=Fe,m=ye;return f(),_("div",en,[e("div",tn,[u[3]||(u[3]=e("div",null,[e("h3",{class:"text-sm font-medium"},"Configuration"),e("p",{class:"text-xs text-muted-foreground"},"Searchable pg_settings")],-1)),S(w,{variant:"outline",size:"xs",disabled:b.isLoading||b.isActionLoading,class:"font-normal",onClick:u[0]||(u[0]=v=>b.onRefresh())},{default:E(()=>[S(k,{name:"hugeicons:redo",class:oe(["size-4",b.isLoading&&"animate-spin"])},null,8,["class"]),u[2]||(u[2]=M(" Refresh Configuration "))]),_:1},8,["disabled"])]),e("div",sn,[e("div",nn,[e("div",on,[S(k,{name:"hugeicons:search-01",class:"size-4 absolute left-2.5 top-1/2 -translate-y-1/2 text-muted-foreground"}),S(y,{type:"text",placeholder:"Search setting name, category, or description...",class:"h-8 w-full pl-8 pr-3",modelValue:t(o),"onUpdate:modelValue":u[1]||(u[1]=v=>le(o)?o.value=v:null)},null,8,["modelValue"])])]),S(m,{columns:t($),data:t(p),class:"h-full border rounded-md",columnKeyBy:"field"},null,8,["columns","data"])])])}}}),rn={class:"space-y-4"},ln={class:"flex items-center justify-between"},dn={key:0,class:"border border-orange-300 bg-orange-50 text-orange-700 rounded-lg p-3 text-sm"},un={class:"space-y-1.5"},cn={class:"space-y-1.5"},mn={key:1,class:"border rounded-lg p-2.5"},pn={class:"flex items-center justify-between gap-3 flex-wrap"},fn={class:"text-sm font-medium"},gn={class:"flex items-center gap-2"},vn=300,bn=120,_n=44,hn=36,yn=U({__name:"InstanceInsightsReplicationSection",props:{replication:{},isLoading:{type:Boolean},isActionLoading:{type:Boolean},onRefresh:{type:Function},onToggleSlotStatus:{type:Function},onDropSlot:{type:Function}},setup(n){const i=n,c=T(()=>{var x;return((x=i.replication)==null?void 0:x.replicationStats)||[]}),s=T(()=>{var x;return((x=i.replication)==null?void 0:x.replicationSlots)||[]}),o=L([]),h=x=>{o.value=x},p=T(()=>c.value.map(x=>({pid:x.pid,client_addr:x.clientAddr||"-",application:x.applicationName||"-",state:x.state||"-",sync_state:x.syncState||"-",reply_time:ve(x.replyTime),write_lag:x.writeLag||"-",flush_lag:x.flushLag||"-",replay_lag:x.replayLag||"-"}))),$=["pid","client_addr","application","state","sync_state","reply_time","write_lag","flush_lag","replay_lag"],b=T(()=>p.value.length>0?ge(p.value):Ue($)),u=T(()=>s.value.map(x=>({slot_name:x.slotName,slot_type:x.slotType,status:x.active?"on":"off",active_pid:x.activePid??"-",restart_lsn:x.restartLsn||"-",retained_wal:Kt(x.retainedBytes),temporary:x.temporary?"yes":"no"}))),k=T(()=>ge(u.value)),w=x=>x<=0?bn:Math.min(vn,_n+x*hn),y=T(()=>`${w(p.value.length)}px`),m=T(()=>`${w(u.value.length)}px`),v=T(()=>{var g;const x=String(((g=o.value[0])==null?void 0:g.slot_name)||"");return x&&s.value.find(C=>C.slotName===x)||null}),l=T(()=>{var x;return(x=v.value)!=null&&x.active?"off":"on"}),r=T(()=>l.value==="off"?"Turn Off Slot":"Turn On Slot"),d=x=>window.confirm(x),R=async()=>{v.value&&d(`Drop replication slot "${v.value.slotName}"? This action cannot be undone.`)&&await i.onDropSlot(v.value.slotName)},V=async()=>{v.value&&d(`Switch replication slot "${v.value.slotName}" to ${l.value.toUpperCase()} status?`)&&await i.onToggleSlotStatus({slotName:v.value.slotName,desiredStatus:l.value,activePid:v.value.activePid,slotType:v.value.slotType})};return(x,g)=>{var j;const C=me,O=ce,H=ye;return f(),_("div",rn,[e("div",ln,[g[2]||(g[2]=e("div",null,[e("h3",{class:"text-sm font-medium"},"Replication"),e("p",{class:"text-xs text-muted-foreground"},"Replication stats and slots")],-1)),S(O,{variant:"outline",size:"xs",disabled:x.isLoading||x.isActionLoading,class:"font-normal",onClick:g[0]||(g[0]=z=>x.onRefresh())},{default:E(()=>[S(C,{name:"hugeicons:redo",class:oe(["size-4",x.isLoading&&"animate-spin"])},null,8,["class"]),g[1]||(g[1]=M(" Refresh Replication "))]),_:1},8,["disabled"])]),(j=x.replication)!=null&&j.staleSlotWarning?(f(),_("div",dn,a(x.replication.staleSlotWarning),1)):N("",!0),e("div",un,[g[3]||(g[3]=e("p",{class:"text-sm"},"Replication Stats",-1)),e("div",{class:"max-h-[300px]",style:Se({height:t(y)})},[S(H,{columns:t(b),data:t(p),class:"h-full border rounded-md",columnKeyBy:"field"},null,8,["columns","data"])],4)]),e("div",cn,[g[4]||(g[4]=e("h4",{class:"text-sm font-normal"},"Replication Slots",-1)),e("div",{class:"max-h-[300px]",style:Se({height:t(m)})},[S(H,{columns:t(k),data:t(u),selectedRows:t(o),class:"h-full border rounded-md",columnKeyBy:"field",onOnSelectedRows:h},null,8,["columns","data","selectedRows"])],4)]),t(v)?(f(),_("div",mn,[e("div",pn,[e("p",fn," Selected Slot: "+a(t(v).slotName)+" ("+a(t(v).active?"on":"off")+") · Active PID: "+a(t(v).activePid??"-"),1),e("div",gn,[S(O,{variant:"outline",size:"sm",disabled:x.isActionLoading,onClick:V},{default:E(()=>[M(a(t(r)),1)]),_:1},8,["disabled"]),S(O,{variant:"outline",size:"sm",disabled:x.isActionLoading,onClick:R},{default:E(()=>g[5]||(g[5]=[M(" Drop Slot ")])),_:1},8,["disabled"])])])])):N("",!0)])}}}),xn={class:"space-y-4"},$n={class:"flex items-center justify-between"},Sn={class:"space-y-1.5"},kn={class:"h-[360px]"},wn={key:0,class:"border rounded-lg p-2.5 space-y-2"},In={class:"flex items-center justify-between gap-3 flex-wrap"},Tn={class:"text-sm font-medium"},Cn={class:"flex gap-2"},Ln=["innerHTML"],Rn={class:"grid grid-cols-1 xl:grid-cols-2 gap-3"},An={class:"space-y-1.5"},Pn={class:"h-[300px]"},Bn={class:"space-y-1.5"},En={class:"h-[300px]"},Mn=U({__name:"InstanceInsightsStateSection",props:{state:{},isLoading:{type:Boolean},isActionLoading:{type:Boolean},onRefresh:{type:Function},onCancelQuery:{type:Function},onTerminateConnection:{type:Function}},setup(n){const i=n,{highlightSql:c}=kt(),s=T(()=>{var g;return((g=i.state)==null?void 0:g.sessions)||[]}),o=T(()=>{var g;return((g=i.state)==null?void 0:g.locks)||[]}),h=T(()=>{var g;return((g=i.state)==null?void 0:g.preparedTransactions)||[]}),p=L([]),$=g=>{p.value=g},b=T(()=>s.value.map(g=>({pid:g.pid,user:g.user,application:g.application||"-",client:g.client||"-",state:g.state||"-",wait_event:g.waitEvent||"-",blocking_pids:g.blockingPids.length?g.blockingPids.join(", "):"-",backend_start:ve(g.backendStart),transaction_start:ve(g.transactionStart),query_duration:qe(g.durationSeconds),sql:Ut(g.sql)}))),u=T(()=>ge(b.value)),k=T(()=>o.value.map(g=>({lock_type:g.lockType,target_relation:g.targetRelation||"-",mode:g.mode,granted:g.granted?"yes":"no",pid:g.pid??"-",user:g.user||"-",state:g.state||"-"}))),w=T(()=>ge(k.value)),y=T(()=>h.value.map(g=>({gid:g.gid,transaction:g.transaction,prepared:ve(g.prepared),owner:g.owner,database:g.database}))),m=T(()=>ge(y.value)),v=T(()=>{var C;const g=Number(((C=p.value[0])==null?void 0:C.pid)||0);return g&&s.value.find(O=>O.pid===g)||null}),l=g=>{if(!g||!g.trim())return"<pre><code>-</code></pre>";const C=g.replace(/\s+/g," ").trim(),O=C.length>900?`${C.slice(0,900)} ...`:C;return c(O)},r=T(()=>{var g;return l(((g=v.value)==null?void 0:g.sql)||null)}),d=(g,C)=>{const O=String(C.state||"");return Gt(O)?"insights-danger-cell":void 0},R=g=>window.confirm(g),V=async()=>{v.value&&R(`Cancel query for PID ${v.value.pid}?`)&&await i.onCancelQuery(v.value.pid)},x=async()=>{v.value&&R(`Terminate connection for PID ${v.value.pid}?`)&&await i.onTerminateConnection(v.value.pid)};return(g,C)=>{const O=me,H=ce,j=ye;return f(),_("div",xn,[e("div",$n,[C[2]||(C[2]=e("div",null,[e("h3",{class:"text-sm font-medium"},"State"),e("p",{class:"text-xs text-muted-foreground"}," Active sessions, locks, prepared transactions ")],-1)),S(H,{variant:"outline",size:"xs",disabled:g.isLoading||g.isActionLoading,class:"font-normal",onClick:C[0]||(C[0]=z=>g.onRefresh())},{default:E(()=>[S(O,{name:"hugeicons:redo",class:oe(["size-4",g.isLoading&&"animate-spin"])},null,8,["class"]),C[1]||(C[1]=M(" Refresh State "))]),_:1},8,["disabled"])]),e("div",Sn,[C[3]||(C[3]=e("h4",{class:"text-sm font-normal"},"Active Sessions",-1)),e("div",kn,[S(j,{columns:t(u),data:t(b),selectedRows:t(p),getCellClass:d,class:"h-full border rounded-md",columnKeyBy:"field",onOnSelectedRows:$},null,8,["columns","data","selectedRows"])])]),t(v)?(f(),_("div",wn,[e("div",In,[e("p",Tn," Selected PID: "+a(t(v).pid)+" ("+a(t(v).state||"-")+") ",1),e("div",Cn,[S(H,{variant:"outline",size:"sm",disabled:g.isActionLoading,onClick:V},{default:E(()=>C[4]||(C[4]=[M(" Cancel Query ")])),_:1},8,["disabled"]),S(H,{variant:"outline",size:"sm",disabled:g.isActionLoading,onClick:x},{default:E(()=>C[5]||(C[5]=[M(" Terminate Connection ")])),_:1},8,["disabled"])])]),e("div",null,[C[6]||(C[6]=e("p",{class:"text-xs text-muted-foreground mb-1"},"SQL Preview",-1)),e("div",{class:"sql-preview border rounded-md overflow-hidden",innerHTML:t(r)},null,8,Ln)])])):N("",!0),e("div",Rn,[e("div",An,[C[7]||(C[7]=e("h4",{class:"text-sm font-normal"},"Locks",-1)),e("div",Pn,[S(j,{columns:t(w),data:t(k),class:"h-full border rounded-md",columnKeyBy:"field"},null,8,["columns","data"])])]),e("div",Bn,[C[8]||(C[8]=e("h4",{class:"text-sm font-normal"},"Prepared Transactions",-1)),e("div",En,[S(j,{columns:t(m),data:t(y),class:"h-full border rounded-md",columnKeyBy:"field"},null,8,["columns","data"])])])])])}}}),Nn=De(Mn,[["__scopeId","data-v-2eab93d6"]]),On=5e3;function Dn(n){const i=L("activity"),c=L(!0),s=L(On),o=L(null),h=L(!1),p=L(!1),$=L(!1),b=L(!1),u=L(!1),k=L(!1),w=L(null),y=L(null),m=L(null),v=L(null),l=L(""),r=Xe(l,350),d=T(()=>!!n.value),R=L(!0);ke(()=>{R.value=!1}),we(()=>{R.value=!0});const V=()=>{o.value=null,w.value=null,y.value=null,m.value=null,v.value=null},x=async(I,P)=>{var X;try{return o.value=null,await I()}catch(Q){const be=((X=Q==null?void 0:Q.data)==null?void 0:X.message)||(Q==null?void 0:Q.message)||(Q==null?void 0:Q.statusMessage)||P;return o.value=be,null}},g=async(I={})=>{if(!d.value)return null;I.silent||($.value=!0);const P=await x(async()=>await $fetch("/api/instance-insights/dashboard",{method:"POST",body:{...ne(n.value)}}),"Failed to fetch activity dashboard");return P&&(w.value=P),I.silent||($.value=!1),P},C=async(I={})=>{if(!d.value)return null;I.silent||(b.value=!0);const P=await x(async()=>await $fetch("/api/instance-insights/state",{method:"POST",body:{...ne(n.value)}}),"Failed to fetch active sessions and locks");return P&&(y.value=P),I.silent||(b.value=!1),P},O=async(I={})=>{if(!d.value)return null;I.silent||(u.value=!0);const P=await x(async()=>await $fetch("/api/instance-insights/configuration",{method:"POST",body:{...ne(n.value),search:r.value||void 0}}),"Failed to fetch PostgreSQL settings");return P&&(m.value=P),I.silent||(u.value=!1),P},H=async(I={})=>{if(!d.value)return null;I.silent||(k.value=!0);const P=await x(async()=>await $fetch("/api/instance-insights/replication",{method:"POST",body:{...ne(n.value)}}),"Failed to fetch replication status");return P&&(v.value=P),I.silent||(k.value=!1),P},j=async(I=i.value,P={})=>{switch(I){case"activity":await g(P);break;case"state":await Promise.all([g({silent:!0}),C(P)]);break;case"configuration":await Promise.all([g({silent:!0}),O(P)]);break;case"replication":await Promise.all([g({silent:!0}),H(P)]);break;default:await g(P);break}},z=async(I={})=>{await Promise.all([g(I),C(I),O(I),H(I)])},q=async(I,P)=>{if(!d.value)return!1;p.value=!0;const X=await x(I,"Action failed");return p.value=!1,X?(X.success?fe(P,{description:X.message}):fe(X.message,{description:"The server did not complete this action."}),X.success):(fe(o.value||"Action failed",{description:"Check database permissions and try again."}),!1)},Y=async I=>{await q(async()=>await $fetch("/api/instance-insights/cancel-query",{method:"POST",body:{...ne(n.value),pid:I}}),`Cancelled query for PID ${I}`)&&await C({silent:!0})},J=async I=>{await q(async()=>await $fetch("/api/instance-insights/terminate-connection",{method:"POST",body:{...ne(n.value),pid:I}}),`Terminated connection for PID ${I}`)&&(await C({silent:!0}),await g({silent:!0}))},B=async I=>{await q(async()=>await $fetch("/api/instance-insights/drop-slot",{method:"POST",body:{...ne(n.value),slotName:I}}),`Dropped replication slot "${I}"`)&&await H({silent:!0})},A=async I=>{await q(async()=>await $fetch("/api/instance-insights/toggle-slot-status",{method:"POST",body:{...ne(n.value),slotName:I.slotName,desiredStatus:I.desiredStatus,activePid:I.activePid??null,slotType:I.slotType??null}}),`Turned ${I.desiredStatus} slot "${I.slotName}"`)&&await H({silent:!0})},G=async()=>{if(!d.value){V();return}h.value=!0,await z(),h.value=!1};re(()=>n.value,async I=>{if(!I){V();return}await G()},{immediate:!0}),re(()=>r.value,async()=>{i.value!=="configuration"||!d.value||await O({silent:!0})}),re(()=>i.value,async I=>{d.value&&(I==="state"&&!y.value&&await C(),I==="configuration"&&!m.value&&await O(),I==="replication"&&!v.value&&await H())});const{pause:Z,resume:ae,isActive:pe}=Ie(async()=>{!d.value||!R.value||await j(i.value,{silent:!0})},s,{immediate:!1});return re(()=>c.value,I=>{I?ae():Z()},{immediate:!0}),{activeSection:i,autoRefresh:c,isAutoRefreshRunning:pe,error:o,isInitialLoading:h,isActionLoading:p,isDashboardLoading:$,isStateLoading:b,isConfigurationLoading:u,isReplicationLoading:k,dashboard:w,state:y,configuration:m,replication:v,configurationSearch:l,refreshSection:j,refreshAll:z,fetchDashboard:g,fetchState:C,fetchConfiguration:O,fetchReplication:H,cancelQuery:Y,terminateConnection:J,dropReplicationSlot:B,toggleReplicationSlotStatus:A}}const Fn={class:"flex flex-col h-full p-3 gap-3 overflow-hidden"},Hn={class:"flex flex-col lg:flex-row lg:items-start lg:justify-between border rounded-lg p-3 gap-3 bg-background"},Vn={class:"space-y-1"},zn={class:"flex items-center gap-2"},jn={class:"text-sm text-muted-foreground flex items-center gap-0.5"},Kn={class:"flex items-center gap-0.5"},Un={class:"font-medium text-foreground"},Gn={key:0,class:"flex items-center gap-1.5 mt-0.5"},qn={class:"flex items-center gap-2 flex-wrap"},Qn={class:"text-xs flex items-center gap-2"},Xn={class:"flex items-center justify-between gap-2"},Wn={class:"text-xs text-muted-foreground"},Yn={key:0,class:"border border-red-300 bg-red-50 text-red-700 rounded-lg p-3 text-sm"},Jn={key:1,class:"border rounded-lg p-6 flex items-center justify-center gap-2 text-muted-foreground"},Zn={key:2,class:"flex-1 overflow-y-auto border rounded-lg p-3 bg-background"},eo=U({__name:"InstanceInsightsPanel",props:{dbConnectionString:{},databaseName:{},dbType:{}},setup(n){const i=[{id:"activity",tabLabel:"Activity",subtitle:"Sessions, TPS, tuples and block I/O",icon:"hugeicons:artificial-intelligence-08"},{id:"state",tabLabel:"State",subtitle:"Active sessions, locks, prepared transactions",icon:"hugeicons:shield-01"},{id:"configuration",tabLabel:"Config",subtitle:"Searchable pg_settings",icon:"hugeicons:settings-01"},{id:"replication",tabLabel:"Replication",subtitle:"Replication stats and slots",icon:"hugeicons:database"}],c=he(),s=T(()=>c.selectedConnection),{activeSection:o,autoRefresh:h,error:p,isInitialLoading:$,isActionLoading:b,isDashboardLoading:u,isStateLoading:k,isConfigurationLoading:w,isReplicationLoading:y,dashboard:m,state:v,configuration:l,replication:r,configurationSearch:d,refreshSection:R,refreshAll:V,cancelQuery:x,terminateConnection:g,dropReplicationSlot:C,toggleReplicationSlotStatus:O}=Dn(s);T(()=>i.find(B=>B.id===o.value));const H=T(()=>{var B,A,G,Z;return o.value==="activity"?(B=m.value)==null?void 0:B.capturedAt:o.value==="state"?(A=v.value)==null?void 0:A.capturedAt:o.value==="configuration"?(G=l.value)==null?void 0:G.capturedAt:(Z=r.value)==null?void 0:Z.capturedAt}),j=()=>R("activity"),z=()=>R("state"),q=()=>R("configuration"),Y=()=>R("replication"),J=B=>O(B);return(B,A)=>{var Q,be;const G=me,Z=_e,ae=Ce,pe=ce,I=Ae,P=Re,X=Le;return f(),_("div",Fn,[e("div",Hn,[e("div",Vn,[e("div",zn,[S(G,{name:"hugeicons:database",class:"size-5 text-primary"}),A[4]||(A[4]=e("h2",{class:"text-base font-medium"},"Instance Insights",-1))]),e("div",jn,[A[5]||(A[5]=M(" connection: ")),e("div",Kn,[B.dbType?(f(),W(Te((Q=t(Ve)(B.dbType))==null?void 0:Q.icon),{key:0,class:"size-4!"})):N("",!0),e("span",Un,a(B.databaseName),1)])]),(be=t(m))!=null&&be.version?(f(),_("div",Gn,[S(Z,{variant:"outline",class:"text-xxs h-5 px-1.5 font-normal"},{default:E(()=>[M(" PostgreSQL "+a(t(m).version),1)]),_:1})])):N("",!0)]),e("div",qn,[e("div",Qn,[S(ae,{id:"insights-auto-refresh","model-value":t(h),"onUpdate:modelValue":A[0]||(A[0]=ee=>le(h)?h.value=ee:null),class:"cursor-pointer"},null,8,["model-value"]),A[6]||(A[6]=e("label",{for:"insights-auto-refresh",class:"cursor-pointer"}," Auto refresh ",-1))]),S(pe,{variant:"outline",size:"sm",disabled:t($)||t(b),onClick:A[1]||(A[1]=ee=>t(V)()),class:"font-normal"},{default:E(()=>[S(G,{name:"hugeicons:redo",class:"size-4"}),A[7]||(A[7]=M(" Refresh All "))]),_:1},8,["disabled"])])]),e("div",Xn,[S(X,{modelValue:t(o),"onUpdate:modelValue":A[2]||(A[2]=ee=>le(o)?o.value=ee:null),class:"gap-0 flex-1 min-w-0"},{default:E(()=>[S(P,{class:"h-8 max-w-full overflow-x-auto justify-start!"},{default:E(()=>[(f(),_(D,null,F(i,ee=>S(I,{key:ee.id,value:ee.id,class:"text-xs px-1.5 rounded-sm cursor-pointer min-w-fit shrink-0",onClick:mr=>t(R)(ee.id,{silent:!0})},{default:E(()=>[S(G,{name:ee.icon,class:"size-3.5!"},null,8,["name"]),M(" "+a(ee.tabLabel),1)]),_:2},1032,["value","onClick"])),64))]),_:1})]),_:1},8,["modelValue"]),e("div",Wn," Last updated: "+a(t(ve)(t(H))),1)]),t(p)?(f(),_("div",Yn,a(t(p)),1)):N("",!0),t($)&&!t(m)?(f(),_("div",Jn,[S(G,{name:"hugeicons:redo",class:"size-4 animate-spin"}),A[8]||(A[8]=M(" Loading instance insights... "))])):(f(),_("div",Zn,[te(S(Zs,{dashboard:t(m),isLoading:t(u),isActionLoading:t(b),onRefresh:j},null,8,["dashboard","isLoading","isActionLoading"]),[[se,t(o)==="activity"]]),te(S(Nn,{state:t(v),isLoading:t(k),isActionLoading:t(b),onRefresh:z,onCancelQuery:t(x),onTerminateConnection:t(g)},null,8,["state","isLoading","isActionLoading","onCancelQuery","onTerminateConnection"]),[[se,t(o)==="state"]]),te(S(an,{search:t(d),"onUpdate:search":A[3]||(A[3]=ee=>le(d)?d.value=ee:null),configuration:t(l),isLoading:t(w),isActionLoading:t(b),onRefresh:q},null,8,["search","configuration","isLoading","isActionLoading"]),[[se,t(o)==="configuration"]]),te(S(yn,{replication:t(r),isLoading:t(y),isActionLoading:t(b),onRefresh:Y,onDropSlot:t(C),onToggleSlotStatus:J},null,8,["replication","isLoading","isActionLoading","onDropSlot"]),[[se,t(o)==="replication"]])]))])}}}),to={key:0,class:"space-y-4"},so={class:"flex items-start justify-between gap-3 flex-wrap"},no={class:"text-sm font-medium"},oo={class:"text-xs text-muted-foreground"},ao={key:1,class:"flex gap-2 flex-wrap"},io={key:2,class:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-2.5"},ro={class:"text-xs uppercase text-muted-foreground"},lo={class:"text-sm font-semibold leading-none tabular-nums"},uo={key:0,class:"text-[11px] text-muted-foreground"},co={key:3,class:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-2.5"},mo={class:"text-xs uppercase text-muted-foreground"},po={class:"text-sm font-medium leading-tight break-words"},fo={key:0,class:"text-[11px] text-muted-foreground"},go={key:4,class:"space-y-2"},vo={class:"font-medium"},bo={class:"text-xs mt-1"},_o={class:"text-sm font-normal"},ho={key:0,class:"text-xs text-muted-foreground"},yo={key:0,class:"text-xs text-muted-foreground"},xo=360,$o=120,So=44,ko=36,wo=U({__name:"InstanceInsightsSectionRenderer",props:{section:{},search:{}},setup(n){const i=n,c=T(()=>{var u;return((u=i.search)==null?void 0:u.trim().toLowerCase())||""}),s=T(()=>i.section?!i.section.searchable||!c.value?i.section.tables||[]:(i.section.tables||[]).map(u=>({...u,rows:u.rows.filter(k=>Object.values(k).some(w=>String(w??"").toLowerCase().includes(c.value)))})):[]),o=u=>u<=0?$o:Math.min(xo,So+u*ko),h=u=>u==="supported"?"border-emerald-300 bg-emerald-50 text-emerald-700":u==="conditional"?"border-amber-300 bg-amber-50 text-amber-700":"border-slate-300 bg-slate-50 text-slate-700",p=u=>u==="success"?"border-emerald-200 bg-emerald-50":u==="warning"?"border-amber-200 bg-amber-50":u==="danger"?"border-red-200 bg-red-50":u==="info"?"border-sky-200 bg-sky-50":"border-border bg-background",$=u=>u==="unsupported"?"border-amber-300 bg-amber-50 text-amber-700":u==="unavailable"?"border-red-300 bg-red-50 text-red-700":"border-emerald-300 bg-emerald-50 text-emerald-700",b=u=>u==="pass"?"border-emerald-200 bg-emerald-50 text-emerald-700":u==="warn"?"border-amber-200 bg-amber-50 text-amber-700":u==="fail"?"border-red-200 bg-red-50 text-red-700":"border-sky-200 bg-sky-50 text-sky-700";return(u,k)=>{var m,v,l,r;const w=_e,y=ye;return u.section?(f(),_("div",to,[e("div",so,[e("div",null,[e("h3",no,a(u.section.title),1),e("p",oo,a(u.section.subtitle),1)]),S(w,{class:oe($(u.section.status)),variant:"outline"},{default:E(()=>[M(a(u.section.status),1)]),_:1},8,["class"])]),u.section.statusMessage?(f(),_("div",{key:0,class:oe(["border rounded-lg p-3 text-sm",$(u.section.status)])},a(u.section.statusMessage),3)):N("",!0),(m=u.section.actions)!=null&&m.length?(f(),_("div",ao,[(f(!0),_(D,null,F(u.section.actions,d=>(f(),W(w,{key:d.id,class:oe(h(d.state)),variant:"outline"},{default:E(()=>[M(a(d.label)+" · "+a(d.state),1)]),_:2},1032,["class"]))),128))])):N("",!0),(v=u.section.cards)!=null&&v.length?(f(),_("div",io,[(f(!0),_(D,null,F(u.section.cards,d=>(f(),_("div",{key:d.id,class:oe(["h-full border rounded-lg p-2.5 space-y-1.5",p(d.tone)])},[e("p",ro,a(d.label),1),e("p",lo,a(d.value),1),d.helperText?(f(),_("p",uo,a(d.helperText),1)):N("",!0)],2))),128))])):N("",!0),(l=u.section.details)!=null&&l.length?(f(),_("div",co,[(f(!0),_(D,null,F(u.section.details,d=>(f(),_("div",{key:`${d.label}-${d.value}`,class:oe(["border rounded-lg p-2.5 space-y-1",p(d.tone)])},[e("p",mo,a(d.label),1),e("p",po,a(d.value),1),d.helperText?(f(),_("p",fo,a(d.helperText),1)):N("",!0)],2))),128))])):N("",!0),(r=u.section.checks)!=null&&r.length?(f(),_("div",go,[(f(!0),_(D,null,F(u.section.checks,d=>(f(),_("div",{key:d.id,class:oe(["border rounded-lg p-3 text-sm",b(d.status)])},[e("p",vo,a(d.label),1),e("p",bo,a(d.detail),1)],2))),128))])):N("",!0),(f(!0),_(D,null,F(t(s),d=>(f(),_("div",{key:d.id,class:"space-y-1.5"},[e("div",null,[e("h4",_o,a(d.title),1),d.description?(f(),_("p",ho,a(d.description),1)):N("",!0)]),e("div",{class:"max-h-[360px]",style:Se({height:`${o(d.rows.length)}px`})},[S(y,{columns:t(Ue)(d.columns.map(R=>R.key)),data:d.rows,class:"h-full border rounded-md",columnKeyBy:"field"},null,8,["columns","data"])],4),d.emptyMessage&&d.rows.length===0?(f(),_("p",yo,a(d.emptyMessage),1)):N("",!0)]))),128))])):N("",!0)}}}),Io=5e3;function To(n){const i=L(null),c=L("overview"),s=L(!0),o=L(""),h=L(null),p=L(!1),$=L(!1),b=T(()=>!!n.value),u=L(!0);ke(()=>{u.value=!1}),we(()=>{u.value=!0});const k=()=>{h.value=null,i.value=null,o.value="",c.value="overview"},w=async(d={})=>{var R,V;if(!b.value)return k(),null;d.silent||($.value=!0);try{h.value=null;const x=await $fetch("/api/instance-insights/view",{method:"POST",body:{...ne(n.value)}});return i.value=x,x.sections.some(g=>g.id===c.value)||(c.value=((R=x.sections[0])==null?void 0:R.id)||"overview"),x}catch(x){const g=((V=x==null?void 0:x.data)==null?void 0:V.message)||(x==null?void 0:x.message)||(x==null?void 0:x.statusMessage)||"Failed to fetch instance insights";return h.value=g,null}finally{d.silent||($.value=!1)}},y=async(d=c.value,R={})=>w(R),m=async(d={})=>w(d),v=async()=>{if(!b.value){k();return}p.value=!0,await w(),p.value=!1};re(()=>n.value,async d=>{if(!d){k();return}await v()},{immediate:!0});const{pause:l,resume:r}=Ie(async()=>{!b.value||!u.value||await w({silent:!0})},Io,{immediate:!1});return re(()=>s.value,d=>{d?r():l()},{immediate:!0}),{view:i,activeSection:c,autoRefresh:s,configurationSearch:o,error:h,isInitialLoading:p,isViewLoading:$,refreshSection:y,refreshAll:m}}const Co={class:"flex flex-col h-full p-3 gap-3 overflow-hidden"},Lo={class:"flex flex-col lg:flex-row lg:items-start lg:justify-between border rounded-lg p-3 gap-3 bg-background"},Ro={class:"space-y-2"},Ao={class:"space-y-1"},Po={class:"flex items-center gap-2"},Bo={class:"text-sm text-muted-foreground flex items-center gap-0.5"},Eo={class:"flex items-center gap-0.5"},Mo={class:"font-medium text-foreground"},No={key:0,class:"flex items-center gap-1.5 mt-0.5"},Oo={key:0,class:"flex gap-2 flex-wrap"},Do={class:"flex items-center gap-2 flex-wrap"},Fo={class:"text-xs flex items-center gap-2"},Ho={class:"flex items-center justify-between gap-2"},Vo={class:"text-xs text-muted-foreground"},zo={key:0,class:"border rounded-lg p-3 bg-background"},jo={class:"relative"},Ko={key:1,class:"border border-red-300 bg-red-50 text-red-700 rounded-lg p-3 text-sm"},Uo={key:2,class:"border rounded-lg p-6 flex items-center justify-center gap-2 text-muted-foreground"},Go={key:3,class:"flex-1 overflow-y-auto border rounded-lg p-3 bg-background"},qo=U({__name:"MultiDbInstanceInsightsPanel",props:{dbConnectionString:{},databaseName:{},dbType:{}},setup(n){const i=he(),{selectedConnection:c}=He(i),{view:s,activeSection:o,autoRefresh:h,configurationSearch:p,error:$,isInitialLoading:b,isViewLoading:u,refreshSection:k,refreshAll:w}=To(c),y=T(()=>{var l;return((l=s.value)==null?void 0:l.sections.find(r=>r.id===o.value))||null}),m=T(()=>{var l,r;return((l=y.value)==null?void 0:l.capturedAt)||((r=s.value)==null?void 0:r.capturedAt)||null}),v=l=>l==="supported"?"border-emerald-300 bg-emerald-50 text-emerald-700":l==="conditional"?"border-amber-300 bg-amber-50 text-amber-700":"border-slate-300 bg-slate-50 text-slate-700";return(l,r)=>{var j,z,q,Y,J;const d=me,R=_e,V=Ce,x=ce,g=Ae,C=Re,O=Le,H=Fe;return f(),_("div",Co,[e("div",Lo,[e("div",Ro,[e("div",Ao,[e("div",Po,[S(d,{name:"hugeicons:database",class:"size-5 text-primary"}),r[4]||(r[4]=e("h2",{class:"text-base font-medium"},"Instance Insights",-1))]),e("div",Bo,[r[5]||(r[5]=M(" connection: ")),e("div",Eo,[l.dbType?(f(),W(Te((j=t(Ve)(l.dbType))==null?void 0:j.icon),{key:0,class:"size-4!"})):N("",!0),e("span",Mo,a(l.databaseName),1)])]),(z=t(s))!=null&&z.version?(f(),_("div",No,[S(R,{variant:"outline",class:"text-xxs h-5 px-1.5 font-normal"},{default:E(()=>[M(a(l.dbType===t(ue).MARIADB?"MariaDB":l.dbType===t(ue).ORACLE?"Oracle":l.dbType===t(ue).SQLITE3?"SQLite":"MySQL")+" "+a(t(s).version),1)]),_:1})])):N("",!0)]),(Y=(q=t(s))==null?void 0:q.actions)!=null&&Y.length?(f(),_("div",Oo,[(f(!0),_(D,null,F(t(s).actions,B=>(f(),W(R,{key:B.id,class:oe(v(B.state)),variant:"outline"},{default:E(()=>[M(a(B.label)+" · "+a(B.state),1)]),_:2},1032,["class"]))),128))])):N("",!0)]),e("div",Do,[e("div",Fo,[S(V,{id:"insights-auto-refresh","model-value":t(h),"onUpdate:modelValue":r[0]||(r[0]=B=>le(h)?h.value=B:null),class:"cursor-pointer"},null,8,["model-value"]),r[6]||(r[6]=e("label",{for:"insights-auto-refresh",class:"cursor-pointer"}," Auto refresh ",-1))]),S(x,{variant:"outline",size:"sm",disabled:t(b)||t(u),class:"font-normal",onClick:r[1]||(r[1]=B=>t(w)())},{default:E(()=>[S(d,{name:"hugeicons:redo",class:"size-4"}),r[7]||(r[7]=M(" Refresh All "))]),_:1},8,["disabled"])])]),e("div",Ho,[S(O,{modelValue:t(o),"onUpdate:modelValue":r[2]||(r[2]=B=>le(o)?o.value=B:null),class:"gap-0 flex-1 min-w-0"},{default:E(()=>[S(C,{class:"h-8 max-w-full overflow-x-auto justify-start!"},{default:E(()=>{var B;return[(f(!0),_(D,null,F(((B=t(s))==null?void 0:B.sections)||[],A=>(f(),W(g,{key:A.id,value:A.id,class:"text-xs px-1.5 rounded-sm cursor-pointer min-w-fit shrink-0",onClick:G=>t(k)(A.id,{silent:!0})},{default:E(()=>[M(a(A.title),1)]),_:2},1032,["value","onClick"]))),128))]}),_:1})]),_:1},8,["modelValue"]),e("div",Vo," Last updated: "+a(t(ve)(t(m))),1)]),(J=t(y))!=null&&J.searchable?(f(),_("div",zo,[e("div",jo,[S(d,{name:"hugeicons:search-01",class:"size-4 absolute left-2.5 top-1/2 -translate-y-1/2 text-muted-foreground"}),S(H,{modelValue:t(p),"onUpdate:modelValue":r[3]||(r[3]=B=>le(p)?p.value=B:null),type:"text",placeholder:t(y).searchPlaceholder||"Search...",class:"h-8 w-full pl-8 pr-3"},null,8,["modelValue","placeholder"])])])):N("",!0),t($)?(f(),_("div",Ko,a(t($)),1)):N("",!0),t(b)&&!t(s)?(f(),_("div",Uo,[S(d,{name:"hugeicons:redo",class:"size-4 animate-spin"}),r[8]||(r[8]=M(" Loading instance insights... "))])):(f(),_("div",Go,[S(wo,{section:t(y),search:t(p)},null,8,["section","search"])]))])}}}),Qo={class:"space-y-4"},Xo={class:"grid gap-3 md:grid-cols-2"},Wo={class:"rounded-lg border p-3"},Yo={class:"mt-1 text-lg font-medium"},Jo={class:"rounded-lg border p-3"},Zo={class:"mt-1 text-lg font-medium"},ea={key:0,class:"rounded-lg border p-3"},ta={class:"mt-3 space-y-2 text-xs"},sa={class:"rounded-lg border p-3"},na={class:"mt-3 space-y-2 text-xs"},oa={class:"flex items-start justify-between gap-3"},aa={class:"font-medium"},ia={class:"text-muted-foreground"},ra={class:"text-muted-foreground"},la=U({__name:"RedisClientsSection",props:{clients:{},isActionLoading:{type:Boolean}},emits:["kill-client"],setup(n,{emit:i}){const c=i,s=new Intl.NumberFormat;function o(h){return h==null||h===""?"0":s.format(Number(h))}return(h,p)=>{var b,u,k,w,y;const $=ce;return f(),_("div",Qo,[e("div",Xo,[e("div",Wo,[p[0]||(p[0]=e("p",{class:"text-xs text-muted-foreground"},"Connected clients",-1)),e("p",Yo,a(o((b=h.clients)==null?void 0:b.connectedClients)),1)]),e("div",Jo,[p[1]||(p[1]=e("p",{class:"text-xs text-muted-foreground"},"Suspicious clients",-1)),e("p",Zo,a(o((((u=h.clients)==null?void 0:u.suspiciousClients)||[]).length)),1)])]),(((k=h.clients)==null?void 0:k.suspiciousClients)||[]).length?(f(),_("div",ea,[p[2]||(p[2]=e("h3",{class:"text-sm font-medium"},"Suspicious clients",-1)),e("div",ta,[(f(!0),_(D,null,F(((w=h.clients)==null?void 0:w.suspiciousClients)||[],m=>(f(),_("div",{key:`${m.clientId}-${m.reason}`,class:"rounded-md bg-muted/20 px-3 py-2"},a(m.reason),1))),128))])])):N("",!0),e("div",sa,[p[4]||(p[4]=e("h3",{class:"text-sm font-medium"},"Client list",-1)),e("div",na,[(f(!0),_(D,null,F(((y=h.clients)==null?void 0:y.clients)||[],m=>(f(),_("div",{key:m.id,class:"rounded-md bg-muted/20 px-3 py-2"},[e("div",oa,[e("div",null,[e("p",aa,a(m.addr),1),e("p",ia,a(m.name)+" · db "+a(m.db)+" · "+a(m.cmd),1),e("p",ra," age "+a(o(m.ageSeconds))+"s · idle "+a(o(m.idleSeconds))+"s ",1)]),S($,{size:"sm",variant:"outline",disabled:h.isActionLoading,onClick:v=>c("kill-client",m.id)},{default:E(()=>p[3]||(p[3]=[M(" Kill client ")])),_:2},1032,["disabled","onClick"])])]))),128))])])])}}}),da={class:"space-y-2"},ua={class:"text-muted-foreground"},ca=U({__name:"RedisConfigSection",props:{config:{}},setup(n){return(i,c)=>(f(),_("div",da,[(f(!0),_(D,null,F(i.config||[],s=>(f(),_("div",{key:s.name,class:"flex items-center justify-between rounded-md border px-3 py-2 text-sm"},[e("span",null,a(s.name),1),e("span",ua,a(s.value||"not set"),1)]))),128))]))}}),ma={class:"space-y-4"},pa={class:"grid gap-3 md:grid-cols-4"},fa={class:"rounded-lg border p-3"},ga={class:"mt-1 text-lg font-medium"},va={class:"rounded-lg border p-3"},ba={class:"mt-1 text-lg font-medium"},_a={class:"rounded-lg border p-3"},ha={class:"mt-1 text-lg font-medium"},ya={class:"rounded-lg border p-3"},xa={class:"mt-1 text-lg font-medium"},$a={class:"grid gap-4 lg:grid-cols-2"},Sa={class:"rounded-lg border p-3"},ka={class:"mt-3 space-y-2 text-sm"},wa={class:"text-muted-foreground"},Ia={class:"rounded-lg border p-3"},Ta={class:"mt-3 space-y-2 text-sm"},Ca={class:"text-muted-foreground"},La={class:"rounded-lg border p-3"},Ra={class:"mt-3 flex flex-wrap gap-2"},Aa={class:"mt-3 text-xs text-muted-foreground"},Pa=U({__name:"RedisKeyspaceSection",props:{keyspace:{}},setup(n){const i=new Intl.NumberFormat;function c(s){return s==null||s===""?"0":i.format(Number(s))}return(s,o)=>{var p,$,b,u,k,w,y,m;const h=_e;return f(),_("div",ma,[e("div",pa,[e("div",fa,[o[0]||(o[0]=e("p",{class:"text-xs text-muted-foreground"},"Expired key count",-1)),e("p",ga,a(c((p=s.keyspace)==null?void 0:p.expiredKeyCount)),1)]),e("div",va,[o[1]||(o[1]=e("p",{class:"text-xs text-muted-foreground"},"Avg TTL",-1)),e("p",ba,a(c(($=s.keyspace)==null?void 0:$.avgTtl)),1)]),e("div",_a,[o[2]||(o[2]=e("p",{class:"text-xs text-muted-foreground"},"Keys without TTL",-1)),e("p",ha,a(c((b=s.keyspace)==null?void 0:b.keysWithoutTtl)),1)]),e("div",ya,[o[3]||(o[3]=e("p",{class:"text-xs text-muted-foreground"},"Sampled keys",-1)),e("p",xa,a(c((u=s.keyspace)==null?void 0:u.sampledKeys)),1)])]),e("div",$a,[e("div",Sa,[o[4]||(o[4]=e("h3",{class:"text-sm font-medium"},"Databases",-1)),e("div",ka,[(f(!0),_(D,null,F(((k=s.keyspace)==null?void 0:k.databases)||[],v=>(f(),_("div",{key:v.database,class:"flex items-center justify-between rounded-md bg-muted/20 px-3 py-2"},[e("span",null,a(v.database),1),e("span",wa,a(c(v.keyCount))+" keys · "+a(c(v.expires))+" expiring · avg TTL "+a(c(v.avgTtl)),1)]))),128))])]),e("div",Ia,[o[5]||(o[5]=e("h3",{class:"text-sm font-medium"},"Top prefixes",-1)),e("div",Ta,[(f(!0),_(D,null,F(((w=s.keyspace)==null?void 0:w.topPrefixes)||[],v=>(f(),_("div",{key:v.prefix,class:"flex items-center justify-between rounded-md bg-muted/20 px-3 py-2"},[e("span",null,a(v.prefix),1),e("span",Ca,a(c(v.keyCount))+" keys ",1)]))),128))])])]),e("div",La,[o[6]||(o[6]=e("h3",{class:"text-sm font-medium"},"Key type distribution",-1)),e("div",Ra,[(f(!0),_(D,null,F(((y=s.keyspace)==null?void 0:y.keyTypeDistribution)||[],v=>(f(),W(h,{key:v.type,variant:"outline"},{default:E(()=>[M(a(v.type)+" · "+a(c(v.count)),1)]),_:2},1024))),128))]),e("p",Aa,a((m=s.keyspace)==null?void 0:m.hotKeysNote),1)])])}}}),Ba={class:"space-y-4"},Ea={class:"grid gap-3 md:grid-cols-2 xl:grid-cols-4"},Ma={class:"rounded-lg border p-3"},Na={class:"mt-1 text-lg font-medium"},Oa={class:"rounded-lg border p-3"},Da={class:"mt-1 text-lg font-medium"},Fa={class:"rounded-lg border p-3"},Ha={class:"mt-1 text-lg font-medium"},Va={class:"rounded-lg border p-3"},za={class:"mt-1 text-lg font-medium"},ja={class:"grid gap-4 lg:grid-cols-2"},Ka={class:"rounded-lg border p-3"},Ua={class:"mt-3 space-y-2 text-sm"},Ga={class:"text-muted-foreground"},qa={class:"rounded-lg border p-3"},Qa={class:"mt-3 space-y-2 text-sm"},Xa={class:"flex items-center justify-between gap-2"},Wa={class:"truncate"},Ya={class:"mt-1 text-xs text-muted-foreground"},Ja=U({__name:"RedisMemorySection",props:{memory:{}},setup(n){const i=new Intl.NumberFormat;function c(s){return s==null||s===""?"0":i.format(Number(s))}return(s,o)=>{var $,b,u,k,w,y,m,v;const h=Pe,p=_e;return f(),_("div",Ba,[e("div",Ea,[e("div",Ma,[o[0]||(o[0]=e("p",{class:"text-xs text-muted-foreground"},"Used memory",-1)),e("p",Na,a(($=s.memory)==null?void 0:$.usedMemoryHuman),1)]),e("div",Oa,[o[1]||(o[1]=e("p",{class:"text-xs text-muted-foreground"},"Peak memory",-1)),e("p",Da,a((b=s.memory)==null?void 0:b.usedMemoryPeakHuman),1)]),e("div",Fa,[o[2]||(o[2]=e("p",{class:"text-xs text-muted-foreground"},"Fragmentation",-1)),e("p",Ha,a((u=s.memory)==null?void 0:u.memoryFragmentationRatio.toFixed(2)),1)]),e("div",Va,[o[3]||(o[3]=e("p",{class:"text-xs text-muted-foreground"},"Maxmemory / policy",-1)),e("p",za,a((k=s.memory)==null?void 0:k.maxmemoryHuman)+" · "+a((w=s.memory)==null?void 0:w.maxmemoryPolicy),1)])]),(f(!0),_(D,null,F(((y=s.memory)==null?void 0:y.warnings)||[],l=>(f(),W(h,{key:l,variant:"secondary"},{default:E(()=>[M(a(l),1)]),_:2},1024))),128)),e("div",ja,[e("div",Ka,[o[4]||(o[4]=e("h3",{class:"text-sm font-medium"},"Top prefixes by memory",-1)),e("div",Ua,[(f(!0),_(D,null,F(((m=s.memory)==null?void 0:m.topPrefixesByMemory)||[],l=>(f(),_("div",{key:l.prefix,class:"flex items-center justify-between rounded-md bg-muted/20 px-3 py-2"},[e("span",null,a(l.prefix),1),e("span",Ga,a(c(l.keyCount))+" keys · "+a(c(l.memoryBytes))+" B ",1)]))),128))])]),e("div",qa,[o[5]||(o[5]=e("h3",{class:"text-sm font-medium"},"Big keys detector",-1)),e("div",Qa,[(f(!0),_(D,null,F(((v=s.memory)==null?void 0:v.bigKeys)||[],l=>(f(),_("div",{key:l.key,class:"rounded-md bg-muted/20 px-3 py-2"},[e("div",Xa,[e("span",Wa,a(l.key),1),S(p,{variant:"outline"},{default:E(()=>[M(a(l.type),1)]),_:2},1024)]),e("p",Ya," TTL "+a(l.ttl>=0?l.ttl:"persisted")+" · "+a(c(l.memoryBytes))+" B ",1)]))),128))])])])])}}}),Za={class:"space-y-4"},ei={class:"grid gap-3 md:grid-cols-2 xl:grid-cols-4"},ti={class:"text-xs text-muted-foreground"},si={class:"mt-1 text-lg font-medium"},ni=U({__name:"RedisOverviewSection",props:{overview:{}},setup(n){const i=n,c=new Intl.NumberFormat;function s(p){return p==null||p===""?"0":c.format(Number(p))}function o(p){return`${(p*100).toFixed(1)}%`}const h=T(()=>{const p=i.overview;return p?[{label:"Redis version",value:p.redisVersion},{label:"Mode",value:p.mode},{label:"Uptime",value:qe(p.uptimeSeconds)},{label:"Connected clients",value:s(p.connectedClients)},{label:"Used memory",value:p.usedMemoryHuman},{label:"Total keys",value:s(p.totalKeys)},{label:"Hit rate",value:o(p.hitRate)},{label:"Ops/sec",value:s(p.opsPerSec)},{label:"Evicted keys",value:s(p.evictedKeys)},{label:"Expired keys",value:s(p.expiredKeys)},{label:"Rejected connections",value:s(p.rejectedConnections)}]:[]});return(p,$)=>(f(),_("div",Za,[e("div",ei,[(f(!0),_(D,null,F(t(h),b=>(f(),_("div",{key:b.label,class:"rounded-lg border p-3"},[e("p",ti,a(b.label),1),e("p",si,a(b.value),1)]))),128))])]))}}),oi={class:"space-y-4"},ai={class:"grid gap-3 md:grid-cols-3"},ii={class:"rounded-lg border p-3"},ri={class:"mt-1 text-lg font-medium"},li={class:"rounded-lg border p-3"},di={class:"mt-1 text-lg font-medium"},ui={class:"rounded-lg border p-3"},ci={class:"mt-1 text-lg font-medium"},mi={class:"rounded-lg border p-3"},pi={class:"mt-3 whitespace-pre-wrap text-xs text-muted-foreground"},fi={class:"grid gap-4 lg:grid-cols-2"},gi={class:"rounded-lg border p-3"},vi={class:"mt-3 space-y-2 text-xs"},bi={class:"flex items-center justify-between gap-2"},_i={class:"font-medium"},hi={class:"mt-1 text-muted-foreground"},yi={class:"rounded-lg border p-3"},xi={class:"mt-3 space-y-2 text-xs"},$i={class:"text-muted-foreground"},Si={class:"rounded-lg border p-3"},ki={class:"mt-3 space-y-2 text-xs"},wi={key:0,class:"text-muted-foreground"},Ii={class:"text-muted-foreground"},Ti=U({__name:"RedisPerformanceSection",props:{performance:{}},setup(n){const i=new Intl.NumberFormat;function c(s){return s==null||s===""?"0":i.format(Number(s))}return(s,o)=>{var h,p,$,b,u,k,w,y;return f(),_("div",oi,[e("div",ai,[e("div",ii,[o[0]||(o[0]=e("p",{class:"text-xs text-muted-foreground"},"Ops/sec",-1)),e("p",ri,a(c((h=s.performance)==null?void 0:h.instantaneousOpsPerSec)),1)]),e("div",li,[o[1]||(o[1]=e("p",{class:"text-xs text-muted-foreground"},"Total commands",-1)),e("p",di,a(c((p=s.performance)==null?void 0:p.totalCommandsProcessed)),1)]),e("div",ui,[o[2]||(o[2]=e("p",{class:"text-xs text-muted-foreground"},"Blocked clients",-1)),e("p",ci,a(c(($=s.performance)==null?void 0:$.blockedClients)),1)])]),e("div",mi,[o[3]||(o[3]=e("h3",{class:"text-sm font-medium"},"Latency doctor",-1)),e("pre",pi,a(((b=s.performance)==null?void 0:b.latencyDoctor)||"No latency doctor output available."),1)]),e("div",fi,[e("div",gi,[o[4]||(o[4]=e("h3",{class:"text-sm font-medium"},"Slowlog",-1)),e("div",vi,[(f(!0),_(D,null,F(((u=s.performance)==null?void 0:u.slowlog)||[],m=>(f(),_("div",{key:m.id,class:"rounded-md bg-muted/20 px-3 py-2"},[e("div",bi,[e("span",_i,a(m.command||"unknown command"),1),e("span",null,a(c(m.durationMicros))+" µs",1)]),e("p",hi,a(m.clientAddr||"n/a")+" · "+a(m.timestamp||"unknown time"),1)]))),128))])]),e("div",yi,[o[5]||(o[5]=e("h3",{class:"text-sm font-medium"},"Command stats",-1)),e("div",xi,[(f(!0),_(D,null,F(((k=s.performance)==null?void 0:k.commandStats)||[],m=>(f(),_("div",{key:m.command,class:"flex items-center justify-between rounded-md bg-muted/20 px-3 py-2"},[e("span",null,a(m.command),1),e("span",$i,a(c(m.calls))+" calls · "+a(m.usecPerCall.toFixed(2))+" µs/call ",1)]))),128))])])]),e("div",Si,[o[6]||(o[6]=e("h3",{class:"text-sm font-medium"},"Long-running Lua scripts",-1)),e("div",ki,[(((w=s.performance)==null?void 0:w.longRunningLuaScripts)||[]).length?N("",!0):(f(),_("div",wi," No active Lua script clients detected. ")),(f(!0),_(D,null,F(((y=s.performance)==null?void 0:y.longRunningLuaScripts)||[],m=>(f(),_("div",{key:m.id,class:"flex items-center justify-between rounded-md bg-muted/20 px-3 py-2"},[e("span",null,a(m.addr),1),e("span",Ii,a(m.cmd)+" · age "+a(c(m.ageSeconds))+"s ",1)]))),128))])])])}}}),Ci={class:"space-y-4"},Li={class:"grid gap-3 md:grid-cols-2 xl:grid-cols-4"},Ri={class:"rounded-lg border p-3"},Ai={class:"mt-1 text-lg font-medium"},Pi={class:"rounded-lg border p-3"},Bi={class:"mt-1 text-lg font-medium"},Ei={class:"rounded-lg border p-3"},Mi={class:"mt-1 text-lg font-medium"},Ni={class:"rounded-lg border p-3"},Oi={class:"mt-1 text-lg font-medium"},Di={class:"rounded-lg border p-3 text-sm text-muted-foreground space-y-1"},Fi={key:0},Hi=U({__name:"RedisPersistenceSection",props:{persistence:{}},setup(n){const i=new Intl.NumberFormat;function c(s){return s==null||s===""?"0":i.format(Number(s))}return(s,o)=>{var p,$,b,u,k,w,y,m,v;const h=Pe;return f(),_("div",Ci,[e("div",Li,[e("div",Ri,[o[0]||(o[0]=e("p",{class:"text-xs text-muted-foreground"},"RDB enabled",-1)),e("p",Ai,a((p=s.persistence)!=null&&p.rdbEnabled?"Yes":"No"),1)]),e("div",Pi,[o[1]||(o[1]=e("p",{class:"text-xs text-muted-foreground"},"AOF enabled",-1)),e("p",Bi,a(($=s.persistence)!=null&&$.aofEnabled?"Yes":"No"),1)]),e("div",Ei,[o[2]||(o[2]=e("p",{class:"text-xs text-muted-foreground"},"AOF rewrite",-1)),e("p",Mi,a((b=s.persistence)!=null&&b.aofRewriteInProgress?"In progress":"Idle"),1)]),e("div",Ni,[o[3]||(o[3]=e("p",{class:"text-xs text-muted-foreground"},"Changes since save",-1)),e("p",Oi,a(c((u=s.persistence)==null?void 0:u.changesSinceLastSave)),1)])]),(f(!0),_(D,null,F(((k=s.persistence)==null?void 0:k.warnings)||[],l=>(f(),W(h,{key:l,variant:"secondary"},{default:E(()=>[M(a(l),1)]),_:2},1024))),128)),e("div",Di,[e("p",null," Last save status: "+a(((w=s.persistence)==null?void 0:w.lastSaveStatus)||"unknown"),1),e("p",null," Last save time: "+a(((y=s.persistence)==null?void 0:y.lastSaveTime)||"unknown"),1),e("p",null," AOF last rewrite status: "+a(((m=s.persistence)==null?void 0:m.aofLastRewriteStatus)||"unknown"),1),(v=s.persistence)!=null&&v.lastBgsaveError?(f(),_("p",Fi," Last bgsave error: "+a(s.persistence.lastBgsaveError),1)):N("",!0)])])}}}),Vi={class:"space-y-4"},zi={class:"grid gap-3 md:grid-cols-2 xl:grid-cols-4"},ji={class:"rounded-lg border p-3"},Ki={class:"mt-1 text-lg font-medium"},Ui={class:"rounded-lg border p-3"},Gi={class:"mt-1 text-lg font-medium"},qi={class:"rounded-lg border p-3"},Qi={class:"mt-1 text-lg font-medium"},Xi={class:"rounded-lg border p-3"},Wi={class:"mt-1 text-lg font-medium"},Yi={class:"rounded-lg border p-3 text-sm text-muted-foreground space-y-1"},Ji={class:"rounded-lg border p-3"},Zi={class:"mt-3 space-y-2 text-xs"},er={key:0,class:"text-muted-foreground"},tr={class:"text-muted-foreground"},sr=U({__name:"RedisReplicationSection",props:{replication:{}},setup(n){const i=new Intl.NumberFormat;function c(s){return s==null||s===""?"0":i.format(Number(s))}return(s,o)=>{var h,p,$,b,u,k,w,y,m,v,l;return f(),_("div",Vi,[e("div",zi,[e("div",ji,[o[0]||(o[0]=e("p",{class:"text-xs text-muted-foreground"},"Role",-1)),e("p",Ki,a(((h=s.replication)==null?void 0:h.role)||"unknown"),1)]),e("div",Ui,[o[1]||(o[1]=e("p",{class:"text-xs text-muted-foreground"},"Connected replicas",-1)),e("p",Gi,a(c((p=s.replication)==null?void 0:p.connectedReplicas)),1)]),e("div",qi,[o[2]||(o[2]=e("p",{class:"text-xs text-muted-foreground"},"Master link status",-1)),e("p",Qi,a((($=s.replication)==null?void 0:$.masterLinkStatus)||"n/a"),1)]),e("div",Xi,[o[3]||(o[3]=e("p",{class:"text-xs text-muted-foreground"},"Cluster state",-1)),e("p",Wi,a(((b=s.replication)==null?void 0:b.clusterState)||((u=s.replication)!=null&&u.clusterEnabled?"enabled":"disabled")),1)])]),e("div",Yi,[e("p",null,"Replication lag: "+a(((k=s.replication)==null?void 0:k.replicationLag)??"n/a"),1),e("p",null,"Sentinel masters: "+a(((w=s.replication)==null?void 0:w.sentinelMasters)??"n/a"),1),e("p",null," Cluster slots assigned: "+a(((y=s.replication)==null?void 0:y.clusterSlotsAssigned)??"n/a"),1),e("p",null,"Cluster known nodes: "+a(((m=s.replication)==null?void 0:m.clusterKnownNodes)??"n/a"),1)]),e("div",Ji,[o[4]||(o[4]=e("h3",{class:"text-sm font-medium"},"Replicas",-1)),e("div",Zi,[(((v=s.replication)==null?void 0:v.replicas)||[]).length?N("",!0):(f(),_("div",er," No replica nodes reported. ")),(f(!0),_(D,null,F(((l=s.replication)==null?void 0:l.replicas)||[],r=>(f(),_("div",{key:r.id,class:"flex items-center justify-between rounded-md bg-muted/20 px-3 py-2"},[e("span",null,a(r.addr),1),e("span",tr,a(r.state)+" · lag "+a(r.lag??"n/a"),1)]))),128))])])])}}}),nr=5e3;function or(n){const i=L("overview"),c=L(!0),s=L(null),o=L(!1),h=L(!1),p=L(!1),$=L(null),b=L(!0),u=T(()=>!!n.connection.value);ke(()=>{b.value=!1}),we(()=>{b.value=!0});const k=async(l=!1)=>{var r;if(!n.connection.value)return $.value=null,null;l||(h.value=!0);try{s.value=null;const d=await $fetch("/api/redis/instance-insights/overview",{method:"POST",body:{...ne(n.connection.value),method:n.connection.value.method,databaseIndex:n.databaseIndex.value}});return $.value=d,d}catch(d){return s.value=((r=d==null?void 0:d.data)==null?void 0:r.message)||(d==null?void 0:d.message)||(d==null?void 0:d.statusMessage)||"Failed to fetch Redis instance insights.",null}finally{l||(h.value=!1)}},w=async l=>{var r;if(!n.connection.value)return!1;p.value=!0;try{const d=await $fetch("/api/redis/instance-insights/kill-client",{method:"POST",body:{...ne(n.connection.value),method:n.connection.value.method,databaseIndex:n.databaseIndex.value,clientId:l}});return d.success?(fe("Redis client terminated",{description:d.message}),await k(!0),!0):(fe("Failed to terminate client",{description:d.message}),!1)}catch(d){return fe("Failed to terminate client",{description:((r=d==null?void 0:d.data)==null?void 0:r.message)||(d==null?void 0:d.message)||"The Redis client could not be terminated."}),!1}finally{p.value=!1}},y=async()=>{await k()};re([()=>n.connection.value,()=>n.databaseIndex.value],async([l])=>{if(!l){$.value=null;return}o.value=!0,await k(),o.value=!1},{immediate:!0});const{pause:m,resume:v}=Ie(async()=>{!u.value||!b.value||await k(!0)},nr,{immediate:!1});return re(()=>c.value,l=>{l?v():m()},{immediate:!0}),{activeSection:i,autoRefresh:c,error:s,isInitialLoading:o,isLoading:h,isActionLoading:p,insights:$,refresh:y,killClient:w}}const ar={class:"flex h-full flex-col gap-3 overflow-hidden p-3"},ir={class:"flex items-center gap-2 text-xs"},rr={key:1,class:"flex flex-1 items-center justify-center gap-2 rounded-lg border bg-background text-muted-foreground"},lr={key:2,class:"flex-1 overflow-y-auto rounded-lg border bg-background p-3 mt-2"},dr=U({__name:"RedisInstanceInsightsPanel",props:{databaseName:{},databaseIndex:{},databases:{},dbType:{}},emits:["update:databaseIndex"],setup(n,{emit:i}){const c=n,s=i,o=[{id:"overview",label:"Overview"},{id:"keyspace",label:"Keyspace"},{id:"memory",label:"Memory"},{id:"performance",label:"Performance"},{id:"clients",label:"Clients"},{id:"persistence",label:"Persistence"},{id:"replication",label:"Replication / Cluster"},{id:"config",label:"Config"}],h=he(),p=T(()=>h.selectedConnection),{activeSection:$,autoRefresh:b,error:u,isInitialLoading:k,isLoading:w,isActionLoading:y,insights:m,refresh:v,killClient:l}=or({connection:p,databaseIndex:T(()=>c.databaseIndex)});return(r,d)=>{const R=Ce,V=me,x=ce,g=wt,C=Ae,O=Re,H=Pe,j=Le;return f(),_("div",ar,[S(g,{icon:"hugeicons:activity-02",title:"Instance Insights"},{context:E(()=>[r.dbType===t(ue).REDIS?(f(),W(Te("hugeicons:database-sync-01"),{key:0})):N("",!0)]),actions:E(()=>[S(It,{compact:"","trigger-id":"redis-instance-insights-db-index","trigger-class":"bg-background",databases:r.databases,"database-index":r.databaseIndex,"onUpdate:databaseIndex":d[0]||(d[0]=z=>s("update:databaseIndex",z))},null,8,["databases","database-index"]),e("div",ir,[S(R,{id:"redis-insights-auto-refresh","model-value":t(b),"onUpdate:modelValue":d[1]||(d[1]=z=>le(b)?b.value=z:null)},null,8,["model-value"]),d[3]||(d[3]=e("label",{for:"redis-insights-auto-refresh",class:"cursor-pointer"}," Auto refresh ",-1))]),S(x,{size:"xxs",variant:"outline",disabled:t(w)||t(y),onClick:t(v)},{default:E(()=>[S(V,{name:"hugeicons:redo",class:"size-3.5!"}),d[4]||(d[4]=M(" Refresh "))]),_:1},8,["disabled","onClick"])]),_:1}),S(j,{modelValue:t($),"onUpdate:modelValue":d[2]||(d[2]=z=>le($)?$.value=z:null),class:"flex flex-1 min-h-0 flex-col gap-0"},{default:E(()=>{var z,q,Y,J,B,A,G,Z;return[S(O,{class:"h-8 max-w-full justify-start! shrink-0 overflow-x-auto"},{default:E(()=>[(f(),_(D,null,F(o,ae=>S(C,{key:ae.id,value:ae.id,class:"min-w-fit shrink-0 cursor-pointer rounded-sm px-1.5 text-xs"},{default:E(()=>[M(a(ae.label),1)]),_:2},1032,["value"])),64))]),_:1}),t(u)?(f(),W(H,{key:0,variant:"destructive"},{default:E(()=>[M(a(t(u)),1)]),_:1})):N("",!0),t(k)&&!t(m)?(f(),_("div",rr,[S(V,{name:"hugeicons:redo",class:"size-4 animate-spin"}),d[5]||(d[5]=M(" Loading Redis instance insights... "))])):(f(),_("div",lr,[te(S(ni,{overview:(z=t(m))==null?void 0:z.overview},null,8,["overview"]),[[se,t($)==="overview"]]),te(S(Pa,{keyspace:(q=t(m))==null?void 0:q.keyspace},null,8,["keyspace"]),[[se,t($)==="keyspace"]]),te(S(Ja,{memory:(Y=t(m))==null?void 0:Y.memory},null,8,["memory"]),[[se,t($)==="memory"]]),te(S(Ti,{performance:(J=t(m))==null?void 0:J.performance},null,8,["performance"]),[[se,t($)==="performance"]]),te(S(la,{clients:(B=t(m))==null?void 0:B.clients,"is-action-loading":t(y),onKillClient:t(l)},null,8,["clients","is-action-loading","onKillClient"]),[[se,t($)==="clients"]]),te(S(Hi,{persistence:(A=t(m))==null?void 0:A.persistence},null,8,["persistence"]),[[se,t($)==="persistence"]]),te(S(sr,{replication:(G=t(m))==null?void 0:G.replication},null,8,["replication"]),[[se,t($)==="replication"]]),te(S(ca,{config:(Z=t(m))==null?void 0:Z.config},null,8,["config"]),[[se,t($)==="config"]])]))]}),_:1},8,["modelValue"])])}}}),ur={class:"h-full"},cr={key:0,class:"h-full p-4 flex flex-col items-center justify-center text-muted-foreground"},wr=U({__name:"index",setup(n){const i=We(),c=he(),s=Ye(),{activeTab:o}=He(s),h=T(()=>String(i.params.connectionId||"")),p=T(()=>h.value?c.connections.find(y=>y.id===h.value):null),$=T(()=>{var y;return((y=p.value)==null?void 0:y.connectionString)||""}),b=T(()=>{var y;return(y=p.value)==null?void 0:y.type}),u=T(()=>{var y,m,v;return b.value===ue.REDIS?((y=p.value)==null?void 0:y.name)||"Redis":((m=p.value)==null?void 0:m.database)||((v=p.value)==null?void 0:v.name)||"database"}),k=T(()=>b.value===ue.REDIS?p.value??void 0:void 0),w=Tt({connection:k,mode:"meta"});return re(()=>{var y,m;return(m=(y=o.value)==null?void 0:y.metadata)==null?void 0:m.databaseIndex},y=>{typeof y=="number"&&(w.selectedDatabaseIndex.value=y)},{immediate:!0}),(y,m)=>{const v=me;return f(),_("div",ur,[t(p)?t(b)===t(ue).REDIS?(f(),W(dr,{key:1,"database-name":t(u),"database-index":t(w).selectedDatabaseIndex.value,databases:t(w).databases.value,"db-type":t(b),"onUpdate:databaseIndex":m[0]||(m[0]=l=>t(w).selectedDatabaseIndex.value=l)},null,8,["database-name","database-index","databases","db-type"])):t(b)===t(ue).POSTGRES?(f(),W(eo,{key:2,"db-connection-string":t($),"database-name":t(u),"db-type":t(b)},null,8,["db-connection-string","database-name","db-type"])):(f(),W(qo,{key:3,"db-connection-string":t($),"database-name":t(u),"db-type":t(b)},null,8,["db-connection-string","database-name","db-type"])):(f(),_("div",cr,[S(v,{name:"hugeicons:plug-socket",class:"size-12 mb-2 opacity-50"}),m[1]||(m[1]=e("p",{class:"text-sm"},"Select a connection to open Instance Insights",-1))]))])}}});export{wr as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{az as m,a6 as a,A as f,aA as ie,a4 as le,a5 as r,aB as N,r as E,aC as G,aD as y,aE as B,aF as T,a as ce,c as v,ah as ue,au as O,aG as de,aH as he,aI as D}from"./BcsKoAPU.js";const Se=[{type:a.POSTGRES,name:"PostgreSQL",icon:m(f,{name:"logos:postgresql"}),isSupport:!0,description:"Relational SQL workflows"},{type:a.MYSQL,name:"MySQL",icon:m(f,{name:"logos:mysql"}),isSupport:!0,isBeta:!0,description:"Relational SQL workflows"},{type:a.MARIADB,name:"MariaDB",icon:m(f,{name:"logos:mariadb-icon"}),isSupport:!0,isBeta:!0,description:"Relational SQL workflows"},{type:a.ORACLE,name:"Oracle",icon:m(f,{name:"simple-icons:oracle",class:"text-red-500"}),isSupport:!1,unsupportedLabel:"Coming soon",description:"Relational SQL workflows"},{type:a.SQLITE3,name:"SQLite",icon:m(f,{name:"file-icons:sqlite"}),isSupport:!0,isBeta:!0,description:"Local file, Cloudflare D1, Turso"},{type:a.REDIS,name:"Redis",icon:m(f,{name:"logos:redis"}),isSupport:!0,isBeta:!0,description:"Browser, workbench, analysis"},{type:a.MSSQL,name:"SQL Server",icon:m(f,{name:"simple-icons:microsoftsqlserver"}),isSupport:!1,unsupportedLabel:"Coming soon"},{type:a.SNOWFLAKE,name:"Snowflake",icon:m(f,{name:"simple-icons:snowflake"}),isSupport:!1,unsupportedLabel:"Coming soon"}],ve={[a.MYSQL2]:a.MYSQL,[a.BETTER_SQLITE3]:a.SQLITE3},pe={[a.POSTGRES]:"5432",[a.MYSQL]:"3306",[a.MARIADB]:"3306",[a.MYSQL2]:"3306",[a.REDIS]:"6379",[a.MSSQL]:"1433",[a.ORACLE]:"1521",[a.BETTER_SQLITE3]:"0",[a.SQLITE3]:"0",[a.SNOWFLAKE]:"443"},Te=t=>{const u=ve[t]??t;return Se.find(d=>d.type===u)},Ae=t=>t!==!1&&t!=="false"&&t!=="0",Re=(t,u)=>t.type===a.SQLITE3&&!u;function me(t){const u=ie({type:t.type,method:t.method,providerKind:"providerKind"in t?t.providerKind:void 0,managedSqlite:"managedSqlite"in t?t.managedSqlite:void 0}),d=le({type:t.type,method:t.method,providerKind:u,managedSqlite:"managedSqlite"in t?t.managedSqlite:void 0});return t.method===r.MANAGED?{...t,providerKind:u,family:d}:{...t,providerKind:u,family:d}}const fe={healthCheck:t=>$fetch("/api/managment-connection/health-check",{method:"POST",body:me(t)})},Ee=new Set([r.STRING,r.FORM]),_=t=>t?t===a.SQLITE3?[r.FILE,r.MANAGED]:[r.STRING,r.FORM]:[],R=()=>({provider:T.CLOUDFLARE_D1,accountId:"",databaseId:"",databaseName:"",apiToken:"",url:"",authToken:"",branchName:""}),Y=t=>t===T.TURSO?D.TURSO:D.CLOUDFLARE_D1,ge=t=>t===a.ORACLE?"serviceName":"database",Le=t=>{switch(t){case a.POSTGRES:return"postgresql";case a.MARIADB:return"mariadb";case a.ORACLE:return"oracledb";case a.REDIS:return"redis";case a.SNOWFLAKE:return"snowflake";case a.MYSQL:case a.MYSQL2:return"mysql";default:return""}},Ie=t=>{const u=t.replace(/\\/g,"/");return`sqlite3://${u.startsWith("/")?"":"/"}${u}`},be=t=>{const u=t.split(/[\\/]/).pop()||"";return u.replace(/\.(sqlite3?|db3?)$/i,"")||u};function Ce(t){const u=N(t.open),d=N(t.editingConnection),$=N(t.workspaceId),I=E(1),c=E(a.POSTGRES),g=E("my-abc-db"),l=E(r.STRING),b=E(""),e=G({host:"",port:"",username:"",password:"",database:"",serviceName:"",filePath:"",sslEnabled:!1,sslMode:B.DISABLE,sslCA:"",sslCert:"",sslKey:"",sslRejectUnauthorized:!0,sshEnabled:!1,sshHost:"",sshPort:22,sshUsername:"",sshAuthMethod:y.PASSWORD,sshPassword:"",sshPrivateKey:"",sshStoreInKeychain:!0,sshUseKey:!1}),i=G(R()),C=E([]),h=E("idle"),p=E(""),j=ce(),H=v(()=>_(c.value)),w=v(()=>ue()),W=v(()=>l.value===r.FILE),K=v(()=>{var n;return c.value===a.SQLITE3&&w.value&&typeof window<"u"&&typeof((n=window.electronAPI)==null?void 0:n.window.pickSqliteFile)=="function"}),A=v(()=>ge(c.value)==="serviceName"),z=v(()=>A.value?"Service Name":"Database"),x=v(()=>A.value?"ORCLPDB1":"my_database"),M=v(()=>Ee.has(l.value)),L=n=>n&&pe[n]||"",V=()=>{const n=j.tags.find(o=>o.name==="dev");return n?[n.id]:[]},J=()=>{if(!(!e.sslEnabled||!M.value))return{mode:e.sslMode,ca:e.sslCA,cert:e.sslCert,key:e.sslKey,rejectUnauthorized:e.sslRejectUnauthorized}},X=()=>{if(!(!e.sshEnabled||!M.value))return{enabled:!0,host:e.sshHost,port:e.sshPort,username:e.sshUsername,authMethod:e.sshUseKey?y.KEY:y.PASSWORD,password:e.sshPassword,privateKey:e.sshPrivateKey,storeInKeychain:e.sshStoreInKeychain,useSshKey:e.sshUseKey}},k=()=>{const n={host:e.host,port:e.port||L(c.value),username:e.username,password:e.password,ssl:J(),ssh:X()};return A.value?n.serviceName=e.serviceName:n.database=e.database,n},q=()=>i.provider===T.TURSO?{provider:T.TURSO,url:i.url,authToken:i.authToken,branchName:i.branchName}:{provider:T.CLOUDFLARE_D1,accountId:i.accountId,databaseId:i.databaseId,databaseName:i.databaseName,apiToken:i.apiToken},Z=()=>{const n=Le(c.value),o=e.port||L(c.value),s=A.value?e.serviceName:e.database;if(!n||!e.host||!e.username||!s)return;const P=e.password?`${e.username}:${e.password}`:e.username;return`${n}://${P}@${e.host}${o?`:${o}`:""}/${s}`},ee=()=>{const n=c.value;if(!n)throw new Error("Database type is required.");return l.value===r.STRING?{type:n,method:r.STRING,stringConnection:b.value}:l.value===r.FILE?{type:a.SQLITE3,method:r.FILE,filePath:e.filePath}:l.value===r.MANAGED?{type:a.SQLITE3,method:r.MANAGED,providerKind:Y(i.provider),managedSqlite:q()}:{type:n,method:r.FORM,...k()}},Q=()=>{I.value=1,c.value=a.POSTGRES,g.value="my-abc-db",l.value=r.STRING,b.value="",e.host="",e.port=L(a.POSTGRES),e.username="",e.password="",e.database="",e.serviceName="",e.filePath="",e.sslEnabled=!1,e.sslMode=B.DISABLE,e.sslCA="",e.sslCert="",e.sslKey="",e.sslRejectUnauthorized=!0,e.sshEnabled=!1,e.sshHost="",e.sshPort=22,e.sshUsername="",e.sshAuthMethod=y.PASSWORD,e.sshPassword="",e.sshPrivateKey="",e.sshStoreInKeychain=!0,e.sshUseKey=!1,Object.assign(i,R()),C.value=V(),h.value="idle",p.value=""},se=()=>{I.value===1&&c.value&&(I.value=2)},ae=()=>{I.value=1,h.value="idle",p.value=""},F=async()=>{var n;if(l.value===r.FILE&&!w.value)return h.value="error",p.value="SQLite file connections are available only in the desktop app.",!1;h.value="testing",p.value="";try{const o=await fe.healthCheck(ee());return o.isConnectedSuccess?(h.value="success",p.value="",!0):(h.value="error",p.value=o.message||"Connection failed. Please check your details and try again.",!1)}catch(o){return h.value="error",p.value=((n=o==null?void 0:o.data)==null?void 0:n.message)||(o==null?void 0:o.message)||"Connection failed. Please check your details and try again.",!1}},te=async()=>{var P,U;const o=!!!d.value;if(o&&!await F())return;const s={workspaceId:$.value,id:((P=d.value)==null?void 0:P.id)||he(),name:g.value,type:c.value,method:l.value,createdAt:((U=d.value)==null?void 0:U.createdAt)||de().toISOString(),tagIds:[...C.value]};if(l.value===r.STRING)s.connectionString=b.value;else if(l.value===r.FILE)s.filePath=e.filePath,s.connectionString=Ie(e.filePath),s.providerKind=D.SQLITE_FILE;else if(l.value===r.MANAGED)s.providerKind=Y(i.provider),s.managedSqlite=q();else{const S=k();s.host=S.host,s.port=S.port,s.username=S.username,s.password=S.password,s.database=S.database,s.serviceName=S.serviceName,s.ssl=S.ssl,s.ssh=S.ssh,s.connectionString=Z()}o?t.onAddNew(s):t.onUpdate(s),t.onClose()},ne=()=>{switch(c.value){case a.POSTGRES:return"postgresql://username:password@localhost:5432/database";case a.MYSQL:case a.MYSQL2:return"mysql://username:password@localhost:3306/database";case a.MARIADB:return"mariadb://username:password@localhost:3306/database";case a.ORACLE:return"oracledb://username:password@localhost:1521/ORCLPDB1";case a.REDIS:return"redis://username:password@localhost:6379";case a.SNOWFLAKE:return"snowflake://username:password@account.snowflakecomputing.com:443/database";case a.SQLITE3:return"/Users/you/data/app.sqlite";default:return""}},oe=async()=>{var o;if(!K.value)return;const n=await((o=window.electronAPI)==null?void 0:o.window.pickSqliteFile());n&&(e.filePath=n,!d.value&&g.value==="my-abc-db"&&(g.value=be(n)),h.value="idle")},re=v(()=>g.value?l.value===r.STRING?!!b.value:l.value===r.FILE?w.value&&!!e.filePath:l.value===r.MANAGED?i.provider===T.TURSO?!!(i.url&&i.authToken):!!(i.accountId&&i.databaseId&&i.apiToken):A.value?!!(e.host&&(e.port||L(c.value))&&e.username&&e.password&&e.serviceName):!!(e.host&&(e.port||L(c.value))&&e.username&&e.database):!1);return O(c,n=>{const o=_(n);o.length>0&&!o.includes(l.value)&&(l.value=o[0]),n===a.SQLITE3?(e.host="",e.port="",e.username="",e.password="",e.database="",e.serviceName="",e.sslEnabled=!1,e.sshEnabled=!1):(e.filePath="",Object.assign(i,R()),n!==a.ORACLE&&(e.serviceName=""),d.value||(e.port=L(n))),h.value="idle"}),O(l,n=>{n!==r.FILE&&(e.filePath=""),n!==r.MANAGED&&Object.assign(i,R()),h.value="idle"}),O(u,n=>{var o;if(n)if(d.value){const s=d.value;g.value=s.name,c.value=s.type,l.value=s.method,b.value=s.connectionString||"",e.host=s.host||"",e.port=s.port||"",e.username=s.username||"",e.password=s.password||"",e.database=s.database||"",e.serviceName=s.serviceName||"",e.filePath=s.filePath||"",Object.assign(i,{...R(),...s.managedSqlite??{}}),e.sslEnabled=!!s.ssl,s.ssl&&(e.sslMode=s.ssl.mode,e.sslCA=s.ssl.ca||"",e.sslCert=s.ssl.cert||"",e.sslKey=s.ssl.key||"",e.sslRejectUnauthorized=s.ssl.rejectUnauthorized??!0),e.sshEnabled=!!((o=s.ssh)!=null&&o.enabled),s.ssh&&(e.sshHost=s.ssh.host||"",e.sshPort=s.ssh.port||22,e.sshUsername=s.ssh.username||"",e.sshAuthMethod=s.ssh.authMethod||y.PASSWORD,e.sshPassword=s.ssh.password||"",e.sshPrivateKey=s.ssh.privateKey||"",e.sshStoreInKeychain=s.ssh.storeInKeychain??!0,e.sshUseKey=s.ssh.useSshKey??s.ssh.authMethod===y.KEY),C.value=[...s.tagIds??[]],I.value=2}else Q()},{immediate:!0}),{step:I,dbType:c,connectionName:g,connectionMethod:l,connectionString:b,formData:e,managedSqlite:i,tagIds:C,testStatus:h,testErrorMessage:p,handleNext:se,handleBack:ae,handleTestConnection:F,handleCreateConnection:te,getDefaultPort:()=>L(c.value),getConnectionPlaceholder:ne,availableConnectionMethods:H,structuredTargetLabel:z,structuredTargetPlaceholder:x,canUseNetworkOptions:M,canPickSqliteFile:K,isFileMethod:W,isFormValid:re,pickSqliteFile:oe,resetForm:Q}}export{Re as a,Se as d,Te as g,Ae as i,Ce as u};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import{_ as s,c as xt,l as E,d as q,ac as kt,ad as vt,ae as _t,af as bt,E as wt,ag as St,A as Et}from"./DHAL8jJG.js";import{d as nt}from"./C6dIAdHr.js";import"./BcsKoAPU.js";var X=function(){var n=s(function(f,r,a,h){for(a=a||{},h=f.length;h--;a[f[h]]=r);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],i=[1,11],d=[1,12],c=[1,13],g=[1,16],m=[1,17],p={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:s(function(r,a,h,u,y,o,S){var k=o.length-1;switch(y){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.getCommonDb().setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 15:u.addTask(o[k],0,""),this.$=o[k];break;case 16:u.addEvent(o[k].substr(2)),this.$=o[k];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:i,16:d,17:c,18:14,19:15,20:g,21:m},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:l,14:i,16:d,17:c,18:14,19:15,20:g,21:m},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:s(function(r,a){if(a.recoverable)this.trace(r);else{var h=new Error(r);throw h.hash=a,h}},"parseError"),parse:s(function(r){var a=this,h=[0],u=[],y=[null],o=[],S=this.table,k="",M=0,C=0,B=2,J=1,O=o.slice.call(arguments,1),v=Object.create(this.lexer),N={yy:{}};for(var L in this.yy)Object.prototype.hasOwnProperty.call(this.yy,L)&&(N.yy[L]=this.yy[L]);v.setInput(r,N.yy),N.yy.lexer=v,N.yy.parser=this,typeof v.yylloc>"u"&&(v.yylloc={});var b=v.yylloc;o.push(b);var $=v.options&&v.options.ranges;typeof N.yy.parseError=="function"?this.parseError=N.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function R(T){h.length=h.length-2*T,y.length=y.length-T,o.length=o.length-T}s(R,"popStack");function P(){var T;return T=u.pop()||v.lex()||J,typeof T!="number"&&(T instanceof Array&&(u=T,T=u.pop()),T=a.symbols_[T]||T),T}s(P,"lex");for(var w,A,I,K,z={},j,H,et,G;;){if(A=h[h.length-1],this.defaultActions[A]?I=this.defaultActions[A]:((w===null||typeof w>"u")&&(w=P()),I=S[A]&&S[A][w]),typeof I>"u"||!I.length||!I[0]){var Q="";G=[];for(j in S[A])this.terminals_[j]&&j>B&&G.push("'"+this.terminals_[j]+"'");v.showPosition?Q="Parse error on line "+(M+1)+`:
|
|
2
|
+
`+v.showPosition()+`
|
|
3
|
+
Expecting `+G.join(", ")+", got '"+(this.terminals_[w]||w)+"'":Q="Parse error on line "+(M+1)+": Unexpected "+(w==J?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(Q,{text:v.match,token:this.terminals_[w]||w,line:v.yylineno,loc:b,expected:G})}if(I[0]instanceof Array&&I.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+w);switch(I[0]){case 1:h.push(w),y.push(v.yytext),o.push(v.yylloc),h.push(I[1]),w=null,C=v.yyleng,k=v.yytext,M=v.yylineno,b=v.yylloc;break;case 2:if(H=this.productions_[I[1]][1],z.$=y[y.length-H],z._$={first_line:o[o.length-(H||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(H||1)].first_column,last_column:o[o.length-1].last_column},$&&(z._$.range=[o[o.length-(H||1)].range[0],o[o.length-1].range[1]]),K=this.performAction.apply(z,[k,C,M,N.yy,I[1],y,o].concat(O)),typeof K<"u")return K;H&&(h=h.slice(0,-1*H*2),y=y.slice(0,-1*H),o=o.slice(0,-1*H)),h.push(this.productions_[I[1]][0]),y.push(z.$),o.push(z._$),et=S[h[h.length-2]][h[h.length-1]],h.push(et);break;case 3:return!0}}return!0},"parse")},x=function(){var f={EOF:1,parseError:s(function(a,h){if(this.yy.parser)this.yy.parser.parseError(a,h);else throw new Error(a)},"parseError"),setInput:s(function(r,a){return this.yy=a||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:s(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var a=r.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:s(function(r){var a=r.length,h=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),h.length-1&&(this.yylineno-=h.length-1);var y=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:h?(h.length===u.length?this.yylloc.first_column:0)+u[u.length-h.length].length-h[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:s(function(){return this._more=!0,this},"more"),reject:s(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:s(function(r){this.unput(this.match.slice(r))},"less"),pastInput:s(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s(function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
5
|
+
`+a+"^"},"showPosition"),test_match:s(function(r,a){var h,u,y;if(this.options.backtrack_lexer&&(y={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(y.yylloc.range=this.yylloc.range.slice(0))),u=r[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+r[0].length},this.yytext+=r[0],this.match+=r[0],this.matches=r,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(r[0].length),this.matched+=r[0],h=this.performAction.call(this,this.yy,this,a,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),h)return h;if(this._backtrack){for(var o in y)this[o]=y[o];return!1}return!1},"test_match"),next:s(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var r,a,h,u;this._more||(this.yytext="",this.match="");for(var y=this._currentRules(),o=0;o<y.length;o++)if(h=this._input.match(this.rules[y[o]]),h&&(!a||h[0].length>a[0].length)){if(a=h,u=o,this.options.backtrack_lexer){if(r=this.test_match(h,y[o]),r!==!1)return r;if(this._backtrack){a=!1;continue}else return!1}else if(!this.options.flex)break}return a?(r=this.test_match(a,y[u]),r!==!1?r:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:s(function(){var a=this.next();return a||this.lex()},"lex"),begin:s(function(a){this.conditionStack.push(a)},"begin"),popState:s(function(){var a=this.conditionStack.length-1;return a>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:s(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:s(function(a){return a=this.conditionStack.length-1-Math.abs(a||0),a>=0?this.conditionStack[a]:"INITIAL"},"topState"),pushState:s(function(a){this.begin(a)},"pushState"),stateStackSize:s(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:s(function(a,h,u,y){switch(u){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^:\n]+)/i,/^(?::\s(?:[^:\n]|:(?!\s))+)/i,/^(?:[^#:\n]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}};return f}();p.lexer=x;function _(){this.yy={}}return s(_,"Parser"),_.prototype=p,p.Parser=_,new _}();X.parser=X;var Tt=X,at={};wt(at,{addEvent:()=>yt,addSection:()=>ht,addTask:()=>pt,addTaskOrg:()=>gt,clear:()=>ct,default:()=>It,getCommonDb:()=>ot,getSections:()=>dt,getTasks:()=>ut});var V="",lt=0,Y=[],U=[],W=[],ot=s(()=>St,"getCommonDb"),ct=s(function(){Y.length=0,U.length=0,V="",W.length=0,Et()},"clear"),ht=s(function(n){V=n,Y.push(n)},"addSection"),dt=s(function(){return Y},"getSections"),ut=s(function(){let n=it();const t=100;let e=0;for(;!n&&e<t;)n=it(),e++;return U.push(...W),U},"getTasks"),pt=s(function(n,t,e){const l={id:lt++,section:V,type:V,task:n,score:t||0,events:e?[e]:[]};W.push(l)},"addTask"),yt=s(function(n){W.find(e=>e.id===lt-1).events.push(n)},"addEvent"),gt=s(function(n){const t={section:V,type:V,description:n,task:n,classes:[]};U.push(t)},"addTaskOrg"),it=s(function(){const n=s(function(e){return W[e].processed},"compileTask");let t=!0;for(const[e,l]of W.entries())n(e),t=t&&l.processed;return t},"compileTasks"),It={clear:ct,getCommonDb:ot,addSection:ht,getSections:dt,getTasks:ut,addTask:pt,addTaskOrg:gt,addEvent:yt},Nt=12,Z=s(function(n,t){const e=n.append("rect");return e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),e.attr("rx",t.rx),e.attr("ry",t.ry),t.class!==void 0&&e.attr("class",t.class),e},"drawRect"),Lt=s(function(n,t){const l=n.append("circle").attr("cx",t.cx).attr("cy",t.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),i=n.append("g");i.append("circle").attr("cx",t.cx-15/3).attr("cy",t.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),i.append("circle").attr("cx",t.cx+15/3).attr("cy",t.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function d(m){const p=nt().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);m.append("path").attr("class","mouth").attr("d",p).attr("transform","translate("+t.cx+","+(t.cy+2)+")")}s(d,"smile");function c(m){const p=nt().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);m.append("path").attr("class","mouth").attr("d",p).attr("transform","translate("+t.cx+","+(t.cy+7)+")")}s(c,"sad");function g(m){m.append("line").attr("class","mouth").attr("stroke",2).attr("x1",t.cx-5).attr("y1",t.cy+7).attr("x2",t.cx+5).attr("y2",t.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return s(g,"ambivalent"),t.score>3?d(i):t.score<3?c(i):g(i),l},"drawFace"),Mt=s(function(n,t){const e=n.append("circle");return e.attr("cx",t.cx),e.attr("cy",t.cy),e.attr("class","actor-"+t.pos),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("r",t.r),e.class!==void 0&&e.attr("class",e.class),t.title!==void 0&&e.append("title").text(t.title),e},"drawCircle"),ft=s(function(n,t){const e=t.text.replace(/<br\s*\/?>/gi," "),l=n.append("text");l.attr("x",t.x),l.attr("y",t.y),l.attr("class","legend"),l.style("text-anchor",t.anchor),t.class!==void 0&&l.attr("class",t.class);const i=l.append("tspan");return i.attr("x",t.x+t.textMargin*2),i.text(e),l},"drawText"),$t=s(function(n,t){function e(i,d,c,g,m){return i+","+d+" "+(i+c)+","+d+" "+(i+c)+","+(d+g-m)+" "+(i+c-m*1.2)+","+(d+g)+" "+i+","+(d+g)}s(e,"genPoints");const l=n.append("polygon");l.attr("points",e(t.x,t.y,50,20,7)),l.attr("class","labelBox"),t.y=t.y+t.labelMargin,t.x=t.x+.5*t.labelMargin,ft(n,t)},"drawLabel"),At=s(function(n,t,e){const l=n.append("g"),i=D();i.x=t.x,i.y=t.y,i.fill=t.fill,i.width=e.width,i.height=e.height,i.class="journey-section section-type-"+t.num,i.rx=3,i.ry=3,Z(l,i),mt(e)(t.text,l,i.x,i.y,i.width,i.height,{class:"journey-section section-type-"+t.num},e,t.colour)},"drawSection"),rt=-1,Ht=s(function(n,t,e){const l=t.x+e.width/2,i=n.append("g");rt++;const d=300+5*30;i.append("line").attr("id","task"+rt).attr("x1",l).attr("y1",t.y).attr("x2",l).attr("y2",d).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Lt(i,{cx:l,cy:300+(5-t.score)*30,score:t.score});const c=D();c.x=t.x,c.y=t.y,c.fill=t.fill,c.width=e.width,c.height=e.height,c.class="task task-type-"+t.num,c.rx=3,c.ry=3,Z(i,c),mt(e)(t.task,i,c.x,c.y,c.width,c.height,{class:"task"},e,t.colour)},"drawTask"),Pt=s(function(n,t){Z(n,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,class:"rect"}).lower()},"drawBackgroundRect"),Ct=s(function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},"getTextObj"),D=s(function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),mt=function(){function n(i,d,c,g,m,p,x,_){const f=d.append("text").attr("x",c+m/2).attr("y",g+p/2+5).style("font-color",_).style("text-anchor","middle").text(i);l(f,x)}s(n,"byText");function t(i,d,c,g,m,p,x,_,f){const{taskFontSize:r,taskFontFamily:a}=_,h=i.split(/<br\s*\/?>/gi);for(let u=0;u<h.length;u++){const y=u*r-r*(h.length-1)/2,o=d.append("text").attr("x",c+m/2).attr("y",g).attr("fill",f).style("text-anchor","middle").style("font-size",r).style("font-family",a);o.append("tspan").attr("x",c+m/2).attr("dy",y).text(h[u]),o.attr("y",g+p/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),l(o,x)}}s(t,"byTspan");function e(i,d,c,g,m,p,x,_){const f=d.append("switch"),a=f.append("foreignObject").attr("x",c).attr("y",g).attr("width",m).attr("height",p).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");a.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(i),t(i,f,c,g,m,p,x,_),l(a,x)}s(e,"byFo");function l(i,d){for(const c in d)c in d&&i.attr(c,d[c])}return s(l,"_setTextAttrs"),function(i){return i.textPlacement==="fo"?e:i.textPlacement==="old"?n:t}}(),Rt=s(function(n){n.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},"initGraphics");function tt(n,t){n.each(function(){var e=q(this),l=e.text().split(/(\s+|<br>)/).reverse(),i,d=[],c=1.1,g=e.attr("y"),m=parseFloat(e.attr("dy")),p=e.text(null).append("tspan").attr("x",0).attr("y",g).attr("dy",m+"em");for(let x=0;x<l.length;x++)i=l[l.length-1-x],d.push(i),p.text(d.join(" ").trim()),(p.node().getComputedTextLength()>t||i==="<br>")&&(d.pop(),p.text(d.join(" ").trim()),i==="<br>"?d=[""]:d=[i],p=e.append("tspan").attr("x",0).attr("y",g).attr("dy",c+"em").text(i))})}s(tt,"wrap");var Ft=s(function(n,t,e,l){var _;const i=e%Nt-1,d=n.append("g");t.section=i,d.attr("class",(t.class?t.class+" ":"")+"timeline-node "+("section-"+i));const c=d.append("g"),g=d.append("g"),p=g.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(tt,t.width).node().getBBox(),x=(_=l.fontSize)!=null&&_.replace?l.fontSize.replace("px",""):l.fontSize;return t.height=p.height+x*1.1*.5+t.padding,t.height=Math.max(t.height,t.maxHeight),t.width=t.width+2*t.padding,g.attr("transform","translate("+t.width/2+", "+t.padding/2+")"),Vt(c,t,i,l),t},"drawNode"),zt=s(function(n,t,e){var g;const l=n.append("g"),d=l.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(tt,t.width).node().getBBox(),c=(g=e.fontSize)!=null&&g.replace?e.fontSize.replace("px",""):e.fontSize;return l.remove(),d.height+c*1.1*.5+t.padding},"getVirtualNodeHeight"),Vt=s(function(n,t,e){n.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+t.type).attr("d",`M0 ${t.height-5} v${-t.height+2*5} q0,-5 5,-5 h${t.width-2*5} q5,0 5,5 v${t.height-5} H0 Z`),n.append("line").attr("class","node-line-"+e).attr("x1",0).attr("y1",t.height).attr("x2",t.width).attr("y2",t.height)},"defaultBkg"),F={drawRect:Z,drawCircle:Mt,drawSection:At,drawText:ft,drawLabel:$t,drawTask:Ht,drawBackgroundRect:Pt,getTextObj:Ct,getNoteRect:D,initGraphics:Rt,drawNode:Ft,getVirtualNodeHeight:zt},Wt=s(function(n,t,e,l){var O,v,N;const i=xt(),d=((O=i.timeline)==null?void 0:O.leftMargin)??50;E.debug("timeline",l.db);const c=i.securityLevel;let g;c==="sandbox"&&(g=q("#i"+t));const p=(c==="sandbox"?q(g.nodes()[0].contentDocument.body):q("body")).select("#"+t);p.append("g");const x=l.db.getTasks(),_=l.db.getCommonDb().getDiagramTitle();E.debug("task",x),F.initGraphics(p);const f=l.db.getSections();E.debug("sections",f);let r=0,a=0,h=0,u=0,y=50+d,o=50;u=50;let S=0,k=!0;f.forEach(function(L){const b={number:S,descr:L,section:S,width:150,padding:20,maxHeight:r},$=F.getVirtualNodeHeight(p,b,i);E.debug("sectionHeight before draw",$),r=Math.max(r,$+20)});let M=0,C=0;E.debug("tasks.length",x.length);for(const[L,b]of x.entries()){const $={number:L,descr:b,section:b.section,width:150,padding:20,maxHeight:a},R=F.getVirtualNodeHeight(p,$,i);E.debug("taskHeight before draw",R),a=Math.max(a,R+20),M=Math.max(M,b.events.length);let P=0;for(const w of b.events){const A={descr:w,section:b.section,number:b.section,width:150,padding:20,maxHeight:50};P+=F.getVirtualNodeHeight(p,A,i)}b.events.length>0&&(P+=(b.events.length-1)*10),C=Math.max(C,P)}E.debug("maxSectionHeight before draw",r),E.debug("maxTaskHeight before draw",a),f&&f.length>0?f.forEach(L=>{const b=x.filter(w=>w.section===L),$={number:S,descr:L,section:S,width:200*Math.max(b.length,1)-50,padding:20,maxHeight:r};E.debug("sectionNode",$);const R=p.append("g"),P=F.drawNode(R,$,S,i);E.debug("sectionNode output",P),R.attr("transform",`translate(${y}, ${u})`),o+=r+50,b.length>0&&st(p,b,S,y,o,a,i,M,C,r,!1),y+=200*Math.max(b.length,1),o=u,S++}):(k=!1,st(p,x,S,y,o,a,i,M,C,r,!0));const B=p.node().getBBox();E.debug("bounds",B),_&&p.append("text").text(_).attr("x",B.width/2-d).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),h=k?r+a+150:a+100,p.append("g").attr("class","lineWrapper").append("line").attr("x1",d).attr("y1",h).attr("x2",B.width+3*d).attr("y2",h).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),kt(void 0,p,((v=i.timeline)==null?void 0:v.padding)??50,((N=i.timeline)==null?void 0:N.useMaxWidth)??!1)},"draw"),st=s(function(n,t,e,l,i,d,c,g,m,p,x){var _;for(const f of t){const r={descr:f.task,section:e,number:e,width:150,padding:20,maxHeight:d};E.debug("taskNode",r);const a=n.append("g").attr("class","taskWrapper"),u=F.drawNode(a,r,e,c).height;if(E.debug("taskHeight after draw",u),a.attr("transform",`translate(${l}, ${i})`),d=Math.max(d,u),f.events){const y=n.append("g").attr("class","lineWrapper");let o=d;i+=100,o=o+Bt(n,f.events,e,l,i,c),i-=100,y.append("line").attr("x1",l+190/2).attr("y1",i+d).attr("x2",l+190/2).attr("y2",i+d+100+m+100).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}l=l+200,x&&!((_=c.timeline)!=null&&_.disableMulticolor)&&e++}i=i-10},"drawTasks"),Bt=s(function(n,t,e,l,i,d){let c=0;const g=i;i=i+100;for(const m of t){const p={descr:m,section:e,number:e,width:150,padding:20,maxHeight:50};E.debug("eventNode",p);const x=n.append("g").attr("class","eventWrapper"),f=F.drawNode(x,p,e,d).height;c=c+f,x.attr("transform",`translate(${l}, ${i})`),i=i+10+f}return i=g,c},"drawEvents"),Ot={setConf:s(()=>{},"setConf"),draw:Wt},jt=s(n=>{let t="";for(let e=0;e<n.THEME_COLOR_LIMIT;e++)n["lineColor"+e]=n["lineColor"+e]||n["cScaleInv"+e],vt(n["lineColor"+e])?n["lineColor"+e]=_t(n["lineColor"+e],20):n["lineColor"+e]=bt(n["lineColor"+e],20);for(let e=0;e<n.THEME_COLOR_LIMIT;e++){const l=""+(17-3*e);t+=`
|
|
7
|
+
.section-${e-1} rect, .section-${e-1} path, .section-${e-1} circle, .section-${e-1} path {
|
|
8
|
+
fill: ${n["cScale"+e]};
|
|
9
|
+
}
|
|
10
|
+
.section-${e-1} text {
|
|
11
|
+
fill: ${n["cScaleLabel"+e]};
|
|
12
|
+
}
|
|
13
|
+
.node-icon-${e-1} {
|
|
14
|
+
font-size: 40px;
|
|
15
|
+
color: ${n["cScaleLabel"+e]};
|
|
16
|
+
}
|
|
17
|
+
.section-edge-${e-1}{
|
|
18
|
+
stroke: ${n["cScale"+e]};
|
|
19
|
+
}
|
|
20
|
+
.edge-depth-${e-1}{
|
|
21
|
+
stroke-width: ${l};
|
|
22
|
+
}
|
|
23
|
+
.section-${e-1} line {
|
|
24
|
+
stroke: ${n["cScaleInv"+e]} ;
|
|
25
|
+
stroke-width: 3;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.lineWrapper line{
|
|
29
|
+
stroke: ${n["cScaleLabel"+e]} ;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.disabled, .disabled circle, .disabled text {
|
|
33
|
+
fill: lightgray;
|
|
34
|
+
}
|
|
35
|
+
.disabled text {
|
|
36
|
+
fill: #efefef;
|
|
37
|
+
}
|
|
38
|
+
`}return t},"genSections"),Gt=s(n=>`
|
|
39
|
+
.edge {
|
|
40
|
+
stroke-width: 3;
|
|
41
|
+
}
|
|
42
|
+
${jt(n)}
|
|
43
|
+
.section-root rect, .section-root path, .section-root circle {
|
|
44
|
+
fill: ${n.git0};
|
|
45
|
+
}
|
|
46
|
+
.section-root text {
|
|
47
|
+
fill: ${n.gitBranchLabel0};
|
|
48
|
+
}
|
|
49
|
+
.icon-container {
|
|
50
|
+
height:100%;
|
|
51
|
+
display: flex;
|
|
52
|
+
justify-content: center;
|
|
53
|
+
align-items: center;
|
|
54
|
+
}
|
|
55
|
+
.edge {
|
|
56
|
+
fill: none;
|
|
57
|
+
}
|
|
58
|
+
.eventWrapper {
|
|
59
|
+
filter: brightness(120%);
|
|
60
|
+
}
|
|
61
|
+
`,"getStyles"),qt=Gt,Kt={db:at,renderer:Ot,parser:Tt,styles:qt};export{Kt as diagram};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const c=/^create(?:\s+or\s+replace)?\s+(function|procedure)\b/i;function i(e){const t=e.trim().match(c);return t?t[1].toUpperCase():null}function u(e){const t=e.trim();return t?`${t.replace(/;+\s*$/,"")};`:""}function $(e,t,r){return`CALL "${e}"."${t}"();`}function m(e,t,r){return`SELECT * FROM "${e}"."${t}"();`}const s=e=>(e||"").split(",").map(t=>t.trim().split(" ")[1]).join(", ");function f(e,t,r=!1,n){const a=s(n);return`DROP FUNCTION IF EXISTS "${e}"."${t}"(${a})${r?" CASCADE":""};`}function g(e,t,r,n){const a=s(n);return`ALTER FUNCTION "${e}"."${t}"(${a}) RENAME TO "${r}";`}export{i as a,s as b,g as c,f as d,$ as e,m as f,u as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as r,I as n,J as d,L as u,g as s,e as c,o as m,n as p,j as f,i as x}from"./BcsKoAPU.js";const V=r({__name:"Textarea",props:{class:{},defaultValue:{},modelValue:{}},emits:["update:modelValue"],setup(i,{emit:l}){const e=i,a=n(e,"modelValue",l,{passive:!0,defaultValue:e.defaultValue});return(v,t)=>d((m(),c("textarea",{"onUpdate:modelValue":t[0]||(t[0]=o=>x(a)?a.value=o:null),"data-slot":"textarea",class:p(s(f)("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e.class))},null,2)),[[u,s(a)]])}});export{V as _};
|