@praxisui/dynamic-form 1.0.0-beta.62 → 1.0.0-beta.64
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/index.d.ts
CHANGED
|
@@ -275,6 +275,8 @@ declare class PraxisFormActionsComponent implements OnChanges, OnDestroy {
|
|
|
275
275
|
private shortcuts;
|
|
276
276
|
/** Configuration object describing form action buttons */
|
|
277
277
|
actions?: FormConfig['actions'];
|
|
278
|
+
/** Whether the actions are rendered inside an editorial visual context */
|
|
279
|
+
editorialVisualContext: boolean;
|
|
278
280
|
/** Whether the host form is currently submitting */
|
|
279
281
|
isSubmitting: boolean;
|
|
280
282
|
/** Whether the host form is currently valid */
|
|
@@ -301,6 +303,9 @@ declare class PraxisFormActionsComponent implements OnChanges, OnDestroy {
|
|
|
301
303
|
getActionButtons(): FormActionButton[];
|
|
302
304
|
getVisibleButtons(): FormActionButton[];
|
|
303
305
|
getCollapsedButtons(): FormActionButton[];
|
|
306
|
+
isSplitLayout(): boolean;
|
|
307
|
+
getPrimaryButtons(): FormActionButton[];
|
|
308
|
+
getSecondaryButtons(): FormActionButton[];
|
|
304
309
|
onActionButtonClick(button: FormActionButton, event: Event): void;
|
|
305
310
|
getButtonNgClass(button: FormActionButton): {
|
|
306
311
|
[key: string]: boolean;
|
|
@@ -309,8 +314,9 @@ declare class PraxisFormActionsComponent implements OnChanges, OnDestroy {
|
|
|
309
314
|
isActionButtonDisabled(button: FormActionButton): boolean;
|
|
310
315
|
private applyOverrides;
|
|
311
316
|
private registerActionShortcuts;
|
|
317
|
+
private isSecondaryButton;
|
|
312
318
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisFormActionsComponent, never>;
|
|
313
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisFormActionsComponent, "praxis-form-actions", never, { "actions": { "alias": "actions"; "required": false; }; "isSubmitting": { "alias": "isSubmitting"; "required": false; }; "formIsValid": { "alias": "formIsValid"; "required": false; }; "submitError": { "alias": "submitError"; "required": false; }; "formId": { "alias": "formId"; "required": false; }; "actionOverrides": { "alias": "actionOverrides"; "required": false; }; }, { "action": "action"; }, never, never, true, never>;
|
|
319
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisFormActionsComponent, "praxis-form-actions", never, { "actions": { "alias": "actions"; "required": false; }; "editorialVisualContext": { "alias": "editorialVisualContext"; "required": false; }; "isSubmitting": { "alias": "isSubmitting"; "required": false; }; "formIsValid": { "alias": "formIsValid"; "required": false; }; "submitError": { "alias": "submitError"; "required": false; }; "formId": { "alias": "formId"; "required": false; }; "actionOverrides": { "alias": "actionOverrides"; "required": false; }; }, { "action": "action"; }, never, never, true, never>;
|
|
314
320
|
}
|
|
315
321
|
|
|
316
322
|
/**
|
|
@@ -724,6 +730,9 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy {
|
|
|
724
730
|
getSectionIcon(section: FormSection): string | undefined;
|
|
725
731
|
getSectionClasses(section: FormSection): string[];
|
|
726
732
|
getSectionStyles(section: FormSection): Record<string, any> | null;
|
|
733
|
+
private sanitizeSectionStylesForEditorialContext;
|
|
734
|
+
private isEditorialVisualContext;
|
|
735
|
+
hasEditorialVisualContext(): boolean;
|
|
727
736
|
private applyBorderPropsToStyle;
|
|
728
737
|
toggleSectionCollapse(event: Event, section: FormSection): void;
|
|
729
738
|
sectionPanelId(section: FormSection, index: number): string;
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/dynamic-form",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.64",
|
|
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": "^20.0.0",
|
|
7
7
|
"@angular/core": "^20.0.0",
|
|
8
8
|
"@angular/cdk": "^20.0.0",
|
|
9
|
-
"@praxisui/settings-panel": "^1.0.0-beta.
|
|
10
|
-
"@praxisui/visual-builder": "^1.0.0-beta.
|
|
11
|
-
"@praxisui/specification-core": "^1.0.0-beta.
|
|
12
|
-
"@praxisui/specification": "^1.0.0-beta.
|
|
13
|
-
"@praxisui/core": "^1.0.0-beta.
|
|
14
|
-
"@praxisui/cron-builder": "^1.0.0-beta.
|
|
9
|
+
"@praxisui/settings-panel": "^1.0.0-beta.64",
|
|
10
|
+
"@praxisui/visual-builder": "^1.0.0-beta.64",
|
|
11
|
+
"@praxisui/specification-core": "^1.0.0-beta.64",
|
|
12
|
+
"@praxisui/specification": "^1.0.0-beta.64",
|
|
13
|
+
"@praxisui/core": "^1.0.0-beta.64",
|
|
14
|
+
"@praxisui/cron-builder": "^1.0.0-beta.64"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"tslib": "^2.3.0",
|