@schneideress/dashboardframework 13.0.0 → 17.0.1
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 +7 -7
- package/esm2022/gridster/index.mjs +12 -0
- package/esm2022/gridster/lib/gridster.component.mjs +627 -0
- package/esm2022/gridster/lib/gridster.interface.mjs +3 -0
- package/esm2022/gridster/lib/gridster.module.mjs +17 -0
- package/esm2022/gridster/lib/gridsterCompact.service.mjs +126 -0
- package/esm2022/gridster/lib/gridsterConfig.constant.mjs +118 -0
- package/esm2022/gridster/lib/gridsterConfig.interface.mjs +37 -0
- package/esm2022/gridster/lib/gridsterConfigS.interface.mjs +2 -0
- package/esm2022/gridster/lib/gridsterDraggable.service.mjs +405 -0
- package/esm2022/gridster/lib/gridsterEmptyCell.service.mjs +255 -0
- package/esm2022/gridster/lib/gridsterItem.component.mjs +228 -0
- package/esm2022/gridster/lib/gridsterItem.interface.mjs +3 -0
- package/esm2022/gridster/lib/gridsterPreview.component.mjs +36 -0
- package/esm2022/gridster/lib/gridsterPush.service.mjs +316 -0
- package/esm2022/gridster/lib/gridsterPushResize.service.mjs +225 -0
- package/esm2022/gridster/lib/gridsterRenderer.interface.mjs +2 -0
- package/esm2022/gridster/lib/gridsterRenderer.service.mjs +274 -0
- package/esm2022/gridster/lib/gridsterResizable.service.mjs +470 -0
- package/esm2022/gridster/lib/gridsterResizeEventType.interface.mjs +2 -0
- package/esm2022/gridster/lib/gridsterScroll.service.mjs +134 -0
- package/esm2022/gridster/lib/gridsterSwap.service.mjs +87 -0
- package/esm2022/gridster/lib/gridsterUtils.service.mjs +92 -0
- package/esm2022/lib/custom.notifier.options.mjs +41 -0
- package/esm2022/lib/ra-dashboard-area/ra.dashboard.area.mjs +460 -0
- package/esm2022/lib/ra-widget-container/lock-tooltip/lock.tooltip.component.mjs +43 -0
- package/esm2022/lib/ra-widget-container/ra.widget.container.component.mjs +767 -0
- package/esm2022/lib/ra.base.dashboard.filter.mjs +41 -0
- package/esm2022/lib/ra.base.dashboard.template.mjs +33 -0
- package/esm2022/lib/ra.dashbard.event.bus.mjs +46 -0
- package/esm2022/lib/ra.dashboard.module.mjs +55 -0
- package/esm2022/lib/ra.dashboard.responsive.service.mjs +139 -0
- package/esm2022/lib/ra.dashboard.service.mjs +77 -0
- package/esm2022/lib/ra.event.enum.mjs +60 -0
- package/esm2022/lib/ra.gridster.config.mjs +56 -0
- package/esm2022/public-api.mjs +13 -0
- package/esm2022/schneideress-dashboardframework.mjs +5 -0
- package/fesm2022/schneideress-dashboardframework.mjs +5198 -0
- package/fesm2022/schneideress-dashboardframework.mjs.map +1 -0
- package/gridster/index.d.ts +9 -0
- package/gridster/lib/gridster.component.d.ts +79 -0
- package/gridster/lib/gridster.interface.d.ts +49 -0
- package/gridster/lib/gridster.module.d.ts +8 -0
- package/gridster/lib/gridsterCompact.service.d.ts +11 -0
- package/gridster/lib/gridsterConfig.constant.d.ts +2 -0
- package/gridster/lib/gridsterConfig.interface.d.ts +155 -0
- package/gridster/lib/gridsterConfigS.interface.d.ts +107 -0
- package/gridster/lib/gridsterDraggable.service.d.ts +68 -0
- package/gridster/lib/gridsterEmptyCell.service.d.ts +31 -0
- package/gridster/lib/gridsterItem.component.d.ts +61 -0
- package/gridster/lib/gridsterItem.interface.d.ts +64 -0
- package/gridster/lib/gridsterPreview.component.d.ts +17 -0
- package/gridster/lib/gridsterPush.service.d.ts +34 -0
- package/gridster/lib/gridsterPushResize.service.d.ts +26 -0
- package/gridster/lib/gridsterRenderer.interface.d.ts +14 -0
- package/gridster/lib/gridsterRenderer.service.d.ts +37 -0
- package/gridster/lib/gridsterResizable.service.d.ts +86 -0
- package/gridster/lib/gridsterResizeEventType.interface.d.ts +6 -0
- package/gridster/lib/gridsterScroll.service.d.ts +7 -0
- package/gridster/lib/gridsterSwap.service.d.ts +13 -0
- package/gridster/lib/gridsterUtils.service.d.ts +16 -0
- package/{schneideress-dashboardframework.d.ts → index.d.ts} +5 -5
- package/lib/custom.notifier.options.d.ts +2 -2
- package/lib/ra-dashboard-area/ra.dashboard.area.d.ts +88 -88
- package/lib/ra-widget-container/lock-tooltip/lock.tooltip.component.d.ts +20 -20
- package/lib/ra-widget-container/ra.widget.container.component.d.ts +142 -142
- package/lib/ra.base.dashboard.filter.d.ts +17 -17
- package/lib/ra.base.dashboard.template.d.ts +18 -18
- package/lib/ra.dashbard.event.bus.d.ts +23 -23
- package/lib/ra.dashboard.module.d.ts +16 -17
- package/lib/ra.dashboard.responsive.service.d.ts +24 -24
- package/lib/ra.dashboard.service.d.ts +25 -25
- package/lib/ra.event.enum.d.ts +57 -57
- package/lib/ra.gridster.config.d.ts +2 -2
- package/package.json +11 -17
- package/public-api.d.ts +9 -9
- package/esm2020/lib/custom.notifier.options.mjs +0 -41
- package/esm2020/lib/ra-dashboard-area/ra.dashboard.area.mjs +0 -445
- package/esm2020/lib/ra-widget-container/lock-tooltip/lock.tooltip.component.mjs +0 -43
- package/esm2020/lib/ra-widget-container/ra.widget.container.component.mjs +0 -767
- package/esm2020/lib/ra.base.dashboard.filter.mjs +0 -44
- package/esm2020/lib/ra.base.dashboard.template.mjs +0 -36
- package/esm2020/lib/ra.dashbard.event.bus.mjs +0 -46
- package/esm2020/lib/ra.dashboard.module.mjs +0 -64
- package/esm2020/lib/ra.dashboard.responsive.service.mjs +0 -136
- package/esm2020/lib/ra.dashboard.service.mjs +0 -77
- package/esm2020/lib/ra.event.enum.mjs +0 -60
- package/esm2020/lib/ra.gridster.config.mjs +0 -56
- package/esm2020/public-api.mjs +0 -15
- package/esm2020/schneideress-dashboardframework.mjs +0 -5
- package/fesm2015/schneideress-dashboardframework.mjs +0 -1800
- package/fesm2015/schneideress-dashboardframework.mjs.map +0 -1
- package/fesm2020/schneideress-dashboardframework.mjs +0 -1790
- package/fesm2020/schneideress-dashboardframework.mjs.map +0 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { GridsterComponent } from './lib/gridster.component';
|
|
2
|
+
export { GridsterItemComponent } from './lib/gridsterItem.component';
|
|
3
|
+
export { GridsterItem } from './lib/gridsterItem.interface';
|
|
4
|
+
export { GridsterComponentInterface } from './lib/gridster.interface';
|
|
5
|
+
export { GridsterConfig, GridType, DisplayGrid, CompactType, Draggable, Resizable, PushDirections } from './lib/gridsterConfig.interface';
|
|
6
|
+
export { GridsterConfigService } from './lib/gridsterConfig.constant';
|
|
7
|
+
export { GridsterModule } from './lib/gridster.module';
|
|
8
|
+
export { GridsterPush } from './lib/gridsterPush.service';
|
|
9
|
+
export { GridsterPushResize } from './lib/gridsterPushResize.service';
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { GridsterComponentInterface } from './gridster.interface';
|
|
4
|
+
import { GridsterCompact } from './gridsterCompact.service';
|
|
5
|
+
import { GridsterConfig } from './gridsterConfig.interface';
|
|
6
|
+
import { GridsterConfigS } from './gridsterConfigS.interface';
|
|
7
|
+
import { GridsterEmptyCell } from './gridsterEmptyCell.service';
|
|
8
|
+
import { GridsterItem, GridsterItemComponentInterface } from './gridsterItem.interface';
|
|
9
|
+
import { GridsterRenderer } from './gridsterRenderer.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class GridsterComponent implements OnInit, OnChanges, OnDestroy, GridsterComponentInterface {
|
|
12
|
+
renderer: Renderer2;
|
|
13
|
+
cdRef: ChangeDetectorRef;
|
|
14
|
+
zone: NgZone;
|
|
15
|
+
options: GridsterConfig;
|
|
16
|
+
movingItem: GridsterItem | null;
|
|
17
|
+
el: HTMLElement;
|
|
18
|
+
$options: GridsterConfigS;
|
|
19
|
+
mobile: boolean;
|
|
20
|
+
curWidth: number;
|
|
21
|
+
curHeight: number;
|
|
22
|
+
grid: GridsterItemComponentInterface[];
|
|
23
|
+
columns: number;
|
|
24
|
+
rows: number;
|
|
25
|
+
curColWidth: number;
|
|
26
|
+
curRowHeight: number;
|
|
27
|
+
gridColumns: never[];
|
|
28
|
+
gridRows: never[];
|
|
29
|
+
windowResize: (() => void) | null;
|
|
30
|
+
dragInProgress: boolean;
|
|
31
|
+
emptyCell: GridsterEmptyCell;
|
|
32
|
+
compact: GridsterCompact;
|
|
33
|
+
gridRenderer: GridsterRenderer;
|
|
34
|
+
previewStyle$: EventEmitter<GridsterItem | null>;
|
|
35
|
+
calculateLayout$: Subject<void>;
|
|
36
|
+
private resize$;
|
|
37
|
+
private destroy$;
|
|
38
|
+
constructor(el: ElementRef, renderer: Renderer2, cdRef: ChangeDetectorRef, zone: NgZone);
|
|
39
|
+
static checkCollisionTwoItemsForSwaping(item: GridsterItem, item2: GridsterItem): boolean;
|
|
40
|
+
checkCollisionTwoItems(item: GridsterItem, item2: GridsterItem): boolean;
|
|
41
|
+
ngOnInit(): void;
|
|
42
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
43
|
+
getCurrentRowHeight(): number;
|
|
44
|
+
private resize;
|
|
45
|
+
setOptions(): void;
|
|
46
|
+
optionsChanged: () => void;
|
|
47
|
+
ngOnDestroy(): void;
|
|
48
|
+
onResize: () => void;
|
|
49
|
+
checkIfToResize(): boolean;
|
|
50
|
+
checkIfMobile(): boolean;
|
|
51
|
+
setGridSize(): void;
|
|
52
|
+
setGridDimensions(): void;
|
|
53
|
+
private calculateLayout;
|
|
54
|
+
updateGrid(): void;
|
|
55
|
+
addItem(itemComponent: GridsterItemComponentInterface): void;
|
|
56
|
+
removeItem(itemComponent: GridsterItemComponentInterface): void;
|
|
57
|
+
checkCollision(item: GridsterItem): GridsterItemComponentInterface | boolean;
|
|
58
|
+
checkGridCollision(item: GridsterItem): boolean;
|
|
59
|
+
findItemWithItem(item: GridsterItem): GridsterItemComponentInterface | boolean;
|
|
60
|
+
findItemsWithItem(item: GridsterItem): Array<GridsterItemComponentInterface>;
|
|
61
|
+
autoPositionItem(itemComponent: GridsterItemComponentInterface): void;
|
|
62
|
+
getNextPossiblePosition: (newItem: GridsterItem, startingFrom?: {
|
|
63
|
+
y?: number;
|
|
64
|
+
x?: number;
|
|
65
|
+
}) => boolean;
|
|
66
|
+
getFirstPossiblePosition: (item: GridsterItem) => GridsterItem;
|
|
67
|
+
getLastPossiblePosition: (item: GridsterItem) => GridsterItem;
|
|
68
|
+
pixelsToPositionX(x: number, roundingMethod: (x: number) => number, noLimit?: boolean): number;
|
|
69
|
+
pixelsToPositionY(y: number, roundingMethod: (x: number) => number, noLimit?: boolean): number;
|
|
70
|
+
positionXToPixels(x: number): number;
|
|
71
|
+
positionYToPixels(y: number): number;
|
|
72
|
+
getItemComponent(item: GridsterItem): GridsterItemComponentInterface | undefined;
|
|
73
|
+
checkCollisionForSwaping(item: GridsterItem): GridsterItemComponentInterface | boolean;
|
|
74
|
+
findItemWithItemForSwapping(item: GridsterItem): GridsterItemComponentInterface | boolean;
|
|
75
|
+
previewStyle(drag?: boolean): void;
|
|
76
|
+
private static getNewArrayLength;
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridsterComponent, never>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridsterComponent, "gridster", never, { "options": { "alias": "options"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { GridsterConfigS } from './gridsterConfigS.interface';
|
|
2
|
+
import { ChangeDetectorRef, NgZone, Renderer2 } from '@angular/core';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { GridsterEmptyCell } from './gridsterEmptyCell.service';
|
|
5
|
+
import { GridsterCompact } from './gridsterCompact.service';
|
|
6
|
+
import { GridsterConfig } from './gridsterConfig.interface';
|
|
7
|
+
import { GridsterItem, GridsterItemComponentInterface } from './gridsterItem.interface';
|
|
8
|
+
import { GridsterRenderer } from './gridsterRenderer.service';
|
|
9
|
+
export declare abstract class GridsterComponentInterface {
|
|
10
|
+
$options: GridsterConfigS;
|
|
11
|
+
grid: GridsterItemComponentInterface[];
|
|
12
|
+
checkCollision: (item: GridsterItem) => GridsterItemComponentInterface | boolean;
|
|
13
|
+
checkCollisionForSwaping: (item: GridsterItem) => GridsterItemComponentInterface | boolean;
|
|
14
|
+
positionXToPixels: (x: number) => number;
|
|
15
|
+
pixelsToPositionX: (x: number, roundingMethod: (x: number) => number, noLimit?: boolean) => number;
|
|
16
|
+
positionYToPixels: (y: number) => number;
|
|
17
|
+
pixelsToPositionY: (y: number, roundingMethod: (x: number) => number, noLimit?: boolean) => number;
|
|
18
|
+
findItemWithItem: (item: GridsterItem) => GridsterItemComponentInterface | boolean;
|
|
19
|
+
findItemsWithItem: (item: GridsterItem) => GridsterItemComponentInterface[];
|
|
20
|
+
checkGridCollision: (item: GridsterItem) => boolean;
|
|
21
|
+
checkCollisionTwoItems: (item: GridsterItem, item2: GridsterItem) => boolean;
|
|
22
|
+
getItemComponent: (item: GridsterItem) => GridsterItemComponentInterface | undefined;
|
|
23
|
+
el: HTMLElement;
|
|
24
|
+
renderer: Renderer2;
|
|
25
|
+
gridRenderer: GridsterRenderer;
|
|
26
|
+
cdRef: ChangeDetectorRef;
|
|
27
|
+
options: GridsterConfig;
|
|
28
|
+
calculateLayout$: Subject<void>;
|
|
29
|
+
updateGrid: () => void;
|
|
30
|
+
movingItem: GridsterItem | null;
|
|
31
|
+
addItem: (item: GridsterItemComponentInterface) => void;
|
|
32
|
+
removeItem: (item: GridsterItemComponentInterface) => void;
|
|
33
|
+
previewStyle: (drag?: boolean) => void;
|
|
34
|
+
mobile: boolean;
|
|
35
|
+
curWidth: number;
|
|
36
|
+
curHeight: number;
|
|
37
|
+
columns: number;
|
|
38
|
+
rows: number;
|
|
39
|
+
curColWidth: number;
|
|
40
|
+
curRowHeight: number;
|
|
41
|
+
windowResize: (() => void) | null;
|
|
42
|
+
setGridDimensions: () => void;
|
|
43
|
+
dragInProgress: boolean;
|
|
44
|
+
emptyCell: GridsterEmptyCell;
|
|
45
|
+
compact: GridsterCompact;
|
|
46
|
+
zone: NgZone;
|
|
47
|
+
gridRows: Array<number>;
|
|
48
|
+
gridColumns: Array<number>;
|
|
49
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./gridster.component";
|
|
3
|
+
import * as i2 from "./gridsterItem.component";
|
|
4
|
+
export declare class GridsterModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridsterModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GridsterModule, never, [typeof i1.GridsterComponent, typeof i2.GridsterItemComponent], [typeof i1.GridsterComponent, typeof i2.GridsterItemComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GridsterModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { GridsterComponentInterface } from './gridster.interface';
|
|
2
|
+
import { GridsterItem } from './gridsterItem.interface';
|
|
3
|
+
export declare class GridsterCompact {
|
|
4
|
+
private gridster;
|
|
5
|
+
constructor(gridster: GridsterComponentInterface);
|
|
6
|
+
destroy(): void;
|
|
7
|
+
checkCompact(): void;
|
|
8
|
+
checkCompactItem(item: GridsterItem): void;
|
|
9
|
+
private checkCompactMovement;
|
|
10
|
+
private moveTillCollision;
|
|
11
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { GridsterComponentInterface } from './gridster.interface';
|
|
2
|
+
import { GridsterItem, GridsterItemComponentInterface } from './gridsterItem.interface';
|
|
3
|
+
export type gridTypes = 'fit' | 'scrollVertical' | 'scrollHorizontal' | 'fixed' | 'verticalFixed' | 'horizontalFixed';
|
|
4
|
+
export type displayGrids = 'always' | 'onDrag&Resize' | 'none';
|
|
5
|
+
export type compactTypes = 'none' | 'compactUp' | 'compactLeft' | 'compactUp&Left' | 'compactLeft&Up' | 'compactRight' | 'compactUp&Right' | 'compactRight&Up' | 'compactDown' | 'compactDown&Left' | 'compactLeft&Down' | 'compactDown&Right' | 'compactRight&Down';
|
|
6
|
+
export declare enum GridType {
|
|
7
|
+
Fit = "fit",
|
|
8
|
+
ScrollVertical = "scrollVertical",
|
|
9
|
+
ScrollHorizontal = "scrollHorizontal",
|
|
10
|
+
Fixed = "fixed",
|
|
11
|
+
VerticalFixed = "verticalFixed",
|
|
12
|
+
HorizontalFixed = "horizontalFixed"
|
|
13
|
+
}
|
|
14
|
+
export declare enum DisplayGrid {
|
|
15
|
+
Always = "always",
|
|
16
|
+
OnDragAndResize = "onDrag&Resize",
|
|
17
|
+
None = "none"
|
|
18
|
+
}
|
|
19
|
+
export declare enum CompactType {
|
|
20
|
+
None = "none",
|
|
21
|
+
CompactUp = "compactUp",
|
|
22
|
+
CompactLeft = "compactLeft",
|
|
23
|
+
CompactUpAndLeft = "compactUp&Left",
|
|
24
|
+
CompactLeftAndUp = "compactLeft&Up",
|
|
25
|
+
CompactRight = "compactRight",
|
|
26
|
+
CompactUpAndRight = "compactUp&Right",
|
|
27
|
+
CompactRightAndUp = "compactRight&Up",
|
|
28
|
+
CompactDown = "compactDown",
|
|
29
|
+
CompactDownAndLeft = "compactDown&Left",
|
|
30
|
+
CompactLeftAndDown = "compactLeft&Down",
|
|
31
|
+
CompactDownAndRight = "compactDown&Right",
|
|
32
|
+
CompactRightAndDown = "compactRight&Down"
|
|
33
|
+
}
|
|
34
|
+
export declare enum DirTypes {
|
|
35
|
+
LTR = "ltr",
|
|
36
|
+
RTL = "rtl"
|
|
37
|
+
}
|
|
38
|
+
export type dirTypes = 'ltr' | 'rtl';
|
|
39
|
+
export interface GridsterConfig {
|
|
40
|
+
gridType?: gridTypes;
|
|
41
|
+
scale?: number;
|
|
42
|
+
fixedColWidth?: number;
|
|
43
|
+
fixedRowHeight?: number;
|
|
44
|
+
keepFixedHeightInMobile?: boolean;
|
|
45
|
+
keepFixedWidthInMobile?: boolean;
|
|
46
|
+
setGridSize?: boolean;
|
|
47
|
+
compactType?: compactTypes;
|
|
48
|
+
mobileBreakpoint?: number;
|
|
49
|
+
allowMultiLayer?: boolean;
|
|
50
|
+
defaultLayerIndex?: number;
|
|
51
|
+
maxLayerIndex?: number;
|
|
52
|
+
baseLayerIndex?: number;
|
|
53
|
+
minCols?: number;
|
|
54
|
+
maxCols?: number;
|
|
55
|
+
minRows?: number;
|
|
56
|
+
maxRows?: number;
|
|
57
|
+
defaultItemCols?: number;
|
|
58
|
+
defaultItemRows?: number;
|
|
59
|
+
maxItemCols?: number;
|
|
60
|
+
maxItemRows?: number;
|
|
61
|
+
minItemCols?: number;
|
|
62
|
+
minItemRows?: number;
|
|
63
|
+
minItemArea?: number;
|
|
64
|
+
maxItemArea?: number;
|
|
65
|
+
addEmptyRowsCount?: number;
|
|
66
|
+
rowHeightRatio?: number;
|
|
67
|
+
margin?: number;
|
|
68
|
+
outerMargin?: boolean;
|
|
69
|
+
outerMarginTop?: number | null;
|
|
70
|
+
outerMarginRight?: number | null;
|
|
71
|
+
outerMarginBottom?: number | null;
|
|
72
|
+
outerMarginLeft?: number | null;
|
|
73
|
+
useTransformPositioning?: boolean;
|
|
74
|
+
scrollSensitivity?: number | null;
|
|
75
|
+
scrollSpeed?: number;
|
|
76
|
+
initCallback?: (gridster: GridsterComponentInterface) => void;
|
|
77
|
+
destroyCallback?: (gridster: GridsterComponentInterface) => void;
|
|
78
|
+
gridSizeChangedCallback?: (gridster: GridsterComponentInterface) => void;
|
|
79
|
+
itemChangeCallback?: (item: GridsterItem, itemComponent: GridsterItemComponentInterface) => void;
|
|
80
|
+
itemResizeCallback?: (item: GridsterItem, itemComponent: GridsterItemComponentInterface) => void;
|
|
81
|
+
itemInitCallback?: (item: GridsterItem, itemComponent: GridsterItemComponentInterface) => void;
|
|
82
|
+
itemRemovedCallback?: (item: GridsterItem, itemComponent: GridsterItemComponentInterface) => void;
|
|
83
|
+
itemValidateCallback?: (item: GridsterItem) => boolean;
|
|
84
|
+
draggable?: Draggable;
|
|
85
|
+
resizable?: Resizable;
|
|
86
|
+
swap?: boolean;
|
|
87
|
+
swapWhileDragging?: boolean;
|
|
88
|
+
pushItems?: boolean;
|
|
89
|
+
disablePushOnDrag?: boolean;
|
|
90
|
+
disablePushOnResize?: boolean;
|
|
91
|
+
disableAutoPositionOnConflict?: boolean;
|
|
92
|
+
pushDirections?: PushDirections;
|
|
93
|
+
pushResizeItems?: boolean;
|
|
94
|
+
displayGrid?: displayGrids;
|
|
95
|
+
disableWindowResize?: boolean;
|
|
96
|
+
disableWarnings?: boolean;
|
|
97
|
+
scrollToNewItems?: boolean;
|
|
98
|
+
disableScrollHorizontal?: boolean;
|
|
99
|
+
disableScrollVertical?: boolean;
|
|
100
|
+
enableBoundaryControl?: boolean;
|
|
101
|
+
enableEmptyCellClick?: boolean;
|
|
102
|
+
enableEmptyCellContextMenu?: boolean;
|
|
103
|
+
enableEmptyCellDrop?: boolean;
|
|
104
|
+
enableEmptyCellDrag?: boolean;
|
|
105
|
+
enableOccupiedCellDrop?: boolean;
|
|
106
|
+
emptyCellClickCallback?: (event: MouseEvent, item: GridsterItem) => void;
|
|
107
|
+
emptyCellContextMenuCallback?: (event: MouseEvent, item: GridsterItem) => void;
|
|
108
|
+
emptyCellDropCallback?: (event: DragEvent, item: GridsterItem) => void;
|
|
109
|
+
emptyCellDragCallback?: (event: MouseEvent, item: GridsterItem) => void;
|
|
110
|
+
emptyCellDragMaxCols?: number;
|
|
111
|
+
emptyCellDragMaxRows?: number;
|
|
112
|
+
ignoreMarginInRow?: boolean;
|
|
113
|
+
dirType?: dirTypes;
|
|
114
|
+
api?: {
|
|
115
|
+
resize?: () => void;
|
|
116
|
+
optionsChanged?: () => void;
|
|
117
|
+
getNextPossiblePosition?: (newItem: GridsterItem) => boolean;
|
|
118
|
+
getFirstPossiblePosition?: (item: GridsterItem) => GridsterItem;
|
|
119
|
+
getLastPossiblePosition?: (item: GridsterItem) => GridsterItem;
|
|
120
|
+
getCurrentRowHeight?: () => number;
|
|
121
|
+
getItemComponent?: (item: GridsterItem) => GridsterItemComponentInterface | undefined;
|
|
122
|
+
};
|
|
123
|
+
[propName: string]: any;
|
|
124
|
+
}
|
|
125
|
+
export interface DragBase {
|
|
126
|
+
enabled?: boolean;
|
|
127
|
+
stop?: (item: GridsterItem, itemComponent: GridsterItemComponentInterface, event: MouseEvent) => Promise<any> | void;
|
|
128
|
+
start?: (item: GridsterItem, itemComponent: GridsterItemComponentInterface, event: MouseEvent) => void;
|
|
129
|
+
delayStart?: number;
|
|
130
|
+
}
|
|
131
|
+
export interface Draggable extends DragBase {
|
|
132
|
+
ignoreContentClass?: string;
|
|
133
|
+
ignoreContent?: boolean;
|
|
134
|
+
dragHandleClass?: string;
|
|
135
|
+
dropOverItems?: boolean;
|
|
136
|
+
dropOverItemsCallback?: (source: GridsterItem, target: GridsterItem, grid?: GridsterComponentInterface) => void;
|
|
137
|
+
}
|
|
138
|
+
export interface Resizable extends DragBase {
|
|
139
|
+
handles?: {
|
|
140
|
+
s: boolean;
|
|
141
|
+
e: boolean;
|
|
142
|
+
n: boolean;
|
|
143
|
+
w: boolean;
|
|
144
|
+
se: boolean;
|
|
145
|
+
ne: boolean;
|
|
146
|
+
sw: boolean;
|
|
147
|
+
nw: boolean;
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
export interface PushDirections {
|
|
151
|
+
north: boolean;
|
|
152
|
+
east: boolean;
|
|
153
|
+
south: boolean;
|
|
154
|
+
west: boolean;
|
|
155
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { GridsterComponentInterface } from './gridster.interface';
|
|
2
|
+
import { compactTypes, dirTypes, displayGrids, gridTypes } from './gridsterConfig.interface';
|
|
3
|
+
import { GridsterItem, GridsterItemComponentInterface } from './gridsterItem.interface';
|
|
4
|
+
export interface GridsterConfigS {
|
|
5
|
+
gridType: gridTypes;
|
|
6
|
+
scale?: number;
|
|
7
|
+
fixedColWidth: number;
|
|
8
|
+
fixedRowHeight: number;
|
|
9
|
+
keepFixedHeightInMobile: boolean;
|
|
10
|
+
keepFixedWidthInMobile: boolean;
|
|
11
|
+
setGridSize: boolean;
|
|
12
|
+
compactType: compactTypes;
|
|
13
|
+
mobileBreakpoint: number;
|
|
14
|
+
useBodyForBreakpoint: boolean;
|
|
15
|
+
allowMultiLayer: boolean;
|
|
16
|
+
defaultLayerIndex: number;
|
|
17
|
+
maxLayerIndex: number;
|
|
18
|
+
baseLayerIndex: number;
|
|
19
|
+
minCols: number;
|
|
20
|
+
maxCols: number;
|
|
21
|
+
minRows: number;
|
|
22
|
+
maxRows: number;
|
|
23
|
+
defaultItemCols: number;
|
|
24
|
+
defaultItemRows: number;
|
|
25
|
+
maxItemCols: number;
|
|
26
|
+
maxItemRows: number;
|
|
27
|
+
minItemCols: number;
|
|
28
|
+
minItemRows: number;
|
|
29
|
+
minItemArea: number;
|
|
30
|
+
maxItemArea: number;
|
|
31
|
+
addEmptyRowsCount: number;
|
|
32
|
+
rowHeightRatio: number;
|
|
33
|
+
margin: number;
|
|
34
|
+
outerMargin: boolean;
|
|
35
|
+
outerMarginTop: number | null;
|
|
36
|
+
outerMarginRight: number | null;
|
|
37
|
+
outerMarginBottom: number | null;
|
|
38
|
+
outerMarginLeft: number | null;
|
|
39
|
+
useTransformPositioning: boolean;
|
|
40
|
+
scrollSensitivity: number;
|
|
41
|
+
scrollSpeed: number;
|
|
42
|
+
draggable: Draggable;
|
|
43
|
+
resizable: Resizable;
|
|
44
|
+
swap: boolean;
|
|
45
|
+
swapWhileDragging: boolean;
|
|
46
|
+
pushItems: boolean;
|
|
47
|
+
disablePushOnDrag: boolean;
|
|
48
|
+
disablePushOnResize: boolean;
|
|
49
|
+
disableAutoPositionOnConflict: boolean;
|
|
50
|
+
pushDirections: PushDirections;
|
|
51
|
+
pushResizeItems: boolean;
|
|
52
|
+
displayGrid: displayGrids;
|
|
53
|
+
disableWindowResize: boolean;
|
|
54
|
+
disableWarnings: boolean;
|
|
55
|
+
scrollToNewItems: boolean;
|
|
56
|
+
disableScrollHorizontal?: boolean;
|
|
57
|
+
disableScrollVertical?: boolean;
|
|
58
|
+
enableBoundaryControl?: boolean;
|
|
59
|
+
enableEmptyCellClick: boolean;
|
|
60
|
+
enableEmptyCellContextMenu: boolean;
|
|
61
|
+
enableEmptyCellDrop: boolean;
|
|
62
|
+
enableEmptyCellDrag: boolean;
|
|
63
|
+
enableOccupiedCellDrop: boolean;
|
|
64
|
+
emptyCellDragMaxCols: number;
|
|
65
|
+
emptyCellDragMaxRows: number;
|
|
66
|
+
ignoreMarginInRow: boolean;
|
|
67
|
+
dirType: dirTypes;
|
|
68
|
+
api: {
|
|
69
|
+
resize: () => void;
|
|
70
|
+
optionsChanged: () => void;
|
|
71
|
+
getNextPossiblePosition: (newItem: GridsterItem) => boolean;
|
|
72
|
+
getFirstPossiblePosition: (item: GridsterItem) => GridsterItem;
|
|
73
|
+
getLastPossiblePosition: (item: GridsterItem) => GridsterItem;
|
|
74
|
+
getItemComponent: (item: GridsterItem) => GridsterItemComponentInterface | undefined;
|
|
75
|
+
};
|
|
76
|
+
[propName: string]: any;
|
|
77
|
+
}
|
|
78
|
+
export interface DragBase {
|
|
79
|
+
enabled: boolean;
|
|
80
|
+
delayStart: number;
|
|
81
|
+
[propName: string]: any;
|
|
82
|
+
}
|
|
83
|
+
export interface Draggable extends DragBase {
|
|
84
|
+
ignoreContentClass: string;
|
|
85
|
+
ignoreContent: boolean;
|
|
86
|
+
dragHandleClass: string;
|
|
87
|
+
dropOverItems: boolean;
|
|
88
|
+
dropOverItemsCallback: (source: GridsterItem, target: GridsterItem, grid?: GridsterComponentInterface) => void;
|
|
89
|
+
}
|
|
90
|
+
export interface Resizable extends DragBase {
|
|
91
|
+
handles: {
|
|
92
|
+
s: boolean;
|
|
93
|
+
e: boolean;
|
|
94
|
+
n: boolean;
|
|
95
|
+
w: boolean;
|
|
96
|
+
se: boolean;
|
|
97
|
+
ne: boolean;
|
|
98
|
+
sw: boolean;
|
|
99
|
+
nw: boolean;
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
export interface PushDirections {
|
|
103
|
+
north: boolean;
|
|
104
|
+
east: boolean;
|
|
105
|
+
south: boolean;
|
|
106
|
+
west: boolean;
|
|
107
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { NgZone } from '@angular/core';
|
|
2
|
+
import { GridsterComponentInterface } from './gridster.interface';
|
|
3
|
+
import { GridsterItemComponentInterface } from './gridsterItem.interface';
|
|
4
|
+
import { GridsterPush } from './gridsterPush.service';
|
|
5
|
+
import { GridsterSwap } from './gridsterSwap.service';
|
|
6
|
+
export declare class GridsterDraggable {
|
|
7
|
+
private zone;
|
|
8
|
+
gridsterItem: GridsterItemComponentInterface;
|
|
9
|
+
gridster: GridsterComponentInterface;
|
|
10
|
+
lastMouse: {
|
|
11
|
+
clientX: number;
|
|
12
|
+
clientY: number;
|
|
13
|
+
};
|
|
14
|
+
offsetLeft: number;
|
|
15
|
+
offsetTop: number;
|
|
16
|
+
margin: number;
|
|
17
|
+
outerMarginTop: number | null;
|
|
18
|
+
outerMarginRight: number | null;
|
|
19
|
+
outerMarginBottom: number | null;
|
|
20
|
+
outerMarginLeft: number | null;
|
|
21
|
+
diffTop: number;
|
|
22
|
+
diffLeft: number;
|
|
23
|
+
originalClientX: number;
|
|
24
|
+
originalClientY: number;
|
|
25
|
+
top: number;
|
|
26
|
+
left: number;
|
|
27
|
+
height: number;
|
|
28
|
+
width: number;
|
|
29
|
+
positionX: number;
|
|
30
|
+
positionY: number;
|
|
31
|
+
positionXBackup: number;
|
|
32
|
+
positionYBackup: number;
|
|
33
|
+
enabled: boolean;
|
|
34
|
+
mousemove: () => void;
|
|
35
|
+
mouseup: () => void;
|
|
36
|
+
mouseleave: () => void;
|
|
37
|
+
cancelOnBlur: () => void;
|
|
38
|
+
touchmove: () => void;
|
|
39
|
+
touchend: () => void;
|
|
40
|
+
touchcancel: () => void;
|
|
41
|
+
mousedown: () => void;
|
|
42
|
+
touchstart: () => void;
|
|
43
|
+
push: GridsterPush;
|
|
44
|
+
swap: GridsterSwap;
|
|
45
|
+
path: Array<{
|
|
46
|
+
x: number;
|
|
47
|
+
y: number;
|
|
48
|
+
}>;
|
|
49
|
+
collision: GridsterItemComponentInterface | boolean;
|
|
50
|
+
constructor(gridsterItem: GridsterItemComponentInterface, gridster: GridsterComponentInterface, zone: NgZone);
|
|
51
|
+
destroy(): void;
|
|
52
|
+
dragStart(e: MouseEvent): void;
|
|
53
|
+
dragMove: (e: MouseEvent) => void;
|
|
54
|
+
calculateItemPositionFromMousePosition: (e: MouseEvent) => void;
|
|
55
|
+
calculateItemPositionWithScale(e: MouseEvent, scale: number): void;
|
|
56
|
+
calculateItemPositionWithoutScale(e: MouseEvent): void;
|
|
57
|
+
dragStop: (e: MouseEvent) => void;
|
|
58
|
+
cancelDrag: () => void;
|
|
59
|
+
makeDrag: () => void;
|
|
60
|
+
calculateItemPosition(): void;
|
|
61
|
+
toggle(): void;
|
|
62
|
+
dragStartDelay: (e: MouseEvent) => void;
|
|
63
|
+
/**
|
|
64
|
+
* Returns the list of directions for given mouse event
|
|
65
|
+
* @param e Mouse event
|
|
66
|
+
* */
|
|
67
|
+
private getDirections;
|
|
68
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { GridsterComponentInterface } from './gridster.interface';
|
|
2
|
+
import { GridsterItem } from './gridsterItem.interface';
|
|
3
|
+
export declare class GridsterEmptyCell {
|
|
4
|
+
private gridster;
|
|
5
|
+
initialItem: GridsterItem | null;
|
|
6
|
+
removeEmptyCellClickListenerFn: (() => void) | null;
|
|
7
|
+
removeEmptyCellTouchendListenerFn: (() => void) | null;
|
|
8
|
+
removeEmptyCellContextMenuListenerFn: (() => void) | null;
|
|
9
|
+
removeEmptyCellDropListenerFn: (() => void) | null;
|
|
10
|
+
removeEmptyCellMousedownListenerFn: (() => void) | null;
|
|
11
|
+
removeEmptyCellTouchstartListenerFn: (() => void) | null;
|
|
12
|
+
removeWindowMousemoveListenerFn: () => void;
|
|
13
|
+
removeWindowTouchmoveListenerFn: () => void;
|
|
14
|
+
removeWindowMouseupListenerFn: () => void;
|
|
15
|
+
removeWindowTouchendListenerFn: () => void;
|
|
16
|
+
removeEmptyCellDragoverListenerFn: (() => void) | null;
|
|
17
|
+
removeDocumentDragendListenerFn: (() => void) | null;
|
|
18
|
+
constructor(gridster: GridsterComponentInterface);
|
|
19
|
+
destroy(): void;
|
|
20
|
+
updateOptions(): void;
|
|
21
|
+
emptyCellClickCb: (e: MouseEvent) => void;
|
|
22
|
+
emptyCellContextMenuCb: (e: MouseEvent) => void;
|
|
23
|
+
emptyCellDragDrop: (e: DragEvent) => void;
|
|
24
|
+
emptyCellDragOver: (e: DragEvent) => void;
|
|
25
|
+
emptyCellMouseDown: (e: MouseEvent) => void;
|
|
26
|
+
emptyCellMouseMove: (e: MouseEvent) => void;
|
|
27
|
+
emptyCellMouseUp: (e: MouseEvent) => void;
|
|
28
|
+
getPixelsX(e: MouseEvent, rect: ClientRect): number;
|
|
29
|
+
getPixelsY(e: MouseEvent, rect: ClientRect): number;
|
|
30
|
+
getValidItemFromEvent(e: MouseEvent, oldItem?: GridsterItem | null): GridsterItem | undefined;
|
|
31
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { GridsterComponent } from './gridster.component';
|
|
3
|
+
import { GridsterDraggable } from './gridsterDraggable.service';
|
|
4
|
+
import { GridsterItem, GridsterItemComponentInterface } from './gridsterItem.interface';
|
|
5
|
+
import { GridsterResizable } from './gridsterResizable.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class GridsterItemComponent implements OnInit, OnDestroy, OnChanges, GridsterItemComponentInterface {
|
|
8
|
+
renderer: Renderer2;
|
|
9
|
+
private zone;
|
|
10
|
+
item: GridsterItem;
|
|
11
|
+
itemInit: EventEmitter<{
|
|
12
|
+
item: GridsterItem;
|
|
13
|
+
itemComponent: GridsterItemComponentInterface;
|
|
14
|
+
}>;
|
|
15
|
+
itemChange: EventEmitter<{
|
|
16
|
+
item: GridsterItem;
|
|
17
|
+
itemComponent: GridsterItemComponentInterface;
|
|
18
|
+
}>;
|
|
19
|
+
itemResize: EventEmitter<{
|
|
20
|
+
item: GridsterItem;
|
|
21
|
+
itemComponent: GridsterItemComponentInterface;
|
|
22
|
+
}>;
|
|
23
|
+
$item: GridsterItem;
|
|
24
|
+
el: HTMLElement;
|
|
25
|
+
gridster: GridsterComponent;
|
|
26
|
+
top: number;
|
|
27
|
+
left: number;
|
|
28
|
+
width: number;
|
|
29
|
+
height: number;
|
|
30
|
+
drag: GridsterDraggable;
|
|
31
|
+
resize: GridsterResizable;
|
|
32
|
+
notPlaced: boolean;
|
|
33
|
+
init: boolean;
|
|
34
|
+
get zIndex(): number;
|
|
35
|
+
constructor(el: ElementRef, gridster: GridsterComponent, renderer: Renderer2, zone: NgZone);
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
38
|
+
updateOptions(): void;
|
|
39
|
+
ngOnDestroy(): void;
|
|
40
|
+
setSize(): void;
|
|
41
|
+
updateItemSize(): void;
|
|
42
|
+
itemChanged(): void;
|
|
43
|
+
checkItemChanges(newValue: GridsterItem, oldValue: GridsterItem): void;
|
|
44
|
+
canBeDragged(): boolean;
|
|
45
|
+
canBeResized(): boolean;
|
|
46
|
+
getResizableHandles(): {
|
|
47
|
+
s: boolean;
|
|
48
|
+
e: boolean;
|
|
49
|
+
n: boolean;
|
|
50
|
+
w: boolean;
|
|
51
|
+
se: boolean;
|
|
52
|
+
ne: boolean;
|
|
53
|
+
sw: boolean;
|
|
54
|
+
nw: boolean;
|
|
55
|
+
};
|
|
56
|
+
bringToFront(offset: number): void;
|
|
57
|
+
sendToBack(offset: number): void;
|
|
58
|
+
private getLayerIndex;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridsterItemComponent, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridsterItemComponent, "gridster-item", never, { "item": { "alias": "item"; "required": false; }; }, { "itemInit": "itemInit"; "itemChange": "itemChange"; "itemResize": "itemResize"; }, never, ["*"], true, never>;
|
|
61
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { GridsterDraggable } from './gridsterDraggable.service';
|
|
2
|
+
import { Renderer2 } from '@angular/core';
|
|
3
|
+
import { GridsterResizable } from './gridsterResizable.service';
|
|
4
|
+
import { GridsterComponentInterface } from './gridster.interface';
|
|
5
|
+
export declare abstract class GridsterItemComponentInterface {
|
|
6
|
+
item: GridsterItem;
|
|
7
|
+
$item: GridsterItem;
|
|
8
|
+
top: number;
|
|
9
|
+
left: number;
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
drag: GridsterDraggable;
|
|
13
|
+
resize: GridsterResizable;
|
|
14
|
+
notPlaced: boolean;
|
|
15
|
+
updateOptions: () => void;
|
|
16
|
+
itemChanged: () => void;
|
|
17
|
+
setSize: () => void;
|
|
18
|
+
checkItemChanges: (newValue: GridsterItem, oldValue: GridsterItem) => void;
|
|
19
|
+
canBeDragged: () => boolean;
|
|
20
|
+
canBeResized: () => boolean;
|
|
21
|
+
getResizableHandles: () => {
|
|
22
|
+
s: boolean;
|
|
23
|
+
e: boolean;
|
|
24
|
+
n: boolean;
|
|
25
|
+
w: boolean;
|
|
26
|
+
se: boolean;
|
|
27
|
+
ne: boolean;
|
|
28
|
+
sw: boolean;
|
|
29
|
+
nw: boolean;
|
|
30
|
+
};
|
|
31
|
+
bringToFront: (offset: number) => void;
|
|
32
|
+
sendToBack: (v: number) => void;
|
|
33
|
+
el: HTMLElement;
|
|
34
|
+
gridster: GridsterComponentInterface;
|
|
35
|
+
renderer: Renderer2;
|
|
36
|
+
}
|
|
37
|
+
export interface GridsterItem {
|
|
38
|
+
x: number;
|
|
39
|
+
y: number;
|
|
40
|
+
rows: number;
|
|
41
|
+
cols: number;
|
|
42
|
+
layerIndex?: number;
|
|
43
|
+
initCallback?: (item: GridsterItem, itemComponent: GridsterItemComponentInterface) => void;
|
|
44
|
+
dragEnabled?: boolean;
|
|
45
|
+
resizeEnabled?: boolean;
|
|
46
|
+
resizableHandles?: {
|
|
47
|
+
s?: boolean;
|
|
48
|
+
e?: boolean;
|
|
49
|
+
n?: boolean;
|
|
50
|
+
w?: boolean;
|
|
51
|
+
se?: boolean;
|
|
52
|
+
ne?: boolean;
|
|
53
|
+
sw?: boolean;
|
|
54
|
+
nw?: boolean;
|
|
55
|
+
};
|
|
56
|
+
compactEnabled?: boolean;
|
|
57
|
+
maxItemRows?: number;
|
|
58
|
+
minItemRows?: number;
|
|
59
|
+
maxItemCols?: number;
|
|
60
|
+
minItemCols?: number;
|
|
61
|
+
minItemArea?: number;
|
|
62
|
+
maxItemArea?: number;
|
|
63
|
+
[propName: string]: any;
|
|
64
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { GridsterItem } from './gridsterItem.interface';
|
|
3
|
+
import { GridsterRenderer } from './gridsterRenderer.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class GridsterPreviewComponent implements OnInit, OnDestroy {
|
|
6
|
+
private renderer;
|
|
7
|
+
previewStyle$: EventEmitter<GridsterItem | null>;
|
|
8
|
+
gridRenderer: GridsterRenderer;
|
|
9
|
+
private el;
|
|
10
|
+
private sub;
|
|
11
|
+
constructor(el: ElementRef, renderer: Renderer2);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
private previewStyle;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridsterPreviewComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridsterPreviewComponent, "gridster-preview", never, { "previewStyle$": { "alias": "previewStyle$"; "required": false; }; "gridRenderer": { "alias": "gridRenderer"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
+
}
|