@acorex/platform 20.4.2 → 20.5.0-next.1
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/index.d.ts +9 -1
- package/core/index.d.ts +405 -193
- package/fesm2022/acorex-platform-common.mjs +34 -11
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +638 -244
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +417 -112
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +614 -31
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +143 -511
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +70 -47
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +2750 -1480
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-rdKxuMC_.mjs → acorex-platform-themes-default-entity-master-list-view.component-ccqB5ShI.mjs} +7 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-rdKxuMC_.mjs.map → acorex-platform-themes-default-entity-master-list-view.component-ccqB5ShI.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +8 -3
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared.mjs +676 -271
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/layout/builder/index.d.ts +127 -28
- package/layout/components/index.d.ts +245 -3
- package/layout/entity/index.d.ts +1 -59
- package/layout/widget-core/index.d.ts +20 -1
- package/layout/widgets/index.d.ts +396 -6
- package/package.json +6 -5
- package/themes/default/index.d.ts +1 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { AXFormComponent } from '@acorex/components/form';
|
|
5
5
|
import { AXValidationSummary } from '@acorex/core/validation';
|
|
6
|
-
import { AXPWidgetNode, AXPWidgetRenderMode, AXPWidgetCoreContextChangeEvent, AXPWidgetContainerComponent } from '@acorex/platform/layout/widget-core';
|
|
6
|
+
import { AXPWidgetNode, AXPWidgetRenderMode, AXPWidgetCoreContextChangeEvent, AXPWidgetContainerComponent, AXPWidgetCoreElementAction } from '@acorex/platform/layout/widget-core';
|
|
7
7
|
import { AXDataSource } from '@acorex/cdk/common';
|
|
8
8
|
import { AXPopupSizeType } from '@acorex/components/popup';
|
|
9
|
+
import { AXStepWizardLook } from '@acorex/components/step-wizard';
|
|
9
10
|
import { AXPGridLayoutOptions, AXPExpression, AXPValidationRules, AXPActionMenuItem, AXPOptionsData } from '@acorex/platform/core';
|
|
10
11
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
11
12
|
|
|
@@ -303,6 +304,61 @@ interface AXPListWidgetOptions extends LayoutWidgetOptions {
|
|
|
303
304
|
animation?: boolean;
|
|
304
305
|
};
|
|
305
306
|
}
|
|
307
|
+
interface AXPWizardActionDefinition {
|
|
308
|
+
title?: string;
|
|
309
|
+
icon?: string;
|
|
310
|
+
color?: string;
|
|
311
|
+
}
|
|
312
|
+
interface AXPWizardActions {
|
|
313
|
+
previous?: AXPWizardActionDefinition;
|
|
314
|
+
next?: AXPWizardActionDefinition;
|
|
315
|
+
submit?: AXPWizardActionDefinition;
|
|
316
|
+
}
|
|
317
|
+
interface AXPStepDefinition {
|
|
318
|
+
id: string;
|
|
319
|
+
title: string;
|
|
320
|
+
description?: string;
|
|
321
|
+
icon?: string;
|
|
322
|
+
skippable?: boolean;
|
|
323
|
+
content: AXPWidgetNode;
|
|
324
|
+
actions?: AXPActionMenuItem[];
|
|
325
|
+
}
|
|
326
|
+
interface AXPStepWizardGuardPayload {
|
|
327
|
+
step: AXPStepDefinition;
|
|
328
|
+
index: number;
|
|
329
|
+
total: number;
|
|
330
|
+
isFirst: boolean;
|
|
331
|
+
isLast: boolean;
|
|
332
|
+
context: any;
|
|
333
|
+
stepContext?: any;
|
|
334
|
+
dialogContext?: any;
|
|
335
|
+
}
|
|
336
|
+
interface AXPStepWizardStatus {
|
|
337
|
+
currentStep: AXPStepDefinition;
|
|
338
|
+
index: number;
|
|
339
|
+
total: number;
|
|
340
|
+
isFirst: boolean;
|
|
341
|
+
isLast: boolean;
|
|
342
|
+
}
|
|
343
|
+
interface AXPStepWizardDefinition {
|
|
344
|
+
steps: AXPStepDefinition[];
|
|
345
|
+
linear?: boolean;
|
|
346
|
+
direction?: 'horizontal' | 'vertical';
|
|
347
|
+
look?: string;
|
|
348
|
+
showActions?: boolean;
|
|
349
|
+
actions?: AXPWizardActions;
|
|
350
|
+
guards?: {
|
|
351
|
+
next?: (payload: AXPStepWizardGuardPayload) => boolean | Promise<boolean>;
|
|
352
|
+
prev?: (payload: AXPStepWizardGuardPayload) => boolean | Promise<boolean>;
|
|
353
|
+
};
|
|
354
|
+
events?: {
|
|
355
|
+
onStepChanged?: (status: AXPStepWizardStatus) => void;
|
|
356
|
+
onComplete?: (status: AXPStepWizardStatus) => void;
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
interface AXPStepWizardContainerOptions extends LayoutWidgetOptions {
|
|
360
|
+
definition?: AXPStepWizardDefinition;
|
|
361
|
+
}
|
|
306
362
|
interface InheritanceContext {
|
|
307
363
|
mode?: AXPWidgetRenderMode;
|
|
308
364
|
disabled?: boolean | string;
|
|
@@ -351,6 +407,7 @@ interface ILayoutBuilder {
|
|
|
351
407
|
tabset(delegate: (container: ITabsetContainerBuilder) => void): ILayoutBuilder;
|
|
352
408
|
fieldset(delegate: (container: IFieldsetContainerBuilder) => void): ILayoutBuilder;
|
|
353
409
|
dialog(delegate: (container: IDialogBuilder) => void): IDialogBuilder;
|
|
410
|
+
stepWizard(delegate: (wizard: IStepWizardBuilder) => void): ILayoutBuilder;
|
|
354
411
|
build(): AXPWidgetNode;
|
|
355
412
|
}
|
|
356
413
|
interface IWidgetBuilder {
|
|
@@ -393,6 +450,7 @@ interface IChildContainerBuilder<TContainer = any> {
|
|
|
393
450
|
tabset(delegate: (container: ITabsetContainerBuilder) => void): TContainer;
|
|
394
451
|
fieldset(delegate: (container: IFieldsetContainerBuilder) => void): TContainer;
|
|
395
452
|
formField(label: string, delegate?: (field: IFormFieldBuilder) => void): TContainer;
|
|
453
|
+
stepWizard(delegate: (wizard: IStepWizardBuilder) => void): TContainer;
|
|
396
454
|
}
|
|
397
455
|
interface IWidgetContainerBuilder<TContainer = any> {
|
|
398
456
|
textBox(options?: TextBoxOptions): TContainer;
|
|
@@ -485,6 +543,8 @@ interface IFieldsetContainerBuilder extends IBaseContainerBuilder<IFieldsetConta
|
|
|
485
543
|
setCols(cols: number): IFieldsetContainerBuilder;
|
|
486
544
|
formField(label: string, delegate?: (field: IFormFieldBuilder) => void): IFieldsetContainerBuilder;
|
|
487
545
|
}
|
|
546
|
+
interface IDialogBuilder {
|
|
547
|
+
}
|
|
488
548
|
interface IDialogBuilder {
|
|
489
549
|
setOptions(options: AXPDialogContainerOptions): IDialogBuilder;
|
|
490
550
|
setTitle(title: string): IDialogBuilder;
|
|
@@ -494,6 +554,7 @@ interface IDialogBuilder {
|
|
|
494
554
|
setContext(context: any): IDialogBuilder;
|
|
495
555
|
content(delegate: (layoutBuilder: IFlexContainerBuilder) => void): IDialogBuilder;
|
|
496
556
|
setActions(delegate?: (actions: IActionBuilder) => void): IDialogBuilder;
|
|
557
|
+
addCustomAction(action: AXPActionMenuItem): IDialogBuilder;
|
|
497
558
|
show(): Promise<AXPDialogRef>;
|
|
498
559
|
}
|
|
499
560
|
interface IListWidgetBuilder extends IBaseContainerBuilder<IListWidgetBuilder>, ILayoutContainerBuilder<IListWidgetBuilder>, IChildContainerBuilder<IListWidgetBuilder>, IWidgetContainerBuilder<IListWidgetBuilder> {
|
|
@@ -521,6 +582,29 @@ interface IListWidgetBuilder extends IBaseContainerBuilder<IListWidgetBuilder>,
|
|
|
521
582
|
animation?: boolean;
|
|
522
583
|
}): IListWidgetBuilder;
|
|
523
584
|
}
|
|
585
|
+
interface IStepBuilder {
|
|
586
|
+
setIcon(icon: string): IStepBuilder;
|
|
587
|
+
setDescription(description: string): IStepBuilder;
|
|
588
|
+
setSkippable(skippable: boolean): IStepBuilder;
|
|
589
|
+
content(delegate: (layoutBuilder: ILayoutBuilder) => void): IStepBuilder;
|
|
590
|
+
build(): AXPStepDefinition;
|
|
591
|
+
}
|
|
592
|
+
interface IStepWizardBuilder extends IBaseContainerBuilder<IStepWizardBuilder>, ILayoutContainerBuilder<IStepWizardBuilder> {
|
|
593
|
+
setLinear(linear: boolean): IStepWizardBuilder;
|
|
594
|
+
setDirection(direction: 'horizontal' | 'vertical'): IStepWizardBuilder;
|
|
595
|
+
setLook(look: AXStepWizardLook): IStepWizardBuilder;
|
|
596
|
+
setShowActions(show: boolean): IStepWizardBuilder;
|
|
597
|
+
setActions(actions: AXPWizardActions): IStepWizardBuilder;
|
|
598
|
+
setGuards(guards: {
|
|
599
|
+
next?: (payload: AXPStepWizardGuardPayload) => boolean | Promise<boolean>;
|
|
600
|
+
prev?: (payload: AXPStepWizardGuardPayload) => boolean | Promise<boolean>;
|
|
601
|
+
}): IStepWizardBuilder;
|
|
602
|
+
setEvents(events: {
|
|
603
|
+
onStepChanged?: (status: AXPStepWizardStatus) => void;
|
|
604
|
+
onComplete?: (status: AXPStepWizardStatus) => void;
|
|
605
|
+
}): IStepWizardBuilder;
|
|
606
|
+
step(id: string, title: string, delegate: (step: IStepBuilder) => void): IStepWizardBuilder;
|
|
607
|
+
}
|
|
524
608
|
|
|
525
609
|
declare class AXPLayoutRendererComponent implements OnInit {
|
|
526
610
|
#private;
|
|
@@ -550,39 +634,39 @@ declare class AXPLayoutRendererComponent implements OnInit {
|
|
|
550
634
|
/**
|
|
551
635
|
* Form definition containing groups and fields OR widget tree
|
|
552
636
|
*/
|
|
553
|
-
layout:
|
|
637
|
+
layout: _angular_core.InputSignal<AXPWidgetNode | AXPDynamicFormDefinition>;
|
|
554
638
|
/**
|
|
555
639
|
* Form context/model data
|
|
556
640
|
*/
|
|
557
|
-
context:
|
|
641
|
+
context: _angular_core.ModelSignal<any>;
|
|
558
642
|
/**
|
|
559
643
|
* Form appearance and density styling (normal, compact, spacious)
|
|
560
644
|
*/
|
|
561
|
-
look:
|
|
645
|
+
look: _angular_core.InputSignal<AXPDynamicFormLook>;
|
|
562
646
|
/**
|
|
563
647
|
* Default form mode. Can be overridden by section/group and field.
|
|
564
648
|
*/
|
|
565
|
-
mode:
|
|
566
|
-
protected widgetTree:
|
|
649
|
+
mode: _angular_core.InputSignal<AXPDynamicFormMode>;
|
|
650
|
+
protected widgetTree: _angular_core.WritableSignal<AXPWidgetNode | null>;
|
|
567
651
|
/**
|
|
568
652
|
* Convert and evaluate data when inputs change (optimized with RxJS)
|
|
569
653
|
*/
|
|
570
|
-
conversionEffect:
|
|
654
|
+
conversionEffect: _angular_core.EffectRef;
|
|
571
655
|
protected expressionEvaluator(expression: any, context: any): Promise<any>;
|
|
572
656
|
/**
|
|
573
657
|
* Emitted when context change is initiated
|
|
574
658
|
*/
|
|
575
|
-
contextInitiated:
|
|
659
|
+
contextInitiated: _angular_core.OutputEmitterRef<any>;
|
|
576
660
|
/**
|
|
577
661
|
* Emitted when form becomes valid/invalid
|
|
578
662
|
*/
|
|
579
|
-
validityChange:
|
|
663
|
+
validityChange: _angular_core.OutputEmitterRef<boolean>;
|
|
580
664
|
private form;
|
|
581
665
|
private container;
|
|
582
666
|
/**
|
|
583
667
|
* Internal context signal for reactivity
|
|
584
668
|
*/
|
|
585
|
-
protected internalContext:
|
|
669
|
+
protected internalContext: _angular_core.WritableSignal<any>;
|
|
586
670
|
/**
|
|
587
671
|
* Initial context for reset functionality
|
|
588
672
|
*/
|
|
@@ -648,14 +732,14 @@ declare class AXPLayoutRendererComponent implements OnInit {
|
|
|
648
732
|
* Simple hash function for generating short keys
|
|
649
733
|
*/
|
|
650
734
|
private simpleHash;
|
|
651
|
-
static ɵfac:
|
|
652
|
-
static ɵcmp:
|
|
735
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLayoutRendererComponent, never>;
|
|
736
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLayoutRendererComponent, "axp-layout-renderer", never, { "layout": { "alias": "layout"; "required": true; "isSignal": true; }; "context": { "alias": "context"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; }, { "context": "contextChange"; "contextInitiated": "contextInitiated"; "validityChange": "validityChange"; }, never, never, true, never>;
|
|
653
737
|
}
|
|
654
738
|
|
|
655
739
|
declare class LayoutBuilderModule {
|
|
656
|
-
static ɵfac:
|
|
657
|
-
static ɵmod:
|
|
658
|
-
static ɵinj:
|
|
740
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LayoutBuilderModule, never>;
|
|
741
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<LayoutBuilderModule, never, [typeof i1.CommonModule, typeof AXPLayoutRendererComponent], [typeof AXPLayoutRendererComponent]>;
|
|
742
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<LayoutBuilderModule>;
|
|
659
743
|
}
|
|
660
744
|
|
|
661
745
|
declare class AXPLayoutBuilderService {
|
|
@@ -664,8 +748,8 @@ declare class AXPLayoutBuilderService {
|
|
|
664
748
|
* Create a new layout builder
|
|
665
749
|
*/
|
|
666
750
|
create(): ILayoutBuilder;
|
|
667
|
-
static ɵfac:
|
|
668
|
-
static ɵprov:
|
|
751
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLayoutBuilderService, never>;
|
|
752
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPLayoutBuilderService>;
|
|
669
753
|
}
|
|
670
754
|
|
|
671
755
|
declare class AXPLayoutConversionService {
|
|
@@ -730,8 +814,8 @@ declare class AXPLayoutConversionService {
|
|
|
730
814
|
* Create a simple hash from a string
|
|
731
815
|
*/
|
|
732
816
|
private createSimpleHash;
|
|
733
|
-
static ɵfac:
|
|
734
|
-
static ɵprov:
|
|
817
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLayoutConversionService, never>;
|
|
818
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPLayoutConversionService>;
|
|
735
819
|
}
|
|
736
820
|
|
|
737
821
|
interface DialogRendererConfig {
|
|
@@ -751,25 +835,40 @@ interface DialogRendererResult {
|
|
|
751
835
|
action?: string;
|
|
752
836
|
}
|
|
753
837
|
declare class AXPDialogRendererComponent extends AXBasePageComponent implements OnInit {
|
|
838
|
+
#private;
|
|
754
839
|
config: DialogRendererConfig;
|
|
755
840
|
result: EventEmitter<DialogRendererResult>;
|
|
841
|
+
private widgetCoreService;
|
|
842
|
+
private expressionEvaluator;
|
|
756
843
|
private dialogResult?;
|
|
757
|
-
context:
|
|
844
|
+
context: _angular_core.WritableSignal<any>;
|
|
758
845
|
callBack: (dialogRef: AXPDialogRef) => void;
|
|
759
846
|
data: any;
|
|
760
847
|
private isDialogLoading;
|
|
848
|
+
footerPrefix: _angular_core.WritableSignal<AXPWidgetCoreElementAction[]>;
|
|
849
|
+
footerSuffix: _angular_core.WritableSignal<AXPWidgetCoreElementAction[]>;
|
|
761
850
|
ngOnInit(): void;
|
|
851
|
+
private layoutRenderer;
|
|
852
|
+
private debounceTimer?;
|
|
762
853
|
handleContextChanged(event: any): void;
|
|
763
854
|
handleContextInitiated(event: any): void;
|
|
764
|
-
|
|
765
|
-
|
|
855
|
+
footerPrefixActions(): AXPWidgetCoreElementAction[];
|
|
856
|
+
footerSuffixActions(): AXPWidgetCoreElementAction[];
|
|
766
857
|
isFormLoading(): boolean;
|
|
767
858
|
isSubmitting(): boolean;
|
|
768
|
-
executeAction(action:
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
859
|
+
executeAction(action: AXPWidgetCoreElementAction): Promise<void>;
|
|
860
|
+
private parseWidgetCommand;
|
|
861
|
+
private executeWidgetApi;
|
|
862
|
+
close(result?: DialogRendererResult): Promise<void>;
|
|
863
|
+
private aggregateAndEvaluateActions;
|
|
864
|
+
private collectWidgetActions;
|
|
865
|
+
private collectDialogActionsFromConfig;
|
|
866
|
+
private evaluatePredicates;
|
|
867
|
+
private evalBool;
|
|
868
|
+
private resolveApi;
|
|
869
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDialogRendererComponent, never>;
|
|
870
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPDialogRendererComponent, "axp-dialog-renderer", never, { "config": { "alias": "config"; "required": false; }; }, { "result": "result"; }, never, never, true, never>;
|
|
772
871
|
}
|
|
773
872
|
|
|
774
873
|
export { AXPDialogRendererComponent, AXPLayoutBuilderService, AXPLayoutConversionService, AXPLayoutRendererComponent, LayoutBuilderModule };
|
|
775
|
-
export type { AXPDialogContainerOptions, AXPDialogRef, AXPDynamicFormDefinition, AXPDynamicFormDirection, AXPDynamicFormFieldDefinition, AXPDynamicFormGroupDefinition, AXPDynamicFormLook, AXPDynamicFormMode, AXPFieldsetContainerOptions, AXPFlexContainerOptions, AXPFormFieldOptions, AXPGridContainerOptions, AXPListWidgetColumn, AXPListWidgetOptions, AXPListWidgetRowCommand, AXPPageContainerOptions, AXPPanelContainerOptions, AXPTabsetContainerOptions, AXPWidgetConfiguration, ColorBoxOptions, DateTimeBoxOptions, DialogBuilderState, DialogRendererConfig, DialogRendererResult, FormFieldBuilderState, IActionBuilder, IBaseContainerBuilder, IChildContainerBuilder, IDialogBuilder, IFieldsetContainerBuilder, IFlexContainerBuilder, IFormFieldBuilder, IGridContainerBuilder, ILayoutBuilder, ILayoutContainerBuilder, IListWidgetBuilder, IPageContainerBuilder, IPanelContainerBuilder, ITabsetContainerBuilder, IWidgetBuilder, IWidgetContainerBuilder, InheritanceContext, InheritedProperties, LargeTextBoxOptions, LayoutBuilderState, LayoutWidgetOptions, LookupBoxOptions, NumberBoxOptions, PasswordBoxOptions, RichTextOptions, SelectBoxOptions, SelectionListOptions, TextBoxOptions, ToggleSwitchOptions, ValueWidgetOptions, WidgetBuilderState };
|
|
874
|
+
export type { AXPDialogContainerOptions, AXPDialogRef, AXPDynamicFormDefinition, AXPDynamicFormDirection, AXPDynamicFormFieldDefinition, AXPDynamicFormGroupDefinition, AXPDynamicFormLook, AXPDynamicFormMode, AXPFieldsetContainerOptions, AXPFlexContainerOptions, AXPFormFieldOptions, AXPGridContainerOptions, AXPListWidgetColumn, AXPListWidgetOptions, AXPListWidgetRowCommand, AXPPageContainerOptions, AXPPanelContainerOptions, AXPStepDefinition, AXPStepWizardContainerOptions, AXPStepWizardDefinition, AXPStepWizardGuardPayload, AXPStepWizardStatus, AXPTabsetContainerOptions, AXPWidgetConfiguration, AXPWizardActionDefinition, AXPWizardActions, ColorBoxOptions, DateTimeBoxOptions, DialogBuilderState, DialogRendererConfig, DialogRendererResult, FormFieldBuilderState, IActionBuilder, IBaseContainerBuilder, IChildContainerBuilder, IDialogBuilder, IFieldsetContainerBuilder, IFlexContainerBuilder, IFormFieldBuilder, IGridContainerBuilder, ILayoutBuilder, ILayoutContainerBuilder, IListWidgetBuilder, IPageContainerBuilder, IPanelContainerBuilder, IStepBuilder, IStepWizardBuilder, ITabsetContainerBuilder, IWidgetBuilder, IWidgetContainerBuilder, InheritanceContext, InheritedProperties, LargeTextBoxOptions, LayoutBuilderState, LayoutWidgetOptions, LookupBoxOptions, NumberBoxOptions, PasswordBoxOptions, RichTextOptions, SelectBoxOptions, SelectionListOptions, TextBoxOptions, ToggleSwitchOptions, ValueWidgetOptions, WidgetBuilderState };
|
|
@@ -18,6 +18,7 @@ import { AXCalendarService } from '@acorex/core/date-time';
|
|
|
18
18
|
import { AXTabStripChangedEvent, AXTabsComponent } from '@acorex/components/tabs';
|
|
19
19
|
import { AXFormComponent } from '@acorex/components/form';
|
|
20
20
|
import { AXPopupSizeType, AXPopupService } from '@acorex/components/popup';
|
|
21
|
+
import * as _acorex_platform_layout_components from '@acorex/platform/layout/components';
|
|
21
22
|
import { Observable } from 'rxjs';
|
|
22
23
|
|
|
23
24
|
declare class AXPActivityLogComponent {
|
|
@@ -285,6 +286,39 @@ declare class AXPCategoryTreeComponent {
|
|
|
285
286
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPCategoryTreeComponent, "axp-category-tree", never, { "dataSource": { "alias": "dataSource"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "events": { "alias": "events"; "required": false; "isSignal": true; }; }, { "nodeClick": "nodeClick"; "nodeSelect": "nodeSelect"; "nodeCreate": "nodeCreate"; "nodeUpdate": "nodeUpdate"; "nodeDelete": "nodeDelete"; "searchChange": "searchChange"; "collapseChange": "collapseChange"; }, never, never, true, never>;
|
|
286
287
|
}
|
|
287
288
|
|
|
289
|
+
/**
|
|
290
|
+
* Color Palette Picker Component
|
|
291
|
+
* Displays a grid of color swatches for selection
|
|
292
|
+
*/
|
|
293
|
+
declare class AXPColorPalettePickerComponent {
|
|
294
|
+
/**
|
|
295
|
+
* Array of color codes to display
|
|
296
|
+
*/
|
|
297
|
+
colors: _angular_core.InputSignal<string[]>;
|
|
298
|
+
/**
|
|
299
|
+
* Currently selected color
|
|
300
|
+
*/
|
|
301
|
+
selectedColor: _angular_core.InputSignal<string | undefined>;
|
|
302
|
+
/**
|
|
303
|
+
* Disable the entire palette
|
|
304
|
+
*/
|
|
305
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
306
|
+
/**
|
|
307
|
+
* Make the palette readonly
|
|
308
|
+
*/
|
|
309
|
+
readonly: _angular_core.InputSignal<boolean>;
|
|
310
|
+
/**
|
|
311
|
+
* Emits when a color is selected
|
|
312
|
+
*/
|
|
313
|
+
colorSelected: _angular_core.OutputEmitterRef<string>;
|
|
314
|
+
/**
|
|
315
|
+
* Handle color selection
|
|
316
|
+
*/
|
|
317
|
+
protected handleColorSelect(color: string): void;
|
|
318
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPColorPalettePickerComponent, never>;
|
|
319
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPColorPalettePickerComponent, "axp-color-palette-picker", never, { "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "selectedColor": { "alias": "selectedColor"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; }, { "colorSelected": "colorSelected"; }, never, never, true, never>;
|
|
320
|
+
}
|
|
321
|
+
|
|
288
322
|
declare class AXPQueryColumnsComponent {
|
|
289
323
|
columns: _angular_core.ModelSignal<AXPColumnQuery[]>;
|
|
290
324
|
handleVisibilityChange(e: AXValueChangedEvent<boolean>, name: string): void;
|
|
@@ -1062,6 +1096,213 @@ declare class AXPTemplateViewerService {
|
|
|
1062
1096
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPTemplateViewerService>;
|
|
1063
1097
|
}
|
|
1064
1098
|
|
|
1099
|
+
interface AXPTreeListNode {
|
|
1100
|
+
id: string;
|
|
1101
|
+
title: string;
|
|
1102
|
+
icon?: string;
|
|
1103
|
+
description?: string;
|
|
1104
|
+
data?: any;
|
|
1105
|
+
children?: AXPTreeListNode[];
|
|
1106
|
+
actions?: AXPTreeListAction[];
|
|
1107
|
+
expanded?: boolean;
|
|
1108
|
+
disabled?: boolean;
|
|
1109
|
+
draggable?: boolean;
|
|
1110
|
+
droppable?: boolean;
|
|
1111
|
+
selectable?: boolean;
|
|
1112
|
+
selected?: boolean;
|
|
1113
|
+
visible?: boolean;
|
|
1114
|
+
cssClass?: string;
|
|
1115
|
+
badge?: {
|
|
1116
|
+
text: string;
|
|
1117
|
+
color?: string;
|
|
1118
|
+
};
|
|
1119
|
+
}
|
|
1120
|
+
interface AXPTreeListAction {
|
|
1121
|
+
id: string;
|
|
1122
|
+
text: string;
|
|
1123
|
+
icon?: string;
|
|
1124
|
+
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info';
|
|
1125
|
+
disabled?: boolean;
|
|
1126
|
+
visible?: boolean;
|
|
1127
|
+
onClick?: (node: AXPTreeListNode) => void;
|
|
1128
|
+
}
|
|
1129
|
+
interface AXPTreeListConfig {
|
|
1130
|
+
dragEnabled?: boolean;
|
|
1131
|
+
showDragIndicator?: boolean;
|
|
1132
|
+
expandable?: boolean;
|
|
1133
|
+
showLines?: boolean;
|
|
1134
|
+
defaultExpanded?: boolean;
|
|
1135
|
+
multiSelect?: boolean;
|
|
1136
|
+
showCheckboxes?: boolean;
|
|
1137
|
+
showIcons?: boolean;
|
|
1138
|
+
showActions?: boolean;
|
|
1139
|
+
showDescription?: boolean;
|
|
1140
|
+
showBadges?: boolean;
|
|
1141
|
+
indentSize?: number;
|
|
1142
|
+
animationDuration?: number;
|
|
1143
|
+
allowDragToRoot?: boolean;
|
|
1144
|
+
allowDragBetweenLevels?: boolean;
|
|
1145
|
+
validateDrop?: (dragNode: AXPTreeListNode, dropNode: AXPTreeListNode | null, position: DropPosition) => boolean;
|
|
1146
|
+
}
|
|
1147
|
+
type DropPosition = 'before' | 'after' | 'inside';
|
|
1148
|
+
interface AXPTreeListDropEvent {
|
|
1149
|
+
dragNode: AXPTreeListNode;
|
|
1150
|
+
dropNode: AXPTreeListNode | null;
|
|
1151
|
+
position: DropPosition;
|
|
1152
|
+
oldParent: AXPTreeListNode | null;
|
|
1153
|
+
newParent: AXPTreeListNode | null;
|
|
1154
|
+
oldIndex: number;
|
|
1155
|
+
newIndex: number;
|
|
1156
|
+
}
|
|
1157
|
+
interface AXPTreeListNodeClickEvent {
|
|
1158
|
+
node: AXPTreeListNode;
|
|
1159
|
+
event: MouseEvent;
|
|
1160
|
+
}
|
|
1161
|
+
interface AXPTreeListNodeExpandEvent {
|
|
1162
|
+
node: AXPTreeListNode;
|
|
1163
|
+
expanded: boolean;
|
|
1164
|
+
}
|
|
1165
|
+
interface AXPTreeListNodeSelectEvent {
|
|
1166
|
+
node: AXPTreeListNode;
|
|
1167
|
+
selected: boolean;
|
|
1168
|
+
selectedNodes: AXPTreeListNode[];
|
|
1169
|
+
}
|
|
1170
|
+
type AXPTreeListLook = 'default' | 'folder' | 'card';
|
|
1171
|
+
interface AXPTreeListDragState {
|
|
1172
|
+
isDragging: boolean;
|
|
1173
|
+
dragNode: AXPTreeListNode | null;
|
|
1174
|
+
dropTarget: AXPTreeListNode | null;
|
|
1175
|
+
dropPosition: DropPosition | null;
|
|
1176
|
+
canDrop: boolean;
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
declare class AXPTreeListItemComponent {
|
|
1180
|
+
node: _angular_core.InputSignal<AXPTreeListNode>;
|
|
1181
|
+
level: _angular_core.InputSignal<number>;
|
|
1182
|
+
config: _angular_core.InputSignal<Required<AXPTreeListConfig>>;
|
|
1183
|
+
look: _angular_core.InputSignal<AXPTreeListLook>;
|
|
1184
|
+
expanded: _angular_core.InputSignal<boolean>;
|
|
1185
|
+
selected: _angular_core.InputSignal<boolean>;
|
|
1186
|
+
dragState: _angular_core.InputSignal<AXPTreeListDragState>;
|
|
1187
|
+
expandedNodes: _angular_core.InputSignal<Set<string>>;
|
|
1188
|
+
selectedNodes: _angular_core.InputSignal<Set<string>>;
|
|
1189
|
+
isLastChild: _angular_core.InputSignal<boolean>;
|
|
1190
|
+
dragStart: _angular_core.OutputEmitterRef<AXPTreeListNode>;
|
|
1191
|
+
dragOver: _angular_core.OutputEmitterRef<{
|
|
1192
|
+
node: AXPTreeListNode | null;
|
|
1193
|
+
position: DropPosition;
|
|
1194
|
+
}>;
|
|
1195
|
+
dragEnd: _angular_core.OutputEmitterRef<void>;
|
|
1196
|
+
dragCancel: _angular_core.OutputEmitterRef<void>;
|
|
1197
|
+
nodeClick: _angular_core.OutputEmitterRef<AXPTreeListNode>;
|
|
1198
|
+
toggle: _angular_core.OutputEmitterRef<AXPTreeListNode>;
|
|
1199
|
+
select: _angular_core.OutputEmitterRef<AXPTreeListNode>;
|
|
1200
|
+
dropPosition: _angular_core.WritableSignal<DropPosition | null>;
|
|
1201
|
+
dragOverZone: _angular_core.WritableSignal<"top" | "middle" | "bottom" | null>;
|
|
1202
|
+
hasChildren: _angular_core.Signal<boolean | undefined>;
|
|
1203
|
+
isDragging: _angular_core.Signal<boolean>;
|
|
1204
|
+
isDragOver: _angular_core.Signal<boolean>;
|
|
1205
|
+
canDrop: _angular_core.Signal<boolean>;
|
|
1206
|
+
indentStyle: _angular_core.Signal<{
|
|
1207
|
+
paddingLeft: string;
|
|
1208
|
+
}>;
|
|
1209
|
+
showExpandIcon: _angular_core.Signal<boolean | undefined>;
|
|
1210
|
+
visibleActions: _angular_core.Signal<_acorex_platform_layout_components.AXPTreeListAction[]>;
|
|
1211
|
+
get checkboxValue(): boolean;
|
|
1212
|
+
set checkboxValue(value: boolean);
|
|
1213
|
+
onDragStart(event: DragEvent): void;
|
|
1214
|
+
onDragOver(event: DragEvent): void;
|
|
1215
|
+
onDragLeave(event: DragEvent): void;
|
|
1216
|
+
onDrop(event: DragEvent): void;
|
|
1217
|
+
onDragEnd(event: DragEvent): void;
|
|
1218
|
+
onToggleClick(event: Event): void;
|
|
1219
|
+
onContentClick(event: MouseEvent): void;
|
|
1220
|
+
onActionClick(event: Event, action: any): void;
|
|
1221
|
+
getDropIndicatorClass(): string;
|
|
1222
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPTreeListItemComponent, never>;
|
|
1223
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPTreeListItemComponent, "axp-tree-list-item", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "level": { "alias": "level"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "dragState": { "alias": "dragState"; "required": true; "isSignal": true; }; "expandedNodes": { "alias": "expandedNodes"; "required": true; "isSignal": true; }; "selectedNodes": { "alias": "selectedNodes"; "required": true; "isSignal": true; }; "isLastChild": { "alias": "isLastChild"; "required": false; "isSignal": true; }; }, { "dragStart": "dragStart"; "dragOver": "dragOver"; "dragEnd": "dragEnd"; "dragCancel": "dragCancel"; "nodeClick": "nodeClick"; "toggle": "toggle"; "select": "select"; }, never, never, true, never>;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
declare class AXPTreeListComponent {
|
|
1227
|
+
nodes: _angular_core.ModelSignal<AXPTreeListNode[]>;
|
|
1228
|
+
config: _angular_core.InputSignal<AXPTreeListConfig>;
|
|
1229
|
+
look: _angular_core.InputSignal<AXPTreeListLook>;
|
|
1230
|
+
nodeDrop: _angular_core.OutputEmitterRef<AXPTreeListDropEvent>;
|
|
1231
|
+
nodeClick: _angular_core.OutputEmitterRef<AXPTreeListNodeClickEvent>;
|
|
1232
|
+
nodeExpand: _angular_core.OutputEmitterRef<AXPTreeListNodeExpandEvent>;
|
|
1233
|
+
nodeSelect: _angular_core.OutputEmitterRef<AXPTreeListNodeSelectEvent>;
|
|
1234
|
+
dragState: _angular_core.WritableSignal<AXPTreeListDragState>;
|
|
1235
|
+
expandedNodes: _angular_core.WritableSignal<Set<string>>;
|
|
1236
|
+
selectedNodes: _angular_core.WritableSignal<Set<string>>;
|
|
1237
|
+
mergedConfig: _angular_core.Signal<Required<AXPTreeListConfig>>;
|
|
1238
|
+
constructor();
|
|
1239
|
+
expandAll(): void;
|
|
1240
|
+
collapseAll(): void;
|
|
1241
|
+
expandNode(nodeId: string): void;
|
|
1242
|
+
collapseNode(nodeId: string): void;
|
|
1243
|
+
toggleNode(nodeId: string): void;
|
|
1244
|
+
selectNode(nodeId: string, multiSelect?: boolean): void;
|
|
1245
|
+
clearSelection(): void;
|
|
1246
|
+
getSelectedNodes(): AXPTreeListNode[];
|
|
1247
|
+
onDragStart(node: AXPTreeListNode): void;
|
|
1248
|
+
onDragOver(node: AXPTreeListNode | null, position: DropPosition): void;
|
|
1249
|
+
onDragEnd(): void;
|
|
1250
|
+
onDragCancel(): void;
|
|
1251
|
+
onNodeClick(node: AXPTreeListNode, event: MouseEvent): void;
|
|
1252
|
+
onNodeToggle(node: AXPTreeListNode): void;
|
|
1253
|
+
onNodeSelect(node: AXPTreeListNode): void;
|
|
1254
|
+
private performDrop;
|
|
1255
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPTreeListComponent, never>;
|
|
1256
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPTreeListComponent, "axp-tree-list", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; }, { "nodes": "nodesChange"; "nodeDrop": "nodeDrop"; "nodeClick": "nodeClick"; "nodeExpand": "nodeExpand"; "nodeSelect": "nodeSelect"; }, never, never, true, never>;
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* Helper functions for tree-list node operations
|
|
1261
|
+
*/
|
|
1262
|
+
declare class AXPTreeListHelper {
|
|
1263
|
+
/**
|
|
1264
|
+
* Find a node by its ID in the tree
|
|
1265
|
+
*/
|
|
1266
|
+
static findNodeById(nodes: AXPTreeListNode[], nodeId: string): AXPTreeListNode | null;
|
|
1267
|
+
/**
|
|
1268
|
+
* Find a node's parent and index in the tree
|
|
1269
|
+
*/
|
|
1270
|
+
static findNodeParentAndIndex(nodes: AXPTreeListNode[], nodeId: string, parent?: AXPTreeListNode | null): {
|
|
1271
|
+
parent: AXPTreeListNode | null;
|
|
1272
|
+
index: number;
|
|
1273
|
+
};
|
|
1274
|
+
/**
|
|
1275
|
+
* Remove a node from the tree by its ID
|
|
1276
|
+
*/
|
|
1277
|
+
static removeNode(nodes: AXPTreeListNode[], nodeId: string): AXPTreeListNode[];
|
|
1278
|
+
/**
|
|
1279
|
+
* Check if a node is a descendant of another node
|
|
1280
|
+
*/
|
|
1281
|
+
static isDescendant(parent: AXPTreeListNode, child: AXPTreeListNode): boolean;
|
|
1282
|
+
/**
|
|
1283
|
+
* Get all node IDs from the tree
|
|
1284
|
+
*/
|
|
1285
|
+
static getAllNodeIds(nodes: AXPTreeListNode[]): string[];
|
|
1286
|
+
/**
|
|
1287
|
+
* Traverse all nodes in the tree and apply a callback
|
|
1288
|
+
*/
|
|
1289
|
+
static traverseNodes(nodes: AXPTreeListNode[], callback: (node: AXPTreeListNode) => void): void;
|
|
1290
|
+
/**
|
|
1291
|
+
* Validate if drop is allowed
|
|
1292
|
+
*/
|
|
1293
|
+
static validateDrop(dragNode: AXPTreeListNode, dropNode: AXPTreeListNode | null, position: DropPosition, config: Required<AXPTreeListConfig>): boolean;
|
|
1294
|
+
/**
|
|
1295
|
+
* Perform the drop operation on the nodes array
|
|
1296
|
+
*/
|
|
1297
|
+
static performDrop(nodes: AXPTreeListNode[], dragNode: AXPTreeListNode, dropNode: AXPTreeListNode | null, position: DropPosition): {
|
|
1298
|
+
newNodes: AXPTreeListNode[];
|
|
1299
|
+
oldParent: AXPTreeListNode | null;
|
|
1300
|
+
newParent: AXPTreeListNode | null;
|
|
1301
|
+
oldIndex: number;
|
|
1302
|
+
newIndex: number;
|
|
1303
|
+
};
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1065
1306
|
type AXPUserAvatarSize = 'small' | 'medium' | 'large';
|
|
1066
1307
|
type AXPUserAvatarStatus = 'online' | 'offline';
|
|
1067
1308
|
type AXPUserAvatarData = {
|
|
@@ -1132,7 +1373,8 @@ declare class AXPUserAvatarComponent implements OnInit, OnDestroy {
|
|
|
1132
1373
|
isOnline: _angular_core.Signal<boolean>;
|
|
1133
1374
|
avatarText: _angular_core.Signal<string>;
|
|
1134
1375
|
avatarColor: _angular_core.Signal<string>;
|
|
1135
|
-
protected
|
|
1376
|
+
protected hasAvatar: _angular_core.Signal<boolean>;
|
|
1377
|
+
protected isAvatarLoaded: _angular_core.WritableSignal<boolean>;
|
|
1136
1378
|
protected onImageError(event: AXHtmlEvent<ErrorEvent>): void;
|
|
1137
1379
|
protected onImageLoad(event: AXHtmlEvent<Event>): void;
|
|
1138
1380
|
ngOnInit(): void;
|
|
@@ -1228,5 +1470,5 @@ declare class AXPWidgetItemComponent {
|
|
|
1228
1470
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPWidgetItemComponent, "axp-widget-item", never, { "widget": { "alias": "widget"; "required": true; "isSignal": true; }; "isSelected": { "alias": "isSelected"; "required": false; "isSignal": true; }; "showPinButton": { "alias": "showPinButton"; "required": false; "isSignal": true; }; "customClasses": { "alias": "customClasses"; "required": false; "isSignal": true; }; }, { "onWidgetClick": "onWidgetClick"; "onPinClick": "onPinClick"; }, never, never, true, never>;
|
|
1229
1471
|
}
|
|
1230
1472
|
|
|
1231
|
-
export { AXPActivityLogComponent, AXPCategoryTreeComponent, AXPCompareViewComponent, AXPComponentSlot, AXPComponentSlotDirective, AXPComponentSlotModule, AXPComponentSlotRegistryService, AXPDataSelectorComponent, AXPDataSelectorService, AXPDynamicFormDesignerComponent, AXPExtraPropertiesComponent, AXPExtraPropertiesSchemaComponent, AXPExtraPropertiesValuesComponent, AXPImageEditorPopupComponent, AXPImageEditorService, AXPMenuBadgeHelper, AXPQueryColumnsComponent, AXPQueryFiltersComponent, AXPQuerySortsComponent, AXPQueryViewsComponent, AXPStateMessageComponent, AXPTaskBadgeDirective, AXPTaskBadgeProvider, AXPTaskBadgeService, AXPTemplateViewerComponent, AXPTemplateViewerService, AXPThemeLayoutActionsComponent, AXPThemeLayoutBlockComponent, AXPThemeLayoutContainerComponent, AXPThemeLayoutEndSideComponent, AXPThemeLayoutFooterComponent, AXPThemeLayoutHeaderComponent, AXPThemeLayoutListComponent, AXPThemeLayoutListItemComponent, AXPThemeLayoutListItemsGroupComponent, AXPThemeLayoutPageHeaderComponent, AXPThemeLayoutPagePrimaryActionsComponent, AXPThemeLayoutPageSecondaryActionsComponent, AXPThemeLayoutSectionComponent, AXPThemeLayoutStartSideComponent, AXPThemeLayoutToolbarComponent, AXPUserAvatarComponent, AXPUserAvatarService, AXPWidgetItemComponent, AXPWidgetPropertyViewerComponent, AXPWidgetPropertyViewerPopupComponent, AXPWidgetPropertyViewerService, AXP_EXTRA_PROPERTY_TYPES, AXP_TASK_BADGE_PROVIDERS, AXP_USER_AVATAR_PROVIDER, convertDesignerFieldToFormField, convertDesignerGroupToFormGroup, convertDesignerStateToFormDefinition };
|
|
1232
|
-
export type { AXPCategoryTreeActions, AXPCategoryTreeConfig, AXPCategoryTreeDataSource, AXPCategoryTreeEvents, AXPCategoryTreeNode, AXPCompareViewField, AXPCompareViewInputs, AXPCompareViewMode, AXPCompareViewObject, AXPComponentSlotConfig, AXPComponentSlotModuleConfigs, AXPDataSelectorColumn, AXPDataSelectorConfig, AXPDynamicFormDesignerField, AXPDynamicFormDesignerGroup, AXPDynamicFormDesignerState, AXPExtraPropertyItem, AXPExtraPropertySchemaItem, AXPExtraPropertyType, AXPFormElementWidget, AXPImageEditorOpenOptions, AXPTemplateViewerConfig, AXPTemplateViewerResult, AXPUserAvatarData, AXPUserAvatarProvider, AXPUserAvatarSize, AXPUserAvatarStatus, AXPWidgetItemClickEvent, AXPWidgetItemData, AXPWidgetPropertiesChangedEvent, AXPWidgetPropertyTab, AXPWidgetPropertyViewerConfig, AXPWidgetPropertyViewerResult, StateMode };
|
|
1473
|
+
export { AXPActivityLogComponent, AXPCategoryTreeComponent, AXPColorPalettePickerComponent, AXPCompareViewComponent, AXPComponentSlot, AXPComponentSlotDirective, AXPComponentSlotModule, AXPComponentSlotRegistryService, AXPDataSelectorComponent, AXPDataSelectorService, AXPDynamicFormDesignerComponent, AXPExtraPropertiesComponent, AXPExtraPropertiesSchemaComponent, AXPExtraPropertiesValuesComponent, AXPImageEditorPopupComponent, AXPImageEditorService, AXPMenuBadgeHelper, AXPQueryColumnsComponent, AXPQueryFiltersComponent, AXPQuerySortsComponent, AXPQueryViewsComponent, AXPStateMessageComponent, AXPTaskBadgeDirective, AXPTaskBadgeProvider, AXPTaskBadgeService, AXPTemplateViewerComponent, AXPTemplateViewerService, AXPThemeLayoutActionsComponent, AXPThemeLayoutBlockComponent, AXPThemeLayoutContainerComponent, AXPThemeLayoutEndSideComponent, AXPThemeLayoutFooterComponent, AXPThemeLayoutHeaderComponent, AXPThemeLayoutListComponent, AXPThemeLayoutListItemComponent, AXPThemeLayoutListItemsGroupComponent, AXPThemeLayoutPageHeaderComponent, AXPThemeLayoutPagePrimaryActionsComponent, AXPThemeLayoutPageSecondaryActionsComponent, AXPThemeLayoutSectionComponent, AXPThemeLayoutStartSideComponent, AXPThemeLayoutToolbarComponent, AXPTreeListComponent, AXPTreeListHelper, AXPTreeListItemComponent, AXPUserAvatarComponent, AXPUserAvatarService, AXPWidgetItemComponent, AXPWidgetPropertyViewerComponent, AXPWidgetPropertyViewerPopupComponent, AXPWidgetPropertyViewerService, AXP_EXTRA_PROPERTY_TYPES, AXP_TASK_BADGE_PROVIDERS, AXP_USER_AVATAR_PROVIDER, convertDesignerFieldToFormField, convertDesignerGroupToFormGroup, convertDesignerStateToFormDefinition };
|
|
1474
|
+
export type { AXPCategoryTreeActions, AXPCategoryTreeConfig, AXPCategoryTreeDataSource, AXPCategoryTreeEvents, AXPCategoryTreeNode, AXPCompareViewField, AXPCompareViewInputs, AXPCompareViewMode, AXPCompareViewObject, AXPComponentSlotConfig, AXPComponentSlotModuleConfigs, AXPDataSelectorColumn, AXPDataSelectorConfig, AXPDynamicFormDesignerField, AXPDynamicFormDesignerGroup, AXPDynamicFormDesignerState, AXPExtraPropertyItem, AXPExtraPropertySchemaItem, AXPExtraPropertyType, AXPFormElementWidget, AXPImageEditorOpenOptions, AXPTemplateViewerConfig, AXPTemplateViewerResult, AXPTreeListAction, AXPTreeListConfig, AXPTreeListDragState, AXPTreeListDropEvent, AXPTreeListLook, AXPTreeListNode, AXPTreeListNodeClickEvent, AXPTreeListNodeExpandEvent, AXPTreeListNodeSelectEvent, AXPUserAvatarData, AXPUserAvatarProvider, AXPUserAvatarSize, AXPUserAvatarStatus, AXPWidgetItemClickEvent, AXPWidgetItemData, AXPWidgetPropertiesChangedEvent, AXPWidgetPropertyTab, AXPWidgetPropertyViewerConfig, AXPWidgetPropertyViewerResult, DropPosition, StateMode };
|
package/layout/entity/index.d.ts
CHANGED
|
@@ -1494,64 +1494,6 @@ declare class AXPLookupWidgetColumnComponent extends AXPColumnWidgetComponent<an
|
|
|
1494
1494
|
|
|
1495
1495
|
declare const AXPLookupWidget: AXPWidgetConfig;
|
|
1496
1496
|
|
|
1497
|
-
declare class AXPTagableBoxWidgetColumnComponent extends AXPValueWidgetComponent<any> {
|
|
1498
|
-
protected internalValue: _angular_core.Signal<any>;
|
|
1499
|
-
protected multiple: _angular_core.Signal<boolean>;
|
|
1500
|
-
protected useSelectBox: _angular_core.Signal<boolean>;
|
|
1501
|
-
protected textField: _angular_core.Signal<string>;
|
|
1502
|
-
protected getData: _angular_core.Signal<any[]>;
|
|
1503
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPTagableBoxWidgetColumnComponent, never>;
|
|
1504
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPTagableBoxWidgetColumnComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
1505
|
-
}
|
|
1506
|
-
|
|
1507
|
-
declare class AXPTagableBoxWidgetEditComponent extends AXPValueWidgetComponent<any> {
|
|
1508
|
-
protected entityResolver: AXPEntityResolver;
|
|
1509
|
-
protected hasClearButton: _angular_core.Signal<boolean>;
|
|
1510
|
-
protected disabled: _angular_core.Signal<boolean>;
|
|
1511
|
-
protected placeholder: _angular_core.Signal<string>;
|
|
1512
|
-
protected moduleName: _angular_core.Signal<string>;
|
|
1513
|
-
protected entityName: _angular_core.Signal<string>;
|
|
1514
|
-
protected allowSearch: _angular_core.Signal<boolean>;
|
|
1515
|
-
protected _dataSource: AXDataSource<any>;
|
|
1516
|
-
protected handleSelectValueChange(e: AXValueChangedEvent): void;
|
|
1517
|
-
protected addItem(): void;
|
|
1518
|
-
private get __class();
|
|
1519
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPTagableBoxWidgetEditComponent, never>;
|
|
1520
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPTagableBoxWidgetEditComponent, "axp-tagable-box-widget", never, {}, {}, never, never, true, never>;
|
|
1521
|
-
}
|
|
1522
|
-
|
|
1523
|
-
declare class AXPTagableBoxWidgetFilterComponent extends AXPValueWidgetComponent<any> {
|
|
1524
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPTagableBoxWidgetFilterComponent, never>;
|
|
1525
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPTagableBoxWidgetFilterComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
1526
|
-
}
|
|
1527
|
-
|
|
1528
|
-
declare class AXPTagableBoxWidgetPrintComponent extends AXPValueWidgetComponent<any> {
|
|
1529
|
-
protected internalValue: _angular_core.Signal<any>;
|
|
1530
|
-
protected multiple: _angular_core.Signal<boolean>;
|
|
1531
|
-
protected useSelectBox: _angular_core.Signal<boolean>;
|
|
1532
|
-
protected textField: _angular_core.Signal<string>;
|
|
1533
|
-
protected getData: _angular_core.Signal<any[]>;
|
|
1534
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPTagableBoxWidgetPrintComponent, never>;
|
|
1535
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPTagableBoxWidgetPrintComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
1536
|
-
}
|
|
1537
|
-
|
|
1538
|
-
declare class AXPTagableBoxWidgetViewComponent extends AXPValueWidgetComponent<any> {
|
|
1539
|
-
protected internalValue: _angular_core.Signal<any>;
|
|
1540
|
-
protected multiple: _angular_core.Signal<boolean>;
|
|
1541
|
-
protected useSelectBox: _angular_core.Signal<boolean>;
|
|
1542
|
-
protected textField: _angular_core.Signal<string>;
|
|
1543
|
-
protected getData: _angular_core.Signal<any[]>;
|
|
1544
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPTagableBoxWidgetViewComponent, never>;
|
|
1545
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPTagableBoxWidgetViewComponent, "axp-tagable-box-widget", never, {}, {}, never, never, true, never>;
|
|
1546
|
-
}
|
|
1547
|
-
|
|
1548
|
-
declare const AXPTagableBoxWidget: AXPWidgetConfig;
|
|
1549
|
-
declare module '@acorex/platform/layout/widget-core' {
|
|
1550
|
-
interface AXPWidgetTypesMap {
|
|
1551
|
-
tagable: 'tagable-editor';
|
|
1552
|
-
}
|
|
1553
|
-
}
|
|
1554
|
-
|
|
1555
1497
|
declare class AXPWidgetSelectorWidgetEditComponent extends AXPValueWidgetComponent<any> {
|
|
1556
1498
|
private popupService;
|
|
1557
1499
|
private widgetRegisteryService;
|
|
@@ -1714,5 +1656,5 @@ declare class AXPShowListViewAction extends AXPWorkflowAction {
|
|
|
1714
1656
|
}
|
|
1715
1657
|
declare const AXPShowListViewWorkflow: AXPWorkflow;
|
|
1716
1658
|
|
|
1717
|
-
export { AXMEntityCrudService, AXMEntityCrudServiceImpl, AXPCreateEntityWorkflow, AXPDataSeederService, AXPDeleteEntityWorkflow, AXPEntityApplyUpdatesAction, AXPEntityCommandTriggerViewModel, AXPEntityCreateEvent, AXPEntityCreatePopupAction, AXPEntityCreateSubmittedAction, AXPEntityCreateViewElementViewModel, AXPEntityCreateViewModelFactory, AXPEntityCreateViewSectionViewModel, AXPEntityDataProvider, AXPEntityDataProviderImpl, AXPEntityDataSelectorService, AXPEntityDefinitionRegistryService, AXPEntityDeletedEvent, AXPEntityDetailListViewModel, AXPEntityDetailPopoverComponent, AXPEntityDetailPopoverService, AXPEntityDetailViewModelFactory, AXPEntityDetailViewModelResolver, AXPEntityDynamicDialogService, AXPEntityEventDispatcherService, AXPEntityListTableService, AXPEntityListViewColumnViewModel, AXPEntityListViewModelFactory, AXPEntityListViewModelResolver, AXPEntityListWidget, AXPEntityListWidgetViewComponent, AXPEntityMasterCreateViewModel, AXPEntityMasterListViewModel, AXPEntityMasterListViewQueryViewModel, AXPEntityMasterSingleElementViewModel, AXPEntityMasterSingleViewGroupViewModel, AXPEntityMasterSingleViewModel, AXPEntityMasterUpdateElementViewModel, AXPEntityMasterUpdateViewModel, AXPEntityMasterUpdateViewModelFactory, AXPEntityMiddleware, AXPEntityModifyConfirmedAction, AXPEntityModifyEvent, AXPEntityModifySectionPopupAction, AXPEntityModule, AXPEntityPerformDeleteAction, AXPEntityReferenceWidget, AXPEntityReferenceWidgetColumnComponent, AXPEntityReferenceWidgetDesignerComponent, AXPEntityReferenceWidgetEditComponent, AXPEntityReferenceWidgetPrintComponent, AXPEntityReferenceWidgetViewComponent, AXPEntityResolver, AXPEntityService, AXPEntityStorageService, AXPEntityUpdateViewSectionViewModel, AXPGetEntityDetailsQuery, AXPLookupFilterWidget, AXPLookupFilterWidgetEditComponent, AXPLookupWidget, AXPLookupWidgetColumnComponent, AXPLookupWidgetEditComponent, AXPLookupWidgetViewComponent, AXPMiddlewareAbortError, AXPMiddlewareEntityStorageService, AXPModifyEntitySectionWorkflow, AXPOpenEntityDetailsCommand, AXPQuickEntityModifyPopupAction, AXPQuickModifyEntityWorkflow, AXPShowDetailViewAction, AXPShowDetailsViewWorkflow, AXPShowListViewAction, AXPShowListViewWorkflow,
|
|
1659
|
+
export { AXMEntityCrudService, AXMEntityCrudServiceImpl, AXPCreateEntityWorkflow, AXPDataSeederService, AXPDeleteEntityWorkflow, AXPEntityApplyUpdatesAction, AXPEntityCommandTriggerViewModel, AXPEntityCreateEvent, AXPEntityCreatePopupAction, AXPEntityCreateSubmittedAction, AXPEntityCreateViewElementViewModel, AXPEntityCreateViewModelFactory, AXPEntityCreateViewSectionViewModel, AXPEntityDataProvider, AXPEntityDataProviderImpl, AXPEntityDataSelectorService, AXPEntityDefinitionRegistryService, AXPEntityDeletedEvent, AXPEntityDetailListViewModel, AXPEntityDetailPopoverComponent, AXPEntityDetailPopoverService, AXPEntityDetailViewModelFactory, AXPEntityDetailViewModelResolver, AXPEntityDynamicDialogService, AXPEntityEventDispatcherService, AXPEntityListTableService, AXPEntityListViewColumnViewModel, AXPEntityListViewModelFactory, AXPEntityListViewModelResolver, AXPEntityListWidget, AXPEntityListWidgetViewComponent, AXPEntityMasterCreateViewModel, AXPEntityMasterListViewModel, AXPEntityMasterListViewQueryViewModel, AXPEntityMasterSingleElementViewModel, AXPEntityMasterSingleViewGroupViewModel, AXPEntityMasterSingleViewModel, AXPEntityMasterUpdateElementViewModel, AXPEntityMasterUpdateViewModel, AXPEntityMasterUpdateViewModelFactory, AXPEntityMiddleware, AXPEntityModifyConfirmedAction, AXPEntityModifyEvent, AXPEntityModifySectionPopupAction, AXPEntityModule, AXPEntityPerformDeleteAction, AXPEntityReferenceWidget, AXPEntityReferenceWidgetColumnComponent, AXPEntityReferenceWidgetDesignerComponent, AXPEntityReferenceWidgetEditComponent, AXPEntityReferenceWidgetPrintComponent, AXPEntityReferenceWidgetViewComponent, AXPEntityResolver, AXPEntityService, AXPEntityStorageService, AXPEntityUpdateViewSectionViewModel, AXPGetEntityDetailsQuery, AXPLookupFilterWidget, AXPLookupFilterWidgetEditComponent, AXPLookupWidget, AXPLookupWidgetColumnComponent, AXPLookupWidgetEditComponent, AXPLookupWidgetViewComponent, AXPMiddlewareAbortError, AXPMiddlewareEntityStorageService, AXPModifyEntitySectionWorkflow, AXPOpenEntityDetailsCommand, AXPQuickEntityModifyPopupAction, AXPQuickModifyEntityWorkflow, AXPShowDetailViewAction, AXPShowDetailsViewWorkflow, AXPShowListViewAction, AXPShowListViewWorkflow, AXPWidgetSelectorWidget, AXPWidgetSelectorWidgetEditComponent, AXPWidgetSelectorWidgetViewComponent, AXP_DATA_SEEDER_TOKEN, AXP_ENTITY_ACTION_PLUGIN, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER, AXP_ENTITY_MODIFIER, AXP_ENTITY_STORAGE_BACKEND, AXP_ENTITY_STORAGE_MIDDLEWARE, DEFAULT_COLUMN_WIDTHS, actionExists, columnWidthMiddlewareFactory, columnWidthMiddlewareProvider, createColumnWidthMiddlewareProvider, createModifierContext, detectEntityChanges, ensureListActions, entityDetailsCreateActions, entityDetailsCrudActions, entityDetailsEditAction, entityDetailsReferenceCondition, entityDetailsReferenceCreateActions, entityDetailsSimpleCondition, entityMasterBulkDeleteAction, entityMasterCreateAction, entityMasterCrudActions, entityMasterDeleteAction, entityMasterRecordActions, entityMasterViewAction, entityOverrideDetailsViewAction, eventDispatchMiddleware, isAXPMiddlewareAbortError };
|
|
1718
1660
|
export type { AXPAuditable, AXPDataSeeder, AXPEntityActionPlugin, AXPEntityChangeSet, AXPEntityConfigs, AXPEntityCreateDto, AXPEntityDataSelectorOptions, AXPEntityDataSelectorResult, AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader, AXPEntityDeleteOptions, AXPEntityDetailDto, AXPEntityDetailPopoverOptions, AXPEntityListItemDto, AXPEntityMasterListViewSortPropViewModel, AXPEntityModel, AXPEntityModifier, AXPEntityModifierContext, AXPEntityModifierProvider, AXPEntityOp, AXPEntityOutputDto, AXPEntityPreloadEntity, AXPEntityStorageContext, AXPEntityStorageMiddleware, AXPEntityUpdateDto, AXPGetEntityDetailsQueryInput, AXPGetEntityDetailsQueryResult, AXPLookupWidgetLookType, AXPLookupWidgetOptions, AXPOpenEntityDetailsCommandInput, AXPOpenEntityDetailsCommandResult, AXPRecordControl, AXPRecordOwnership, ColumnWidthConfig };
|