@antelopejs/dms 0.25.4 → 0.25.6-next.1105.g9b73018
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/CHANGELOG.md +16 -0
- package/E2E.md +1 -1
- package/README.md +1 -1
- package/dist/implementations/dms-builder/engine/dms-database.js.map +1 -1
- package/dist/implementations/dms-builder/engine/driver-probe.d.ts +1 -1
- package/dist/mcp/tool.d.ts +1 -1
- package/frontend-vue/.prettierignore +1 -0
- package/frontend-vue/build/backend-boundary.ts +80 -80
- package/frontend-vue/layers/dms-auth/server/backend-answers.ts +12 -9
- package/frontend-vue/layers/dms-auth/server/oauth.ts +6 -6
- package/frontend-vue/layers/dms-core/app/build/utils/permission-preview.ts +1 -2
- package/frontend-vue/layers/dms-core/app/build/utils/siteLayoutResync.ts +92 -0
- package/frontend-vue/layers/dms-core/app/composables/page/useSiteLayout.ts +2 -33
- package/frontend-vue/layers/dms-core/app/composables/period/types.ts +1 -4
- package/frontend-vue/layers/dms-core/app/composables/useApiErrorPresenter.ts +1 -3
- package/frontend-vue/layers/dms-core/app/composables/useFormValidation.ts +1 -2
- package/frontend-vue/layers/dms-core/app/types/composed-text.ts +1 -4
- package/frontend-vue/layers/dms-core/app/types/confirm-dialog.ts +1 -2
- package/frontend-vue/layers/dms-core/app/types/data-type.ts +1 -2
- package/frontend-vue/layers/dms-core/app/types/json.ts +1 -3
- package/frontend-vue/layers/dms-core/app/types/module-store.ts +3 -17
- package/frontend-vue/layers/dms-layout/app/build/components/layout/PageHeaderActionBar.vue +3 -2
- package/frontend-vue/layers/dms-layout/app/build/components/layout/PreviewPageHeader.vue +11 -8
- package/frontend-vue/layers/dms-layout/app/build/components/layout/StageCard.vue +1 -5
- package/frontend-vue/layers/dms-layout/app/build/components/notification/NotificationPopover.vue +3 -1
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/notification/NotificationInboxItem.vue +3 -3
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/roles/role-permissions.ts +1 -1
- package/frontend-vue/layers/dms-layout/app/build/composables/settings/security/useSecurityOverview.ts +1 -3
- package/frontend-vue/layers/dms-layout/app/build/utils/module-store-install.ts +1 -3
- package/frontend-vue/layers/dms-layout/app/composables/notification/useNotifications.ts +1 -5
- package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupOverviewSlot.vue +4 -2
- package/frontend-vue/layers/dms-ui/app/build/components/blocks/BlockActions.vue +4 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupRealData.ts +1 -4
- package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupSectionEditing.ts +1 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupSpec.ts +1 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/blocks/useRefreshTriggers.ts +1 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/form/formComponentErrors.ts +1 -3
- package/frontend-vue/layers/dms-ui/app/build/composables/form/formComponentRealtime.ts +4 -5
- package/frontend-vue/layers/dms-ui/app/build/composables/form/formComponentValidation.ts +4 -5
- package/frontend-vue/layers/dms-ui/app/build/composables/form/formValidation.ts +1 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/period/periodQuery.ts +1 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableViewDisplayContext.ts +35 -37
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/useTableLiveHold.ts +1 -4
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/recordLink.ts +1 -4
- package/frontend-vue/layers/dms-ui/app/build/mockups/MockupCard.vue +1 -3
- package/frontend-vue/layers/dms-ui/app/build/utils/mockupFrame.ts +1 -1
- package/frontend-vue/layers/dms-ui/app/build/utils/mockupShortcuts.ts +1 -5
- package/frontend-vue/layers/dms-ui/app/components/blocks/BannerBlock.vue +3 -4
- package/frontend-vue/layers/dms-ui/app/components/blocks/KeyValueListBlock.vue +4 -2
- package/frontend-vue/layers/dms-ui/app/components/blocks/StatGroupBlock.vue +4 -2
- package/frontend-vue/layers/dms-ui/app/components/code-snippet/CodeSnippet.vue +2 -3
- package/frontend-vue/layers/dms-ui/app/components/form/FormBlock.vue +5 -1
- package/frontend-vue/layers/dms-ui/app/components/form/components/DatePicker.vue +4 -2
- package/frontend-vue/layers/dms-ui/app/components/form/components/InputCalendar.vue +4 -2
- package/frontend-vue/layers/dms-ui/app/components/form/components/InputCode.vue +1 -2
- package/frontend-vue/layers/dms-ui/app/components/key-value-list/KeyValueList.vue +1 -6
- package/frontend-vue/layers/dms-ui/app/composables/confirm/types.ts +5 -4
- package/frontend-vue/layers/dms-ui/app/composables/containers/types.ts +5 -8
- package/frontend-vue/layers/dms-ui/app/composables/table-view/types/action-target.ts +4 -2
- package/frontend-vue/layers/dms-ui/app/composables/table-view/types/config.ts +5 -10
- package/frontend-vue/layers/dms-ui/app/types/modal.ts +1 -9
- package/frontend-vue/layers/dms-ui/app/types/quick-actions.ts +1 -2
- package/frontend-vue/layers/dms-ui/app/utils/mockupAssistant.ts +1 -4
- package/frontend-vue/layers/dms-ui/app/utils/semanticTint.ts +1 -6
- package/frontend-vue/package.json +6 -6
- package/frontend-vue/scripts/check-api-error-presentation.mjs +3 -3
- package/frontend-vue/scripts/check-page-invariants.mjs +6 -9
- package/frontend-vue/scripts/dms-components-script.mjs +7 -7
- package/package.json +8 -9
|
@@ -76,11 +76,7 @@ export interface TableViewQuickFilter {
|
|
|
76
76
|
|
|
77
77
|
/** How a quick filter compares the column with the picked value. */
|
|
78
78
|
export type TableViewQuickFilterMode =
|
|
79
|
-
| "
|
|
80
|
-
| "is_not"
|
|
81
|
-
| "include"
|
|
82
|
-
| "exclude"
|
|
83
|
-
| "array_contains_string";
|
|
79
|
+
"is" | "is_not" | "include" | "exclude" | "array_contains_string";
|
|
84
80
|
|
|
85
81
|
/** A figure of the footer band (backend `footer.summary`). */
|
|
86
82
|
export interface TableViewFooterSummaryConfig {
|
|
@@ -269,11 +265,10 @@ export interface TableViewDisplayConfig {
|
|
|
269
265
|
capabilities?: TableViewDisplayCapabilities;
|
|
270
266
|
}
|
|
271
267
|
|
|
272
|
-
export interface TableViewConfig<T extends Data>
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
> {
|
|
268
|
+
export interface TableViewConfig<T extends Data> extends Omit<
|
|
269
|
+
TableProps<T>,
|
|
270
|
+
"columns" | "displays" | "chrome" | "quickFilters" | "footer" | "reorder"
|
|
271
|
+
> {
|
|
277
272
|
location: string;
|
|
278
273
|
enableTableExport?: boolean;
|
|
279
274
|
archiveMode?: boolean;
|
|
@@ -20,8 +20,7 @@ export const QUICK_ACTION_BUTTON = "button";
|
|
|
20
20
|
export const QUICK_ACTION_BUTTON_KEY = "quickActionButton";
|
|
21
21
|
|
|
22
22
|
export type QuickActionIntent =
|
|
23
|
-
| { kind: "
|
|
24
|
-
| { kind: "button"; button: string };
|
|
23
|
+
{ kind: "add" } | { kind: "button"; button: string };
|
|
25
24
|
|
|
26
25
|
type QuickActionQuery = MenuRouteState["query"];
|
|
27
26
|
type IntentReader = (query: QuickActionQuery) => QuickActionIntent | undefined;
|
|
@@ -21,10 +21,7 @@ export const MOCKUP_ASSISTANT_PROMPT_EVENT = "dms:assistant-prompt";
|
|
|
21
21
|
* Mockups page's "New mockup" card.
|
|
22
22
|
*/
|
|
23
23
|
export type MockupAssistantPromptSource =
|
|
24
|
-
|
|
25
|
-
| "build"
|
|
26
|
-
| "resolve-comments"
|
|
27
|
-
| "new-mockup";
|
|
24
|
+
"custom-zone" | "build" | "resolve-comments" | "new-mockup";
|
|
28
25
|
|
|
29
26
|
/** The block of a mockup page a request is about. */
|
|
30
27
|
export interface MockupAssistantPromptBlock {
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
export type SemanticColor =
|
|
2
|
-
| "
|
|
3
|
-
| "error"
|
|
4
|
-
| "warning"
|
|
5
|
-
| "info"
|
|
6
|
-
| "primary"
|
|
7
|
-
| "neutral";
|
|
2
|
+
"success" | "error" | "warning" | "info" | "primary" | "neutral";
|
|
8
3
|
|
|
9
4
|
export const SOFT_TINT: Record<SemanticColor, string> = {
|
|
10
5
|
success: "bg-success/10 text-success",
|
|
@@ -80,10 +80,10 @@
|
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@antelopejs/core": "~1.24.5",
|
|
82
82
|
"@antelopejs/dms-frontend": ">=0.11.11 <0.12.0",
|
|
83
|
-
"@antelopejs/tooling-configs": ">=0.10.
|
|
83
|
+
"@antelopejs/tooling-configs": ">=0.10.15 <0.11.0",
|
|
84
84
|
"@inertiajs/vue3": "^3.7.0",
|
|
85
85
|
"@nuxt/eslint-config": "^1.17.0",
|
|
86
|
-
"@nuxt/ui": "4.
|
|
86
|
+
"@nuxt/ui": "4.13.1",
|
|
87
87
|
"@types/jsonwebtoken": "^9.0.10",
|
|
88
88
|
"@unhead/vue": "^3.0.0",
|
|
89
89
|
"@vitejs/plugin-vue": "^6",
|
|
@@ -91,17 +91,17 @@
|
|
|
91
91
|
"globals": "^15.0.0",
|
|
92
92
|
"jiti": "2.7.0",
|
|
93
93
|
"jsdom": "^29.1.1",
|
|
94
|
-
"prettier": "^3.
|
|
95
|
-
"prettier-plugin-tailwindcss": "^0.
|
|
94
|
+
"prettier": "^3.10.1",
|
|
95
|
+
"prettier-plugin-tailwindcss": "^0.8.0",
|
|
96
96
|
"tailwindcss": "^4.0.0",
|
|
97
97
|
"typescript": "^5.8.2",
|
|
98
98
|
"vitest": "^4.1.8",
|
|
99
99
|
"vue": "^3.5.18",
|
|
100
100
|
"vue-i18n": "^11.1.12",
|
|
101
|
-
"vue-tsc": "3.
|
|
101
|
+
"vue-tsc": "3.3.14"
|
|
102
102
|
},
|
|
103
103
|
"peerDependencies": {
|
|
104
|
-
"@nuxt/ui": "4.
|
|
104
|
+
"@nuxt/ui": "4.13.1",
|
|
105
105
|
"@unhead/vue": "^2.0.0 || ^3.0.0",
|
|
106
106
|
"tailwindcss": "^4.0.0",
|
|
107
107
|
"typescript": "^5.8.0",
|
|
@@ -196,9 +196,9 @@ function isToast(scope, node) {
|
|
|
196
196
|
node = resolveBinding(scope, node);
|
|
197
197
|
return Boolean(
|
|
198
198
|
node &&
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
199
|
+
((ts.isIdentifier(node) && node.text === "toast") ||
|
|
200
|
+
(ts.isCallExpression(node) &&
|
|
201
|
+
node.expression.getText(tree) === "useToast")),
|
|
202
202
|
);
|
|
203
203
|
}
|
|
204
204
|
|
|
@@ -165,12 +165,10 @@ async function checkShortcutTranslations() {
|
|
|
165
165
|
},
|
|
166
166
|
});
|
|
167
167
|
try {
|
|
168
|
-
const { default: registry } =
|
|
169
|
-
"../layers/dms-ui/app/config/shortcuts-registry.ts"
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
"../layers/dms-ui/app/entries/composables/global/searchShortcuts"
|
|
173
|
-
);
|
|
168
|
+
const { default: registry } =
|
|
169
|
+
await import("../layers/dms-ui/app/config/shortcuts-registry.ts");
|
|
170
|
+
const searchShortcuts =
|
|
171
|
+
await import("../layers/dms-ui/app/entries/composables/global/searchShortcuts");
|
|
174
172
|
const { NAV_SEARCH_SHORTCUT, PAGE_SEARCH_HINT_KEYS } = searchShortcuts;
|
|
175
173
|
/** @type {unknown[]} */
|
|
176
174
|
const registered = [
|
|
@@ -266,9 +264,8 @@ function checkLiveLabels() {
|
|
|
266
264
|
}
|
|
267
265
|
|
|
268
266
|
async function checkPeriodLabels() {
|
|
269
|
-
const periodShortLabels =
|
|
270
|
-
"../layers/dms-ui/app/entries/composables/period/periodShortLabels.ts"
|
|
271
|
-
);
|
|
267
|
+
const periodShortLabels =
|
|
268
|
+
await import("../layers/dms-ui/app/entries/composables/period/periodShortLabels.ts");
|
|
272
269
|
const PRESET_SHORT_LABELS = ShortLabels.parse(
|
|
273
270
|
periodShortLabels.PRESET_SHORT_LABELS,
|
|
274
271
|
);
|
|
@@ -265,13 +265,13 @@ function unprefixed(call, ts) {
|
|
|
265
265
|
const options = call?.arguments?.[2];
|
|
266
266
|
return Boolean(
|
|
267
267
|
options &&
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
268
|
+
ts.isObjectLiteralExpression(options) &&
|
|
269
|
+
options.properties.some(
|
|
270
|
+
(property) =>
|
|
271
|
+
ts.isPropertyAssignment(property) &&
|
|
272
|
+
nameOf(property.name, ts) === "prefix" &&
|
|
273
|
+
property.initializer.kind === ts.SyntaxKind.FalseKeyword,
|
|
274
|
+
),
|
|
275
275
|
);
|
|
276
276
|
}
|
|
277
277
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antelopejs/dms",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.6-next.1105.g9b73018",
|
|
4
4
|
"description": "AntelopeJS DMS. Plug in your PostgreSQL, MySQL, MariaDB, MongoDB or RethinkDB database and your coding agent builds a back office and analytics dashboard as typed TypeScript. Real-time updates on the data the DMS manages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antelopejs",
|
|
@@ -88,6 +88,8 @@
|
|
|
88
88
|
"@antelopejs/interface-data-api": ">=0.8.2 <0.9.0",
|
|
89
89
|
"@antelopejs/interface-database": ">=0.4.3 <0.5.0",
|
|
90
90
|
"@antelopejs/interface-database-decorators": ">=0.5.4 <0.6.0",
|
|
91
|
+
"@antelopejs/interface-dms": "0.17.4-next.1103.g1c1421b",
|
|
92
|
+
"@antelopejs/interface-dms-builder": "^0.6.4",
|
|
91
93
|
"@antelopejs/interface-email": ">=0.2.1 <0.3.0",
|
|
92
94
|
"@antelopejs/interface-file-storage": ">=0.1.4 <0.2.0",
|
|
93
95
|
"@csstools/css-tokenizer": "^4.0.3",
|
|
@@ -109,9 +111,7 @@
|
|
|
109
111
|
"striptags": "^3.2.0",
|
|
110
112
|
"ts-morph": "^28.0.0",
|
|
111
113
|
"ua-parser-js": "^2.0.9",
|
|
112
|
-
"zod": "^4.5.0"
|
|
113
|
-
"@antelopejs/interface-dms": "^0.17.3",
|
|
114
|
-
"@antelopejs/interface-dms-builder": "^0.6.4"
|
|
114
|
+
"zod": "^4.5.0"
|
|
115
115
|
},
|
|
116
116
|
"devDependencies": {
|
|
117
117
|
"@antelopejs/api": "~1.7.9",
|
|
@@ -120,14 +120,13 @@
|
|
|
120
120
|
"@antelopejs/mysql": ">=0.2.7 <0.3.0",
|
|
121
121
|
"@antelopejs/postgres": ">=0.4.3 <0.5.0",
|
|
122
122
|
"@antelopejs/rethinkdb": "~1.10.6",
|
|
123
|
-
"@antelopejs/tooling-configs": ">=0.10.
|
|
123
|
+
"@antelopejs/tooling-configs": ">=0.10.15 <0.11.0",
|
|
124
124
|
"@playwright/test": "~1.65.0",
|
|
125
125
|
"@types/archiver": "^6.0.4",
|
|
126
126
|
"@types/chai": "^5.0.0",
|
|
127
127
|
"@types/jsdom": "^30.0.0",
|
|
128
128
|
"@types/mocha": "^10",
|
|
129
129
|
"@types/node": "^26.6.5",
|
|
130
|
-
"@types/node-cron": "^3.0.11",
|
|
131
130
|
"@types/pg": "^8.20.0",
|
|
132
131
|
"@types/randomstring": "^1.3.0",
|
|
133
132
|
"@types/semver": "^7.7.1",
|
|
@@ -140,8 +139,8 @@
|
|
|
140
139
|
"mongodb": "^7.1.1",
|
|
141
140
|
"mongodb-memory-server-core": "^11.0.1",
|
|
142
141
|
"mysql2": "^3.24.6",
|
|
143
|
-
"oxfmt": "^0.
|
|
144
|
-
"oxlint": "1.
|
|
142
|
+
"oxfmt": "^0.80.0",
|
|
143
|
+
"oxlint": "1.95.0",
|
|
145
144
|
"oxlint-tsgolint": "^7.0.2001",
|
|
146
145
|
"pg": "^8.22.0",
|
|
147
146
|
"release-it": "^19.2.4",
|
|
@@ -211,7 +210,7 @@
|
|
|
211
210
|
"optional": true
|
|
212
211
|
}
|
|
213
212
|
},
|
|
214
|
-
"gitHead": "
|
|
213
|
+
"gitHead": "9b73018649b0d86dba5ea38825659e8172076838",
|
|
215
214
|
"scripts": {
|
|
216
215
|
"build": "pnpm --filter @antelopejs/interface-dms --filter @antelopejs/interface-dms-builder build && rimraf dist && antelopejs-tsc && tsc-alias && tsc -p e2e/tsconfig.types.json",
|
|
217
216
|
"dev": "ajs project run --inspect -w -p playground",
|