@zeedhi/common 1.73.0 → 1.74.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/dist/zd-common.esm.js +557 -60
- package/dist/zd-common.umd.js +557 -60
- package/package.json +2 -2
- package/types/components/zd-apex-chart/apex-chart.d.ts +26 -2
- package/types/components/zd-apex-chart/interfaces.d.ts +5 -0
- package/types/components/zd-card/card.d.ts +8 -4
- package/types/components/zd-card/interfaces.d.ts +6 -5
- package/types/components/zd-carousel/carousel.d.ts +4 -0
- package/types/components/zd-carousel/interfaces.d.ts +4 -3
- package/types/components/zd-code-editor/code-editor.d.ts +30 -4
- package/types/components/zd-code-editor/interfaces.d.ts +7 -2
- package/types/components/zd-component/component.d.ts +4 -0
- package/types/components/zd-component/interfaces.d.ts +1 -0
- package/types/components/zd-container/container.d.ts +15 -0
- package/types/components/zd-container/interfaces.d.ts +4 -1
- package/types/components/zd-dashboard/dashboard.d.ts +34 -1
- package/types/components/zd-dashboard/interfaces.d.ts +7 -1
- package/types/components/zd-form/form.d.ts +34 -6
- package/types/components/zd-form/interfaces.d.ts +6 -0
- package/types/components/zd-frame/frame.d.ts +34 -3
- package/types/components/zd-frame/interfaces.d.ts +4 -0
- package/types/components/zd-grid/grid-column.d.ts +1 -0
- package/types/components/zd-grid/grid-editable.d.ts +2 -1
- package/types/components/zd-grid/grid.d.ts +23 -9
- package/types/components/zd-grid/interfaces.d.ts +7 -5
- package/types/components/zd-image/image.d.ts +34 -12
- package/types/components/zd-image/interfaces.d.ts +7 -2
- package/types/components/zd-iterable-component-render/interfaces.d.ts +4 -0
- package/types/components/zd-iterable-component-render/iterable-component-render.d.ts +28 -6
- package/types/components/zd-list/interfaces.d.ts +4 -0
- package/types/components/zd-list/list.d.ts +28 -6
- package/types/components/zd-row/interfaces.d.ts +4 -0
- package/types/components/zd-row/row.d.ts +19 -0
- package/types/components/zd-selectable-list/interfaces.d.ts +7 -0
- package/types/components/zd-selectable-list/selectable-list.d.ts +34 -0
- package/types/components/zd-table/interfaces.d.ts +4 -0
- package/types/components/zd-table/table.d.ts +19 -0
- package/types/components/zd-tabs/interfaces.d.ts +3 -1
- package/types/components/zd-tabs/tab.d.ts +0 -4
- package/types/components/zd-tabs/tabs.d.ts +17 -2
- package/types/components/zd-textarea/interfaces.d.ts +3 -1
- package/types/components/zd-textarea/textarea.d.ts +15 -4
- package/types/components/zd-tree/interfaces.d.ts +7 -2
- package/types/components/zd-tree/tree.d.ts +29 -3
- package/types/components/zd-tree-grid/tree-grid-editable.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/common",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.74.0",
|
|
4
4
|
"description": "Zeedhi Common",
|
|
5
5
|
"author": "Zeedhi <zeedhi@teknisa.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"lodash.times": "^4.3.2",
|
|
40
40
|
"mockdate": "^3.0.2"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "de1877973b578c5dc1f58903864eb1ae803fda48"
|
|
43
43
|
}
|
|
@@ -10,10 +10,24 @@ export declare class ApexChart extends ComponentRender implements IApexChart {
|
|
|
10
10
|
*/
|
|
11
11
|
chartType: string;
|
|
12
12
|
/**
|
|
13
|
-
* Defines the
|
|
13
|
+
* Defines the component height. Possible values for this property can be
|
|
14
14
|
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
15
15
|
*/
|
|
16
16
|
height: string | number;
|
|
17
|
+
/**
|
|
18
|
+
* Defines the component min height. Possible values for this property can be
|
|
19
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
20
|
+
*/
|
|
21
|
+
minHeight: string | number;
|
|
22
|
+
/**
|
|
23
|
+
* Defines the component max height. Possible values for this property can be
|
|
24
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
25
|
+
*/
|
|
26
|
+
maxHeight: string | number;
|
|
27
|
+
/**
|
|
28
|
+
* Set component height to fill all space available
|
|
29
|
+
*/
|
|
30
|
+
fillHeight: boolean;
|
|
17
31
|
/**
|
|
18
32
|
* Chart options. See <a href=\"https://apexcharts.com/docs/options/\"
|
|
19
33
|
* target=\"_blank\" alt=\"Apex Charts API Reference\">Apex Chart API
|
|
@@ -27,10 +41,20 @@ export declare class ApexChart extends ComponentRender implements IApexChart {
|
|
|
27
41
|
*/
|
|
28
42
|
series: any[] | string;
|
|
29
43
|
/**
|
|
30
|
-
* Defines the
|
|
44
|
+
* Defines the component width. Possible values for this property can be
|
|
31
45
|
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
32
46
|
*/
|
|
33
47
|
width: string | number;
|
|
48
|
+
/**
|
|
49
|
+
* Defines the component min width. Possible values for this property can be
|
|
50
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
51
|
+
*/
|
|
52
|
+
minWidth: string | number;
|
|
53
|
+
/**
|
|
54
|
+
* Defines the component max height. Possible values for this property can be
|
|
55
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
56
|
+
*/
|
|
57
|
+
maxWidth: string | number;
|
|
34
58
|
/**
|
|
35
59
|
* Defines if chart is loading
|
|
36
60
|
*/
|
|
@@ -38,7 +38,12 @@ export interface IApexChart extends IComponentRender {
|
|
|
38
38
|
series?: any[] | string;
|
|
39
39
|
options?: any;
|
|
40
40
|
height?: string | number;
|
|
41
|
+
minHeight?: string | number;
|
|
42
|
+
maxHeight?: string | number;
|
|
43
|
+
fillHeight?: boolean;
|
|
41
44
|
width?: string | number;
|
|
45
|
+
minWidth?: string | number;
|
|
46
|
+
maxWidth?: string | number;
|
|
42
47
|
loading?: boolean;
|
|
43
48
|
loadOpacity?: number;
|
|
44
49
|
loadColor?: string;
|
|
@@ -57,22 +57,26 @@ export declare class Card extends ComponentRender implements ICard {
|
|
|
57
57
|
* Sets the maximum height for the card.
|
|
58
58
|
* Possible values for width can be 'auto', '100%', '400px' or 400
|
|
59
59
|
*/
|
|
60
|
-
maxHeight
|
|
60
|
+
maxHeight: number | string;
|
|
61
61
|
/**
|
|
62
62
|
* Sets the maximum width for the card.
|
|
63
63
|
* Possible values for width can be 'auto', '100%', '400px' or 400
|
|
64
64
|
*/
|
|
65
|
-
maxWidth
|
|
65
|
+
maxWidth: number | string;
|
|
66
66
|
/**
|
|
67
67
|
* Sets the minimum height for the card.
|
|
68
68
|
* Possible values for width can be 'auto', '100%', '400px' or 400
|
|
69
69
|
*/
|
|
70
|
-
minHeight
|
|
70
|
+
minHeight: number | string;
|
|
71
71
|
/**
|
|
72
72
|
* Sets the minimum width for the card.
|
|
73
73
|
* Possible values for width can be 'auto', '100%', '400px' or 400
|
|
74
74
|
*/
|
|
75
|
-
minWidth
|
|
75
|
+
minWidth: number | string;
|
|
76
|
+
/**
|
|
77
|
+
* Set component height to fill all space available
|
|
78
|
+
*/
|
|
79
|
+
fillHeight: boolean;
|
|
76
80
|
/**
|
|
77
81
|
* Removes card elevation shadow and adds a thin border
|
|
78
82
|
*/
|
|
@@ -11,19 +11,20 @@ export interface ICard extends IComponentRender {
|
|
|
11
11
|
events?: ICardEvents;
|
|
12
12
|
disabled?: boolean;
|
|
13
13
|
flat?: boolean;
|
|
14
|
-
height?: number | string;
|
|
15
14
|
hover?: boolean;
|
|
16
15
|
href?: string;
|
|
17
16
|
img?: string;
|
|
18
17
|
link?: boolean;
|
|
19
|
-
maxHeight?: number | string;
|
|
20
|
-
maxWidth?: number | string;
|
|
21
|
-
minHeight?: number | string;
|
|
22
|
-
minWidth?: number | string;
|
|
23
18
|
outlined?: boolean;
|
|
24
19
|
raised?: boolean;
|
|
25
20
|
ripple?: boolean;
|
|
26
21
|
tile?: boolean;
|
|
27
22
|
to?: string;
|
|
23
|
+
height?: number | string;
|
|
24
|
+
maxHeight?: number | string;
|
|
25
|
+
minHeight?: number | string;
|
|
26
|
+
fillHeight?: boolean;
|
|
28
27
|
width?: number | string;
|
|
28
|
+
maxWidth?: number | string;
|
|
29
|
+
minWidth?: number | string;
|
|
29
30
|
}
|
|
@@ -50,6 +50,10 @@ export declare class Carousel extends ComponentRender implements ICarousel {
|
|
|
50
50
|
* '30em', '400', 400. Values without measurement unit will be notated in pixels by default
|
|
51
51
|
*/
|
|
52
52
|
minHeight: number | string;
|
|
53
|
+
/**
|
|
54
|
+
* Set component height to fill all space available
|
|
55
|
+
*/
|
|
56
|
+
fillHeight: boolean;
|
|
53
57
|
/**
|
|
54
58
|
* Configures the carousel as infinite (the slide after the last one is the first slide, and vice-versa)
|
|
55
59
|
*/
|
|
@@ -18,9 +18,6 @@ export interface ICarousel extends IComponentRender {
|
|
|
18
18
|
buttonsOutside?: boolean;
|
|
19
19
|
center?: boolean;
|
|
20
20
|
currentSlide?: number;
|
|
21
|
-
height?: number | string;
|
|
22
|
-
maxHeight?: number | string;
|
|
23
|
-
minHeight?: number | string;
|
|
24
21
|
infiniteScroll?: boolean;
|
|
25
22
|
initialSlide?: number;
|
|
26
23
|
interval?: number;
|
|
@@ -41,4 +38,8 @@ export interface ICarousel extends IComponentRender {
|
|
|
41
38
|
touchControl?: boolean;
|
|
42
39
|
transitionDuration?: number;
|
|
43
40
|
wheelControl?: boolean;
|
|
41
|
+
height?: number | string;
|
|
42
|
+
maxHeight?: number | string;
|
|
43
|
+
minHeight?: number | string;
|
|
44
|
+
fillHeight?: boolean;
|
|
44
45
|
}
|
|
@@ -9,13 +9,39 @@ import { ComponentRender } from '../zd-component/component-render';
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class CodeEditor extends ComponentRender implements ICodeEditor {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Defines the component height. Possible values for this property can be
|
|
13
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
13
14
|
*/
|
|
14
|
-
|
|
15
|
+
height: string | number;
|
|
15
16
|
/**
|
|
16
|
-
*
|
|
17
|
+
* Defines the component min height. Possible values for this property can be
|
|
18
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
17
19
|
*/
|
|
18
|
-
|
|
20
|
+
minHeight: string | number;
|
|
21
|
+
/**
|
|
22
|
+
* Defines the component max height. Possible values for this property can be
|
|
23
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
24
|
+
*/
|
|
25
|
+
maxHeight: string | number;
|
|
26
|
+
/**
|
|
27
|
+
* Set component height to fill all space available
|
|
28
|
+
*/
|
|
29
|
+
fillHeight: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Defines the component width. Possible values for this property can be
|
|
32
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
33
|
+
*/
|
|
34
|
+
width: string | number;
|
|
35
|
+
/**
|
|
36
|
+
* Defines the component min width. Possible values for this property can be
|
|
37
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
38
|
+
*/
|
|
39
|
+
minWidth: string | number;
|
|
40
|
+
/**
|
|
41
|
+
* Defines the component max height. Possible values for this property can be
|
|
42
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
43
|
+
*/
|
|
44
|
+
maxWidth: string | number;
|
|
19
45
|
/**
|
|
20
46
|
* Language code to be used for highlight (js|javascript, css, html, json, ts|typescript, bash|shell)
|
|
21
47
|
* Other languages must be imported above
|
|
@@ -3,7 +3,12 @@ export interface ICodeEditor extends IComponentRender {
|
|
|
3
3
|
staticCode?: object | string | string[];
|
|
4
4
|
language?: string;
|
|
5
5
|
showLineNumbers?: boolean | string;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
height?: number | string;
|
|
7
|
+
maxHeight?: number | string;
|
|
8
|
+
minHeight?: number | string;
|
|
9
|
+
fillHeight?: boolean;
|
|
10
|
+
width?: number | string;
|
|
11
|
+
maxWidth?: number | string;
|
|
12
|
+
minWidth?: number | string;
|
|
8
13
|
copyIcon?: string;
|
|
9
14
|
}
|
|
@@ -4,6 +4,10 @@ import { IComponent, IComponentDirectives, IComponentEvents } from './interfaces
|
|
|
4
4
|
* Base class for all Zeedhi components.
|
|
5
5
|
*/
|
|
6
6
|
export declare class Component implements IComponent {
|
|
7
|
+
/**
|
|
8
|
+
* Allow the component to be duplicated without warning.
|
|
9
|
+
*/
|
|
10
|
+
allowDuplicate: boolean;
|
|
7
11
|
/**
|
|
8
12
|
* Automatically add focus to input when it's created.
|
|
9
13
|
*/
|
|
@@ -20,6 +20,21 @@ export declare class Container extends ComponentRender implements IContainer {
|
|
|
20
20
|
* Sets the minimum height for the component.
|
|
21
21
|
*/
|
|
22
22
|
minHeight: number | string;
|
|
23
|
+
/**
|
|
24
|
+
* Defines the component width. Possible values for this property can be
|
|
25
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
26
|
+
*/
|
|
27
|
+
width: string | number;
|
|
28
|
+
/**
|
|
29
|
+
* Defines the component min width. Possible values for this property can be
|
|
30
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
31
|
+
*/
|
|
32
|
+
minWidth: string | number;
|
|
33
|
+
/**
|
|
34
|
+
* Defines the component max height. Possible values for this property can be
|
|
35
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
36
|
+
*/
|
|
37
|
+
maxWidth: string | number;
|
|
23
38
|
/**
|
|
24
39
|
* Removes viewport maximum-width size breakpoints.
|
|
25
40
|
*/
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { IComponentRender } from '../zd-component/interfaces';
|
|
2
2
|
export interface IContainer extends IComponentRender {
|
|
3
|
-
fillHeight?: boolean;
|
|
4
3
|
fluid?: boolean;
|
|
5
4
|
height?: number | string;
|
|
6
5
|
maxHeight?: number | string;
|
|
7
6
|
minHeight?: number | string;
|
|
7
|
+
fillHeight?: boolean;
|
|
8
|
+
width?: number | string;
|
|
9
|
+
maxWidth?: number | string;
|
|
10
|
+
minWidth?: number | string;
|
|
8
11
|
scrollView?: boolean;
|
|
9
12
|
}
|
|
@@ -17,10 +17,43 @@ export declare class Dashboard extends ComponentRender implements IDashboard {
|
|
|
17
17
|
editModal?: Modal;
|
|
18
18
|
overrideNamedProps: any;
|
|
19
19
|
removePadding: boolean;
|
|
20
|
-
height: string | number;
|
|
21
20
|
heightAdjust: string | number;
|
|
22
21
|
cardFooterSlot?: IComponentRender[];
|
|
23
22
|
currentCardId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Defines the component height. Possible values for this property can be
|
|
25
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
26
|
+
*/
|
|
27
|
+
height: string | number;
|
|
28
|
+
/**
|
|
29
|
+
* Defines the component min height. Possible values for this property can be
|
|
30
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
31
|
+
*/
|
|
32
|
+
minHeight: string | number;
|
|
33
|
+
/**
|
|
34
|
+
* Defines the component max height. Possible values for this property can be
|
|
35
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
36
|
+
*/
|
|
37
|
+
maxHeight: string | number;
|
|
38
|
+
/**
|
|
39
|
+
* Set component height to fill all space available
|
|
40
|
+
*/
|
|
41
|
+
fillHeight: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Defines the component width. Possible values for this property can be
|
|
44
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
45
|
+
*/
|
|
46
|
+
width: string | number;
|
|
47
|
+
/**
|
|
48
|
+
* Defines the component min width. Possible values for this property can be
|
|
49
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
50
|
+
*/
|
|
51
|
+
minWidth: string | number;
|
|
52
|
+
/**
|
|
53
|
+
* Defines the component max height. Possible values for this property can be
|
|
54
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
55
|
+
*/
|
|
56
|
+
maxWidth: string | number;
|
|
24
57
|
addModalDef: IModal;
|
|
25
58
|
editModalDef: IModal;
|
|
26
59
|
/**
|
|
@@ -16,10 +16,16 @@ export interface IDashboard extends IComponentRender {
|
|
|
16
16
|
moveMode?: boolean;
|
|
17
17
|
editHeader?: IHeader;
|
|
18
18
|
removePadding?: boolean;
|
|
19
|
-
height?: string | number;
|
|
20
19
|
heightAdjust?: string | number;
|
|
21
20
|
showEditHeader?: string | boolean;
|
|
22
21
|
cardFooterSlot?: IComponentRender[];
|
|
22
|
+
height?: number | string;
|
|
23
|
+
maxHeight?: number | string;
|
|
24
|
+
minHeight?: number | string;
|
|
25
|
+
fillHeight?: boolean;
|
|
26
|
+
width?: number | string;
|
|
27
|
+
maxWidth?: number | string;
|
|
28
|
+
minWidth?: number | string;
|
|
23
29
|
}
|
|
24
30
|
export interface IDashboardCard extends Omit<ICard, 'name' | 'component'> {
|
|
25
31
|
cardId: string;
|
|
@@ -21,9 +21,39 @@ export declare class Form extends ComponentRender implements IForm {
|
|
|
21
21
|
*/
|
|
22
22
|
justify?: string;
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Defines the component height. Possible values for this property can be
|
|
25
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
25
26
|
*/
|
|
26
|
-
height
|
|
27
|
+
height: string | number;
|
|
28
|
+
/**
|
|
29
|
+
* Defines the component min height. Possible values for this property can be
|
|
30
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
31
|
+
*/
|
|
32
|
+
minHeight: string | number;
|
|
33
|
+
/**
|
|
34
|
+
* Defines the component max height. Possible values for this property can be
|
|
35
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
36
|
+
*/
|
|
37
|
+
maxHeight: string | number;
|
|
38
|
+
/**
|
|
39
|
+
* Set component height to fill all space available
|
|
40
|
+
*/
|
|
41
|
+
fillHeight: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Defines the component width. Possible values for this property can be
|
|
44
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
45
|
+
*/
|
|
46
|
+
width: string | number;
|
|
47
|
+
/**
|
|
48
|
+
* Defines the component min width. Possible values for this property can be
|
|
49
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
50
|
+
*/
|
|
51
|
+
minWidth: string | number;
|
|
52
|
+
/**
|
|
53
|
+
* Defines the component max height. Possible values for this property can be
|
|
54
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
55
|
+
*/
|
|
56
|
+
maxWidth: string | number;
|
|
27
57
|
/**
|
|
28
58
|
* Defines form events.
|
|
29
59
|
*/
|
|
@@ -71,16 +101,14 @@ export declare class Form extends ComponentRender implements IForm {
|
|
|
71
101
|
[key: string]: any;
|
|
72
102
|
children?: import("..").IComponentRender[] | undefined;
|
|
73
103
|
component: string;
|
|
104
|
+
allowDuplicate?: boolean | undefined;
|
|
74
105
|
autofocus?: boolean | undefined;
|
|
75
106
|
componentId?: number | undefined;
|
|
76
107
|
cssClass?: string | undefined;
|
|
77
108
|
cssStyle?: string | object | undefined;
|
|
78
109
|
events?: import("..").IComponentEvents<import("@zeedhi/core").IEventParam<any>> | undefined;
|
|
79
110
|
directives?: import("..").IComponentDirectives | undefined;
|
|
80
|
-
isVisible?: string | boolean | undefined;
|
|
81
|
-
* Applies the align-items css property.
|
|
82
|
-
* Available options are start, center, end, space-between, space-around and stretch.
|
|
83
|
-
*/
|
|
111
|
+
isVisible?: string | boolean | undefined;
|
|
84
112
|
dark?: boolean | undefined;
|
|
85
113
|
light?: boolean | undefined;
|
|
86
114
|
keyMap?: import("@zeedhi/core").IKeyMap<import("@zeedhi/core").IEventParam<any>> | undefined;
|
|
@@ -23,6 +23,12 @@ export interface IForm extends IComponentRender {
|
|
|
23
23
|
align?: string;
|
|
24
24
|
justify?: string;
|
|
25
25
|
height?: number | string;
|
|
26
|
+
maxHeight?: number | string;
|
|
27
|
+
minHeight?: number | string;
|
|
28
|
+
fillHeight?: boolean;
|
|
29
|
+
width?: number | string;
|
|
30
|
+
maxWidth?: number | string;
|
|
31
|
+
minWidth?: number | string;
|
|
26
32
|
children?: IFormComponent[];
|
|
27
33
|
events?: IFormEvents;
|
|
28
34
|
}
|
|
@@ -15,9 +15,40 @@ export declare class Frame extends ComponentRender implements IFrame {
|
|
|
15
15
|
JSONCache: boolean | string;
|
|
16
16
|
events: IFrameEvents;
|
|
17
17
|
cacheDuration: number;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
/**
|
|
19
|
+
* Defines the component height. Possible values for this property can be
|
|
20
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
21
|
+
*/
|
|
22
|
+
height: string | number;
|
|
23
|
+
/**
|
|
24
|
+
* Defines the component min height. Possible values for this property can be
|
|
25
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
26
|
+
*/
|
|
27
|
+
minHeight: string | number;
|
|
28
|
+
/**
|
|
29
|
+
* Defines the component max height. Possible values for this property can be
|
|
30
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
31
|
+
*/
|
|
32
|
+
maxHeight: string | number;
|
|
33
|
+
/**
|
|
34
|
+
* Set component height to fill all space available
|
|
35
|
+
*/
|
|
36
|
+
fillHeight: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Defines the component width. Possible values for this property can be
|
|
39
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
40
|
+
*/
|
|
41
|
+
width: string | number;
|
|
42
|
+
/**
|
|
43
|
+
* Defines the component min width. Possible values for this property can be
|
|
44
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
45
|
+
*/
|
|
46
|
+
minWidth: string | number;
|
|
47
|
+
/**
|
|
48
|
+
* Defines the component max height. Possible values for this property can be
|
|
49
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
50
|
+
*/
|
|
51
|
+
maxWidth: string | number;
|
|
21
52
|
type: string;
|
|
22
53
|
private readonly headerName;
|
|
23
54
|
private static readonly cacheName;
|
|
@@ -17,5 +17,9 @@ export interface IFrame extends IComponentRender {
|
|
|
17
17
|
height?: number | string;
|
|
18
18
|
maxHeight?: number | string;
|
|
19
19
|
minHeight?: number | string;
|
|
20
|
+
fillHeight?: boolean;
|
|
21
|
+
width?: number | string;
|
|
22
|
+
maxWidth?: number | string;
|
|
23
|
+
minWidth?: number | string;
|
|
20
24
|
type?: string;
|
|
21
25
|
}
|
|
@@ -18,6 +18,7 @@ export declare class GridColumn extends Column implements IGridColumn {
|
|
|
18
18
|
[key: string]: any;
|
|
19
19
|
children?: import("..").IComponentRender[] | undefined;
|
|
20
20
|
component: string;
|
|
21
|
+
allowDuplicate?: boolean | undefined;
|
|
21
22
|
autofocus?: boolean | undefined;
|
|
22
23
|
componentId?: number | undefined;
|
|
23
24
|
cssClass?: string | undefined;
|
|
@@ -103,6 +103,7 @@ export declare class GridEditable extends Grid implements IGridEditable {
|
|
|
103
103
|
value: any;
|
|
104
104
|
events: any;
|
|
105
105
|
autofill: boolean;
|
|
106
|
+
allowDuplicate: boolean;
|
|
106
107
|
};
|
|
107
108
|
private checkLookupData;
|
|
108
109
|
private checkCompValidity;
|
|
@@ -128,7 +129,7 @@ export declare class GridEditable extends Grid implements IGridEditable {
|
|
|
128
129
|
* Cancels all edited rows and enable grid components
|
|
129
130
|
*/
|
|
130
131
|
cancelEditedRows(): Promise<void>;
|
|
131
|
-
private
|
|
132
|
+
private cancelAddedRows;
|
|
132
133
|
private addDataRow;
|
|
133
134
|
/**
|
|
134
135
|
* Saves all edited rows if they are valid
|
|
@@ -39,25 +39,39 @@ export declare class Grid extends Iterable implements IGrid {
|
|
|
39
39
|
*/
|
|
40
40
|
dense: boolean;
|
|
41
41
|
/**
|
|
42
|
-
* Defines
|
|
42
|
+
* Defines the component height. Possible values for this property can be
|
|
43
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
43
44
|
*/
|
|
44
|
-
|
|
45
|
+
height: string | number;
|
|
45
46
|
/**
|
|
46
|
-
*
|
|
47
|
+
* Defines the component min height. Possible values for this property can be
|
|
48
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
47
49
|
*/
|
|
48
|
-
|
|
50
|
+
minHeight: string | number;
|
|
49
51
|
/**
|
|
50
|
-
*
|
|
52
|
+
* Defines the component max height. Possible values for this property can be
|
|
53
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
51
54
|
*/
|
|
52
55
|
maxHeight: string | number;
|
|
53
56
|
/**
|
|
54
|
-
*
|
|
57
|
+
* Set component height to fill all space available
|
|
58
|
+
*/
|
|
59
|
+
fillHeight: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Defines the component width. Possible values for this property can be
|
|
62
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
63
|
+
*/
|
|
64
|
+
width: string | number;
|
|
65
|
+
/**
|
|
66
|
+
* Defines the component min width. Possible values for this property can be
|
|
67
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
55
68
|
*/
|
|
56
|
-
|
|
69
|
+
minWidth: string | number;
|
|
57
70
|
/**
|
|
58
|
-
*
|
|
71
|
+
* Defines the component max height. Possible values for this property can be
|
|
72
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
59
73
|
*/
|
|
60
|
-
|
|
74
|
+
maxWidth: string | number;
|
|
61
75
|
/**
|
|
62
76
|
* Controls footer visibility
|
|
63
77
|
*/
|
|
@@ -22,14 +22,16 @@ export interface IGrid extends IIterable {
|
|
|
22
22
|
dense?: boolean;
|
|
23
23
|
errorSlot?: IComponentRender[];
|
|
24
24
|
events?: IGridEvents;
|
|
25
|
-
fillHeight?: boolean;
|
|
26
25
|
footerSlot?: IComponentRender[];
|
|
27
26
|
headerBackground?: string;
|
|
28
27
|
headerCellTextColor?: string;
|
|
29
|
-
height?:
|
|
30
|
-
maxHeight?:
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
height?: number | string;
|
|
29
|
+
maxHeight?: number | string;
|
|
30
|
+
minHeight?: number | string;
|
|
31
|
+
fillHeight?: boolean;
|
|
32
|
+
width?: number | string;
|
|
33
|
+
maxWidth?: number | string;
|
|
34
|
+
minWidth?: number | string;
|
|
33
35
|
noDataSlot?: IComponentRender[];
|
|
34
36
|
noResultSlot?: IComponentRender[];
|
|
35
37
|
selectable?: boolean;
|
|
@@ -16,10 +16,6 @@ export declare class Image extends ComponentRender implements IImage {
|
|
|
16
16
|
* Text to be shown if an error occurs.
|
|
17
17
|
*/
|
|
18
18
|
errorImageText: string;
|
|
19
|
-
/**
|
|
20
|
-
* Height of the image, e.g. <samp>\"100px\"</samp> or <samp>\"50%\"</samp>.
|
|
21
|
-
*/
|
|
22
|
-
height: string;
|
|
23
19
|
/**
|
|
24
20
|
* Defines how the image should be resized to fit its container.
|
|
25
21
|
* See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit\"
|
|
@@ -28,23 +24,49 @@ export declare class Image extends ComponentRender implements IImage {
|
|
|
28
24
|
*/
|
|
29
25
|
objectFit: string;
|
|
30
26
|
/**
|
|
31
|
-
*
|
|
27
|
+
* Defines the component height. Possible values for this property can be
|
|
28
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
32
29
|
*/
|
|
33
|
-
|
|
30
|
+
height: string | number;
|
|
31
|
+
/**
|
|
32
|
+
* Defines the component min height. Possible values for this property can be
|
|
33
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
34
|
+
*/
|
|
35
|
+
minHeight: string | number;
|
|
36
|
+
/**
|
|
37
|
+
* Defines the component max height. Possible values for this property can be
|
|
38
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
39
|
+
*/
|
|
40
|
+
maxHeight: string | number;
|
|
41
|
+
/**
|
|
42
|
+
* Set component height to fill all space available
|
|
43
|
+
*/
|
|
44
|
+
fillHeight: boolean;
|
|
34
45
|
/**
|
|
35
|
-
*
|
|
46
|
+
* Defines the component width. Possible values for this property can be
|
|
47
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
36
48
|
*/
|
|
37
|
-
width: string;
|
|
49
|
+
width: string | number;
|
|
50
|
+
/**
|
|
51
|
+
* Defines the component min width. Possible values for this property can be
|
|
52
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
53
|
+
*/
|
|
54
|
+
minWidth: string | number;
|
|
55
|
+
/**
|
|
56
|
+
* Defines the component max height. Possible values for this property can be
|
|
57
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
58
|
+
*/
|
|
59
|
+
maxWidth: string | number;
|
|
60
|
+
/**
|
|
61
|
+
* Source of the image file.
|
|
62
|
+
*/
|
|
63
|
+
private srcValue;
|
|
38
64
|
validImage: any;
|
|
39
65
|
/**
|
|
40
66
|
* Creates a new Image.
|
|
41
67
|
* @param props Image properties
|
|
42
68
|
*/
|
|
43
69
|
constructor(props: IImage);
|
|
44
|
-
/**
|
|
45
|
-
* Returns the style attribute for the image component
|
|
46
|
-
*/
|
|
47
|
-
getStyle(): string;
|
|
48
70
|
/**
|
|
49
71
|
* Event to be called after the error image is loaded
|
|
50
72
|
*/
|