@dative-gpi/foundation-core-components 0.0.118 → 0.1.120
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.
|
@@ -73,8 +73,8 @@ export default defineComponent({
|
|
|
73
73
|
const innerPage = ref(1);
|
|
74
74
|
|
|
75
75
|
const reset = (): void => {
|
|
76
|
-
if (router && router.currentRoute.value.meta[props.tableCode]) {
|
|
77
|
-
const meta = router.currentRoute.value.meta[props.tableCode]
|
|
76
|
+
if (router.currentRoute.value.meta.tables && (router.currentRoute.value.meta.tables as any)[props.tableCode]) {
|
|
77
|
+
const meta = (router.currentRoute.value.meta.tables as any)[props.tableCode];
|
|
78
78
|
innerHeaders.value = meta.columns;
|
|
79
79
|
innerRowsPerPage.value = meta.rowsPerPage;
|
|
80
80
|
innerSortBy.value = meta.sortBy;
|
|
@@ -143,8 +143,8 @@ export default defineComponent({
|
|
|
143
143
|
|
|
144
144
|
const updateRouter = (): void => {
|
|
145
145
|
if (router) {
|
|
146
|
-
router.currentRoute.value.meta = {
|
|
147
|
-
...router.currentRoute.value.meta,
|
|
146
|
+
router.currentRoute.value.meta.tables = {
|
|
147
|
+
...(router.currentRoute.value.meta.tables as any),
|
|
148
148
|
[props.tableCode]: {
|
|
149
149
|
columns: innerHeaders.value,
|
|
150
150
|
filters: innerFilters.value,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dative-gpi/foundation-core-components",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.1.120",
|
|
5
5
|
"description": "",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"author": "",
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@dative-gpi/foundation-core-domain": "0.
|
|
14
|
-
"@dative-gpi/foundation-core-services": "0.
|
|
15
|
-
"@dative-gpi/foundation-shared-components": "0.
|
|
16
|
-
"@dative-gpi/foundation-shared-domain": "0.
|
|
17
|
-
"@dative-gpi/foundation-shared-services": "0.
|
|
13
|
+
"@dative-gpi/foundation-core-domain": "0.1.120",
|
|
14
|
+
"@dative-gpi/foundation-core-services": "0.1.120",
|
|
15
|
+
"@dative-gpi/foundation-shared-components": "0.1.120",
|
|
16
|
+
"@dative-gpi/foundation-shared-domain": "0.1.120",
|
|
17
|
+
"@dative-gpi/foundation-shared-services": "0.1.120",
|
|
18
18
|
"color": "^4.2.3",
|
|
19
19
|
"vue": "^3.4.23",
|
|
20
20
|
"vuedraggable": "^4.1.0"
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"sass": "^1.69.5",
|
|
25
25
|
"sass-loader": "^13.3.2"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "ea777a3a70e01d2b96981b2cb2e3da7b3af5f59c"
|
|
28
28
|
}
|