@praxisui/dynamic-form 10.0.0-rc.64 → 10.0.0-rc.66
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.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-11-
|
|
3
|
+
"generatedAt": "2026-11-27T07:08:08.775Z",
|
|
4
4
|
"packageName": "@praxisui/dynamic-form",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.66",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 2,
|
|
@@ -14913,6 +14913,8 @@ class PraxisDynamicForm {
|
|
|
14913
14913
|
operationId;
|
|
14914
14914
|
/** Canonical schema URL published by the backend surface catalog. */
|
|
14915
14915
|
schemaUrl;
|
|
14916
|
+
/** Optional RFC 6901 JSON Pointer selecting a sub-schema inside the fetched schema document. */
|
|
14917
|
+
schemaPointer;
|
|
14916
14918
|
/** Canonical read URL published by backend view/read-projection surfaces. */
|
|
14917
14919
|
readUrl;
|
|
14918
14920
|
/** Canonical submit URL published by the backend surface catalog. */
|
|
@@ -15710,6 +15712,7 @@ class PraxisDynamicForm {
|
|
|
15710
15712
|
schemaRootFormLayout;
|
|
15711
15713
|
schemaRootReactiveDeterminations = [];
|
|
15712
15714
|
schemaRootOperationId = null;
|
|
15715
|
+
loadedRootSchema = null;
|
|
15713
15716
|
destroy$ = new Subject();
|
|
15714
15717
|
entityReadCancel$ = new Subject();
|
|
15715
15718
|
isDestroyed = false;
|
|
@@ -17019,8 +17022,9 @@ class PraxisDynamicForm {
|
|
|
17019
17022
|
this.emitPayloadPreview('entity-hydrated');
|
|
17020
17023
|
}
|
|
17021
17024
|
}
|
|
17022
|
-
if (changes['schemaUrl'] && !changes['schemaUrl'].firstChange)
|
|
17023
|
-
|
|
17025
|
+
if ((changes['schemaUrl'] && !changes['schemaUrl'].firstChange) ||
|
|
17026
|
+
(changes['schemaPointer'] && !changes['schemaPointer'].firstChange)) {
|
|
17027
|
+
this.debugLog('[PDF] ngOnChanges schemaUrl/schemaPointer=', this.schemaUrl, this.schemaPointer);
|
|
17024
17028
|
this.schemaCache = null;
|
|
17025
17029
|
this.lastSchemaMeta = undefined;
|
|
17026
17030
|
if (this.formId && this.hasSchemaBackedRuntime()) {
|
|
@@ -18388,6 +18392,18 @@ class PraxisDynamicForm {
|
|
|
18388
18392
|
}
|
|
18389
18393
|
return Array.from(dirtyFields);
|
|
18390
18394
|
}
|
|
18395
|
+
getPreparedSubmitPayload() {
|
|
18396
|
+
if (!this.form || !Object.keys(this.form.controls || {}).length) {
|
|
18397
|
+
return null;
|
|
18398
|
+
}
|
|
18399
|
+
const prepared = this.prepareCurrentSubmitPayload();
|
|
18400
|
+
return prepared && typeof prepared === 'object' && !Array.isArray(prepared)
|
|
18401
|
+
? prepared
|
|
18402
|
+
: null;
|
|
18403
|
+
}
|
|
18404
|
+
getLoadedRootSchema() {
|
|
18405
|
+
return this.loadedRootSchema;
|
|
18406
|
+
}
|
|
18391
18407
|
prepareCurrentSubmitPayload(rawFormData = this.form.getRawValue(), dirtyFields = this.getDirtyFieldNames()) {
|
|
18392
18408
|
const fieldMetadata = (this.config.fieldMetadata || []).map((field) => {
|
|
18393
18409
|
if (field.submitPolicy)
|
|
@@ -27436,7 +27452,8 @@ class PraxisDynamicForm {
|
|
|
27436
27452
|
}
|
|
27437
27453
|
const operation = (url.searchParams.get('operation') || 'get').toLowerCase();
|
|
27438
27454
|
const schemaType = (url.searchParams.get('schemaType') || 'response').toLowerCase();
|
|
27439
|
-
const includeInternalSchemas = (url.searchParams.get('includeInternalSchemas') || 'false').toLowerCase() === 'true'
|
|
27455
|
+
const includeInternalSchemas = (url.searchParams.get('includeInternalSchemas') || 'false').toLowerCase() === 'true' ||
|
|
27456
|
+
Boolean(this.getNormalizedSchemaPointer());
|
|
27440
27457
|
const { tenant, locale } = this.schemaRepresentationContext(url.searchParams);
|
|
27441
27458
|
const origin = /^https?:\/\//i.test(resolvedSchemaUrl) ? url.origin : this.resolveApiOrigin();
|
|
27442
27459
|
const baseUrl = origin
|
|
@@ -27528,6 +27545,7 @@ class PraxisDynamicForm {
|
|
|
27528
27545
|
this.schemaRootOperationId = null;
|
|
27529
27546
|
this.schemaRootHooks = undefined;
|
|
27530
27547
|
this.schemaRootFormLayout = undefined;
|
|
27548
|
+
this.loadedRootSchema = null;
|
|
27531
27549
|
const schemaContext = {
|
|
27532
27550
|
path: ctx.path,
|
|
27533
27551
|
operation: ctx.operation,
|
|
@@ -27538,7 +27556,7 @@ class PraxisDynamicForm {
|
|
|
27538
27556
|
apiOrigin: ctx.apiOrigin,
|
|
27539
27557
|
};
|
|
27540
27558
|
const disableCache = this.global.get('cache.disableSchemaCache');
|
|
27541
|
-
const cacheKey = this.
|
|
27559
|
+
const cacheKey = this.buildCompiledSchemaCacheKey(schemaContext, ctx.baseUrl);
|
|
27542
27560
|
// Compiled L1 values cannot establish readiness. Revalidate the structural
|
|
27543
27561
|
// representation and normalize it again before reconciling this lifecycle.
|
|
27544
27562
|
this.schemaValidationFailed = false;
|
|
@@ -27731,12 +27749,18 @@ class PraxisDynamicForm {
|
|
|
27731
27749
|
throw new PraxisDynamicFormDestroyedError();
|
|
27732
27750
|
representationReceived = true;
|
|
27733
27751
|
let defs;
|
|
27752
|
+
let targetSchema;
|
|
27734
27753
|
try {
|
|
27735
|
-
if (!entry.schema || typeof entry.schema !== 'object' || Array.isArray(entry.schema)
|
|
27736
|
-
('
|
|
27754
|
+
if (!entry.schema || typeof entry.schema !== 'object' || Array.isArray(entry.schema)) {
|
|
27755
|
+
throw new Error('Invalid structural schema representation.');
|
|
27756
|
+
}
|
|
27757
|
+
this.loadedRootSchema = entry.schema;
|
|
27758
|
+
targetSchema = this.resolveSchemaPointer(entry.schema, this.schemaPointer);
|
|
27759
|
+
if (!targetSchema || typeof targetSchema !== 'object' || Array.isArray(targetSchema) ||
|
|
27760
|
+
('properties' in targetSchema && (!targetSchema.properties || typeof targetSchema.properties !== 'object' || Array.isArray(targetSchema.properties)))) {
|
|
27737
27761
|
throw new Error('Invalid structural schema representation.');
|
|
27738
27762
|
}
|
|
27739
|
-
defs = this.schemaNormalizer.normalizeSchema(
|
|
27763
|
+
defs = this.schemaNormalizer.normalizeSchema(targetSchema);
|
|
27740
27764
|
}
|
|
27741
27765
|
catch (error) {
|
|
27742
27766
|
this.schemaValidationFailed = true;
|
|
@@ -27745,14 +27769,18 @@ class PraxisDynamicForm {
|
|
|
27745
27769
|
// Parse backend-owned root x-ui runtime contracts. They remain transient
|
|
27746
27770
|
// and are never copied into the persisted/authorable FormConfig.
|
|
27747
27771
|
try {
|
|
27748
|
-
const
|
|
27749
|
-
|
|
27772
|
+
const entryUi = entry?.schema?.['x-ui'];
|
|
27773
|
+
const targetUi = targetSchema?.['x-ui'];
|
|
27774
|
+
const rootUi = targetUi && typeof targetUi === 'object' ? targetUi : entryUi;
|
|
27775
|
+
this.schemaRootOperationId =
|
|
27776
|
+
exactSchemaOperationId(targetSchema, targetUi) ??
|
|
27777
|
+
exactSchemaOperationId(entry?.schema, entryUi);
|
|
27750
27778
|
const hooks = rootUi && typeof rootUi === 'object' ? rootUi.hooks : undefined;
|
|
27751
27779
|
if (hooks && typeof hooks === 'object') {
|
|
27752
27780
|
this.schemaRootHooks = hooks;
|
|
27753
27781
|
}
|
|
27754
27782
|
const normalizedRootUi = typeof this.schemaNormalizer?.extractRootUiMetadata === 'function'
|
|
27755
|
-
? this.schemaNormalizer.extractRootUiMetadata(
|
|
27783
|
+
? this.schemaNormalizer.extractRootUiMetadata(targetSchema)
|
|
27756
27784
|
: null;
|
|
27757
27785
|
const rootFormLayout = normalizedRootUi?.formLayout ??
|
|
27758
27786
|
(rootUi &&
|
|
@@ -27765,9 +27793,8 @@ class PraxisDynamicForm {
|
|
|
27765
27793
|
if (rootFormLayout) {
|
|
27766
27794
|
this.schemaRootFormLayout = rootFormLayout;
|
|
27767
27795
|
}
|
|
27768
|
-
const rawDeterminations =
|
|
27769
|
-
?
|
|
27770
|
-
: undefined;
|
|
27796
|
+
const rawDeterminations = (targetUi && typeof targetUi === 'object' ? targetUi.reactiveDeterminations : undefined) ??
|
|
27797
|
+
(entryUi && typeof entryUi === 'object' ? entryUi.reactiveDeterminations : undefined);
|
|
27771
27798
|
const normalizedDeterminations = ctx.schemaType === 'request'
|
|
27772
27799
|
? normalizeReactiveDeterminations(rawDeterminations)
|
|
27773
27800
|
: [];
|
|
@@ -27790,7 +27817,7 @@ class PraxisDynamicForm {
|
|
|
27790
27817
|
this.dynamicForm.setCompiledSchema(cacheKey, {
|
|
27791
27818
|
schemaId,
|
|
27792
27819
|
serverHash: entry.schemaHash,
|
|
27793
|
-
rawSchema:
|
|
27820
|
+
rawSchema: targetSchema,
|
|
27794
27821
|
normalizedFields: defs,
|
|
27795
27822
|
schemaRootOperationId: this.schemaRootOperationId,
|
|
27796
27823
|
schemaRootHooks: this.schemaRootHooks,
|
|
@@ -27823,6 +27850,7 @@ class PraxisDynamicForm {
|
|
|
27823
27850
|
return defs;
|
|
27824
27851
|
}
|
|
27825
27852
|
catch (error) {
|
|
27853
|
+
this.loadedRootSchema = null;
|
|
27826
27854
|
// Destruction is the terminal lifecycle outcome even if fetch rejects
|
|
27827
27855
|
// with a transport error after its controller was aborted.
|
|
27828
27856
|
if (this.isDestroyed || error instanceof PraxisDynamicFormDestroyedError) {
|
|
@@ -27860,11 +27888,83 @@ class PraxisDynamicForm {
|
|
|
27860
27888
|
invalidateSchemaCache() {
|
|
27861
27889
|
try {
|
|
27862
27890
|
const ctx = this.buildSchemaContext();
|
|
27863
|
-
const cacheKey = this.
|
|
27891
|
+
const cacheKey = this.buildCompiledSchemaCacheKey(ctx, ctx.baseUrl);
|
|
27864
27892
|
this.dynamicForm.invalidateCompiledSchema(cacheKey);
|
|
27865
27893
|
}
|
|
27866
27894
|
catch { }
|
|
27867
27895
|
this.schemaCache = null;
|
|
27896
|
+
this.loadedRootSchema = null;
|
|
27897
|
+
}
|
|
27898
|
+
getNormalizedSchemaPointer(pointer = this.schemaPointer) {
|
|
27899
|
+
const trimmed = String(pointer ?? '').trim();
|
|
27900
|
+
if (!trimmed || trimmed === '/') {
|
|
27901
|
+
return null;
|
|
27902
|
+
}
|
|
27903
|
+
return trimmed.startsWith('/') ? trimmed : `/${trimmed}`;
|
|
27904
|
+
}
|
|
27905
|
+
buildCompiledSchemaCacheKey(schemaContext, baseUrl) {
|
|
27906
|
+
const baseKey = this.dynamicForm.buildSchemaCacheKey({ ...schemaContext, baseUrl });
|
|
27907
|
+
const pointer = this.getNormalizedSchemaPointer();
|
|
27908
|
+
return pointer ? `${baseKey}|ptr:${pointer}` : baseKey;
|
|
27909
|
+
}
|
|
27910
|
+
resolveSchemaPointer(schema, pointer) {
|
|
27911
|
+
const normalized = this.getNormalizedSchemaPointer(pointer);
|
|
27912
|
+
if (!normalized) {
|
|
27913
|
+
return schema;
|
|
27914
|
+
}
|
|
27915
|
+
const tokens = normalized
|
|
27916
|
+
.slice(1)
|
|
27917
|
+
.split('/')
|
|
27918
|
+
.map((segment) => segment.replace(/~1/g, '/').replace(/~0/g, '~'));
|
|
27919
|
+
let current = schema;
|
|
27920
|
+
for (const token of tokens) {
|
|
27921
|
+
if (!current ||
|
|
27922
|
+
typeof current !== 'object' ||
|
|
27923
|
+
Array.isArray(current) ||
|
|
27924
|
+
!Object.prototype.hasOwnProperty.call(current, token)) {
|
|
27925
|
+
throw new Error(`Schema pointer "${normalized}" could not be resolved.`);
|
|
27926
|
+
}
|
|
27927
|
+
current = current[token];
|
|
27928
|
+
}
|
|
27929
|
+
if (!current || typeof current !== 'object' || Array.isArray(current)) {
|
|
27930
|
+
throw new Error(`Schema pointer "${normalized}" did not resolve to an object schema.`);
|
|
27931
|
+
}
|
|
27932
|
+
if (!current.properties && Array.isArray(current.allOf)) {
|
|
27933
|
+
const mergedProperties = {};
|
|
27934
|
+
const mergedRequired = [];
|
|
27935
|
+
let mergedXUi;
|
|
27936
|
+
for (const branch of current.allOf) {
|
|
27937
|
+
if (!branch || typeof branch !== 'object' || Array.isArray(branch)) {
|
|
27938
|
+
continue;
|
|
27939
|
+
}
|
|
27940
|
+
if (branch.properties && typeof branch.properties === 'object' && !Array.isArray(branch.properties)) {
|
|
27941
|
+
Object.assign(mergedProperties, branch.properties);
|
|
27942
|
+
}
|
|
27943
|
+
if (Array.isArray(branch.required)) {
|
|
27944
|
+
for (const reqField of branch.required) {
|
|
27945
|
+
if (typeof reqField === 'string' && !mergedRequired.includes(reqField)) {
|
|
27946
|
+
mergedRequired.push(reqField);
|
|
27947
|
+
}
|
|
27948
|
+
}
|
|
27949
|
+
}
|
|
27950
|
+
if (branch['x-ui'] && typeof branch['x-ui'] === 'object' && !Array.isArray(branch['x-ui'])) {
|
|
27951
|
+
mergedXUi = { ...(mergedXUi || {}), ...branch['x-ui'] };
|
|
27952
|
+
}
|
|
27953
|
+
}
|
|
27954
|
+
if (Object.keys(mergedProperties).length > 0) {
|
|
27955
|
+
return {
|
|
27956
|
+
...current,
|
|
27957
|
+
properties: mergedProperties,
|
|
27958
|
+
...(Array.isArray(current.required)
|
|
27959
|
+
? {}
|
|
27960
|
+
: mergedRequired.length > 0
|
|
27961
|
+
? { required: mergedRequired }
|
|
27962
|
+
: {}),
|
|
27963
|
+
...(!current['x-ui'] && mergedXUi ? { 'x-ui': mergedXUi } : {}),
|
|
27964
|
+
};
|
|
27965
|
+
}
|
|
27966
|
+
}
|
|
27967
|
+
return current;
|
|
27868
27968
|
}
|
|
27869
27969
|
isReactiveValidationEnabled() {
|
|
27870
27970
|
if (this.reactiveValidation !== null)
|
|
@@ -28453,7 +28553,7 @@ class PraxisDynamicForm {
|
|
|
28453
28553
|
return { writableFields, nonOverwritableFields };
|
|
28454
28554
|
}
|
|
28455
28555
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisDynamicForm, deps: [{ token: i1.GenericCrudService }, { token: i2.HttpClient }, { token: i1$3.FormBuilder }, { token: i0.ChangeDetectorRef }, { token: FormLayoutService }, { token: FormContextService }, { token: FormRulesService }, { token: i7.SettingsPanelService }, { token: i2$1.MatDialog }, { token: ASYNC_CONFIG_STORAGE }, { token: CONNECTION_STORAGE }, { token: i1.DynamicFormService }, { token: i9.MatSnackBar }, { token: CanvasStateService }, { token: DynamicFormLayoutService }, { token: ReactiveDeterminationRuntimeService }, { token: i1.ErrorMessageService }, { token: i1.SchemaNormalizerService }, { token: i1.ComponentMetadataRegistry }, { token: i1.GlobalConfigService }, { token: i1.ComponentKeyService }, { token: i1.LoadingOrchestrator }, { token: i0.NgZone }, { token: API_URL }, { token: PRAXIS_LOADING_RENDERER, optional: true }, { token: i13.Router, optional: true }, { token: i13.ActivatedRoute, optional: true }, { token: i1.FormHooksRegistry, optional: true }, { token: FORM_HOOKS_PRESETS, optional: true }, { token: i1.LoggerService, optional: true }, { token: i1.EnterpriseRuntimeContextService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
28456
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisDynamicForm, isStandalone: true, selector: "praxis-dynamic-form", inputs: { resourcePath: "resourcePath", resourceId: "resourceId", initialValue: "initialValue", overlayInitialValueOnEdit: "overlayInitialValueOnEdit", emptyState: "emptyState", editorialContext: "editorialContext", mode: "mode", config: "config", actions: "actions", schemaSource: "schemaSource", actionId: "actionId", operationId: "operationId", schemaUrl: "schemaUrl", readUrl: "readUrl", submitUrl: "submitUrl", submitMethod: "submitMethod", submitIdempotencyKey: "submitIdempotencyKey", submitCorrelationId: "submitCorrelationId", submitResourceVersion: "submitResourceVersion", submitResourceVersionTargetResourceKey: "submitResourceVersionTargetResourceKey", submitResourceVersionTargetIdField: "submitResourceVersionTargetIdField", responseSchemaUrl: "responseSchemaUrl", apiEndpointKey: "apiEndpointKey", apiUrlEntry: "apiUrlEntry", enableCustomization: "enableCustomization", showAiAssistant: "showAiAssistant", formId: "formId", componentInstanceId: "componentInstanceId", configPersistenceStrategy: "configPersistenceStrategy", layout: "layout", layoutMode: "layoutMode", formLayout: "formLayout", generatedLayoutPreset: "generatedLayoutPreset", layoutPolicy: "layoutPolicy", backConfig: "backConfig", hooks: "hooks", removeEmptyContainersOnSave: "removeEmptyContainersOnSave", reactiveValidation: "reactiveValidation", reactiveValidationDebounceMs: "reactiveValidationDebounceMs", notifyIfOutdated: "notifyIfOutdated", snoozeMs: "snoozeMs", autoOpenSettingsOnOutdated: "autoOpenSettingsOnOutdated", readonlyModeGlobal: "readonlyModeGlobal", disabledModeGlobal: "disabledModeGlobal", presentationModeGlobal: "presentationModeGlobal", presentation: "presentation", presentationPreset: "presentationPreset", sectionDefaultAppearance: "sectionDefaultAppearance", sectionDivider: "sectionDivider", visibleGlobal: "visibleGlobal", fieldIconPolicy: "fieldIconPolicy", domainRules: "domainRules", customEndpoints: "customEndpoints", activeStepIndex: "activeStepIndex" }, outputs: { formSubmit: "formSubmit", formCancel: "formCancel", formReset: "formReset", configChange: "configChange", configPatchChange: "configPatchChange", formReady: "formReady", valueChange: "valueChange", payloadPreviewChange: "payloadPreviewChange", syncCompleted: "syncCompleted", initializationError: "initializationError", loadingStateChange: "loadingStateChange", enableCustomizationChange: "enableCustomizationChange", customAction: "customAction", actionConfirmation: "actionConfirmation", schemaStatusChange: "schemaStatusChange", fieldRenderError: "fieldRenderError", ruleDiagnosticsChange: "ruleDiagnosticsChange", reactiveDeterminationExecuted: "reactiveDeterminationExecuted", reactiveDeterminationPendingChange: "reactiveDeterminationPendingChange", tabChange: "tabChange", tabSelected: "tabSelected", stepChange: "stepChange", stepTelemetry: "stepTelemetry" }, providers: [
|
|
28556
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisDynamicForm, isStandalone: true, selector: "praxis-dynamic-form", inputs: { resourcePath: "resourcePath", resourceId: "resourceId", initialValue: "initialValue", overlayInitialValueOnEdit: "overlayInitialValueOnEdit", emptyState: "emptyState", editorialContext: "editorialContext", mode: "mode", config: "config", actions: "actions", schemaSource: "schemaSource", actionId: "actionId", operationId: "operationId", schemaUrl: "schemaUrl", schemaPointer: "schemaPointer", readUrl: "readUrl", submitUrl: "submitUrl", submitMethod: "submitMethod", submitIdempotencyKey: "submitIdempotencyKey", submitCorrelationId: "submitCorrelationId", submitResourceVersion: "submitResourceVersion", submitResourceVersionTargetResourceKey: "submitResourceVersionTargetResourceKey", submitResourceVersionTargetIdField: "submitResourceVersionTargetIdField", responseSchemaUrl: "responseSchemaUrl", apiEndpointKey: "apiEndpointKey", apiUrlEntry: "apiUrlEntry", enableCustomization: "enableCustomization", showAiAssistant: "showAiAssistant", formId: "formId", componentInstanceId: "componentInstanceId", configPersistenceStrategy: "configPersistenceStrategy", layout: "layout", layoutMode: "layoutMode", formLayout: "formLayout", generatedLayoutPreset: "generatedLayoutPreset", layoutPolicy: "layoutPolicy", backConfig: "backConfig", hooks: "hooks", removeEmptyContainersOnSave: "removeEmptyContainersOnSave", reactiveValidation: "reactiveValidation", reactiveValidationDebounceMs: "reactiveValidationDebounceMs", notifyIfOutdated: "notifyIfOutdated", snoozeMs: "snoozeMs", autoOpenSettingsOnOutdated: "autoOpenSettingsOnOutdated", readonlyModeGlobal: "readonlyModeGlobal", disabledModeGlobal: "disabledModeGlobal", presentationModeGlobal: "presentationModeGlobal", presentation: "presentation", presentationPreset: "presentationPreset", sectionDefaultAppearance: "sectionDefaultAppearance", sectionDivider: "sectionDivider", visibleGlobal: "visibleGlobal", fieldIconPolicy: "fieldIconPolicy", domainRules: "domainRules", customEndpoints: "customEndpoints", activeStepIndex: "activeStepIndex" }, outputs: { formSubmit: "formSubmit", formCancel: "formCancel", formReset: "formReset", configChange: "configChange", configPatchChange: "configPatchChange", formReady: "formReady", valueChange: "valueChange", payloadPreviewChange: "payloadPreviewChange", syncCompleted: "syncCompleted", initializationError: "initializationError", loadingStateChange: "loadingStateChange", enableCustomizationChange: "enableCustomizationChange", customAction: "customAction", actionConfirmation: "actionConfirmation", schemaStatusChange: "schemaStatusChange", fieldRenderError: "fieldRenderError", ruleDiagnosticsChange: "ruleDiagnosticsChange", reactiveDeterminationExecuted: "reactiveDeterminationExecuted", reactiveDeterminationPendingChange: "reactiveDeterminationPendingChange", tabChange: "tabChange", tabSelected: "tabSelected", stepChange: "stepChange", stepTelemetry: "stepTelemetry" }, providers: [
|
|
28457
28557
|
providePraxisI18nConfig(PRAXIS_DYNAMIC_FORM_I18N_CONFIG),
|
|
28458
28558
|
GenericCrudService,
|
|
28459
28559
|
FormContextService,
|
|
@@ -28540,6 +28640,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
28540
28640
|
type: Input
|
|
28541
28641
|
}], schemaUrl: [{
|
|
28542
28642
|
type: Input
|
|
28643
|
+
}], schemaPointer: [{
|
|
28644
|
+
type: Input
|
|
28543
28645
|
}], readUrl: [{
|
|
28544
28646
|
type: Input
|
|
28545
28647
|
}], submitUrl: [{
|
|
@@ -44040,7 +44142,7 @@ class LegacyCompactPresentationExampleComponent {
|
|
|
44040
44142
|
corporatePresentationConfig = buildCorporatePresentationFormatGalleryConfig(this.dynamicLayout);
|
|
44041
44143
|
corporatePresentationInitialValue = this.corporatePresentationExample.initialValue;
|
|
44042
44144
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LegacyCompactPresentationExampleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
44043
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: LegacyCompactPresentationExampleComponent, isStandalone: true, selector: "praxis-legacy-compact-presentation-example", ngImport: i0, template: "<mat-card class=\"legacy-presentation-card\" data-testid=\"compact-presentation-compact-fixture\">\n <div class=\"legacy-presentation-header\">\n <div>\n <p class=\"examples-eyebrow\">Exemplo visual da lib</p>\n <h2>{{ legacyFrequencyExample.title }}</h2>\n <p>\n Fixture visual representativo de <code>{{ legacyFrequencyExample.resourcePath }}</code>:\n cinco registros densos e detalhe gerado por <code>x-ui.group</code>, <code>order</code>\n e <code>width</code>, sem declarar <code>FormConfig.sections</code> no host.\n </p>\n </div>\n <div class=\"legacy-presentation-badge\">\n <mat-icon aria-hidden=\"true\">view_compact</mat-icon>\n <span>compactPresentation</span>\n </div>\n </div>\n\n <div class=\"legacy-workbench\">\n <section class=\"legacy-records-panel\" aria-labelledby=\"legacy-records-title\">\n <div class=\"legacy-panel-heading\">\n <div>\n <h3 id=\"legacy-records-title\">C\u00F3digos de frequ\u00EAncia</h3>\n <p>5 registros carregados</p>\n </div>\n <span class=\"legacy-count-chip\">fixture local</span>\n </div>\n\n <div class=\"legacy-table-wrap\">\n <table class=\"legacy-record-table\" aria-label=\"C\u00F3digos de frequ\u00EAncia\">\n <thead>\n <tr>\n <th scope=\"col\">Tipo</th>\n <th scope=\"col\">C\u00F3digo</th>\n <th scope=\"col\">Nome</th>\n <th scope=\"col\">Preench.</th>\n <th scope=\"col\">Marcador</th>\n </tr>\n </thead>\n <tbody>\n @for (row of legacyFrequencyRows; track row.codigo) {\n <tr [class.is-selected]=\"row.selected\">\n <td>{{ row.tipo }}</td>\n <td><strong>{{ row.codigo }}</strong></td>\n <td>{{ row.nome }}</td>\n <td>{{ row.preenchimento }}</td>\n <td>{{ row.marcador }}</td>\n </tr>\n }\n </tbody>\n </table>\n </div>\n </section>\n\n <section class=\"legacy-detail-panel\" aria-labelledby=\"legacy-detail-title\">\n <div class=\"legacy-detail-toolbar\">\n <div>\n <p class=\"legacy-detail-kicker\">Registro selecionado</p>\n <h3 id=\"legacy-detail-title\">AFA - Afastamento abonado</h3>\n </div>\n <div class=\"legacy-detail-actions\" aria-label=\"A\u00E7\u00F5es do registro\">\n <button type=\"button\" aria-label=\"Novo c\u00F3digo de frequ\u00EAncia\">\n <mat-icon aria-hidden=\"true\">add</mat-icon>\n </button>\n <button type=\"button\" aria-label=\"Editar c\u00F3digo de frequ\u00EAncia\">\n <mat-icon aria-hidden=\"true\">edit</mat-icon>\n </button>\n </div>\n </div>\n\n <div class=\"legacy-detail-tabs\" aria-label=\"Abas do detalhe\">\n <button type=\"button\" class=\"is-active\">\n <mat-icon aria-hidden=\"true\">fact_check</mat-icon>\n <span>Detalhes</span>\n </button>\n <button type=\"button\">\n <mat-icon aria-hidden=\"true\">gavel</mat-icon>\n <span>Documentos legais</span>\n </button>\n </div>\n\n <praxis-dynamic-form\n class=\"presentation-mode pres-label-left pres-density-compact legacy-frequency-form\"\n data-testid=\"compact-presentation-detail-form\"\n formId=\"legacy-frequency-compact-presentation-demo\"\n [config]=\"legacyFrequencyPresentationConfig\"\n [initialValue]=\"legacyFrequencyInitialValue\"\n mode=\"view\"\n [presentationModeGlobal]=\"true\"\n [enableCustomization]=\"false\"\n [showAiAssistant]=\"false\"\n ></praxis-dynamic-form>\n </section>\n </div>\n\n <section class=\"corporate-format-gallery\" data-testid=\"corporate-format-gallery\">\n <div class=\"corporate-gallery-heading\">\n <div>\n <p class=\"examples-eyebrow\">Valida\u00E7\u00E3o de apresenta\u00E7\u00E3o</p>\n <h2>{{ corporatePresentationExample.title }}</h2>\n <p>\n Fixture de <code>{{ corporatePresentationExample.resourcePath }}</code> para validar\n datas, moedas, percentuais, quantidades, documentos, listas e status em telas densas.\n </p>\n </div>\n <div class=\"corporate-kpi-strip\" aria-label=\"Resumo financeiro\">\n <span>\n <strong>R$ 1,38 mi</strong>\n <small>valor bruto</small>\n </span>\n <span>\n <strong>18,45%</strong>\n <small>margem</small>\n </span>\n <span>\n <strong>42</strong>\n <small>itens</small>\n </span>\n </div>\n </div>\n\n <praxis-dynamic-form\n class=\"presentation-mode pres-label-left pres-density-compact corporate-format-form\"\n data-testid=\"corporate-format-detail-form\"\n formId=\"corporate-format-gallery-demo\"\n [config]=\"corporatePresentationConfig\"\n [initialValue]=\"corporatePresentationInitialValue\"\n mode=\"view\"\n [presentationModeGlobal]=\"true\"\n [enableCustomization]=\"false\"\n [showAiAssistant]=\"false\"\n ></praxis-dynamic-form>\n </section>\n</mat-card>\n", styles: [":host{--pdx-compact-bg: var(--mat-sys-surface, var(--md-sys-color-surface, #ffffff));--pdx-compact-surface-strong: color-mix( in srgb, var(--mat-sys-surface-container-high, var(--md-sys-color-surface-container-high, #eef3f1)) 90%, var(--pdx-compact-bg) );--pdx-compact-border: color-mix( in srgb, var(--mat-sys-outline-variant, var(--md-sys-color-outline-variant, #c6d0cb)) 76%, transparent );--pdx-compact-text: var(--mat-sys-on-surface, var(--md-sys-color-on-surface, #17221d));--pdx-compact-text-muted: var( --mat-sys-on-surface-variant, var(--md-sys-color-on-surface-variant, #53625c) );--pdx-compact-primary: var(--mat-sys-primary, var(--md-sys-color-primary, #0f766e));--pdx-compact-primary-strong: color-mix(in srgb, var(--pdx-compact-primary) 82%, black);--pdx-compact-primary-soft: color-mix(in srgb, var(--pdx-compact-primary) 14%, transparent);--pdx-compact-chip-bg: color-mix( in srgb, var(--mat-sys-primary-container, var(--md-sys-color-primary-container, #dcefeb)) 74%, var(--pdx-compact-bg) );--pdx-compact-chip-text: var( --mat-sys-on-primary-container, var(--md-sys-color-on-primary-container, #123932) );--pdx-compact-shadow-soft: 0 18px 36px rgba(15, 23, 42, .06);display:block;min-width:0;color:var(--pdx-compact-text)}.legacy-presentation-card{padding:22px;border-radius:20px;border:1px solid var(--pdx-compact-border);background:linear-gradient(180deg,color-mix(in srgb,var(--pdx-compact-surface-strong) 86%,var(--pdx-compact-bg)) 0%,var(--pdx-compact-bg) 100%);box-shadow:var(--pdx-compact-shadow-soft)}.legacy-presentation-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.examples-eyebrow{margin:0;text-transform:uppercase;letter-spacing:.18em;font-size:.76rem;font-weight:800;color:color-mix(in srgb,var(--pdx-compact-primary) 84%,var(--pdx-compact-text))}.legacy-presentation-header h2{margin:6px 0 8px;font-size:clamp(1.18rem,1.6vw,1.48rem);line-height:1.14}.legacy-presentation-header p{margin:0;max-width:76ch;color:var(--pdx-compact-text-muted);line-height:1.55}.legacy-presentation-badge{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;padding:8px 12px;border-radius:999px;border:1px solid color-mix(in srgb,var(--pdx-compact-primary) 18%,transparent);background:var(--pdx-compact-chip-bg);color:var(--pdx-compact-chip-text);font-size:.82rem;font-weight:800}.legacy-workbench{display:grid;grid-template-columns:minmax(360px,.44fr) minmax(0,1fr);gap:14px;align-items:start}.legacy-records-panel,.legacy-detail-panel{min-width:0;border:1px solid var(--pdx-compact-border);border-radius:14px;background:color-mix(in srgb,var(--pdx-compact-bg) 88%,var(--pdx-compact-surface-strong))}.legacy-records-panel{overflow:hidden}.legacy-detail-panel{padding:12px}.legacy-panel-heading,.legacy-detail-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.legacy-panel-heading{padding:12px 14px 10px;border-bottom:1px solid var(--pdx-compact-border)}.legacy-panel-heading h3,.legacy-detail-toolbar h3{margin:0;font-size:.98rem;line-height:1.25}.legacy-panel-heading p,.legacy-detail-kicker{margin:3px 0 0;color:var(--pdx-compact-text-muted);font-size:.76rem;line-height:1.35}.legacy-count-chip{flex:0 0 auto;padding:5px 8px;border-radius:999px;background:var(--pdx-compact-primary-soft);color:var(--pdx-compact-primary-strong);font-size:.68rem;font-weight:800;text-transform:uppercase}.legacy-table-wrap{overflow-x:auto}.legacy-record-table{width:100%;min-width:500px;border-collapse:collapse;font-size:.78rem;line-height:1.25}.legacy-record-table th,.legacy-record-table td{padding:8px 10px;text-align:left;white-space:nowrap;border-bottom:1px solid color-mix(in srgb,var(--pdx-compact-border) 78%,transparent)}.legacy-record-table th{color:var(--pdx-compact-text-muted);font-size:.66rem;font-weight:800;text-transform:uppercase}.legacy-record-table td:nth-child(3){max-width:190px;overflow:hidden;text-overflow:ellipsis}.legacy-record-table tr:last-child td{border-bottom:0}.legacy-record-table tr.is-selected td{background:color-mix(in srgb,var(--pdx-compact-primary) 11%,transparent)}.legacy-detail-actions{display:inline-flex;gap:6px;flex:0 0 auto}.legacy-detail-actions button{display:inline-grid;place-items:center;width:32px;height:32px;border:1px solid var(--pdx-compact-border);border-radius:8px;background:var(--pdx-compact-bg);color:var(--pdx-compact-primary-strong);cursor:default}.legacy-detail-actions mat-icon{width:18px;height:18px;font-size:18px}.legacy-detail-tabs{display:flex;gap:6px;margin:12px 0;padding-bottom:8px;border-bottom:1px solid var(--pdx-compact-border);overflow-x:auto}.legacy-detail-tabs button{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:5px 9px;border:1px solid transparent;border-radius:999px;background:transparent;color:var(--pdx-compact-text-muted);font:inherit;font-size:.78rem;font-weight:700;white-space:nowrap}.legacy-detail-tabs button.is-active{border-color:color-mix(in srgb,var(--pdx-compact-primary) 18%,transparent);background:var(--pdx-compact-primary-soft);color:var(--pdx-compact-primary-strong)}.legacy-detail-tabs mat-icon{width:16px;height:16px;font-size:16px}.legacy-frequency-form{--pdx-presentation-label-width: 116px;--pdx-presentation-label-size: .7rem;--pdx-presentation-value-size: .9rem;--pdx-presentation-flag-height: 20px;--pdx-presentation-flag-padding: 0 7px;display:block}.corporate-format-gallery{margin-top:18px;padding-top:18px;border-top:1px solid var(--pdx-compact-border)}.corporate-gallery-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.34fr);gap:16px;align-items:start;margin-bottom:12px}.corporate-gallery-heading h2{margin:6px 0 8px;font-size:clamp(1.08rem,1.35vw,1.32rem);line-height:1.16}.corporate-gallery-heading p{margin:0;max-width:82ch;color:var(--pdx-compact-text-muted);line-height:1.55}.corporate-kpi-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.corporate-kpi-strip span{min-width:0;padding:10px;border:1px solid var(--pdx-compact-border);border-radius:12px;background:color-mix(in srgb,var(--pdx-compact-bg) 86%,var(--pdx-compact-primary-soft))}.corporate-kpi-strip strong,.corporate-kpi-strip small{display:block;min-width:0;overflow-wrap:anywhere}.corporate-kpi-strip strong{color:var(--pdx-compact-primary-strong);font-size:.96rem;line-height:1.2}.corporate-kpi-strip small{margin-top:3px;color:var(--pdx-compact-text-muted);font-size:.68rem;font-weight:700;text-transform:uppercase}.corporate-format-form{--pdx-presentation-label-width: 132px;--pdx-presentation-label-size: .7rem;--pdx-presentation-value-size: .9rem;display:block;padding:12px;border:1px solid var(--pdx-compact-border);border-radius:14px;background:color-mix(in srgb,var(--pdx-compact-bg) 90%,var(--pdx-compact-surface-strong))}@media(max-width:960px){.legacy-workbench,.corporate-gallery-heading{grid-template-columns:1fr}}@media(max-width:720px){.legacy-presentation-card{padding:18px;border-radius:20px}.legacy-presentation-header{display:grid}.legacy-presentation-badge{width:fit-content}.legacy-records-panel,.legacy-detail-panel{border-radius:12px}.legacy-panel-heading,.legacy-detail-toolbar{display:grid}.legacy-record-table{min-width:460px}.legacy-frequency-form{--pdx-presentation-label-width: 104px}.corporate-kpi-strip{grid-template-columns:1fr}.corporate-format-form{--pdx-presentation-label-width: 104px;padding:10px}}\n"], dependencies: [{ kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i7$1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: PraxisDynamicForm, selector: "praxis-dynamic-form", inputs: ["resourcePath", "resourceId", "initialValue", "overlayInitialValueOnEdit", "emptyState", "editorialContext", "mode", "config", "actions", "schemaSource", "actionId", "operationId", "schemaUrl", "readUrl", "submitUrl", "submitMethod", "submitIdempotencyKey", "submitCorrelationId", "submitResourceVersion", "submitResourceVersionTargetResourceKey", "submitResourceVersionTargetIdField", "responseSchemaUrl", "apiEndpointKey", "apiUrlEntry", "enableCustomization", "showAiAssistant", "formId", "componentInstanceId", "configPersistenceStrategy", "layout", "layoutMode", "formLayout", "generatedLayoutPreset", "layoutPolicy", "backConfig", "hooks", "removeEmptyContainersOnSave", "reactiveValidation", "reactiveValidationDebounceMs", "notifyIfOutdated", "snoozeMs", "autoOpenSettingsOnOutdated", "readonlyModeGlobal", "disabledModeGlobal", "presentationModeGlobal", "presentation", "presentationPreset", "sectionDefaultAppearance", "sectionDivider", "visibleGlobal", "fieldIconPolicy", "domainRules", "customEndpoints", "activeStepIndex"], outputs: ["formSubmit", "formCancel", "formReset", "configChange", "configPatchChange", "formReady", "valueChange", "payloadPreviewChange", "syncCompleted", "initializationError", "loadingStateChange", "enableCustomizationChange", "customAction", "actionConfirmation", "schemaStatusChange", "fieldRenderError", "ruleDiagnosticsChange", "reactiveDeterminationExecuted", "reactiveDeterminationPendingChange", "tabChange", "tabSelected", "stepChange", "stepTelemetry"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
44145
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: LegacyCompactPresentationExampleComponent, isStandalone: true, selector: "praxis-legacy-compact-presentation-example", ngImport: i0, template: "<mat-card class=\"legacy-presentation-card\" data-testid=\"compact-presentation-compact-fixture\">\n <div class=\"legacy-presentation-header\">\n <div>\n <p class=\"examples-eyebrow\">Exemplo visual da lib</p>\n <h2>{{ legacyFrequencyExample.title }}</h2>\n <p>\n Fixture visual representativo de <code>{{ legacyFrequencyExample.resourcePath }}</code>:\n cinco registros densos e detalhe gerado por <code>x-ui.group</code>, <code>order</code>\n e <code>width</code>, sem declarar <code>FormConfig.sections</code> no host.\n </p>\n </div>\n <div class=\"legacy-presentation-badge\">\n <mat-icon aria-hidden=\"true\">view_compact</mat-icon>\n <span>compactPresentation</span>\n </div>\n </div>\n\n <div class=\"legacy-workbench\">\n <section class=\"legacy-records-panel\" aria-labelledby=\"legacy-records-title\">\n <div class=\"legacy-panel-heading\">\n <div>\n <h3 id=\"legacy-records-title\">C\u00F3digos de frequ\u00EAncia</h3>\n <p>5 registros carregados</p>\n </div>\n <span class=\"legacy-count-chip\">fixture local</span>\n </div>\n\n <div class=\"legacy-table-wrap\">\n <table class=\"legacy-record-table\" aria-label=\"C\u00F3digos de frequ\u00EAncia\">\n <thead>\n <tr>\n <th scope=\"col\">Tipo</th>\n <th scope=\"col\">C\u00F3digo</th>\n <th scope=\"col\">Nome</th>\n <th scope=\"col\">Preench.</th>\n <th scope=\"col\">Marcador</th>\n </tr>\n </thead>\n <tbody>\n @for (row of legacyFrequencyRows; track row.codigo) {\n <tr [class.is-selected]=\"row.selected\">\n <td>{{ row.tipo }}</td>\n <td><strong>{{ row.codigo }}</strong></td>\n <td>{{ row.nome }}</td>\n <td>{{ row.preenchimento }}</td>\n <td>{{ row.marcador }}</td>\n </tr>\n }\n </tbody>\n </table>\n </div>\n </section>\n\n <section class=\"legacy-detail-panel\" aria-labelledby=\"legacy-detail-title\">\n <div class=\"legacy-detail-toolbar\">\n <div>\n <p class=\"legacy-detail-kicker\">Registro selecionado</p>\n <h3 id=\"legacy-detail-title\">AFA - Afastamento abonado</h3>\n </div>\n <div class=\"legacy-detail-actions\" aria-label=\"A\u00E7\u00F5es do registro\">\n <button type=\"button\" aria-label=\"Novo c\u00F3digo de frequ\u00EAncia\">\n <mat-icon aria-hidden=\"true\">add</mat-icon>\n </button>\n <button type=\"button\" aria-label=\"Editar c\u00F3digo de frequ\u00EAncia\">\n <mat-icon aria-hidden=\"true\">edit</mat-icon>\n </button>\n </div>\n </div>\n\n <div class=\"legacy-detail-tabs\" aria-label=\"Abas do detalhe\">\n <button type=\"button\" class=\"is-active\">\n <mat-icon aria-hidden=\"true\">fact_check</mat-icon>\n <span>Detalhes</span>\n </button>\n <button type=\"button\">\n <mat-icon aria-hidden=\"true\">gavel</mat-icon>\n <span>Documentos legais</span>\n </button>\n </div>\n\n <praxis-dynamic-form\n class=\"presentation-mode pres-label-left pres-density-compact legacy-frequency-form\"\n data-testid=\"compact-presentation-detail-form\"\n formId=\"legacy-frequency-compact-presentation-demo\"\n [config]=\"legacyFrequencyPresentationConfig\"\n [initialValue]=\"legacyFrequencyInitialValue\"\n mode=\"view\"\n [presentationModeGlobal]=\"true\"\n [enableCustomization]=\"false\"\n [showAiAssistant]=\"false\"\n ></praxis-dynamic-form>\n </section>\n </div>\n\n <section class=\"corporate-format-gallery\" data-testid=\"corporate-format-gallery\">\n <div class=\"corporate-gallery-heading\">\n <div>\n <p class=\"examples-eyebrow\">Valida\u00E7\u00E3o de apresenta\u00E7\u00E3o</p>\n <h2>{{ corporatePresentationExample.title }}</h2>\n <p>\n Fixture de <code>{{ corporatePresentationExample.resourcePath }}</code> para validar\n datas, moedas, percentuais, quantidades, documentos, listas e status em telas densas.\n </p>\n </div>\n <div class=\"corporate-kpi-strip\" aria-label=\"Resumo financeiro\">\n <span>\n <strong>R$ 1,38 mi</strong>\n <small>valor bruto</small>\n </span>\n <span>\n <strong>18,45%</strong>\n <small>margem</small>\n </span>\n <span>\n <strong>42</strong>\n <small>itens</small>\n </span>\n </div>\n </div>\n\n <praxis-dynamic-form\n class=\"presentation-mode pres-label-left pres-density-compact corporate-format-form\"\n data-testid=\"corporate-format-detail-form\"\n formId=\"corporate-format-gallery-demo\"\n [config]=\"corporatePresentationConfig\"\n [initialValue]=\"corporatePresentationInitialValue\"\n mode=\"view\"\n [presentationModeGlobal]=\"true\"\n [enableCustomization]=\"false\"\n [showAiAssistant]=\"false\"\n ></praxis-dynamic-form>\n </section>\n</mat-card>\n", styles: [":host{--pdx-compact-bg: var(--mat-sys-surface, var(--md-sys-color-surface, #ffffff));--pdx-compact-surface-strong: color-mix( in srgb, var(--mat-sys-surface-container-high, var(--md-sys-color-surface-container-high, #eef3f1)) 90%, var(--pdx-compact-bg) );--pdx-compact-border: color-mix( in srgb, var(--mat-sys-outline-variant, var(--md-sys-color-outline-variant, #c6d0cb)) 76%, transparent );--pdx-compact-text: var(--mat-sys-on-surface, var(--md-sys-color-on-surface, #17221d));--pdx-compact-text-muted: var( --mat-sys-on-surface-variant, var(--md-sys-color-on-surface-variant, #53625c) );--pdx-compact-primary: var(--mat-sys-primary, var(--md-sys-color-primary, #0f766e));--pdx-compact-primary-strong: color-mix(in srgb, var(--pdx-compact-primary) 82%, black);--pdx-compact-primary-soft: color-mix(in srgb, var(--pdx-compact-primary) 14%, transparent);--pdx-compact-chip-bg: color-mix( in srgb, var(--mat-sys-primary-container, var(--md-sys-color-primary-container, #dcefeb)) 74%, var(--pdx-compact-bg) );--pdx-compact-chip-text: var( --mat-sys-on-primary-container, var(--md-sys-color-on-primary-container, #123932) );--pdx-compact-shadow-soft: 0 18px 36px rgba(15, 23, 42, .06);display:block;min-width:0;color:var(--pdx-compact-text)}.legacy-presentation-card{padding:22px;border-radius:20px;border:1px solid var(--pdx-compact-border);background:linear-gradient(180deg,color-mix(in srgb,var(--pdx-compact-surface-strong) 86%,var(--pdx-compact-bg)) 0%,var(--pdx-compact-bg) 100%);box-shadow:var(--pdx-compact-shadow-soft)}.legacy-presentation-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.examples-eyebrow{margin:0;text-transform:uppercase;letter-spacing:.18em;font-size:.76rem;font-weight:800;color:color-mix(in srgb,var(--pdx-compact-primary) 84%,var(--pdx-compact-text))}.legacy-presentation-header h2{margin:6px 0 8px;font-size:clamp(1.18rem,1.6vw,1.48rem);line-height:1.14}.legacy-presentation-header p{margin:0;max-width:76ch;color:var(--pdx-compact-text-muted);line-height:1.55}.legacy-presentation-badge{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;padding:8px 12px;border-radius:999px;border:1px solid color-mix(in srgb,var(--pdx-compact-primary) 18%,transparent);background:var(--pdx-compact-chip-bg);color:var(--pdx-compact-chip-text);font-size:.82rem;font-weight:800}.legacy-workbench{display:grid;grid-template-columns:minmax(360px,.44fr) minmax(0,1fr);gap:14px;align-items:start}.legacy-records-panel,.legacy-detail-panel{min-width:0;border:1px solid var(--pdx-compact-border);border-radius:14px;background:color-mix(in srgb,var(--pdx-compact-bg) 88%,var(--pdx-compact-surface-strong))}.legacy-records-panel{overflow:hidden}.legacy-detail-panel{padding:12px}.legacy-panel-heading,.legacy-detail-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.legacy-panel-heading{padding:12px 14px 10px;border-bottom:1px solid var(--pdx-compact-border)}.legacy-panel-heading h3,.legacy-detail-toolbar h3{margin:0;font-size:.98rem;line-height:1.25}.legacy-panel-heading p,.legacy-detail-kicker{margin:3px 0 0;color:var(--pdx-compact-text-muted);font-size:.76rem;line-height:1.35}.legacy-count-chip{flex:0 0 auto;padding:5px 8px;border-radius:999px;background:var(--pdx-compact-primary-soft);color:var(--pdx-compact-primary-strong);font-size:.68rem;font-weight:800;text-transform:uppercase}.legacy-table-wrap{overflow-x:auto}.legacy-record-table{width:100%;min-width:500px;border-collapse:collapse;font-size:.78rem;line-height:1.25}.legacy-record-table th,.legacy-record-table td{padding:8px 10px;text-align:left;white-space:nowrap;border-bottom:1px solid color-mix(in srgb,var(--pdx-compact-border) 78%,transparent)}.legacy-record-table th{color:var(--pdx-compact-text-muted);font-size:.66rem;font-weight:800;text-transform:uppercase}.legacy-record-table td:nth-child(3){max-width:190px;overflow:hidden;text-overflow:ellipsis}.legacy-record-table tr:last-child td{border-bottom:0}.legacy-record-table tr.is-selected td{background:color-mix(in srgb,var(--pdx-compact-primary) 11%,transparent)}.legacy-detail-actions{display:inline-flex;gap:6px;flex:0 0 auto}.legacy-detail-actions button{display:inline-grid;place-items:center;width:32px;height:32px;border:1px solid var(--pdx-compact-border);border-radius:8px;background:var(--pdx-compact-bg);color:var(--pdx-compact-primary-strong);cursor:default}.legacy-detail-actions mat-icon{width:18px;height:18px;font-size:18px}.legacy-detail-tabs{display:flex;gap:6px;margin:12px 0;padding-bottom:8px;border-bottom:1px solid var(--pdx-compact-border);overflow-x:auto}.legacy-detail-tabs button{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:5px 9px;border:1px solid transparent;border-radius:999px;background:transparent;color:var(--pdx-compact-text-muted);font:inherit;font-size:.78rem;font-weight:700;white-space:nowrap}.legacy-detail-tabs button.is-active{border-color:color-mix(in srgb,var(--pdx-compact-primary) 18%,transparent);background:var(--pdx-compact-primary-soft);color:var(--pdx-compact-primary-strong)}.legacy-detail-tabs mat-icon{width:16px;height:16px;font-size:16px}.legacy-frequency-form{--pdx-presentation-label-width: 116px;--pdx-presentation-label-size: .7rem;--pdx-presentation-value-size: .9rem;--pdx-presentation-flag-height: 20px;--pdx-presentation-flag-padding: 0 7px;display:block}.corporate-format-gallery{margin-top:18px;padding-top:18px;border-top:1px solid var(--pdx-compact-border)}.corporate-gallery-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.34fr);gap:16px;align-items:start;margin-bottom:12px}.corporate-gallery-heading h2{margin:6px 0 8px;font-size:clamp(1.08rem,1.35vw,1.32rem);line-height:1.16}.corporate-gallery-heading p{margin:0;max-width:82ch;color:var(--pdx-compact-text-muted);line-height:1.55}.corporate-kpi-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.corporate-kpi-strip span{min-width:0;padding:10px;border:1px solid var(--pdx-compact-border);border-radius:12px;background:color-mix(in srgb,var(--pdx-compact-bg) 86%,var(--pdx-compact-primary-soft))}.corporate-kpi-strip strong,.corporate-kpi-strip small{display:block;min-width:0;overflow-wrap:anywhere}.corporate-kpi-strip strong{color:var(--pdx-compact-primary-strong);font-size:.96rem;line-height:1.2}.corporate-kpi-strip small{margin-top:3px;color:var(--pdx-compact-text-muted);font-size:.68rem;font-weight:700;text-transform:uppercase}.corporate-format-form{--pdx-presentation-label-width: 132px;--pdx-presentation-label-size: .7rem;--pdx-presentation-value-size: .9rem;display:block;padding:12px;border:1px solid var(--pdx-compact-border);border-radius:14px;background:color-mix(in srgb,var(--pdx-compact-bg) 90%,var(--pdx-compact-surface-strong))}@media(max-width:960px){.legacy-workbench,.corporate-gallery-heading{grid-template-columns:1fr}}@media(max-width:720px){.legacy-presentation-card{padding:18px;border-radius:20px}.legacy-presentation-header{display:grid}.legacy-presentation-badge{width:fit-content}.legacy-records-panel,.legacy-detail-panel{border-radius:12px}.legacy-panel-heading,.legacy-detail-toolbar{display:grid}.legacy-record-table{min-width:460px}.legacy-frequency-form{--pdx-presentation-label-width: 104px}.corporate-kpi-strip{grid-template-columns:1fr}.corporate-format-form{--pdx-presentation-label-width: 104px;padding:10px}}\n"], dependencies: [{ kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i7$1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: PraxisDynamicForm, selector: "praxis-dynamic-form", inputs: ["resourcePath", "resourceId", "initialValue", "overlayInitialValueOnEdit", "emptyState", "editorialContext", "mode", "config", "actions", "schemaSource", "actionId", "operationId", "schemaUrl", "schemaPointer", "readUrl", "submitUrl", "submitMethod", "submitIdempotencyKey", "submitCorrelationId", "submitResourceVersion", "submitResourceVersionTargetResourceKey", "submitResourceVersionTargetIdField", "responseSchemaUrl", "apiEndpointKey", "apiUrlEntry", "enableCustomization", "showAiAssistant", "formId", "componentInstanceId", "configPersistenceStrategy", "layout", "layoutMode", "formLayout", "generatedLayoutPreset", "layoutPolicy", "backConfig", "hooks", "removeEmptyContainersOnSave", "reactiveValidation", "reactiveValidationDebounceMs", "notifyIfOutdated", "snoozeMs", "autoOpenSettingsOnOutdated", "readonlyModeGlobal", "disabledModeGlobal", "presentationModeGlobal", "presentation", "presentationPreset", "sectionDefaultAppearance", "sectionDivider", "visibleGlobal", "fieldIconPolicy", "domainRules", "customEndpoints", "activeStepIndex"], outputs: ["formSubmit", "formCancel", "formReset", "configChange", "configPatchChange", "formReady", "valueChange", "payloadPreviewChange", "syncCompleted", "initializationError", "loadingStateChange", "enableCustomizationChange", "customAction", "actionConfirmation", "schemaStatusChange", "fieldRenderError", "ruleDiagnosticsChange", "reactiveDeterminationExecuted", "reactiveDeterminationPendingChange", "tabChange", "tabSelected", "stepChange", "stepTelemetry"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
44044
44146
|
}
|
|
44045
44147
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LegacyCompactPresentationExampleComponent, decorators: [{
|
|
44046
44148
|
type: Component,
|
|
@@ -48405,6 +48507,12 @@ function materializeDynamicFormPageRuntimeInputs(value, pageId, widgetKey, optio
|
|
|
48405
48507
|
return { inputs: null, diagnostics: [problem('dynamicForm.page.identity.invalid', '/key')] };
|
|
48406
48508
|
}
|
|
48407
48509
|
const cloned = cloneBoundedUiLayoutJsonDocument(value);
|
|
48510
|
+
const configResourcePath = record(cloned['config']) && typeof cloned['config']['resourcePath'] === 'string'
|
|
48511
|
+
? cloned['config']['resourcePath'].trim()
|
|
48512
|
+
: '';
|
|
48513
|
+
const liftedResourcePath = configResourcePath.length > 0 && [...configResourcePath].length <= 1024
|
|
48514
|
+
? { resourcePath: configResourcePath }
|
|
48515
|
+
: {};
|
|
48408
48516
|
if (options?.preview && record(cloned['config'])) {
|
|
48409
48517
|
const previewConfig = { ...cloned['config'] };
|
|
48410
48518
|
const existingActions = record(previewConfig['actions']) ? previewConfig['actions'] : {};
|
|
@@ -48425,6 +48533,7 @@ function materializeDynamicFormPageRuntimeInputs(value, pageId, widgetKey, optio
|
|
|
48425
48533
|
return {
|
|
48426
48534
|
inputs: {
|
|
48427
48535
|
...cloned,
|
|
48536
|
+
...liftedResourcePath,
|
|
48428
48537
|
formId: id,
|
|
48429
48538
|
componentInstanceId: id,
|
|
48430
48539
|
configPersistenceStrategy: 'volatile',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/dynamic-form",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.66",
|
|
4
4
|
"description": "Angular dynamic form engine for Praxis UI: metadata-driven forms, hooks, and services integrating @praxisui/* packages.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
"@angular/forms": "^21.0.0",
|
|
10
10
|
"@angular/material": "^21.0.0",
|
|
11
11
|
"@angular/router": "^21.0.0",
|
|
12
|
-
"@praxisui/ai": "^10.0.0-rc.
|
|
13
|
-
"@praxisui/dynamic-fields": "^10.0.0-rc.
|
|
14
|
-
"@praxisui/metadata-editor": "^10.0.0-rc.
|
|
15
|
-
"@praxisui/rich-content": "^10.0.0-rc.
|
|
16
|
-
"@praxisui/settings-panel": "^10.0.0-rc.
|
|
17
|
-
"@praxisui/visual-builder": "^10.0.0-rc.
|
|
18
|
-
"@praxisui/core": "^10.0.0-rc.
|
|
12
|
+
"@praxisui/ai": "^10.0.0-rc.66",
|
|
13
|
+
"@praxisui/dynamic-fields": "^10.0.0-rc.66",
|
|
14
|
+
"@praxisui/metadata-editor": "^10.0.0-rc.66",
|
|
15
|
+
"@praxisui/rich-content": "^10.0.0-rc.66",
|
|
16
|
+
"@praxisui/settings-panel": "^10.0.0-rc.66",
|
|
17
|
+
"@praxisui/visual-builder": "^10.0.0-rc.66",
|
|
18
|
+
"@praxisui/core": "^10.0.0-rc.66",
|
|
19
19
|
"rxjs": "^7.8.0"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
@@ -935,6 +935,8 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy, PraxisR
|
|
|
935
935
|
operationId?: string | null;
|
|
936
936
|
/** Canonical schema URL published by the backend surface catalog. */
|
|
937
937
|
schemaUrl?: string | null;
|
|
938
|
+
/** Optional RFC 6901 JSON Pointer selecting a sub-schema inside the fetched schema document. */
|
|
939
|
+
schemaPointer?: string | null;
|
|
938
940
|
/** Canonical read URL published by backend view/read-projection surfaces. */
|
|
939
941
|
readUrl?: string | null;
|
|
940
942
|
/** Canonical submit URL published by the backend surface catalog. */
|
|
@@ -1206,6 +1208,7 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy, PraxisR
|
|
|
1206
1208
|
private schemaRootFormLayout?;
|
|
1207
1209
|
private schemaRootReactiveDeterminations;
|
|
1208
1210
|
private schemaRootOperationId;
|
|
1211
|
+
private loadedRootSchema;
|
|
1209
1212
|
private destroy$;
|
|
1210
1213
|
private readonly entityReadCancel$;
|
|
1211
1214
|
private isDestroyed;
|
|
@@ -1423,6 +1426,8 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy, PraxisR
|
|
|
1423
1426
|
private hasInteractiveFormState;
|
|
1424
1427
|
private captureFormRuntimeState;
|
|
1425
1428
|
private getDirtyFieldNames;
|
|
1429
|
+
getPreparedSubmitPayload(): Record<string, unknown> | null;
|
|
1430
|
+
getLoadedRootSchema(): Record<string, unknown> | null;
|
|
1426
1431
|
private prepareCurrentSubmitPayload;
|
|
1427
1432
|
private emitPayloadPreview;
|
|
1428
1433
|
private resetToHydratedSnapshot;
|
|
@@ -1893,6 +1898,9 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy, PraxisR
|
|
|
1893
1898
|
* novo carregamento na próxima requisição.
|
|
1894
1899
|
*/
|
|
1895
1900
|
invalidateSchemaCache(): void;
|
|
1901
|
+
private getNormalizedSchemaPointer;
|
|
1902
|
+
private buildCompiledSchemaCacheKey;
|
|
1903
|
+
private resolveSchemaPointer;
|
|
1896
1904
|
private isReactiveValidationEnabled;
|
|
1897
1905
|
private getReactiveValidationDebounceMs;
|
|
1898
1906
|
private waitForGlobalConfigReadyForSchema;
|
|
@@ -1919,7 +1927,7 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy, PraxisR
|
|
|
1919
1927
|
private isConfiguredReactiveDeterminationOutputField;
|
|
1920
1928
|
private collectRuntimeValueFieldClassification;
|
|
1921
1929
|
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, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
1922
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisDynamicForm, "praxis-dynamic-form", never, { "resourcePath": { "alias": "resourcePath"; "required": false; }; "resourceId": { "alias": "resourceId"; "required": false; }; "initialValue": { "alias": "initialValue"; "required": false; }; "overlayInitialValueOnEdit": { "alias": "overlayInitialValueOnEdit"; "required": false; }; "emptyState": { "alias": "emptyState"; "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; }; "actionId": { "alias": "actionId"; "required": false; }; "operationId": { "alias": "operationId"; "required": false; }; "schemaUrl": { "alias": "schemaUrl"; "required": false; }; "readUrl": { "alias": "readUrl"; "required": false; }; "submitUrl": { "alias": "submitUrl"; "required": false; }; "submitMethod": { "alias": "submitMethod"; "required": false; }; "submitIdempotencyKey": { "alias": "submitIdempotencyKey"; "required": false; }; "submitCorrelationId": { "alias": "submitCorrelationId"; "required": false; }; "submitResourceVersion": { "alias": "submitResourceVersion"; "required": false; }; "submitResourceVersionTargetResourceKey": { "alias": "submitResourceVersionTargetResourceKey"; "required": false; }; "submitResourceVersionTargetIdField": { "alias": "submitResourceVersionTargetIdField"; "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; }; "layoutMode": { "alias": "layoutMode"; "required": false; }; "formLayout": { "alias": "formLayout"; "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; }; "presentation": { "alias": "presentation"; "required": false; }; "presentationPreset": { "alias": "presentationPreset"; "required": false; }; "sectionDefaultAppearance": { "alias": "sectionDefaultAppearance"; "required": false; }; "sectionDivider": { "alias": "sectionDivider"; "required": false; }; "visibleGlobal": { "alias": "visibleGlobal"; "required": false; }; "fieldIconPolicy": { "alias": "fieldIconPolicy"; "required": false; }; "domainRules": { "alias": "domainRules"; "required": false; }; "customEndpoints": { "alias": "customEndpoints"; "required": false; }; "activeStepIndex": { "alias": "activeStepIndex"; "required": false; }; }, { "formSubmit": "formSubmit"; "formCancel": "formCancel"; "formReset": "formReset"; "configChange": "configChange"; "configPatchChange": "configPatchChange"; "formReady": "formReady"; "valueChange": "valueChange"; "payloadPreviewChange": "payloadPreviewChange"; "syncCompleted": "syncCompleted"; "initializationError": "initializationError"; "loadingStateChange": "loadingStateChange"; "enableCustomizationChange": "enableCustomizationChange"; "customAction": "customAction"; "actionConfirmation": "actionConfirmation"; "schemaStatusChange": "schemaStatusChange"; "fieldRenderError": "fieldRenderError"; "ruleDiagnosticsChange": "ruleDiagnosticsChange"; "reactiveDeterminationExecuted": "reactiveDeterminationExecuted"; "reactiveDeterminationPendingChange": "reactiveDeterminationPendingChange"; "tabChange": "tabChange"; "tabSelected": "tabSelected"; "stepChange": "stepChange"; "stepTelemetry": "stepTelemetry"; }, never, never, true, never>;
|
|
1930
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisDynamicForm, "praxis-dynamic-form", never, { "resourcePath": { "alias": "resourcePath"; "required": false; }; "resourceId": { "alias": "resourceId"; "required": false; }; "initialValue": { "alias": "initialValue"; "required": false; }; "overlayInitialValueOnEdit": { "alias": "overlayInitialValueOnEdit"; "required": false; }; "emptyState": { "alias": "emptyState"; "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; }; "actionId": { "alias": "actionId"; "required": false; }; "operationId": { "alias": "operationId"; "required": false; }; "schemaUrl": { "alias": "schemaUrl"; "required": false; }; "schemaPointer": { "alias": "schemaPointer"; "required": false; }; "readUrl": { "alias": "readUrl"; "required": false; }; "submitUrl": { "alias": "submitUrl"; "required": false; }; "submitMethod": { "alias": "submitMethod"; "required": false; }; "submitIdempotencyKey": { "alias": "submitIdempotencyKey"; "required": false; }; "submitCorrelationId": { "alias": "submitCorrelationId"; "required": false; }; "submitResourceVersion": { "alias": "submitResourceVersion"; "required": false; }; "submitResourceVersionTargetResourceKey": { "alias": "submitResourceVersionTargetResourceKey"; "required": false; }; "submitResourceVersionTargetIdField": { "alias": "submitResourceVersionTargetIdField"; "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; }; "layoutMode": { "alias": "layoutMode"; "required": false; }; "formLayout": { "alias": "formLayout"; "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; }; "presentation": { "alias": "presentation"; "required": false; }; "presentationPreset": { "alias": "presentationPreset"; "required": false; }; "sectionDefaultAppearance": { "alias": "sectionDefaultAppearance"; "required": false; }; "sectionDivider": { "alias": "sectionDivider"; "required": false; }; "visibleGlobal": { "alias": "visibleGlobal"; "required": false; }; "fieldIconPolicy": { "alias": "fieldIconPolicy"; "required": false; }; "domainRules": { "alias": "domainRules"; "required": false; }; "customEndpoints": { "alias": "customEndpoints"; "required": false; }; "activeStepIndex": { "alias": "activeStepIndex"; "required": false; }; }, { "formSubmit": "formSubmit"; "formCancel": "formCancel"; "formReset": "formReset"; "configChange": "configChange"; "configPatchChange": "configPatchChange"; "formReady": "formReady"; "valueChange": "valueChange"; "payloadPreviewChange": "payloadPreviewChange"; "syncCompleted": "syncCompleted"; "initializationError": "initializationError"; "loadingStateChange": "loadingStateChange"; "enableCustomizationChange": "enableCustomizationChange"; "customAction": "customAction"; "actionConfirmation": "actionConfirmation"; "schemaStatusChange": "schemaStatusChange"; "fieldRenderError": "fieldRenderError"; "ruleDiagnosticsChange": "ruleDiagnosticsChange"; "reactiveDeterminationExecuted": "reactiveDeterminationExecuted"; "reactiveDeterminationPendingChange": "reactiveDeterminationPendingChange"; "tabChange": "tabChange"; "tabSelected": "tabSelected"; "stepChange": "stepChange"; "stepTelemetry": "stepTelemetry"; }, never, never, true, never>;
|
|
1923
1931
|
}
|
|
1924
1932
|
|
|
1925
1933
|
declare class FormConfigService {
|