@pactor-app/app 1.48.1 → 1.50.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/dist/index.cjs +4 -0
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/package.json +9 -9
package/dist/index.cjs
CHANGED
|
@@ -1522,6 +1522,7 @@ function SitemapLayout({
|
|
|
1522
1522
|
httpAdapter: props.httpAdapter,
|
|
1523
1523
|
permissions: sitemap.permissions ?? [],
|
|
1524
1524
|
components: props.components,
|
|
1525
|
+
componentRegistry: props.componentRegistry,
|
|
1525
1526
|
locale: props.locale,
|
|
1526
1527
|
defaultLocale: props.defaultLocale,
|
|
1527
1528
|
messages: props.messages
|
|
@@ -1534,6 +1535,7 @@ function SitemapLayout({
|
|
|
1534
1535
|
navigate,
|
|
1535
1536
|
props.httpAdapter,
|
|
1536
1537
|
props.components,
|
|
1538
|
+
props.componentRegistry,
|
|
1537
1539
|
sitemap,
|
|
1538
1540
|
props.locale,
|
|
1539
1541
|
props.defaultLocale,
|
|
@@ -1550,6 +1552,7 @@ function SitemapLayout({
|
|
|
1550
1552
|
navigate,
|
|
1551
1553
|
httpAdapter: props.httpAdapter,
|
|
1552
1554
|
components: { PageOutlet, SitemapMenu, ...props.components },
|
|
1555
|
+
componentRegistry: props.componentRegistry,
|
|
1553
1556
|
locale: props.locale,
|
|
1554
1557
|
defaultLocale: props.defaultLocale,
|
|
1555
1558
|
messages: props.messages
|
|
@@ -1562,6 +1565,7 @@ function SitemapLayout({
|
|
|
1562
1565
|
navigate,
|
|
1563
1566
|
props.httpAdapter,
|
|
1564
1567
|
props.components,
|
|
1568
|
+
props.componentRegistry,
|
|
1565
1569
|
props.locale,
|
|
1566
1570
|
props.defaultLocale,
|
|
1567
1571
|
messagesSignature
|
package/dist/index.d.cts
CHANGED
|
@@ -617,6 +617,10 @@ interface SitemapAppProps {
|
|
|
617
617
|
actions?: Record<string, ActionHandler>;
|
|
618
618
|
/** 业务组件(同名覆盖内建;PageOutlet / SitemapMenu 为布局保留名) */
|
|
619
619
|
components?: Record<string, unknown>;
|
|
620
|
+
/** 组件注册表工厂(缺省 @pactor-app/ui 内置组件;如
|
|
621
|
+
* createChatComponentRegistry 可附加 chat 展示组件族 / Chat / ChatShell),
|
|
622
|
+
* 页面与布局工厂共用 */
|
|
623
|
+
componentRegistry?: PactorPageOptions['componentRegistry'];
|
|
620
624
|
/** HTTP 钩子:所有 HTTP 出口(sitemap 源 / 页面端点 / 页面运行时)的统一加工(跨域改写 / 拆包) */
|
|
621
625
|
httpAdapter?: PactorHttpHooks;
|
|
622
626
|
/** fetch 实现(缺省全局 fetch;SSR / 测试可注入) */
|
package/dist/index.d.ts
CHANGED
|
@@ -617,6 +617,10 @@ interface SitemapAppProps {
|
|
|
617
617
|
actions?: Record<string, ActionHandler>;
|
|
618
618
|
/** 业务组件(同名覆盖内建;PageOutlet / SitemapMenu 为布局保留名) */
|
|
619
619
|
components?: Record<string, unknown>;
|
|
620
|
+
/** 组件注册表工厂(缺省 @pactor-app/ui 内置组件;如
|
|
621
|
+
* createChatComponentRegistry 可附加 chat 展示组件族 / Chat / ChatShell),
|
|
622
|
+
* 页面与布局工厂共用 */
|
|
623
|
+
componentRegistry?: PactorPageOptions['componentRegistry'];
|
|
620
624
|
/** HTTP 钩子:所有 HTTP 出口(sitemap 源 / 页面端点 / 页面运行时)的统一加工(跨域改写 / 拆包) */
|
|
621
625
|
httpAdapter?: PactorHttpHooks;
|
|
622
626
|
/** fetch 实现(缺省全局 fetch;SSR / 测试可注入) */
|
package/dist/index.js
CHANGED
|
@@ -1523,6 +1523,7 @@ function SitemapLayout({
|
|
|
1523
1523
|
httpAdapter: props.httpAdapter,
|
|
1524
1524
|
permissions: sitemap.permissions ?? [],
|
|
1525
1525
|
components: props.components,
|
|
1526
|
+
componentRegistry: props.componentRegistry,
|
|
1526
1527
|
locale: props.locale,
|
|
1527
1528
|
defaultLocale: props.defaultLocale,
|
|
1528
1529
|
messages: props.messages
|
|
@@ -1535,6 +1536,7 @@ function SitemapLayout({
|
|
|
1535
1536
|
navigate,
|
|
1536
1537
|
props.httpAdapter,
|
|
1537
1538
|
props.components,
|
|
1539
|
+
props.componentRegistry,
|
|
1538
1540
|
sitemap,
|
|
1539
1541
|
props.locale,
|
|
1540
1542
|
props.defaultLocale,
|
|
@@ -1551,6 +1553,7 @@ function SitemapLayout({
|
|
|
1551
1553
|
navigate,
|
|
1552
1554
|
httpAdapter: props.httpAdapter,
|
|
1553
1555
|
components: { PageOutlet, SitemapMenu, ...props.components },
|
|
1556
|
+
componentRegistry: props.componentRegistry,
|
|
1554
1557
|
locale: props.locale,
|
|
1555
1558
|
defaultLocale: props.defaultLocale,
|
|
1556
1559
|
messages: props.messages
|
|
@@ -1563,6 +1566,7 @@ function SitemapLayout({
|
|
|
1563
1566
|
navigate,
|
|
1564
1567
|
props.httpAdapter,
|
|
1565
1568
|
props.components,
|
|
1569
|
+
props.componentRegistry,
|
|
1566
1570
|
props.locale,
|
|
1567
1571
|
props.defaultLocale,
|
|
1568
1572
|
messagesSignature
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pactor-app/app",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.50.0",
|
|
4
4
|
"description": "Pactor application: one-stop composition layer (createPactorApplication) wiring loader, bootstrap, registries, router, layout, interaction and page runtimes",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pactor",
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@pactor-app/core": "1.
|
|
50
|
-
"@pactor-app/expression": "1.
|
|
51
|
-
"@pactor-app/resource": "1.
|
|
52
|
-
"@pactor-app/
|
|
53
|
-
"@pactor-app/
|
|
54
|
-
"@pactor-app/
|
|
55
|
-
"@pactor-app/ui": "1.
|
|
56
|
-
"@pactor-app/router": "1.
|
|
49
|
+
"@pactor-app/core": "1.50.0",
|
|
50
|
+
"@pactor-app/expression": "1.50.0",
|
|
51
|
+
"@pactor-app/resource": "1.50.0",
|
|
52
|
+
"@pactor-app/runtime": "1.50.0",
|
|
53
|
+
"@pactor-app/permission": "1.50.0",
|
|
54
|
+
"@pactor-app/schema": "1.50.0",
|
|
55
|
+
"@pactor-app/ui": "1.50.0",
|
|
56
|
+
"@pactor-app/router": "1.50.0"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"react": ">=18",
|