@praxisui/core 8.0.0-beta.63 → 8.0.0-beta.65
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.
|
@@ -12073,6 +12073,7 @@ class SurfaceOpenMaterializerService {
|
|
|
12073
12073
|
}
|
|
12074
12074
|
materializeArrayAsTable(payload, data, fields, resourceId, readUrl) {
|
|
12075
12075
|
const previousInputs = payload.widget.inputs || {};
|
|
12076
|
+
const tableInputOverrides = this.projectTableInputs(previousInputs);
|
|
12076
12077
|
return {
|
|
12077
12078
|
...payload,
|
|
12078
12079
|
widget: {
|
|
@@ -12089,7 +12090,7 @@ class SurfaceOpenMaterializerService {
|
|
|
12089
12090
|
'enableCustomization',
|
|
12090
12091
|
],
|
|
12091
12092
|
inputs: {
|
|
12092
|
-
...
|
|
12093
|
+
...tableInputOverrides,
|
|
12093
12094
|
resourcePath: '',
|
|
12094
12095
|
tableId: String(previousInputs['tableId'] || this.stableSurfaceId(payload)),
|
|
12095
12096
|
componentInstanceId: `${this.stableSurfaceId(payload)}.${resourceId}`,
|
|
@@ -12108,6 +12109,24 @@ class SurfaceOpenMaterializerService {
|
|
|
12108
12109
|
}),
|
|
12109
12110
|
};
|
|
12110
12111
|
}
|
|
12112
|
+
projectTableInputs(inputs) {
|
|
12113
|
+
const supported = new Set([
|
|
12114
|
+
'tableId',
|
|
12115
|
+
'componentInstanceId',
|
|
12116
|
+
'title',
|
|
12117
|
+
'subtitle',
|
|
12118
|
+
'icon',
|
|
12119
|
+
'enableCustomization',
|
|
12120
|
+
'dense',
|
|
12121
|
+
'horizontalScroll',
|
|
12122
|
+
'autoDelete',
|
|
12123
|
+
'notifyIfOutdated',
|
|
12124
|
+
'snoozeMs',
|
|
12125
|
+
'autoOpenSettingsOnOutdated',
|
|
12126
|
+
'crudContext',
|
|
12127
|
+
]);
|
|
12128
|
+
return Object.fromEntries(Object.entries(inputs).filter(([key]) => supported.has(key)));
|
|
12129
|
+
}
|
|
12111
12130
|
buildLocalTableConfig(fields, data) {
|
|
12112
12131
|
const schemaColumns = fields
|
|
12113
12132
|
.filter((field) => !field.hidden && !field.tableHidden && !!field.name)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/core",
|
|
3
|
-
"version": "8.0.0-beta.
|
|
3
|
+
"version": "8.0.0-beta.65",
|
|
4
4
|
"description": "Core library for Praxis UI Workspace: types, tokens, services and utilities shared across @praxisui/* packages.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
package/types/praxisui-core.d.ts
CHANGED
|
@@ -8972,6 +8972,7 @@ declare class SurfaceOpenMaterializerService {
|
|
|
8972
8972
|
private resolveItemReadUrl;
|
|
8973
8973
|
private resolveSchemaFields;
|
|
8974
8974
|
private materializeArrayAsTable;
|
|
8975
|
+
private projectTableInputs;
|
|
8975
8976
|
private buildLocalTableConfig;
|
|
8976
8977
|
private inferColumnsFromData;
|
|
8977
8978
|
private mergeMaterializationContext;
|