@praxisui/dynamic-form 9.0.0-beta.4 → 9.0.0-beta.40
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/README.md +177 -2
- package/ai/component-registry.json +14298 -0
- package/docs/dynamic-form-visual-builder-parity-audit.md +268 -0
- package/docs/layout-items-visual-blocks.md +20 -3
- package/docs/schema-driven-layout-materialization-rfc.md +491 -0
- package/fesm2022/praxisui-dynamic-form.mjs +4359 -764
- package/package.json +13 -9
- package/src/lib/config-editor/praxis-dynamic-form-config-editor.json-api.md +8 -6
- package/src/lib/layout-editor/praxis-layout-editor.json-api.md +1 -1
- package/src/lib/praxis-dynamic-form.json-api.md +28 -5
- package/types/praxisui-dynamic-form.d.ts +146 -20
|
@@ -7,13 +7,15 @@ import { MatDialog } from '@angular/material/dialog';
|
|
|
7
7
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
8
8
|
import { CdkDragStart, CdkDragMove, CdkDragEnd, CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
9
9
|
import * as _praxisui_core from '@praxisui/core';
|
|
10
|
-
import { AsyncConfigStorage, FormLayout, FieldMetadata, FormLayoutRule, FormRuleTargetType as FormRuleTargetType$1, PraxisJsonLogicService, FormSection, FormRow, FormColumn, FormConfig, FormLayoutItem, FormActionButton, AiCapability, BackConfig, RichBlockHostCapabilities, ApiEndpoint, ApiUrlEntry, FormHooksLayout, EndpointConfig, FormSubmitEvent, FormReadyEvent, FormValueChangeEvent, SyncResult, FormInitializationError, LoadingState, FormCustomActionEvent, FormActionConfirmationEvent, RichContentDocument, JsonLogicRecord, GenericCrudService, ConnectionStorage, DynamicFormService, ErrorMessageService, SchemaNormalizerService, ComponentMetadataRegistry, GlobalConfigService, ComponentKeyService, LoadingOrchestrator, ApiUrlConfig, PraxisLoadingRenderer, FormHooksRegistry, FormHookPreset, LoggerService, FormSectionHeaderAction, FormSectionHeaderConfig, FormConfigState, JsonLogicExpression, GlobalActionCatalogEntry, PraxisRuntimeConditionalEffectRule, PraxisRuntimeGlobalActionEffect, GlobalActionField, FieldDefinition, ComponentDocMeta, Breakpoint, DomainRuleRequestOptions, DomainRuleService, DomainRuleMaterialization, IconPickerService, GlobalActionRef,
|
|
10
|
+
import { AsyncConfigStorage, FormLayout, FieldMetadata, FormLayoutRule, FormRuleTargetType as FormRuleTargetType$1, PraxisJsonLogicService, FormSection, FormRow, FormColumn, FormConfig, FormConfigWithSections, FormLayoutItem, FormActionButton, AiCapability, BackConfig, RichBlockHostCapabilities, ApiEndpoint, ApiUrlEntry, DynamicFormLayoutPolicy, FormHooksLayout, EndpointConfig, FormSubmitEvent, FormReadyEvent, FormValueChangeEvent, SyncResult, FormInitializationError, LoadingState, FormCustomActionEvent, FormActionConfirmationEvent, RichContentDocument, JsonLogicRecord, GenericCrudService, ConnectionStorage, DynamicFormService, ErrorMessageService, SchemaNormalizerService, ComponentMetadataRegistry, GlobalConfigService, ComponentKeyService, LoadingOrchestrator, ApiUrlConfig, PraxisLoadingRenderer, FormHooksRegistry, FormHookPreset, LoggerService, EnterpriseRuntimeContextService, FormSectionHeaderAction, FormSectionHeaderConfig, FormConfigState, JsonLogicExpression, FormHelpPresentationConfig, GlobalActionCatalogEntry, PraxisRuntimeConditionalEffectRule, PraxisRuntimeGlobalActionEffect, SurfaceOpenPayload, GlobalActionField, PraxisEffectPolicy, FieldDefinition, ComponentDocMeta, Breakpoint, DomainRuleRequestOptions, DomainRuleService, DomainRuleMaterialization, TableConfig, IconPickerService, GlobalActionRef, AiCapabilityCategory, AiCapabilityCatalog, AiValueKind, ComponentAuthoringManifest } from '@praxisui/core';
|
|
11
11
|
import * as rxjs from 'rxjs';
|
|
12
12
|
import { Observable, BehaviorSubject } from 'rxjs';
|
|
13
13
|
import { SettingsPanelService, SettingsValueProvider } from '@praxisui/settings-panel';
|
|
14
14
|
import { BaseAiAdapter, AiResponseCompileResult, PatchResult, PraxisAssistantShellLayout, PraxisAssistantTurnViewState, PraxisAssistantShellLabels, PraxisAssistantSessionSnapshot, PraxisAssistantShellQuickReply, PraxisAssistantShellMessage } from '@praxisui/ai';
|
|
15
15
|
import { KeyboardShortcutService } from '@praxisui/dynamic-fields';
|
|
16
16
|
import { RuleBuilderConfig, RuleBuilderState } from '@praxisui/visual-builder';
|
|
17
|
+
import { CascadeManagerTabComponent } from '@praxisui/metadata-editor';
|
|
18
|
+
import * as _praxisui_dynamic_form from '@praxisui/dynamic-form';
|
|
17
19
|
|
|
18
20
|
declare class FormLayoutService {
|
|
19
21
|
private storage?;
|
|
@@ -146,7 +148,7 @@ interface Operation {
|
|
|
146
148
|
[key: string]: any;
|
|
147
149
|
}
|
|
148
150
|
interface LayoutResult {
|
|
149
|
-
config:
|
|
151
|
+
config: FormConfigWithSections;
|
|
150
152
|
op: Operation;
|
|
151
153
|
}
|
|
152
154
|
interface LayoutChange {
|
|
@@ -200,16 +202,20 @@ interface InsertLocalFieldResult extends LayoutResult {
|
|
|
200
202
|
applied: boolean;
|
|
201
203
|
diagnostics: LocalFieldInsertionDiagnostic[];
|
|
202
204
|
}
|
|
205
|
+
type DynamicFormGeneratedLayoutPreset = 'default' | 'compactPresentation';
|
|
206
|
+
interface GenerateFormConfigFromMetadataOptions {
|
|
207
|
+
fieldsPerRow?: number;
|
|
208
|
+
defaultSectionTitle?: string;
|
|
209
|
+
layoutPreset?: DynamicFormGeneratedLayoutPreset;
|
|
210
|
+
presentationRoleMap?: Record<string, string>;
|
|
211
|
+
}
|
|
203
212
|
declare class DynamicFormLayoutService {
|
|
204
213
|
private readonly changesSubject;
|
|
205
214
|
readonly changes$: rxjs.Observable<LayoutChange>;
|
|
206
215
|
private emit;
|
|
207
|
-
normalizeConfig(config: FormConfig):
|
|
216
|
+
normalizeConfig(config: FormConfig): FormConfigWithSections;
|
|
208
217
|
validateConfig(config: FormConfig): ValidationReport;
|
|
209
|
-
generateFormConfigFromMetadata(fields: FieldMetadata[], options?:
|
|
210
|
-
fieldsPerRow?: number;
|
|
211
|
-
defaultSectionTitle?: string;
|
|
212
|
-
}): FormConfig;
|
|
218
|
+
generateFormConfigFromMetadata(fields: FieldMetadata[], options?: GenerateFormConfigFromMetadataOptions): FormConfigWithSections;
|
|
213
219
|
getElementPath(config: FormConfig, element: HTMLElement): CanvasPathPart[];
|
|
214
220
|
updateElement(config: FormConfig, path: CanvasPathPart[], updatedData: any, options?: {
|
|
215
221
|
correlationId?: string;
|
|
@@ -218,6 +224,15 @@ declare class DynamicFormLayoutService {
|
|
|
218
224
|
private resolvePath;
|
|
219
225
|
resolvePathByIds(config: FormConfig, ids: IdPath): FieldPath;
|
|
220
226
|
private createRowsFromFields;
|
|
227
|
+
private createCompactPresentationRowsFromFields;
|
|
228
|
+
private resolveCompactPresentationSpan;
|
|
229
|
+
private inferCompactPresentationSpan;
|
|
230
|
+
private clampGridSpan;
|
|
231
|
+
private resolveGroupOrder;
|
|
232
|
+
private withCompactPresentationFieldDefaults;
|
|
233
|
+
private resolveFieldPresentationRole;
|
|
234
|
+
private resolvePresentationRole;
|
|
235
|
+
private normalizePresentationRole;
|
|
221
236
|
private genId;
|
|
222
237
|
private capitalizeFirstLetter;
|
|
223
238
|
private assertIndex;
|
|
@@ -683,6 +698,7 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy {
|
|
|
683
698
|
private hooksRegistry?;
|
|
684
699
|
private hookPresets?;
|
|
685
700
|
private logger?;
|
|
701
|
+
private enterpriseRuntimeContext?;
|
|
686
702
|
private readonly i18n;
|
|
687
703
|
private readonly injector;
|
|
688
704
|
private readonly aiApi;
|
|
@@ -697,7 +713,7 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy {
|
|
|
697
713
|
private effectiveActionsCacheOverride?;
|
|
698
714
|
private invalidRequiredFieldLabelsCache;
|
|
699
715
|
private invalidRequiredFieldLabelsSignature;
|
|
700
|
-
|
|
716
|
+
get richContentHostCapabilities(): RichBlockHostCapabilities;
|
|
701
717
|
resourcePath?: string;
|
|
702
718
|
resourceId?: string | number;
|
|
703
719
|
initialValue?: Record<string, unknown> | null;
|
|
@@ -757,6 +773,10 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy {
|
|
|
757
773
|
configPersistenceStrategy: 'local-first' | 'input-first';
|
|
758
774
|
/** Optional layout to use instead of generated one */
|
|
759
775
|
layout?: FormLayout;
|
|
776
|
+
/** Metadata-driven layout preset used only when creating an initial config from schema. */
|
|
777
|
+
generatedLayoutPreset: DynamicFormGeneratedLayoutPreset;
|
|
778
|
+
/** Opt-in policy for schema-driven transient layout materialization. */
|
|
779
|
+
layoutPolicy?: DynamicFormLayoutPolicy | null;
|
|
760
780
|
/** Optional navigation back config (from CRUD host) */
|
|
761
781
|
backConfig?: BackConfig;
|
|
762
782
|
/** Optional direct hooks declaration for testing/demo (overrides config.hooks) */
|
|
@@ -777,6 +797,7 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy {
|
|
|
777
797
|
disabledModeGlobal: boolean | null;
|
|
778
798
|
presentationModeGlobal: boolean | null;
|
|
779
799
|
visibleGlobal: boolean | null;
|
|
800
|
+
fieldIconPolicy: 'all' | 'presentation-only' | 'none';
|
|
780
801
|
/** Opt-in loader for shared domain rule materializations persisted outside FormConfig. */
|
|
781
802
|
domainRules: PraxisDynamicFormDomainRulesOptions | boolean | null;
|
|
782
803
|
get effectivePresentation(): boolean;
|
|
@@ -786,6 +807,12 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy {
|
|
|
786
807
|
get invalidRequiredFieldLabels(): string[];
|
|
787
808
|
/** Value propagated to DynamicFieldLoader; null allows per-field metadata */
|
|
788
809
|
get presentationForLoader(): boolean | null;
|
|
810
|
+
getRenderableFieldsForLoader(fields: FieldMetadata[]): FieldMetadata[];
|
|
811
|
+
private materializeFieldPresentationPolicy;
|
|
812
|
+
private materializeFieldHelpPolicy;
|
|
813
|
+
private shouldSuppressFieldIcons;
|
|
814
|
+
private resolveFieldHelpDisplay;
|
|
815
|
+
private normalizeFieldHelpControlToken;
|
|
789
816
|
/** Custom endpoints for CRUD operations */
|
|
790
817
|
private _customEndpoints;
|
|
791
818
|
get customEndpoints(): EndpointConfig;
|
|
@@ -937,7 +964,8 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy {
|
|
|
937
964
|
private mountAnimationTimer;
|
|
938
965
|
protected isMounting: boolean;
|
|
939
966
|
private hasBuiltFormFromConfig;
|
|
940
|
-
|
|
967
|
+
private runtimeFieldMetadata;
|
|
968
|
+
constructor(crud: GenericCrudService<any>, http: HttpClient, fb: FormBuilder, cdr: ChangeDetectorRef, layoutService: FormLayoutService, contextService: FormContextService, rulesService: FormRulesService, settingsPanel: SettingsPanelService, dialog: MatDialog, asyncConfigStorage: AsyncConfigStorage, connectionStorage: ConnectionStorage, dynamicForm: DynamicFormService, snackBar: MatSnackBar, canvasState: CanvasStateService, dynamicLayout: DynamicFormLayoutService, errorMessages: ErrorMessageService, schemaNormalizer: SchemaNormalizerService, componentMetaRegistry: ComponentMetadataRegistry, global: GlobalConfigService, componentKeys: ComponentKeyService, loadingOrchestrator: LoadingOrchestrator, ngZone: NgZone, apiUrlConfig: ApiUrlConfig, loadingRenderer?: PraxisLoadingRenderer | undefined, router?: Router | undefined, route?: ActivatedRoute | undefined, hooksRegistry?: FormHooksRegistry | undefined, hookPresets?: FormHookPreset[] | null | undefined, logger?: LoggerService | undefined, enterpriseRuntimeContext?: EnterpriseRuntimeContextService | undefined);
|
|
941
969
|
private emitLoadingState;
|
|
942
970
|
private buildLoadingContext;
|
|
943
971
|
private beginLoading;
|
|
@@ -964,9 +992,9 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy {
|
|
|
964
992
|
private formInputsKey;
|
|
965
993
|
private crudBackKey;
|
|
966
994
|
private tryInitializeForm;
|
|
967
|
-
|
|
995
|
+
hasExplicitSchemaUrl(): boolean;
|
|
968
996
|
private hasSchemaBackedRuntime;
|
|
969
|
-
|
|
997
|
+
hasRenderableConfig(config?: FormConfig | null | undefined): boolean;
|
|
970
998
|
private initializeStandaloneConfig;
|
|
971
999
|
private initializeDisconnectedEmptyState;
|
|
972
1000
|
private reloadForModeChange;
|
|
@@ -981,6 +1009,10 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy {
|
|
|
981
1009
|
private persistFormConfig;
|
|
982
1010
|
private createDefaultConfig;
|
|
983
1011
|
private createConfigFromHostConfig;
|
|
1012
|
+
private shouldUseSchemaLayoutPolicy;
|
|
1013
|
+
private layoutPolicyRequestsPresentation;
|
|
1014
|
+
private shouldPersistGeneratedConfig;
|
|
1015
|
+
private createSchemaMaterializedConfig;
|
|
984
1016
|
private reconcileLoadedConfigWithServerSchema;
|
|
985
1017
|
private hostConfigHasAuthoredLocalFieldsNotInLocalConfig;
|
|
986
1018
|
private syncWithServer;
|
|
@@ -997,6 +1029,10 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy {
|
|
|
997
1029
|
private setEntityLookupDependencyConflict;
|
|
998
1030
|
private clearEntityLookupDependencyConflict;
|
|
999
1031
|
private resolveEntityLookupDependencyValidationMessage;
|
|
1032
|
+
private getRuntimeFieldMetadata;
|
|
1033
|
+
private resolveFieldAccessAuthorities;
|
|
1034
|
+
private normalizeAuthorityClaims;
|
|
1035
|
+
private materializeFieldAccessState;
|
|
1000
1036
|
private scheduleValueChangeBootstrapRelease;
|
|
1001
1037
|
private hasInteractiveFormState;
|
|
1002
1038
|
private captureFormRuntimeState;
|
|
@@ -1136,6 +1172,7 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy {
|
|
|
1136
1172
|
private _showConfirmationDialog;
|
|
1137
1173
|
onFormAction(event: PraxisFormActionEvent): void;
|
|
1138
1174
|
private dispatchRichContentAction;
|
|
1175
|
+
private emitRichContentCustomAction;
|
|
1139
1176
|
private isRichContentActionAvailable;
|
|
1140
1177
|
private hasRichContentCapability;
|
|
1141
1178
|
private buildRichContentActionContext;
|
|
@@ -1337,8 +1374,8 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy {
|
|
|
1337
1374
|
private logRowGapsSnapshot;
|
|
1338
1375
|
private applyPresentationVars;
|
|
1339
1376
|
private applyPresentationConfig;
|
|
1340
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisDynamicForm, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
1341
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisDynamicForm, "praxis-dynamic-form", never, { "resourcePath": { "alias": "resourcePath"; "required": false; }; "resourceId": { "alias": "resourceId"; "required": false; }; "initialValue": { "alias": "initialValue"; "required": false; }; "editorialContext": { "alias": "editorialContext"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "config": { "alias": "config"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "schemaSource": { "alias": "schemaSource"; "required": false; }; "schemaUrl": { "alias": "schemaUrl"; "required": false; }; "readUrl": { "alias": "readUrl"; "required": false; }; "submitUrl": { "alias": "submitUrl"; "required": false; }; "submitMethod": { "alias": "submitMethod"; "required": false; }; "responseSchemaUrl": { "alias": "responseSchemaUrl"; "required": false; }; "apiEndpointKey": { "alias": "apiEndpointKey"; "required": false; }; "apiUrlEntry": { "alias": "apiUrlEntry"; "required": false; }; "enableCustomization": { "alias": "enableCustomization"; "required": false; }; "showAiAssistant": { "alias": "showAiAssistant"; "required": false; }; "formId": { "alias": "formId"; "required": false; }; "componentInstanceId": { "alias": "componentInstanceId"; "required": false; }; "configPersistenceStrategy": { "alias": "configPersistenceStrategy"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "backConfig": { "alias": "backConfig"; "required": false; }; "hooks": { "alias": "hooks"; "required": false; }; "removeEmptyContainersOnSave": { "alias": "removeEmptyContainersOnSave"; "required": false; }; "reactiveValidation": { "alias": "reactiveValidation"; "required": false; }; "reactiveValidationDebounceMs": { "alias": "reactiveValidationDebounceMs"; "required": false; }; "notifyIfOutdated": { "alias": "notifyIfOutdated"; "required": false; }; "snoozeMs": { "alias": "snoozeMs"; "required": false; }; "autoOpenSettingsOnOutdated": { "alias": "autoOpenSettingsOnOutdated"; "required": false; }; "readonlyModeGlobal": { "alias": "readonlyModeGlobal"; "required": false; }; "disabledModeGlobal": { "alias": "disabledModeGlobal"; "required": false; }; "presentationModeGlobal": { "alias": "presentationModeGlobal"; "required": false; }; "visibleGlobal": { "alias": "visibleGlobal"; "required": false; }; "domainRules": { "alias": "domainRules"; "required": false; }; "customEndpoints": { "alias": "customEndpoints"; "required": false; }; }, { "formSubmit": "formSubmit"; "formCancel": "formCancel"; "formReset": "formReset"; "configChange": "configChange"; "configPatchChange": "configPatchChange"; "formReady": "formReady"; "valueChange": "valueChange"; "syncCompleted": "syncCompleted"; "initializationError": "initializationError"; "loadingStateChange": "loadingStateChange"; "enableCustomizationChange": "enableCustomizationChange"; "customAction": "customAction"; "actionConfirmation": "actionConfirmation"; "schemaStatusChange": "schemaStatusChange"; "fieldRenderError": "fieldRenderError"; "ruleDiagnosticsChange": "ruleDiagnosticsChange"; }, never, never, true, never>;
|
|
1377
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisDynamicForm, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
1378
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisDynamicForm, "praxis-dynamic-form", never, { "resourcePath": { "alias": "resourcePath"; "required": false; }; "resourceId": { "alias": "resourceId"; "required": false; }; "initialValue": { "alias": "initialValue"; "required": false; }; "editorialContext": { "alias": "editorialContext"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "config": { "alias": "config"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "schemaSource": { "alias": "schemaSource"; "required": false; }; "schemaUrl": { "alias": "schemaUrl"; "required": false; }; "readUrl": { "alias": "readUrl"; "required": false; }; "submitUrl": { "alias": "submitUrl"; "required": false; }; "submitMethod": { "alias": "submitMethod"; "required": false; }; "responseSchemaUrl": { "alias": "responseSchemaUrl"; "required": false; }; "apiEndpointKey": { "alias": "apiEndpointKey"; "required": false; }; "apiUrlEntry": { "alias": "apiUrlEntry"; "required": false; }; "enableCustomization": { "alias": "enableCustomization"; "required": false; }; "showAiAssistant": { "alias": "showAiAssistant"; "required": false; }; "formId": { "alias": "formId"; "required": false; }; "componentInstanceId": { "alias": "componentInstanceId"; "required": false; }; "configPersistenceStrategy": { "alias": "configPersistenceStrategy"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "generatedLayoutPreset": { "alias": "generatedLayoutPreset"; "required": false; }; "layoutPolicy": { "alias": "layoutPolicy"; "required": false; }; "backConfig": { "alias": "backConfig"; "required": false; }; "hooks": { "alias": "hooks"; "required": false; }; "removeEmptyContainersOnSave": { "alias": "removeEmptyContainersOnSave"; "required": false; }; "reactiveValidation": { "alias": "reactiveValidation"; "required": false; }; "reactiveValidationDebounceMs": { "alias": "reactiveValidationDebounceMs"; "required": false; }; "notifyIfOutdated": { "alias": "notifyIfOutdated"; "required": false; }; "snoozeMs": { "alias": "snoozeMs"; "required": false; }; "autoOpenSettingsOnOutdated": { "alias": "autoOpenSettingsOnOutdated"; "required": false; }; "readonlyModeGlobal": { "alias": "readonlyModeGlobal"; "required": false; }; "disabledModeGlobal": { "alias": "disabledModeGlobal"; "required": false; }; "presentationModeGlobal": { "alias": "presentationModeGlobal"; "required": false; }; "visibleGlobal": { "alias": "visibleGlobal"; "required": false; }; "fieldIconPolicy": { "alias": "fieldIconPolicy"; "required": false; }; "domainRules": { "alias": "domainRules"; "required": false; }; "customEndpoints": { "alias": "customEndpoints"; "required": false; }; }, { "formSubmit": "formSubmit"; "formCancel": "formCancel"; "formReset": "formReset"; "configChange": "configChange"; "configPatchChange": "configPatchChange"; "formReady": "formReady"; "valueChange": "valueChange"; "syncCompleted": "syncCompleted"; "initializationError": "initializationError"; "loadingStateChange": "loadingStateChange"; "enableCustomizationChange": "enableCustomizationChange"; "customAction": "customAction"; "actionConfirmation": "actionConfirmation"; "schemaStatusChange": "schemaStatusChange"; "fieldRenderError": "fieldRenderError"; "ruleDiagnosticsChange": "ruleDiagnosticsChange"; }, never, never, true, never>;
|
|
1342
1379
|
}
|
|
1343
1380
|
|
|
1344
1381
|
declare class FormConfigService {
|
|
@@ -1393,6 +1430,7 @@ declare class JsonConfigEditorComponent implements OnInit, OnDestroy {
|
|
|
1393
1430
|
diagnostics: EditorDiagnostic[];
|
|
1394
1431
|
private destroy$;
|
|
1395
1432
|
private jsonTextChanges$;
|
|
1433
|
+
private readonly i18n;
|
|
1396
1434
|
constructor(cdr: ChangeDetectorRef, configService: FormConfigService);
|
|
1397
1435
|
ngOnInit(): void;
|
|
1398
1436
|
ngOnDestroy(): void;
|
|
@@ -1412,6 +1450,9 @@ declare class JsonConfigEditorComponent implements OnInit, OnDestroy {
|
|
|
1412
1450
|
private updateValidationState;
|
|
1413
1451
|
insertHooksTemplate(): void;
|
|
1414
1452
|
enableReactiveValidation(): void;
|
|
1453
|
+
tx(key: string, fallback: string, params?: Record<string, string | number | boolean | null | undefined>): string;
|
|
1454
|
+
private resolveI18n;
|
|
1455
|
+
private interpolateFallback;
|
|
1415
1456
|
static ɵfac: i0.ɵɵFactoryDeclaration<JsonConfigEditorComponent, never>;
|
|
1416
1457
|
static ɵcmp: i0.ɵɵComponentDeclaration<JsonConfigEditorComponent, "form-json-config-editor", never, { "config": { "alias": "config"; "required": false; }; "document": { "alias": "document"; "required": false; }; }, { "configChange": "configChange"; "documentChange": "documentChange"; "validationChange": "validationChange"; "editorEvent": "editorEvent"; }, never, never, true, never>;
|
|
1417
1458
|
}
|
|
@@ -1448,6 +1489,12 @@ interface FormRuleDiagnostics {
|
|
|
1448
1489
|
runtimeOnlyReason?: string;
|
|
1449
1490
|
}
|
|
1450
1491
|
|
|
1492
|
+
type ConfigEditorTabKey = 'general' | 'schema' | 'layout' | 'hooks' | 'presentation' | 'behavior' | 'hints' | 'actions' | 'rules' | 'cascades' | 'messages' | 'navigation' | 'json';
|
|
1493
|
+
interface ConfigEditorTabOption {
|
|
1494
|
+
key: ConfigEditorTabKey;
|
|
1495
|
+
index: number;
|
|
1496
|
+
label: string;
|
|
1497
|
+
}
|
|
1451
1498
|
interface CommandRulePreviewModel {
|
|
1452
1499
|
state: 'ready' | 'invalid';
|
|
1453
1500
|
executionMode: 'preview-only';
|
|
@@ -1456,11 +1503,11 @@ interface CommandRulePreviewModel {
|
|
|
1456
1503
|
payload?: unknown;
|
|
1457
1504
|
payloadExpr?: string;
|
|
1458
1505
|
policy: {
|
|
1459
|
-
trigger: '
|
|
1506
|
+
trigger: NonNullable<PraxisEffectPolicy['trigger']>;
|
|
1460
1507
|
distinct: boolean;
|
|
1461
1508
|
distinctBy?: string;
|
|
1462
1509
|
runOnInitialEvaluation?: boolean;
|
|
1463
|
-
}
|
|
1510
|
+
} & Omit<PraxisEffectPolicy, 'trigger' | 'distinct' | 'distinctBy' | 'runOnInitialEvaluation'>;
|
|
1464
1511
|
diagnostics: string[];
|
|
1465
1512
|
}
|
|
1466
1513
|
declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, OnInit, OnDestroy {
|
|
@@ -1469,10 +1516,12 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
|
|
|
1469
1516
|
private settingsPanel;
|
|
1470
1517
|
private cdr;
|
|
1471
1518
|
jsonEditor?: JsonConfigEditorComponent;
|
|
1519
|
+
cascadeManager?: CascadeManagerTabComponent;
|
|
1472
1520
|
editedConfig: FormConfig;
|
|
1473
1521
|
ruleBuilderConfig: RuleBuilderConfig;
|
|
1474
1522
|
ruleBuilderState?: RuleBuilderState;
|
|
1475
1523
|
currentRules: FormLayoutRule[];
|
|
1524
|
+
selectedConfigTabIndex: number;
|
|
1476
1525
|
selectedCommandRuleId: string;
|
|
1477
1526
|
commandRuleCondition: JsonLogicExpression | null;
|
|
1478
1527
|
commandRuleConditionJson: string;
|
|
@@ -1482,6 +1531,8 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
|
|
|
1482
1531
|
commandRuleDistinct: boolean;
|
|
1483
1532
|
commandRuleDistinctBy: string;
|
|
1484
1533
|
commandRuleRunOnInitialEvaluation: boolean;
|
|
1534
|
+
private commandRulePolicyTrigger;
|
|
1535
|
+
private commandRuleAdvancedPolicy;
|
|
1485
1536
|
commandRuleAuthoringError: string | null;
|
|
1486
1537
|
commandRulePayloadFieldErrors: Record<string, string>;
|
|
1487
1538
|
ruleDiagnostics: FormRuleDiagnostics[];
|
|
@@ -1507,10 +1558,10 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
|
|
|
1507
1558
|
private readonly editorMode;
|
|
1508
1559
|
isPresentationMode: boolean;
|
|
1509
1560
|
truncatePreview: boolean;
|
|
1510
|
-
previewItems: {
|
|
1561
|
+
previewItems: Array<{
|
|
1511
1562
|
label: string;
|
|
1512
1563
|
value: string;
|
|
1513
|
-
}
|
|
1564
|
+
}>;
|
|
1514
1565
|
presentationPrefs: {
|
|
1515
1566
|
labelPosition: 'above' | 'left';
|
|
1516
1567
|
labelFontSize?: number | null;
|
|
@@ -1523,6 +1574,12 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
|
|
|
1523
1574
|
};
|
|
1524
1575
|
/** Ensure hints object exists (normalized upstream) */
|
|
1525
1576
|
private ensureHints;
|
|
1577
|
+
get helpPresentationDraft(): Required<FormHelpPresentationConfig>;
|
|
1578
|
+
onHelpPresentationDisplayChange(display: FormHelpPresentationConfig['display']): void;
|
|
1579
|
+
onHelpPresentationInlineMaxLengthChange(inlineMaxLength: number | string | null): void;
|
|
1580
|
+
private updateHelpPresentation;
|
|
1581
|
+
getHelpPreferPopoverControlsText(): string;
|
|
1582
|
+
onHelpPreferPopoverControlsChange(value: string): void;
|
|
1526
1583
|
schemaPrefs: {
|
|
1527
1584
|
notifyIfOutdated: 'inline' | 'snackbar' | 'both' | 'none';
|
|
1528
1585
|
snoozeMs: number;
|
|
@@ -1538,13 +1595,19 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
|
|
|
1538
1595
|
private hasProcessedInitialRuleState;
|
|
1539
1596
|
private jsonEditorIsValid;
|
|
1540
1597
|
private globalActionValidationIssues;
|
|
1598
|
+
private readonly i18n;
|
|
1541
1599
|
readonly globalActionCatalog: GlobalActionCatalogEntry[];
|
|
1542
1600
|
isDirty$: BehaviorSubject<boolean>;
|
|
1543
1601
|
isValid$: BehaviorSubject<boolean>;
|
|
1544
1602
|
isBusy$: BehaviorSubject<boolean>;
|
|
1545
1603
|
private lastRulesSignature;
|
|
1604
|
+
private pendingRulePropertiesStateSignature;
|
|
1546
1605
|
private readonly DEBUG;
|
|
1547
1606
|
private debugLog;
|
|
1607
|
+
get configTabOptions(): ConfigEditorTabOption[];
|
|
1608
|
+
configTabLabel(key: ConfigEditorTabKey): string;
|
|
1609
|
+
private buildPresentationPreviewItems;
|
|
1610
|
+
getConfigTabIndex(key: ConfigEditorTabKey): number;
|
|
1548
1611
|
constructor(storage: AsyncConfigStorage, configService: FormConfigService, settingsPanel: SettingsPanelService, cdr: ChangeDetectorRef, globalActionCatalogSource?: ReadonlyArray<GlobalActionCatalogEntry[]>, injectedData?: any);
|
|
1549
1612
|
ngOnInit(): void;
|
|
1550
1613
|
reset(): void;
|
|
@@ -1571,6 +1634,7 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
|
|
|
1571
1634
|
applyCommandRule(): void;
|
|
1572
1635
|
deleteCommandRule(): void;
|
|
1573
1636
|
get commandRuleActionSchema(): _praxisui_core.GlobalActionUiSchema | undefined;
|
|
1637
|
+
get commandRuleSurfaceOpenPayload(): SurfaceOpenPayload;
|
|
1574
1638
|
shouldShowCommandActionField(field: GlobalActionField): boolean;
|
|
1575
1639
|
isCommandActionFieldRequired(field: GlobalActionField): boolean;
|
|
1576
1640
|
isCommandActionFieldMissing(field: GlobalActionField): boolean;
|
|
@@ -1579,12 +1643,15 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
|
|
|
1579
1643
|
get commandRulePreview(): CommandRulePreviewModel;
|
|
1580
1644
|
getCommandActionFieldValue(field: GlobalActionField): any;
|
|
1581
1645
|
onCommandActionFieldChange(field: GlobalActionField, value: any): void;
|
|
1646
|
+
onCommandSurfaceOpenPayloadChange(payload: SurfaceOpenPayload): void;
|
|
1582
1647
|
private initializeCommandRuleEditor;
|
|
1583
1648
|
private loadCommandRuleEditor;
|
|
1649
|
+
private buildCommandRulePolicy;
|
|
1584
1650
|
private updateCommandRules;
|
|
1585
1651
|
private parseCommandRuleCondition;
|
|
1586
1652
|
private parseOptionalJson;
|
|
1587
1653
|
private parseCommandPayloadObject;
|
|
1654
|
+
private getCommandRuleErrorMessage;
|
|
1588
1655
|
private collectCommandActionFieldValues;
|
|
1589
1656
|
private setCommandActionFieldError;
|
|
1590
1657
|
private clearCommandActionFieldError;
|
|
@@ -1596,6 +1663,8 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
|
|
|
1596
1663
|
getRuleStatusTone(diagnostic: FormRuleDiagnostics): 'ok' | 'warn' | 'error';
|
|
1597
1664
|
canAcceptPendingLlmRule(diagnostic: FormRuleDiagnostics): boolean;
|
|
1598
1665
|
canApplyRulePropertyFix(diagnostic: FormRuleDiagnostics): boolean;
|
|
1666
|
+
canOpenRuleJsonReview(diagnostic: FormRuleDiagnostics): boolean;
|
|
1667
|
+
openRuleJsonReview(ruleId: string): void;
|
|
1599
1668
|
applyRulePropertyFix(ruleId: string): void;
|
|
1600
1669
|
acceptPendingLlmRule(ruleId: string): void;
|
|
1601
1670
|
getRuleDiagnosticDetails(diagnostic: FormRuleDiagnostics): string[];
|
|
@@ -1628,6 +1697,7 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
|
|
|
1628
1697
|
onLayoutSelect(event: any): void;
|
|
1629
1698
|
private openColumnEditor;
|
|
1630
1699
|
onCascadeApply(patch: Record<string, Partial<FieldDefinition>>): void;
|
|
1700
|
+
private syncCascadeManagerFields;
|
|
1631
1701
|
private stripLegacy;
|
|
1632
1702
|
private computeRulesSignature;
|
|
1633
1703
|
restoreHintsDefaults(): void;
|
|
@@ -1641,6 +1711,9 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
|
|
|
1641
1711
|
private toPresentationSnapshot;
|
|
1642
1712
|
private toSchemaPrefsSnapshot;
|
|
1643
1713
|
private toBackConfigSnapshot;
|
|
1714
|
+
tx(key: string, fallback: string, params?: Record<string, string | number | boolean | null | undefined>): string;
|
|
1715
|
+
private resolveI18n;
|
|
1716
|
+
private interpolateFallback;
|
|
1644
1717
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisDynamicFormConfigEditor, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
1645
1718
|
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisDynamicFormConfigEditor, "praxis-dynamic-form-config-editor", never, {}, {}, never, never, true, never>;
|
|
1646
1719
|
}
|
|
@@ -1748,7 +1821,7 @@ declare class LayoutPrefsService {
|
|
|
1748
1821
|
static ɵprov: i0.ɵɵInjectableDeclaration<LayoutPrefsService>;
|
|
1749
1822
|
}
|
|
1750
1823
|
|
|
1751
|
-
type VisualBlockPresetId = 'text' | 'notice' | 'divider' | 'infoCard' | 'callout' | 'keyValueList' | 'recordSummary' | 'lookupCard' | 'disclosure' | 'emptyState';
|
|
1824
|
+
type VisualBlockPresetId = 'text' | 'notice' | 'divider' | 'infoCard' | 'callout' | 'keyValueList' | 'contractProof' | 'recordSummary' | 'lookupCard' | 'disclosure' | 'emptyState';
|
|
1752
1825
|
interface VisualBlockPreset {
|
|
1753
1826
|
id: VisualBlockPresetId;
|
|
1754
1827
|
labelKey: string;
|
|
@@ -1829,6 +1902,7 @@ declare class LayoutEditorComponent implements OnInit {
|
|
|
1829
1902
|
chromeToggles: string[];
|
|
1830
1903
|
get borderEnabled(): boolean;
|
|
1831
1904
|
get dividerEnabled(): boolean;
|
|
1905
|
+
get layoutSections(): FormSection[];
|
|
1832
1906
|
canApplyAll(): boolean;
|
|
1833
1907
|
applyGapToAll(): void;
|
|
1834
1908
|
ngOnInit(): void;
|
|
@@ -1953,6 +2027,7 @@ declare class RowConfiguratorComponent implements OnChanges {
|
|
|
1953
2027
|
activeDropIndex: number | null;
|
|
1954
2028
|
protected readonly visualBlockPresets: readonly VisualBlockPreset[];
|
|
1955
2029
|
private readonly i18n;
|
|
2030
|
+
private readonly dialog;
|
|
1956
2031
|
private hoverTimer;
|
|
1957
2032
|
protected readonly breakpoints: Breakpoint[];
|
|
1958
2033
|
previewBreakpoint: Breakpoint;
|
|
@@ -2105,6 +2180,50 @@ declare class DomainRuleFormRulesService {
|
|
|
2105
2180
|
static ɵprov: i0.ɵɵInjectableDeclaration<DomainRuleFormRulesService>;
|
|
2106
2181
|
}
|
|
2107
2182
|
|
|
2183
|
+
declare class Ergadm00034CompactPresentationExampleComponent {
|
|
2184
|
+
private readonly dynamicLayout;
|
|
2185
|
+
readonly legacyFrequencyExample: _praxisui_dynamic_form.Ergadm00034CompactPresentationExample;
|
|
2186
|
+
readonly legacyFrequencyPresentationConfig: _praxisui_core.FormConfig;
|
|
2187
|
+
readonly legacyFrequencyInitialValue: Record<string, unknown>;
|
|
2188
|
+
readonly legacyFrequencyRows: readonly _praxisui_dynamic_form.Ergadm00034LegacyFrequencyRow[];
|
|
2189
|
+
readonly corporatePresentationExample: _praxisui_dynamic_form.CorporatePresentationExample;
|
|
2190
|
+
readonly corporatePresentationConfig: _praxisui_core.FormConfig;
|
|
2191
|
+
readonly corporatePresentationInitialValue: Record<string, unknown>;
|
|
2192
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Ergadm00034CompactPresentationExampleComponent, never>;
|
|
2193
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Ergadm00034CompactPresentationExampleComponent, "praxis-ergadm00034-compact-presentation-example", never, {}, {}, never, never, true, never>;
|
|
2194
|
+
}
|
|
2195
|
+
|
|
2196
|
+
interface Ergadm00034LegacyFrequencyRow {
|
|
2197
|
+
tipo: string;
|
|
2198
|
+
codigo: string;
|
|
2199
|
+
nome: string;
|
|
2200
|
+
preenchimento: string;
|
|
2201
|
+
marcador: string;
|
|
2202
|
+
selected?: boolean;
|
|
2203
|
+
}
|
|
2204
|
+
interface Ergadm00034CompactPresentationExample {
|
|
2205
|
+
readonly id: 'ergadm00034-compact-presentation';
|
|
2206
|
+
readonly title: string;
|
|
2207
|
+
readonly resourcePath: string;
|
|
2208
|
+
readonly layoutPreset: 'compactPresentation';
|
|
2209
|
+
readonly rows: readonly Ergadm00034LegacyFrequencyRow[];
|
|
2210
|
+
readonly tableConfig: TableConfig;
|
|
2211
|
+
readonly metadata: readonly FieldMetadata[];
|
|
2212
|
+
readonly initialValue: Record<string, unknown>;
|
|
2213
|
+
}
|
|
2214
|
+
interface CorporatePresentationExample {
|
|
2215
|
+
readonly id: 'corporate-presentation-format-gallery';
|
|
2216
|
+
readonly title: string;
|
|
2217
|
+
readonly resourcePath: string;
|
|
2218
|
+
readonly layoutPreset: 'compactPresentation';
|
|
2219
|
+
readonly metadata: readonly FieldMetadata[];
|
|
2220
|
+
readonly initialValue: Record<string, unknown>;
|
|
2221
|
+
}
|
|
2222
|
+
declare const ERGADM00034_COMPACT_PRESENTATION_EXAMPLE: Ergadm00034CompactPresentationExample;
|
|
2223
|
+
declare const CORPORATE_PRESENTATION_FORMAT_GALLERY: CorporatePresentationExample;
|
|
2224
|
+
declare function buildErgadm00034CompactPresentationConfig(layoutService: DynamicFormLayoutService): FormConfig;
|
|
2225
|
+
declare function buildCorporatePresentationFormatGalleryConfig(layoutService: DynamicFormLayoutService): FormConfig;
|
|
2226
|
+
|
|
2108
2227
|
declare function isRuleSatisfied(rule: FormLayoutRule, data: unknown): boolean;
|
|
2109
2228
|
/**
|
|
2110
2229
|
* Applies all visibility rules to the provided data and
|
|
@@ -2171,6 +2290,7 @@ declare class CanvasToolbarComponent {
|
|
|
2171
2290
|
/** Estado interno para animar o fechamento. */
|
|
2172
2291
|
closing: boolean;
|
|
2173
2292
|
private readonly closeAnimMs;
|
|
2293
|
+
private readonly i18n;
|
|
2174
2294
|
toggleReadonly: EventEmitter<void>;
|
|
2175
2295
|
toggleRequired: EventEmitter<void>;
|
|
2176
2296
|
toggleHidden: EventEmitter<void>;
|
|
@@ -2188,6 +2308,7 @@ declare class CanvasToolbarComponent {
|
|
|
2188
2308
|
onGlobalKeydown(ev: KeyboardEvent): void;
|
|
2189
2309
|
/** Inicia animação de saída e emite o evento ao final. */
|
|
2190
2310
|
triggerClose(): void;
|
|
2311
|
+
tx(key: string, fallback: string, params?: Record<string, string | number>): string;
|
|
2191
2312
|
static ɵfac: i0.ɵɵFactoryDeclaration<CanvasToolbarComponent, never>;
|
|
2192
2313
|
static ɵcmp: i0.ɵɵComponentDeclaration<CanvasToolbarComponent, "praxis-canvas-toolbar", never, { "selectedElement": { "alias": "selectedElement"; "required": false; }; }, { "editMetadata": "editMetadata"; "delete": "delete"; "moveUp": "moveUp"; "moveDown": "moveDown"; "selectPath": "selectPath"; "requestClose": "requestClose"; "toggleReadonly": "toggleReadonly"; "toggleRequired": "toggleRequired"; "toggleHidden": "toggleHidden"; "toggleDisabled": "toggleDisabled"; }, never, never, true, never>;
|
|
2193
2314
|
}
|
|
@@ -2345,6 +2466,7 @@ declare class RowEditorComponent implements OnInit, OnDestroy, SettingsValueProv
|
|
|
2345
2466
|
isBusy$: BehaviorSubject<boolean>;
|
|
2346
2467
|
private destroy$;
|
|
2347
2468
|
private initialValueSig;
|
|
2469
|
+
private readonly i18n;
|
|
2348
2470
|
constructor(fb: FormBuilder, data: {
|
|
2349
2471
|
row: EditableFormRow;
|
|
2350
2472
|
});
|
|
@@ -2353,10 +2475,12 @@ declare class RowEditorComponent implements OnInit, OnDestroy, SettingsValueProv
|
|
|
2353
2475
|
getSettingsValue(): any;
|
|
2354
2476
|
displayValue(value: number | null | undefined, fallback: string): string | number;
|
|
2355
2477
|
displayPxValue(value: number | null | undefined): string;
|
|
2478
|
+
visibilityStateLabel(bp: Breakpoint): string;
|
|
2356
2479
|
private setColumns;
|
|
2357
2480
|
applyPreset(preset: 'full' | 'half' | 'thirds' | 'thirdTwoThird' | 'twoThirdThird' | 'autoBalance'): void;
|
|
2358
2481
|
private resolveHiddenMode;
|
|
2359
2482
|
setHiddenMode(mode: 'none' | 'mobile' | 'desktop'): void;
|
|
2483
|
+
tx(key: string, fallback: string, params?: Record<string, string | number>): string;
|
|
2360
2484
|
static ɵfac: i0.ɵɵFactoryDeclaration<RowEditorComponent, never>;
|
|
2361
2485
|
static ɵcmp: i0.ɵɵComponentDeclaration<RowEditorComponent, "praxis-row-editor", never, {}, {}, never, never, true, never>;
|
|
2362
2486
|
}
|
|
@@ -2373,6 +2497,7 @@ declare class ColumnEditorComponent implements OnInit, OnDestroy, SettingsValueP
|
|
|
2373
2497
|
isBusy$: BehaviorSubject<boolean>;
|
|
2374
2498
|
private destroy$;
|
|
2375
2499
|
private _previewTimer;
|
|
2500
|
+
private readonly i18n;
|
|
2376
2501
|
constructor(fb: FormBuilder, data: {
|
|
2377
2502
|
column: FormColumn;
|
|
2378
2503
|
});
|
|
@@ -2396,6 +2521,7 @@ declare class ColumnEditorComponent implements OnInit, OnDestroy, SettingsValueP
|
|
|
2396
2521
|
resetResponsive(): void;
|
|
2397
2522
|
applyPreset(key: 'full' | 'half' | 'third' | 'twoThird' | 'centered' | 'narrowSidebar' | 'wideContent' | 'stackMobile' | 'hideMobile' | 'desktopOnly'): void;
|
|
2398
2523
|
toggleHiddenBp(bp: Breakpoint): void;
|
|
2524
|
+
tx(key: string, fallback: string, params?: Record<string, string | number>): string;
|
|
2399
2525
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnEditorComponent, never>;
|
|
2400
2526
|
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnEditorComponent, "praxis-column-editor", never, {}, {}, never, never, true, never>;
|
|
2401
2527
|
}
|
|
@@ -2634,5 +2760,5 @@ declare function buildDynamicFormRuleAuthoringContext(config: Pick<FormConfig, '
|
|
|
2634
2760
|
*/
|
|
2635
2761
|
declare const PRAXIS_DYNAMIC_FORM_AUTHORING_MANIFEST: ComponentAuthoringManifest;
|
|
2636
2762
|
|
|
2637
|
-
export { ActionsEditorComponent, CanvasStateService, CanvasToolbarComponent, ColumnEditorComponent, DomainRuleFormRulesService, DynamicFormLayoutService, FORM_AI_CAPABILITIES, FORM_COMPONENT_AI_CAPABILITIES, FieldConfiguratorComponent, FieldEditorComponent, FormConfigService, FormContextService, FormLayoutService, FormRulesService, JsonConfigEditorComponent, LayoutColorToken, LayoutEditorComponent, LayoutPrefsService, PRAXIS_DYNAMIC_FORM_AUTHORING_MANIFEST, PRAXIS_DYNAMIC_FORM_COMPONENT_METADATA, PRAXIS_FILTER_FORM_COMPONENT_METADATA, PraxisDynamicForm, PraxisDynamicFormConfigEditor, PraxisDynamicFormWidgetConfigEditor, PraxisFilterForm, PraxisFilterFormWidgetConfigEditor, PraxisFormActionsComponent, RowConfiguratorComponent, RowEditorComponent, SETTINGS_PANEL_DYNAMIC_FORM_PROVIDER, SectionEditorComponent, TASK_PRESETS, applyVisibilityRules, buildDynamicFormApplyPlan, buildDynamicFormRuleAuthoringContext, createDynamicFormAuthoringDocument, formLayoutRulesToBuilderState, getFormAiCatalog, getFormCapabilities, getFormEnum, isRuleSatisfied, normalizeDateArrays, normalizeDynamicFormAuthoringDocument, parseLegacyOrDynamicFormDocument, providePraxisDynamicFormMetadata, providePraxisFilterFormMetadata, provideSettingsPanelDynamicForm, ruleBuilderStateToFormLayoutRules, serializeDynamicFormAuthoringDocument, stripLegacyFieldMetadata, toCanonicalDynamicFormConfig, validateDynamicFormAuthoringDocument, validateDynamicFormAuthoringInput };
|
|
2638
|
-
export type { CanvasElement, CanvasElementType, CanvasPathPart, Capability$1 as Capability, CapabilityCatalog$1 as CapabilityCatalog, CapabilityCategory$1 as CapabilityCategory, DomainRuleFormRulesRequestOptions, DomainRuleMaterializedFormLayoutRule, DynamicFieldRenderErrorEvent, DynamicFormAllowedRuleProperties, DynamicFormApplyPlan, DynamicFormAuthoringDocument, DynamicFormBindings, DynamicFormConfigPatchChangeEvent, DynamicFormContextSnapshot, DynamicFormMode, DynamicFormPresentationSnapshot, DynamicFormProjectionContext, DynamicFormResolvedRuntimeContract, DynamicFormRuleAuthoringContext, DynamicFormRuleAuthoringField, DynamicFormRuleAuthoringTarget, DynamicFormRuleAuthoringTargetDetails, DynamicFormRuleAuthoringTargets, DynamicFormRuleAuthoringVisualBlockNode, DynamicFormRuleTargetType, DynamicFormRuntimeContext, DynamicFormRuntimeValueSource, DynamicFormSchemaPrefsSnapshot, DynamicFormValidationContext, EditorDiagnostic, EditorDocument, FieldPath, FieldPathContainer, FieldPathWithIndex, Capability as FormComponentCapability, CapabilityCatalog as FormComponentCapabilityCatalog, CapabilityCategory as FormComponentCapabilityCategory, ValueKind as FormComponentValueKind, FormConfigLike, IdPath, InsertLocalFieldOptions, InsertLocalFieldResult, JsonEditorEvent, JsonValidationResult, LayoutChange, LayoutResult, LocalFieldInsertionDiagnostic, LocalFieldInsertionDiagnosticCode, Operation, Path, PathWithIndex, PraxisDynamicFormDomainRulesOptions, PraxisDynamicFormWidgetEditorInputs, PraxisDynamicFormWidgetEditorValue, PraxisFilterFormWidgetEditorInputs, PraxisFilterFormWidgetEditorValue, PraxisFormActionEvent, RemovePolicy, RuleApplicationContext, RuleApplicationDiagnostic, RuleApplicationDiagnosticCode, RuleApplicationResult, RuleApplicationTargetIndex, RuleApplicationTargetType, ValidationReport, ValueKind$1 as ValueKind };
|
|
2763
|
+
export { ActionsEditorComponent, CORPORATE_PRESENTATION_FORMAT_GALLERY, CanvasStateService, CanvasToolbarComponent, ColumnEditorComponent, DomainRuleFormRulesService, DynamicFormLayoutService, ERGADM00034_COMPACT_PRESENTATION_EXAMPLE, Ergadm00034CompactPresentationExampleComponent, FORM_AI_CAPABILITIES, FORM_COMPONENT_AI_CAPABILITIES, FieldConfiguratorComponent, FieldEditorComponent, FormConfigService, FormContextService, FormLayoutService, FormRulesService, JsonConfigEditorComponent, LayoutColorToken, LayoutEditorComponent, LayoutPrefsService, PRAXIS_DYNAMIC_FORM_AUTHORING_MANIFEST, PRAXIS_DYNAMIC_FORM_COMPONENT_METADATA, PRAXIS_FILTER_FORM_COMPONENT_METADATA, PraxisDynamicForm, PraxisDynamicFormConfigEditor, PraxisDynamicFormWidgetConfigEditor, PraxisFilterForm, PraxisFilterFormWidgetConfigEditor, PraxisFormActionsComponent, RowConfiguratorComponent, RowEditorComponent, SETTINGS_PANEL_DYNAMIC_FORM_PROVIDER, SectionEditorComponent, TASK_PRESETS, applyVisibilityRules, buildCorporatePresentationFormatGalleryConfig, buildDynamicFormApplyPlan, buildDynamicFormRuleAuthoringContext, buildErgadm00034CompactPresentationConfig, createDynamicFormAuthoringDocument, formLayoutRulesToBuilderState, getFormAiCatalog, getFormCapabilities, getFormEnum, isRuleSatisfied, normalizeDateArrays, normalizeDynamicFormAuthoringDocument, parseLegacyOrDynamicFormDocument, providePraxisDynamicFormMetadata, providePraxisFilterFormMetadata, provideSettingsPanelDynamicForm, ruleBuilderStateToFormLayoutRules, serializeDynamicFormAuthoringDocument, stripLegacyFieldMetadata, toCanonicalDynamicFormConfig, validateDynamicFormAuthoringDocument, validateDynamicFormAuthoringInput };
|
|
2764
|
+
export type { CanvasElement, CanvasElementType, CanvasPathPart, Capability$1 as Capability, CapabilityCatalog$1 as CapabilityCatalog, CapabilityCategory$1 as CapabilityCategory, CorporatePresentationExample, DomainRuleFormRulesRequestOptions, DomainRuleMaterializedFormLayoutRule, DynamicFieldRenderErrorEvent, DynamicFormAllowedRuleProperties, DynamicFormApplyPlan, DynamicFormAuthoringDocument, DynamicFormBindings, DynamicFormConfigPatchChangeEvent, DynamicFormContextSnapshot, DynamicFormGeneratedLayoutPreset, DynamicFormMode, DynamicFormPresentationSnapshot, DynamicFormProjectionContext, DynamicFormResolvedRuntimeContract, DynamicFormRuleAuthoringContext, DynamicFormRuleAuthoringField, DynamicFormRuleAuthoringTarget, DynamicFormRuleAuthoringTargetDetails, DynamicFormRuleAuthoringTargets, DynamicFormRuleAuthoringVisualBlockNode, DynamicFormRuleTargetType, DynamicFormRuntimeContext, DynamicFormRuntimeValueSource, DynamicFormSchemaPrefsSnapshot, DynamicFormValidationContext, EditorDiagnostic, EditorDocument, Ergadm00034CompactPresentationExample, Ergadm00034LegacyFrequencyRow, FieldPath, FieldPathContainer, FieldPathWithIndex, Capability as FormComponentCapability, CapabilityCatalog as FormComponentCapabilityCatalog, CapabilityCategory as FormComponentCapabilityCategory, ValueKind as FormComponentValueKind, FormConfigLike, GenerateFormConfigFromMetadataOptions, IdPath, InsertLocalFieldOptions, InsertLocalFieldResult, JsonEditorEvent, JsonValidationResult, LayoutChange, LayoutResult, LocalFieldInsertionDiagnostic, LocalFieldInsertionDiagnosticCode, Operation, Path, PathWithIndex, PraxisDynamicFormDomainRulesOptions, PraxisDynamicFormWidgetEditorInputs, PraxisDynamicFormWidgetEditorValue, PraxisFilterFormWidgetEditorInputs, PraxisFilterFormWidgetEditorValue, PraxisFormActionEvent, RemovePolicy, RuleApplicationContext, RuleApplicationDiagnostic, RuleApplicationDiagnosticCode, RuleApplicationResult, RuleApplicationTargetIndex, RuleApplicationTargetType, ValidationReport, ValueKind$1 as ValueKind };
|