@ultimat3/admin 22.2.1 → 22.3.0
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/package.json +16 -16
- package/src/dev/server.ts +8 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultimat3/admin",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.3.0",
|
|
4
4
|
"description": "Two dashboards: the /_x framework dev panels and the generated, AI-first app admin",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -32,20 +32,20 @@
|
|
|
32
32
|
"test": "bun test"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@ultimat3/action": "22.
|
|
36
|
-
"@ultimat3/ai": "22.
|
|
37
|
-
"@ultimat3/cache": "22.
|
|
38
|
-
"@ultimat3/core": "22.
|
|
39
|
-
"@ultimat3/db": "22.
|
|
40
|
-
"@ultimat3/entity": "22.
|
|
41
|
-
"@ultimat3/i18n": "22.
|
|
42
|
-
"@ultimat3/jobs": "22.
|
|
43
|
-
"@ultimat3/mcp": "22.
|
|
44
|
-
"@ultimat3/money": "22.
|
|
45
|
-
"@ultimat3/policy": "22.
|
|
46
|
-
"@ultimat3/query": "22.
|
|
47
|
-
"@ultimat3/render": "22.
|
|
48
|
-
"@ultimat3/schema": "22.
|
|
49
|
-
"@ultimat3/ui": "22.
|
|
35
|
+
"@ultimat3/action": "22.3.0",
|
|
36
|
+
"@ultimat3/ai": "22.3.0",
|
|
37
|
+
"@ultimat3/cache": "22.3.0",
|
|
38
|
+
"@ultimat3/core": "22.3.0",
|
|
39
|
+
"@ultimat3/db": "22.3.0",
|
|
40
|
+
"@ultimat3/entity": "22.3.0",
|
|
41
|
+
"@ultimat3/i18n": "22.3.0",
|
|
42
|
+
"@ultimat3/jobs": "22.3.0",
|
|
43
|
+
"@ultimat3/mcp": "22.3.0",
|
|
44
|
+
"@ultimat3/money": "22.3.0",
|
|
45
|
+
"@ultimat3/policy": "22.3.0",
|
|
46
|
+
"@ultimat3/query": "22.3.0",
|
|
47
|
+
"@ultimat3/render": "22.3.0",
|
|
48
|
+
"@ultimat3/schema": "22.3.0",
|
|
49
|
+
"@ultimat3/ui": "22.3.0"
|
|
50
50
|
}
|
|
51
51
|
}
|
package/src/dev/server.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// Type-only, so it is erased and the 46-component barrel stays out of the mount graph — the
|
|
6
6
|
// values arrive through the dynamic `import()` in `devShellStyle()`, same reason as `data.ts`.
|
|
7
7
|
import { DEFAULT_ENVIRONMENT, tryResolveEnvironment } from '@ultimat3/core';
|
|
8
|
-
import {
|
|
8
|
+
import { FRAMEWORK_CATALOG_LOCALE, translatorFor } from '@ultimat3/i18n';
|
|
9
9
|
import type { ColorRole } from '@ultimat3/ui';
|
|
10
10
|
import { DevDashboardInProdError } from '../errors';
|
|
11
11
|
import { defaultDevSources } from './data';
|
|
@@ -157,6 +157,13 @@ html[data-theme="dark"] { ${block('dark')} }
|
|
|
157
157
|
${SHELL_LAYOUT}`;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
+
/**
|
|
161
|
+
* /_x is the framework's own tool, in the framework's own locale (`<html lang="en">` below): its
|
|
162
|
+
* strings are registered under `FRAMEWORK_CATALOG_LOCALE` only, so the AMBIENT locale — the app's,
|
|
163
|
+
* `es-co` for an app that defaults to it — answered `⟦dev.panel.mail.title⟧` for every tab.
|
|
164
|
+
*/
|
|
165
|
+
const t = (key: string): string => translatorFor(FRAMEWORK_CATALOG_LOCALE)(key);
|
|
166
|
+
|
|
160
167
|
function shell(
|
|
161
168
|
style: string,
|
|
162
169
|
basePath: string,
|