@antelopejs/dms-database 0.0.12 → 0.0.13

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.
@@ -16,7 +16,7 @@ let DatabaseQueryPage = class DatabaseQueryPage extends (0, page_1.PageControlle
16
16
  icon: "i-ph-code",
17
17
  module: "database",
18
18
  order: 3,
19
- }, (0, layouts_1.DefaultLayout)({ hideHeader: true, fullWidth: true })) {
19
+ }, (0, layouts_1.DefaultLayout)({ hideHeader: true, fullWidth: true, fillHeight: true })) {
20
20
  static content = (0, custom_1.CustomComponent)("DmsDatabaseQuery").meta({
21
21
  name: "$dms_database.query.title",
22
22
  icon: "i-ph-code",
@@ -1 +1 @@
1
- {"version":3,"file":"query.js","sourceRoot":"","sources":["../../src/pages/query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,yDAA8E;AAC9E,kEAAwE;AACxE,oEAAuE;AAGhE,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,IAAA,qBAAc,EACnD,OAAO,EACP;IACE,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,iCAAiC;IAC9C,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,UAAU;IAClB,KAAK,EAAE,CAAC;CACT,EACD,IAAA,uBAAa,EAAC,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CACrD;IACC,MAAM,CAAC,OAAO,GAAG,IAAA,wBAAe,EAAC,kBAAkB,CAAC,CAAC,IAAI,CAAC;QACxD,IAAI,EAAE,2BAA2B;QACjC,IAAI,EAAE,WAAW;KAClB,CAAC,CAAC;;AAdQ,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,mBAAY,GAAE;GACF,iBAAiB,CAe7B"}
1
+ {"version":3,"file":"query.js","sourceRoot":"","sources":["../../src/pages/query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,yDAA8E;AAC9E,kEAAwE;AACxE,oEAAuE;AAGhE,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,IAAA,qBAAc,EACnD,OAAO,EACP;IACE,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,iCAAiC;IAC9C,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,UAAU;IAClB,KAAK,EAAE,CAAC;CACT,EACD,IAAA,uBAAa,EAAC,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CACvE;IACC,MAAM,CAAC,OAAO,GAAG,IAAA,wBAAe,EAAC,kBAAkB,CAAC,CAAC,IAAI,CAAC;QACxD,IAAI,EAAE,2BAA2B;QACjC,IAAI,EAAE,WAAW;KAClB,CAAC,CAAC;;AAdQ,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,mBAAY,GAAE;GACF,iBAAiB,CAe7B"}
@@ -268,7 +268,9 @@ onMounted(async () => {
268
268
  </script>
269
269
 
270
270
  <template>
271
- <div class="space-y-6 pb-6">
271
+ <!-- The page fills the panel (`fillHeight` in src/pages/query.ts): each
272
+ column scrolls on its own, and the grid scrolls when they stack. -->
273
+ <div class="flex min-h-0 flex-1 flex-col gap-6">
272
274
  <section class="flex flex-wrap items-center gap-4 pt-6 pb-2">
273
275
  <div
274
276
  class="rounded-lg bg-primary/10 shadow-sm shrink-0 ring ring-primary/20 flex items-center justify-center size-12"
@@ -293,8 +295,10 @@ onMounted(async () => {
293
295
  />
294
296
  </section>
295
297
 
296
- <div class="grid grid-cols-1 lg:grid-cols-[18rem_1fr] gap-5 items-start">
297
- <aside class="flex flex-col gap-5 lg:sticky lg:top-6 lg:max-h-[calc(100vh-6rem)]">
298
+ <div
299
+ class="grid min-h-0 flex-1 grid-cols-1 gap-5 pb-6 max-lg:overflow-y-auto lg:grid-cols-[18rem_1fr]"
300
+ >
301
+ <aside class="flex min-h-0 flex-col gap-5 lg:overflow-y-auto">
298
302
  <DmsDatabaseQueryHistoryPanel
299
303
  v-model:page="historyPage"
300
304
  :items="historyItems"
@@ -314,7 +318,7 @@ onMounted(async () => {
314
318
  />
315
319
  </aside>
316
320
 
317
- <div class="flex flex-col gap-5 min-w-0">
321
+ <div class="flex min-h-0 min-w-0 flex-col gap-5 lg:overflow-y-auto">
318
322
  <DmsDatabaseQueryBuilderPanel
319
323
  v-model="queryText"
320
324
  v-model:language="language"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antelopejs/dms-database",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",