@praxisui/dynamic-form 9.0.0-beta.6 → 9.0.0-beta.61
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 +190 -2
- package/ai/component-registry.json +14320 -0
- package/docs/dynamic-form-visual-builder-parity-audit.md +268 -0
- package/docs/schema-driven-layout-materialization-rfc.md +497 -0
- package/fesm2022/praxisui-dynamic-form.mjs +4375 -760
- package/package.json +13 -9
- package/src/lib/config-editor/praxis-dynamic-form-config-editor.json-api.md +8 -6
- package/src/lib/praxis-dynamic-form.json-api.md +34 -5
- package/types/praxisui-dynamic-form.d.ts +148 -19
|
@@ -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,10 +1009,16 @@ 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;
|
|
987
1019
|
private loadEntity;
|
|
1020
|
+
private hydrateEntityFromInitialValue;
|
|
1021
|
+
private flushEntityHydrationState;
|
|
988
1022
|
private buildFormFromConfig;
|
|
989
1023
|
private resetFormValueChangesSubscription;
|
|
990
1024
|
private resetDependencyPolicySubscription;
|
|
@@ -997,6 +1031,10 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy {
|
|
|
997
1031
|
private setEntityLookupDependencyConflict;
|
|
998
1032
|
private clearEntityLookupDependencyConflict;
|
|
999
1033
|
private resolveEntityLookupDependencyValidationMessage;
|
|
1034
|
+
private getRuntimeFieldMetadata;
|
|
1035
|
+
private resolveFieldAccessAuthorities;
|
|
1036
|
+
private normalizeAuthorityClaims;
|
|
1037
|
+
private materializeFieldAccessState;
|
|
1000
1038
|
private scheduleValueChangeBootstrapRelease;
|
|
1001
1039
|
private hasInteractiveFormState;
|
|
1002
1040
|
private captureFormRuntimeState;
|
|
@@ -1112,6 +1150,7 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy {
|
|
|
1112
1150
|
items?: FormLayoutItem[];
|
|
1113
1151
|
id?: string;
|
|
1114
1152
|
}): FieldMetadata[];
|
|
1153
|
+
private isFieldRenderableInLayout;
|
|
1115
1154
|
getRichContentLayoutItemDocument(item: FormLayoutItem): RichContentDocument | null;
|
|
1116
1155
|
getRichContentLayoutItemLayout(item: FormLayoutItem): 'block' | 'inline';
|
|
1117
1156
|
private getVisualBlockRuleProps;
|
|
@@ -1136,6 +1175,7 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy {
|
|
|
1136
1175
|
private _showConfirmationDialog;
|
|
1137
1176
|
onFormAction(event: PraxisFormActionEvent): void;
|
|
1138
1177
|
private dispatchRichContentAction;
|
|
1178
|
+
private emitRichContentCustomAction;
|
|
1139
1179
|
private isRichContentActionAvailable;
|
|
1140
1180
|
private hasRichContentCapability;
|
|
1141
1181
|
private buildRichContentActionContext;
|
|
@@ -1337,8 +1377,8 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy {
|
|
|
1337
1377
|
private logRowGapsSnapshot;
|
|
1338
1378
|
private applyPresentationVars;
|
|
1339
1379
|
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>;
|
|
1380
|
+
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; }]>;
|
|
1381
|
+
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
1382
|
}
|
|
1343
1383
|
|
|
1344
1384
|
declare class FormConfigService {
|
|
@@ -1393,6 +1433,7 @@ declare class JsonConfigEditorComponent implements OnInit, OnDestroy {
|
|
|
1393
1433
|
diagnostics: EditorDiagnostic[];
|
|
1394
1434
|
private destroy$;
|
|
1395
1435
|
private jsonTextChanges$;
|
|
1436
|
+
private readonly i18n;
|
|
1396
1437
|
constructor(cdr: ChangeDetectorRef, configService: FormConfigService);
|
|
1397
1438
|
ngOnInit(): void;
|
|
1398
1439
|
ngOnDestroy(): void;
|
|
@@ -1412,6 +1453,9 @@ declare class JsonConfigEditorComponent implements OnInit, OnDestroy {
|
|
|
1412
1453
|
private updateValidationState;
|
|
1413
1454
|
insertHooksTemplate(): void;
|
|
1414
1455
|
enableReactiveValidation(): void;
|
|
1456
|
+
tx(key: string, fallback: string, params?: Record<string, string | number | boolean | null | undefined>): string;
|
|
1457
|
+
private resolveI18n;
|
|
1458
|
+
private interpolateFallback;
|
|
1415
1459
|
static ɵfac: i0.ɵɵFactoryDeclaration<JsonConfigEditorComponent, never>;
|
|
1416
1460
|
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
1461
|
}
|
|
@@ -1448,6 +1492,12 @@ interface FormRuleDiagnostics {
|
|
|
1448
1492
|
runtimeOnlyReason?: string;
|
|
1449
1493
|
}
|
|
1450
1494
|
|
|
1495
|
+
type ConfigEditorTabKey = 'general' | 'schema' | 'layout' | 'hooks' | 'presentation' | 'behavior' | 'hints' | 'actions' | 'rules' | 'cascades' | 'messages' | 'navigation' | 'json';
|
|
1496
|
+
interface ConfigEditorTabOption {
|
|
1497
|
+
key: ConfigEditorTabKey;
|
|
1498
|
+
index: number;
|
|
1499
|
+
label: string;
|
|
1500
|
+
}
|
|
1451
1501
|
interface CommandRulePreviewModel {
|
|
1452
1502
|
state: 'ready' | 'invalid';
|
|
1453
1503
|
executionMode: 'preview-only';
|
|
@@ -1456,11 +1506,11 @@ interface CommandRulePreviewModel {
|
|
|
1456
1506
|
payload?: unknown;
|
|
1457
1507
|
payloadExpr?: string;
|
|
1458
1508
|
policy: {
|
|
1459
|
-
trigger: '
|
|
1509
|
+
trigger: NonNullable<PraxisEffectPolicy['trigger']>;
|
|
1460
1510
|
distinct: boolean;
|
|
1461
1511
|
distinctBy?: string;
|
|
1462
1512
|
runOnInitialEvaluation?: boolean;
|
|
1463
|
-
}
|
|
1513
|
+
} & Omit<PraxisEffectPolicy, 'trigger' | 'distinct' | 'distinctBy' | 'runOnInitialEvaluation'>;
|
|
1464
1514
|
diagnostics: string[];
|
|
1465
1515
|
}
|
|
1466
1516
|
declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, OnInit, OnDestroy {
|
|
@@ -1469,10 +1519,12 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
|
|
|
1469
1519
|
private settingsPanel;
|
|
1470
1520
|
private cdr;
|
|
1471
1521
|
jsonEditor?: JsonConfigEditorComponent;
|
|
1522
|
+
cascadeManager?: CascadeManagerTabComponent;
|
|
1472
1523
|
editedConfig: FormConfig;
|
|
1473
1524
|
ruleBuilderConfig: RuleBuilderConfig;
|
|
1474
1525
|
ruleBuilderState?: RuleBuilderState;
|
|
1475
1526
|
currentRules: FormLayoutRule[];
|
|
1527
|
+
selectedConfigTabIndex: number;
|
|
1476
1528
|
selectedCommandRuleId: string;
|
|
1477
1529
|
commandRuleCondition: JsonLogicExpression | null;
|
|
1478
1530
|
commandRuleConditionJson: string;
|
|
@@ -1482,6 +1534,8 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
|
|
|
1482
1534
|
commandRuleDistinct: boolean;
|
|
1483
1535
|
commandRuleDistinctBy: string;
|
|
1484
1536
|
commandRuleRunOnInitialEvaluation: boolean;
|
|
1537
|
+
private commandRulePolicyTrigger;
|
|
1538
|
+
private commandRuleAdvancedPolicy;
|
|
1485
1539
|
commandRuleAuthoringError: string | null;
|
|
1486
1540
|
commandRulePayloadFieldErrors: Record<string, string>;
|
|
1487
1541
|
ruleDiagnostics: FormRuleDiagnostics[];
|
|
@@ -1507,10 +1561,10 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
|
|
|
1507
1561
|
private readonly editorMode;
|
|
1508
1562
|
isPresentationMode: boolean;
|
|
1509
1563
|
truncatePreview: boolean;
|
|
1510
|
-
previewItems: {
|
|
1564
|
+
previewItems: Array<{
|
|
1511
1565
|
label: string;
|
|
1512
1566
|
value: string;
|
|
1513
|
-
}
|
|
1567
|
+
}>;
|
|
1514
1568
|
presentationPrefs: {
|
|
1515
1569
|
labelPosition: 'above' | 'left';
|
|
1516
1570
|
labelFontSize?: number | null;
|
|
@@ -1523,6 +1577,12 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
|
|
|
1523
1577
|
};
|
|
1524
1578
|
/** Ensure hints object exists (normalized upstream) */
|
|
1525
1579
|
private ensureHints;
|
|
1580
|
+
get helpPresentationDraft(): Required<FormHelpPresentationConfig>;
|
|
1581
|
+
onHelpPresentationDisplayChange(display: FormHelpPresentationConfig['display']): void;
|
|
1582
|
+
onHelpPresentationInlineMaxLengthChange(inlineMaxLength: number | string | null): void;
|
|
1583
|
+
private updateHelpPresentation;
|
|
1584
|
+
getHelpPreferPopoverControlsText(): string;
|
|
1585
|
+
onHelpPreferPopoverControlsChange(value: string): void;
|
|
1526
1586
|
schemaPrefs: {
|
|
1527
1587
|
notifyIfOutdated: 'inline' | 'snackbar' | 'both' | 'none';
|
|
1528
1588
|
snoozeMs: number;
|
|
@@ -1538,13 +1598,19 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
|
|
|
1538
1598
|
private hasProcessedInitialRuleState;
|
|
1539
1599
|
private jsonEditorIsValid;
|
|
1540
1600
|
private globalActionValidationIssues;
|
|
1601
|
+
private readonly i18n;
|
|
1541
1602
|
readonly globalActionCatalog: GlobalActionCatalogEntry[];
|
|
1542
1603
|
isDirty$: BehaviorSubject<boolean>;
|
|
1543
1604
|
isValid$: BehaviorSubject<boolean>;
|
|
1544
1605
|
isBusy$: BehaviorSubject<boolean>;
|
|
1545
1606
|
private lastRulesSignature;
|
|
1607
|
+
private pendingRulePropertiesStateSignature;
|
|
1546
1608
|
private readonly DEBUG;
|
|
1547
1609
|
private debugLog;
|
|
1610
|
+
get configTabOptions(): ConfigEditorTabOption[];
|
|
1611
|
+
configTabLabel(key: ConfigEditorTabKey): string;
|
|
1612
|
+
private buildPresentationPreviewItems;
|
|
1613
|
+
getConfigTabIndex(key: ConfigEditorTabKey): number;
|
|
1548
1614
|
constructor(storage: AsyncConfigStorage, configService: FormConfigService, settingsPanel: SettingsPanelService, cdr: ChangeDetectorRef, globalActionCatalogSource?: ReadonlyArray<GlobalActionCatalogEntry[]>, injectedData?: any);
|
|
1549
1615
|
ngOnInit(): void;
|
|
1550
1616
|
reset(): void;
|
|
@@ -1571,6 +1637,7 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
|
|
|
1571
1637
|
applyCommandRule(): void;
|
|
1572
1638
|
deleteCommandRule(): void;
|
|
1573
1639
|
get commandRuleActionSchema(): _praxisui_core.GlobalActionUiSchema | undefined;
|
|
1640
|
+
get commandRuleSurfaceOpenPayload(): SurfaceOpenPayload;
|
|
1574
1641
|
shouldShowCommandActionField(field: GlobalActionField): boolean;
|
|
1575
1642
|
isCommandActionFieldRequired(field: GlobalActionField): boolean;
|
|
1576
1643
|
isCommandActionFieldMissing(field: GlobalActionField): boolean;
|
|
@@ -1579,12 +1646,15 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
|
|
|
1579
1646
|
get commandRulePreview(): CommandRulePreviewModel;
|
|
1580
1647
|
getCommandActionFieldValue(field: GlobalActionField): any;
|
|
1581
1648
|
onCommandActionFieldChange(field: GlobalActionField, value: any): void;
|
|
1649
|
+
onCommandSurfaceOpenPayloadChange(payload: SurfaceOpenPayload): void;
|
|
1582
1650
|
private initializeCommandRuleEditor;
|
|
1583
1651
|
private loadCommandRuleEditor;
|
|
1652
|
+
private buildCommandRulePolicy;
|
|
1584
1653
|
private updateCommandRules;
|
|
1585
1654
|
private parseCommandRuleCondition;
|
|
1586
1655
|
private parseOptionalJson;
|
|
1587
1656
|
private parseCommandPayloadObject;
|
|
1657
|
+
private getCommandRuleErrorMessage;
|
|
1588
1658
|
private collectCommandActionFieldValues;
|
|
1589
1659
|
private setCommandActionFieldError;
|
|
1590
1660
|
private clearCommandActionFieldError;
|
|
@@ -1596,6 +1666,8 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
|
|
|
1596
1666
|
getRuleStatusTone(diagnostic: FormRuleDiagnostics): 'ok' | 'warn' | 'error';
|
|
1597
1667
|
canAcceptPendingLlmRule(diagnostic: FormRuleDiagnostics): boolean;
|
|
1598
1668
|
canApplyRulePropertyFix(diagnostic: FormRuleDiagnostics): boolean;
|
|
1669
|
+
canOpenRuleJsonReview(diagnostic: FormRuleDiagnostics): boolean;
|
|
1670
|
+
openRuleJsonReview(ruleId: string): void;
|
|
1599
1671
|
applyRulePropertyFix(ruleId: string): void;
|
|
1600
1672
|
acceptPendingLlmRule(ruleId: string): void;
|
|
1601
1673
|
getRuleDiagnosticDetails(diagnostic: FormRuleDiagnostics): string[];
|
|
@@ -1628,6 +1700,7 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
|
|
|
1628
1700
|
onLayoutSelect(event: any): void;
|
|
1629
1701
|
private openColumnEditor;
|
|
1630
1702
|
onCascadeApply(patch: Record<string, Partial<FieldDefinition>>): void;
|
|
1703
|
+
private syncCascadeManagerFields;
|
|
1631
1704
|
private stripLegacy;
|
|
1632
1705
|
private computeRulesSignature;
|
|
1633
1706
|
restoreHintsDefaults(): void;
|
|
@@ -1641,6 +1714,9 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
|
|
|
1641
1714
|
private toPresentationSnapshot;
|
|
1642
1715
|
private toSchemaPrefsSnapshot;
|
|
1643
1716
|
private toBackConfigSnapshot;
|
|
1717
|
+
tx(key: string, fallback: string, params?: Record<string, string | number | boolean | null | undefined>): string;
|
|
1718
|
+
private resolveI18n;
|
|
1719
|
+
private interpolateFallback;
|
|
1644
1720
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisDynamicFormConfigEditor, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
1645
1721
|
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisDynamicFormConfigEditor, "praxis-dynamic-form-config-editor", never, {}, {}, never, never, true, never>;
|
|
1646
1722
|
}
|
|
@@ -1829,6 +1905,7 @@ declare class LayoutEditorComponent implements OnInit {
|
|
|
1829
1905
|
chromeToggles: string[];
|
|
1830
1906
|
get borderEnabled(): boolean;
|
|
1831
1907
|
get dividerEnabled(): boolean;
|
|
1908
|
+
get layoutSections(): FormSection[];
|
|
1832
1909
|
canApplyAll(): boolean;
|
|
1833
1910
|
applyGapToAll(): void;
|
|
1834
1911
|
ngOnInit(): void;
|
|
@@ -1953,6 +2030,7 @@ declare class RowConfiguratorComponent implements OnChanges {
|
|
|
1953
2030
|
activeDropIndex: number | null;
|
|
1954
2031
|
protected readonly visualBlockPresets: readonly VisualBlockPreset[];
|
|
1955
2032
|
private readonly i18n;
|
|
2033
|
+
private readonly dialog;
|
|
1956
2034
|
private hoverTimer;
|
|
1957
2035
|
protected readonly breakpoints: Breakpoint[];
|
|
1958
2036
|
previewBreakpoint: Breakpoint;
|
|
@@ -2105,6 +2183,50 @@ declare class DomainRuleFormRulesService {
|
|
|
2105
2183
|
static ɵprov: i0.ɵɵInjectableDeclaration<DomainRuleFormRulesService>;
|
|
2106
2184
|
}
|
|
2107
2185
|
|
|
2186
|
+
declare class Ergadm00034CompactPresentationExampleComponent {
|
|
2187
|
+
private readonly dynamicLayout;
|
|
2188
|
+
readonly legacyFrequencyExample: _praxisui_dynamic_form.Ergadm00034CompactPresentationExample;
|
|
2189
|
+
readonly legacyFrequencyPresentationConfig: _praxisui_core.FormConfig;
|
|
2190
|
+
readonly legacyFrequencyInitialValue: Record<string, unknown>;
|
|
2191
|
+
readonly legacyFrequencyRows: readonly _praxisui_dynamic_form.Ergadm00034LegacyFrequencyRow[];
|
|
2192
|
+
readonly corporatePresentationExample: _praxisui_dynamic_form.CorporatePresentationExample;
|
|
2193
|
+
readonly corporatePresentationConfig: _praxisui_core.FormConfig;
|
|
2194
|
+
readonly corporatePresentationInitialValue: Record<string, unknown>;
|
|
2195
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Ergadm00034CompactPresentationExampleComponent, never>;
|
|
2196
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Ergadm00034CompactPresentationExampleComponent, "praxis-ergadm00034-compact-presentation-example", never, {}, {}, never, never, true, never>;
|
|
2197
|
+
}
|
|
2198
|
+
|
|
2199
|
+
interface Ergadm00034LegacyFrequencyRow {
|
|
2200
|
+
tipo: string;
|
|
2201
|
+
codigo: string;
|
|
2202
|
+
nome: string;
|
|
2203
|
+
preenchimento: string;
|
|
2204
|
+
marcador: string;
|
|
2205
|
+
selected?: boolean;
|
|
2206
|
+
}
|
|
2207
|
+
interface Ergadm00034CompactPresentationExample {
|
|
2208
|
+
readonly id: 'ergadm00034-compact-presentation';
|
|
2209
|
+
readonly title: string;
|
|
2210
|
+
readonly resourcePath: string;
|
|
2211
|
+
readonly layoutPreset: 'compactPresentation';
|
|
2212
|
+
readonly rows: readonly Ergadm00034LegacyFrequencyRow[];
|
|
2213
|
+
readonly tableConfig: TableConfig;
|
|
2214
|
+
readonly metadata: readonly FieldMetadata[];
|
|
2215
|
+
readonly initialValue: Record<string, unknown>;
|
|
2216
|
+
}
|
|
2217
|
+
interface CorporatePresentationExample {
|
|
2218
|
+
readonly id: 'corporate-presentation-format-gallery';
|
|
2219
|
+
readonly title: string;
|
|
2220
|
+
readonly resourcePath: string;
|
|
2221
|
+
readonly layoutPreset: 'compactPresentation';
|
|
2222
|
+
readonly metadata: readonly FieldMetadata[];
|
|
2223
|
+
readonly initialValue: Record<string, unknown>;
|
|
2224
|
+
}
|
|
2225
|
+
declare const ERGADM00034_COMPACT_PRESENTATION_EXAMPLE: Ergadm00034CompactPresentationExample;
|
|
2226
|
+
declare const CORPORATE_PRESENTATION_FORMAT_GALLERY: CorporatePresentationExample;
|
|
2227
|
+
declare function buildErgadm00034CompactPresentationConfig(layoutService: DynamicFormLayoutService): FormConfig;
|
|
2228
|
+
declare function buildCorporatePresentationFormatGalleryConfig(layoutService: DynamicFormLayoutService): FormConfig;
|
|
2229
|
+
|
|
2108
2230
|
declare function isRuleSatisfied(rule: FormLayoutRule, data: unknown): boolean;
|
|
2109
2231
|
/**
|
|
2110
2232
|
* Applies all visibility rules to the provided data and
|
|
@@ -2171,6 +2293,7 @@ declare class CanvasToolbarComponent {
|
|
|
2171
2293
|
/** Estado interno para animar o fechamento. */
|
|
2172
2294
|
closing: boolean;
|
|
2173
2295
|
private readonly closeAnimMs;
|
|
2296
|
+
private readonly i18n;
|
|
2174
2297
|
toggleReadonly: EventEmitter<void>;
|
|
2175
2298
|
toggleRequired: EventEmitter<void>;
|
|
2176
2299
|
toggleHidden: EventEmitter<void>;
|
|
@@ -2188,6 +2311,7 @@ declare class CanvasToolbarComponent {
|
|
|
2188
2311
|
onGlobalKeydown(ev: KeyboardEvent): void;
|
|
2189
2312
|
/** Inicia animação de saída e emite o evento ao final. */
|
|
2190
2313
|
triggerClose(): void;
|
|
2314
|
+
tx(key: string, fallback: string, params?: Record<string, string | number>): string;
|
|
2191
2315
|
static ɵfac: i0.ɵɵFactoryDeclaration<CanvasToolbarComponent, never>;
|
|
2192
2316
|
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
2317
|
}
|
|
@@ -2345,6 +2469,7 @@ declare class RowEditorComponent implements OnInit, OnDestroy, SettingsValueProv
|
|
|
2345
2469
|
isBusy$: BehaviorSubject<boolean>;
|
|
2346
2470
|
private destroy$;
|
|
2347
2471
|
private initialValueSig;
|
|
2472
|
+
private readonly i18n;
|
|
2348
2473
|
constructor(fb: FormBuilder, data: {
|
|
2349
2474
|
row: EditableFormRow;
|
|
2350
2475
|
});
|
|
@@ -2353,10 +2478,12 @@ declare class RowEditorComponent implements OnInit, OnDestroy, SettingsValueProv
|
|
|
2353
2478
|
getSettingsValue(): any;
|
|
2354
2479
|
displayValue(value: number | null | undefined, fallback: string): string | number;
|
|
2355
2480
|
displayPxValue(value: number | null | undefined): string;
|
|
2481
|
+
visibilityStateLabel(bp: Breakpoint): string;
|
|
2356
2482
|
private setColumns;
|
|
2357
2483
|
applyPreset(preset: 'full' | 'half' | 'thirds' | 'thirdTwoThird' | 'twoThirdThird' | 'autoBalance'): void;
|
|
2358
2484
|
private resolveHiddenMode;
|
|
2359
2485
|
setHiddenMode(mode: 'none' | 'mobile' | 'desktop'): void;
|
|
2486
|
+
tx(key: string, fallback: string, params?: Record<string, string | number>): string;
|
|
2360
2487
|
static ɵfac: i0.ɵɵFactoryDeclaration<RowEditorComponent, never>;
|
|
2361
2488
|
static ɵcmp: i0.ɵɵComponentDeclaration<RowEditorComponent, "praxis-row-editor", never, {}, {}, never, never, true, never>;
|
|
2362
2489
|
}
|
|
@@ -2373,6 +2500,7 @@ declare class ColumnEditorComponent implements OnInit, OnDestroy, SettingsValueP
|
|
|
2373
2500
|
isBusy$: BehaviorSubject<boolean>;
|
|
2374
2501
|
private destroy$;
|
|
2375
2502
|
private _previewTimer;
|
|
2503
|
+
private readonly i18n;
|
|
2376
2504
|
constructor(fb: FormBuilder, data: {
|
|
2377
2505
|
column: FormColumn;
|
|
2378
2506
|
});
|
|
@@ -2396,6 +2524,7 @@ declare class ColumnEditorComponent implements OnInit, OnDestroy, SettingsValueP
|
|
|
2396
2524
|
resetResponsive(): void;
|
|
2397
2525
|
applyPreset(key: 'full' | 'half' | 'third' | 'twoThird' | 'centered' | 'narrowSidebar' | 'wideContent' | 'stackMobile' | 'hideMobile' | 'desktopOnly'): void;
|
|
2398
2526
|
toggleHiddenBp(bp: Breakpoint): void;
|
|
2527
|
+
tx(key: string, fallback: string, params?: Record<string, string | number>): string;
|
|
2399
2528
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnEditorComponent, never>;
|
|
2400
2529
|
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnEditorComponent, "praxis-column-editor", never, {}, {}, never, never, true, never>;
|
|
2401
2530
|
}
|
|
@@ -2634,5 +2763,5 @@ declare function buildDynamicFormRuleAuthoringContext(config: Pick<FormConfig, '
|
|
|
2634
2763
|
*/
|
|
2635
2764
|
declare const PRAXIS_DYNAMIC_FORM_AUTHORING_MANIFEST: ComponentAuthoringManifest;
|
|
2636
2765
|
|
|
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 };
|
|
2766
|
+
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 };
|
|
2767
|
+
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 };
|