@drayman/elements 1.3.1 → 1.4.3
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/README.md +0 -0
- package/dist/table/3rdpartylicenses.txt +26 -0
- package/dist/table/main.js +1 -1
- package/dist/types/checkbox/src/app/models/checkbox-options.d.ts +0 -0
- package/dist/types/claviz-charts/src/app/models/claviz-charts-options.d.ts +0 -0
- package/dist/types/datepicker/src/app/models/datepicker-options.d.ts +0 -0
- package/dist/types/file-uploader/src/app/models/file-uploader-options.d.ts +0 -0
- package/dist/types/menu/src/app/models/menu-options.d.ts +0 -0
- package/dist/types/nebula/src/app/models/nebula-options.d.ts +0 -0
- package/dist/types/ngx-charts/src/app/models/ngx-charts-options.d.ts +0 -0
- package/dist/types/ngx-graph/src/app/models/ngx-graph-options.d.ts +0 -0
- package/dist/types/number-field/src/app/models/number-field-options.d.ts +0 -0
- package/dist/types/pdf-viewer/src/app/models/pdf-viewer-options.d.ts +0 -0
- package/dist/types/radio-group/src/app/models/radio-group-options.d.ts +0 -0
- package/dist/types/select/src/app/models/select-options.d.ts +0 -0
- package/dist/types/shared/models/autocomplete-options-base.d.ts +0 -0
- package/dist/types/shared/models/button-options-base.d.ts +0 -0
- package/dist/types/shared/models/button-options.d.ts +0 -0
- package/dist/types/shared/models/field-options-base.d.ts +0 -0
- package/dist/types/shared/models/input-field-options-base.d.ts +0 -0
- package/dist/types/shared/models/input-mask-options-base.d.ts +0 -0
- package/dist/types/table/src/app/models/table-options.d.ts +22 -3
- package/dist/types/text-field/src/app/models/text-field-options.d.ts +0 -0
- package/dist/types/textarea-field/src/app/models/textarea-field-options.d.ts +0 -0
- package/dist/types/timepicker/src/app/models/timepicker-options.d.ts +0 -0
- package/dist/types/youtube-player/src/app/models/youtube-player-options.d.ts +0 -0
- package/package.json +2 -5
- package/types/index.d.ts +0 -0
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -51,7 +51,7 @@ export interface DraymanTable {
|
|
|
51
51
|
*/
|
|
52
52
|
pageIndex?: number;
|
|
53
53
|
/**
|
|
54
|
-
* Controls item count number shown in paginator if `disableInternalProcessing` is enabled.
|
|
54
|
+
* Controls item count number shown in paginator and/or virtual scroll total item count if `disableInternalProcessing` is enabled.
|
|
55
55
|
*/
|
|
56
56
|
itemCount?: number;
|
|
57
57
|
/**
|
|
@@ -128,10 +128,29 @@ export interface DraymanTable {
|
|
|
128
128
|
value: string;
|
|
129
129
|
}>;
|
|
130
130
|
/**
|
|
131
|
-
* Disables internal pagination, sorting and search algorithms applied after every data change
|
|
132
|
-
* Allows to apply custom logic for pagination, sort and
|
|
131
|
+
* Disables internal pagination, sorting, scrolling and search algorithms applied after every data change.
|
|
132
|
+
* Allows to apply custom logic for pagination, sort, search and scrolling.
|
|
133
133
|
*/
|
|
134
134
|
disableInternalProcessing?: boolean;
|
|
135
|
+
/**
|
|
136
|
+
* Enables virtual scrolling.
|
|
137
|
+
* In order to make virtual scrolling work properly:
|
|
138
|
+
* * a table needs to be wrapped in parent element. This parent element must have `height` property;
|
|
139
|
+
* * `virtualScrollRowHeight` must be supplied;
|
|
140
|
+
* * `itemCount` must be supplied if `disableInternalProcessing` is set to `true`.
|
|
141
|
+
*/
|
|
142
|
+
virtualScroll?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Defines height of the row for virtual scrolling.
|
|
145
|
+
*/
|
|
146
|
+
virtualScrollRowHeight?: number;
|
|
147
|
+
/**
|
|
148
|
+
* Event fired when virtual scroll is enabled.
|
|
149
|
+
*/
|
|
150
|
+
onScroll?: ElementEvent<{
|
|
151
|
+
visibleNodeCount: number;
|
|
152
|
+
startNode: number;
|
|
153
|
+
}>;
|
|
135
154
|
/**
|
|
136
155
|
* Controls appearance of the column header.
|
|
137
156
|
*/
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drayman/elements",
|
|
3
|
-
"version": "1.3
|
|
3
|
+
"version": "1.4.3",
|
|
4
4
|
"description": "A collection of web components for Drayman.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -32,8 +32,7 @@
|
|
|
32
32
|
"build:ngx-graph": "ng build ngx-graph --prod --single-bundle --output-hashing=none",
|
|
33
33
|
"build:menu": "ng build menu --prod --single-bundle --output-hashing=none",
|
|
34
34
|
"create-element": "./element-generator/create.sh",
|
|
35
|
-
"e2e": "ng e2e"
|
|
36
|
-
"start:playground": "drayman-framework start"
|
|
35
|
+
"e2e": "ng e2e"
|
|
37
36
|
},
|
|
38
37
|
"drayman": {
|
|
39
38
|
"elements": {
|
|
@@ -115,8 +114,6 @@
|
|
|
115
114
|
"@angular/youtube-player": "^10.1.0",
|
|
116
115
|
"@babel/core": "^7.11.5",
|
|
117
116
|
"@compodoc/compodoc": "^1.1.11",
|
|
118
|
-
"@drayman/elements": "file:./",
|
|
119
|
-
"@drayman/framework": "latest",
|
|
120
117
|
"@drayman/types": "latest",
|
|
121
118
|
"@nebula.js/stardust": "^1.7.0",
|
|
122
119
|
"@ngneat/spectator": "^5.13.2",
|
package/types/index.d.ts
CHANGED
|
File without changes
|