@antelopejs/dms 0.21.4-next.1007.gae3a8da → 0.21.4-next.1008.g198383f
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.
|
@@ -10,6 +10,7 @@ interface Props {
|
|
|
10
10
|
targetTree: ResolvedComponentInfo;
|
|
11
11
|
pageId: string;
|
|
12
12
|
componentId: string;
|
|
13
|
+
routeParams?: Record<string, string>;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
defineProps<Props>();
|
|
@@ -23,5 +24,6 @@ const attrs = useAttrs();
|
|
|
23
24
|
:page-id="pageId"
|
|
24
25
|
:component-id="componentId"
|
|
25
26
|
:root-props="attrs"
|
|
27
|
+
:route-params="routeParams"
|
|
26
28
|
/>
|
|
27
29
|
</template>
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
type WrittenRecord,
|
|
13
13
|
} from "../table-view/utils/recordLink";
|
|
14
14
|
import { fillRowChildren, fillRowOptions } from "./rowComponentOptions";
|
|
15
|
+
import { currentPageUrlValues } from "../page/pageUrlValues";
|
|
15
16
|
import { resolveComponentChildren } from "../../../utils/componentTree";
|
|
16
17
|
import TargetComponentTree from "../../components/containers/TargetComponentTree.vue";
|
|
17
18
|
import { resolveConfirmText } from "../confirm/confirmDialogTexts";
|
|
@@ -87,7 +88,10 @@ export function createTargetRows(config: ActionTargetsConfig) {
|
|
|
87
88
|
const id = rowIdOf(row);
|
|
88
89
|
const tokens = row && id !== undefined ? { ...row, id } : row;
|
|
89
90
|
const declared = component?.options ?? {};
|
|
90
|
-
const options =
|
|
91
|
+
const options = {
|
|
92
|
+
...(tokens ? fillRowOptions(declared, tokens) : declared),
|
|
93
|
+
routeParams: currentPageUrlValues().routeParams,
|
|
94
|
+
};
|
|
91
95
|
const children = component?.children;
|
|
92
96
|
if (!component?.componentName || !children?.length) return options;
|
|
93
97
|
const targetTree: ResolvedComponentInfo = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antelopejs/dms",
|
|
3
|
-
"version": "0.21.4-next.
|
|
3
|
+
"version": "0.21.4-next.1008.g198383f",
|
|
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",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"@antelopejs/interface-data-api": ">=0.8.0 <0.9.0",
|
|
90
90
|
"@antelopejs/interface-database": ">=0.4.0 <0.5.0",
|
|
91
91
|
"@antelopejs/interface-database-decorators": ">=0.5.2 <0.6.0",
|
|
92
|
-
"@antelopejs/interface-dms": "0.14.7-next.
|
|
92
|
+
"@antelopejs/interface-dms": "0.14.7-next.1008.g198383f",
|
|
93
93
|
"@antelopejs/interface-dms-builder": "0.6.2-next.987.gb437fd0",
|
|
94
94
|
"@antelopejs/interface-email": ">=0.2.1 <0.3.0",
|
|
95
95
|
"@antelopejs/interface-file-storage": ">=0.1.4 <0.2.0",
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
"optional": true
|
|
214
214
|
}
|
|
215
215
|
},
|
|
216
|
-
"gitHead": "
|
|
216
|
+
"gitHead": "198383faab2618890a103ed9a058f69b9aff9609",
|
|
217
217
|
"scripts": {
|
|
218
218
|
"build": "pnpm --filter @antelopejs/interface-dms --filter @antelopejs/interface-dms-builder build && rimraf dist && antelopejs-tsc && tsc-alias && tsc -p e2e/tsconfig.types.json",
|
|
219
219
|
"dev": "ajs project run --inspect -w -p playground",
|