@acorex/platform 20.0.5 → 20.0.7
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/auth/index.d.ts +37 -32
- package/common/index.d.ts +104 -4
- package/core/index.d.ts +4 -0
- package/domain/index.d.ts +2010 -42
- package/fesm2022/acorex-platform-auth.mjs +57 -21
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +332 -90
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +54 -42
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +3338 -31
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +174 -168
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +281 -89
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +72 -72
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +210 -130
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +342 -119
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-native.mjs +7 -7
- package/fesm2022/acorex-platform-native.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs +51 -48
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-create-entity-view.component-BxYe1IlE.mjs → acorex-platform-themes-default-create-entity-view.component-DyVB3PZT.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-create-entity-view.component-BxYe1IlE.mjs.map → acorex-platform-themes-default-create-entity-view.component-DyVB3PZT.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-CzSqhYfE.mjs → acorex-platform-themes-default-entity-master-create-view.component-CsWVOu-r.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-CzSqhYfE.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-CsWVOu-r.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-BxdQ5JWS.mjs → acorex-platform-themes-default-entity-master-list-view.component-DgyzWR29.mjs} +20 -20
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-DgyzWR29.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-12xcM8FJ.mjs → acorex-platform-themes-default-entity-master-modify-view.component-gJap_TBH.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-12xcM8FJ.mjs.map → acorex-platform-themes-default-entity-master-modify-view.component-gJap_TBH.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-D99jLndX.mjs → acorex-platform-themes-default-entity-master-single-view.component-BUNm9JV5.mjs} +8 -8
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BUNm9JV5.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-401.component-8QfQ3hNo.mjs → acorex-platform-themes-default-error-401.component-DP3msj3d.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-401.component-8QfQ3hNo.mjs.map → acorex-platform-themes-default-error-401.component-DP3msj3d.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-404.component-D9npA9_W.mjs → acorex-platform-themes-default-error-404.component-uvBHGbHY.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-404.component-D9npA9_W.mjs.map → acorex-platform-themes-default-error-404.component-uvBHGbHY.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-BQpVnLzt.mjs → acorex-platform-themes-default-error-offline.component-CdXIik4U.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-BQpVnLzt.mjs.map → acorex-platform-themes-default-error-offline.component-CdXIik4U.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +469 -51
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared.mjs +22 -23
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-BIZkWv8q.mjs → acorex-platform-widgets-button-widget-designer.component-CgUkYMwV.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-BIZkWv8q.mjs.map → acorex-platform-widgets-button-widget-designer.component-CgUkYMwV.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-MjSzOXIJ.mjs → acorex-platform-widgets-checkbox-widget-column.component-Dn0U56O7.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-MjSzOXIJ.mjs.map → acorex-platform-widgets-checkbox-widget-column.component-Dn0U56O7.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-5kuroU6r.mjs → acorex-platform-widgets-checkbox-widget-designer.component-BD0-kCi0.mjs} +5 -5
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-BD0-kCi0.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-BgrIeNW0.mjs → acorex-platform-widgets-checkbox-widget-view.component-CzCWGDil.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-BgrIeNW0.mjs.map → acorex-platform-widgets-checkbox-widget-view.component-CzCWGDil.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-color-box-widget-designer.component-BTxAgvMQ.mjs → acorex-platform-widgets-color-box-widget-designer.component-BSRAHIPQ.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-color-box-widget-designer.component-BTxAgvMQ.mjs.map → acorex-platform-widgets-color-box-widget-designer.component-BSRAHIPQ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-contact-widget-filter.component-DCUfKMJ6.mjs → acorex-platform-widgets-contact-widget-filter.component-CtCAgeH9.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-contact-widget-filter.component-DCUfKMJ6.mjs.map → acorex-platform-widgets-contact-widget-filter.component-CtCAgeH9.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-file-list-popup.component-yqqPJMg2.mjs → acorex-platform-widgets-file-list-popup.component-hyJf0xT2.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-file-list-popup.component-yqqPJMg2.mjs.map → acorex-platform-widgets-file-list-popup.component-hyJf0xT2.mjs.map} +1 -1
- package/fesm2022/acorex-platform-widgets-file-rename-popup.component-BSm6Qew2.mjs +211 -0
- package/fesm2022/acorex-platform-widgets-file-rename-popup.component-BSm6Qew2.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-tITe8tiu.mjs → acorex-platform-widgets-page-widget-designer.component-Dlu4Tkou.mjs} +6 -4
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-Dlu4Tkou.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-Bk20MsqK.mjs → acorex-platform-widgets-rich-text-popup.component-DB2IMaLw.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-Bk20MsqK.mjs.map → acorex-platform-widgets-rich-text-popup.component-DB2IMaLw.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-2srL34Aq.mjs → acorex-platform-widgets-tabular-data-edit-popup.component-CBOUSkL4.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-2srL34Aq.mjs.map → acorex-platform-widgets-tabular-data-edit-popup.component-CBOUSkL4.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-D9654sA3.mjs → acorex-platform-widgets-tabular-data-view-popup.component-Dl5U2HFR.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-D9654sA3.mjs.map → acorex-platform-widgets-tabular-data-view-popup.component-Dl5U2HFR.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-C1VgsL1j.mjs → acorex-platform-widgets-text-block-widget-designer.component-CG_2APU3.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-C1VgsL1j.mjs.map → acorex-platform-widgets-text-block-widget-designer.component-CG_2APU3.mjs.map} +1 -1
- package/fesm2022/acorex-platform-widgets.mjs +942 -706
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +25 -25
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/index.d.ts +21 -13
- package/layout/components/index.d.ts +106 -2
- package/layout/entity/index.d.ts +9 -0
- package/layout/views/index.d.ts +83 -24
- package/package.json +1 -1
- package/runtime/index.d.ts +5 -5
- package/widgets/index.d.ts +16 -4
- package/domain/README.md +0 -3
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BxdQ5JWS.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-D99jLndX.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-5kuroU6r.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-tITe8tiu.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { InjectionToken, Signal, EventEmitter, TemplateRef, Injector, OnInit, WritableSignal, SimpleChanges, ModuleWithProviders } from '@angular/core';
|
|
3
3
|
import * as _acorex_platform_core from '@acorex/platform/core';
|
|
4
|
-
import { AXPDataType, AXPOptionsData, AXPWidgetTriggers, AXPMetaData, AXPValueTransformerFunctions, AXPValidationRules, AXPPartialNested } from '@acorex/platform/core';
|
|
4
|
+
import { AXPDataType, AXPOptionsData, AXPWidgetTriggers, AXPMetaData, AXPValueTransformerFunctions, AXPValidationRules, AXPPartialNested, AXPExpressionEvaluatorService } from '@acorex/platform/core';
|
|
5
5
|
import * as _acorex_platform_layout_builder from '@acorex/platform/layout/builder';
|
|
6
6
|
import * as _ngrx_signals from '@ngrx/signals';
|
|
7
7
|
import { Subject, BehaviorSubject } from 'rxjs';
|
|
@@ -124,9 +124,10 @@ interface AXPWidgetTypesMap {
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
declare enum AXPPageStatus {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
127
|
+
Idle = "idle",// The page is idle.
|
|
128
|
+
Rendering = "rendering",// The page is being rendered.
|
|
129
|
+
Rendered = "rendered",// The rendering process is complete. should be renamed to idle
|
|
130
|
+
Processing = "processing",// The page is performing a task or interaction.
|
|
130
131
|
Submitting = "submitting",// The form is being submitted.
|
|
131
132
|
Submitted = "submitted",// Submission is completed.
|
|
132
133
|
Validating = "validating",// The form is being validated.
|
|
@@ -205,6 +206,7 @@ declare function createSelectProperty<T = string | {
|
|
|
205
206
|
}): AXPWidgetProperty;
|
|
206
207
|
interface AXPWidgetNode {
|
|
207
208
|
type: AXPWidgetTypesMap[keyof AXPWidgetTypesMap] | keyof AXPWidgetTypesMap | string;
|
|
209
|
+
mode?: AXPWidgetRenderMode;
|
|
208
210
|
path?: string;
|
|
209
211
|
name?: string;
|
|
210
212
|
defaultValue?: any;
|
|
@@ -337,6 +339,7 @@ declare const AXPLayoutBuilderContextStore: _angular_core.Type<{
|
|
|
337
339
|
isReset: _angular_core.Signal<boolean>;
|
|
338
340
|
isInitiated: _angular_core.Signal<boolean>;
|
|
339
341
|
isEmpty: _angular_core.Signal<boolean>;
|
|
342
|
+
isDirty: _angular_core.Signal<boolean>;
|
|
340
343
|
snapshot: _angular_core.Signal<{}>;
|
|
341
344
|
initial: _angular_core.Signal<{}>;
|
|
342
345
|
previous: _angular_core.Signal<{}>;
|
|
@@ -365,6 +368,7 @@ declare class AXPWidgetContainerComponent {
|
|
|
365
368
|
isReset: _angular_core.Signal<boolean>;
|
|
366
369
|
isInitiated: _angular_core.Signal<boolean>;
|
|
367
370
|
isEmpty: _angular_core.Signal<boolean>;
|
|
371
|
+
isDirty: _angular_core.Signal<boolean>;
|
|
368
372
|
snapshot: _angular_core.Signal<{}>;
|
|
369
373
|
initial: _angular_core.Signal<{}>;
|
|
370
374
|
previous: _angular_core.Signal<{}>;
|
|
@@ -456,6 +460,7 @@ declare abstract class AXPBaseWidgetComponent extends AXPLayoutElement {
|
|
|
456
460
|
isReset: _angular_core.Signal<boolean>;
|
|
457
461
|
isInitiated: _angular_core.Signal<boolean>;
|
|
458
462
|
isEmpty: _angular_core.Signal<boolean>;
|
|
463
|
+
isDirty: _angular_core.Signal<boolean>;
|
|
459
464
|
snapshot: _angular_core.Signal<{}>;
|
|
460
465
|
initial: _angular_core.Signal<{}>;
|
|
461
466
|
previous: _angular_core.Signal<{}>;
|
|
@@ -517,7 +522,8 @@ declare abstract class AXPValueWidgetComponent<T = any | null> extends AXPLayout
|
|
|
517
522
|
onValueChanged: Subject<{
|
|
518
523
|
sender: AXPBaseWidgetComponent;
|
|
519
524
|
}>;
|
|
520
|
-
|
|
525
|
+
fullPath: _angular_core.WritableSignal<string | null>;
|
|
526
|
+
parentPath: _angular_core.WritableSignal<string | null>;
|
|
521
527
|
ngOnInit(): void;
|
|
522
528
|
getValue: _angular_core.Signal<T>;
|
|
523
529
|
protected validationRules: _angular_core.Signal<AXPValidationRules>;
|
|
@@ -577,6 +583,7 @@ declare class AXPWidgetRendererDirective {
|
|
|
577
583
|
isReset: _angular_core.Signal<boolean>;
|
|
578
584
|
isInitiated: _angular_core.Signal<boolean>;
|
|
579
585
|
isEmpty: _angular_core.Signal<boolean>;
|
|
586
|
+
isDirty: _angular_core.Signal<boolean>;
|
|
580
587
|
snapshot: _angular_core.Signal<{}>;
|
|
581
588
|
initial: _angular_core.Signal<{}>;
|
|
582
589
|
previous: _angular_core.Signal<{}>;
|
|
@@ -597,12 +604,11 @@ declare class AXPWidgetRendererDirective {
|
|
|
597
604
|
protected unsubscriber: AXUnsubscriber;
|
|
598
605
|
protected translateService: AXTranslationService;
|
|
599
606
|
protected widgetService: AXPWidgetRegistryService;
|
|
607
|
+
protected expressionEvaluator: AXPExpressionEvaluatorService;
|
|
600
608
|
private viewContainerRef;
|
|
601
609
|
protected isLoading: WritableSignal<boolean>;
|
|
602
610
|
private instance;
|
|
603
|
-
private expressionCache;
|
|
604
611
|
private expressionEvaluators;
|
|
605
|
-
private scope;
|
|
606
612
|
private componentRef;
|
|
607
613
|
private onContextChanged;
|
|
608
614
|
constructor();
|
|
@@ -616,7 +622,7 @@ declare class AXPWidgetRendererDirective {
|
|
|
616
622
|
updateOptionsBasedOnContext(): Promise<number>;
|
|
617
623
|
updateValueBasedOnFormula(): Promise<void>;
|
|
618
624
|
private evaluateExpression;
|
|
619
|
-
private
|
|
625
|
+
private buildExpressionScope;
|
|
620
626
|
private getContextScope;
|
|
621
627
|
private getEventScope;
|
|
622
628
|
private getWidgetScope;
|
|
@@ -645,15 +651,17 @@ declare class AXPLayoutBuilderModule {
|
|
|
645
651
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXPLayoutBuilderModule>;
|
|
646
652
|
}
|
|
647
653
|
|
|
654
|
+
interface AXPWidgetDataSourceColumn {
|
|
655
|
+
name: string;
|
|
656
|
+
title: string;
|
|
657
|
+
type?: string;
|
|
658
|
+
}
|
|
648
659
|
interface AXPWidgetDataSource<T = any> {
|
|
649
660
|
name: string;
|
|
650
661
|
title: string;
|
|
651
662
|
valueField: string;
|
|
652
663
|
textField: string;
|
|
653
|
-
columns:
|
|
654
|
-
name: string;
|
|
655
|
-
title: string;
|
|
656
|
-
}[];
|
|
664
|
+
columns: AXPWidgetDataSourceColumn[];
|
|
657
665
|
samples?: any[];
|
|
658
666
|
source: () => AXDataSource<T> | Promise<AXDataSource<T>>;
|
|
659
667
|
}
|
|
@@ -679,4 +687,4 @@ interface AXPMetaDataDefinition {
|
|
|
679
687
|
declare const AXPWidgetsCatalog: AXPWidgetTypesMap;
|
|
680
688
|
|
|
681
689
|
export { AXPBaseWidgetComponent, AXPColumnWidgetComponent, AXPDataListWidgetComponent, AXPLayoutBuilderContextStore, AXPLayoutBuilderModule, AXPLayoutBuilderService, AXPLayoutContextChangeEvent, AXPLayoutElement, AXPLayoutWidgetComponent, AXPPageStatus, AXPValueWidgetComponent, AXPWidgetColumnRendererComponent, AXPWidgetContainerComponent, AXPWidgetDataSourceProviderService, AXPWidgetGroupEnum, AXPWidgetRegistryService, AXPWidgetRendererDirective, AXPWidgetStatus, AXPWidgetsCatalog, AXP_WIDGETS_ACTION_CATEGORY, AXP_WIDGETS_ADVANCE_CATEGORY, AXP_WIDGETS_CATEGORIES, AXP_WIDGETS_EDITOR_CATEGORY, AXP_WIDGETS_LAYOUT_CATEGORY, AXP_WIDGET_COLUMN_TOKEN, AXP_WIDGET_DATASOURCE_PROVIDER, AXP_WIDGET_TOKEN, cloneProperty, createBooleanProperty, createNumberProperty, createSelectProperty, createStringProperty };
|
|
682
|
-
export type { AXPExtractWidgetConfig, AXPLayoutBuilderModuleConfigs, AXPLayoutBuilderStatusChangedEvent, AXPLayoutContextState, AXPLayoutElementAPI, AXPMetaDataDefinition, AXPWidgetCategory, AXPWidgetColumnNode, AXPWidgetColumnNodeToken, AXPWidgetComponentConfig, AXPWidgetConfig, AXPWidgetConfigComponents, AXPWidgetDataSource, AXPWidgetDataSourceProvider, AXPWidgetDesignerOptionsMap, AXPWidgetGroup, AXPWidgetNode, AXPWidgetNodeToken, AXPWidgetProperty, AXPWidgetPropertyGroup, AXPWidgetRenderMode, AXPWidgetRendererDirectiveOptions, AXPWidgetTypesMap, AXPWidgetViewType, extendedWidget };
|
|
690
|
+
export type { AXPExtractWidgetConfig, AXPLayoutBuilderModuleConfigs, AXPLayoutBuilderStatusChangedEvent, AXPLayoutContextState, AXPLayoutElementAPI, AXPMetaDataDefinition, AXPWidgetCategory, AXPWidgetColumnNode, AXPWidgetColumnNodeToken, AXPWidgetComponentConfig, AXPWidgetConfig, AXPWidgetConfigComponents, AXPWidgetDataSource, AXPWidgetDataSourceColumn, AXPWidgetDataSourceProvider, AXPWidgetDesignerOptionsMap, AXPWidgetGroup, AXPWidgetNode, AXPWidgetNodeToken, AXPWidgetProperty, AXPWidgetPropertyGroup, AXPWidgetRenderMode, AXPWidgetRendererDirectiveOptions, AXPWidgetTypesMap, AXPWidgetViewType, extendedWidget };
|
|
@@ -5,6 +5,7 @@ import { AXPActivityLog, AXPSystemActionType, AXPContextData, AXPFilterDefinitio
|
|
|
5
5
|
import { AXPMenuItem } from '@acorex/platform/common';
|
|
6
6
|
import { AXPWidgetNode, AXPLayoutContextChangeEvent } from '@acorex/platform/layout/builder';
|
|
7
7
|
import * as _ngrx_signals from '@ngrx/signals';
|
|
8
|
+
import { AXFormComponent } from '@acorex/components/form';
|
|
8
9
|
import { AXHtmlEvent, AXValueChangedEvent, AXEvent } from '@acorex/cdk/common';
|
|
9
10
|
import { AXPopoverComponent } from '@acorex/components/popover';
|
|
10
11
|
import { AXTagBoxComponent } from '@acorex/components/tag-box';
|
|
@@ -300,6 +301,7 @@ declare class AXPComponentSlotDirective implements OnInit {
|
|
|
300
301
|
isReset: _angular_core.Signal<boolean>;
|
|
301
302
|
isInitiated: _angular_core.Signal<boolean>;
|
|
302
303
|
isEmpty: _angular_core.Signal<boolean>;
|
|
304
|
+
isDirty: _angular_core.Signal<boolean>;
|
|
303
305
|
snapshot: _angular_core.Signal<AXPContextData>;
|
|
304
306
|
initial: _angular_core.Signal<{}>;
|
|
305
307
|
previous: _angular_core.Signal<{}>;
|
|
@@ -318,6 +320,8 @@ declare class AXPComponentSlotDirective implements OnInit {
|
|
|
318
320
|
}>;
|
|
319
321
|
isEmpty: _angular_core.Signal<boolean>;
|
|
320
322
|
private _viewCount;
|
|
323
|
+
private componentRefs;
|
|
324
|
+
constructor();
|
|
321
325
|
ngOnInit(): Promise<void>;
|
|
322
326
|
loadComponents(): Promise<void>;
|
|
323
327
|
private evaluateCondition;
|
|
@@ -345,6 +349,106 @@ declare class AXPComponentSlotModule {
|
|
|
345
349
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXPComponentSlotModule>;
|
|
346
350
|
}
|
|
347
351
|
|
|
352
|
+
interface AXPDynamicFormFieldDefinition {
|
|
353
|
+
path: string;
|
|
354
|
+
title?: string;
|
|
355
|
+
description?: string;
|
|
356
|
+
widget: AXPWidgetNode;
|
|
357
|
+
}
|
|
358
|
+
interface AXPDynamicFormGroupDefinition {
|
|
359
|
+
name: string;
|
|
360
|
+
title?: string;
|
|
361
|
+
description?: string;
|
|
362
|
+
parameters: AXPDynamicFormFieldDefinition[];
|
|
363
|
+
}
|
|
364
|
+
interface AXPDynamicFormDefinition {
|
|
365
|
+
groups: AXPDynamicFormGroupDefinition[];
|
|
366
|
+
}
|
|
367
|
+
interface AXPDynamicFormLayoutConfig {
|
|
368
|
+
positions: {
|
|
369
|
+
default: {
|
|
370
|
+
colSpan: number;
|
|
371
|
+
};
|
|
372
|
+
md?: {
|
|
373
|
+
colSpan: number;
|
|
374
|
+
};
|
|
375
|
+
lg?: {
|
|
376
|
+
colSpan: number;
|
|
377
|
+
};
|
|
378
|
+
xl?: {
|
|
379
|
+
colSpan: number;
|
|
380
|
+
};
|
|
381
|
+
xxl?: {
|
|
382
|
+
colSpan: number;
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
declare class AXPDynamicFormComponent implements OnInit {
|
|
388
|
+
#private;
|
|
389
|
+
/**
|
|
390
|
+
* Form definition containing groups and fields
|
|
391
|
+
*/
|
|
392
|
+
formDefinition: _angular_core.InputSignal<AXPDynamicFormDefinition>;
|
|
393
|
+
/**
|
|
394
|
+
* Form context/model data
|
|
395
|
+
*/
|
|
396
|
+
context: _angular_core.InputSignal<any>;
|
|
397
|
+
/**
|
|
398
|
+
* Custom layout configuration for form fields
|
|
399
|
+
*/
|
|
400
|
+
layoutConfig: _angular_core.InputSignal<AXPDynamicFormLayoutConfig>;
|
|
401
|
+
/**
|
|
402
|
+
* Emitted when form context changes
|
|
403
|
+
*/
|
|
404
|
+
contextChange: _angular_core.OutputEmitterRef<any>;
|
|
405
|
+
/**
|
|
406
|
+
* Emitted when context change is initiated
|
|
407
|
+
*/
|
|
408
|
+
contextInitiated: _angular_core.OutputEmitterRef<any>;
|
|
409
|
+
/**
|
|
410
|
+
* Emitted when form becomes valid/invalid
|
|
411
|
+
*/
|
|
412
|
+
validityChange: _angular_core.OutputEmitterRef<boolean>;
|
|
413
|
+
private form;
|
|
414
|
+
private container;
|
|
415
|
+
/**
|
|
416
|
+
* Internal context signal for reactivity
|
|
417
|
+
*/
|
|
418
|
+
protected internalContext: _angular_core.WritableSignal<any>;
|
|
419
|
+
/**
|
|
420
|
+
* Computed layout configuration
|
|
421
|
+
*/
|
|
422
|
+
protected computedLayout: _angular_core.Signal<AXPDynamicFormLayoutConfig>;
|
|
423
|
+
/**
|
|
424
|
+
* Computed form definition
|
|
425
|
+
*/
|
|
426
|
+
protected computedFormDefinition: _angular_core.Signal<AXPDynamicFormDefinition>;
|
|
427
|
+
ngOnInit(): void;
|
|
428
|
+
/**
|
|
429
|
+
* Handle context change events from widget container
|
|
430
|
+
*/
|
|
431
|
+
protected handleContextChanged(event: AXPLayoutContextChangeEvent): void;
|
|
432
|
+
/**
|
|
433
|
+
* Get the form component instance
|
|
434
|
+
*/
|
|
435
|
+
getForm(): AXFormComponent | undefined;
|
|
436
|
+
/**
|
|
437
|
+
* Get current form context
|
|
438
|
+
*/
|
|
439
|
+
getContext(): any;
|
|
440
|
+
/**
|
|
441
|
+
* Update form context programmatically
|
|
442
|
+
*/
|
|
443
|
+
updateContext(context: any): void;
|
|
444
|
+
/**
|
|
445
|
+
* Validate the form
|
|
446
|
+
*/
|
|
447
|
+
validate(): Promise<boolean>;
|
|
448
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDynamicFormComponent, never>;
|
|
449
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPDynamicFormComponent, "axp-dynamic-form", never, { "formDefinition": { "alias": "formDefinition"; "required": true; "isSignal": true; }; "context": { "alias": "context"; "required": true; "isSignal": true; }; "layoutConfig": { "alias": "layoutConfig"; "required": false; "isSignal": true; }; }, { "contextChange": "contextChange"; "contextInitiated": "contextInitiated"; "validityChange": "validityChange"; }, never, never, true, never>;
|
|
450
|
+
}
|
|
451
|
+
|
|
348
452
|
declare class AXPLayoutFiltersComponent {
|
|
349
453
|
#private;
|
|
350
454
|
protected translate: AXTranslationService;
|
|
@@ -478,5 +582,5 @@ declare class AXPUserAvatarComponent implements OnInit, OnDestroy {
|
|
|
478
582
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPUserAvatarComponent, "axp-user-avatar", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "userId": { "alias": "userId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
479
583
|
}
|
|
480
584
|
|
|
481
|
-
export { AXPActivityLogComponent, AXPCompareViewComponent, AXPComponentSlot, AXPComponentSlotDirective, AXPComponentSlotModule, AXPComponentSlotRegistryService, AXPLayoutFiltersComponent, AXPMenuBadgeHelper, AXPTaskBadgeDirective, AXPTaskBadgeProvider, AXPTaskBadgeService, AXPThemeLayoutActionsComponent, AXPThemeLayoutBlockComponent, AXPThemeLayoutContainerComponent, AXPThemeLayoutEndSideComponent, AXPThemeLayoutFooterComponent, AXPThemeLayoutHeaderComponent, AXPThemeLayoutListComponent, AXPThemeLayoutListItemComponent, AXPThemeLayoutListItemsGroupComponent, AXPThemeLayoutPageHeaderComponent, AXPThemeLayoutPagePrimaryActionsComponent, AXPThemeLayoutPageSecondaryActionsComponent, AXPThemeLayoutSectionComponent, AXPThemeLayoutStartSideComponent, AXPThemeLayoutToolbarComponent, AXPUserAvatarComponent, AXPUserAvatarService, AXP_TASK_BADGE_PROVIDERS, AXP_USER_AVATAR_PROVIDER };
|
|
482
|
-
export type { AXPCompareViewField, AXPCompareViewInputs, AXPCompareViewMode, AXPCompareViewObject, AXPComponentSlotConfig, AXPComponentSlotModuleConfigs, AXPUserAvatarData, AXPUserAvatarProvider, AXPUserAvatarSize, AXPUserAvatarStatus };
|
|
585
|
+
export { AXPActivityLogComponent, AXPCompareViewComponent, AXPComponentSlot, AXPComponentSlotDirective, AXPComponentSlotModule, AXPComponentSlotRegistryService, AXPDynamicFormComponent, AXPLayoutFiltersComponent, AXPMenuBadgeHelper, AXPTaskBadgeDirective, AXPTaskBadgeProvider, AXPTaskBadgeService, AXPThemeLayoutActionsComponent, AXPThemeLayoutBlockComponent, AXPThemeLayoutContainerComponent, AXPThemeLayoutEndSideComponent, AXPThemeLayoutFooterComponent, AXPThemeLayoutHeaderComponent, AXPThemeLayoutListComponent, AXPThemeLayoutListItemComponent, AXPThemeLayoutListItemsGroupComponent, AXPThemeLayoutPageHeaderComponent, AXPThemeLayoutPagePrimaryActionsComponent, AXPThemeLayoutPageSecondaryActionsComponent, AXPThemeLayoutSectionComponent, AXPThemeLayoutStartSideComponent, AXPThemeLayoutToolbarComponent, AXPUserAvatarComponent, AXPUserAvatarService, AXP_TASK_BADGE_PROVIDERS, AXP_USER_AVATAR_PROVIDER };
|
|
586
|
+
export type { AXPCompareViewField, AXPCompareViewInputs, AXPCompareViewMode, AXPCompareViewObject, AXPComponentSlotConfig, AXPComponentSlotModuleConfigs, AXPDynamicFormDefinition, AXPDynamicFormFieldDefinition, AXPDynamicFormGroupDefinition, AXPDynamicFormLayoutConfig, AXPUserAvatarData, AXPUserAvatarProvider, AXPUserAvatarSize, AXPUserAvatarStatus };
|
package/layout/entity/index.d.ts
CHANGED
|
@@ -592,6 +592,15 @@ declare class AXMEntityCrudServiceImpl<TKey, TDetailDto extends AXPEntityDetailD
|
|
|
592
592
|
deleteOne(id: TKey): Promise<void>;
|
|
593
593
|
updateOne(id: TKey, values: Omit<Partial<TUpdateDto>, 'id'>): Promise<TDetailDto>;
|
|
594
594
|
query(request?: AXPQueryRequest): Promise<AXPPagedListResult<TListItemDto>>;
|
|
595
|
+
getRoots(request: {}): Promise<AXPPagedListResult<TListItemDto>>;
|
|
596
|
+
getChildren(request: {
|
|
597
|
+
parentId: TKey;
|
|
598
|
+
parentKey?: string;
|
|
599
|
+
}): Promise<AXPPagedListResult<TListItemDto>>;
|
|
600
|
+
getByCategory(request: {
|
|
601
|
+
categoryId: TKey;
|
|
602
|
+
categoryKey?: string;
|
|
603
|
+
}): Promise<AXPPagedListResult<TListItemDto>>;
|
|
595
604
|
get storageService(): AXPEntityStorageService<any, any, any, any, any>;
|
|
596
605
|
}
|
|
597
606
|
|
package/layout/views/index.d.ts
CHANGED
|
@@ -17,14 +17,7 @@ import { AXPHomePageService } from '@acorex/platform/common';
|
|
|
17
17
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
18
18
|
import * as _acorex_platform_layout_builder from '@acorex/platform/layout/builder';
|
|
19
19
|
import { AXPWidgetNode, AXPPageStatus, AXPLayoutContextChangeEvent } from '@acorex/platform/layout/builder';
|
|
20
|
-
|
|
21
|
-
interface AXPLayoutTitle {
|
|
22
|
-
title?: string;
|
|
23
|
-
description?: string;
|
|
24
|
-
icon?: string;
|
|
25
|
-
}
|
|
26
|
-
interface AXPLayoutAdapter extends AXPLayoutTitle {
|
|
27
|
-
}
|
|
20
|
+
import * as _acorex_platform_layout_views from '@acorex/platform/layout/views';
|
|
28
21
|
|
|
29
22
|
declare abstract class AXPPageLayoutBase {
|
|
30
23
|
abstract primaryMenuItems: Signal<AXPActionMenuItem[]>;
|
|
@@ -404,16 +397,38 @@ declare abstract class AXPPopupLayoutBaseComponent extends AXBasePageComponent {
|
|
|
404
397
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPPopupLayoutBaseComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
405
398
|
}
|
|
406
399
|
|
|
407
|
-
interface
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
400
|
+
interface AXPLayoutDetailsViewAction extends AXPActionMenuItem {
|
|
401
|
+
zone: 'header' | 'footer';
|
|
402
|
+
priority: 'primary' | 'secondary';
|
|
403
|
+
}
|
|
404
|
+
interface AXPLayoutDetailsViewTabItem {
|
|
405
|
+
id: string;
|
|
406
|
+
title: string;
|
|
407
|
+
icon?: string;
|
|
408
|
+
visible?: boolean;
|
|
409
|
+
disabled?: boolean;
|
|
410
|
+
active?: boolean;
|
|
412
411
|
content: AXPWidgetNode[];
|
|
412
|
+
}
|
|
413
|
+
interface AXPLayoutDetailsViewPage {
|
|
414
|
+
id: string;
|
|
415
|
+
title: string;
|
|
416
|
+
description: string;
|
|
417
|
+
icon: string;
|
|
418
|
+
content?: AXPWidgetNode[];
|
|
419
|
+
tabs?: AXPLayoutDetailsViewTabItem[];
|
|
420
|
+
actions?: AXPLayoutDetailsViewAction[];
|
|
413
421
|
load: (params: Record<string, any>) => Promise<AXPQueryFetchResult>;
|
|
414
|
-
save: (context: {}) => Promise<AXPExecuteCommandResult>;
|
|
415
422
|
execute: (command: AXPExecuteCommand, context: {}) => Promise<AXPExecuteCommandResult>;
|
|
416
423
|
}
|
|
424
|
+
interface AXPLayoutDetailsViewAdapter {
|
|
425
|
+
title?: string;
|
|
426
|
+
description?: string;
|
|
427
|
+
icon?: string;
|
|
428
|
+
actions?: AXPLayoutDetailsViewAction[];
|
|
429
|
+
execute?: (command: AXPExecuteCommand, context: {}) => Promise<AXPExecuteCommandResult>;
|
|
430
|
+
pages: AXPLayoutDetailsViewPage[];
|
|
431
|
+
}
|
|
417
432
|
|
|
418
433
|
declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
419
434
|
adapter: _angular_core.Signal<AXPLayoutDetailsViewAdapter | null>;
|
|
@@ -421,18 +436,31 @@ declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
|
421
436
|
context: _angular_core.Signal<Record<string, any>>;
|
|
422
437
|
scope: _angular_core.Signal<AXPExpressionEvaluatorScope | null>;
|
|
423
438
|
status: _angular_core.Signal<AXPPageStatus>;
|
|
439
|
+
currentPage: _angular_core.Signal<AXPLayoutDetailsViewPage | null>;
|
|
440
|
+
currentTab: _angular_core.Signal<AXPLayoutDetailsViewTabItem | null>;
|
|
424
441
|
icon: _angular_core.Signal<string | null>;
|
|
425
442
|
content: _angular_core.Signal<_acorex_platform_layout_builder.AXPWidgetNode[]>;
|
|
443
|
+
showPages: _angular_core.Signal<boolean>;
|
|
444
|
+
isLarge: _angular_core.Signal<boolean>;
|
|
426
445
|
isBusy: _angular_core.Signal<boolean>;
|
|
427
446
|
isSaving: _angular_core.Signal<boolean>;
|
|
428
447
|
isDirty: _angular_core.Signal<boolean>;
|
|
429
448
|
isLoaded: _angular_core.Signal<boolean>;
|
|
430
449
|
load: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
431
450
|
updateContext: (context: any) => void;
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
451
|
+
currentPageTitle: () => Promise<any>;
|
|
452
|
+
currentPageDescription: () => Promise<any>;
|
|
453
|
+
currentPagePrimaryActions: () => Promise<any>;
|
|
454
|
+
currentPageSecondaryActions: () => Promise<any>;
|
|
455
|
+
currentPageContent: () => _acorex_platform_layout_builder.AXPWidgetNode[] | undefined;
|
|
456
|
+
currentPageTabs: () => AXPLayoutDetailsViewTabItem[] | undefined;
|
|
457
|
+
setCurrentPage: (page: AXPLayoutDetailsViewPage | null) => void;
|
|
458
|
+
setCurrentTab: (tab: AXPLayoutDetailsViewTabItem) => void;
|
|
459
|
+
getCurrentTabContent: () => _acorex_platform_layout_builder.AXPWidgetNode[];
|
|
460
|
+
title: () => Promise<string | undefined>;
|
|
461
|
+
description: () => Promise<string | undefined>;
|
|
462
|
+
primaryActions: () => Promise<_acorex_platform_layout_views.AXPLayoutDetailsViewAction[]>;
|
|
463
|
+
secondaryActions: () => Promise<_acorex_platform_layout_views.AXPLayoutDetailsViewAction[]>;
|
|
436
464
|
discard: () => Promise<void>;
|
|
437
465
|
save: () => Promise<void>;
|
|
438
466
|
} & _ngrx_signals.StateSource<{
|
|
@@ -441,9 +469,12 @@ declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
|
441
469
|
context: Record<string, any>;
|
|
442
470
|
scope: AXPExpressionEvaluatorScope | null;
|
|
443
471
|
status: AXPPageStatus;
|
|
472
|
+
currentPage: AXPLayoutDetailsViewPage | null;
|
|
473
|
+
currentTab: AXPLayoutDetailsViewTabItem | null;
|
|
444
474
|
}>>;
|
|
445
475
|
|
|
446
476
|
declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent implements OnInit, OnDestroy {
|
|
477
|
+
#private;
|
|
447
478
|
adapter: _angular_core.InputSignal<AXPLayoutDetailsViewAdapter>;
|
|
448
479
|
protected vm: {
|
|
449
480
|
adapter: _angular_core.Signal<AXPLayoutDetailsViewAdapter | null>;
|
|
@@ -451,18 +482,31 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
451
482
|
context: _angular_core.Signal<Record<string, any>>;
|
|
452
483
|
scope: _angular_core.Signal<_acorex_platform_core.AXPExpressionEvaluatorScope | null>;
|
|
453
484
|
status: _angular_core.Signal<_acorex_platform_layout_builder.AXPPageStatus>;
|
|
485
|
+
currentPage: _angular_core.Signal<AXPLayoutDetailsViewPage | null>;
|
|
486
|
+
currentTab: _angular_core.Signal<_acorex_platform_layout_views.AXPLayoutDetailsViewTabItem | null>;
|
|
454
487
|
icon: _angular_core.Signal<string | null>;
|
|
455
488
|
content: _angular_core.Signal<_acorex_platform_layout_builder.AXPWidgetNode[]>;
|
|
489
|
+
showPages: _angular_core.Signal<boolean>;
|
|
490
|
+
isLarge: _angular_core.Signal<boolean>;
|
|
456
491
|
isBusy: _angular_core.Signal<boolean>;
|
|
457
492
|
isSaving: _angular_core.Signal<boolean>;
|
|
458
493
|
isDirty: _angular_core.Signal<boolean>;
|
|
459
494
|
isLoaded: _angular_core.Signal<boolean>;
|
|
460
495
|
load: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
461
496
|
updateContext: (context: any) => void;
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
497
|
+
currentPageTitle: () => Promise<any>;
|
|
498
|
+
currentPageDescription: () => Promise<any>;
|
|
499
|
+
currentPagePrimaryActions: () => Promise<any>;
|
|
500
|
+
currentPageSecondaryActions: () => Promise<any>;
|
|
501
|
+
currentPageContent: () => _acorex_platform_layout_builder.AXPWidgetNode[] | undefined;
|
|
502
|
+
currentPageTabs: () => _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem[] | undefined;
|
|
503
|
+
setCurrentPage: (page: AXPLayoutDetailsViewPage | null) => void;
|
|
504
|
+
setCurrentTab: (tab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem) => void;
|
|
505
|
+
getCurrentTabContent: () => _acorex_platform_layout_builder.AXPWidgetNode[];
|
|
506
|
+
title: () => Promise<string | undefined>;
|
|
507
|
+
description: () => Promise<string | undefined>;
|
|
508
|
+
primaryActions: () => Promise<AXPLayoutDetailsViewAction[]>;
|
|
509
|
+
secondaryActions: () => Promise<AXPLayoutDetailsViewAction[]>;
|
|
466
510
|
discard: () => Promise<void>;
|
|
467
511
|
save: () => Promise<void>;
|
|
468
512
|
} & _ngrx_signals.StateSource<{
|
|
@@ -471,17 +515,32 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
471
515
|
context: Record<string, any>;
|
|
472
516
|
scope: _acorex_platform_core.AXPExpressionEvaluatorScope | null;
|
|
473
517
|
status: _acorex_platform_layout_builder.AXPPageStatus;
|
|
518
|
+
currentPage: AXPLayoutDetailsViewPage | null;
|
|
519
|
+
currentTab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem | null;
|
|
474
520
|
}>;
|
|
521
|
+
protected footerPrimaryActions: _angular_core.WritableSignal<AXPActionMenuItem[]>;
|
|
522
|
+
protected footerSecondaryActions: _angular_core.WritableSignal<AXPActionMenuItem[]>;
|
|
523
|
+
protected footerActions: _angular_core.Signal<AXPActionMenuItem[]>;
|
|
524
|
+
protected hasVisibleFooterPrimaryActions: _angular_core.Signal<boolean>;
|
|
525
|
+
protected hasVisibleFooterSecondaryActions: _angular_core.Signal<boolean>;
|
|
475
526
|
ngOnInit(): Promise<void>;
|
|
476
527
|
ngOnDestroy(): void;
|
|
477
528
|
protected handleOnContextChanged(e: AXPLayoutContextChangeEvent): void;
|
|
529
|
+
protected handleSelectPage(page: AXPLayoutDetailsViewPage): void;
|
|
530
|
+
protected getAllPrimaryActions(): Promise<AXPLayoutDetailsViewAction[]>;
|
|
478
531
|
protected getPrimaryMenuItems(): Promise<AXPActionMenuItem[]>;
|
|
532
|
+
protected getFooterPrimaryActions(): Promise<AXPActionMenuItem[]>;
|
|
533
|
+
protected getAllSecondaryActions(): Promise<AXPLayoutDetailsViewAction[]>;
|
|
479
534
|
protected getSecondaryMenuItems(): Promise<AXPActionMenuItem[]>;
|
|
535
|
+
protected getFooterSecondaryActions(): Promise<AXPActionMenuItem[]>;
|
|
480
536
|
protected getPageTitle(): Promise<string>;
|
|
481
537
|
getPageDescription(): Promise<string | null>;
|
|
538
|
+
getBackButton(): Promise<AXPBackButton | null>;
|
|
539
|
+
onBackButtonClick(): void | Promise<void>;
|
|
540
|
+
execute(command: AXPExecuteCommand): Promise<void>;
|
|
482
541
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLayoutDetailsViewComponent, never>;
|
|
483
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLayoutDetailsViewComponent, "
|
|
542
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLayoutDetailsViewComponent, "axp-layout-details-view", never, { "adapter": { "alias": "adapter"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
484
543
|
}
|
|
485
544
|
|
|
486
545
|
export { AXPLayoutDetailsViewComponent, AXPLayoutDetailsViewViewModel, AXPPageLayoutBase, AXPPageLayoutBaseComponent, AXPPageLayoutComponent, AXPPopupLayoutBase, AXPPopupLayoutBaseComponent, AXPPopupLayoutComponent };
|
|
487
|
-
export type {
|
|
546
|
+
export type { AXPLayoutDetailsViewAction, AXPLayoutDetailsViewAdapter, AXPLayoutDetailsViewPage, AXPLayoutDetailsViewTabItem };
|
package/package.json
CHANGED
package/runtime/index.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ type AXPCommandMiddlewareEntry = (AXPCommandMiddleware | {
|
|
|
70
70
|
declare function provideCommandMiddleware(entries: AXPCommandMiddlewareEntry): EnvironmentProviders;
|
|
71
71
|
|
|
72
72
|
interface AXPQuery<TInput = any, TResult = any> {
|
|
73
|
-
|
|
73
|
+
fetch(input: TInput): Promise<TResult>;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
type AXPQueryMiddleware<TInput = any, TResult = any> = (input: TInput, next: (input: TInput) => Promise<TResult>) => Promise<TResult>;
|
|
@@ -122,10 +122,10 @@ interface AXPQueryExtension {
|
|
|
122
122
|
declare const AXP_QUERY_EXTENSION: InjectionToken<AXPQueryExtension[]>;
|
|
123
123
|
|
|
124
124
|
declare const AXP_QUERY_SETUP: InjectionToken<void>;
|
|
125
|
-
type AXPQueryLoaderEntry =
|
|
126
|
-
key: string
|
|
127
|
-
loader: () =>
|
|
128
|
-
|
|
125
|
+
type AXPQueryLoaderEntry = {
|
|
126
|
+
key: string;
|
|
127
|
+
loader: () => Type<AXPQuery> | Promise<Type<AXPQuery>>;
|
|
128
|
+
};
|
|
129
129
|
declare function provideQuerySetups(entries: AXPQueryLoaderEntry[]): EnvironmentProviders;
|
|
130
130
|
|
|
131
131
|
declare const AXP_QUERY_MIDDLEWARE_SETUP: InjectionToken<void>;
|
package/widgets/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { AXMapData, AXMapPolygon, AXPoiMarker } from '@acorex/components/map';
|
|
|
15
15
|
import { AXPlatform } from '@acorex/core/platform';
|
|
16
16
|
import SignaturePad from 'signature_pad';
|
|
17
17
|
import { AXGridLayoutOptions, AXGridLayoutNode } from '@acorex/components/grid-layout-builder';
|
|
18
|
+
import { AXDropListDroppedEvent } from '@acorex/cdk/drag-drop';
|
|
18
19
|
import { AXPopoverComponent } from '@acorex/components/popover';
|
|
19
20
|
|
|
20
21
|
declare const AXP_STYLING_PROPERTY_GROUP: AXPWidgetPropertyGroup;
|
|
@@ -256,13 +257,14 @@ declare class AXPDateTimeBoxWidgetFilterComponent extends AXPValueWidgetComponen
|
|
|
256
257
|
}
|
|
257
258
|
|
|
258
259
|
declare class AXPDateTimeBoxWidgetColumnComponent extends AXPColumnWidgetComponent<string | string[]> {
|
|
260
|
+
#private;
|
|
259
261
|
private formatter;
|
|
260
|
-
private
|
|
261
|
-
protected convertedValue:
|
|
262
|
+
private settingService;
|
|
263
|
+
protected convertedValue: _angular_core.WritableSignal<string | string[] | null>;
|
|
262
264
|
protected multiple: boolean;
|
|
263
|
-
protected
|
|
265
|
+
protected mode: _angular_core.Signal<"date" | "datetime" | "time">;
|
|
264
266
|
private updateValue;
|
|
265
|
-
protected handleFormat(value: string): string
|
|
267
|
+
protected handleFormat(value: string): Promise<string>;
|
|
266
268
|
protected isArray(val: any): val is any[];
|
|
267
269
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDateTimeBoxWidgetColumnComponent, never>;
|
|
268
270
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPDateTimeBoxWidgetColumnComponent, "ng-component", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -958,6 +960,7 @@ declare class AXPTextBoxWidgetEditComponent extends AXPValueWidgetComponent<any>
|
|
|
958
960
|
protected multiLanguage: Signal<boolean>;
|
|
959
961
|
protected hasClearButton: Signal<boolean>;
|
|
960
962
|
protected disabled: Signal<boolean>;
|
|
963
|
+
protected readonly: Signal<boolean>;
|
|
961
964
|
protected placeholder: Signal<string>;
|
|
962
965
|
protected translatedValues: {
|
|
963
966
|
[key: string]: string;
|
|
@@ -1117,6 +1120,13 @@ declare class AXPFileUploaderWidgetEditComponent extends AXPValueWidgetComponent
|
|
|
1117
1120
|
* Revert a deleted file back to attached status.
|
|
1118
1121
|
*/
|
|
1119
1122
|
handleFileRevert(file: AXPFileListItem): void;
|
|
1123
|
+
/**
|
|
1124
|
+
* Handle file rename action
|
|
1125
|
+
*/
|
|
1126
|
+
handleFileRename(data: {
|
|
1127
|
+
file: AXPFileListItem;
|
|
1128
|
+
newName: string;
|
|
1129
|
+
}): void;
|
|
1120
1130
|
clear(): void;
|
|
1121
1131
|
private get __class();
|
|
1122
1132
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPFileUploaderWidgetEditComponent, never>;
|
|
@@ -1495,7 +1505,9 @@ declare class AXPRepeaterWidgetViewComponent extends AXPValueWidgetComponent<any
|
|
|
1495
1505
|
declare class AXPRepeaterWidgetEditComponent extends AXPValueWidgetComponent<any> {
|
|
1496
1506
|
protected disabled: _angular_core.Signal<boolean>;
|
|
1497
1507
|
protected hasControls: _angular_core.Signal<boolean>;
|
|
1508
|
+
protected isDraggable: _angular_core.Signal<boolean>;
|
|
1498
1509
|
protected rows: _angular_core.Signal<any[]>;
|
|
1510
|
+
test(e: AXDropListDroppedEvent): void;
|
|
1499
1511
|
protected handleAddItemClick(): void;
|
|
1500
1512
|
protected handleRemoveItemClick(i: number): void;
|
|
1501
1513
|
addNew(): void;
|
package/domain/README.md
DELETED