@drayman/elements 1.4.28 → 1.4.29
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/datepicker/main.js +1 -1
- package/dist/grid/main.js +1 -1
- package/dist/menu/main.js +1 -1
- package/dist/nebula/3rdpartylicenses.txt +0 -41
- package/dist/nebula/main.js +1 -1
- package/dist/picasso/3rdpartylicenses.txt +465 -0
- package/dist/picasso/favicon.ico +0 -0
- package/dist/picasso/main.js +1 -0
- package/dist/picasso/polyfills.js +1 -0
- package/dist/picasso/styles.css +0 -0
- package/dist/pivot-grid/3rdpartylicenses.txt +418 -0
- package/dist/pivot-grid/favicon.ico +0 -0
- package/dist/pivot-grid/main.js +1 -0
- package/dist/pivot-grid/polyfills.js +1 -0
- package/dist/pivot-grid/styles.css +0 -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/picasso/src/app/models/picasso-options.d.ts +3 -0
- package/dist/types/pivot-grid/src/app/models/pivot-grid-options.d.ts +62 -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 +0 -0
- 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 +3 -3
- package/types/index.d.ts +1 -14
|
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
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export interface DraymanPivotGrid {
|
|
2
|
+
onLoad?: ElementEvent<{
|
|
3
|
+
currentCol: number;
|
|
4
|
+
visibleColCount: number;
|
|
5
|
+
currentRow: number;
|
|
6
|
+
visibleRowCount: number;
|
|
7
|
+
}>;
|
|
8
|
+
onContentButtonClick?: ElementEvent<{
|
|
9
|
+
cell: GridCell;
|
|
10
|
+
}>;
|
|
11
|
+
onCellClick?: ElementEvent<{
|
|
12
|
+
cell: GridCell;
|
|
13
|
+
button: GridContentButton;
|
|
14
|
+
}>;
|
|
15
|
+
grid: GridCell[];
|
|
16
|
+
onScroll: any;
|
|
17
|
+
cellHeight: number;
|
|
18
|
+
cellWidth: number;
|
|
19
|
+
columnCount: number;
|
|
20
|
+
rowCount: number;
|
|
21
|
+
}
|
|
22
|
+
export interface GridCell {
|
|
23
|
+
row: number;
|
|
24
|
+
col: number;
|
|
25
|
+
rowSpan?: number;
|
|
26
|
+
colSpan?: number;
|
|
27
|
+
content: ({
|
|
28
|
+
type: 'text';
|
|
29
|
+
value: string;
|
|
30
|
+
style?: any;
|
|
31
|
+
} | {
|
|
32
|
+
type: 'button';
|
|
33
|
+
value: GridContentButton;
|
|
34
|
+
style?: any;
|
|
35
|
+
})[];
|
|
36
|
+
cellStyle?: any;
|
|
37
|
+
contentStyle?: any;
|
|
38
|
+
}
|
|
39
|
+
export interface GridContentButton {
|
|
40
|
+
/**
|
|
41
|
+
* Material style of the button.
|
|
42
|
+
* `basic` by default.
|
|
43
|
+
*/
|
|
44
|
+
view?: 'basic' | 'raised' | 'flat' | 'stroked' | 'icon' | 'fab' | 'miniFab';
|
|
45
|
+
/**
|
|
46
|
+
* Name of the [Material icon](https://material.io/resources/icons) printed inside button.
|
|
47
|
+
*/
|
|
48
|
+
icon?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Tooltip shown on hover.
|
|
51
|
+
*/
|
|
52
|
+
tooltip?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Wether button should be disabled.
|
|
55
|
+
*/
|
|
56
|
+
disabled?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Image shown on hover.
|
|
59
|
+
*/
|
|
60
|
+
imgUrl?: string;
|
|
61
|
+
buttonStyle?: any;
|
|
62
|
+
}
|
|
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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drayman/elements",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.29",
|
|
4
4
|
"description": "A collection of web components for Drayman.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"build:types": "tsc -p ./tsconfig.types.json",
|
|
13
13
|
"typedoc": "npm run build:types && typedoc --tsconfig ./tsconfig.types.json",
|
|
14
14
|
"lint": "ng lint",
|
|
15
|
-
"build": "npm run build:button && npm run build:text-field && npm run build:claviz-charts && npm run build:file-uploader && npm run build:number-field && npm run build:select && npm run build:table && npm run build:checkbox && npm run build:textarea-field && npm run build:radio-group && npm run build:datepicker && npm run build:timepicker && npm run build:pdf-viewer && npm run build:ngx-charts && npm run build:menu && npm run build:ngx-graph && npm run build:youtube-player && npm run build:nebula && npm run build:grid && npm run typedoc",
|
|
15
|
+
"build": "npm run build:button && npm run build:text-field && npm run build:claviz-charts && npm run build:file-uploader && npm run build:number-field && npm run build:select && npm run build:table && npm run build:checkbox && npm run build:textarea-field && npm run build:radio-group && npm run build:datepicker && npm run build:timepicker && npm run build:pdf-viewer && npm run build:ngx-charts && npm run build:menu && npm run build:ngx-graph && npm run build:youtube-player && npm run build:nebula && npm run build:grid && npm run build:picasso && npm run typedoc",
|
|
16
16
|
"build:button": "ng build button --prod --single-bundle --output-hashing=none",
|
|
17
17
|
"build:text-field": "ng build text-field --prod --single-bundle --output-hashing=none",
|
|
18
18
|
"build:claviz-charts": "ng build claviz-charts --prod --single-bundle --output-hashing=none",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"@babel/core": "^7.11.5",
|
|
120
120
|
"@compodoc/compodoc": "^1.1.11",
|
|
121
121
|
"@drayman/types": "latest",
|
|
122
|
-
"@nebula.js/stardust": "
|
|
122
|
+
"@nebula.js/stardust": "2.3.1",
|
|
123
123
|
"@ngneat/spectator": "^5.13.2",
|
|
124
124
|
"@swimlane/ngx-charts": "16.0.0",
|
|
125
125
|
"@swimlane/ngx-graph": "^7.2.0",
|
package/types/index.d.ts
CHANGED
|
@@ -1102,24 +1102,11 @@ declare global {
|
|
|
1102
1102
|
* ### Show existing viz.
|
|
1103
1103
|
* ```typescript
|
|
1104
1104
|
* export const component: DraymanComponent = async ({ forceUpdate }) => {
|
|
1105
|
-
* const configuration = {
|
|
1106
|
-
* host: 'localhost',
|
|
1107
|
-
* appId: '35150d91-e2c4-4334-ae16-6bdece1b3e3d',
|
|
1108
|
-
* prefix: 'drayman',
|
|
1109
|
-
* secure: true,
|
|
1110
|
-
* identity: 'drayman-session',
|
|
1111
|
-
* urlParams: {
|
|
1112
|
-
* qlikTicket: 'ORD0PE8pzBamZHqm',
|
|
1113
|
-
* },
|
|
1114
|
-
* };
|
|
1115
|
-
*
|
|
1116
1105
|
* return () => {
|
|
1117
1106
|
* return (
|
|
1118
1107
|
* <div style={{ height: 500 }}>
|
|
1119
1108
|
* <drayman-nebula
|
|
1120
|
-
*
|
|
1121
|
-
* vizId="JSpgmtC"
|
|
1122
|
-
* configuration={configuration}
|
|
1109
|
+
* qLayout={{}}
|
|
1123
1110
|
* />
|
|
1124
1111
|
* </div>
|
|
1125
1112
|
* )
|