@paperless/core 1.14.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 +23 -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/p-a2b552f9.entry.js +2 -0
- package/dist/build/p-a2b552f9.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 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-divider.cjs.entry.js +2 -1
- package/dist/cjs/p-divider.cjs.entry.js.map +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/collection-manifest.json +2 -0
- package/dist/collection/components/atoms/divider/divider.component.css +1 -1
- package/dist/collection/components/atoms/divider/divider.component.js +25 -0
- package/dist/collection/components/atoms/divider/divider.component.js.map +1 -1
- package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.css +1 -0
- package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js +44 -0
- package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js.map +1 -0
- package/dist/collection/components/atoms/floating-menu-container/test/floating-menu-container.component.e2e.js +26 -0
- package/dist/collection/components/atoms/floating-menu-container/test/floating-menu-container.component.e2e.js.map +1 -0
- package/dist/collection/components/atoms/floating-menu-container/test/floating-menu-container.component.spec.js +17 -0
- package/dist/collection/components/atoms/floating-menu-container/test/floating-menu-container.component.spec.js.map +1 -0
- package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.css +1 -0
- package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js +44 -0
- package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js.map +1 -0
- package/dist/collection/components/atoms/floating-menu-item/test/floating-menu-container.component.e2e.js +26 -0
- package/dist/collection/components/atoms/floating-menu-item/test/floating-menu-container.component.e2e.js.map +1 -0
- package/dist/collection/components/atoms/floating-menu-item/test/floating-menu-container.component.spec.js +17 -0
- package/dist/collection/components/atoms/floating-menu-item/test/floating-menu-container.component.spec.js.map +1 -0
- 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/divider.component.js +5 -2
- package/dist/components/divider.component.js.map +1 -1
- 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.d.ts +11 -0
- package/dist/components/p-floating-menu-container.js +8 -0
- package/dist/components/p-floating-menu-container.js.map +1 -0
- package/dist/components/p-floating-menu-item.d.ts +11 -0
- package/dist/components/p-floating-menu-item.js +8 -0
- package/dist/components/p-floating-menu-item.js.map +1 -0
- 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 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-divider.entry.js +2 -1
- package/dist/esm/p-divider.entry.js.map +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/p-a2b552f9.entry.js +2 -0
- package/dist/paperless/p-a2b552f9.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/divider/divider.component.d.ts +4 -0
- package/dist/types/components/atoms/floating-menu-container/floating-menu-container.component.d.ts +7 -0
- package/dist/types/components/atoms/floating-menu-item/floating-menu-item.component.d.ts +7 -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 +140 -66
- package/hydrate/index.js +114 -41
- package/package.json +1 -1
- package/dist/build/p-0dcf23cd.entry.js +0 -2
- package/dist/build/p-0dcf23cd.entry.js.map +0 -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/cjs/p-illustration_6.cjs.entry.js.map +0 -1
- package/dist/esm/p-illustration_6.entry.js.map +0 -1
- package/dist/paperless/p-0dcf23cd.entry.js +0 -2
- package/dist/paperless/p-0dcf23cd.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
|
@@ -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";
|
|
@@ -351,6 +351,10 @@ export namespace Components {
|
|
|
351
351
|
"value": Date | string | null | undefined;
|
|
352
352
|
}
|
|
353
353
|
interface PDivider {
|
|
354
|
+
/**
|
|
355
|
+
* The variant of the modal body
|
|
356
|
+
*/
|
|
357
|
+
"variant": 'horizontal' | 'vertical';
|
|
354
358
|
}
|
|
355
359
|
interface PDrawer {
|
|
356
360
|
/**
|
|
@@ -474,6 +478,18 @@ export namespace Components {
|
|
|
474
478
|
*/
|
|
475
479
|
"icon": IconVariant;
|
|
476
480
|
}
|
|
481
|
+
interface PFloatingMenuContainer {
|
|
482
|
+
/**
|
|
483
|
+
* Weather the container is used in the table
|
|
484
|
+
*/
|
|
485
|
+
"usedInTable": boolean;
|
|
486
|
+
}
|
|
487
|
+
interface PFloatingMenuItem {
|
|
488
|
+
/**
|
|
489
|
+
* The variant of the modal body
|
|
490
|
+
*/
|
|
491
|
+
"hover": boolean;
|
|
492
|
+
}
|
|
477
493
|
interface PHelper {
|
|
478
494
|
/**
|
|
479
495
|
* The placement of the helper popover
|
|
@@ -1041,42 +1057,46 @@ export namespace Components {
|
|
|
1041
1057
|
}
|
|
1042
1058
|
interface PTable {
|
|
1043
1059
|
/**
|
|
1044
|
-
*
|
|
1060
|
+
* Wether the action button is enabled
|
|
1045
1061
|
*/
|
|
1046
|
-
"
|
|
1062
|
+
"actionButtonEnabled": boolean;
|
|
1047
1063
|
/**
|
|
1048
|
-
* The
|
|
1064
|
+
* The action button icon
|
|
1049
1065
|
*/
|
|
1050
|
-
"
|
|
1066
|
+
"actionButtonIcon": IconVariant2;
|
|
1051
1067
|
/**
|
|
1052
|
-
*
|
|
1068
|
+
* Wether the action button is loading
|
|
1053
1069
|
*/
|
|
1054
|
-
"
|
|
1070
|
+
"actionButtonLoading": boolean;
|
|
1071
|
+
/**
|
|
1072
|
+
* The template for the action button text
|
|
1073
|
+
*/
|
|
1074
|
+
"actionButtonTemplate": buttonTemplateFunc;
|
|
1055
1075
|
/**
|
|
1056
|
-
* The
|
|
1076
|
+
* The action button text if changed
|
|
1057
1077
|
*/
|
|
1058
|
-
"
|
|
1078
|
+
"actionButtonText": string;
|
|
1059
1079
|
/**
|
|
1060
|
-
*
|
|
1080
|
+
* Active quick filter identifier
|
|
1061
1081
|
*/
|
|
1062
|
-
"
|
|
1082
|
+
"activeQuickFilterIdentifier": string;
|
|
1063
1083
|
/**
|
|
1064
|
-
* The
|
|
1084
|
+
* The amount of loading rows to show
|
|
1065
1085
|
*/
|
|
1066
|
-
"
|
|
1086
|
+
"amountOfLoadingRows": number;
|
|
1067
1087
|
/**
|
|
1068
|
-
*
|
|
1088
|
+
* A key to determine if a row can be selected
|
|
1069
1089
|
*/
|
|
1070
|
-
"
|
|
1090
|
+
"canSelectKey": string;
|
|
1071
1091
|
"emptyStateAction": templateFunc1;
|
|
1072
1092
|
"emptyStateContent": templateFunc1;
|
|
1073
1093
|
"emptyStateFilteredContent": templateFunc1;
|
|
1074
1094
|
"emptyStateFilteredHeader": templateFunc1;
|
|
1075
1095
|
"emptyStateHeader": templateFunc1;
|
|
1076
1096
|
/**
|
|
1077
|
-
* Wether to show the
|
|
1097
|
+
* Wether to show the action button
|
|
1078
1098
|
*/
|
|
1079
|
-
"
|
|
1099
|
+
"enableAction": boolean;
|
|
1080
1100
|
/**
|
|
1081
1101
|
* Wether to enable empty state action
|
|
1082
1102
|
*/
|
|
@@ -1089,6 +1109,10 @@ export namespace Components {
|
|
|
1089
1109
|
* Wether to show the filter button
|
|
1090
1110
|
*/
|
|
1091
1111
|
"enableFilter": boolean;
|
|
1112
|
+
/**
|
|
1113
|
+
* Wether to enable the floating menu
|
|
1114
|
+
*/
|
|
1115
|
+
"enableFloatingMenu": boolean;
|
|
1092
1116
|
/**
|
|
1093
1117
|
* Wether to show the header
|
|
1094
1118
|
*/
|
|
@@ -1121,6 +1145,10 @@ export namespace Components {
|
|
|
1121
1145
|
* The template for the filter button text
|
|
1122
1146
|
*/
|
|
1123
1147
|
"filterButtonTemplate": templateFunc1;
|
|
1148
|
+
/**
|
|
1149
|
+
* The template for amount selected item in the floating menu
|
|
1150
|
+
*/
|
|
1151
|
+
"floatingMenuAmountSelectedTemplate": amountSelectedTemplateFunc;
|
|
1124
1152
|
/**
|
|
1125
1153
|
* Wether the footer should show loading state
|
|
1126
1154
|
*/
|
|
@@ -1292,33 +1320,33 @@ export namespace Components {
|
|
|
1292
1320
|
}
|
|
1293
1321
|
interface PTableHeader {
|
|
1294
1322
|
/**
|
|
1295
|
-
*
|
|
1323
|
+
* The template for the action button text
|
|
1296
1324
|
*/
|
|
1297
|
-
"
|
|
1325
|
+
"actionButtonTemplate": buttonTemplateFunc1;
|
|
1298
1326
|
/**
|
|
1299
|
-
*
|
|
1327
|
+
* The action button icon
|
|
1300
1328
|
*/
|
|
1301
|
-
"
|
|
1329
|
+
"actionIcon": IconVariant2;
|
|
1302
1330
|
/**
|
|
1303
|
-
*
|
|
1331
|
+
* Wether the action button is loading
|
|
1304
1332
|
*/
|
|
1305
|
-
"
|
|
1333
|
+
"actionLoading": boolean;
|
|
1306
1334
|
/**
|
|
1307
|
-
* The
|
|
1335
|
+
* The action button text if changed
|
|
1308
1336
|
*/
|
|
1309
|
-
"
|
|
1337
|
+
"actionText": string;
|
|
1310
1338
|
/**
|
|
1311
|
-
*
|
|
1339
|
+
* Active quick filter identifier
|
|
1312
1340
|
*/
|
|
1313
|
-
"
|
|
1341
|
+
"activeQuickFilterIdentifier": string;
|
|
1314
1342
|
/**
|
|
1315
|
-
*
|
|
1343
|
+
* Wether to enable the action button
|
|
1316
1344
|
*/
|
|
1317
|
-
"
|
|
1345
|
+
"canUseAction": boolean;
|
|
1318
1346
|
/**
|
|
1319
|
-
* Wether to show the
|
|
1347
|
+
* Wether to show the action button
|
|
1320
1348
|
*/
|
|
1321
|
-
"
|
|
1349
|
+
"enableAction": boolean;
|
|
1322
1350
|
/**
|
|
1323
1351
|
* Wether to show the filter button
|
|
1324
1352
|
*/
|
|
@@ -1646,6 +1674,18 @@ declare global {
|
|
|
1646
1674
|
prototype: HTMLPDropdownMenuItemElement;
|
|
1647
1675
|
new (): HTMLPDropdownMenuItemElement;
|
|
1648
1676
|
};
|
|
1677
|
+
interface HTMLPFloatingMenuContainerElement extends Components.PFloatingMenuContainer, HTMLStencilElement {
|
|
1678
|
+
}
|
|
1679
|
+
var HTMLPFloatingMenuContainerElement: {
|
|
1680
|
+
prototype: HTMLPFloatingMenuContainerElement;
|
|
1681
|
+
new (): HTMLPFloatingMenuContainerElement;
|
|
1682
|
+
};
|
|
1683
|
+
interface HTMLPFloatingMenuItemElement extends Components.PFloatingMenuItem, HTMLStencilElement {
|
|
1684
|
+
}
|
|
1685
|
+
var HTMLPFloatingMenuItemElement: {
|
|
1686
|
+
prototype: HTMLPFloatingMenuItemElement;
|
|
1687
|
+
new (): HTMLPFloatingMenuItemElement;
|
|
1688
|
+
};
|
|
1649
1689
|
interface HTMLPHelperElement extends Components.PHelper, HTMLStencilElement {
|
|
1650
1690
|
}
|
|
1651
1691
|
var HTMLPHelperElement: {
|
|
@@ -1909,6 +1949,8 @@ declare global {
|
|
|
1909
1949
|
"p-dropdown": HTMLPDropdownElement;
|
|
1910
1950
|
"p-dropdown-menu-container": HTMLPDropdownMenuContainerElement;
|
|
1911
1951
|
"p-dropdown-menu-item": HTMLPDropdownMenuItemElement;
|
|
1952
|
+
"p-floating-menu-container": HTMLPFloatingMenuContainerElement;
|
|
1953
|
+
"p-floating-menu-item": HTMLPFloatingMenuItemElement;
|
|
1912
1954
|
"p-helper": HTMLPHelperElement;
|
|
1913
1955
|
"p-icon": HTMLPIconElement;
|
|
1914
1956
|
"p-illustration": HTMLPIllustrationElement;
|
|
@@ -2301,6 +2343,10 @@ declare namespace LocalJSX {
|
|
|
2301
2343
|
"value"?: Date | string | null | undefined;
|
|
2302
2344
|
}
|
|
2303
2345
|
interface PDivider {
|
|
2346
|
+
/**
|
|
2347
|
+
* The variant of the modal body
|
|
2348
|
+
*/
|
|
2349
|
+
"variant"?: 'horizontal' | 'vertical';
|
|
2304
2350
|
}
|
|
2305
2351
|
interface PDrawer {
|
|
2306
2352
|
/**
|
|
@@ -2443,6 +2489,18 @@ declare namespace LocalJSX {
|
|
|
2443
2489
|
*/
|
|
2444
2490
|
"icon"?: IconVariant;
|
|
2445
2491
|
}
|
|
2492
|
+
interface PFloatingMenuContainer {
|
|
2493
|
+
/**
|
|
2494
|
+
* Weather the container is used in the table
|
|
2495
|
+
*/
|
|
2496
|
+
"usedInTable"?: boolean;
|
|
2497
|
+
}
|
|
2498
|
+
interface PFloatingMenuItem {
|
|
2499
|
+
/**
|
|
2500
|
+
* The variant of the modal body
|
|
2501
|
+
*/
|
|
2502
|
+
"hover"?: boolean;
|
|
2503
|
+
}
|
|
2446
2504
|
interface PHelper {
|
|
2447
2505
|
/**
|
|
2448
2506
|
* The placement of the helper popover
|
|
@@ -3042,42 +3100,46 @@ declare namespace LocalJSX {
|
|
|
3042
3100
|
}
|
|
3043
3101
|
interface PTable {
|
|
3044
3102
|
/**
|
|
3045
|
-
*
|
|
3103
|
+
* Wether the action button is enabled
|
|
3046
3104
|
*/
|
|
3047
|
-
"
|
|
3105
|
+
"actionButtonEnabled"?: boolean;
|
|
3048
3106
|
/**
|
|
3049
|
-
* The
|
|
3107
|
+
* The action button icon
|
|
3050
3108
|
*/
|
|
3051
|
-
"
|
|
3109
|
+
"actionButtonIcon"?: IconVariant2;
|
|
3052
3110
|
/**
|
|
3053
|
-
*
|
|
3111
|
+
* Wether the action button is loading
|
|
3054
3112
|
*/
|
|
3055
|
-
"
|
|
3113
|
+
"actionButtonLoading"?: boolean;
|
|
3056
3114
|
/**
|
|
3057
|
-
* The
|
|
3115
|
+
* The template for the action button text
|
|
3058
3116
|
*/
|
|
3059
|
-
"
|
|
3117
|
+
"actionButtonTemplate"?: buttonTemplateFunc;
|
|
3060
3118
|
/**
|
|
3061
|
-
*
|
|
3119
|
+
* The action button text if changed
|
|
3062
3120
|
*/
|
|
3063
|
-
"
|
|
3121
|
+
"actionButtonText"?: string;
|
|
3064
3122
|
/**
|
|
3065
|
-
*
|
|
3123
|
+
* Active quick filter identifier
|
|
3066
3124
|
*/
|
|
3067
|
-
"
|
|
3125
|
+
"activeQuickFilterIdentifier"?: string;
|
|
3068
3126
|
/**
|
|
3069
|
-
* The
|
|
3127
|
+
* The amount of loading rows to show
|
|
3070
3128
|
*/
|
|
3071
|
-
"
|
|
3129
|
+
"amountOfLoadingRows"?: number;
|
|
3130
|
+
/**
|
|
3131
|
+
* A key to determine if a row can be selected
|
|
3132
|
+
*/
|
|
3133
|
+
"canSelectKey"?: string;
|
|
3072
3134
|
"emptyStateAction"?: templateFunc1;
|
|
3073
3135
|
"emptyStateContent"?: templateFunc1;
|
|
3074
3136
|
"emptyStateFilteredContent"?: templateFunc1;
|
|
3075
3137
|
"emptyStateFilteredHeader"?: templateFunc1;
|
|
3076
3138
|
"emptyStateHeader"?: templateFunc1;
|
|
3077
3139
|
/**
|
|
3078
|
-
* Wether to show the
|
|
3140
|
+
* Wether to show the action button
|
|
3079
3141
|
*/
|
|
3080
|
-
"
|
|
3142
|
+
"enableAction"?: boolean;
|
|
3081
3143
|
/**
|
|
3082
3144
|
* Wether to enable empty state action
|
|
3083
3145
|
*/
|
|
@@ -3090,6 +3152,10 @@ declare namespace LocalJSX {
|
|
|
3090
3152
|
* Wether to show the filter button
|
|
3091
3153
|
*/
|
|
3092
3154
|
"enableFilter"?: boolean;
|
|
3155
|
+
/**
|
|
3156
|
+
* Wether to enable the floating menu
|
|
3157
|
+
*/
|
|
3158
|
+
"enableFloatingMenu"?: boolean;
|
|
3093
3159
|
/**
|
|
3094
3160
|
* Wether to show the header
|
|
3095
3161
|
*/
|
|
@@ -3122,6 +3188,10 @@ declare namespace LocalJSX {
|
|
|
3122
3188
|
* The template for the filter button text
|
|
3123
3189
|
*/
|
|
3124
3190
|
"filterButtonTemplate"?: templateFunc1;
|
|
3191
|
+
/**
|
|
3192
|
+
* The template for amount selected item in the floating menu
|
|
3193
|
+
*/
|
|
3194
|
+
"floatingMenuAmountSelectedTemplate"?: amountSelectedTemplateFunc;
|
|
3125
3195
|
/**
|
|
3126
3196
|
* Wether the footer should show loading state
|
|
3127
3197
|
*/
|
|
@@ -3143,9 +3213,9 @@ declare namespace LocalJSX {
|
|
|
3143
3213
|
*/
|
|
3144
3214
|
"loading"?: boolean;
|
|
3145
3215
|
/**
|
|
3146
|
-
* Event when the
|
|
3216
|
+
* Event when the action button is clicked
|
|
3147
3217
|
*/
|
|
3148
|
-
"
|
|
3218
|
+
"onAction"?: (event: PTableCustomEvent<null>) => void;
|
|
3149
3219
|
/**
|
|
3150
3220
|
* Event whenever the empty state is clicked
|
|
3151
3221
|
*/
|
|
@@ -3361,33 +3431,33 @@ declare namespace LocalJSX {
|
|
|
3361
3431
|
}
|
|
3362
3432
|
interface PTableHeader {
|
|
3363
3433
|
/**
|
|
3364
|
-
*
|
|
3434
|
+
* The template for the action button text
|
|
3365
3435
|
*/
|
|
3366
|
-
"
|
|
3436
|
+
"actionButtonTemplate"?: buttonTemplateFunc1;
|
|
3367
3437
|
/**
|
|
3368
|
-
*
|
|
3438
|
+
* The action button icon
|
|
3369
3439
|
*/
|
|
3370
|
-
"
|
|
3440
|
+
"actionIcon"?: IconVariant2;
|
|
3371
3441
|
/**
|
|
3372
|
-
*
|
|
3442
|
+
* Wether the action button is loading
|
|
3373
3443
|
*/
|
|
3374
|
-
"
|
|
3444
|
+
"actionLoading"?: boolean;
|
|
3375
3445
|
/**
|
|
3376
|
-
* The
|
|
3446
|
+
* The action button text if changed
|
|
3377
3447
|
*/
|
|
3378
|
-
"
|
|
3448
|
+
"actionText"?: string;
|
|
3379
3449
|
/**
|
|
3380
|
-
*
|
|
3450
|
+
* Active quick filter identifier
|
|
3381
3451
|
*/
|
|
3382
|
-
"
|
|
3452
|
+
"activeQuickFilterIdentifier"?: string;
|
|
3383
3453
|
/**
|
|
3384
|
-
*
|
|
3454
|
+
* Wether to enable the action button
|
|
3385
3455
|
*/
|
|
3386
|
-
"
|
|
3456
|
+
"canUseAction"?: boolean;
|
|
3387
3457
|
/**
|
|
3388
|
-
* Wether to show the
|
|
3458
|
+
* Wether to show the action button
|
|
3389
3459
|
*/
|
|
3390
|
-
"
|
|
3460
|
+
"enableAction"?: boolean;
|
|
3391
3461
|
/**
|
|
3392
3462
|
* Wether to show the filter button
|
|
3393
3463
|
*/
|
|
@@ -3409,9 +3479,9 @@ declare namespace LocalJSX {
|
|
|
3409
3479
|
*/
|
|
3410
3480
|
"loading"?: boolean;
|
|
3411
3481
|
/**
|
|
3412
|
-
* Event when the
|
|
3482
|
+
* Event when the action button is clicked
|
|
3413
3483
|
*/
|
|
3414
|
-
"
|
|
3484
|
+
"onAction"?: (event: PTableHeaderCustomEvent<null>) => void;
|
|
3415
3485
|
/**
|
|
3416
3486
|
* Event when the filter button is clicked
|
|
3417
3487
|
*/
|
|
@@ -3544,6 +3614,8 @@ declare namespace LocalJSX {
|
|
|
3544
3614
|
"p-dropdown": PDropdown;
|
|
3545
3615
|
"p-dropdown-menu-container": PDropdownMenuContainer;
|
|
3546
3616
|
"p-dropdown-menu-item": PDropdownMenuItem;
|
|
3617
|
+
"p-floating-menu-container": PFloatingMenuContainer;
|
|
3618
|
+
"p-floating-menu-item": PFloatingMenuItem;
|
|
3547
3619
|
"p-helper": PHelper;
|
|
3548
3620
|
"p-icon": PIcon;
|
|
3549
3621
|
"p-illustration": PIllustration;
|
|
@@ -3612,6 +3684,8 @@ declare module "@stencil/core" {
|
|
|
3612
3684
|
"p-dropdown": LocalJSX.PDropdown & JSXBase.HTMLAttributes<HTMLPDropdownElement>;
|
|
3613
3685
|
"p-dropdown-menu-container": LocalJSX.PDropdownMenuContainer & JSXBase.HTMLAttributes<HTMLPDropdownMenuContainerElement>;
|
|
3614
3686
|
"p-dropdown-menu-item": LocalJSX.PDropdownMenuItem & JSXBase.HTMLAttributes<HTMLPDropdownMenuItemElement>;
|
|
3687
|
+
"p-floating-menu-container": LocalJSX.PFloatingMenuContainer & JSXBase.HTMLAttributes<HTMLPFloatingMenuContainerElement>;
|
|
3688
|
+
"p-floating-menu-item": LocalJSX.PFloatingMenuItem & JSXBase.HTMLAttributes<HTMLPFloatingMenuItemElement>;
|
|
3615
3689
|
"p-helper": LocalJSX.PHelper & JSXBase.HTMLAttributes<HTMLPHelperElement>;
|
|
3616
3690
|
"p-icon": LocalJSX.PIcon & JSXBase.HTMLAttributes<HTMLPIconElement>;
|
|
3617
3691
|
"p-illustration": LocalJSX.PIllustration & JSXBase.HTMLAttributes<HTMLPIllustrationElement>;
|