@acorex/components 19.10.10 → 19.10.11
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/autocomplete/README.md +3 -0
- package/autocomplete/index.d.ts +2 -0
- package/autocomplete/lib/autocomplete.component.d.ts +113 -0
- package/autocomplete/lib/autocomplete.module.d.ts +7 -0
- package/common/lib/classes/components.class.d.ts +14 -1
- package/common/lib/classes/datasource.class.d.ts +2 -2
- package/data-table/lib/columns/row-select-column.component.d.ts +8 -7
- package/dropdown/lib/dropdown-box.component.d.ts +2 -1
- package/dropdown/lib/dropdown-panel.component.d.ts +3 -1
- package/dropdown-button/lib/dropdown-button.component.d.ts +2 -1
- package/fesm2022/acorex-components-action-sheet.mjs +11 -11
- package/fesm2022/acorex-components-alert.mjs +8 -8
- package/fesm2022/acorex-components-audio-wave.mjs +8 -8
- package/fesm2022/acorex-components-autocomplete.mjs +317 -0
- package/fesm2022/acorex-components-autocomplete.mjs.map +1 -0
- package/fesm2022/acorex-components-avatar.mjs +11 -11
- package/fesm2022/acorex-components-badge.mjs +8 -8
- package/fesm2022/acorex-components-bottom-navigation.mjs +11 -11
- package/fesm2022/acorex-components-breadcrumbs.mjs +11 -11
- package/fesm2022/acorex-components-button-group.mjs +11 -11
- package/fesm2022/acorex-components-button.mjs +15 -15
- package/fesm2022/acorex-components-calendar.mjs +15 -15
- package/fesm2022/acorex-components-check-box.mjs +11 -11
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +8 -8
- package/fesm2022/acorex-components-circular-progress.mjs +8 -8
- package/fesm2022/acorex-components-collapse.mjs +12 -12
- package/fesm2022/acorex-components-color-box.mjs +10 -10
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +26 -26
- package/fesm2022/acorex-components-comment.mjs +29 -29
- package/fesm2022/acorex-components-common.mjs +736 -696
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +52 -52
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +47 -47
- package/fesm2022/acorex-components-data-pager.mjs +44 -47
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +91 -68
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +10 -10
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +9 -9
- package/fesm2022/acorex-components-datetime-picker.mjs +9 -9
- package/fesm2022/acorex-components-decorators.mjs +26 -26
- package/fesm2022/acorex-components-dialog.mjs +12 -12
- package/fesm2022/acorex-components-drawer.mjs +14 -14
- package/fesm2022/acorex-components-dropdown-button.mjs +16 -10
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +23 -15
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-file-explorer.mjs +27 -27
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +17 -17
- package/fesm2022/acorex-components-grid-layout-builder.mjs +149 -598
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +311 -180
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +8 -8
- package/fesm2022/acorex-components-json-viewer.mjs +8 -8
- package/fesm2022/acorex-components-kbd.mjs +11 -11
- package/fesm2022/acorex-components-label.mjs +8 -8
- package/fesm2022/acorex-components-list.mjs +9 -9
- package/fesm2022/acorex-components-loading-dialog.mjs +11 -11
- package/fesm2022/acorex-components-loading.mjs +18 -18
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +17 -27
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +36 -36
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +17 -17
- package/fesm2022/acorex-components-navbar.mjs +8 -8
- package/fesm2022/acorex-components-notification.mjs +11 -11
- package/fesm2022/acorex-components-number-box.mjs +9 -9
- package/fesm2022/acorex-components-otp.mjs +9 -9
- package/fesm2022/acorex-components-page.mjs +11 -11
- package/fesm2022/acorex-components-paint.mjs +20 -20
- package/fesm2022/acorex-components-password-box.mjs +12 -12
- package/fesm2022/acorex-components-pdf-reader.mjs +8 -8
- package/fesm2022/acorex-components-phone-box.mjs +9 -9
- package/fesm2022/acorex-components-picker.mjs +14 -14
- package/fesm2022/acorex-components-popover.mjs +8 -8
- package/fesm2022/acorex-components-popup.mjs +11 -11
- package/fesm2022/acorex-components-progress-bar.mjs +8 -8
- package/fesm2022/acorex-components-qrcode.mjs +8 -8
- package/fesm2022/acorex-components-query-builder.mjs +25 -14
- package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +9 -9
- package/fesm2022/acorex-components-rail-navigation.mjs +14 -14
- package/fesm2022/acorex-components-range-slider.mjs +8 -8
- package/fesm2022/acorex-components-rate-picker.mjs +8 -8
- package/fesm2022/acorex-components-rest-api-generator.mjs +23 -23
- package/fesm2022/acorex-components-result.mjs +8 -8
- package/fesm2022/acorex-components-routing-progress.mjs +8 -8
- package/fesm2022/acorex-components-scheduler.mjs +14 -14
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-scss.mjs +4 -4
- package/fesm2022/acorex-components-search-box.mjs +10 -10
- package/fesm2022/acorex-components-select-box.mjs +10 -10
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +9 -9
- package/fesm2022/acorex-components-side-menu.mjs +15 -15
- package/fesm2022/acorex-components-skeleton.mjs +8 -8
- package/fesm2022/acorex-components-slider.mjs +9 -9
- package/fesm2022/acorex-components-sliding-item.mjs +14 -14
- package/fesm2022/acorex-components-step-wizard.mjs +14 -14
- package/fesm2022/acorex-components-switch.mjs +11 -11
- package/fesm2022/acorex-components-tabs.mjs +14 -14
- package/fesm2022/acorex-components-tag-box.mjs +121 -0
- package/fesm2022/acorex-components-tag-box.mjs.map +1 -0
- package/fesm2022/acorex-components-tag.mjs +9 -9
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +9 -9
- package/fesm2022/acorex-components-text-box.mjs +14 -14
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +12 -12
- package/fesm2022/acorex-components-toast.mjs +11 -11
- package/fesm2022/acorex-components-toolbar.mjs +8 -8
- package/fesm2022/acorex-components-tooltip.mjs +11 -11
- package/fesm2022/acorex-components-tree-view.mjs +31 -27
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +32 -27
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-video-player.mjs +8 -8
- package/fesm2022/acorex-components-wysiwyg.mjs +32 -32
- package/grid-layout-builder/index.d.ts +0 -1
- package/grid-layout-builder/lib/grid-layout-builder.module.d.ts +1 -2
- package/grid-layout-builder/lib/grid-layout-container.component.d.ts +37 -235
- package/grid-layout-builder/lib/grid-layout-widget.component.d.ts +6 -86
- package/grid-layout-builder/lib/types.d.ts +8 -12
- package/image-editor/index.d.ts +7 -2
- package/image-editor/lib/image-editor-container/image-editor-container.component.d.ts +4 -1
- package/image-editor/lib/image-editor-tools/image-editor-crop/image-editor-crop.component.d.ts +3 -8
- package/image-editor/lib/image-editor-tools/image-editor-header/image-editor-header.component.d.ts +12 -0
- package/image-editor/lib/image-editor-tools/image-editor-highlight/image-editor-highlight.component.d.ts +18 -0
- package/image-editor/lib/image-editor-tools/image-editor-history/image-editor-history.component.d.ts +13 -0
- package/image-editor/lib/image-editor-tools/image-editor-pen/image-editor-pen.component.d.ts +18 -0
- package/image-editor/lib/image-editor-tools/image-editor-rotate/image-editor-rotate.component.d.ts +16 -0
- package/image-editor/lib/image-editor-tools/image-editor-tool-selector/image-editor-tool-selector.component.d.ts +12 -0
- package/image-editor/lib/image-editor-view/image-editor-view.component.d.ts +7 -1
- package/image-editor/lib/image-editor.module.d.ts +10 -6
- package/image-editor/lib/image-editor.service.d.ts +6 -10
- package/package.json +13 -5
- package/query-builder/lib/query-builder.component.d.ts +5 -2
- package/tag-box/README.md +3 -0
- package/tag-box/index.d.ts +2 -0
- package/tag-box/lib/tag-box.component.d.ts +30 -0
- package/tag-box/lib/tag-box.module.d.ts +7 -0
- package/tree-view/lib/tree-view-item.component.d.ts +3 -2
- package/tree-view/lib/tree-view.component.d.ts +6 -7
- package/grid-layout-builder/lib/grid-layout-widget.directive.d.ts +0 -106
- package/image-editor/lib/image-editor-tools/image-editor-color-picker/image-editor-color-picker.component.d.ts +0 -17
- package/image-editor/lib/image-editor-tools/image-editor-pen-mode-changer/image-editor-pen-mode-changer.component.d.ts +0 -34
@@ -1,642 +1,222 @@
|
|
1
1
|
import { CommonModule } from '@angular/common';
|
2
2
|
import * as i0 from '@angular/core';
|
3
|
-
import { inject, ElementRef, input,
|
3
|
+
import { inject, ElementRef, input, effect, untracked, ViewEncapsulation, ChangeDetectionStrategy, Component, output, model, NgZone, contentChildren, afterNextRender, SecurityContext, ContentChildren, NgModule } from '@angular/core';
|
4
|
+
import { NXComponent } from '@acorex/components/common';
|
4
5
|
import { DomSanitizer } from '@angular/platform-browser';
|
5
6
|
import { merge } from 'lodash-es';
|
6
7
|
|
7
|
-
/**
|
8
|
-
* A component that represents a widget within the grid layout. It serves as an individual
|
9
|
-
* item within a `gridstack` layout, providing options for customization and interaction.
|
10
|
-
*
|
11
|
-
* This widget component is used within the `AXGridLayoutContainerComponent` to manage the
|
12
|
-
* layout of widgets in a grid system. The component interacts with the GridStack library
|
13
|
-
* to offer features like resizing, movement, and customization of the widget's properties.
|
14
|
-
*
|
15
|
-
* @example
|
16
|
-
* <ax-grid-layout-widget [options]="widgetOptions">
|
17
|
-
* <div>Widget Content</div>
|
18
|
-
* </ax-grid-layout-widget>
|
19
|
-
*/
|
20
8
|
class AXGridLayoutWidgetComponent {
|
21
|
-
/**
|
22
|
-
* Clears the widget's options.
|
23
|
-
*
|
24
|
-
* This method removes any existing options set for the widget and resets it
|
25
|
-
* to its default state.
|
26
|
-
*/
|
27
|
-
clearOptions() {
|
28
|
-
this._options = null;
|
29
|
-
}
|
30
|
-
/**
|
31
|
-
* Constructor that initializes the widget component and sets the reference to
|
32
|
-
* the grid widget component in the element's properties.
|
33
|
-
*/
|
34
9
|
constructor() {
|
35
|
-
/**
|
36
|
-
* A reference to the native element of this widget component. It is used for interaction
|
37
|
-
* with the underlying DOM element and for updating the widget properties via GridStack.
|
38
|
-
*/
|
39
10
|
this.elementRef = inject(ElementRef);
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
* The options include properties such as position, size, content, and other
|
48
|
-
* configuration values. These options are updated dynamically.
|
49
|
-
*
|
50
|
-
* @param {AXGridLayoutNode} val The configuration object for the widget.
|
51
|
-
* @returns {AXGridLayoutWidgetCompElement} The element associated with the widget.
|
52
|
-
*/
|
53
|
-
this.options = input(null, {
|
54
|
-
transform: (val) => {
|
55
|
-
const grid = this.el.gridstackNode?.grid;
|
56
|
-
if (grid) {
|
57
|
-
grid.update(this.el, val);
|
58
|
-
}
|
59
|
-
else {
|
60
|
-
this._options = { ...val, el: this.el };
|
11
|
+
this.options = input();
|
12
|
+
this.eff = effect(() => {
|
13
|
+
const options = this.options();
|
14
|
+
untracked(() => {
|
15
|
+
const gridstackNode = this.elementRef.nativeElement.gridstackNode;
|
16
|
+
if (gridstackNode?.grid) {
|
17
|
+
gridstackNode.grid.update(this.elementRef.nativeElement, options);
|
61
18
|
}
|
62
|
-
|
63
|
-
},
|
19
|
+
});
|
64
20
|
});
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
*
|
70
|
-
* This method interacts with GridStack to remove the widget from the layout.
|
71
|
-
* Once removed, the widget will no longer be part of the grid.
|
72
|
-
*/
|
73
|
-
removeWidget() {
|
74
|
-
this.el.gridstackNode.grid.removeWidget(this.el);
|
75
|
-
}
|
76
|
-
/**
|
77
|
-
* Sets whether the widget can be locked (i.e., not resizable).
|
78
|
-
*
|
79
|
-
* @param {boolean} state Whether the widget should be locked or not.
|
80
|
-
* @remarks
|
81
|
-
* If the widget is locked, it cannot be resized.
|
82
|
-
*/
|
83
|
-
setlockable(state) {
|
84
|
-
this.el.gridstackNode.grid.update(this.el, { noResize: state });
|
85
|
-
}
|
86
|
-
/**
|
87
|
-
* Sets whether the widget can be resized.
|
88
|
-
*
|
89
|
-
* @param {boolean} state Whether the widget should be resizable or not.
|
90
|
-
* @remarks
|
91
|
-
* If the widget is resizable, the user can change its size by dragging.
|
92
|
-
*/
|
21
|
+
}
|
22
|
+
setLockable(state) {
|
23
|
+
this.updateWidgetOptions({ noResize: state });
|
24
|
+
}
|
93
25
|
setResizable(state) {
|
94
|
-
this.
|
26
|
+
this.updateWidgetOptions({ noMove: state });
|
95
27
|
}
|
96
|
-
/**
|
97
|
-
* Updates the options of the widget.
|
98
|
-
*
|
99
|
-
* @param {AXGridLayoutWidget} options The new options to apply to the widget.
|
100
|
-
*/
|
101
28
|
setOptions(options) {
|
102
|
-
this.
|
103
|
-
}
|
104
|
-
/**
|
105
|
-
* Retrieves the current options of the widget.
|
106
|
-
*
|
107
|
-
* @returns {AXGridLayoutNode} The current configuration options of the widget.
|
108
|
-
* @remarks
|
109
|
-
* This method provides access to the widget's layout and configuration.
|
110
|
-
* If no specific options are set, it returns the default options.
|
111
|
-
*/
|
29
|
+
this.updateWidgetOptions(options);
|
30
|
+
}
|
112
31
|
getOptions() {
|
113
|
-
const gridstackNode = this.
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
}
|
122
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
123
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.1.
|
124
|
-
<ng-template #container></ng-template>
|
125
|
-
<ng-content></ng-content>
|
126
|
-
{{ options().content }}
|
127
|
-
</div>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
32
|
+
const gridstackNode = this.elementRef.nativeElement.gridstackNode;
|
33
|
+
return gridstackNode ? { ...gridstackNode, el: this.elementRef.nativeElement } : { ...this.options(), el: this.elementRef.nativeElement };
|
34
|
+
}
|
35
|
+
element() {
|
36
|
+
return this.elementRef.nativeElement;
|
37
|
+
}
|
38
|
+
updateWidgetOptions(options) {
|
39
|
+
this.elementRef.nativeElement.gridstackNode?.grid?.update(this.elementRef.nativeElement, options);
|
40
|
+
}
|
41
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXGridLayoutWidgetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
42
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.1.8", type: AXGridLayoutWidgetComponent, isStandalone: true, selector: "ax-grid-layout-widget", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
128
43
|
}
|
129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXGridLayoutWidgetComponent, decorators: [{
|
130
45
|
type: Component,
|
131
46
|
args: [{
|
132
47
|
selector: 'ax-grid-layout-widget',
|
133
|
-
template: ` <
|
134
|
-
<ng-template #container></ng-template>
|
135
|
-
<ng-content></ng-content>
|
136
|
-
{{ options().content }}
|
137
|
-
</div>`,
|
48
|
+
template: ` <ng-content></ng-content> `,
|
138
49
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
139
50
|
encapsulation: ViewEncapsulation.None,
|
140
51
|
}]
|
141
|
-
}], ctorParameters: () => [] });
|
142
|
-
|
143
|
-
/**
|
144
|
-
* A directive that turns any element into a GridStack widget.
|
145
|
-
* It allows the element to be managed by the GridStack library,
|
146
|
-
* enabling features like resizing, dragging, and layout customization.
|
147
|
-
*
|
148
|
-
* This directive creates an inner element inside the host element
|
149
|
-
* and moves the widget content into it for better encapsulation and styling.
|
150
|
-
*
|
151
|
-
* @example
|
152
|
-
* <div axGridLayoutWidget [options]="widgetOptions">Widget Content</div>
|
153
|
-
*/
|
154
|
-
class AXGridLayoutWidgetDirective {
|
155
|
-
constructor() {
|
156
|
-
/**
|
157
|
-
* Reference to the native element of the directive.
|
158
|
-
*/
|
159
|
-
this.elementRef = inject(ElementRef);
|
160
|
-
/**
|
161
|
-
* Renderer2 for safe DOM manipulation.
|
162
|
-
*/
|
163
|
-
this.renderer = inject(Renderer2);
|
164
|
-
/**
|
165
|
-
* The native element of the directive.
|
166
|
-
*/
|
167
|
-
this.el = this.elementRef.nativeElement;
|
168
|
-
/**
|
169
|
-
* Input property that represents the widget's configuration options.
|
170
|
-
*
|
171
|
-
* The options include properties such as position, size, content, and other
|
172
|
-
* configuration values. These options are updated dynamically.
|
173
|
-
*
|
174
|
-
* @param {AXGridLayoutNode} val The configuration object for the widget.
|
175
|
-
* @returns {AXGridLayoutWidgetCompElement} The element associated with the widget.
|
176
|
-
*/
|
177
|
-
this.options = input(null, {
|
178
|
-
transform: (val) => {
|
179
|
-
const grid = this.el.gridstackNode?.grid;
|
180
|
-
if (grid) {
|
181
|
-
grid.update(this.el, val);
|
182
|
-
}
|
183
|
-
else {
|
184
|
-
this._options = { ...val, el: this.el };
|
185
|
-
}
|
186
|
-
return this.el.gridstackNode || this._options || { el: this.el };
|
187
|
-
},
|
188
|
-
});
|
189
|
-
}
|
190
|
-
/**
|
191
|
-
* Initializes the directive and sets up the inner element.
|
192
|
-
* Create a new inner element
|
193
|
-
* Move the host element's content into the new inner element
|
194
|
-
* Append the inner element to the host element
|
195
|
-
* Set the reference to the grid widget directive
|
196
|
-
*/
|
197
|
-
ngOnInit() {
|
198
|
-
this.innerElement = this.renderer.createElement('div');
|
199
|
-
this.renderer.addClass(this.innerElement, 'grid-stack-item-content');
|
200
|
-
while (this.el.firstChild) {
|
201
|
-
this.renderer.appendChild(this.innerElement, this.el.firstChild);
|
202
|
-
}
|
203
|
-
this.renderer.appendChild(this.el, this.innerElement);
|
204
|
-
this.el._gridWidgetComp = this;
|
205
|
-
}
|
206
|
-
/**
|
207
|
-
* Cleans up the directive when it is destroyed.
|
208
|
-
*/
|
209
|
-
ngOnDestroy() {
|
210
|
-
this.removeWidget();
|
211
|
-
}
|
212
|
-
/**
|
213
|
-
* Clears the widget's options.
|
214
|
-
*
|
215
|
-
* This method removes any existing options set for the widget and resets it
|
216
|
-
* to its default state.
|
217
|
-
*/
|
218
|
-
clearOptions() {
|
219
|
-
this._options = null;
|
220
|
-
}
|
221
|
-
/**
|
222
|
-
* Removes this widget from the grid.
|
223
|
-
*
|
224
|
-
* This method interacts with GridStack to remove the widget from the layout.
|
225
|
-
* Once removed, the widget will no longer be part of the grid.
|
226
|
-
*/
|
227
|
-
removeWidget() {
|
228
|
-
if (this.el.gridstackNode?.grid) {
|
229
|
-
this.el.gridstackNode.grid.removeWidget(this.el);
|
230
|
-
}
|
231
|
-
}
|
232
|
-
/**
|
233
|
-
* Sets whether the widget can be locked (i.e., not resizable).
|
234
|
-
*
|
235
|
-
* @param {boolean} state Whether the widget should be locked or not.
|
236
|
-
* @remarks
|
237
|
-
* If the widget is locked, it cannot be resized.
|
238
|
-
*/
|
239
|
-
setLockable(state) {
|
240
|
-
if (this.el.gridstackNode?.grid) {
|
241
|
-
this.el.gridstackNode.grid.update(this.el, { noResize: state });
|
242
|
-
}
|
243
|
-
}
|
244
|
-
/**
|
245
|
-
* Sets whether the widget can be resized.
|
246
|
-
*
|
247
|
-
* @param {boolean} state Whether the widget should be resizable or not.
|
248
|
-
* @remarks
|
249
|
-
* If the widget is resizable, the user can change its size by dragging.
|
250
|
-
*/
|
251
|
-
setResizable(state) {
|
252
|
-
if (this.el.gridstackNode?.grid) {
|
253
|
-
this.el.gridstackNode.grid.update(this.el, { noMove: state });
|
254
|
-
}
|
255
|
-
}
|
256
|
-
/**
|
257
|
-
* Updates the options of the widget.
|
258
|
-
*
|
259
|
-
* @param {AXGridLayoutWidget} options The new options to apply to the widget.
|
260
|
-
*/
|
261
|
-
setOptions(options) {
|
262
|
-
if (this.el.gridstackNode?.grid) {
|
263
|
-
this.el.gridstackNode.grid.update(this.el, options);
|
264
|
-
}
|
265
|
-
}
|
266
|
-
/**
|
267
|
-
* Retrieves the current options of the widget.
|
268
|
-
*
|
269
|
-
* @returns {AXGridLayoutNode} The current configuration options of the widget.
|
270
|
-
* @remarks
|
271
|
-
* This method provides access to the widget's layout and configuration.
|
272
|
-
* If no specific options are set, it returns the default options.
|
273
|
-
*/
|
274
|
-
getOptions() {
|
275
|
-
const gridstackNode = this.el.gridstackNode;
|
276
|
-
if (gridstackNode) {
|
277
|
-
return {
|
278
|
-
...gridstackNode,
|
279
|
-
el: this.el,
|
280
|
-
};
|
281
|
-
}
|
282
|
-
return this._options || { el: this.el };
|
283
|
-
}
|
284
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXGridLayoutWidgetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
285
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.7", type: AXGridLayoutWidgetDirective, isStandalone: true, selector: "[axGridLayoutWidget]", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
286
|
-
}
|
287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXGridLayoutWidgetDirective, decorators: [{
|
288
|
-
type: Directive,
|
289
|
-
args: [{ selector: '[axGridLayoutWidget]' }]
|
290
52
|
}] });
|
291
53
|
|
292
|
-
|
293
|
-
* The `AXGridLayoutContainerComponent` is an Angular component that acts as a wrapper for the GridStack library.
|
294
|
-
* It provides a flexible grid layout system for arranging items within a container. It integrates with GridStack.js
|
295
|
-
* and allows dynamic manipulation of grid items (widgets), including adding, removing, resizing, and dragging.
|
296
|
-
*
|
297
|
-
* This component uses Angular's reactive signals, outputs, and lifecycle hooks to manage grid state and interactions.
|
298
|
-
*/
|
299
|
-
class AXGridLayoutContainerComponent {
|
300
|
-
// Lifecycle
|
301
|
-
/**
|
302
|
-
* Initializes the grid layout component and sets up the GridStack grid.
|
303
|
-
*/
|
54
|
+
class AXGridLayoutContainerComponent extends NXComponent {
|
304
55
|
constructor() {
|
305
|
-
|
306
|
-
|
307
|
-
*/
|
308
|
-
this.compItems = contentChildren(AXGridLayoutWidgetComponent);
|
309
|
-
this.dirItems = contentChildren(AXGridLayoutWidgetDirective);
|
310
|
-
/**
|
311
|
-
* Input that holds options for configuring the GridStack grid layout.
|
312
|
-
*/
|
56
|
+
super(...arguments);
|
57
|
+
// Inputs
|
313
58
|
this.options = input();
|
314
|
-
/**
|
315
|
-
* A computed signal that merges the provided `options` with the grid's existing configuration (if any).
|
316
|
-
*/
|
317
|
-
this.calcOptions = computed(() => this.grid()?.opts || this.options() || {});
|
318
|
-
/**
|
319
|
-
* A reference to the native element of the container component.
|
320
|
-
*/
|
321
|
-
this.elementRef = inject(ElementRef);
|
322
|
-
/**
|
323
|
-
* Angular's NgZone for running code outside Angular's change detection.
|
324
|
-
*/
|
325
|
-
this.ngZone = inject(NgZone);
|
326
|
-
/**
|
327
|
-
* A writable signal representing the current state of the grid.
|
328
|
-
*/
|
329
|
-
this.grid = signal(undefined);
|
330
|
-
/**
|
331
|
-
* A reference to the native element representing the grid container.
|
332
|
-
*/
|
333
|
-
this.el = this.elementRef.nativeElement;
|
334
59
|
// Outputs
|
335
|
-
/**
|
336
|
-
* Output event emitted when a widget is added to the grid.
|
337
|
-
*/
|
338
60
|
this.onAdded = output();
|
339
|
-
/**
|
340
|
-
* Output event emitted when a widget or layout is changed.
|
341
|
-
*/
|
342
|
-
this.onChange = output();
|
343
|
-
/**
|
344
|
-
* Output event emitted when the grid is disabled.
|
345
|
-
*/
|
346
|
-
this.onDisable = output();
|
347
|
-
/**
|
348
|
-
* Output event emitted during a drag operation on a widget.
|
349
|
-
*/
|
350
|
-
this.onDrag = output();
|
351
|
-
/**
|
352
|
-
* Output event emitted when drag starts on a widget.
|
353
|
-
*/
|
354
|
-
this.onDragStart = output();
|
355
|
-
/**
|
356
|
-
* Output event emitted when drag stops on a widget.
|
357
|
-
*/
|
358
|
-
this.onDragStop = output();
|
359
|
-
/**
|
360
|
-
* Output event emitted when a widget is dropped on the grid.
|
361
|
-
*/
|
362
|
-
this.onDropped = output();
|
363
|
-
/**
|
364
|
-
* Output event emitted when the grid is enabled.
|
365
|
-
*/
|
366
|
-
this.onEnable = output();
|
367
|
-
/**
|
368
|
-
* Output event emitted when a widget is removed from the grid.
|
369
|
-
*/
|
370
61
|
this.onRemoved = output();
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
this.
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
this.
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
this.
|
383
|
-
/**
|
384
|
-
* Output event emitted when the grid is rendered.
|
385
|
-
*/
|
386
|
-
this.isRendered = output();
|
62
|
+
this.onWidgetChange = output();
|
63
|
+
this.onChange = output();
|
64
|
+
this._onEnable = output();
|
65
|
+
this._onDisable = output();
|
66
|
+
this._onWidgetDrag = output();
|
67
|
+
this._onWidgetDragStart = output();
|
68
|
+
this._onWidgetDragStop = output();
|
69
|
+
this._onWidgetDropped = output();
|
70
|
+
this._onWidgetResized = output();
|
71
|
+
this._onWidgetResizeStart = output();
|
72
|
+
this._onWidgetResizeStop = output();
|
73
|
+
this.isLayoutRendered = output();
|
387
74
|
// Model
|
388
|
-
/**
|
389
|
-
* Model that tracks whether the grid container is empty.
|
390
|
-
*/
|
391
75
|
this.isEmpty = model(false);
|
392
|
-
//
|
393
|
-
|
394
|
-
|
395
|
-
*/
|
396
|
-
this.gridChange = effect(() => {
|
397
|
-
if (this.grid()) {
|
398
|
-
if (!this.loaded)
|
399
|
-
this.updateAll();
|
400
|
-
this.hookEvents(this.grid());
|
401
|
-
this.isRendered.emit(true);
|
402
|
-
console.timeEnd('grid-layout-builder loaded in: ');
|
403
|
-
}
|
404
|
-
});
|
405
|
-
/**
|
406
|
-
* Effect that reacts to changes in child widgets and updates the grid layout.
|
407
|
-
*/
|
408
|
-
this.childChange = effect(() => {
|
409
|
-
if (this.compItems() || this.dirItems()) {
|
410
|
-
this.updateAll();
|
411
|
-
}
|
412
|
-
});
|
76
|
+
// Private Properties
|
77
|
+
this.elementRef = inject(ElementRef);
|
78
|
+
this.ngZone = inject(NgZone);
|
413
79
|
this.domSanitizer = inject(DomSanitizer);
|
414
|
-
|
415
|
-
this.el
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
this.
|
426
|
-
|
80
|
+
this.widgets = contentChildren(AXGridLayoutWidgetComponent);
|
81
|
+
this.el = this.elementRef.nativeElement;
|
82
|
+
this.#init = afterNextRender(() => {
|
83
|
+
window.g = this;
|
84
|
+
this.ngZone.runOutsideAngular(async () => {
|
85
|
+
const { GridStack } = await import('gridstack');
|
86
|
+
this.grid = GridStack.init(this.options(), this.el);
|
87
|
+
this.updateAll();
|
88
|
+
this.hookEvents(this.grid);
|
89
|
+
this.isLayoutRendered.emit(true);
|
90
|
+
});
|
91
|
+
this._sub = this.gridstackItems?.changes.subscribe(() => {
|
92
|
+
this.updateAll();
|
93
|
+
});
|
427
94
|
});
|
428
95
|
}
|
429
|
-
|
430
|
-
* Angular lifecycle hook that cleans up resources when the component is destroyed.
|
431
|
-
* It removes event listeners and destroys the GridStack instance.
|
432
|
-
*/
|
96
|
+
#init;
|
433
97
|
ngOnDestroy() {
|
434
|
-
this.unhookEvents(this.grid
|
435
|
-
this.
|
98
|
+
this.unhookEvents(this.grid);
|
99
|
+
this._sub?.unsubscribe();
|
100
|
+
this.destroy();
|
436
101
|
}
|
437
102
|
// Methods
|
438
|
-
|
439
|
-
|
440
|
-
|
103
|
+
// #contentChanges = effect(() => {
|
104
|
+
// this.widgets();
|
105
|
+
// untracked(() => {
|
106
|
+
// this.updateAll();
|
107
|
+
// });
|
108
|
+
// });
|
441
109
|
updateAll() {
|
442
|
-
if (!this.grid
|
110
|
+
if (!this.grid) {
|
443
111
|
return;
|
112
|
+
}
|
444
113
|
const layout = [];
|
445
|
-
const arrays =
|
114
|
+
const arrays = this.widgets();
|
446
115
|
if (arrays.length) {
|
447
116
|
arrays.forEach((item) => {
|
448
|
-
layout.push(item.
|
449
|
-
item.clearOptions();
|
117
|
+
layout.push(item.getOptions() ?? {});
|
450
118
|
});
|
451
|
-
this.grid
|
119
|
+
this.grid.load(layout);
|
452
120
|
}
|
121
|
+
this.checkEmpty();
|
453
122
|
}
|
454
|
-
/**
|
455
|
-
* Checks whether the grid is empty and updates the `isEmpty` model accordingly.
|
456
|
-
*/
|
457
123
|
checkEmpty() {
|
458
|
-
if (this.grid
|
459
|
-
const isEmpty = !this.
|
124
|
+
if (this.grid) {
|
125
|
+
const isEmpty = !this.getChildren.length;
|
460
126
|
if (isEmpty === this.isEmpty())
|
461
127
|
return;
|
462
128
|
this.isEmpty.set(isEmpty);
|
463
129
|
}
|
464
130
|
}
|
465
131
|
// Event Listeners
|
466
|
-
/**
|
467
|
-
* Hooks event listeners to the grid for various grid events (e.g., add, remove, drag, resize).
|
468
|
-
*/
|
469
132
|
hookEvents(grid) {
|
470
133
|
if (grid) {
|
471
134
|
grid
|
472
135
|
.on('added', (event, nodes) => {
|
473
136
|
this.checkEmpty();
|
474
137
|
this.onAdded.emit({ event, nodes });
|
138
|
+
this._dispatchChangeEvent();
|
475
139
|
})
|
476
140
|
.on('removed', (event, nodes) => {
|
477
141
|
this.checkEmpty();
|
478
142
|
this.onRemoved.emit({ event, nodes });
|
143
|
+
this._dispatchChangeEvent();
|
479
144
|
})
|
480
|
-
.on('change', (event, nodes) =>
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
.on('
|
485
|
-
.on('
|
486
|
-
.on('
|
487
|
-
.on('
|
488
|
-
.on('
|
489
|
-
.on('
|
145
|
+
.on('change', (event, nodes) => {
|
146
|
+
this.onWidgetChange.emit({ event, nodes });
|
147
|
+
this._dispatchChangeEvent();
|
148
|
+
})
|
149
|
+
.on('disable', (event) => this._onDisable.emit({ event }))
|
150
|
+
.on('drag', (event, el) => this._onWidgetDrag.emit({ event, el }))
|
151
|
+
.on('dragstart', (event, el) => this._onWidgetDragStart.emit({ event, el }))
|
152
|
+
.on('dragstop', (event, el) => this._onWidgetDragStop.emit({ event, el }))
|
153
|
+
.on('dropped', (event, previousNode, newNode) => this._onWidgetDropped.emit({ event, previousNode, newNode }))
|
154
|
+
.on('enable', (event) => this._onEnable.emit({ event }))
|
155
|
+
.on('resize', (event, el) => this._onWidgetResized.emit({ event, el }))
|
156
|
+
.on('resizestart', (event, el) => this._onWidgetResizeStart.emit({ event, el }))
|
157
|
+
.on('resizestop', (event, el) => this._onWidgetResizeStop.emit({ event, el }));
|
490
158
|
}
|
491
159
|
}
|
492
|
-
/**
|
493
|
-
* Removes all event listeners from the grid.
|
494
|
-
*/
|
495
160
|
unhookEvents(grid) {
|
496
161
|
if (grid) {
|
497
162
|
grid.offAll();
|
498
163
|
}
|
499
164
|
}
|
500
165
|
//PUBLIC SETTER METHODS
|
501
|
-
/**
|
502
|
-
* Creates a new widget and returns it.
|
503
|
-
* @param w - Widget position/size options.
|
504
|
-
* @returns The created widget's HTML element, or `undefined` if the grid is not initialized.
|
505
|
-
*/
|
506
166
|
addWidget(w, withAutoArrange = false) {
|
507
167
|
if (withAutoArrange) {
|
508
168
|
this.compact();
|
509
169
|
}
|
510
|
-
return this.grid
|
170
|
+
return this.grid?.addWidget(w);
|
511
171
|
}
|
512
|
-
/**
|
513
|
-
* Re-layout grid items to reclaim any empty space.
|
514
|
-
* @param layout - Compaction mode: 'list' or 'compact'. Default is 'compact'.
|
515
|
-
* @param doSort - Whether to sort items automatically. Default is `true`.
|
516
|
-
*/
|
517
172
|
compact(layout = 'compact', doSort = true) {
|
518
|
-
this.grid
|
173
|
+
this.grid?.compact(layout, doSort);
|
519
174
|
}
|
520
|
-
/**
|
521
|
-
* Updates the current cell height.
|
522
|
-
* @param val - The new cell height value.
|
523
|
-
* @param update - Whether to rebuild the internal CSS stylesheet. Default is `true`.
|
524
|
-
*/
|
525
175
|
setCellHeight(val, update = true) {
|
526
|
-
this.grid
|
527
|
-
}
|
528
|
-
/**
|
529
|
-
* Sets the number of columns in the grid and updates existing widgets to conform to the new layout.
|
530
|
-
* @param column - Number of columns (must be > 0). Default is 12.
|
531
|
-
* @param layout - Re-layout behavior: 'list', 'compact', 'moveScale', 'move', 'scale', 'none'.
|
532
|
-
* Default is 'moveScale'.
|
533
|
-
*/
|
176
|
+
this.grid?.cellHeight(val, update);
|
177
|
+
}
|
534
178
|
setColumn(column, layout = 'moveScale') {
|
535
|
-
this.grid
|
179
|
+
this.grid?.column(column, layout);
|
536
180
|
}
|
537
|
-
/**
|
538
|
-
* Destroys the grid instance.
|
539
|
-
* @param removeDOM - If `false`, nodes and grid will not be removed from the DOM. Default is `true`.
|
540
|
-
*/
|
541
181
|
destroy(removeDOM = true) {
|
542
|
-
this.grid
|
543
|
-
}
|
544
|
-
/**
|
545
|
-
* Sets whether widgets in the grid can be moved (dragged).
|
546
|
-
*
|
547
|
-
* @param state If true, widgets are movable; otherwise, they are locked.
|
548
|
-
* @param recurse If true, the setting is applied to nested widgets as well.
|
549
|
-
*/
|
182
|
+
this.grid?.destroy(removeDOM);
|
183
|
+
}
|
550
184
|
setMovable(state, recurse) {
|
551
|
-
this.grid
|
552
|
-
}
|
553
|
-
/**
|
554
|
-
* Sets whether widgets in the grid can be resized.
|
555
|
-
*
|
556
|
-
* @param state If true, widgets are resizable; otherwise, they are fixed.
|
557
|
-
* @param recurse If true, the setting is applied to nested widgets as well.
|
558
|
-
*/
|
185
|
+
this.grid.enableMove(state, recurse);
|
186
|
+
}
|
559
187
|
setResizable(state, recurse) {
|
560
|
-
this.grid
|
188
|
+
this.grid.enableResize(state, recurse);
|
561
189
|
}
|
562
|
-
/**
|
563
|
-
* Sets or gets the floating behavior of widgets.
|
564
|
-
* @param val - If provided, sets floating behavior (`true` or `false`). If not provided, returns the current value.
|
565
|
-
* @returns The current floating behavior if `val` is not provided.
|
566
|
-
*/
|
567
190
|
setFloat(val) {
|
568
|
-
this.grid
|
191
|
+
this.grid?.float(val);
|
569
192
|
}
|
570
|
-
/**
|
571
|
-
* Sets the margin (gap) between grid items and their content.
|
572
|
-
* @param value - The margin value (number or string).
|
573
|
-
*/
|
574
193
|
setMargin(value) {
|
575
|
-
this.grid
|
576
|
-
}
|
577
|
-
/**
|
578
|
-
* Removes a widget from the grid.
|
579
|
-
* @param el - The widget to remove.
|
580
|
-
* @param removeDOM - If `false`, the widget won't be removed from the DOM. Default is `true`.
|
581
|
-
* @param triggerEvent - If `false`, no 'removed' callbacks will be called. Default is `true`.
|
582
|
-
*/
|
194
|
+
this.grid?.margin(value);
|
195
|
+
}
|
583
196
|
removeWidget(el, removeDOM = true, triggerEvent = true) {
|
584
|
-
this.grid
|
197
|
+
this.grid?.removeWidget(el, removeDOM, triggerEvent);
|
585
198
|
}
|
586
|
-
/**
|
587
|
-
* Removes all widgets from the grid.
|
588
|
-
* @param removeDOM - If `false`, widgets won't be removed from the DOM. Default is `true`.
|
589
|
-
*/
|
590
199
|
removeAll(removeDOM = true) {
|
591
|
-
this.grid
|
592
|
-
}
|
593
|
-
/**
|
594
|
-
* Rotates a widget by swapping its width and height.
|
595
|
-
* @param els - The widget or selector of widgets to rotate.
|
596
|
-
* @param relative - Optional pixel coordinates to rotate around (keeps that cell under the cursor).
|
597
|
-
*/
|
598
|
-
setRotate(element) {
|
599
|
-
this.grid().rotate(element);
|
600
|
-
}
|
601
|
-
/**
|
602
|
-
* Toggles the grid animation state.
|
603
|
-
* @param doAnimate - If `true`, the grid will animate.
|
604
|
-
*/
|
200
|
+
this.grid?.removeAll(removeDOM);
|
201
|
+
}
|
605
202
|
setAnimation(doAnimate) {
|
606
|
-
this.grid
|
607
|
-
}
|
608
|
-
/**
|
609
|
-
* Saves the current grid layout configuration.
|
610
|
-
*
|
611
|
-
* @param saveContent Whether to save the content of the grid items.
|
612
|
-
* @param saveGridOpt Whether to save the grid options.
|
613
|
-
* @param saveCallback Optional callback for custom save logic.
|
614
|
-
* @returns The serialized grid layout options.
|
615
|
-
*/
|
203
|
+
this.grid?.setAnimation(doAnimate);
|
204
|
+
}
|
616
205
|
save(saveContent = false, saveGridOpt = true, saveCallback) {
|
617
|
-
this.serializedData = this.grid
|
206
|
+
this.serializedData = this.grid?.save(saveContent, saveGridOpt, saveCallback);
|
618
207
|
return this.serializedData;
|
619
208
|
}
|
620
|
-
/**
|
621
|
-
* Loads a serialized grid layout configuration into the grid.
|
622
|
-
*
|
623
|
-
* @param serializedData The serialized grid options to load.
|
624
|
-
* @param cleanBeforeLoad If true, the grid will be cleared before loading the new layout.
|
625
|
-
* @returns A promise that resolves to the loaded grid instance.
|
626
|
-
*/
|
627
209
|
async load(serializedData = this.serializedData, cleanBeforeLoad = true) {
|
628
210
|
if (cleanBeforeLoad) {
|
629
|
-
this.grid
|
211
|
+
this.grid?.removeAll();
|
630
212
|
}
|
631
|
-
// Sanitize the content of each child element
|
632
213
|
if (serializedData.children) {
|
633
214
|
serializedData.children = serializedData.children.map((child) => {
|
634
215
|
if (child.content) {
|
635
|
-
// Sanitize the HTML content using Angular's DomSanitizer
|
636
216
|
const sanitizedContent = this.domSanitizer.sanitize(SecurityContext.HTML, child.content);
|
637
217
|
if (!sanitizedContent) {
|
638
218
|
console.warn('Invalid or unsafe content removed:', child.content);
|
639
|
-
child.content = '';
|
219
|
+
child.content = '';
|
640
220
|
}
|
641
221
|
else {
|
642
222
|
child.content = sanitizedContent;
|
@@ -645,16 +225,9 @@ class AXGridLayoutContainerComponent {
|
|
645
225
|
return child;
|
646
226
|
});
|
647
227
|
}
|
648
|
-
// Dynamically import GridStack and load the grid
|
649
228
|
const { GridStack } = await import('gridstack');
|
650
229
|
return GridStack.addGrid(this.el, serializedData);
|
651
230
|
}
|
652
|
-
/**
|
653
|
-
* Sets up draggable functionality for external elements to be added to the grid.
|
654
|
-
*
|
655
|
-
* @param dragIn A CSS selector or an array of elements that can be dragged into the grid.
|
656
|
-
* @param widgets An optional set of widgets that are draggable into the grid.
|
657
|
-
*/
|
658
231
|
async setupDraggable(dragIn, widgets) {
|
659
232
|
if (typeof dragIn === 'string') {
|
660
233
|
document.querySelectorAll(dragIn).forEach((item) => {
|
@@ -666,78 +239,56 @@ class AXGridLayoutContainerComponent {
|
|
666
239
|
const { GridStack } = await import('gridstack');
|
667
240
|
GridStack.setupDragIn(dragIn, undefined, [widgets]);
|
668
241
|
}
|
669
|
-
/**
|
670
|
-
* Sets grid layout options.
|
671
|
-
* @param options The new grid layout options to apply.
|
672
|
-
*
|
673
|
-
* `Experimental`
|
674
|
-
*/
|
675
242
|
setOption(options) {
|
676
|
-
this.grid
|
677
|
-
}
|
678
|
-
// PUBLIC GETTER METHODS //
|
679
|
-
/**
|
680
|
-
* Retrieves the current grid layout options.
|
681
|
-
*
|
682
|
-
* @returns The current grid options.
|
683
|
-
*/
|
243
|
+
this.grid.opts = merge({}, this.grid.opts, options);
|
244
|
+
}
|
684
245
|
getOptions() {
|
685
|
-
return this.grid
|
246
|
+
return this.grid?.opts || {};
|
686
247
|
}
|
687
|
-
/**
|
688
|
-
* Retrieves all the child nodes (widgets) in the grid layout.
|
689
|
-
*
|
690
|
-
* @returns An array of grid layout nodes representing the widgets.
|
691
|
-
*/
|
692
248
|
getChildren() {
|
693
|
-
return this.grid
|
249
|
+
return this.grid?.engine.nodes;
|
250
|
+
}
|
251
|
+
findEmptySpace(input) {
|
252
|
+
const value = { ...input };
|
253
|
+
this.grid?.engine.findEmptyPosition(value);
|
254
|
+
return { x: value.x, y: value.y };
|
255
|
+
}
|
256
|
+
//#region Events
|
257
|
+
_dispatchChangeEvent() {
|
258
|
+
if (this.getChildren()) {
|
259
|
+
this.onChange.emit({
|
260
|
+
sender: this,
|
261
|
+
nodes: this.getChildren(),
|
262
|
+
});
|
263
|
+
}
|
694
264
|
}
|
695
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
696
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.1.7", type: AXGridLayoutContainerComponent, isStandalone: true, selector: "ax-grid-layout-container", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, isEmpty: { classPropertyName: "isEmpty", publicName: "isEmpty", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onAdded: "onAdded", onChange: "onChange", onDisable: "onDisable", onDrag: "onDrag", onDragStart: "onDragStart", onDragStop: "onDragStop", onDropped: "onDropped", onEnable: "onEnable", onRemoved: "onRemoved", onResize: "onResize", onResizeStart: "onResizeStart", onResizeStop: "onResizeStop", isRendered: "isRendered", isEmpty: "isEmptyChange" }, queries: [{ propertyName: "compItems", predicate: AXGridLayoutWidgetComponent, isSignal: true }, { propertyName: "dirItems", predicate: AXGridLayoutWidgetDirective, isSignal: true }], ngImport: i0, template: ` <ng-template #container></ng-template>
|
697
|
-
<ng-content></ng-content>`, isInline: true, styles: [".grid-stack{position:relative}.grid-stack-rtl{direction:ltr}.grid-stack-rtl>.grid-stack-item{direction:rtl}.grid-stack-placeholder>.placeholder-content{background-color:#0000001a;margin:0;position:absolute;width:auto;z-index:0!important}.grid-stack>.grid-stack-item{position:absolute;padding:0}.grid-stack>.grid-stack-item>.grid-stack-item-content{margin:0;position:absolute;width:auto;overflow-x:hidden;overflow-y:auto}.grid-stack>.grid-stack-item.size-to-content:not(.size-to-content-max)>.grid-stack-item-content{overflow-y:hidden}.grid-stack-item>.ui-resizable-handle{position:absolute;font-size:.1px;display:block;-ms-touch-action:none;touch-action:none}.grid-stack-item.ui-resizable-disabled>.ui-resizable-handle,.grid-stack-item.ui-resizable-autohide>.ui-resizable-handle{display:none}.grid-stack-item>.ui-resizable-ne,.grid-stack-item>.ui-resizable-nw,.grid-stack-item>.ui-resizable-se,.grid-stack-item>.ui-resizable-sw{background-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"%23666\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 20 20\"><path d=\"m10 3 2 2H8l2-2v14l-2-2h4l-2 2\"/></svg>');background-repeat:no-repeat;background-position:center}.grid-stack-item>.ui-resizable-ne{transform:rotate(45deg)}.grid-stack-item>.ui-resizable-sw{transform:rotate(45deg)}.grid-stack-item>.ui-resizable-nw{transform:rotate(-45deg)}.grid-stack-item>.ui-resizable-se{transform:rotate(-45deg)}.grid-stack-item>.ui-resizable-nw{cursor:nw-resize;width:20px;height:20px;top:0}.grid-stack-item>.ui-resizable-n{cursor:n-resize;height:10px;top:0;left:25px;right:25px}.grid-stack-item>.ui-resizable-ne{cursor:ne-resize;width:20px;height:20px;top:0}.grid-stack-item>.ui-resizable-e{cursor:e-resize;width:10px;top:15px;bottom:15px}.grid-stack-item>.ui-resizable-se{cursor:se-resize;width:20px;height:20px}.grid-stack-item>.ui-resizable-s{cursor:s-resize;height:10px;left:25px;bottom:0;right:25px}.grid-stack-item>.ui-resizable-sw{cursor:sw-resize;width:20px;height:20px}.grid-stack-item>.ui-resizable-w{cursor:w-resize;width:10px;top:15px;bottom:15px}.grid-stack-item.ui-draggable-dragging>.ui-resizable-handle{display:none!important}.grid-stack-item.ui-draggable-dragging{will-change:left,top;cursor:move}.grid-stack-item.ui-draggable-disabled{cursor:not-allowed}.grid-stack-item.ui-resizable-resizing{will-change:width,height}.ui-draggable-dragging,.ui-resizable-resizing{z-index:10000}.ui-draggable-dragging>.grid-stack-item-content,.ui-resizable-resizing>.grid-stack-item-content{box-shadow:1px 4px 6px #0003;opacity:.8}.grid-stack-animate,.grid-stack-animate .grid-stack-item{transition:left .3s,top .3s,height .3s,width .3s}.grid-stack-animate .grid-stack-item.ui-draggable-dragging,.grid-stack-animate .grid-stack-item.ui-resizable-resizing,.grid-stack-animate .grid-stack-item.grid-stack-placeholder{transition:left 0s,top 0s,height 0s,width 0s}.grid-stack>.grid-stack-item[gs-y=\"0\"]{top:0}.grid-stack>.grid-stack-item[gs-x=\"0\"]{left:0%}.gs-12>.grid-stack-item{width:8.333%}.gs-12>.grid-stack-item[gs-x=\"1\"]{left:8.333%}.gs-12>.grid-stack-item[gs-w=\"2\"]{width:16.667%}.gs-12>.grid-stack-item[gs-x=\"2\"]{left:16.667%}.gs-12>.grid-stack-item[gs-w=\"3\"]{width:25%}.gs-12>.grid-stack-item[gs-x=\"3\"]{left:25%}.gs-12>.grid-stack-item[gs-w=\"4\"]{width:33.333%}.gs-12>.grid-stack-item[gs-x=\"4\"]{left:33.333%}.gs-12>.grid-stack-item[gs-w=\"5\"]{width:41.667%}.gs-12>.grid-stack-item[gs-x=\"5\"]{left:41.667%}.gs-12>.grid-stack-item[gs-w=\"6\"]{width:50%}.gs-12>.grid-stack-item[gs-x=\"6\"]{left:50%}.gs-12>.grid-stack-item[gs-w=\"7\"]{width:58.333%}.gs-12>.grid-stack-item[gs-x=\"7\"]{left:58.333%}.gs-12>.grid-stack-item[gs-w=\"8\"]{width:66.667%}.gs-12>.grid-stack-item[gs-x=\"8\"]{left:66.667%}.gs-12>.grid-stack-item[gs-w=\"9\"]{width:75%}.gs-12>.grid-stack-item[gs-x=\"9\"]{left:75%}.gs-12>.grid-stack-item[gs-w=\"10\"]{width:83.333%}.gs-12>.grid-stack-item[gs-x=\"10\"]{left:83.333%}.gs-12>.grid-stack-item[gs-w=\"11\"]{width:91.667%}.gs-12>.grid-stack-item[gs-x=\"11\"]{left:91.667%}.gs-12>.grid-stack-item[gs-w=\"12\"]{width:100%}.gs-1>.grid-stack-item{width:100%}.gs-2>.grid-stack-item{width:50%}.gs-2>.grid-stack-item[gs-x=\"1\"]{left:50%}.gs-2>.grid-stack-item[gs-w=\"2\"]{width:100%}.gs-3>.grid-stack-item{width:33.333%}.gs-3>.grid-stack-item[gs-x=\"1\"]{left:33.333%}.gs-3>.grid-stack-item[gs-w=\"2\"]{width:66.667%}.gs-3>.grid-stack-item[gs-x=\"2\"]{left:66.667%}.gs-3>.grid-stack-item[gs-w=\"3\"]{width:100%}.gs-4>.grid-stack-item{width:25%}.gs-4>.grid-stack-item[gs-x=\"1\"]{left:25%}.gs-4>.grid-stack-item[gs-w=\"2\"]{width:50%}.gs-4>.grid-stack-item[gs-x=\"2\"]{left:50%}.gs-4>.grid-stack-item[gs-w=\"3\"]{width:75%}.gs-4>.grid-stack-item[gs-x=\"3\"]{left:75%}.gs-4>.grid-stack-item[gs-w=\"4\"]{width:100%}.gs-5>.grid-stack-item{width:20%}.gs-5>.grid-stack-item[gs-x=\"1\"]{left:20%}.gs-5>.grid-stack-item[gs-w=\"2\"]{width:40%}.gs-5>.grid-stack-item[gs-x=\"2\"]{left:40%}.gs-5>.grid-stack-item[gs-w=\"3\"]{width:60%}.gs-5>.grid-stack-item[gs-x=\"3\"]{left:60%}.gs-5>.grid-stack-item[gs-w=\"4\"]{width:80%}.gs-5>.grid-stack-item[gs-x=\"4\"]{left:80%}.gs-5>.grid-stack-item[gs-w=\"5\"]{width:100%}.gs-6>.grid-stack-item{width:16.667%}.gs-6>.grid-stack-item[gs-x=\"1\"]{left:16.667%}.gs-6>.grid-stack-item[gs-w=\"2\"]{width:33.333%}.gs-6>.grid-stack-item[gs-x=\"2\"]{left:33.333%}.gs-6>.grid-stack-item[gs-w=\"3\"]{width:50%}.gs-6>.grid-stack-item[gs-x=\"3\"]{left:50%}.gs-6>.grid-stack-item[gs-w=\"4\"]{width:66.667%}.gs-6>.grid-stack-item[gs-x=\"4\"]{left:66.667%}.gs-6>.grid-stack-item[gs-w=\"5\"]{width:83.333%}.gs-6>.grid-stack-item[gs-x=\"5\"]{left:83.333%}.gs-6>.grid-stack-item[gs-w=\"6\"]{width:100%}.gs-7>.grid-stack-item{width:14.286%}.gs-7>.grid-stack-item[gs-x=\"1\"]{left:14.286%}.gs-7>.grid-stack-item[gs-w=\"2\"]{width:28.571%}.gs-7>.grid-stack-item[gs-x=\"2\"]{left:28.571%}.gs-7>.grid-stack-item[gs-w=\"3\"]{width:42.857%}.gs-7>.grid-stack-item[gs-x=\"3\"]{left:42.857%}.gs-7>.grid-stack-item[gs-w=\"4\"]{width:57.143%}.gs-7>.grid-stack-item[gs-x=\"4\"]{left:57.143%}.gs-7>.grid-stack-item[gs-w=\"5\"]{width:71.429%}.gs-7>.grid-stack-item[gs-x=\"5\"]{left:71.429%}.gs-7>.grid-stack-item[gs-w=\"6\"]{width:85.714%}.gs-7>.grid-stack-item[gs-x=\"6\"]{left:85.714%}.gs-7>.grid-stack-item[gs-w=\"7\"]{width:100%}.gs-8>.grid-stack-item{width:12.5%}.gs-8>.grid-stack-item[gs-x=\"1\"]{left:12.5%}.gs-8>.grid-stack-item[gs-w=\"2\"]{width:25%}.gs-8>.grid-stack-item[gs-x=\"2\"]{left:25%}.gs-8>.grid-stack-item[gs-w=\"3\"]{width:37.5%}.gs-8>.grid-stack-item[gs-x=\"3\"]{left:37.5%}.gs-8>.grid-stack-item[gs-w=\"4\"]{width:50%}.gs-8>.grid-stack-item[gs-x=\"4\"]{left:50%}.gs-8>.grid-stack-item[gs-w=\"5\"]{width:62.5%}.gs-8>.grid-stack-item[gs-x=\"5\"]{left:62.5%}.gs-8>.grid-stack-item[gs-w=\"6\"]{width:75%}.gs-8>.grid-stack-item[gs-x=\"6\"]{left:75%}.gs-8>.grid-stack-item[gs-w=\"7\"]{width:87.5%}.gs-8>.grid-stack-item[gs-x=\"7\"]{left:87.5%}.gs-8>.grid-stack-item[gs-w=\"8\"]{width:100%}.gs-9>.grid-stack-item{width:11.111%}.gs-9>.grid-stack-item[gs-x=\"1\"]{left:11.111%}.gs-9>.grid-stack-item[gs-w=\"2\"]{width:22.222%}.gs-9>.grid-stack-item[gs-x=\"2\"]{left:22.222%}.gs-9>.grid-stack-item[gs-w=\"3\"]{width:33.333%}.gs-9>.grid-stack-item[gs-x=\"3\"]{left:33.333%}.gs-9>.grid-stack-item[gs-w=\"4\"]{width:44.444%}.gs-9>.grid-stack-item[gs-x=\"4\"]{left:44.444%}.gs-9>.grid-stack-item[gs-w=\"5\"]{width:55.556%}.gs-9>.grid-stack-item[gs-x=\"5\"]{left:55.556%}.gs-9>.grid-stack-item[gs-w=\"6\"]{width:66.667%}.gs-9>.grid-stack-item[gs-x=\"6\"]{left:66.667%}.gs-9>.grid-stack-item[gs-w=\"7\"]{width:77.778%}.gs-9>.grid-stack-item[gs-x=\"7\"]{left:77.778%}.gs-9>.grid-stack-item[gs-w=\"8\"]{width:88.889%}.gs-9>.grid-stack-item[gs-x=\"8\"]{left:88.889%}.gs-9>.grid-stack-item[gs-w=\"9\"]{width:100%}.gs-10>.grid-stack-item{width:10%}.gs-10>.grid-stack-item[gs-x=\"1\"]{left:10%}.gs-10>.grid-stack-item[gs-w=\"2\"]{width:20%}.gs-10>.grid-stack-item[gs-x=\"2\"]{left:20%}.gs-10>.grid-stack-item[gs-w=\"3\"]{width:30%}.gs-10>.grid-stack-item[gs-x=\"3\"]{left:30%}.gs-10>.grid-stack-item[gs-w=\"4\"]{width:40%}.gs-10>.grid-stack-item[gs-x=\"4\"]{left:40%}.gs-10>.grid-stack-item[gs-w=\"5\"]{width:50%}.gs-10>.grid-stack-item[gs-x=\"5\"]{left:50%}.gs-10>.grid-stack-item[gs-w=\"6\"]{width:60%}.gs-10>.grid-stack-item[gs-x=\"6\"]{left:60%}.gs-10>.grid-stack-item[gs-w=\"7\"]{width:70%}.gs-10>.grid-stack-item[gs-x=\"7\"]{left:70%}.gs-10>.grid-stack-item[gs-w=\"8\"]{width:80%}.gs-10>.grid-stack-item[gs-x=\"8\"]{left:80%}.gs-10>.grid-stack-item[gs-w=\"9\"]{width:90%}.gs-10>.grid-stack-item[gs-x=\"9\"]{left:90%}.gs-10>.grid-stack-item[gs-w=\"10\"]{width:100%}.gs-11>.grid-stack-item{width:9.091%}.gs-11>.grid-stack-item[gs-x=\"1\"]{left:9.091%}.gs-11>.grid-stack-item[gs-w=\"2\"]{width:18.182%}.gs-11>.grid-stack-item[gs-x=\"2\"]{left:18.182%}.gs-11>.grid-stack-item[gs-w=\"3\"]{width:27.273%}.gs-11>.grid-stack-item[gs-x=\"3\"]{left:27.273%}.gs-11>.grid-stack-item[gs-w=\"4\"]{width:36.364%}.gs-11>.grid-stack-item[gs-x=\"4\"]{left:36.364%}.gs-11>.grid-stack-item[gs-w=\"5\"]{width:45.455%}.gs-11>.grid-stack-item[gs-x=\"5\"]{left:45.455%}.gs-11>.grid-stack-item[gs-w=\"6\"]{width:54.545%}.gs-11>.grid-stack-item[gs-x=\"6\"]{left:54.545%}.gs-11>.grid-stack-item[gs-w=\"7\"]{width:63.636%}.gs-11>.grid-stack-item[gs-x=\"7\"]{left:63.636%}.gs-11>.grid-stack-item[gs-w=\"8\"]{width:72.727%}.gs-11>.grid-stack-item[gs-x=\"8\"]{left:72.727%}.gs-11>.grid-stack-item[gs-w=\"9\"]{width:81.818%}.gs-11>.grid-stack-item[gs-x=\"9\"]{left:81.818%}.gs-11>.grid-stack-item[gs-w=\"10\"]{width:90.909%}.gs-11>.grid-stack-item[gs-x=\"10\"]{left:90.909%}.gs-11>.grid-stack-item[gs-w=\"11\"]{width:100%}ax-grid-layout-container{display:block;border-style:solid;border-width:var(--ax-comp-grid-layout-container-border-width, 1px);border-color:rgba(var(--ax-comp-grid-layout-container-border-color, var(--ax-sys-color-border-surface)));background-color:rgba(var(--ax-comp-grid-layout-container-bg-color, var(--ax-sys-color-lighter-surface)))}ax-grid-layout-widget{display:block}.grid-stack-item{cursor:pointer;border-radius:var(--ax-comp-grid-layout-stack-item-border-radius, var(--ax-sys-border-radius))}.grid-stack-item-content{display:flex;align-items:center;justify-content:center;border-style:solid;border-radius:var(--ax-comp-grid-layout-stack-item-content-border-radius, var(--ax-sys-border-radius));border-width:var(--ax-comp-grid-layout-stack-item-content-border-width, 1px);border-color:rgba(var(--ax-comp-grid-layout-stack-item-content-border-color, var(--ax-sys-color-border-surface)));background-color:rgba(var(--ax-comp-grid-layout-stack-item-content-bg-color, var(--ax-sys-color-surface)));overflow:auto;-webkit-user-select:none;user-select:none;text-align:center}.grid-stack-item-removing{animation:var(--ax-comp-grid-layout-stack-item-removing-animation, fadeAndBlur .5s linear forwards)}@keyframes fadeAndBlur{0%{opacity:1;filter:blur(0)}to{opacity:.8;filter:blur(5px)}}.grid-stack-trash{cursor:grabbing;min-height:var(--ax-comp-grid-layout-stack-trash-min-height, 120px);background-repeat:no-repeat;background-position:center center;background-image:var(--ax-comp-grid-layout-stack-trash-bg-image, url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCB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TY1SDI4My4yMmMtMi42NywwLTQuODUzLDAuODU1LTYuNTcxLDIuNTY1ICAgIGMtMS43MTEsMS43MTQtMi41NjYsMy45MDQtMi41NjYsNi41Njd2MTY0LjQ1NGMwLDIuNjY5LDAuODU1LDQuODUzLDIuNTY2LDYuNTdDMjc4LjM2NywzNDYuMzE2LDI4MC41NSwzNDcuMTcyLDI4My4yMiwzNDcuMTcyeiIgZmlsbD0iI2ZmOWNhZSIvPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
265
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXGridLayoutContainerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
266
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.1.8", type: AXGridLayoutContainerComponent, isStandalone: true, selector: "ax-grid-layout-container", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, isEmpty: { classPropertyName: "isEmpty", publicName: "isEmpty", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onAdded: "onAdded", onRemoved: "onRemoved", onWidgetChange: "onWidgetChange", onChange: "onChange", _onEnable: "_onEnable", _onDisable: "_onDisable", _onWidgetDrag: "_onWidgetDrag", _onWidgetDragStart: "_onWidgetDragStart", _onWidgetDragStop: "_onWidgetDragStop", _onWidgetDropped: "_onWidgetDropped", _onWidgetResized: "_onWidgetResized", _onWidgetResizeStart: "_onWidgetResizeStart", _onWidgetResizeStop: "_onWidgetResizeStop", isLayoutRendered: "isLayoutRendered", isEmpty: "isEmptyChange" }, queries: [{ propertyName: "widgets", predicate: AXGridLayoutWidgetComponent, isSignal: true }, { propertyName: "gridstackItems", predicate: AXGridLayoutWidgetComponent }], usesInheritance: true, ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, styles: [".grid-stack{position:relative}.grid-stack-rtl{direction:ltr}.grid-stack-rtl>.grid-stack-item{direction:rtl}.grid-stack-placeholder>.placeholder-content{background-color:#0000001a;margin:0;position:absolute;width:auto;z-index:0!important}.grid-stack>.grid-stack-item{position:absolute;padding:0}.grid-stack>.grid-stack-item>.grid-stack-item-content{margin:0;position:absolute;width:auto;overflow-x:hidden;overflow-y:auto}.grid-stack>.grid-stack-item.size-to-content:not(.size-to-content-max)>.grid-stack-item-content{overflow-y:hidden}.grid-stack-item>.ui-resizable-handle{position:absolute;font-size:.1px;display:block;-ms-touch-action:none;touch-action:none}.grid-stack-item.ui-resizable-disabled>.ui-resizable-handle,.grid-stack-item.ui-resizable-autohide>.ui-resizable-handle{display:none}.grid-stack-item>.ui-resizable-ne,.grid-stack-item>.ui-resizable-nw,.grid-stack-item>.ui-resizable-se,.grid-stack-item>.ui-resizable-sw{background-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"%23666\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 20 20\"><path d=\"m10 3 2 2H8l2-2v14l-2-2h4l-2 2\"/></svg>');background-repeat:no-repeat;background-position:center}.grid-stack-item>.ui-resizable-ne{transform:rotate(45deg)}.grid-stack-item>.ui-resizable-sw{transform:rotate(45deg)}.grid-stack-item>.ui-resizable-nw{transform:rotate(-45deg)}.grid-stack-item>.ui-resizable-se{transform:rotate(-45deg)}.grid-stack-item>.ui-resizable-nw{cursor:nw-resize;width:20px;height:20px;top:0}.grid-stack-item>.ui-resizable-n{cursor:n-resize;height:10px;top:0;left:25px;right:25px}.grid-stack-item>.ui-resizable-ne{cursor:ne-resize;width:20px;height:20px;top:0}.grid-stack-item>.ui-resizable-e{cursor:e-resize;width:10px;top:15px;bottom:15px}.grid-stack-item>.ui-resizable-se{cursor:se-resize;width:20px;height:20px}.grid-stack-item>.ui-resizable-s{cursor:s-resize;height:10px;left:25px;bottom:0;right:25px}.grid-stack-item>.ui-resizable-sw{cursor:sw-resize;width:20px;height:20px}.grid-stack-item>.ui-resizable-w{cursor:w-resize;width:10px;top:15px;bottom:15px}.grid-stack-item.ui-draggable-dragging>.ui-resizable-handle{display:none!important}.grid-stack-item.ui-draggable-dragging{will-change:left,top;cursor:move}.grid-stack-item.ui-draggable-disabled{cursor:not-allowed}.grid-stack-item.ui-resizable-resizing{will-change:width,height}.ui-draggable-dragging,.ui-resizable-resizing{z-index:10000}.ui-draggable-dragging>.grid-stack-item-content,.ui-resizable-resizing>.grid-stack-item-content{box-shadow:1px 4px 6px #0003;opacity:.8}.grid-stack-animate,.grid-stack-animate .grid-stack-item{transition:left .3s,top .3s,height .3s,width .3s}.grid-stack-animate .grid-stack-item.ui-draggable-dragging,.grid-stack-animate .grid-stack-item.ui-resizable-resizing,.grid-stack-animate .grid-stack-item.grid-stack-placeholder{transition:left 0s,top 0s,height 0s,width 0s}.grid-stack>.grid-stack-item[gs-y=\"0\"]{top:0}.grid-stack>.grid-stack-item[gs-x=\"0\"]{left:0%}.gs-12>.grid-stack-item{width:8.333%}.gs-12>.grid-stack-item[gs-x=\"1\"]{left:8.333%}.gs-12>.grid-stack-item[gs-w=\"2\"]{width:16.667%}.gs-12>.grid-stack-item[gs-x=\"2\"]{left:16.667%}.gs-12>.grid-stack-item[gs-w=\"3\"]{width:25%}.gs-12>.grid-stack-item[gs-x=\"3\"]{left:25%}.gs-12>.grid-stack-item[gs-w=\"4\"]{width:33.333%}.gs-12>.grid-stack-item[gs-x=\"4\"]{left:33.333%}.gs-12>.grid-stack-item[gs-w=\"5\"]{width:41.667%}.gs-12>.grid-stack-item[gs-x=\"5\"]{left:41.667%}.gs-12>.grid-stack-item[gs-w=\"6\"]{width:50%}.gs-12>.grid-stack-item[gs-x=\"6\"]{left:50%}.gs-12>.grid-stack-item[gs-w=\"7\"]{width:58.333%}.gs-12>.grid-stack-item[gs-x=\"7\"]{left:58.333%}.gs-12>.grid-stack-item[gs-w=\"8\"]{width:66.667%}.gs-12>.grid-stack-item[gs-x=\"8\"]{left:66.667%}.gs-12>.grid-stack-item[gs-w=\"9\"]{width:75%}.gs-12>.grid-stack-item[gs-x=\"9\"]{left:75%}.gs-12>.grid-stack-item[gs-w=\"10\"]{width:83.333%}.gs-12>.grid-stack-item[gs-x=\"10\"]{left:83.333%}.gs-12>.grid-stack-item[gs-w=\"11\"]{width:91.667%}.gs-12>.grid-stack-item[gs-x=\"11\"]{left:91.667%}.gs-12>.grid-stack-item[gs-w=\"12\"]{width:100%}.gs-1>.grid-stack-item{width:100%}.gs-2>.grid-stack-item{width:50%}.gs-2>.grid-stack-item[gs-x=\"1\"]{left:50%}.gs-2>.grid-stack-item[gs-w=\"2\"]{width:100%}.gs-3>.grid-stack-item{width:33.333%}.gs-3>.grid-stack-item[gs-x=\"1\"]{left:33.333%}.gs-3>.grid-stack-item[gs-w=\"2\"]{width:66.667%}.gs-3>.grid-stack-item[gs-x=\"2\"]{left:66.667%}.gs-3>.grid-stack-item[gs-w=\"3\"]{width:100%}.gs-4>.grid-stack-item{width:25%}.gs-4>.grid-stack-item[gs-x=\"1\"]{left:25%}.gs-4>.grid-stack-item[gs-w=\"2\"]{width:50%}.gs-4>.grid-stack-item[gs-x=\"2\"]{left:50%}.gs-4>.grid-stack-item[gs-w=\"3\"]{width:75%}.gs-4>.grid-stack-item[gs-x=\"3\"]{left:75%}.gs-4>.grid-stack-item[gs-w=\"4\"]{width:100%}.gs-5>.grid-stack-item{width:20%}.gs-5>.grid-stack-item[gs-x=\"1\"]{left:20%}.gs-5>.grid-stack-item[gs-w=\"2\"]{width:40%}.gs-5>.grid-stack-item[gs-x=\"2\"]{left:40%}.gs-5>.grid-stack-item[gs-w=\"3\"]{width:60%}.gs-5>.grid-stack-item[gs-x=\"3\"]{left:60%}.gs-5>.grid-stack-item[gs-w=\"4\"]{width:80%}.gs-5>.grid-stack-item[gs-x=\"4\"]{left:80%}.gs-5>.grid-stack-item[gs-w=\"5\"]{width:100%}.gs-6>.grid-stack-item{width:16.667%}.gs-6>.grid-stack-item[gs-x=\"1\"]{left:16.667%}.gs-6>.grid-stack-item[gs-w=\"2\"]{width:33.333%}.gs-6>.grid-stack-item[gs-x=\"2\"]{left:33.333%}.gs-6>.grid-stack-item[gs-w=\"3\"]{width:50%}.gs-6>.grid-stack-item[gs-x=\"3\"]{left:50%}.gs-6>.grid-stack-item[gs-w=\"4\"]{width:66.667%}.gs-6>.grid-stack-item[gs-x=\"4\"]{left:66.667%}.gs-6>.grid-stack-item[gs-w=\"5\"]{width:83.333%}.gs-6>.grid-stack-item[gs-x=\"5\"]{left:83.333%}.gs-6>.grid-stack-item[gs-w=\"6\"]{width:100%}.gs-7>.grid-stack-item{width:14.286%}.gs-7>.grid-stack-item[gs-x=\"1\"]{left:14.286%}.gs-7>.grid-stack-item[gs-w=\"2\"]{width:28.571%}.gs-7>.grid-stack-item[gs-x=\"2\"]{left:28.571%}.gs-7>.grid-stack-item[gs-w=\"3\"]{width:42.857%}.gs-7>.grid-stack-item[gs-x=\"3\"]{left:42.857%}.gs-7>.grid-stack-item[gs-w=\"4\"]{width:57.143%}.gs-7>.grid-stack-item[gs-x=\"4\"]{left:57.143%}.gs-7>.grid-stack-item[gs-w=\"5\"]{width:71.429%}.gs-7>.grid-stack-item[gs-x=\"5\"]{left:71.429%}.gs-7>.grid-stack-item[gs-w=\"6\"]{width:85.714%}.gs-7>.grid-stack-item[gs-x=\"6\"]{left:85.714%}.gs-7>.grid-stack-item[gs-w=\"7\"]{width:100%}.gs-8>.grid-stack-item{width:12.5%}.gs-8>.grid-stack-item[gs-x=\"1\"]{left:12.5%}.gs-8>.grid-stack-item[gs-w=\"2\"]{width:25%}.gs-8>.grid-stack-item[gs-x=\"2\"]{left:25%}.gs-8>.grid-stack-item[gs-w=\"3\"]{width:37.5%}.gs-8>.grid-stack-item[gs-x=\"3\"]{left:37.5%}.gs-8>.grid-stack-item[gs-w=\"4\"]{width:50%}.gs-8>.grid-stack-item[gs-x=\"4\"]{left:50%}.gs-8>.grid-stack-item[gs-w=\"5\"]{width:62.5%}.gs-8>.grid-stack-item[gs-x=\"5\"]{left:62.5%}.gs-8>.grid-stack-item[gs-w=\"6\"]{width:75%}.gs-8>.grid-stack-item[gs-x=\"6\"]{left:75%}.gs-8>.grid-stack-item[gs-w=\"7\"]{width:87.5%}.gs-8>.grid-stack-item[gs-x=\"7\"]{left:87.5%}.gs-8>.grid-stack-item[gs-w=\"8\"]{width:100%}.gs-9>.grid-stack-item{width:11.111%}.gs-9>.grid-stack-item[gs-x=\"1\"]{left:11.111%}.gs-9>.grid-stack-item[gs-w=\"2\"]{width:22.222%}.gs-9>.grid-stack-item[gs-x=\"2\"]{left:22.222%}.gs-9>.grid-stack-item[gs-w=\"3\"]{width:33.333%}.gs-9>.grid-stack-item[gs-x=\"3\"]{left:33.333%}.gs-9>.grid-stack-item[gs-w=\"4\"]{width:44.444%}.gs-9>.grid-stack-item[gs-x=\"4\"]{left:44.444%}.gs-9>.grid-stack-item[gs-w=\"5\"]{width:55.556%}.gs-9>.grid-stack-item[gs-x=\"5\"]{left:55.556%}.gs-9>.grid-stack-item[gs-w=\"6\"]{width:66.667%}.gs-9>.grid-stack-item[gs-x=\"6\"]{left:66.667%}.gs-9>.grid-stack-item[gs-w=\"7\"]{width:77.778%}.gs-9>.grid-stack-item[gs-x=\"7\"]{left:77.778%}.gs-9>.grid-stack-item[gs-w=\"8\"]{width:88.889%}.gs-9>.grid-stack-item[gs-x=\"8\"]{left:88.889%}.gs-9>.grid-stack-item[gs-w=\"9\"]{width:100%}.gs-10>.grid-stack-item{width:10%}.gs-10>.grid-stack-item[gs-x=\"1\"]{left:10%}.gs-10>.grid-stack-item[gs-w=\"2\"]{width:20%}.gs-10>.grid-stack-item[gs-x=\"2\"]{left:20%}.gs-10>.grid-stack-item[gs-w=\"3\"]{width:30%}.gs-10>.grid-stack-item[gs-x=\"3\"]{left:30%}.gs-10>.grid-stack-item[gs-w=\"4\"]{width:40%}.gs-10>.grid-stack-item[gs-x=\"4\"]{left:40%}.gs-10>.grid-stack-item[gs-w=\"5\"]{width:50%}.gs-10>.grid-stack-item[gs-x=\"5\"]{left:50%}.gs-10>.grid-stack-item[gs-w=\"6\"]{width:60%}.gs-10>.grid-stack-item[gs-x=\"6\"]{left:60%}.gs-10>.grid-stack-item[gs-w=\"7\"]{width:70%}.gs-10>.grid-stack-item[gs-x=\"7\"]{left:70%}.gs-10>.grid-stack-item[gs-w=\"8\"]{width:80%}.gs-10>.grid-stack-item[gs-x=\"8\"]{left:80%}.gs-10>.grid-stack-item[gs-w=\"9\"]{width:90%}.gs-10>.grid-stack-item[gs-x=\"9\"]{left:90%}.gs-10>.grid-stack-item[gs-w=\"10\"]{width:100%}.gs-11>.grid-stack-item{width:9.091%}.gs-11>.grid-stack-item[gs-x=\"1\"]{left:9.091%}.gs-11>.grid-stack-item[gs-w=\"2\"]{width:18.182%}.gs-11>.grid-stack-item[gs-x=\"2\"]{left:18.182%}.gs-11>.grid-stack-item[gs-w=\"3\"]{width:27.273%}.gs-11>.grid-stack-item[gs-x=\"3\"]{left:27.273%}.gs-11>.grid-stack-item[gs-w=\"4\"]{width:36.364%}.gs-11>.grid-stack-item[gs-x=\"4\"]{left:36.364%}.gs-11>.grid-stack-item[gs-w=\"5\"]{width:45.455%}.gs-11>.grid-stack-item[gs-x=\"5\"]{left:45.455%}.gs-11>.grid-stack-item[gs-w=\"6\"]{width:54.545%}.gs-11>.grid-stack-item[gs-x=\"6\"]{left:54.545%}.gs-11>.grid-stack-item[gs-w=\"7\"]{width:63.636%}.gs-11>.grid-stack-item[gs-x=\"7\"]{left:63.636%}.gs-11>.grid-stack-item[gs-w=\"8\"]{width:72.727%}.gs-11>.grid-stack-item[gs-x=\"8\"]{left:72.727%}.gs-11>.grid-stack-item[gs-w=\"9\"]{width:81.818%}.gs-11>.grid-stack-item[gs-x=\"9\"]{left:81.818%}.gs-11>.grid-stack-item[gs-w=\"10\"]{width:90.909%}.gs-11>.grid-stack-item[gs-x=\"10\"]{left:90.909%}.gs-11>.grid-stack-item[gs-w=\"11\"]{width:100%}ax-grid-layout-container{display:block;border-style:solid;border-width:var(--ax-comp-grid-layout-container-border-width, 0px);border-color:rgba(var(--ax-comp-grid-layout-container-border-color, var(--ax-sys-color-border-surface)));background-color:rgba(var(--ax-comp-grid-layout-container-bg-color, transparent))}ax-grid-layout-container .grid-stack-placeholder>.placeholder-content{background-color:rgba(var(--ax-comp-grid-layout-placeholder-bg-color, var(--ax-sys-color-surface)))}ax-grid-layout-widget{display:block}.grid-stack-item{cursor:pointer;border-radius:var(--ax-comp-grid-layout-stack-item-border-radius, 0)}.grid-stack-item-content{display:flex;align-items:center;justify-content:center;border-style:solid;border-radius:var(--ax-comp-grid-layout-stack-item-content-border-radius, var(--ax-sys-border-radius));border-width:var(--ax-comp-grid-layout-stack-item-content-border-width, 1px);border-color:rgba(var(--ax-comp-grid-layout-stack-item-content-border-color, var(--ax-sys-color-border-surface)));background-color:rgba(var(--ax-comp-grid-layout-stack-item-content-bg-color, var(--ax-sys-color-surface)));overflow:auto;-webkit-user-select:none;user-select:none;text-align:center}.placeholder-content{top:0!important;right:0!important;bottom:0!important;left:0!important}.grid-stack-item-removing{animation:var(--ax-comp-grid-layout-stack-item-removing-animation, fadeAndBlur .5s linear forwards)}@keyframes fadeAndBlur{0%{opacity:1;filter:blur(0)}to{opacity:.8;filter:blur(5px)}}.grid-stack-trash{cursor:grabbing;min-height:var(--ax-comp-grid-layout-stack-trash-min-height, 120px);background-repeat:no-repeat;background-position:center center;background-image:var(--ax-comp-grid-layout-stack-trash-bg-image, url(data:image/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IjZmY5Y2FlIi8+CgkJPHBhdGggZD0iTTI4My4yMiwzNDcuMTcyaDE4LjI2OGMyLjY2OSwwLDQuODU5LTAuODU1LDYuNTctMi41NjdjMS43MTEtMS43MTgsMi41NjItMy45MDEsMi41NjItNi41N1YxNzMuNTgxICAgIGMwLTIuNjYzLTAuODUyLTQuODUzLTIuNTYyLTYuNTY3Yy0xLjcxMS0xLjcwOS0zLjkwMS0yLjU2NS02LjU3LTIuNTY1SDI4My4yMmMtMi42NywwLTQuODUzLDAuODU1LTYuNTcxLDIuNTY1ICAgIGMtMS43MTEsMS43MTQtMi41NjYsMy45MDQtMi41NjYsNi41Njd2MTY0LjQ1NGMwLDIuNjY5LDAuODU1LDQuODUzLDIuNTY2LDYuNTdDMjc4LjM2NywzNDYuMzE2LDI4MC41NSwzNDcuMTcyLDI4My4yMiwzNDcuMTcyeiIgZmlsbD0iI2ZmOWNhZSIvPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
698
267
|
}
|
699
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXGridLayoutContainerComponent, decorators: [{
|
700
269
|
type: Component,
|
701
|
-
args: [{ selector: 'ax-grid-layout-container', template: ` <ng-template #container></ng-template>
|
702
|
-
<ng-content></ng-content>`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".grid-stack{position:relative}.grid-stack-rtl{direction:ltr}.grid-stack-rtl>.grid-stack-item{direction:rtl}.grid-stack-placeholder>.placeholder-content{background-color:#0000001a;margin:0;position:absolute;width:auto;z-index:0!important}.grid-stack>.grid-stack-item{position:absolute;padding:0}.grid-stack>.grid-stack-item>.grid-stack-item-content{margin:0;position:absolute;width:auto;overflow-x:hidden;overflow-y:auto}.grid-stack>.grid-stack-item.size-to-content:not(.size-to-content-max)>.grid-stack-item-content{overflow-y:hidden}.grid-stack-item>.ui-resizable-handle{position:absolute;font-size:.1px;display:block;-ms-touch-action:none;touch-action:none}.grid-stack-item.ui-resizable-disabled>.ui-resizable-handle,.grid-stack-item.ui-resizable-autohide>.ui-resizable-handle{display:none}.grid-stack-item>.ui-resizable-ne,.grid-stack-item>.ui-resizable-nw,.grid-stack-item>.ui-resizable-se,.grid-stack-item>.ui-resizable-sw{background-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"%23666\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 20 20\"><path d=\"m10 3 2 2H8l2-2v14l-2-2h4l-2 2\"/></svg>');background-repeat:no-repeat;background-position:center}.grid-stack-item>.ui-resizable-ne{transform:rotate(45deg)}.grid-stack-item>.ui-resizable-sw{transform:rotate(45deg)}.grid-stack-item>.ui-resizable-nw{transform:rotate(-45deg)}.grid-stack-item>.ui-resizable-se{transform:rotate(-45deg)}.grid-stack-item>.ui-resizable-nw{cursor:nw-resize;width:20px;height:20px;top:0}.grid-stack-item>.ui-resizable-n{cursor:n-resize;height:10px;top:0;left:25px;right:25px}.grid-stack-item>.ui-resizable-ne{cursor:ne-resize;width:20px;height:20px;top:0}.grid-stack-item>.ui-resizable-e{cursor:e-resize;width:10px;top:15px;bottom:15px}.grid-stack-item>.ui-resizable-se{cursor:se-resize;width:20px;height:20px}.grid-stack-item>.ui-resizable-s{cursor:s-resize;height:10px;left:25px;bottom:0;right:25px}.grid-stack-item>.ui-resizable-sw{cursor:sw-resize;width:20px;height:20px}.grid-stack-item>.ui-resizable-w{cursor:w-resize;width:10px;top:15px;bottom:15px}.grid-stack-item.ui-draggable-dragging>.ui-resizable-handle{display:none!important}.grid-stack-item.ui-draggable-dragging{will-change:left,top;cursor:move}.grid-stack-item.ui-draggable-disabled{cursor:not-allowed}.grid-stack-item.ui-resizable-resizing{will-change:width,height}.ui-draggable-dragging,.ui-resizable-resizing{z-index:10000}.ui-draggable-dragging>.grid-stack-item-content,.ui-resizable-resizing>.grid-stack-item-content{box-shadow:1px 4px 6px #0003;opacity:.8}.grid-stack-animate,.grid-stack-animate .grid-stack-item{transition:left .3s,top .3s,height .3s,width .3s}.grid-stack-animate .grid-stack-item.ui-draggable-dragging,.grid-stack-animate .grid-stack-item.ui-resizable-resizing,.grid-stack-animate .grid-stack-item.grid-stack-placeholder{transition:left 0s,top 0s,height 0s,width 0s}.grid-stack>.grid-stack-item[gs-y=\"0\"]{top:0}.grid-stack>.grid-stack-item[gs-x=\"0\"]{left:0%}.gs-12>.grid-stack-item{width:8.333%}.gs-12>.grid-stack-item[gs-x=\"1\"]{left:8.333%}.gs-12>.grid-stack-item[gs-w=\"2\"]{width:16.667%}.gs-12>.grid-stack-item[gs-x=\"2\"]{left:16.667%}.gs-12>.grid-stack-item[gs-w=\"3\"]{width:25%}.gs-12>.grid-stack-item[gs-x=\"3\"]{left:25%}.gs-12>.grid-stack-item[gs-w=\"4\"]{width:33.333%}.gs-12>.grid-stack-item[gs-x=\"4\"]{left:33.333%}.gs-12>.grid-stack-item[gs-w=\"5\"]{width:41.667%}.gs-12>.grid-stack-item[gs-x=\"5\"]{left:41.667%}.gs-12>.grid-stack-item[gs-w=\"6\"]{width:50%}.gs-12>.grid-stack-item[gs-x=\"6\"]{left:50%}.gs-12>.grid-stack-item[gs-w=\"7\"]{width:58.333%}.gs-12>.grid-stack-item[gs-x=\"7\"]{left:58.333%}.gs-12>.grid-stack-item[gs-w=\"8\"]{width:66.667%}.gs-12>.grid-stack-item[gs-x=\"8\"]{left:66.667%}.gs-12>.grid-stack-item[gs-w=\"9\"]{width:75%}.gs-12>.grid-stack-item[gs-x=\"9\"]{left:75%}.gs-12>.grid-stack-item[gs-w=\"10\"]{width:83.333%}.gs-12>.grid-stack-item[gs-x=\"10\"]{left:83.333%}.gs-12>.grid-stack-item[gs-w=\"11\"]{width:91.667%}.gs-12>.grid-stack-item[gs-x=\"11\"]{left:91.667%}.gs-12>.grid-stack-item[gs-w=\"12\"]{width:100%}.gs-1>.grid-stack-item{width:100%}.gs-2>.grid-stack-item{width:50%}.gs-2>.grid-stack-item[gs-x=\"1\"]{left:50%}.gs-2>.grid-stack-item[gs-w=\"2\"]{width:100%}.gs-3>.grid-stack-item{width:33.333%}.gs-3>.grid-stack-item[gs-x=\"1\"]{left:33.333%}.gs-3>.grid-stack-item[gs-w=\"2\"]{width:66.667%}.gs-3>.grid-stack-item[gs-x=\"2\"]{left:66.667%}.gs-3>.grid-stack-item[gs-w=\"3\"]{width:100%}.gs-4>.grid-stack-item{width:25%}.gs-4>.grid-stack-item[gs-x=\"1\"]{left:25%}.gs-4>.grid-stack-item[gs-w=\"2\"]{width:50%}.gs-4>.grid-stack-item[gs-x=\"2\"]{left:50%}.gs-4>.grid-stack-item[gs-w=\"3\"]{width:75%}.gs-4>.grid-stack-item[gs-x=\"3\"]{left:75%}.gs-4>.grid-stack-item[gs-w=\"4\"]{width:100%}.gs-5>.grid-stack-item{width:20%}.gs-5>.grid-stack-item[gs-x=\"1\"]{left:20%}.gs-5>.grid-stack-item[gs-w=\"2\"]{width:40%}.gs-5>.grid-stack-item[gs-x=\"2\"]{left:40%}.gs-5>.grid-stack-item[gs-w=\"3\"]{width:60%}.gs-5>.grid-stack-item[gs-x=\"3\"]{left:60%}.gs-5>.grid-stack-item[gs-w=\"4\"]{width:80%}.gs-5>.grid-stack-item[gs-x=\"4\"]{left:80%}.gs-5>.grid-stack-item[gs-w=\"5\"]{width:100%}.gs-6>.grid-stack-item{width:16.667%}.gs-6>.grid-stack-item[gs-x=\"1\"]{left:16.667%}.gs-6>.grid-stack-item[gs-w=\"2\"]{width:33.333%}.gs-6>.grid-stack-item[gs-x=\"2\"]{left:33.333%}.gs-6>.grid-stack-item[gs-w=\"3\"]{width:50%}.gs-6>.grid-stack-item[gs-x=\"3\"]{left:50%}.gs-6>.grid-stack-item[gs-w=\"4\"]{width:66.667%}.gs-6>.grid-stack-item[gs-x=\"4\"]{left:66.667%}.gs-6>.grid-stack-item[gs-w=\"5\"]{width:83.333%}.gs-6>.grid-stack-item[gs-x=\"5\"]{left:83.333%}.gs-6>.grid-stack-item[gs-w=\"6\"]{width:100%}.gs-7>.grid-stack-item{width:14.286%}.gs-7>.grid-stack-item[gs-x=\"1\"]{left:14.286%}.gs-7>.grid-stack-item[gs-w=\"2\"]{width:28.571%}.gs-7>.grid-stack-item[gs-x=\"2\"]{left:28.571%}.gs-7>.grid-stack-item[gs-w=\"3\"]{width:42.857%}.gs-7>.grid-stack-item[gs-x=\"3\"]{left:42.857%}.gs-7>.grid-stack-item[gs-w=\"4\"]{width:57.143%}.gs-7>.grid-stack-item[gs-x=\"4\"]{left:57.143%}.gs-7>.grid-stack-item[gs-w=\"5\"]{width:71.429%}.gs-7>.grid-stack-item[gs-x=\"5\"]{left:71.429%}.gs-7>.grid-stack-item[gs-w=\"6\"]{width:85.714%}.gs-7>.grid-stack-item[gs-x=\"6\"]{left:85.714%}.gs-7>.grid-stack-item[gs-w=\"7\"]{width:100%}.gs-8>.grid-stack-item{width:12.5%}.gs-8>.grid-stack-item[gs-x=\"1\"]{left:12.5%}.gs-8>.grid-stack-item[gs-w=\"2\"]{width:25%}.gs-8>.grid-stack-item[gs-x=\"2\"]{left:25%}.gs-8>.grid-stack-item[gs-w=\"3\"]{width:37.5%}.gs-8>.grid-stack-item[gs-x=\"3\"]{left:37.5%}.gs-8>.grid-stack-item[gs-w=\"4\"]{width:50%}.gs-8>.grid-stack-item[gs-x=\"4\"]{left:50%}.gs-8>.grid-stack-item[gs-w=\"5\"]{width:62.5%}.gs-8>.grid-stack-item[gs-x=\"5\"]{left:62.5%}.gs-8>.grid-stack-item[gs-w=\"6\"]{width:75%}.gs-8>.grid-stack-item[gs-x=\"6\"]{left:75%}.gs-8>.grid-stack-item[gs-w=\"7\"]{width:87.5%}.gs-8>.grid-stack-item[gs-x=\"7\"]{left:87.5%}.gs-8>.grid-stack-item[gs-w=\"8\"]{width:100%}.gs-9>.grid-stack-item{width:11.111%}.gs-9>.grid-stack-item[gs-x=\"1\"]{left:11.111%}.gs-9>.grid-stack-item[gs-w=\"2\"]{width:22.222%}.gs-9>.grid-stack-item[gs-x=\"2\"]{left:22.222%}.gs-9>.grid-stack-item[gs-w=\"3\"]{width:33.333%}.gs-9>.grid-stack-item[gs-x=\"3\"]{left:33.333%}.gs-9>.grid-stack-item[gs-w=\"4\"]{width:44.444%}.gs-9>.grid-stack-item[gs-x=\"4\"]{left:44.444%}.gs-9>.grid-stack-item[gs-w=\"5\"]{width:55.556%}.gs-9>.grid-stack-item[gs-x=\"5\"]{left:55.556%}.gs-9>.grid-stack-item[gs-w=\"6\"]{width:66.667%}.gs-9>.grid-stack-item[gs-x=\"6\"]{left:66.667%}.gs-9>.grid-stack-item[gs-w=\"7\"]{width:77.778%}.gs-9>.grid-stack-item[gs-x=\"7\"]{left:77.778%}.gs-9>.grid-stack-item[gs-w=\"8\"]{width:88.889%}.gs-9>.grid-stack-item[gs-x=\"8\"]{left:88.889%}.gs-9>.grid-stack-item[gs-w=\"9\"]{width:100%}.gs-10>.grid-stack-item{width:10%}.gs-10>.grid-stack-item[gs-x=\"1\"]{left:10%}.gs-10>.grid-stack-item[gs-w=\"2\"]{width:20%}.gs-10>.grid-stack-item[gs-x=\"2\"]{left:20%}.gs-10>.grid-stack-item[gs-w=\"3\"]{width:30%}.gs-10>.grid-stack-item[gs-x=\"3\"]{left:30%}.gs-10>.grid-stack-item[gs-w=\"4\"]{width:40%}.gs-10>.grid-stack-item[gs-x=\"4\"]{left:40%}.gs-10>.grid-stack-item[gs-w=\"5\"]{width:50%}.gs-10>.grid-stack-item[gs-x=\"5\"]{left:50%}.gs-10>.grid-stack-item[gs-w=\"6\"]{width:60%}.gs-10>.grid-stack-item[gs-x=\"6\"]{left:60%}.gs-10>.grid-stack-item[gs-w=\"7\"]{width:70%}.gs-10>.grid-stack-item[gs-x=\"7\"]{left:70%}.gs-10>.grid-stack-item[gs-w=\"8\"]{width:80%}.gs-10>.grid-stack-item[gs-x=\"8\"]{left:80%}.gs-10>.grid-stack-item[gs-w=\"9\"]{width:90%}.gs-10>.grid-stack-item[gs-x=\"9\"]{left:90%}.gs-10>.grid-stack-item[gs-w=\"10\"]{width:100%}.gs-11>.grid-stack-item{width:9.091%}.gs-11>.grid-stack-item[gs-x=\"1\"]{left:9.091%}.gs-11>.grid-stack-item[gs-w=\"2\"]{width:18.182%}.gs-11>.grid-stack-item[gs-x=\"2\"]{left:18.182%}.gs-11>.grid-stack-item[gs-w=\"3\"]{width:27.273%}.gs-11>.grid-stack-item[gs-x=\"3\"]{left:27.273%}.gs-11>.grid-stack-item[gs-w=\"4\"]{width:36.364%}.gs-11>.grid-stack-item[gs-x=\"4\"]{left:36.364%}.gs-11>.grid-stack-item[gs-w=\"5\"]{width:45.455%}.gs-11>.grid-stack-item[gs-x=\"5\"]{left:45.455%}.gs-11>.grid-stack-item[gs-w=\"6\"]{width:54.545%}.gs-11>.grid-stack-item[gs-x=\"6\"]{left:54.545%}.gs-11>.grid-stack-item[gs-w=\"7\"]{width:63.636%}.gs-11>.grid-stack-item[gs-x=\"7\"]{left:63.636%}.gs-11>.grid-stack-item[gs-w=\"8\"]{width:72.727%}.gs-11>.grid-stack-item[gs-x=\"8\"]{left:72.727%}.gs-11>.grid-stack-item[gs-w=\"9\"]{width:81.818%}.gs-11>.grid-stack-item[gs-x=\"9\"]{left:81.818%}.gs-11>.grid-stack-item[gs-w=\"10\"]{width:90.909%}.gs-11>.grid-stack-item[gs-x=\"10\"]{left:90.909%}.gs-11>.grid-stack-item[gs-w=\"11\"]{width:100%}ax-grid-layout-container{display:block;border-style:solid;border-width:var(--ax-comp-grid-layout-container-border-width, 1px);border-color:rgba(var(--ax-comp-grid-layout-container-border-color, var(--ax-sys-color-border-surface)));background-color:rgba(var(--ax-comp-grid-layout-container-bg-color, var(--ax-sys-color-lighter-surface)))}ax-grid-layout-widget{display:block}.grid-stack-item{cursor:pointer;border-radius:var(--ax-comp-grid-layout-stack-item-border-radius, var(--ax-sys-border-radius))}.grid-stack-item-content{display:flex;align-items:center;justify-content:center;border-style:solid;border-radius:var(--ax-comp-grid-layout-stack-item-content-border-radius, var(--ax-sys-border-radius));border-width:var(--ax-comp-grid-layout-stack-item-content-border-width, 1px);border-color:rgba(var(--ax-comp-grid-layout-stack-item-content-border-color, var(--ax-sys-color-border-surface)));background-color:rgba(var(--ax-comp-grid-layout-stack-item-content-bg-color, var(--ax-sys-color-surface)));overflow:auto;-webkit-user-select:none;user-select:none;text-align:center}.grid-stack-item-removing{animation:var(--ax-comp-grid-layout-stack-item-removing-animation, fadeAndBlur .5s linear forwards)}@keyframes fadeAndBlur{0%{opacity:1;filter:blur(0)}to{opacity:.8;filter:blur(5px)}}.grid-stack-trash{cursor:grabbing;min-height:var(--ax-comp-grid-layout-stack-trash-min-height, 120px);background-repeat:no-repeat;background-position:center center;background-image:var(--ax-comp-grid-layout-stack-trash-bg-image, url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8x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MS43MTEsMS43MTQtMi41NjYsMy45MDQtMi41NjYsNi41Njd2MTY0LjQ1NGMwLDIuNjY5LDAuODU1LDQuODUzLDIuNTY2LDYuNTdDMjc4LjM2NywzNDYuMzE2LDI4MC41NSwzNDcuMTcyLDI4My4yMiwzNDcuMTcyeiIgZmlsbD0iI2ZmOWNhZSIvPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=))}\n"] }]
|
703
|
-
|
270
|
+
args: [{ selector: 'ax-grid-layout-container', template: ` <ng-content></ng-content> `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".grid-stack{position:relative}.grid-stack-rtl{direction:ltr}.grid-stack-rtl>.grid-stack-item{direction:rtl}.grid-stack-placeholder>.placeholder-content{background-color:#0000001a;margin:0;position:absolute;width:auto;z-index:0!important}.grid-stack>.grid-stack-item{position:absolute;padding:0}.grid-stack>.grid-stack-item>.grid-stack-item-content{margin:0;position:absolute;width:auto;overflow-x:hidden;overflow-y:auto}.grid-stack>.grid-stack-item.size-to-content:not(.size-to-content-max)>.grid-stack-item-content{overflow-y:hidden}.grid-stack-item>.ui-resizable-handle{position:absolute;font-size:.1px;display:block;-ms-touch-action:none;touch-action:none}.grid-stack-item.ui-resizable-disabled>.ui-resizable-handle,.grid-stack-item.ui-resizable-autohide>.ui-resizable-handle{display:none}.grid-stack-item>.ui-resizable-ne,.grid-stack-item>.ui-resizable-nw,.grid-stack-item>.ui-resizable-se,.grid-stack-item>.ui-resizable-sw{background-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"%23666\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 20 20\"><path d=\"m10 3 2 2H8l2-2v14l-2-2h4l-2 2\"/></svg>');background-repeat:no-repeat;background-position:center}.grid-stack-item>.ui-resizable-ne{transform:rotate(45deg)}.grid-stack-item>.ui-resizable-sw{transform:rotate(45deg)}.grid-stack-item>.ui-resizable-nw{transform:rotate(-45deg)}.grid-stack-item>.ui-resizable-se{transform:rotate(-45deg)}.grid-stack-item>.ui-resizable-nw{cursor:nw-resize;width:20px;height:20px;top:0}.grid-stack-item>.ui-resizable-n{cursor:n-resize;height:10px;top:0;left:25px;right:25px}.grid-stack-item>.ui-resizable-ne{cursor:ne-resize;width:20px;height:20px;top:0}.grid-stack-item>.ui-resizable-e{cursor:e-resize;width:10px;top:15px;bottom:15px}.grid-stack-item>.ui-resizable-se{cursor:se-resize;width:20px;height:20px}.grid-stack-item>.ui-resizable-s{cursor:s-resize;height:10px;left:25px;bottom:0;right:25px}.grid-stack-item>.ui-resizable-sw{cursor:sw-resize;width:20px;height:20px}.grid-stack-item>.ui-resizable-w{cursor:w-resize;width:10px;top:15px;bottom:15px}.grid-stack-item.ui-draggable-dragging>.ui-resizable-handle{display:none!important}.grid-stack-item.ui-draggable-dragging{will-change:left,top;cursor:move}.grid-stack-item.ui-draggable-disabled{cursor:not-allowed}.grid-stack-item.ui-resizable-resizing{will-change:width,height}.ui-draggable-dragging,.ui-resizable-resizing{z-index:10000}.ui-draggable-dragging>.grid-stack-item-content,.ui-resizable-resizing>.grid-stack-item-content{box-shadow:1px 4px 6px #0003;opacity:.8}.grid-stack-animate,.grid-stack-animate .grid-stack-item{transition:left .3s,top .3s,height .3s,width .3s}.grid-stack-animate .grid-stack-item.ui-draggable-dragging,.grid-stack-animate .grid-stack-item.ui-resizable-resizing,.grid-stack-animate .grid-stack-item.grid-stack-placeholder{transition:left 0s,top 0s,height 0s,width 0s}.grid-stack>.grid-stack-item[gs-y=\"0\"]{top:0}.grid-stack>.grid-stack-item[gs-x=\"0\"]{left:0%}.gs-12>.grid-stack-item{width:8.333%}.gs-12>.grid-stack-item[gs-x=\"1\"]{left:8.333%}.gs-12>.grid-stack-item[gs-w=\"2\"]{width:16.667%}.gs-12>.grid-stack-item[gs-x=\"2\"]{left:16.667%}.gs-12>.grid-stack-item[gs-w=\"3\"]{width:25%}.gs-12>.grid-stack-item[gs-x=\"3\"]{left:25%}.gs-12>.grid-stack-item[gs-w=\"4\"]{width:33.333%}.gs-12>.grid-stack-item[gs-x=\"4\"]{left:33.333%}.gs-12>.grid-stack-item[gs-w=\"5\"]{width:41.667%}.gs-12>.grid-stack-item[gs-x=\"5\"]{left:41.667%}.gs-12>.grid-stack-item[gs-w=\"6\"]{width:50%}.gs-12>.grid-stack-item[gs-x=\"6\"]{left:50%}.gs-12>.grid-stack-item[gs-w=\"7\"]{width:58.333%}.gs-12>.grid-stack-item[gs-x=\"7\"]{left:58.333%}.gs-12>.grid-stack-item[gs-w=\"8\"]{width:66.667%}.gs-12>.grid-stack-item[gs-x=\"8\"]{left:66.667%}.gs-12>.grid-stack-item[gs-w=\"9\"]{width:75%}.gs-12>.grid-stack-item[gs-x=\"9\"]{left:75%}.gs-12>.grid-stack-item[gs-w=\"10\"]{width:83.333%}.gs-12>.grid-stack-item[gs-x=\"10\"]{left:83.333%}.gs-12>.grid-stack-item[gs-w=\"11\"]{width:91.667%}.gs-12>.grid-stack-item[gs-x=\"11\"]{left:91.667%}.gs-12>.grid-stack-item[gs-w=\"12\"]{width:100%}.gs-1>.grid-stack-item{width:100%}.gs-2>.grid-stack-item{width:50%}.gs-2>.grid-stack-item[gs-x=\"1\"]{left:50%}.gs-2>.grid-stack-item[gs-w=\"2\"]{width:100%}.gs-3>.grid-stack-item{width:33.333%}.gs-3>.grid-stack-item[gs-x=\"1\"]{left:33.333%}.gs-3>.grid-stack-item[gs-w=\"2\"]{width:66.667%}.gs-3>.grid-stack-item[gs-x=\"2\"]{left:66.667%}.gs-3>.grid-stack-item[gs-w=\"3\"]{width:100%}.gs-4>.grid-stack-item{width:25%}.gs-4>.grid-stack-item[gs-x=\"1\"]{left:25%}.gs-4>.grid-stack-item[gs-w=\"2\"]{width:50%}.gs-4>.grid-stack-item[gs-x=\"2\"]{left:50%}.gs-4>.grid-stack-item[gs-w=\"3\"]{width:75%}.gs-4>.grid-stack-item[gs-x=\"3\"]{left:75%}.gs-4>.grid-stack-item[gs-w=\"4\"]{width:100%}.gs-5>.grid-stack-item{width:20%}.gs-5>.grid-stack-item[gs-x=\"1\"]{left:20%}.gs-5>.grid-stack-item[gs-w=\"2\"]{width:40%}.gs-5>.grid-stack-item[gs-x=\"2\"]{left:40%}.gs-5>.grid-stack-item[gs-w=\"3\"]{width:60%}.gs-5>.grid-stack-item[gs-x=\"3\"]{left:60%}.gs-5>.grid-stack-item[gs-w=\"4\"]{width:80%}.gs-5>.grid-stack-item[gs-x=\"4\"]{left:80%}.gs-5>.grid-stack-item[gs-w=\"5\"]{width:100%}.gs-6>.grid-stack-item{width:16.667%}.gs-6>.grid-stack-item[gs-x=\"1\"]{left:16.667%}.gs-6>.grid-stack-item[gs-w=\"2\"]{width:33.333%}.gs-6>.grid-stack-item[gs-x=\"2\"]{left:33.333%}.gs-6>.grid-stack-item[gs-w=\"3\"]{width:50%}.gs-6>.grid-stack-item[gs-x=\"3\"]{left:50%}.gs-6>.grid-stack-item[gs-w=\"4\"]{width:66.667%}.gs-6>.grid-stack-item[gs-x=\"4\"]{left:66.667%}.gs-6>.grid-stack-item[gs-w=\"5\"]{width:83.333%}.gs-6>.grid-stack-item[gs-x=\"5\"]{left:83.333%}.gs-6>.grid-stack-item[gs-w=\"6\"]{width:100%}.gs-7>.grid-stack-item{width:14.286%}.gs-7>.grid-stack-item[gs-x=\"1\"]{left:14.286%}.gs-7>.grid-stack-item[gs-w=\"2\"]{width:28.571%}.gs-7>.grid-stack-item[gs-x=\"2\"]{left:28.571%}.gs-7>.grid-stack-item[gs-w=\"3\"]{width:42.857%}.gs-7>.grid-stack-item[gs-x=\"3\"]{left:42.857%}.gs-7>.grid-stack-item[gs-w=\"4\"]{width:57.143%}.gs-7>.grid-stack-item[gs-x=\"4\"]{left:57.143%}.gs-7>.grid-stack-item[gs-w=\"5\"]{width:71.429%}.gs-7>.grid-stack-item[gs-x=\"5\"]{left:71.429%}.gs-7>.grid-stack-item[gs-w=\"6\"]{width:85.714%}.gs-7>.grid-stack-item[gs-x=\"6\"]{left:85.714%}.gs-7>.grid-stack-item[gs-w=\"7\"]{width:100%}.gs-8>.grid-stack-item{width:12.5%}.gs-8>.grid-stack-item[gs-x=\"1\"]{left:12.5%}.gs-8>.grid-stack-item[gs-w=\"2\"]{width:25%}.gs-8>.grid-stack-item[gs-x=\"2\"]{left:25%}.gs-8>.grid-stack-item[gs-w=\"3\"]{width:37.5%}.gs-8>.grid-stack-item[gs-x=\"3\"]{left:37.5%}.gs-8>.grid-stack-item[gs-w=\"4\"]{width:50%}.gs-8>.grid-stack-item[gs-x=\"4\"]{left:50%}.gs-8>.grid-stack-item[gs-w=\"5\"]{width:62.5%}.gs-8>.grid-stack-item[gs-x=\"5\"]{left:62.5%}.gs-8>.grid-stack-item[gs-w=\"6\"]{width:75%}.gs-8>.grid-stack-item[gs-x=\"6\"]{left:75%}.gs-8>.grid-stack-item[gs-w=\"7\"]{width:87.5%}.gs-8>.grid-stack-item[gs-x=\"7\"]{left:87.5%}.gs-8>.grid-stack-item[gs-w=\"8\"]{width:100%}.gs-9>.grid-stack-item{width:11.111%}.gs-9>.grid-stack-item[gs-x=\"1\"]{left:11.111%}.gs-9>.grid-stack-item[gs-w=\"2\"]{width:22.222%}.gs-9>.grid-stack-item[gs-x=\"2\"]{left:22.222%}.gs-9>.grid-stack-item[gs-w=\"3\"]{width:33.333%}.gs-9>.grid-stack-item[gs-x=\"3\"]{left:33.333%}.gs-9>.grid-stack-item[gs-w=\"4\"]{width:44.444%}.gs-9>.grid-stack-item[gs-x=\"4\"]{left:44.444%}.gs-9>.grid-stack-item[gs-w=\"5\"]{width:55.556%}.gs-9>.grid-stack-item[gs-x=\"5\"]{left:55.556%}.gs-9>.grid-stack-item[gs-w=\"6\"]{width:66.667%}.gs-9>.grid-stack-item[gs-x=\"6\"]{left:66.667%}.gs-9>.grid-stack-item[gs-w=\"7\"]{width:77.778%}.gs-9>.grid-stack-item[gs-x=\"7\"]{left:77.778%}.gs-9>.grid-stack-item[gs-w=\"8\"]{width:88.889%}.gs-9>.grid-stack-item[gs-x=\"8\"]{left:88.889%}.gs-9>.grid-stack-item[gs-w=\"9\"]{width:100%}.gs-10>.grid-stack-item{width:10%}.gs-10>.grid-stack-item[gs-x=\"1\"]{left:10%}.gs-10>.grid-stack-item[gs-w=\"2\"]{width:20%}.gs-10>.grid-stack-item[gs-x=\"2\"]{left:20%}.gs-10>.grid-stack-item[gs-w=\"3\"]{width:30%}.gs-10>.grid-stack-item[gs-x=\"3\"]{left:30%}.gs-10>.grid-stack-item[gs-w=\"4\"]{width:40%}.gs-10>.grid-stack-item[gs-x=\"4\"]{left:40%}.gs-10>.grid-stack-item[gs-w=\"5\"]{width:50%}.gs-10>.grid-stack-item[gs-x=\"5\"]{left:50%}.gs-10>.grid-stack-item[gs-w=\"6\"]{width:60%}.gs-10>.grid-stack-item[gs-x=\"6\"]{left:60%}.gs-10>.grid-stack-item[gs-w=\"7\"]{width:70%}.gs-10>.grid-stack-item[gs-x=\"7\"]{left:70%}.gs-10>.grid-stack-item[gs-w=\"8\"]{width:80%}.gs-10>.grid-stack-item[gs-x=\"8\"]{left:80%}.gs-10>.grid-stack-item[gs-w=\"9\"]{width:90%}.gs-10>.grid-stack-item[gs-x=\"9\"]{left:90%}.gs-10>.grid-stack-item[gs-w=\"10\"]{width:100%}.gs-11>.grid-stack-item{width:9.091%}.gs-11>.grid-stack-item[gs-x=\"1\"]{left:9.091%}.gs-11>.grid-stack-item[gs-w=\"2\"]{width:18.182%}.gs-11>.grid-stack-item[gs-x=\"2\"]{left:18.182%}.gs-11>.grid-stack-item[gs-w=\"3\"]{width:27.273%}.gs-11>.grid-stack-item[gs-x=\"3\"]{left:27.273%}.gs-11>.grid-stack-item[gs-w=\"4\"]{width:36.364%}.gs-11>.grid-stack-item[gs-x=\"4\"]{left:36.364%}.gs-11>.grid-stack-item[gs-w=\"5\"]{width:45.455%}.gs-11>.grid-stack-item[gs-x=\"5\"]{left:45.455%}.gs-11>.grid-stack-item[gs-w=\"6\"]{width:54.545%}.gs-11>.grid-stack-item[gs-x=\"6\"]{left:54.545%}.gs-11>.grid-stack-item[gs-w=\"7\"]{width:63.636%}.gs-11>.grid-stack-item[gs-x=\"7\"]{left:63.636%}.gs-11>.grid-stack-item[gs-w=\"8\"]{width:72.727%}.gs-11>.grid-stack-item[gs-x=\"8\"]{left:72.727%}.gs-11>.grid-stack-item[gs-w=\"9\"]{width:81.818%}.gs-11>.grid-stack-item[gs-x=\"9\"]{left:81.818%}.gs-11>.grid-stack-item[gs-w=\"10\"]{width:90.909%}.gs-11>.grid-stack-item[gs-x=\"10\"]{left:90.909%}.gs-11>.grid-stack-item[gs-w=\"11\"]{width:100%}ax-grid-layout-container{display:block;border-style:solid;border-width:var(--ax-comp-grid-layout-container-border-width, 0px);border-color:rgba(var(--ax-comp-grid-layout-container-border-color, var(--ax-sys-color-border-surface)));background-color:rgba(var(--ax-comp-grid-layout-container-bg-color, transparent))}ax-grid-layout-container .grid-stack-placeholder>.placeholder-content{background-color:rgba(var(--ax-comp-grid-layout-placeholder-bg-color, var(--ax-sys-color-surface)))}ax-grid-layout-widget{display:block}.grid-stack-item{cursor:pointer;border-radius:var(--ax-comp-grid-layout-stack-item-border-radius, 0)}.grid-stack-item-content{display:flex;align-items:center;justify-content:center;border-style:solid;border-radius:var(--ax-comp-grid-layout-stack-item-content-border-radius, var(--ax-sys-border-radius));border-width:var(--ax-comp-grid-layout-stack-item-content-border-width, 1px);border-color:rgba(var(--ax-comp-grid-layout-stack-item-content-border-color, var(--ax-sys-color-border-surface)));background-color:rgba(var(--ax-comp-grid-layout-stack-item-content-bg-color, var(--ax-sys-color-surface)));overflow:auto;-webkit-user-select:none;user-select:none;text-align:center}.placeholder-content{top:0!important;right:0!important;bottom:0!important;left:0!important}.grid-stack-item-removing{animation:var(--ax-comp-grid-layout-stack-item-removing-animation, fadeAndBlur .5s linear forwards)}@keyframes fadeAndBlur{0%{opacity:1;filter:blur(0)}to{opacity:.8;filter:blur(5px)}}.grid-stack-trash{cursor:grabbing;min-height:var(--ax-comp-grid-layout-stack-trash-min-height, 120px);background-repeat:no-repeat;background-position:center center;background-image:var(--ax-comp-grid-layout-stack-trash-bg-image, url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDQzOC41MjkgNDM4LjUyOSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDM4LjUyOSA0MzguNTI5OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPGc+CgkJPHBhdGggZD0iTTQxNy42ODksNzUuNjU0Yy0xLjcxMS0xLjcwOS0zLjkwM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272
|
+
type: ContentChildren,
|
273
|
+
args: [AXGridLayoutWidgetComponent]
|
274
|
+
}] } });
|
704
275
|
|
705
|
-
/**
|
706
|
-
* gridstack.component.ts 11.1.1-dev
|
707
|
-
* Copyright (c) 2022-2024 Alain Dumesny - see GridStack root license
|
708
|
-
*/
|
709
276
|
class AXGridLayoutBuilderModule {
|
710
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
711
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.
|
712
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.
|
277
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXGridLayoutBuilderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
278
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.8", ngImport: i0, type: AXGridLayoutBuilderModule, imports: [CommonModule, AXGridLayoutContainerComponent, AXGridLayoutWidgetComponent], exports: [AXGridLayoutContainerComponent, AXGridLayoutWidgetComponent] }); }
|
279
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXGridLayoutBuilderModule, imports: [CommonModule] }); }
|
713
280
|
}
|
714
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
281
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXGridLayoutBuilderModule, decorators: [{
|
715
282
|
type: NgModule,
|
716
283
|
args: [{
|
717
|
-
imports: [CommonModule, AXGridLayoutContainerComponent, AXGridLayoutWidgetComponent
|
718
|
-
exports: [AXGridLayoutContainerComponent, AXGridLayoutWidgetComponent
|
284
|
+
imports: [CommonModule, AXGridLayoutContainerComponent, AXGridLayoutWidgetComponent],
|
285
|
+
exports: [AXGridLayoutContainerComponent, AXGridLayoutWidgetComponent],
|
719
286
|
}]
|
720
287
|
}] });
|
721
288
|
|
722
|
-
// //DYNAMIC
|
723
|
-
// export type AXNgCompInputs = { [key: string]: any };
|
724
|
-
// export type SelectorToType = { [key: string]: Type<object> }; // selector string to runtime Type mapping
|
725
|
-
// export interface AXNgGridLayoutWidget extends AXGridLayoutWidget {
|
726
|
-
// selector?: string; //Angular tag selector for this component to create at runtime
|
727
|
-
// input?: AXNgCompInputs; // serialized data for the component input fields
|
728
|
-
// subGridOpts?: AXNgGridLayoutOptions; // nested grid options
|
729
|
-
// }
|
730
|
-
// export interface AXNgGridLayoutNode extends AXGridLayoutNode {
|
731
|
-
// selector?: string; // component type to create as content
|
732
|
-
// }
|
733
|
-
// export interface AXNgGridLayoutOptions extends AXGridLayoutOptions {
|
734
|
-
// children?: AXNgGridLayoutWidget[];
|
735
|
-
// subGridOpts?: AXNgGridLayoutOptions;
|
736
|
-
// }
|
737
|
-
|
738
289
|
/**
|
739
290
|
* Generated bundle index. Do not edit.
|
740
291
|
*/
|
741
292
|
|
742
|
-
export { AXGridLayoutBuilderModule, AXGridLayoutContainerComponent, AXGridLayoutWidgetComponent
|
293
|
+
export { AXGridLayoutBuilderModule, AXGridLayoutContainerComponent, AXGridLayoutWidgetComponent };
|
743
294
|
//# sourceMappingURL=acorex-components-grid-layout-builder.mjs.map
|