flameresttable 1.0.53 → 1.0.55

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flameresttable",
3
- "version": "1.0.53",
3
+ "version": "1.0.55",
4
4
  "main": "./src/plugin.ts",
5
5
  "repository": {
6
6
  "type": "git",
@@ -311,7 +311,7 @@ export interface IColumn {
311
311
  * @param col
312
312
  * @returns
313
313
  */
314
- titleCustom: ((col: Column) => string) | null,
314
+ titleCustom?: ((col: Column) => string) | null,
315
315
 
316
316
  },
317
317
 
@@ -34,7 +34,8 @@
34
34
  <div v-for="column in Table.columns" v-show="column.Table.isShow" :key="'cheader_' + column.name"
35
35
  :class="' defaultHeader ' + column.Table.classesHeader"
36
36
  class=" table-cell align-middle border-r border-r-slate-100 px-2">
37
- <span>{{ column.Table.titleCustom !== null ? column.Table.titleCustom(column) : column.Table.title !== '' ?
37
+ <span>{{ column.Table.titleCustom !== null ? (column as any).Table.titleCustom(column) : column.Table.title !==
38
+ '' ?
38
39
  column.Table.title : column.title !== '' ? column.title :
39
40
  column.name }}</span>
40
41
  </div>