@acorex/platform 19.3.2 → 19.3.3-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/lib/layout/menu/menu.types.d.ts +0 -1
- package/core/lib/expression-evaluator/expression-evaluator.service.d.ts +2 -0
- package/core/lib/types/interactive.types.d.ts +21 -0
- package/core/lib/types/layout.types.d.ts +4 -4
- package/core/lib/utils/object-util.d.ts +1 -0
- package/fesm2022/acorex-platform-common.mjs +2 -1
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +64 -11
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +2 -1
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +0 -1
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +2 -2
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +0 -2
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +287 -0
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-details-view.component-CAa99Vts.mjs +107 -0
- package/fesm2022/acorex-platform-themes-default-details-view.component-CAa99Vts.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-Ol8haGqF.mjs → acorex-platform-themes-default-entity-master-list-view.component-BgE6rxsd.mjs} +5 -6
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BgE6rxsd.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-BBJ7Aapd.mjs → acorex-platform-themes-default-entity-master-single-view.component-CnrccLHY.mjs} +9 -9
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-BBJ7Aapd.mjs.map → acorex-platform-themes-default-entity-master-single-view.component-CnrccLHY.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +45 -298
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-widgets.mjs +543 -63
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/layout/builder/lib/builder/index.d.ts +0 -1
- package/layout/builder/lib/builder/widget-map.d.ts +1 -0
- package/layout/builder/lib/builder/widget.types.d.ts +1 -0
- package/layout/{setting → views}/README.md +1 -1
- package/layout/views/index.d.ts +2 -0
- package/layout/views/lib/details-view/details-view-route.resolver.d.ts +3 -0
- package/layout/views/lib/details-view/details-view.adapter.d.ts +13 -0
- package/layout/views/lib/details-view/details-view.viewmodel.d.ts +30 -0
- package/layout/views/lib/details-view/index.d.ts +3 -0
- package/layout/views/lib/details-view/sample.d.ts +2 -0
- package/layout/views/lib/shared/index.d.ts +1 -0
- package/layout/views/lib/shared/layout.types.d.ts +7 -0
- package/package.json +4 -8
- package/themes/default/index.d.ts +0 -1
- package/themes/default/lib/layouts/base/base-page.component.d.ts +1 -4
- package/themes/default/lib/layouts/base/index.d.ts +0 -1
- package/themes/default/lib/layouts/base/page-layout/page-layout.component.d.ts +1 -0
- package/themes/default/lib/layouts/details-view/details-view.component.d.ts +45 -0
- package/widgets/lib/properties/layout.props.d.ts +1 -0
- package/widgets/lib/widgets/advance/cron-job/cron-job-widget-designer.component.d.ts +1 -0
- package/widgets/lib/widgets/advance/cron-job/cron-job-widget-edit.component.d.ts +1 -0
- package/widgets/lib/widgets/editors/time-duration/index.d.ts +6 -0
- package/widgets/lib/widgets/editors/time-duration/time-duration-widget-column.component.d.ts +6 -0
- package/widgets/lib/widgets/editors/time-duration/time-duration-widget-edit.component.d.ts +12 -0
- package/widgets/lib/widgets/editors/time-duration/time-duration-widget-filter.component.d.ts +6 -0
- package/widgets/lib/widgets/editors/time-duration/time-duration-widget-print.component.d.ts +6 -0
- package/widgets/lib/widgets/editors/time-duration/time-duration-widget-view.component.d.ts +7 -0
- package/widgets/lib/widgets/editors/time-duration/time-duration-widget.config.d.ts +11 -0
- package/widgets/lib/widgets/filters/select-filter/select-filter-widget-edit.component.d.ts +4 -1
- package/widgets/lib/widgets/layout/form-field/form-field-widget-designer.component.d.ts +2 -2
- package/widgets/lib/widgets/layout/tabset/index.d.ts +3 -0
- package/widgets/lib/widgets/layout/tabset/tabset-widget-designer.component.d.ts +6 -0
- package/widgets/lib/widgets/layout/tabset/tabset-widget-view.component.d.ts +19 -0
- package/widgets/lib/widgets/layout/tabset/tabset-widget.config.d.ts +2 -0
- package/widgets/lib/widgets/layout/tabset/tabset-widget.types.d.ts +2 -0
- package/widgets/lib/widgets/layout/tabset-item/index.d.ts +3 -0
- package/widgets/lib/widgets/layout/tabset-item/tabset-item-widget-designer.component.d.ts +6 -0
- package/widgets/lib/widgets/layout/tabset-item/tabset-item-widget-view.component.d.ts +10 -0
- package/widgets/lib/widgets/layout/tabset-item/tabset-item-widget.config.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/flex-options/flex-options-widget.type.d.ts +2 -2
- package/fesm2022/acorex-platform-layout-search.mjs +0 -279
- package/fesm2022/acorex-platform-layout-search.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-setting.mjs +0 -406
- package/fesm2022/acorex-platform-layout-setting.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-Ol8haGqF.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-search-popup.component-ChJiJ12h.mjs +0 -128
- package/fesm2022/acorex-platform-themes-default-search-popup.component-ChJiJ12h.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-setting-page.component-BxGzaKws.mjs +0 -219
- package/fesm2022/acorex-platform-themes-default-setting-page.component-BxGzaKws.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-setting-view.component-CjmlI9Jb.mjs +0 -103
- package/fesm2022/acorex-platform-themes-default-setting-view.component-CjmlI9Jb.mjs.map +0 -1
- package/layout/builder/lib/builder/view.types.d.ts +0 -94
- package/layout/search/README.md +0 -3
- package/layout/search/index.d.ts +0 -1
- package/layout/search/lib/index.d.ts +0 -3
- package/layout/search/lib/search-slot.component.d.ts +0 -9
- package/layout/search/lib/search.config.d.ts +0 -5
- package/layout/search/lib/search.module.d.ts +0 -11
- package/layout/search/lib/search.viewmodel.d.ts +0 -34
- package/layout/search/lib/workflows/search.workflow.d.ts +0 -11
- package/layout/setting/index.d.ts +0 -2
- package/layout/setting/lib/convert-setting-data.d.ts +0 -2
- package/layout/setting/lib/search-definition.provider.d.ts +0 -4
- package/layout/setting/lib/search.provider.d.ts +0 -9
- package/layout/setting/lib/setting.viewmodel.d.ts +0 -46
- package/layout/setting/lib/settings.module.d.ts +0 -9
- package/themes/default/lib/layouts/base/simple-page/index.d.ts +0 -1
- package/themes/default/lib/layouts/base/simple-page/simple-page.layout.d.ts +0 -78
- package/themes/default/lib/layouts/search-layout/search-popup.component.d.ts +0 -22
- package/themes/default/lib/layouts/setting-layout/setting-page/setting-page.component.d.ts +0 -65
- package/themes/default/lib/layouts/setting-layout/setting-view/setting-view.component.d.ts +0 -135
- package/themes/default/lib/layouts/view-layouts/index.d.ts +0 -1
- package/themes/default/lib/layouts/view-layouts/layout-detail-view/layout-detail-view.component.d.ts +0 -19
|
@@ -125,6 +125,7 @@ export type AXPExtractWidgetConfig<T> = {
|
|
|
125
125
|
};
|
|
126
126
|
export interface AXPWidgetConfig<T = any> {
|
|
127
127
|
name: AXPWidgetTypesMap[keyof AXPWidgetTypesMap] | keyof AXPWidgetTypesMap | string;
|
|
128
|
+
alias?: string | string[];
|
|
128
129
|
title: string;
|
|
129
130
|
icon?: string;
|
|
130
131
|
description?: string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AXPActionMenuItem, AXPExecuteCommand, AXPExecuteCommandResult, AXPLoadResourceResult } from "@acorex/platform/core";
|
|
2
|
+
import { AXPLayoutAdapter } from "../shared";
|
|
3
|
+
import { AXPWidgetNode } from "@acorex/platform/layout/builder";
|
|
4
|
+
export interface AXPLayoutDetailsViewAdapter extends AXPLayoutAdapter {
|
|
5
|
+
actions?: (AXPActionMenuItem & {
|
|
6
|
+
priority: 'primary' | 'secondary';
|
|
7
|
+
zone: 'header' | 'footer';
|
|
8
|
+
})[];
|
|
9
|
+
content: AXPWidgetNode[];
|
|
10
|
+
load: (params: Record<string, any>) => Promise<AXPLoadResourceResult>;
|
|
11
|
+
save: (context: {}) => Promise<AXPExecuteCommandResult>;
|
|
12
|
+
execute: (command: AXPExecuteCommand, context: {}) => Promise<AXPExecuteCommandResult>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AXPExpressionEvaluatorScope } from '@acorex/platform/core';
|
|
2
|
+
import { AXPPageStatus } from '@acorex/platform/layout/builder';
|
|
3
|
+
import { AXPLayoutDetailsViewAdapter } from './details-view.adapter';
|
|
4
|
+
export declare const AXPLayoutDetailsViewViewModel: import("@angular/core").Type<{
|
|
5
|
+
adapter: import("@angular/core").Signal<AXPLayoutDetailsViewAdapter | null>;
|
|
6
|
+
previousContext: import("@angular/core").Signal<Record<string, any>>;
|
|
7
|
+
context: import("@angular/core").Signal<Record<string, any>>;
|
|
8
|
+
scope: import("@angular/core").Signal<AXPExpressionEvaluatorScope | null>;
|
|
9
|
+
status: import("@angular/core").Signal<AXPPageStatus>;
|
|
10
|
+
icon: import("@angular/core").Signal<string | null>;
|
|
11
|
+
content: import("@angular/core").Signal<import("@acorex/platform/layout/builder").AXPWidgetNode[]>;
|
|
12
|
+
isBusy: import("@angular/core").Signal<boolean>;
|
|
13
|
+
isSaving: import("@angular/core").Signal<boolean>;
|
|
14
|
+
isDirty: import("@angular/core").Signal<boolean>;
|
|
15
|
+
isLoaded: import("@angular/core").Signal<boolean>;
|
|
16
|
+
load: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
17
|
+
updateContext: (context: any) => void;
|
|
18
|
+
title: () => Promise<any>;
|
|
19
|
+
description: () => Promise<any>;
|
|
20
|
+
primaryActions: () => Promise<any>;
|
|
21
|
+
secondaryActions: () => Promise<any>;
|
|
22
|
+
discard: () => Promise<void>;
|
|
23
|
+
save: () => Promise<void>;
|
|
24
|
+
} & import("@ngrx/signals").StateSource<{
|
|
25
|
+
adapter: AXPLayoutDetailsViewAdapter | null;
|
|
26
|
+
previousContext: Record<string, any>;
|
|
27
|
+
context: Record<string, any>;
|
|
28
|
+
scope: AXPExpressionEvaluatorScope | null;
|
|
29
|
+
status: AXPPageStatus;
|
|
30
|
+
}>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './layout.types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/platform",
|
|
3
|
-
"version": "19.3.
|
|
3
|
+
"version": "19.3.3-next.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=19.0.0",
|
|
6
6
|
"@angular/core": ">=19.0.0",
|
|
@@ -84,13 +84,9 @@
|
|
|
84
84
|
"types": "./layout/filters/index.d.ts",
|
|
85
85
|
"default": "./fesm2022/acorex-platform-layout-filters.mjs"
|
|
86
86
|
},
|
|
87
|
-
"./layout/
|
|
88
|
-
"types": "./layout/
|
|
89
|
-
"default": "./fesm2022/acorex-platform-layout-
|
|
90
|
-
},
|
|
91
|
-
"./layout/setting": {
|
|
92
|
-
"types": "./layout/setting/index.d.ts",
|
|
93
|
-
"default": "./fesm2022/acorex-platform-layout-setting.mjs"
|
|
87
|
+
"./layout/views": {
|
|
88
|
+
"types": "./layout/views/index.d.ts",
|
|
89
|
+
"default": "./fesm2022/acorex-platform-layout-views.mjs"
|
|
94
90
|
},
|
|
95
91
|
"./themes/default": {
|
|
96
92
|
"types": "./themes/default/index.d.ts",
|
|
@@ -5,7 +5,6 @@ import { AXPSessionService } from '@acorex/platform/auth';
|
|
|
5
5
|
import { AXPHomePageService } from '@acorex/platform/common';
|
|
6
6
|
import { AXPActionMenuItem, AXPBackButton, AXPBreadcrumbItem, AXPExecuteCommand } from '@acorex/platform/core';
|
|
7
7
|
import { AXPPageLayoutComponent } from './page-layout';
|
|
8
|
-
import { AXPSimplePageLayout } from './simple-page';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
export declare abstract class AXPBasePageComponent {
|
|
11
10
|
#private;
|
|
@@ -88,9 +87,7 @@ export declare abstract class AXPBasePageComponent {
|
|
|
88
87
|
private breadcrumbs;
|
|
89
88
|
private hasBreadcrumbs;
|
|
90
89
|
protected getPageBreadcrumbs(): AXPBreadcrumbItem[] | Promise<AXPBreadcrumbItem[]>;
|
|
91
|
-
|
|
92
|
-
private newLayout;
|
|
93
|
-
protected layout: import("@angular/core").Signal<AXPSimplePageLayout | AXPPageLayoutComponent | undefined>;
|
|
90
|
+
protected layout: import("@angular/core").Signal<AXPPageLayoutComponent | undefined>;
|
|
94
91
|
protected toggleEndSide(): void;
|
|
95
92
|
protected toggleStartSide(): void;
|
|
96
93
|
primaryMenuItems: import("@angular/core").WritableSignal<AXPActionMenuItem[]>;
|
|
@@ -76,6 +76,7 @@ export declare class AXPPageLayoutComponent {
|
|
|
76
76
|
protected handleSecondaryActionClick(item: AXPActionMenuItem): void;
|
|
77
77
|
protected handleBackdropClick(e: AXClickEvent): boolean;
|
|
78
78
|
protected execute(command: AXPExecuteCommand): Promise<void>;
|
|
79
|
+
protected handleOnBackdropClick(event: MouseEvent): void;
|
|
79
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPPageLayoutComponent, never>;
|
|
80
81
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPPageLayoutComponent, "axp-page-layout", never, {}, {}, never, ["axp-layout-start-side", "axp-page-toolbar", "axp-page-content", "axp-page-footer"], true, [{ directive: typeof i1.AXDrawerContainerDirective; inputs: {}; outputs: {}; }]>;
|
|
81
82
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { AXPLayoutContextChangeEvent } from '@acorex/platform/layout/builder';
|
|
3
|
+
import { AXPActionMenuItem, AXPExpressionEvaluatorScope } from '@acorex/platform/core';
|
|
4
|
+
import { AXPBasePageComponent } from '../base';
|
|
5
|
+
import { AXPLayoutDetailsViewAdapter } from '@acorex/platform/layout/views';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class AXPLayoutDetailsViewComponent extends AXPBasePageComponent implements OnInit, OnDestroy {
|
|
8
|
+
adapter: import("@angular/core").InputSignal<AXPLayoutDetailsViewAdapter>;
|
|
9
|
+
protected vm: {
|
|
10
|
+
adapter: import("@angular/core").Signal<AXPLayoutDetailsViewAdapter | null>;
|
|
11
|
+
previousContext: import("@angular/core").Signal<Record<string, any>>;
|
|
12
|
+
context: import("@angular/core").Signal<Record<string, any>>;
|
|
13
|
+
scope: import("@angular/core").Signal<AXPExpressionEvaluatorScope | null>;
|
|
14
|
+
status: import("@angular/core").Signal<import("@acorex/platform/layout/builder").AXPPageStatus>;
|
|
15
|
+
icon: import("@angular/core").Signal<string | null>;
|
|
16
|
+
content: import("@angular/core").Signal<import("@acorex/platform/layout/builder").AXPWidgetNode[]>;
|
|
17
|
+
isBusy: import("@angular/core").Signal<boolean>;
|
|
18
|
+
isSaving: import("@angular/core").Signal<boolean>;
|
|
19
|
+
isDirty: import("@angular/core").Signal<boolean>;
|
|
20
|
+
isLoaded: import("@angular/core").Signal<boolean>;
|
|
21
|
+
load: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
22
|
+
updateContext: (context: any) => void;
|
|
23
|
+
title: () => Promise<any>;
|
|
24
|
+
description: () => Promise<any>;
|
|
25
|
+
primaryActions: () => Promise<any>;
|
|
26
|
+
secondaryActions: () => Promise<any>;
|
|
27
|
+
discard: () => Promise<void>;
|
|
28
|
+
save: () => Promise<void>;
|
|
29
|
+
} & import("@ngrx/signals").StateSource<{
|
|
30
|
+
adapter: AXPLayoutDetailsViewAdapter | null;
|
|
31
|
+
previousContext: Record<string, any>;
|
|
32
|
+
context: Record<string, any>;
|
|
33
|
+
scope: AXPExpressionEvaluatorScope | null;
|
|
34
|
+
status: import("@acorex/platform/layout/builder").AXPPageStatus;
|
|
35
|
+
}>;
|
|
36
|
+
ngOnInit(): Promise<void>;
|
|
37
|
+
ngOnDestroy(): void;
|
|
38
|
+
protected handleOnContextChanged(e: AXPLayoutContextChangeEvent): void;
|
|
39
|
+
protected getPrimaryMenuItems(): Promise<AXPActionMenuItem[]>;
|
|
40
|
+
protected getSecondaryMenuItems(): Promise<AXPActionMenuItem[]>;
|
|
41
|
+
protected getPageTitle(): Promise<string>;
|
|
42
|
+
getPageDescription(): Promise<string | null>;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLayoutDetailsViewComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLayoutDetailsViewComponent, "ng-component", never, { "adapter": { "alias": "adapter"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
45
|
+
}
|
|
@@ -16,3 +16,4 @@ export declare const AXP_LAYOUT_BORDER_PROPERTY: AXPWidgetProperty;
|
|
|
16
16
|
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
|
+
export declare const AXP_LAYOUT_SHOW_HEADER_PROPERTY: AXPWidgetProperty;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class AXPCronJobWidgetDesignerComponent extends AXPValueWidgetComponent<any> {
|
|
4
|
+
expreesion: import("@angular/core").WritableSignal<string>;
|
|
4
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPCronJobWidgetDesignerComponent, never>;
|
|
5
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPCronJobWidgetDesignerComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
6
7
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class AXPCronJobWidgetEditComponent extends AXPValueWidgetComponent<any> {
|
|
4
|
+
expreesion: import("@angular/core").WritableSignal<string>;
|
|
4
5
|
getExpressionHandler(e: any): void;
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPCronJobWidgetEditComponent, never>;
|
|
6
7
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPCronJobWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './time-duration-widget-column.component';
|
|
2
|
+
export * from './time-duration-widget-edit.component';
|
|
3
|
+
export * from './time-duration-widget-filter.component';
|
|
4
|
+
export * from './time-duration-widget-print.component';
|
|
5
|
+
export * from './time-duration-widget-view.component';
|
|
6
|
+
export * from './time-duration-widget.config';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AXPColumnWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXPTimeDurationWidgetColumnComponent extends AXPColumnWidgetComponent<any> {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPTimeDurationWidgetColumnComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPTimeDurationWidgetColumnComponent, "axp-time-duration-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AXValueChangedEvent } from '@acorex/components/common';
|
|
2
|
+
import { AXTimeDurationUnit } from '@acorex/components/time-duration';
|
|
3
|
+
import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AXPTimerDurationWidgetEditComponent extends AXPValueWidgetComponent<any> {
|
|
6
|
+
protected disabled: import("@angular/core").Signal<boolean>;
|
|
7
|
+
protected from: import("@angular/core").Signal<AXTimeDurationUnit>;
|
|
8
|
+
protected to: import("@angular/core").Signal<AXTimeDurationUnit>;
|
|
9
|
+
handleChangeValue(e: AXValueChangedEvent): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPTimerDurationWidgetEditComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPTimerDurationWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXPTimerDurationWidgetFilterComponent extends AXPValueWidgetComponent<any> {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPTimerDurationWidgetFilterComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPTimerDurationWidgetFilterComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXPTimerDurationWidgetPrintComponent extends AXPValueWidgetComponent<any> {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPTimerDurationWidgetPrintComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPTimerDurationWidgetPrintComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXPTimerDurationWidgetViewComponent extends AXPValueWidgetComponent<any> {
|
|
4
|
+
protected internalValue: import("@angular/core").Signal<any>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPTimerDurationWidgetViewComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPTimerDurationWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AXPExpression } from '@acorex/platform/core';
|
|
2
|
+
import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
|
|
3
|
+
declare module '@acorex/platform/layout/builder' {
|
|
4
|
+
interface AXPWidgetTypesMap {
|
|
5
|
+
timeDuration: 'time-duration';
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
export interface AXPTimeDurationWidgetOptions {
|
|
9
|
+
disabled?: boolean | AXPExpression;
|
|
10
|
+
}
|
|
11
|
+
export declare const AXPTimeDurationWidget: AXPWidgetConfig;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { AXValueChangedEvent } from '@acorex/components/common';
|
|
1
|
+
import { AXDataSourceFilterOption, AXValueChangedEvent } from '@acorex/components/common';
|
|
2
2
|
import { AXPDataListWidgetComponent } from '@acorex/platform/layout/builder';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class AXPSelectFilterWidgetEditComponent extends AXPDataListWidgetComponent {
|
|
5
|
+
#private;
|
|
6
|
+
private readonly filterOperatorMiddleware;
|
|
5
7
|
protected value: import("@angular/core").Signal<any>;
|
|
6
8
|
protected multiple: import("@angular/core").Signal<any>;
|
|
7
9
|
protected allowSearch: import("@angular/core").Signal<any>;
|
|
8
10
|
protected placeholder: import("@angular/core").Signal<any>;
|
|
11
|
+
protected filter: import("@angular/core").Signal<AXDataSourceFilterOption>;
|
|
9
12
|
handleValueChange(e: AXValueChangedEvent): void;
|
|
10
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSelectFilterWidgetEditComponent, never>;
|
|
11
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPSelectFilterWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AXPLayoutWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AXPFormFieldWidgetDesignerComponent extends
|
|
3
|
+
export declare class AXPFormFieldWidgetDesignerComponent extends AXPLayoutWidgetComponent {
|
|
4
4
|
protected label: import("@angular/core").Signal<string>;
|
|
5
5
|
private get __class();
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPFormFieldWidgetDesignerComponent, never>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AXPLayoutWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXPTabSetWidgetDesignerComponent extends AXPLayoutWidgetComponent {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPTabSetWidgetDesignerComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPTabSetWidgetDesignerComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AXPLayoutWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
|
+
import { AXPTabSetWidgetLookType, AXPTabSetWidgetOrientation } from './tabset-widget.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXPTabSetWidgetViewComponent extends AXPLayoutWidgetComponent {
|
|
5
|
+
protected look: import("@angular/core").Signal<AXPTabSetWidgetLookType>;
|
|
6
|
+
protected orientation: import("@angular/core").Signal<AXPTabSetWidgetOrientation>;
|
|
7
|
+
protected activeIndex: import("@angular/core").WritableSignal<number>;
|
|
8
|
+
protected tabs: import("@angular/core").Signal<{
|
|
9
|
+
title: any;
|
|
10
|
+
icon: any;
|
|
11
|
+
disabled: any;
|
|
12
|
+
visible: any;
|
|
13
|
+
}[]>;
|
|
14
|
+
protected tabContents: import("@angular/core").Signal<import("@acorex/platform/layout/builder").AXPWidgetNode[]>;
|
|
15
|
+
private get __class();
|
|
16
|
+
protected handleTabClick(index: number): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPTabSetWidgetViewComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPTabSetWidgetViewComponent, "axp-tabset-widget", never, {}, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AXPLayoutWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXPTabSetItemWidgetDesignerComponent extends AXPLayoutWidgetComponent {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPTabSetItemWidgetDesignerComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPTabSetItemWidgetDesignerComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AXPLayoutWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXPTabSetItemWidgetViewComponent extends AXPLayoutWidgetComponent {
|
|
4
|
+
protected title: import("@angular/core").Signal<string>;
|
|
5
|
+
protected icon: import("@angular/core").Signal<string>;
|
|
6
|
+
protected disabled: import("@angular/core").Signal<boolean>;
|
|
7
|
+
protected visible: import("@angular/core").Signal<boolean>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPTabSetItemWidgetViewComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPTabSetItemWidgetViewComponent, "axp-tabset-item-widget", never, {}, {}, never, never, true, never>;
|
|
10
|
+
}
|
package/widgets/lib/widgets/property-editors/flex-options/flex-options-widget-editor.component.d.ts
CHANGED
|
@@ -22,9 +22,9 @@ export declare class AXPFlexOptionsWidgetEditComponent extends AXPValueWidgetCom
|
|
|
22
22
|
protected hoveredJustify: import("@angular/core").WritableSignal<"center" | "flex-start" | "flex-end" | "space-between" | "space-around" | null>;
|
|
23
23
|
protected clickedAlign: import("@angular/core").WritableSignal<"center" | "stretch" | "flex-start" | "flex-end" | "baseline">;
|
|
24
24
|
protected clickedJustify: import("@angular/core").WritableSignal<"center" | "flex-start" | "flex-end" | "space-between" | "space-around">;
|
|
25
|
-
protected setWrapMode(type: AXPLayoutFlexStyles['
|
|
25
|
+
protected setWrapMode(type: AXPLayoutFlexStyles['wrap']): void;
|
|
26
26
|
protected setGapMode(): void;
|
|
27
|
-
protected setFlexDirection(type: AXPLayoutFlexStyles['
|
|
27
|
+
protected setFlexDirection(type: AXPLayoutFlexStyles['direction']): void;
|
|
28
28
|
protected setGap(size: number, side: 'both' | 'x' | 'y'): void;
|
|
29
29
|
protected onClick(data: AXPFlexBoxAlignmentOption): void;
|
|
30
30
|
protected onHover(data: AXPFlexBoxAlignmentOption): void;
|
|
@@ -35,7 +35,7 @@ export declare class AXPFlexOptionsWidgetEditComponent extends AXPValueWidgetCom
|
|
|
35
35
|
protected alignDataSource: AXDataSource<AXPFlexBoxOption>;
|
|
36
36
|
private findAlignNameById;
|
|
37
37
|
private findJustifyNameById;
|
|
38
|
-
protected calculateAlign(value: AXPLayoutFlexStyles['
|
|
38
|
+
protected calculateAlign(value: AXPLayoutFlexStyles['align']): AXPLayoutFlexStyles['align'];
|
|
39
39
|
private calculateJustify;
|
|
40
40
|
private saveValue;
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPFlexOptionsWidgetEditComponent, never>;
|
|
@@ -4,8 +4,8 @@ export interface AXPFlexBoxOption {
|
|
|
4
4
|
label: string;
|
|
5
5
|
}
|
|
6
6
|
export interface AXPFlexBoxAlignmentOption extends AXPFlexBoxOption {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
align: AXPLayoutFlexStyles['align'];
|
|
8
|
+
justify: AXPLayoutFlexStyles['justify'];
|
|
9
9
|
}
|
|
10
10
|
export declare const AXP_Flex_Box_Alignments: AXPFlexBoxAlignmentOption[];
|
|
11
11
|
export declare const AXP_Flex_Box_Justify_Options: AXPFlexBoxOption[];
|