@acorex/platform 19.1.12 → 19.1.13
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/fesm2022/acorex-platform-layout-entity.mjs +3 -1
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-widgets.mjs +1397 -1247
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/package.json +5 -5
- package/widgets/lib/properties/layout.props.d.ts +1 -0
- package/widgets/lib/widgets/editors/select/select-box-widget-edit.component.d.ts +3 -1
- package/widgets/lib/widgets/index.d.ts +1 -0
- package/widgets/lib/widgets/layout/advanced-grid/advanced-grid-widget-designer.component.d.ts +5 -13
- package/widgets/lib/widgets/layout/grid/grid-widget-designer.component.d.ts +3 -2
- package/widgets/lib/widgets/property-editors/advanced-grid-options/advanced-grid-options-widget-editor.component.d.ts +32 -0
- package/widgets/lib/widgets/property-editors/advanced-grid-options/advanced-grid-options-widget.config.d.ts +7 -0
- package/widgets/lib/widgets/property-editors/advanced-grid-options/advanced-grid-options-widget.type.d.ts +6 -0
- package/widgets/lib/widgets/property-editors/advanced-grid-options/index.d.ts +2 -0
- package/widgets/lib/widgets/property-editors/flex-options/flex-options-widget-editor.component.d.ts +3 -3
- package/widgets/lib/widgets/property-editors/grid-options/grid-options-widget-editor.component.d.ts +5 -5
- package/widgets/lib/widgets/property-editors/grid-options/grid-options-widget.type.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/platform",
|
|
3
|
-
"version": "19.1.
|
|
3
|
+
"version": "19.1.13",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=19.0.0",
|
|
6
6
|
"@angular/core": ">=19.0.0",
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"types": "./common/index.d.ts",
|
|
46
46
|
"default": "./fesm2022/acorex-platform-common.mjs"
|
|
47
47
|
},
|
|
48
|
-
"./native": {
|
|
49
|
-
"types": "./native/index.d.ts",
|
|
50
|
-
"default": "./fesm2022/acorex-platform-native.mjs"
|
|
51
|
-
},
|
|
52
48
|
"./core": {
|
|
53
49
|
"types": "./core/index.d.ts",
|
|
54
50
|
"default": "./fesm2022/acorex-platform-core.mjs"
|
|
55
51
|
},
|
|
52
|
+
"./native": {
|
|
53
|
+
"types": "./native/index.d.ts",
|
|
54
|
+
"default": "./fesm2022/acorex-platform-native.mjs"
|
|
55
|
+
},
|
|
56
56
|
"./widgets": {
|
|
57
57
|
"types": "./widgets/index.d.ts",
|
|
58
58
|
"default": "./fesm2022/acorex-platform-widgets.mjs"
|
|
@@ -21,3 +21,4 @@ export declare const AXP_LAYOUT_SPACING_PROPERTY: AXPWidgetProperty;
|
|
|
21
21
|
export declare const AXP_LAYOUT_BORDER_PROPERTY: AXPWidgetProperty;
|
|
22
22
|
export declare const AXP_LAYOUT_FLEX_PROPERTY: AXPWidgetProperty;
|
|
23
23
|
export declare const AXP_LAYOUT_GRID_PROPERTY: AXPWidgetProperty;
|
|
24
|
+
export declare const AXP_LAYOUT_ADVANCED_GRID_PROPERTY: AXPWidgetProperty;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { AXValueChangedEvent } from '@acorex/components/common';
|
|
1
|
+
import { AXDataSourceFilterOption, AXValueChangedEvent } from '@acorex/components/common';
|
|
2
2
|
import { AXPValidationRules } from '@acorex/platform/core';
|
|
3
3
|
import { AXPDataListWidgetComponent } from '@acorex/platform/layout/builder';
|
|
4
4
|
import { StrategyConfig } from '../../../widgets.config';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class AXPSelectBoxWidgetEditComponent extends AXPDataListWidgetComponent {
|
|
7
|
+
#private;
|
|
7
8
|
private selectbox;
|
|
8
9
|
protected widgetsConfigs: StrategyConfig;
|
|
9
10
|
protected validationRules: import("@angular/core").Signal<AXPValidationRules>;
|
|
@@ -12,6 +13,7 @@ export declare class AXPSelectBoxWidgetEditComponent extends AXPDataListWidgetCo
|
|
|
12
13
|
protected placeholder: import("@angular/core").Signal<string>;
|
|
13
14
|
protected hasClearButton: import("@angular/core").Signal<boolean>;
|
|
14
15
|
protected allowSearch: import("@angular/core").Signal<boolean>;
|
|
16
|
+
protected filter: import("@angular/core").Signal<AXDataSourceFilterOption>;
|
|
15
17
|
protected outputs(): string[];
|
|
16
18
|
protected handleValueChange(e: AXValueChangedEvent): void;
|
|
17
19
|
refresh(): void;
|
|
@@ -22,6 +22,7 @@ export * from './layout/advanced-grid';
|
|
|
22
22
|
export * from './layout/block';
|
|
23
23
|
export * from './layout/page';
|
|
24
24
|
export * from './layout/repeater';
|
|
25
|
+
export * from './property-editors/advanced-grid-options';
|
|
25
26
|
export * from './property-editors/border';
|
|
26
27
|
export * from './property-editors/flex-options';
|
|
27
28
|
export * from './property-editors/grid-options';
|
package/widgets/lib/widgets/layout/advanced-grid/advanced-grid-widget-designer.component.d.ts
CHANGED
|
@@ -9,19 +9,11 @@ export declare class AXPAdvancedGridWidgetDesignerComponent extends AXPWidgetCom
|
|
|
9
9
|
constructor();
|
|
10
10
|
protected widgetOption: AXGridLayoutNode;
|
|
11
11
|
gridOptions: AXGridLayoutOptions;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
protected cells: import("@angular/core").Signal<number>;
|
|
18
|
-
protected settled: import("@angular/core").Signal<number | false>;
|
|
19
|
-
protected handleDrawerSelect(e: {
|
|
20
|
-
rows: number;
|
|
21
|
-
cols: number;
|
|
22
|
-
}): void;
|
|
23
|
-
calcTotalCells(rows: string, cols: string): number;
|
|
24
|
-
calcGridRowOrColumn(value: string): number;
|
|
12
|
+
itemsCount: import("@angular/core").Signal<any>;
|
|
13
|
+
columns: import("@angular/core").Signal<any>;
|
|
14
|
+
justifyItems: import("@angular/core").Signal<any>;
|
|
15
|
+
alignItems: import("@angular/core").Signal<any>;
|
|
16
|
+
eff: import("@angular/core").EffectRef;
|
|
25
17
|
private get __class();
|
|
26
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPAdvancedGridWidgetDesignerComponent, never>;
|
|
27
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPAdvancedGridWidgetDesignerComponent, "axp-advanced-grid-layout-widget", never, {}, {}, never, never, true, never>;
|
|
@@ -5,8 +5,9 @@ export declare class AXPGridWidgetDesignerComponent extends AXPWidgetComponent<v
|
|
|
5
5
|
private designerService;
|
|
6
6
|
protected cols: import("@angular/core").Signal<number>;
|
|
7
7
|
protected rows: import("@angular/core").Signal<number>;
|
|
8
|
-
protected align: import("@angular/core").Signal<"
|
|
9
|
-
protected justify: import("@angular/core").Signal<"
|
|
8
|
+
protected align: import("@angular/core").Signal<"center" | "stretch" | "start" | "end">;
|
|
9
|
+
protected justify: import("@angular/core").Signal<"center" | "stretch" | "start" | "end">;
|
|
10
|
+
protected autoFlow: import("@angular/core").Signal<"col" | "row">;
|
|
10
11
|
protected gap: import("@angular/core").Signal<string>;
|
|
11
12
|
protected cells: import("@angular/core").Signal<number>;
|
|
12
13
|
protected settled: import("@angular/core").Signal<number | false>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { AXDataSource, AXValueChangedEvent } from '@acorex/components/common';
|
|
2
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
3
|
+
import { AXPGridBoxAlignmentOption, AXPGridBoxOption } from '../grid-options';
|
|
4
|
+
import { AXPAdvancedGridBoxValues } from './advanced-grid-options-widget.type';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AXPAdvancedGridOptionsWidgetEditComponent extends AXPWidgetComponent<AXPAdvancedGridBoxValues> {
|
|
7
|
+
#private;
|
|
8
|
+
protected gridSides: AXPGridBoxAlignmentOption[];
|
|
9
|
+
private rendered;
|
|
10
|
+
protected selectedJustify: import("@angular/core").WritableSignal<AXPGridBoxOption>;
|
|
11
|
+
protected selectedAlign: import("@angular/core").WritableSignal<AXPGridBoxOption>;
|
|
12
|
+
protected hoveredAlign: import("@angular/core").WritableSignal<"center" | "stretch" | "start" | "end" | null>;
|
|
13
|
+
protected hoveredJustify: import("@angular/core").WritableSignal<"center" | "stretch" | "start" | "end" | null>;
|
|
14
|
+
protected clickedAlign: import("@angular/core").WritableSignal<"center" | "stretch" | "start" | "end">;
|
|
15
|
+
protected clickedJustify: import("@angular/core").WritableSignal<"center" | "stretch" | "start" | "end">;
|
|
16
|
+
protected columns: import("@angular/core").WritableSignal<number>;
|
|
17
|
+
protected items: import("@angular/core").WritableSignal<number>;
|
|
18
|
+
protected changeValue(event: AXValueChangedEvent<any> | number, type: keyof AXPAdvancedGridBoxValues): void;
|
|
19
|
+
protected onClick(data: AXPGridBoxAlignmentOption): void;
|
|
20
|
+
protected onHover(data: AXPGridBoxAlignmentOption): void;
|
|
21
|
+
protected onHoverLeave(): void;
|
|
22
|
+
protected onJustifyChange(event: AXValueChangedEvent<any>): void;
|
|
23
|
+
protected onAlignChange(event: AXValueChangedEvent<any>): void;
|
|
24
|
+
private saveValue;
|
|
25
|
+
protected justifyDataSource: AXDataSource<AXPGridBoxOption>;
|
|
26
|
+
protected alignDataSource: AXDataSource<AXPGridBoxOption>;
|
|
27
|
+
private findAlignNameById;
|
|
28
|
+
private findJustifyNameById;
|
|
29
|
+
private initialValues;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPAdvancedGridOptionsWidgetEditComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPAdvancedGridOptionsWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
|
|
2
|
+
export declare const AXPAdvancedGridOptionsWidget: AXPWidgetConfig;
|
|
3
|
+
declare module '@acorex/platform/layout/builder' {
|
|
4
|
+
interface AXPWidgetTypesMap {
|
|
5
|
+
advancedGridOptions: 'advanced-grid-options';
|
|
6
|
+
}
|
|
7
|
+
}
|
package/widgets/lib/widgets/property-editors/flex-options/flex-options-widget-editor.component.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare class AXPFlexOptionsWidgetEditComponent extends AXPWidgetComponen
|
|
|
6
6
|
#private;
|
|
7
7
|
private rendered;
|
|
8
8
|
protected flexSides: AXPFlexBoxAlignmentOption[];
|
|
9
|
-
protected flexDirection: import("@angular/core").WritableSignal<"row" | "
|
|
9
|
+
protected flexDirection: import("@angular/core").WritableSignal<"row" | "row-reverse" | "column" | "column-reverse">;
|
|
10
10
|
protected flexWrap: import("@angular/core").WritableSignal<"nowrap" | "wrap" | "wrap-reverse">;
|
|
11
11
|
protected flexDirectionIsColumn: import("@angular/core").Signal<boolean>;
|
|
12
12
|
protected flexDirectionIsReverse: import("@angular/core").Signal<boolean>;
|
|
@@ -17,9 +17,9 @@ export declare class AXPFlexOptionsWidgetEditComponent extends AXPWidgetComponen
|
|
|
17
17
|
protected lastGap: import("@angular/core").WritableSignal<number>;
|
|
18
18
|
protected selectedJustify: import("@angular/core").WritableSignal<AXPFlexBoxOption>;
|
|
19
19
|
protected selectedAlign: import("@angular/core").WritableSignal<AXPFlexBoxOption>;
|
|
20
|
-
protected hoveredAlign: import("@angular/core").WritableSignal<"center" | "
|
|
20
|
+
protected hoveredAlign: import("@angular/core").WritableSignal<"center" | "flex-start" | "flex-end" | "stretch" | "baseline" | null>;
|
|
21
21
|
protected hoveredJustify: import("@angular/core").WritableSignal<"center" | "flex-start" | "flex-end" | "space-between" | "space-around" | null>;
|
|
22
|
-
protected clickedAlign: import("@angular/core").WritableSignal<"center" | "
|
|
22
|
+
protected clickedAlign: import("@angular/core").WritableSignal<"center" | "flex-start" | "flex-end" | "stretch" | "baseline">;
|
|
23
23
|
protected clickedJustify: import("@angular/core").WritableSignal<"center" | "flex-start" | "flex-end" | "space-between" | "space-around">;
|
|
24
24
|
protected setWrapMode(type: AXPFlexBoxValues['flexWrap']): void;
|
|
25
25
|
protected setGapMode(): void;
|
package/widgets/lib/widgets/property-editors/grid-options/grid-options-widget-editor.component.d.ts
CHANGED
|
@@ -16,17 +16,17 @@ export declare class AXPGridOptionsWidgetEditComponent extends AXPWidgetComponen
|
|
|
16
16
|
}[];
|
|
17
17
|
protected gridTemplateColumns: import("@angular/core").WritableSignal<number>;
|
|
18
18
|
protected gridTemplateRows: import("@angular/core").WritableSignal<number>;
|
|
19
|
-
protected gridDirection: import("@angular/core").WritableSignal<"
|
|
19
|
+
protected gridDirection: import("@angular/core").WritableSignal<"col" | "row">;
|
|
20
20
|
protected gapUnit: import("@angular/core").WritableSignal<string>;
|
|
21
21
|
protected gap: import("@angular/core").WritableSignal<Record<"x" | "y", number>>;
|
|
22
22
|
protected gapMode: import("@angular/core").WritableSignal<"multiple" | "single">;
|
|
23
23
|
protected lastGap: import("@angular/core").WritableSignal<number>;
|
|
24
24
|
protected selectedJustify: import("@angular/core").WritableSignal<AXPGridBoxOption>;
|
|
25
25
|
protected selectedAlign: import("@angular/core").WritableSignal<AXPGridBoxOption>;
|
|
26
|
-
protected hoveredAlign: import("@angular/core").WritableSignal<"
|
|
27
|
-
protected hoveredJustify: import("@angular/core").WritableSignal<"
|
|
28
|
-
protected clickedAlign: import("@angular/core").WritableSignal<"
|
|
29
|
-
protected clickedJustify: import("@angular/core").WritableSignal<"
|
|
26
|
+
protected hoveredAlign: import("@angular/core").WritableSignal<"center" | "stretch" | "start" | "end" | null>;
|
|
27
|
+
protected hoveredJustify: import("@angular/core").WritableSignal<"center" | "stretch" | "start" | "end" | null>;
|
|
28
|
+
protected clickedAlign: import("@angular/core").WritableSignal<"center" | "stretch" | "start" | "end">;
|
|
29
|
+
protected clickedJustify: import("@angular/core").WritableSignal<"center" | "stretch" | "start" | "end">;
|
|
30
30
|
protected setGridDirection(value: AXPGridBoxValues['gridAutoFlow']): void;
|
|
31
31
|
protected setRowOrColumn(value: number, type: 'column' | 'row'): void;
|
|
32
32
|
protected toggleGapMode(): void;
|
|
@@ -6,7 +6,7 @@ export interface AXPGridBoxValues {
|
|
|
6
6
|
gap: string;
|
|
7
7
|
justifyItems: 'start' | 'end' | 'center' | 'stretch';
|
|
8
8
|
alignItems: 'start' | 'end' | 'center' | 'stretch';
|
|
9
|
-
gridAutoFlow: 'row' | '
|
|
9
|
+
gridAutoFlow: 'row' | 'col';
|
|
10
10
|
}
|
|
11
11
|
export interface AXPGridBoxOption {
|
|
12
12
|
value: string;
|