flameresttable 1.0.117 → 1.0.118

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.117",
3
+ "version": "1.0.118",
4
4
  "main": "./src/plugin.ts",
5
5
  "repository": {
6
6
  "type": "git",
@@ -310,7 +310,7 @@ export interface IColumn {
310
310
  Table?: {
311
311
  isShow?: boolean,
312
312
  title?: string,
313
- value?: (row: any, column: Column) => string,
313
+ value?: (row: any, column: Column) => any,
314
314
  isRawValue?: boolean,
315
315
  click?: (row: any, column: Column) => void,
316
316
  classes?: string,
@@ -388,6 +388,12 @@ export interface IColumn {
388
388
  */
389
389
  Selector?: {
390
390
 
391
+ /**
392
+ * Нужна авто-предзагрузка значений при загрузке страницы
393
+ * [полная таблица]
394
+ */
395
+ preload?: boolean,
396
+
391
397
  /**
392
398
  * Загрузчик значений ручной
393
399
  * @returns ITableSelectorItem[]
@@ -412,7 +418,7 @@ export interface IColumn {
412
418
  * @param col
413
419
  * @returns
414
420
  */
415
- value?: (row: any, col: string) => string
421
+ value?: (row: any, col: string) => any
416
422
 
417
423
  },
418
424
 
package/tsconfig.json CHANGED
@@ -29,7 +29,7 @@
29
29
  ],
30
30
  "skipLibCheck": true,
31
31
  "allowJs": true,
32
- "experimentalDecorators": true,
32
+ "experimentalDecorators": true
33
33
  },
34
34
  "include": [
35
35
  "src/**/*.ts",