@antelopejs/dms-database 0.0.10 → 0.0.11

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 DatabaseDataPage = class DatabaseDataPage extends (0, page_1.PageController)
16
16
  icon: "i-ph-rows",
17
17
  module: "database",
18
18
  order: 2,
19
- }, (0, layouts_1.DefaultLayout)({ fullWidth: true })) {
19
+ }, (0, layouts_1.DefaultLayout)({ fullWidth: true, fillHeight: true })) {
20
20
  static content = (0, custom_1.CustomComponent)("DmsDatabaseData").meta({
21
21
  name: "$dms_database.data.title",
22
22
  icon: "i-ph-rows",
@@ -1 +1 @@
1
- {"version":3,"file":"data.js","sourceRoot":"","sources":["../../src/pages/data.ts"],"names":[],"mappings":";;;;;;;;;AAAA,yDAA8E;AAC9E,kEAAwE;AACxE,oEAAuE;AAGhE,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,IAAA,qBAAc,EAClD,MAAM,EACN;IACE,WAAW,EAAE,0BAA0B;IACvC,WAAW,EAAE,gCAAgC;IAC7C,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,UAAU;IAClB,KAAK,EAAE,CAAC;CACT,EACD,IAAA,uBAAa,EAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CACnC;IACC,MAAM,CAAC,OAAO,GAAG,IAAA,wBAAe,EAAC,iBAAiB,CAAC,CAAC,IAAI,CAAC;QACvD,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,WAAW;KAClB,CAAC,CAAC;;AAdQ,4CAAgB;2BAAhB,gBAAgB;IAD5B,IAAA,mBAAY,GAAE;GACF,gBAAgB,CAe5B"}
1
+ {"version":3,"file":"data.js","sourceRoot":"","sources":["../../src/pages/data.ts"],"names":[],"mappings":";;;;;;;;;AAAA,yDAA8E;AAC9E,kEAAwE;AACxE,oEAAuE;AAGhE,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,IAAA,qBAAc,EAClD,MAAM,EACN;IACE,WAAW,EAAE,0BAA0B;IACvC,WAAW,EAAE,gCAAgC;IAC7C,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,UAAU;IAClB,KAAK,EAAE,CAAC;CACT,EACD,IAAA,uBAAa,EAAC,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CACrD;IACC,MAAM,CAAC,OAAO,GAAG,IAAA,wBAAe,EAAC,iBAAiB,CAAC,CAAC,IAAI,CAAC;QACvD,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,WAAW;KAClB,CAAC,CAAC;;AAdQ,4CAAgB;2BAAhB,gBAAgB;IAD5B,IAAA,mBAAY,GAAE;GACF,gBAAgB,CAe5B"}
@@ -16,7 +16,7 @@ let DatabaseSchemasPage = class DatabaseSchemasPage extends (0, page_1.PageContr
16
16
  icon: "i-ph-stack",
17
17
  module: "database",
18
18
  order: 1,
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)("DmsDatabaseSchemas").meta({
21
21
  name: "$dms_database.schemas.title",
22
22
  icon: "i-ph-stack",
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../src/pages/schemas.ts"],"names":[],"mappings":";;;;;;;;;AAAA,yDAA8E;AAC9E,kEAAwE;AACxE,oEAAuE;AAGhE,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,IAAA,qBAAc,EACrD,SAAS,EACT;IACE,WAAW,EAAE,6BAA6B;IAC1C,WAAW,EAAE,mCAAmC;IAChD,IAAI,EAAE,YAAY;IAClB,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,oBAAoB,CAAC,CAAC,IAAI,CAAC;QAC1D,IAAI,EAAE,6BAA6B;QACnC,IAAI,EAAE,YAAY;KACnB,CAAC,CAAC;;AAdQ,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,mBAAY,GAAE;GACF,mBAAmB,CAe/B"}
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../src/pages/schemas.ts"],"names":[],"mappings":";;;;;;;;;AAAA,yDAA8E;AAC9E,kEAAwE;AACxE,oEAAuE;AAGhE,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,IAAA,qBAAc,EACrD,SAAS,EACT;IACE,WAAW,EAAE,6BAA6B;IAC1C,WAAW,EAAE,mCAAmC;IAChD,IAAI,EAAE,YAAY;IAClB,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,oBAAoB,CAAC,CAAC,IAAI,CAAC;QAC1D,IAAI,EAAE,6BAA6B;QACnC,IAAI,EAAE,YAAY;KACnB,CAAC,CAAC;;AAdQ,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,mBAAY,GAAE;GACF,mBAAmB,CAe/B"}
@@ -982,7 +982,7 @@ registerGuard(() => {
982
982
  <template>
983
983
  <div
984
984
  ref="canvasWrapper"
985
- class="h-[calc(100vh-15rem)] min-h-[28rem] overflow-hidden rounded-xl border border-default"
985
+ class="min-h-0 flex-1 overflow-hidden rounded-xl border border-default"
986
986
  :class="panMode ? 'diagram-pan-mode' : 'diagram-select-mode'"
987
987
  >
988
988
  <DmsFlowCanvas
@@ -16,11 +16,10 @@ const fallbackFields = computed(() => {
16
16
  </script>
17
17
 
18
18
  <template>
19
- <!-- Studio layout: full height, only the grid scrolls. The offset accounts
20
- for the DMS shell chrome + page header — tune it at the visual
21
- checkpoint so the page itself never scrolls. -->
19
+ <!-- Studio layout: the page fills the panel (`fillHeight` in
20
+ src/pages/data.ts) and only the grid scrolls. -->
22
21
  <div
23
- class="flex h-[calc(100dvh-13.5rem)] min-h-[30rem] overflow-hidden rounded-lg border border-default bg-default"
22
+ class="flex min-h-0 flex-1 overflow-hidden rounded-lg border border-default bg-default"
24
23
  >
25
24
  <DmsDatabaseDataBrowserSidebar :schemas="schemas" />
26
25
  <div class="flex min-w-0 flex-1 flex-col">
@@ -149,7 +149,9 @@ useTableViewRowClick<TableListRow>(COMPONENT_ID, openInspector);
149
149
  </script>
150
150
 
151
151
  <template>
152
- <div class="space-y-5 pb-6">
152
+ <!-- The page fills the panel (`fillHeight` in src/pages/schemas.ts): the
153
+ list scrolls under the header, the diagram takes the height left. -->
154
+ <div class="flex min-h-0 flex-1 flex-col gap-5">
153
155
  <section class="flex flex-wrap items-center gap-4 pt-6 pb-2">
154
156
  <div
155
157
  class="rounded-lg bg-primary/10 shadow-sm shrink-0 ring ring-primary/20 flex items-center justify-center size-12"
@@ -180,7 +182,7 @@ useTableViewRowClick<TableListRow>(COMPONENT_ID, openInspector);
180
182
  </div>
181
183
  </section>
182
184
 
183
- <div v-show="view === 'list'" class="space-y-2">
185
+ <div v-show="view === 'list'" class="min-h-0 flex-1 space-y-2 overflow-y-auto">
184
186
  <p class="text-dimmed px-1 text-xs">
185
187
  <span class="font-mono">{{ selectedSchemaId }}</span>
186
188
  · {{ collectionsLabel }}
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@antelopejs/interface-core": ">=0.1.1 <1.0.0",
19
- "@antelopejs/interface-database": ">=0.1.7 <1.0.0",
19
+ "@antelopejs/interface-database": ">=0.1.8 <1.0.0",
20
20
  "@codemirror/autocomplete": "^6.18.6",
21
21
  "@codemirror/commands": "^6.8.1",
22
22
  "@codemirror/lang-javascript": "^6.2.4",
@@ -12,8 +12,8 @@ importers:
12
12
  specifier: '>=0.1.1 <1.0.0'
13
13
  version: 0.1.1
14
14
  '@antelopejs/interface-database':
15
- specifier: '>=0.1.7 <1.0.0'
16
- version: 0.1.7(@antelopejs/interface-core@0.1.1)
15
+ specifier: '>=0.1.8 <1.0.0'
16
+ version: 0.1.8(@antelopejs/interface-core@0.1.1)
17
17
  '@codemirror/autocomplete':
18
18
  specifier: ^6.18.6
19
19
  version: 6.20.3
@@ -82,10 +82,10 @@ packages:
82
82
  '@antelopejs/interface-core@0.1.1':
83
83
  resolution: {integrity: sha512-nGxElt51KGWIwGsUcFdGT7ikQEqDB+mLj4NQ/eFL/DI1+j65GJqq9PdkVT4x3/YKchNA48iMbzXyW7bKUsQ8Iw==}
84
84
 
85
- '@antelopejs/interface-database@0.1.7':
86
- resolution: {integrity: sha512-2rXQZ0ynLInKxk++2XUPH1fHqd5Sj6k0QC2UxqOzsdfUSoyCyhsfnbELEV/i6jenUHeXGZ2vESkwxXTS9KJpbg==}
85
+ '@antelopejs/interface-database@0.1.8':
86
+ resolution: {integrity: sha512-0u3jYG3/0KBD1D0Ls6ckgP9TUKBBtfClWXJfJZpvjx7QDVrUCao/H9Ud9Uia2+WrvrfBPjP3kFXhgSMCzXJdkg==}
87
87
  peerDependencies:
88
- '@antelopejs/interface-core': '>=0.0.3 <1.0.0'
88
+ '@antelopejs/interface-core': '>=0.1.1 <1.0.0'
89
89
 
90
90
  '@antfu/install-pkg@2.0.1':
91
91
  resolution: {integrity: sha512-iCKVQcIC0e3oDxEfs3SHQGW+ovhBMZmS1TE+bTk50rVyMCBmCfClv7Qi3HQKlumYwvjb/iIMeWCW2i67q6kFfQ==}
@@ -2930,7 +2930,7 @@ snapshots:
2930
2930
  dependencies:
2931
2931
  reflect-metadata: 0.2.2
2932
2932
 
2933
- '@antelopejs/interface-database@0.1.7(@antelopejs/interface-core@0.1.1)':
2933
+ '@antelopejs/interface-database@0.1.8(@antelopejs/interface-core@0.1.1)':
2934
2934
  dependencies:
2935
2935
  '@antelopejs/interface-core': 0.1.1
2936
2936
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antelopejs/dms-database",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,7 +32,7 @@
32
32
  "dev": "ajs project run -w -p playground",
33
33
  "generate": "ajs module exports generate",
34
34
  "lint:fix": "oxlint --fix --max-warnings=1000000 && oxfmt . && pnpm --dir frontend-vue lint:fix",
35
- "lint": "oxlint && oxfmt --check . && pnpm --dir frontend-vue lint",
35
+ "lint": "oxlint && oxfmt --check . && pnpm --dir frontend-vue lint && antelopejs-check-interface-ranges",
36
36
  "typecheck": "tsc --noEmit",
37
37
  "format": "oxfmt . && pnpm --dir frontend-vue format",
38
38
  "frontend:dev": "cd playground && pnpm frontend:dev",
@@ -46,13 +46,13 @@
46
46
  "@antelopejs/interface-api": ">=0.0.13 <1.0.0",
47
47
  "@antelopejs/interface-api-util": ">=0.1.2 <1.0.0",
48
48
  "@antelopejs/interface-core": ">=0.1.1 <1.0.0",
49
- "@antelopejs/interface-database": ">=0.1.7 <1.0.0",
50
- "@antelopejs/interface-database-decorators": ">=0.1.6 <1.0.0",
51
- "@antelopejs/interface-dms": ">=0.2.0 <1.0.0"
49
+ "@antelopejs/interface-database": ">=0.1.8 <1.0.0",
50
+ "@antelopejs/interface-database-decorators": ">=0.1.7 <1.0.0",
51
+ "@antelopejs/interface-dms": ">=0.2.8 <1.0.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@antelopejs/core": ">=1.9.1 <2",
55
- "@antelopejs/tooling-configs": ">=0.0.6 <1.0.0",
54
+ "@antelopejs/core": ">=1.10.1 <2",
55
+ "@antelopejs/tooling-configs": ">=0.0.7 <1.0.0",
56
56
  "@types/chai": "^5.2.3",
57
57
  "@types/mocha": "^10.0.10",
58
58
  "@types/node": "^24.0.0",