@ticatec/uniface-element 0.1.13 → 0.1.15
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/concise-data-table/Column.d.ts +9 -0
- package/dist/concise-data-table/Column.js +1 -0
- package/dist/concise-data-table/ConciseListTable.svelte +154 -0
- package/dist/concise-data-table/ConciseListTable.svelte.d.ts +26 -0
- package/dist/concise-data-table/DataCell.svelte +22 -0
- package/dist/{data-table/parts/LinkButton.svelte.d.ts → concise-data-table/DataCell.svelte.d.ts} +7 -6
- package/dist/concise-data-table/DataRow.svelte +15 -0
- package/dist/concise-data-table/DataRow.svelte.d.ts +25 -0
- package/dist/concise-data-table/TableOptions.d.ts +11 -0
- package/dist/concise-data-table/TableOptions.js +1 -0
- package/dist/concise-data-table/index.d.ts +5 -0
- package/dist/concise-data-table/index.js +2 -0
- package/dist/concise-data-table/utils.d.ts +6 -0
- package/dist/concise-data-table/utils.js +38 -0
- package/dist/data-table/DataTable.svelte +85 -54
- package/dist/data-table/DataTable.svelte.d.ts +7 -5
- package/dist/data-table/UniDataTable.d.ts +4 -2
- package/dist/data-table/UniDataTable.js +8 -7
- package/dist/data-table/lib/ActionsColumn.d.ts +0 -4
- package/dist/data-table/lib/HrefLink.d.ts +1 -1
- package/dist/data-table/lib/IndicatorColumn.d.ts +2 -11
- package/dist/data-table/parts/ActionsPanel.svelte +9 -2
- package/dist/data-table/parts/ActionsPanel.svelte.d.ts +1 -1
- package/dist/data-table/parts/ActionsRow.svelte +3 -3
- package/dist/data-table/parts/ContentPanel.svelte +68 -76
- package/dist/data-table/parts/ContentPanel.svelte.d.ts +15 -8
- package/dist/data-table/parts/DataCell.svelte +3 -3
- package/dist/data-table/parts/DataRow.svelte +2 -4
- package/dist/data-table/parts/FixedColumnsPanel.svelte +52 -13
- package/dist/data-table/parts/FixedColumnsPanel.svelte.d.ts +12 -5
- package/dist/data-table/parts/FixedHeaderPanel.svelte +74 -11
- package/dist/data-table/parts/FixedHeaderPanel.svelte.d.ts +8 -2
- package/dist/data-table/parts/FixedRow.svelte +30 -17
- package/dist/data-table/parts/FixedRow.svelte.d.ts +6 -3
- package/dist/data-table/parts/HrefCell.svelte +8 -10
- package/dist/data-table/parts/TableHeaderPanel.svelte +32 -63
- package/dist/data-table/parts/TableHeaderPanel.svelte.d.ts +6 -10
- package/dist/data-table/parts/TableRow.d.ts +0 -10
- package/dist/data-table/parts/TableRow.js +0 -29
- package/dist/data-table/parts/TableRows.d.ts +0 -2
- package/dist/data-table/parts/TableRows.js +0 -2
- package/dist/data-table/parts/TextCell.svelte +6 -9
- package/dist/data-table/parts/TreeRootCell.svelte +3 -0
- package/dist/data-table/parts/TreeRootCell.svelte.d.ts +18 -0
- package/dist/pagination-panel/PaginationPanel.svelte +1 -1
- package/dist/pagination-panel/PaginationPanel.svelte.d.ts +1 -1
- package/dist/ticatec-uniface-web.css +214 -217
- package/dist/tree-view/TreeNodeView.svelte +6 -8
- package/dist/tree-view/TreeUtils.js +2 -2
- package/package.json +5 -1
- package/dist/data-table/parts/LinkButton.svelte +0 -19
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
|
|
3
3
|
import type TableRow from "./TableRow";
|
|
4
|
-
import type {RowEventHandler} from "../UniDataTable";
|
|
4
|
+
import type {RowEventHandler, RowSelectEventHandler} from "../UniDataTable";
|
|
5
5
|
import DataCell from "./DataCell.svelte";
|
|
6
6
|
import type DataColumn from "../lib/DataColumn";
|
|
7
|
+
import type {IndicatorColumn} from "../..";
|
|
7
8
|
|
|
8
9
|
export let selectable: boolean = false;
|
|
9
10
|
export let rowNo: number;
|
|
@@ -12,11 +13,15 @@
|
|
|
12
13
|
export let row: TableRow;
|
|
13
14
|
export let alternative: boolean;
|
|
14
15
|
export let handleRowExpand: RowEventHandler;
|
|
15
|
-
export let handleRowSelectChange:
|
|
16
|
-
export let selected: boolean
|
|
16
|
+
export let handleRowSelectChange: RowSelectEventHandler;
|
|
17
|
+
export let selected: boolean;
|
|
18
|
+
|
|
19
|
+
export let expandRow: any = null;
|
|
17
20
|
|
|
18
21
|
export let rowHeight: number;
|
|
19
22
|
|
|
23
|
+
export let indicatorColumn: IndicatorColumn | null;
|
|
24
|
+
|
|
20
25
|
let style: string;
|
|
21
26
|
|
|
22
27
|
const showInlineData = (e: MouseEvent) => {
|
|
@@ -25,24 +30,32 @@
|
|
|
25
30
|
e.stopPropagation();
|
|
26
31
|
}
|
|
27
32
|
|
|
28
|
-
$:
|
|
29
|
-
row
|
|
30
|
-
handleRowSelectChange(row);
|
|
33
|
+
$: {
|
|
34
|
+
handleRowSelectChange(row, selected);
|
|
31
35
|
}
|
|
32
36
|
|
|
33
|
-
$: style = rowHeight== null ? '' : `height: ${rowHeight}px`
|
|
37
|
+
$: style = rowHeight == null ? '' : `height: ${rowHeight}px`
|
|
34
38
|
|
|
35
39
|
</script>
|
|
36
|
-
<div class="
|
|
37
|
-
|
|
38
|
-
{
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
40
|
+
<div class="data-row" class:alternative style="width: 100%; {style}">
|
|
41
|
+
{#if indicatorColumn}
|
|
42
|
+
<div class="data-cell indicator-cell" style="width: {indicatorColumn.width}px">
|
|
43
|
+
{#if selectable}
|
|
44
|
+
<input type="checkbox" bind:checked={selected}/>
|
|
45
|
+
{/if}
|
|
46
|
+
|
|
47
|
+
{#if expandable}
|
|
48
|
+
<div class="expand-icon" style="">
|
|
49
|
+
<i class={row == expandRow ? 'uniface-icon-folder' : "uniface-icon-folder-plus"} aria-hidden="true" on:click={showInlineData}></i>
|
|
50
|
+
</div>
|
|
51
|
+
{/if}
|
|
52
|
+
{#if indicatorColumn.displayNo}
|
|
53
|
+
<div style="margin-left: 4px; width: 20px; text-align: left">
|
|
54
|
+
<span>{rowNo}</span>
|
|
55
|
+
</div>
|
|
56
|
+
{/if}
|
|
57
|
+
</div>
|
|
58
|
+
{/if}
|
|
46
59
|
{#each cols as column, colIdx}
|
|
47
60
|
<DataCell frozen={true} {colIdx} {column} data={row.data}/>
|
|
48
61
|
{/each}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type TableRow from "./TableRow";
|
|
2
|
-
import type { RowEventHandler } from "../UniDataTable";
|
|
2
|
+
import type { RowEventHandler, RowSelectEventHandler } from "../UniDataTable";
|
|
3
3
|
import type DataColumn from "../lib/DataColumn";
|
|
4
|
+
import type { IndicatorColumn } from "../..";
|
|
4
5
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
5
6
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
6
7
|
$$bindings?: Bindings;
|
|
@@ -22,9 +23,11 @@ declare const FixedRow: $$__sveltets_2_IsomorphicComponent<{
|
|
|
22
23
|
row: TableRow;
|
|
23
24
|
alternative: boolean;
|
|
24
25
|
handleRowExpand: RowEventHandler;
|
|
25
|
-
handleRowSelectChange:
|
|
26
|
-
selected
|
|
26
|
+
handleRowSelectChange: RowSelectEventHandler;
|
|
27
|
+
selected: boolean;
|
|
28
|
+
expandRow?: any;
|
|
27
29
|
rowHeight: number;
|
|
30
|
+
indicatorColumn: IndicatorColumn | null;
|
|
28
31
|
}, {
|
|
29
32
|
[evt: string]: CustomEvent<any>;
|
|
30
33
|
}, {}, {}, string>;
|
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
+
import type HrefLink from "../lib/HrefLink";
|
|
2
3
|
import type {HrefBuilder} from "../lib/HrefLink";
|
|
3
4
|
|
|
4
5
|
export let data;
|
|
5
6
|
export let href: HrefBuilder;
|
|
6
7
|
|
|
7
|
-
let
|
|
8
|
-
|
|
8
|
+
let list: Array<HrefLink> = [];
|
|
9
|
+
|
|
9
10
|
|
|
10
11
|
$: {
|
|
11
12
|
let h = href(data);
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} else {
|
|
15
|
-
text = h.text;
|
|
16
|
-
action = h.action;
|
|
17
|
-
}
|
|
13
|
+
list = Array.isArray(h) ? h : [h];
|
|
18
14
|
}
|
|
19
15
|
</script>
|
|
20
|
-
<div>
|
|
21
|
-
|
|
16
|
+
<div style="display: flex; flex-direction: row; gap: 8px; justify-content: center">
|
|
17
|
+
{#each list as item, idx}
|
|
18
|
+
<a href="javascript:void(0)" on:click={()=>item.action()}>{item.text}</a>
|
|
19
|
+
{/each}
|
|
22
20
|
</div>
|
|
@@ -1,41 +1,36 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
|
|
3
3
|
import {OrderDirection} from "../lib/OrderDirection";
|
|
4
|
-
import type
|
|
5
|
-
import type ActionsColumn from "../lib/ActionsColumn";
|
|
6
|
-
import type {CompareFunction} from "../lib/CompareFunction";
|
|
7
|
-
import {type SelectionEventHandler, SelectionMode, type TableEventHandler} from "../UniDataTable";
|
|
8
|
-
import FixedHeaderPanel from "./FixedHeaderPanel.svelte";
|
|
4
|
+
import {type TableEventHandler} from "../UniDataTable";
|
|
9
5
|
import type DataColumn from "../lib/DataColumn";
|
|
10
6
|
|
|
11
|
-
export let actionsColumn: ActionsColumn | null;
|
|
12
|
-
export let indicatorColumn: IndicatorColumn;
|
|
13
7
|
export let scrollLeft: number = 0;
|
|
14
|
-
export let handleToggleSelectAll: SelectionEventHandler;
|
|
15
8
|
export let handleWidthChange: TableEventHandler;
|
|
16
|
-
export let sortData: (compareFun: CompareFunction, descending: boolean) => void;
|
|
17
9
|
export let dataCols: Array<any>;
|
|
18
|
-
export let frozenCols: Array<DataColumn> = [];
|
|
19
|
-
export let selectionMode: SelectionMode;
|
|
20
|
-
|
|
21
10
|
export let width: number = 0;
|
|
11
|
+
export let hasWhitespace: boolean = false;
|
|
12
|
+
export let handleCellClick: (col: DataColumn) => any;
|
|
13
|
+
export let orderColumn: DataColumn ;
|
|
14
|
+
export let orderDirection: OrderDirection;
|
|
22
15
|
|
|
23
16
|
let resizeCol: any;
|
|
24
|
-
|
|
25
|
-
let orderDirection: OrderDirection = OrderDirection.Ascending;
|
|
17
|
+
|
|
26
18
|
|
|
27
19
|
let startX: number = 0;
|
|
28
20
|
let startWidth: number = 0;
|
|
29
21
|
|
|
30
22
|
|
|
31
23
|
const handleResizeMouseDown = (col: DataColumn) => (event: MouseEvent) => {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
24
|
+
if (col.resizable) {
|
|
25
|
+
resizeCol = col;
|
|
26
|
+
startX = event.clientX;
|
|
27
|
+
startWidth = resizeCol.width;
|
|
28
|
+
|
|
29
|
+
document.body.style.cursor = 'col-resize';
|
|
30
|
+
// 绑定鼠标移动和松开事件
|
|
31
|
+
window.addEventListener('mousemove', onMouseMove);
|
|
32
|
+
window.addEventListener('mouseup', onMouseUp);
|
|
33
|
+
}
|
|
39
34
|
}
|
|
40
35
|
|
|
41
36
|
const onMouseMove = (event: MouseEvent) => {
|
|
@@ -53,57 +48,31 @@
|
|
|
53
48
|
// 结束拖动
|
|
54
49
|
function onMouseUp() {
|
|
55
50
|
resizeCol = null;
|
|
51
|
+
document.body.style.cursor = 'default';
|
|
56
52
|
window.removeEventListener('mousemove', onMouseMove);
|
|
57
53
|
window.removeEventListener('mouseup', onMouseUp);
|
|
58
54
|
}
|
|
59
55
|
|
|
60
56
|
|
|
61
|
-
|
|
62
|
-
if (col.compareFunction != null) {
|
|
63
|
-
if (col == orderColumn) {
|
|
64
|
-
orderDirection = orderDirection == OrderDirection.Ascending ? OrderDirection.Descending : OrderDirection.Ascending;
|
|
65
|
-
} else {
|
|
66
|
-
orderColumn = col;
|
|
67
|
-
orderDirection = OrderDirection.Ascending;
|
|
68
|
-
}
|
|
69
|
-
sortData?.(col.compareFunction, orderDirection == OrderDirection.Descending);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
57
|
+
|
|
72
58
|
|
|
73
59
|
|
|
74
60
|
</script>
|
|
75
|
-
<div class="
|
|
76
|
-
<
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
<
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
class={orderDirection===OrderDirection.Ascending ? 'uniface-icon-chevron-up' : 'uniface-icon-chevron-down'}></i>
|
|
86
|
-
{/if}
|
|
87
|
-
</div>
|
|
88
|
-
<div class="header-cell-divider" class:resizer={col.resizable} aria-hidden="true"
|
|
89
|
-
on:mousedown={handleResizeMouseDown(col)}></div>
|
|
61
|
+
<div class="header-row">
|
|
62
|
+
<div style="left: {-scrollLeft}px; width: {width}px">
|
|
63
|
+
{#each dataCols ?? [] as col, index}
|
|
64
|
+
<div class="col-{index} data-cell" class:sortable={col.compareFunction!=null} class:whitespace={hasWhitespace}>
|
|
65
|
+
<div class:sortable={col.compareFunction != null} on:click={handleCellClick(col)} aria-hidden="true" class="vertical-center">
|
|
66
|
+
<span>{col.text}</span>
|
|
67
|
+
{#if col === orderColumn}
|
|
68
|
+
<i style="margin-left: 2px; font-size: 12px; position: absolute; top: 0; right: 4px"
|
|
69
|
+
class={orderDirection===OrderDirection.Ascending ? 'uniface-icon-chevron-up' : 'uniface-icon-chevron-down'}></i>
|
|
70
|
+
{/if}
|
|
90
71
|
</div>
|
|
91
|
-
|
|
92
|
-
|
|
72
|
+
<div class="header-cell-divider" class:resizer={col.resizable} aria-hidden="true"
|
|
73
|
+
on:mousedown={handleResizeMouseDown(col)}></div>
|
|
74
|
+
|
|
93
75
|
</div>
|
|
94
|
-
|
|
76
|
+
{/each}
|
|
95
77
|
</div>
|
|
96
|
-
{#if actionsColumn}
|
|
97
|
-
<div class="header-actions" style="width: {actionsColumn.width}px">
|
|
98
|
-
<div>
|
|
99
|
-
<span>{actionsColumn.title ?? ''}</span>
|
|
100
|
-
</div>
|
|
101
|
-
|
|
102
|
-
</div>
|
|
103
|
-
{/if}
|
|
104
78
|
</div>
|
|
105
|
-
|
|
106
|
-
<style>
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
</style>
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type
|
|
3
|
-
import type { CompareFunction } from "../lib/CompareFunction";
|
|
4
|
-
import { type SelectionEventHandler, SelectionMode, type TableEventHandler } from "../UniDataTable";
|
|
1
|
+
import { OrderDirection } from "../lib/OrderDirection";
|
|
2
|
+
import { type TableEventHandler } from "../UniDataTable";
|
|
5
3
|
import type DataColumn from "../lib/DataColumn";
|
|
6
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
7
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -17,16 +15,14 @@ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> =
|
|
|
17
15
|
z_$$bindings?: Bindings;
|
|
18
16
|
}
|
|
19
17
|
declare const TableHeaderPanel: $$__sveltets_2_IsomorphicComponent<{
|
|
20
|
-
actionsColumn: ActionsColumn | null;
|
|
21
|
-
indicatorColumn: IndicatorColumn;
|
|
22
18
|
scrollLeft?: number;
|
|
23
|
-
handleToggleSelectAll: SelectionEventHandler;
|
|
24
19
|
handleWidthChange: TableEventHandler;
|
|
25
|
-
sortData: (compareFun: CompareFunction, descending: boolean) => void;
|
|
26
20
|
dataCols: Array<any>;
|
|
27
|
-
frozenCols?: Array<DataColumn>;
|
|
28
|
-
selectionMode: SelectionMode;
|
|
29
21
|
width?: number;
|
|
22
|
+
hasWhitespace?: boolean;
|
|
23
|
+
handleCellClick: (col: DataColumn) => any;
|
|
24
|
+
orderColumn: DataColumn;
|
|
25
|
+
orderDirection: OrderDirection;
|
|
30
26
|
}, {
|
|
31
27
|
[evt: string]: CustomEvent<any>;
|
|
32
28
|
}, {}, {}, string>;
|
|
@@ -1,14 +1,4 @@
|
|
|
1
1
|
export default class TableRow {
|
|
2
|
-
private _expand;
|
|
3
|
-
private _height;
|
|
4
2
|
readonly data: any;
|
|
5
|
-
private _isBusy;
|
|
6
|
-
selected: boolean;
|
|
7
3
|
constructor(data: any);
|
|
8
|
-
get height(): number;
|
|
9
|
-
set height(value: number);
|
|
10
|
-
get expand(): boolean;
|
|
11
|
-
set expand(value: boolean);
|
|
12
|
-
get isBusy(): boolean;
|
|
13
|
-
set isBusy(value: boolean);
|
|
14
4
|
}
|
|
@@ -1,35 +1,6 @@
|
|
|
1
1
|
export default class TableRow {
|
|
2
|
-
_expand = false;
|
|
3
|
-
_height = 0;
|
|
4
2
|
data;
|
|
5
|
-
_isBusy = false;
|
|
6
|
-
selected = false;
|
|
7
3
|
constructor(data) {
|
|
8
4
|
this.data = data;
|
|
9
5
|
}
|
|
10
|
-
get height() {
|
|
11
|
-
return this._height;
|
|
12
|
-
}
|
|
13
|
-
set height(value) {
|
|
14
|
-
this._height = value;
|
|
15
|
-
}
|
|
16
|
-
get expand() {
|
|
17
|
-
return this._expand;
|
|
18
|
-
}
|
|
19
|
-
set expand(value) {
|
|
20
|
-
this._expand = value;
|
|
21
|
-
}
|
|
22
|
-
// get selected(): boolean {
|
|
23
|
-
// return this._selected;
|
|
24
|
-
// }
|
|
25
|
-
//
|
|
26
|
-
// set selected(value: boolean) {
|
|
27
|
-
// this._selected = value;
|
|
28
|
-
// }
|
|
29
|
-
get isBusy() {
|
|
30
|
-
return this._isBusy;
|
|
31
|
-
}
|
|
32
|
-
set isBusy(value) {
|
|
33
|
-
this._isBusy = value;
|
|
34
|
-
}
|
|
35
6
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import type { CompareFunction } from "../lib/CompareFunction";
|
|
2
1
|
import TableRow from "./TableRow";
|
|
3
2
|
export default class TableRows {
|
|
4
3
|
private _rows;
|
|
5
4
|
constructor();
|
|
6
5
|
set data(list: Array<any>);
|
|
7
6
|
get rows(): Array<TableRow>;
|
|
8
|
-
sort(compareFun: CompareFunction, descending: boolean): void;
|
|
9
7
|
}
|
|
@@ -10,8 +10,6 @@
|
|
|
10
10
|
let escapeHTML: boolean = false;
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
13
|
$: {
|
|
16
14
|
let value = tableUtils.extractFieldValue(data, column.field);
|
|
17
15
|
if (column.formatter) {
|
|
@@ -26,10 +24,9 @@
|
|
|
26
24
|
|
|
27
25
|
</script>
|
|
28
26
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
</div>
|
|
27
|
+
|
|
28
|
+
{#if escapeHTML == true}
|
|
29
|
+
{@html text}
|
|
30
|
+
{:else}
|
|
31
|
+
<span>{text}</span>
|
|
32
|
+
{/if}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
2
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
3
|
+
$$bindings?: Bindings;
|
|
4
|
+
} & Exports;
|
|
5
|
+
(internal: unknown, props: {
|
|
6
|
+
$$events?: Events;
|
|
7
|
+
$$slots?: Slots;
|
|
8
|
+
}): Exports & {
|
|
9
|
+
$set?: any;
|
|
10
|
+
$on?: any;
|
|
11
|
+
};
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
13
|
+
}
|
|
14
|
+
declare const TreeRootCell: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
|
|
15
|
+
[evt: string]: CustomEvent<any>;
|
|
16
|
+
}, {}, {}, string>;
|
|
17
|
+
type TreeRootCell = InstanceType<typeof TreeRootCell>;
|
|
18
|
+
export default TreeRootCell;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
export let big: boolean = false;
|
|
14
14
|
export let rowsSet: Array<number> = [25, 50, 100];
|
|
15
15
|
export let total: number = null as unknown as number;
|
|
16
|
-
export let generateInfo: GenerateTotalInfo;
|
|
16
|
+
export let generateInfo: GenerateTotalInfo | null = null;
|
|
17
17
|
export let rowCount: number = 25;
|
|
18
18
|
export let rowCountLabel: string = 'Rows/Page';
|
|
19
19
|
export let align: 'left' | 'right' | '' = '';
|
|
@@ -22,7 +22,7 @@ declare const PaginationPanel: $$__sveltets_2_IsomorphicComponent<{
|
|
|
22
22
|
big?: boolean;
|
|
23
23
|
rowsSet?: Array<number>;
|
|
24
24
|
total?: number;
|
|
25
|
-
generateInfo
|
|
25
|
+
generateInfo?: GenerateTotalInfo | null;
|
|
26
26
|
rowCount?: number;
|
|
27
27
|
rowCountLabel?: string;
|
|
28
28
|
align?: "left" | "right" | "";
|