@acorex/platform 20.0.6 → 20.0.8
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 +2 -2
- package/core/index.d.ts +4 -0
- package/domain/index.d.ts +2034 -2
- package/fesm2022/acorex-platform-auth.mjs +57 -21
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +92 -92
- 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 +3320 -7
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +172 -168
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +103 -83
- 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 +94 -96
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +340 -104
- 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 +45 -43
- 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--tn_1mKA.mjs → acorex-platform-themes-default-entity-master-single-view.component-BUNm9JV5.mjs} +7 -7
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component--tn_1mKA.mjs.map → acorex-platform-themes-default-entity-master-single-view.component-BUNm9JV5.mjs.map} +1 -1
- 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-BuU7nJ6u.mjs → acorex-platform-widgets-checkbox-widget-designer.component-BD0-kCi0.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-BuU7nJ6u.mjs.map → acorex-platform-widgets-checkbox-widget-designer.component-BD0-kCi0.mjs.map} +1 -1
- 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-Dwts3at7.mjs → acorex-platform-widgets-page-widget-designer.component-Dlu4Tkou.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-Dwts3at7.mjs.map → acorex-platform-widgets-page-widget-designer.component-Dlu4Tkou.mjs.map} +1 -1
- 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 +884 -677
- 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 +17 -10
- package/layout/components/index.d.ts +3 -0
- package/layout/views/index.d.ts +83 -24
- package/package.json +1 -1
- package/widgets/index.d.ts +15 -7
- package/domain/README.md +0 -3
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BxdQ5JWS.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';
|
|
@@ -206,6 +206,7 @@ declare function createSelectProperty<T = string | {
|
|
|
206
206
|
}): AXPWidgetProperty;
|
|
207
207
|
interface AXPWidgetNode {
|
|
208
208
|
type: AXPWidgetTypesMap[keyof AXPWidgetTypesMap] | keyof AXPWidgetTypesMap | string;
|
|
209
|
+
mode?: AXPWidgetRenderMode;
|
|
209
210
|
path?: string;
|
|
210
211
|
name?: string;
|
|
211
212
|
defaultValue?: any;
|
|
@@ -338,6 +339,7 @@ declare const AXPLayoutBuilderContextStore: _angular_core.Type<{
|
|
|
338
339
|
isReset: _angular_core.Signal<boolean>;
|
|
339
340
|
isInitiated: _angular_core.Signal<boolean>;
|
|
340
341
|
isEmpty: _angular_core.Signal<boolean>;
|
|
342
|
+
isDirty: _angular_core.Signal<boolean>;
|
|
341
343
|
snapshot: _angular_core.Signal<{}>;
|
|
342
344
|
initial: _angular_core.Signal<{}>;
|
|
343
345
|
previous: _angular_core.Signal<{}>;
|
|
@@ -366,6 +368,7 @@ declare class AXPWidgetContainerComponent {
|
|
|
366
368
|
isReset: _angular_core.Signal<boolean>;
|
|
367
369
|
isInitiated: _angular_core.Signal<boolean>;
|
|
368
370
|
isEmpty: _angular_core.Signal<boolean>;
|
|
371
|
+
isDirty: _angular_core.Signal<boolean>;
|
|
369
372
|
snapshot: _angular_core.Signal<{}>;
|
|
370
373
|
initial: _angular_core.Signal<{}>;
|
|
371
374
|
previous: _angular_core.Signal<{}>;
|
|
@@ -457,6 +460,7 @@ declare abstract class AXPBaseWidgetComponent extends AXPLayoutElement {
|
|
|
457
460
|
isReset: _angular_core.Signal<boolean>;
|
|
458
461
|
isInitiated: _angular_core.Signal<boolean>;
|
|
459
462
|
isEmpty: _angular_core.Signal<boolean>;
|
|
463
|
+
isDirty: _angular_core.Signal<boolean>;
|
|
460
464
|
snapshot: _angular_core.Signal<{}>;
|
|
461
465
|
initial: _angular_core.Signal<{}>;
|
|
462
466
|
previous: _angular_core.Signal<{}>;
|
|
@@ -518,7 +522,8 @@ declare abstract class AXPValueWidgetComponent<T = any | null> extends AXPLayout
|
|
|
518
522
|
onValueChanged: Subject<{
|
|
519
523
|
sender: AXPBaseWidgetComponent;
|
|
520
524
|
}>;
|
|
521
|
-
|
|
525
|
+
fullPath: _angular_core.WritableSignal<string | null>;
|
|
526
|
+
parentPath: _angular_core.WritableSignal<string | null>;
|
|
522
527
|
ngOnInit(): void;
|
|
523
528
|
getValue: _angular_core.Signal<T>;
|
|
524
529
|
protected validationRules: _angular_core.Signal<AXPValidationRules>;
|
|
@@ -578,6 +583,7 @@ declare class AXPWidgetRendererDirective {
|
|
|
578
583
|
isReset: _angular_core.Signal<boolean>;
|
|
579
584
|
isInitiated: _angular_core.Signal<boolean>;
|
|
580
585
|
isEmpty: _angular_core.Signal<boolean>;
|
|
586
|
+
isDirty: _angular_core.Signal<boolean>;
|
|
581
587
|
snapshot: _angular_core.Signal<{}>;
|
|
582
588
|
initial: _angular_core.Signal<{}>;
|
|
583
589
|
previous: _angular_core.Signal<{}>;
|
|
@@ -598,12 +604,11 @@ declare class AXPWidgetRendererDirective {
|
|
|
598
604
|
protected unsubscriber: AXUnsubscriber;
|
|
599
605
|
protected translateService: AXTranslationService;
|
|
600
606
|
protected widgetService: AXPWidgetRegistryService;
|
|
607
|
+
protected expressionEvaluator: AXPExpressionEvaluatorService;
|
|
601
608
|
private viewContainerRef;
|
|
602
609
|
protected isLoading: WritableSignal<boolean>;
|
|
603
610
|
private instance;
|
|
604
|
-
private expressionCache;
|
|
605
611
|
private expressionEvaluators;
|
|
606
|
-
private scope;
|
|
607
612
|
private componentRef;
|
|
608
613
|
private onContextChanged;
|
|
609
614
|
constructor();
|
|
@@ -617,7 +622,7 @@ declare class AXPWidgetRendererDirective {
|
|
|
617
622
|
updateOptionsBasedOnContext(): Promise<number>;
|
|
618
623
|
updateValueBasedOnFormula(): Promise<void>;
|
|
619
624
|
private evaluateExpression;
|
|
620
|
-
private
|
|
625
|
+
private buildExpressionScope;
|
|
621
626
|
private getContextScope;
|
|
622
627
|
private getEventScope;
|
|
623
628
|
private getWidgetScope;
|
|
@@ -646,15 +651,17 @@ declare class AXPLayoutBuilderModule {
|
|
|
646
651
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXPLayoutBuilderModule>;
|
|
647
652
|
}
|
|
648
653
|
|
|
654
|
+
interface AXPWidgetDataSourceColumn {
|
|
655
|
+
name: string;
|
|
656
|
+
title: string;
|
|
657
|
+
type?: string;
|
|
658
|
+
}
|
|
649
659
|
interface AXPWidgetDataSource<T = any> {
|
|
650
660
|
name: string;
|
|
651
661
|
title: string;
|
|
652
662
|
valueField: string;
|
|
653
663
|
textField: string;
|
|
654
|
-
columns:
|
|
655
|
-
name: string;
|
|
656
|
-
title: string;
|
|
657
|
-
}[];
|
|
664
|
+
columns: AXPWidgetDataSourceColumn[];
|
|
658
665
|
samples?: any[];
|
|
659
666
|
source: () => AXDataSource<T> | Promise<AXDataSource<T>>;
|
|
660
667
|
}
|
|
@@ -680,4 +687,4 @@ interface AXPMetaDataDefinition {
|
|
|
680
687
|
declare const AXPWidgetsCatalog: AXPWidgetTypesMap;
|
|
681
688
|
|
|
682
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 };
|
|
683
|
-
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 };
|
|
@@ -301,6 +301,7 @@ declare class AXPComponentSlotDirective implements OnInit {
|
|
|
301
301
|
isReset: _angular_core.Signal<boolean>;
|
|
302
302
|
isInitiated: _angular_core.Signal<boolean>;
|
|
303
303
|
isEmpty: _angular_core.Signal<boolean>;
|
|
304
|
+
isDirty: _angular_core.Signal<boolean>;
|
|
304
305
|
snapshot: _angular_core.Signal<AXPContextData>;
|
|
305
306
|
initial: _angular_core.Signal<{}>;
|
|
306
307
|
previous: _angular_core.Signal<{}>;
|
|
@@ -319,6 +320,8 @@ declare class AXPComponentSlotDirective implements OnInit {
|
|
|
319
320
|
}>;
|
|
320
321
|
isEmpty: _angular_core.Signal<boolean>;
|
|
321
322
|
private _viewCount;
|
|
323
|
+
private componentRefs;
|
|
324
|
+
constructor();
|
|
322
325
|
ngOnInit(): Promise<void>;
|
|
323
326
|
loadComponents(): Promise<void>;
|
|
324
327
|
private evaluateCondition;
|
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/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,15 +257,12 @@ declare class AXPDateTimeBoxWidgetFilterComponent extends AXPValueWidgetComponen
|
|
|
256
257
|
}
|
|
257
258
|
|
|
258
259
|
declare class AXPDateTimeBoxWidgetColumnComponent extends AXPColumnWidgetComponent<string | string[]> {
|
|
259
|
-
#private;
|
|
260
260
|
private formatter;
|
|
261
|
-
private
|
|
262
|
-
protected convertedValue: _angular_core.WritableSignal<string | string[] | null>;
|
|
261
|
+
private translationService;
|
|
263
262
|
protected multiple: boolean;
|
|
264
|
-
protected
|
|
265
|
-
|
|
266
|
-
protected handleFormat(value: string):
|
|
267
|
-
protected isArray(val: any): val is any[];
|
|
263
|
+
protected format: _angular_core.Signal<"date" | "datetime" | "time">;
|
|
264
|
+
protected internalValue: () => string[];
|
|
265
|
+
protected handleFormat(value: string): string;
|
|
268
266
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDateTimeBoxWidgetColumnComponent, never>;
|
|
269
267
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPDateTimeBoxWidgetColumnComponent, "ng-component", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
270
268
|
}
|
|
@@ -959,6 +957,7 @@ declare class AXPTextBoxWidgetEditComponent extends AXPValueWidgetComponent<any>
|
|
|
959
957
|
protected multiLanguage: Signal<boolean>;
|
|
960
958
|
protected hasClearButton: Signal<boolean>;
|
|
961
959
|
protected disabled: Signal<boolean>;
|
|
960
|
+
protected readonly: Signal<boolean>;
|
|
962
961
|
protected placeholder: Signal<string>;
|
|
963
962
|
protected translatedValues: {
|
|
964
963
|
[key: string]: string;
|
|
@@ -1118,6 +1117,13 @@ declare class AXPFileUploaderWidgetEditComponent extends AXPValueWidgetComponent
|
|
|
1118
1117
|
* Revert a deleted file back to attached status.
|
|
1119
1118
|
*/
|
|
1120
1119
|
handleFileRevert(file: AXPFileListItem): void;
|
|
1120
|
+
/**
|
|
1121
|
+
* Handle file rename action
|
|
1122
|
+
*/
|
|
1123
|
+
handleFileRename(data: {
|
|
1124
|
+
file: AXPFileListItem;
|
|
1125
|
+
newName: string;
|
|
1126
|
+
}): void;
|
|
1121
1127
|
clear(): void;
|
|
1122
1128
|
private get __class();
|
|
1123
1129
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPFileUploaderWidgetEditComponent, never>;
|
|
@@ -1496,7 +1502,9 @@ declare class AXPRepeaterWidgetViewComponent extends AXPValueWidgetComponent<any
|
|
|
1496
1502
|
declare class AXPRepeaterWidgetEditComponent extends AXPValueWidgetComponent<any> {
|
|
1497
1503
|
protected disabled: _angular_core.Signal<boolean>;
|
|
1498
1504
|
protected hasControls: _angular_core.Signal<boolean>;
|
|
1505
|
+
protected isDraggable: _angular_core.Signal<boolean>;
|
|
1499
1506
|
protected rows: _angular_core.Signal<any[]>;
|
|
1507
|
+
test(e: AXDropListDroppedEvent): void;
|
|
1500
1508
|
protected handleAddItemClick(): void;
|
|
1501
1509
|
protected handleRemoveItemClick(i: number): void;
|
|
1502
1510
|
addNew(): void;
|
package/domain/README.md
DELETED