@paperless/core 1.15.0 → 1.16.0
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/CHANGELOG.md +11 -0
- package/dist/assets/i18n/table.i18n.en.json +4 -0
- package/dist/assets/i18n/table.i18n.nl.json +4 -0
- package/dist/build/p-2327d2ad.entry.js +2 -0
- package/dist/build/p-2327d2ad.entry.js.map +1 -0
- package/dist/build/{p-502ff028.entry.js → p-4ea9ac89.entry.js} +2 -2
- package/dist/build/p-4ea9ac89.entry.js.map +1 -0
- package/dist/build/paperless.esm.js +1 -1
- package/dist/build/paperless.esm.js.map +1 -1
- package/dist/cjs/index-1fde8b14.js +2 -10
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{p-illustration_6.cjs.entry.js → p-floating-menu-container_8.cjs.entry.js} +42 -14
- package/dist/cjs/p-floating-menu-container_8.cjs.entry.js.map +1 -0
- package/dist/cjs/p-table.cjs.entry.js +33 -14
- package/dist/cjs/p-table.cjs.entry.js.map +1 -1
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.css +1 -1
- package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js +26 -1
- package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js.map +1 -1
- package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.css +1 -1
- package/dist/collection/components/molecules/table-header/table-header.component.js +33 -33
- package/dist/collection/components/molecules/table-header/table-header.component.js.map +1 -1
- package/dist/collection/components/organisms/table/table.component.css +1 -1
- package/dist/collection/components/organisms/table/table.component.js +107 -30
- package/dist/collection/components/organisms/table/table.component.js.map +1 -1
- package/dist/collection/tailwind/z-index.js +1 -0
- package/dist/components/floating-menu-container.component.js +35 -0
- package/dist/components/floating-menu-container.component.js.map +1 -0
- package/dist/components/floating-menu-item.component.js +35 -0
- package/dist/components/floating-menu-item.component.js.map +1 -0
- package/dist/components/p-floating-menu-container.js +1 -28
- package/dist/components/p-floating-menu-container.js.map +1 -1
- package/dist/components/p-floating-menu-item.js +1 -31
- package/dist/components/p-floating-menu-item.js.map +1 -1
- package/dist/components/p-table.js +63 -29
- package/dist/components/p-table.js.map +1 -1
- package/dist/components/table-header.component.js +19 -19
- package/dist/components/table-header.component.js.map +1 -1
- package/dist/esm/index-7b917f6b.js +2 -10
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{p-illustration_6.entry.js → p-floating-menu-container_8.entry.js} +41 -15
- package/dist/esm/p-floating-menu-container_8.entry.js.map +1 -0
- package/dist/esm/p-table.entry.js +33 -14
- package/dist/esm/p-table.entry.js.map +1 -1
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/p-2327d2ad.entry.js +2 -0
- package/dist/paperless/p-2327d2ad.entry.js.map +1 -0
- package/dist/paperless/{p-502ff028.entry.js → p-4ea9ac89.entry.js} +2 -2
- package/dist/paperless/p-4ea9ac89.entry.js.map +1 -0
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/paperless/paperless.esm.js.map +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/tailwind/z-index.js +1 -0
- package/dist/types/components/atoms/floating-menu-container/floating-menu-container.component.d.ts +4 -0
- package/dist/types/components/molecules/table-header/table-header.component.d.ts +15 -15
- package/dist/types/components/organisms/table/table.component.d.ts +26 -12
- package/dist/types/components.d.ts +98 -66
- package/hydrate/index.js +67 -42
- package/package.json +1 -1
- package/dist/build/p-502ff028.entry.js.map +0 -1
- package/dist/build/p-b59e29d7.entry.js +0 -2
- package/dist/build/p-b59e29d7.entry.js.map +0 -1
- package/dist/build/p-d8149bb7.entry.js +0 -2
- package/dist/build/p-d8149bb7.entry.js.map +0 -1
- package/dist/build/p-d8e5bef2.entry.js +0 -2
- package/dist/build/p-d8e5bef2.entry.js.map +0 -1
- package/dist/cjs/p-floating-menu-container.cjs.entry.js +0 -21
- package/dist/cjs/p-floating-menu-container.cjs.entry.js.map +0 -1
- package/dist/cjs/p-floating-menu-item.cjs.entry.js +0 -22
- package/dist/cjs/p-floating-menu-item.cjs.entry.js.map +0 -1
- package/dist/cjs/p-illustration_6.cjs.entry.js.map +0 -1
- package/dist/esm/p-floating-menu-container.entry.js +0 -17
- package/dist/esm/p-floating-menu-container.entry.js.map +0 -1
- package/dist/esm/p-floating-menu-item.entry.js +0 -18
- package/dist/esm/p-floating-menu-item.entry.js.map +0 -1
- package/dist/esm/p-illustration_6.entry.js.map +0 -1
- package/dist/paperless/p-502ff028.entry.js.map +0 -1
- package/dist/paperless/p-b59e29d7.entry.js +0 -2
- package/dist/paperless/p-b59e29d7.entry.js.map +0 -1
- package/dist/paperless/p-d8149bb7.entry.js +0 -2
- package/dist/paperless/p-d8149bb7.entry.js.map +0 -1
- package/dist/paperless/p-d8e5bef2.entry.js +0 -2
- package/dist/paperless/p-d8e5bef2.entry.js.map +0 -1
|
@@ -5,7 +5,7 @@ export type templateFunc = () => string;
|
|
|
5
5
|
export type buttonTemplateFunc = (amount: number) => string;
|
|
6
6
|
export declare class TableHeader {
|
|
7
7
|
private _defaultFilterButtonTemplate;
|
|
8
|
-
private
|
|
8
|
+
private _defaultActionButtonTemplate;
|
|
9
9
|
/**
|
|
10
10
|
* Quick filters to show
|
|
11
11
|
*/
|
|
@@ -43,29 +43,29 @@ export declare class TableHeader {
|
|
|
43
43
|
*/
|
|
44
44
|
filterButtonTemplate: templateFunc;
|
|
45
45
|
/**
|
|
46
|
-
* Wether to show the
|
|
46
|
+
* Wether to show the action button
|
|
47
47
|
*/
|
|
48
|
-
|
|
48
|
+
enableAction: boolean;
|
|
49
49
|
/**
|
|
50
|
-
* Wether the
|
|
50
|
+
* Wether the action button is loading
|
|
51
51
|
*/
|
|
52
|
-
|
|
52
|
+
actionLoading: boolean;
|
|
53
53
|
/**
|
|
54
|
-
* The
|
|
54
|
+
* The action button icon
|
|
55
55
|
*/
|
|
56
|
-
|
|
56
|
+
actionIcon: IconVariant;
|
|
57
57
|
/**
|
|
58
|
-
* The
|
|
58
|
+
* The action button text if changed
|
|
59
59
|
*/
|
|
60
|
-
|
|
60
|
+
actionText: string;
|
|
61
61
|
/**
|
|
62
|
-
* Wether to enable the
|
|
62
|
+
* Wether to enable the action button
|
|
63
63
|
*/
|
|
64
|
-
|
|
64
|
+
canUseAction: boolean;
|
|
65
65
|
/**
|
|
66
|
-
* The template for the
|
|
66
|
+
* The template for the action button text
|
|
67
67
|
*/
|
|
68
|
-
|
|
68
|
+
actionButtonTemplate: buttonTemplateFunc;
|
|
69
69
|
/**
|
|
70
70
|
* Event when one of the quick filters is clicked
|
|
71
71
|
*/
|
|
@@ -79,9 +79,9 @@ export declare class TableHeader {
|
|
|
79
79
|
*/
|
|
80
80
|
filter: EventEmitter<null>;
|
|
81
81
|
/**
|
|
82
|
-
* Event when the
|
|
82
|
+
* Event when the action button is clicked
|
|
83
83
|
*/
|
|
84
|
-
|
|
84
|
+
action: EventEmitter<null>;
|
|
85
85
|
/**
|
|
86
86
|
* The host element
|
|
87
87
|
*/
|
|
@@ -3,6 +3,7 @@ import { IconVariant } from '../../../components';
|
|
|
3
3
|
import { QuickFilter, RowClickEvent } from '../../../types/table';
|
|
4
4
|
import { buttonTemplateFunc } from '../../molecules/table-header/table-header.component';
|
|
5
5
|
export type templateFunc = () => string;
|
|
6
|
+
export type amountSelectedTemplateFunc = (amount: number) => string;
|
|
6
7
|
export declare class Table {
|
|
7
8
|
/**
|
|
8
9
|
* The items to be fed to the table
|
|
@@ -36,6 +37,14 @@ export declare class Table {
|
|
|
36
37
|
* The current selection of items
|
|
37
38
|
*/
|
|
38
39
|
selectedRows: any[];
|
|
40
|
+
/**
|
|
41
|
+
* Wether to enable the floating menu
|
|
42
|
+
*/
|
|
43
|
+
enableFloatingMenu: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* The template for amount selected item in the floating menu
|
|
46
|
+
*/
|
|
47
|
+
floatingMenuAmountSelectedTemplate: amountSelectedTemplateFunc;
|
|
39
48
|
/**
|
|
40
49
|
* Event whenever the current selection changes
|
|
41
50
|
*/
|
|
@@ -98,25 +107,29 @@ export declare class Table {
|
|
|
98
107
|
*/
|
|
99
108
|
filterButtonTemplate: templateFunc;
|
|
100
109
|
/**
|
|
101
|
-
* Wether to show the
|
|
110
|
+
* Wether to show the action button
|
|
111
|
+
*/
|
|
112
|
+
enableAction: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Wether the action button is loading
|
|
102
115
|
*/
|
|
103
|
-
|
|
116
|
+
actionButtonLoading: boolean;
|
|
104
117
|
/**
|
|
105
|
-
* Wether the
|
|
118
|
+
* Wether the action button is enabled
|
|
106
119
|
*/
|
|
107
|
-
|
|
120
|
+
actionButtonEnabled: boolean;
|
|
108
121
|
/**
|
|
109
|
-
* The
|
|
122
|
+
* The action button icon
|
|
110
123
|
*/
|
|
111
|
-
|
|
124
|
+
actionButtonIcon: IconVariant;
|
|
112
125
|
/**
|
|
113
|
-
* The
|
|
126
|
+
* The action button text if changed
|
|
114
127
|
*/
|
|
115
|
-
|
|
128
|
+
actionButtonText: string;
|
|
116
129
|
/**
|
|
117
|
-
* The template for the
|
|
130
|
+
* The template for the action button text
|
|
118
131
|
*/
|
|
119
|
-
|
|
132
|
+
actionButtonTemplate: buttonTemplateFunc;
|
|
120
133
|
/**
|
|
121
134
|
* Event when one of the quick filters is clicked
|
|
122
135
|
*/
|
|
@@ -130,9 +143,9 @@ export declare class Table {
|
|
|
130
143
|
*/
|
|
131
144
|
filter: EventEmitter<null>;
|
|
132
145
|
/**
|
|
133
|
-
* Event when the
|
|
146
|
+
* Event when the action button is clicked
|
|
134
147
|
*/
|
|
135
|
-
|
|
148
|
+
action: EventEmitter<null>;
|
|
136
149
|
/** START FOOTER */
|
|
137
150
|
/**
|
|
138
151
|
* Wether to show the header
|
|
@@ -207,6 +220,7 @@ export declare class Table {
|
|
|
207
220
|
private _items;
|
|
208
221
|
private _ctrlDown;
|
|
209
222
|
private _hasCustomFilterSlot;
|
|
223
|
+
private _hasFloatingMenuItems;
|
|
210
224
|
componentWillLoad(): void;
|
|
211
225
|
componentDidRender(): void;
|
|
212
226
|
render(): any;
|
|
@@ -13,8 +13,8 @@ import { IllustrationVariant } from "./components/atoms/illustration/illustratio
|
|
|
13
13
|
import { RotateOptions as RotateOptions1, TableDefinitionData, TableDefinitionTemplateFunc } from "./types";
|
|
14
14
|
import { Observable } from "rxjs";
|
|
15
15
|
import { templateFunc } from "./components/molecules/page-size-select/page-size-select.component";
|
|
16
|
+
import { amountSelectedTemplateFunc, templateFunc as templateFunc1 } from "./components/organisms/table/table.component";
|
|
16
17
|
import { QuickFilter, RowClickEvent, TableColumnSizes } from "./types/table";
|
|
17
|
-
import { templateFunc as templateFunc1 } from "./components/organisms/table/table.component";
|
|
18
18
|
import { IconVariant as IconVariant2 } from "./components";
|
|
19
19
|
import { buttonTemplateFunc } from "./components/molecules/table-header/table-header.component";
|
|
20
20
|
import { TableColumn } from "./components/helpers/table-column/table-column.component";
|
|
@@ -27,8 +27,8 @@ export { IllustrationVariant } from "./components/atoms/illustration/illustratio
|
|
|
27
27
|
export { RotateOptions as RotateOptions1, TableDefinitionData, TableDefinitionTemplateFunc } from "./types";
|
|
28
28
|
export { Observable } from "rxjs";
|
|
29
29
|
export { templateFunc } from "./components/molecules/page-size-select/page-size-select.component";
|
|
30
|
+
export { amountSelectedTemplateFunc, templateFunc as templateFunc1 } from "./components/organisms/table/table.component";
|
|
30
31
|
export { QuickFilter, RowClickEvent, TableColumnSizes } from "./types/table";
|
|
31
|
-
export { templateFunc as templateFunc1 } from "./components/organisms/table/table.component";
|
|
32
32
|
export { IconVariant as IconVariant2 } from "./components";
|
|
33
33
|
export { buttonTemplateFunc } from "./components/molecules/table-header/table-header.component";
|
|
34
34
|
export { TableColumn } from "./components/helpers/table-column/table-column.component";
|
|
@@ -479,6 +479,10 @@ export namespace Components {
|
|
|
479
479
|
"icon": IconVariant;
|
|
480
480
|
}
|
|
481
481
|
interface PFloatingMenuContainer {
|
|
482
|
+
/**
|
|
483
|
+
* Weather the container is used in the table
|
|
484
|
+
*/
|
|
485
|
+
"usedInTable": boolean;
|
|
482
486
|
}
|
|
483
487
|
interface PFloatingMenuItem {
|
|
484
488
|
/**
|
|
@@ -1053,42 +1057,46 @@ export namespace Components {
|
|
|
1053
1057
|
}
|
|
1054
1058
|
interface PTable {
|
|
1055
1059
|
/**
|
|
1056
|
-
*
|
|
1060
|
+
* Wether the action button is enabled
|
|
1057
1061
|
*/
|
|
1058
|
-
"
|
|
1062
|
+
"actionButtonEnabled": boolean;
|
|
1059
1063
|
/**
|
|
1060
|
-
* The
|
|
1064
|
+
* The action button icon
|
|
1061
1065
|
*/
|
|
1062
|
-
"
|
|
1066
|
+
"actionButtonIcon": IconVariant2;
|
|
1063
1067
|
/**
|
|
1064
|
-
*
|
|
1068
|
+
* Wether the action button is loading
|
|
1065
1069
|
*/
|
|
1066
|
-
"
|
|
1070
|
+
"actionButtonLoading": boolean;
|
|
1071
|
+
/**
|
|
1072
|
+
* The template for the action button text
|
|
1073
|
+
*/
|
|
1074
|
+
"actionButtonTemplate": buttonTemplateFunc;
|
|
1067
1075
|
/**
|
|
1068
|
-
* The
|
|
1076
|
+
* The action button text if changed
|
|
1069
1077
|
*/
|
|
1070
|
-
"
|
|
1078
|
+
"actionButtonText": string;
|
|
1071
1079
|
/**
|
|
1072
|
-
*
|
|
1080
|
+
* Active quick filter identifier
|
|
1073
1081
|
*/
|
|
1074
|
-
"
|
|
1082
|
+
"activeQuickFilterIdentifier": string;
|
|
1075
1083
|
/**
|
|
1076
|
-
* The
|
|
1084
|
+
* The amount of loading rows to show
|
|
1077
1085
|
*/
|
|
1078
|
-
"
|
|
1086
|
+
"amountOfLoadingRows": number;
|
|
1079
1087
|
/**
|
|
1080
|
-
*
|
|
1088
|
+
* A key to determine if a row can be selected
|
|
1081
1089
|
*/
|
|
1082
|
-
"
|
|
1090
|
+
"canSelectKey": string;
|
|
1083
1091
|
"emptyStateAction": templateFunc1;
|
|
1084
1092
|
"emptyStateContent": templateFunc1;
|
|
1085
1093
|
"emptyStateFilteredContent": templateFunc1;
|
|
1086
1094
|
"emptyStateFilteredHeader": templateFunc1;
|
|
1087
1095
|
"emptyStateHeader": templateFunc1;
|
|
1088
1096
|
/**
|
|
1089
|
-
* Wether to show the
|
|
1097
|
+
* Wether to show the action button
|
|
1090
1098
|
*/
|
|
1091
|
-
"
|
|
1099
|
+
"enableAction": boolean;
|
|
1092
1100
|
/**
|
|
1093
1101
|
* Wether to enable empty state action
|
|
1094
1102
|
*/
|
|
@@ -1101,6 +1109,10 @@ export namespace Components {
|
|
|
1101
1109
|
* Wether to show the filter button
|
|
1102
1110
|
*/
|
|
1103
1111
|
"enableFilter": boolean;
|
|
1112
|
+
/**
|
|
1113
|
+
* Wether to enable the floating menu
|
|
1114
|
+
*/
|
|
1115
|
+
"enableFloatingMenu": boolean;
|
|
1104
1116
|
/**
|
|
1105
1117
|
* Wether to show the header
|
|
1106
1118
|
*/
|
|
@@ -1133,6 +1145,10 @@ export namespace Components {
|
|
|
1133
1145
|
* The template for the filter button text
|
|
1134
1146
|
*/
|
|
1135
1147
|
"filterButtonTemplate": templateFunc1;
|
|
1148
|
+
/**
|
|
1149
|
+
* The template for amount selected item in the floating menu
|
|
1150
|
+
*/
|
|
1151
|
+
"floatingMenuAmountSelectedTemplate": amountSelectedTemplateFunc;
|
|
1136
1152
|
/**
|
|
1137
1153
|
* Wether the footer should show loading state
|
|
1138
1154
|
*/
|
|
@@ -1304,33 +1320,33 @@ export namespace Components {
|
|
|
1304
1320
|
}
|
|
1305
1321
|
interface PTableHeader {
|
|
1306
1322
|
/**
|
|
1307
|
-
*
|
|
1323
|
+
* The template for the action button text
|
|
1308
1324
|
*/
|
|
1309
|
-
"
|
|
1325
|
+
"actionButtonTemplate": buttonTemplateFunc1;
|
|
1310
1326
|
/**
|
|
1311
|
-
*
|
|
1327
|
+
* The action button icon
|
|
1312
1328
|
*/
|
|
1313
|
-
"
|
|
1329
|
+
"actionIcon": IconVariant2;
|
|
1314
1330
|
/**
|
|
1315
|
-
*
|
|
1331
|
+
* Wether the action button is loading
|
|
1316
1332
|
*/
|
|
1317
|
-
"
|
|
1333
|
+
"actionLoading": boolean;
|
|
1318
1334
|
/**
|
|
1319
|
-
* The
|
|
1335
|
+
* The action button text if changed
|
|
1320
1336
|
*/
|
|
1321
|
-
"
|
|
1337
|
+
"actionText": string;
|
|
1322
1338
|
/**
|
|
1323
|
-
*
|
|
1339
|
+
* Active quick filter identifier
|
|
1324
1340
|
*/
|
|
1325
|
-
"
|
|
1341
|
+
"activeQuickFilterIdentifier": string;
|
|
1326
1342
|
/**
|
|
1327
|
-
*
|
|
1343
|
+
* Wether to enable the action button
|
|
1328
1344
|
*/
|
|
1329
|
-
"
|
|
1345
|
+
"canUseAction": boolean;
|
|
1330
1346
|
/**
|
|
1331
|
-
* Wether to show the
|
|
1347
|
+
* Wether to show the action button
|
|
1332
1348
|
*/
|
|
1333
|
-
"
|
|
1349
|
+
"enableAction": boolean;
|
|
1334
1350
|
/**
|
|
1335
1351
|
* Wether to show the filter button
|
|
1336
1352
|
*/
|
|
@@ -2474,6 +2490,10 @@ declare namespace LocalJSX {
|
|
|
2474
2490
|
"icon"?: IconVariant;
|
|
2475
2491
|
}
|
|
2476
2492
|
interface PFloatingMenuContainer {
|
|
2493
|
+
/**
|
|
2494
|
+
* Weather the container is used in the table
|
|
2495
|
+
*/
|
|
2496
|
+
"usedInTable"?: boolean;
|
|
2477
2497
|
}
|
|
2478
2498
|
interface PFloatingMenuItem {
|
|
2479
2499
|
/**
|
|
@@ -3080,42 +3100,46 @@ declare namespace LocalJSX {
|
|
|
3080
3100
|
}
|
|
3081
3101
|
interface PTable {
|
|
3082
3102
|
/**
|
|
3083
|
-
*
|
|
3103
|
+
* Wether the action button is enabled
|
|
3084
3104
|
*/
|
|
3085
|
-
"
|
|
3105
|
+
"actionButtonEnabled"?: boolean;
|
|
3086
3106
|
/**
|
|
3087
|
-
* The
|
|
3107
|
+
* The action button icon
|
|
3088
3108
|
*/
|
|
3089
|
-
"
|
|
3109
|
+
"actionButtonIcon"?: IconVariant2;
|
|
3090
3110
|
/**
|
|
3091
|
-
*
|
|
3111
|
+
* Wether the action button is loading
|
|
3092
3112
|
*/
|
|
3093
|
-
"
|
|
3113
|
+
"actionButtonLoading"?: boolean;
|
|
3114
|
+
/**
|
|
3115
|
+
* The template for the action button text
|
|
3116
|
+
*/
|
|
3117
|
+
"actionButtonTemplate"?: buttonTemplateFunc;
|
|
3094
3118
|
/**
|
|
3095
|
-
* The
|
|
3119
|
+
* The action button text if changed
|
|
3096
3120
|
*/
|
|
3097
|
-
"
|
|
3121
|
+
"actionButtonText"?: string;
|
|
3098
3122
|
/**
|
|
3099
|
-
*
|
|
3123
|
+
* Active quick filter identifier
|
|
3100
3124
|
*/
|
|
3101
|
-
"
|
|
3125
|
+
"activeQuickFilterIdentifier"?: string;
|
|
3102
3126
|
/**
|
|
3103
|
-
* The
|
|
3127
|
+
* The amount of loading rows to show
|
|
3104
3128
|
*/
|
|
3105
|
-
"
|
|
3129
|
+
"amountOfLoadingRows"?: number;
|
|
3106
3130
|
/**
|
|
3107
|
-
*
|
|
3131
|
+
* A key to determine if a row can be selected
|
|
3108
3132
|
*/
|
|
3109
|
-
"
|
|
3133
|
+
"canSelectKey"?: string;
|
|
3110
3134
|
"emptyStateAction"?: templateFunc1;
|
|
3111
3135
|
"emptyStateContent"?: templateFunc1;
|
|
3112
3136
|
"emptyStateFilteredContent"?: templateFunc1;
|
|
3113
3137
|
"emptyStateFilteredHeader"?: templateFunc1;
|
|
3114
3138
|
"emptyStateHeader"?: templateFunc1;
|
|
3115
3139
|
/**
|
|
3116
|
-
* Wether to show the
|
|
3140
|
+
* Wether to show the action button
|
|
3117
3141
|
*/
|
|
3118
|
-
"
|
|
3142
|
+
"enableAction"?: boolean;
|
|
3119
3143
|
/**
|
|
3120
3144
|
* Wether to enable empty state action
|
|
3121
3145
|
*/
|
|
@@ -3128,6 +3152,10 @@ declare namespace LocalJSX {
|
|
|
3128
3152
|
* Wether to show the filter button
|
|
3129
3153
|
*/
|
|
3130
3154
|
"enableFilter"?: boolean;
|
|
3155
|
+
/**
|
|
3156
|
+
* Wether to enable the floating menu
|
|
3157
|
+
*/
|
|
3158
|
+
"enableFloatingMenu"?: boolean;
|
|
3131
3159
|
/**
|
|
3132
3160
|
* Wether to show the header
|
|
3133
3161
|
*/
|
|
@@ -3160,6 +3188,10 @@ declare namespace LocalJSX {
|
|
|
3160
3188
|
* The template for the filter button text
|
|
3161
3189
|
*/
|
|
3162
3190
|
"filterButtonTemplate"?: templateFunc1;
|
|
3191
|
+
/**
|
|
3192
|
+
* The template for amount selected item in the floating menu
|
|
3193
|
+
*/
|
|
3194
|
+
"floatingMenuAmountSelectedTemplate"?: amountSelectedTemplateFunc;
|
|
3163
3195
|
/**
|
|
3164
3196
|
* Wether the footer should show loading state
|
|
3165
3197
|
*/
|
|
@@ -3181,9 +3213,9 @@ declare namespace LocalJSX {
|
|
|
3181
3213
|
*/
|
|
3182
3214
|
"loading"?: boolean;
|
|
3183
3215
|
/**
|
|
3184
|
-
* Event when the
|
|
3216
|
+
* Event when the action button is clicked
|
|
3185
3217
|
*/
|
|
3186
|
-
"
|
|
3218
|
+
"onAction"?: (event: PTableCustomEvent<null>) => void;
|
|
3187
3219
|
/**
|
|
3188
3220
|
* Event whenever the empty state is clicked
|
|
3189
3221
|
*/
|
|
@@ -3399,33 +3431,33 @@ declare namespace LocalJSX {
|
|
|
3399
3431
|
}
|
|
3400
3432
|
interface PTableHeader {
|
|
3401
3433
|
/**
|
|
3402
|
-
*
|
|
3434
|
+
* The template for the action button text
|
|
3403
3435
|
*/
|
|
3404
|
-
"
|
|
3436
|
+
"actionButtonTemplate"?: buttonTemplateFunc1;
|
|
3405
3437
|
/**
|
|
3406
|
-
*
|
|
3438
|
+
* The action button icon
|
|
3407
3439
|
*/
|
|
3408
|
-
"
|
|
3440
|
+
"actionIcon"?: IconVariant2;
|
|
3409
3441
|
/**
|
|
3410
|
-
*
|
|
3442
|
+
* Wether the action button is loading
|
|
3411
3443
|
*/
|
|
3412
|
-
"
|
|
3444
|
+
"actionLoading"?: boolean;
|
|
3413
3445
|
/**
|
|
3414
|
-
* The
|
|
3446
|
+
* The action button text if changed
|
|
3415
3447
|
*/
|
|
3416
|
-
"
|
|
3448
|
+
"actionText"?: string;
|
|
3417
3449
|
/**
|
|
3418
|
-
*
|
|
3450
|
+
* Active quick filter identifier
|
|
3419
3451
|
*/
|
|
3420
|
-
"
|
|
3452
|
+
"activeQuickFilterIdentifier"?: string;
|
|
3421
3453
|
/**
|
|
3422
|
-
*
|
|
3454
|
+
* Wether to enable the action button
|
|
3423
3455
|
*/
|
|
3424
|
-
"
|
|
3456
|
+
"canUseAction"?: boolean;
|
|
3425
3457
|
/**
|
|
3426
|
-
* Wether to show the
|
|
3458
|
+
* Wether to show the action button
|
|
3427
3459
|
*/
|
|
3428
|
-
"
|
|
3460
|
+
"enableAction"?: boolean;
|
|
3429
3461
|
/**
|
|
3430
3462
|
* Wether to show the filter button
|
|
3431
3463
|
*/
|
|
@@ -3447,9 +3479,9 @@ declare namespace LocalJSX {
|
|
|
3447
3479
|
*/
|
|
3448
3480
|
"loading"?: boolean;
|
|
3449
3481
|
/**
|
|
3450
|
-
* Event when the
|
|
3482
|
+
* Event when the action button is clicked
|
|
3451
3483
|
*/
|
|
3452
|
-
"
|
|
3484
|
+
"onAction"?: (event: PTableHeaderCustomEvent<null>) => void;
|
|
3453
3485
|
/**
|
|
3454
3486
|
* Event when the filter button is clicked
|
|
3455
3487
|
*/
|