@dosgato/templating 0.0.140 → 0.0.142
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/uitemplate.d.ts +12 -0
- package/package.json +1 -1
package/dist/uitemplate.d.ts
CHANGED
|
@@ -146,6 +146,18 @@ export interface UITemplateData extends UITemplateBase {
|
|
|
146
146
|
*/
|
|
147
147
|
grow?: number;
|
|
148
148
|
}[];
|
|
149
|
+
/**
|
|
150
|
+
* It may be preferred to show the computeName source (e.g. title) instead of
|
|
151
|
+
* showing the computed name itself in the leftmost column of the data tree.
|
|
152
|
+
*
|
|
153
|
+
* Provide this option to control the name column. Everything is optional in
|
|
154
|
+
* case, for example, you only want to control the icon.
|
|
155
|
+
*/
|
|
156
|
+
nameColumn?: {
|
|
157
|
+
title?: string;
|
|
158
|
+
icon?: (data: DataData) => IconOrSVG | undefined;
|
|
159
|
+
get?: string | ((data: DataRecord) => string);
|
|
160
|
+
};
|
|
149
161
|
}
|
|
150
162
|
/**
|
|
151
163
|
* This is a type for the data that will be passed to dialog Svelte components as
|