@acorex/platform 19.4.5 → 19.4.6

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.
Files changed (24) hide show
  1. package/fesm2022/acorex-platform-layout-builder.mjs +2 -0
  2. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
  3. package/fesm2022/acorex-platform-layout-entity.mjs +4 -2
  4. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  5. package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-9XMpubtr.mjs → acorex-platform-widgets-page-widget-designer.component-DuKrIkHh.mjs} +2 -1
  6. package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-9XMpubtr.mjs.map → acorex-platform-widgets-page-widget-designer.component-DuKrIkHh.mjs.map} +1 -1
  7. package/fesm2022/acorex-platform-widgets.mjs +389 -70
  8. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  9. package/layout/builder/lib/builder/widget-map.d.ts +2 -0
  10. package/package.json +11 -11
  11. package/widgets/lib/properties/layout.props.d.ts +1 -0
  12. package/widgets/lib/widgets/advance/map/map-box-widget-edit.component.d.ts +0 -1
  13. package/widgets/lib/widgets/index.d.ts +2 -0
  14. package/widgets/lib/widgets/layout/block/block-widget-view.component.d.ts +0 -2
  15. package/widgets/lib/widgets/layout/block/block-widget.config.d.ts +1 -0
  16. package/widgets/lib/widgets/layout/flex/flex-widget-designer.component.d.ts +10 -0
  17. package/widgets/lib/widgets/layout/flex/flex-widget-view.component.d.ts +10 -0
  18. package/widgets/lib/widgets/layout/flex/flex-widget.config.d.ts +28 -0
  19. package/widgets/lib/widgets/layout/flex/index.d.ts +3 -0
  20. package/widgets/lib/widgets/layout/grid/grid-widget-view.component.d.ts +6 -1
  21. package/widgets/lib/widgets/property-editors/direction/direction-widget-editor.component.d.ts +13 -0
  22. package/widgets/lib/widgets/property-editors/direction/direction-widget.config.d.ts +7 -0
  23. package/widgets/lib/widgets/property-editors/direction/index.d.ts +2 -0
  24. package/widgets/lib/widgets/property-editors/spacing/spacing-widget-editor.component.d.ts +1 -1
@@ -42,6 +42,8 @@ export interface AXPWidgetTypesMap {
42
42
  cronJob: 'cron-job';
43
43
  spacing: 'spacing';
44
44
  border: 'border';
45
+ direction: 'direction';
46
+ flexLayout: 'flex-layout';
45
47
  avatar: 'avatar';
46
48
  stringFilter: 'string-filter';
47
49
  numberFilter: 'number-filter';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/platform",
3
- "version": "19.4.5",
3
+ "version": "19.4.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=19.0.0",
6
6
  "@angular/core": ">=19.0.0",
@@ -40,25 +40,25 @@
40
40
  "types": "./index.d.ts",
41
41
  "default": "./fesm2022/acorex-platform.mjs"
42
42
  },
43
- "./domain": {
44
- "types": "./domain/index.d.ts",
45
- "default": "./fesm2022/acorex-platform-domain.mjs"
46
- },
47
43
  "./auth": {
48
44
  "types": "./auth/index.d.ts",
49
45
  "default": "./fesm2022/acorex-platform-auth.mjs"
50
46
  },
51
- "./native": {
52
- "types": "./native/index.d.ts",
53
- "default": "./fesm2022/acorex-platform-native.mjs"
47
+ "./common": {
48
+ "types": "./common/index.d.ts",
49
+ "default": "./fesm2022/acorex-platform-common.mjs"
54
50
  },
55
51
  "./core": {
56
52
  "types": "./core/index.d.ts",
57
53
  "default": "./fesm2022/acorex-platform-core.mjs"
58
54
  },
59
- "./common": {
60
- "types": "./common/index.d.ts",
61
- "default": "./fesm2022/acorex-platform-common.mjs"
55
+ "./domain": {
56
+ "types": "./domain/index.d.ts",
57
+ "default": "./fesm2022/acorex-platform-domain.mjs"
58
+ },
59
+ "./native": {
60
+ "types": "./native/index.d.ts",
61
+ "default": "./fesm2022/acorex-platform-native.mjs"
62
62
  },
63
63
  "./runtime": {
64
64
  "types": "./runtime/index.d.ts",
@@ -17,3 +17,4 @@ export declare const AXP_LAYOUT_FLEX_PROPERTY: AXPWidgetProperty;
17
17
  export declare const AXP_LAYOUT_GRID_PROPERTY: AXPWidgetProperty;
18
18
  export declare const AXP_LAYOUT_ADVANCED_GRID_PROPERTY: AXPWidgetProperty;
19
19
  export declare const AXP_LAYOUT_SHOW_HEADER_PROPERTY: AXPWidgetProperty;
20
+ export declare const AXP_LAYOUT_DIRECTION_PROPERTY: AXPWidgetProperty;
@@ -3,7 +3,6 @@ import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
3
3
  import { ChangeDetectorRef } from '@angular/core';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class AXPMapBoxWidgetEditComponent extends AXPValueWidgetComponent<AXMapData | undefined> {
6
- #private;
7
6
  cdr: ChangeDetectorRef;
8
7
  markers: import("@angular/core").Signal<import("@acorex/components/map").AXMapMarker[]>;
9
8
  polygons: import("@angular/core").Signal<AXMapPolygon[]>;
@@ -22,10 +22,12 @@ export * from './advance/signature';
22
22
  export * from './layout/advanced-grid';
23
23
  export * from './layout/advanced-grid-item';
24
24
  export * from './layout/block';
25
+ export * from './layout/flex';
25
26
  export * from './layout/page';
26
27
  export * from './layout/repeater';
27
28
  export * from './property-editors/advanced-grid-options';
28
29
  export * from './property-editors/border';
30
+ export * from './property-editors/direction';
29
31
  export * from './property-editors/flex-options';
30
32
  export * from './property-editors/grid-options';
31
33
  export * from './property-editors/property-editor-helper';
@@ -1,10 +1,8 @@
1
1
  import { AXPLayoutWidgetComponent } from '@acorex/platform/layout/builder';
2
- import { AXPLayoutFlexStyles } from '@acorex/platform/core';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class AXPBlockWidgetViewComponent extends AXPLayoutWidgetComponent {
5
4
  protected backgroundColor: import("@angular/core").Signal<string>;
6
5
  protected cssClass: import("@angular/core").Signal<string>;
7
- protected flex: import("@angular/core").Signal<AXPLayoutFlexStyles>;
8
6
  private get __class();
9
7
  private get __style();
10
8
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPBlockWidgetViewComponent, never>;
@@ -9,6 +9,7 @@ export interface AXPBlockWidgetOptions {
9
9
  backgroundColor?: string;
10
10
  cssClass?: string;
11
11
  canInsert?: boolean;
12
+ direction?: string;
12
13
  spacing?: {
13
14
  padding?: string;
14
15
  margin?: string;
@@ -0,0 +1,10 @@
1
+ import { AXPLayoutWidgetComponent } from '@acorex/platform/layout/builder';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXPFlexWidgetDesignerComponent extends AXPLayoutWidgetComponent {
4
+ protected backgroundColor: import("@angular/core").Signal<string>;
5
+ protected cssClass: import("@angular/core").Signal<string>;
6
+ private get __class();
7
+ private get __style();
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPFlexWidgetDesignerComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPFlexWidgetDesignerComponent, "axp-flex-widget", never, {}, {}, never, never, true, never>;
10
+ }
@@ -0,0 +1,10 @@
1
+ import { AXPLayoutWidgetComponent } from '@acorex/platform/layout/builder';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXPFlexWidgetViewComponent extends AXPLayoutWidgetComponent {
4
+ protected backgroundColor: import("@angular/core").Signal<string>;
5
+ protected cssClass: import("@angular/core").Signal<string>;
6
+ private get __class();
7
+ private get __style();
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPFlexWidgetViewComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPFlexWidgetViewComponent, "axp-flex-widget", never, {}, {}, never, never, true, never>;
10
+ }
@@ -0,0 +1,28 @@
1
+ import { AXPLayoutFlexStyles } from '@acorex/platform/core';
2
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
3
+ export declare const AXPFlexWidget: AXPWidgetConfig<AXPFlexWidgetConfigType>;
4
+ declare module '@acorex/platform/layout/builder' {
5
+ interface AXPWidgetTypesMap {
6
+ flexLayout: 'flex-layout';
7
+ }
8
+ }
9
+ export type AXPFlexWidgetConfigType = {
10
+ type: 'container';
11
+ };
12
+ export interface AXPFlexWidgetOptions {
13
+ flex?: AXPLayoutFlexStyles;
14
+ backgroundColor?: string;
15
+ cssClass?: string;
16
+ canInsert?: boolean;
17
+ direction?: string;
18
+ spacing?: {
19
+ padding?: string;
20
+ margin?: string;
21
+ };
22
+ border?: {
23
+ radius?: string;
24
+ width?: string;
25
+ color?: string;
26
+ style?: string;
27
+ };
28
+ }
@@ -0,0 +1,3 @@
1
+ export * from './flex-widget-designer.component';
2
+ export * from './flex-widget-view.component';
3
+ export * from './flex-widget.config';
@@ -3,7 +3,12 @@ import * as i0 from "@angular/core";
3
3
  export declare class AXPGridWidgetViewComponent extends AXPLayoutWidgetComponent {
4
4
  protected cols: import("@angular/core").Signal<number>;
5
5
  protected rows: import("@angular/core").Signal<number>;
6
- protected gap: import("@angular/core").Signal<number>;
6
+ protected align: import("@angular/core").Signal<"start" | "end" | "center" | "stretch">;
7
+ protected justify: import("@angular/core").Signal<"start" | "end" | "center" | "stretch">;
8
+ protected autoFlow: import("@angular/core").Signal<"col" | "row">;
9
+ protected gap: import("@angular/core").Signal<string>;
10
+ calcGridRowOrColumn(value: string): number;
11
+ private get __class();
7
12
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPGridWidgetViewComponent, never>;
8
13
  static ɵcmp: i0.ɵɵComponentDeclaration<AXPGridWidgetViewComponent, "axp-grid-layout-widget", never, {}, {}, never, never, true, never>;
9
14
  }
@@ -0,0 +1,13 @@
1
+ import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXPDirectionWidgetEditComponent extends AXPValueWidgetComponent<string> {
4
+ protected direction: import("@angular/core").Signal<string>;
5
+ protected directionOptions: {
6
+ id: string;
7
+ text: string;
8
+ icon: string;
9
+ }[];
10
+ protected setDirection(value: string): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPDirectionWidgetEditComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPDirectionWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
13
+ }
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ export declare const AXPDirectionWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ direction: 'direction';
6
+ }
7
+ }
@@ -0,0 +1,2 @@
1
+ export * from './direction-widget-editor.component';
2
+ export * from './direction-widget.config';
@@ -3,6 +3,7 @@ import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
3
3
  import { AXPPropertyEditorSideValues, AXPSpacingBox, AXPSpacingBoxDefaultValues, AXPSpacingBoxString } from '../property-editor.type';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class AXPSpacingWidgetEditComponent extends AXPValueWidgetComponent<AXPSpacingBoxString> {
6
+ #private;
6
7
  private ngZone;
7
8
  private rendered;
8
9
  private isDragging;
@@ -20,7 +21,6 @@ export declare class AXPSpacingWidgetEditComponent extends AXPValueWidgetCompone
20
21
  protected openPopUp(event: Event, type: keyof AXPSpacingBox, side: AXPPropertyEditorSideValues): void;
21
22
  protected listenToMove(event: Event, type: keyof AXPSpacingBox, side: AXPPropertyEditorSideValues): void;
22
23
  private getClientCoordinates;
23
- private afterRender;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPSpacingWidgetEditComponent, never>;
25
25
  static ɵcmp: i0.ɵɵComponentDeclaration<AXPSpacingWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
26
26
  }