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