@fuentis/phoenix-ui 0.0.9-alpha.556 → 0.0.9-alpha.557
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/fesm2022/fuentis-phoenix-ui.mjs +99 -54
- package/fesm2022/fuentis-phoenix-ui.mjs.map +1 -1
- package/index.d.ts +36 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1460,6 +1460,41 @@ declare class MetaFormGroupV2Component {
|
|
|
1460
1460
|
static ɵcmp: i0.ɵɵComponentDeclaration<MetaFormGroupV2Component, "phoenix-meta-form-group-v2", never, { "group": { "alias": "group"; "required": true; }; "form": { "alias": "form"; "required": true; }; "readOnly": { "alias": "readOnly"; "required": false; }; }, {}, never, never, true, never>;
|
|
1461
1461
|
}
|
|
1462
1462
|
|
|
1463
|
+
declare class MetaFormButtonsV2Component {
|
|
1464
|
+
/**
|
|
1465
|
+
* Disabled state for Save button (usually: form invalid or readOnly or loading)
|
|
1466
|
+
*/
|
|
1467
|
+
isDisabled: i0.InputSignal<boolean>;
|
|
1468
|
+
/**
|
|
1469
|
+
* Optional feature: "Create another" checkbox.
|
|
1470
|
+
* If false => checkbox is not rendered.
|
|
1471
|
+
*/
|
|
1472
|
+
isCreateAnother: i0.InputSignal<boolean>;
|
|
1473
|
+
/**
|
|
1474
|
+
* Loading indicator for Save button.
|
|
1475
|
+
*/
|
|
1476
|
+
isLoading: i0.InputSignal<boolean>;
|
|
1477
|
+
/**
|
|
1478
|
+
* Emits when user clicks Save.
|
|
1479
|
+
* Payload matches existing contract: { isAnother: boolean }
|
|
1480
|
+
*/
|
|
1481
|
+
handleSave: EventEmitter<{
|
|
1482
|
+
isAnother: boolean;
|
|
1483
|
+
}>;
|
|
1484
|
+
/**
|
|
1485
|
+
* Emits when user clicks Cancel.
|
|
1486
|
+
*/
|
|
1487
|
+
handleCancel: EventEmitter<"CANCEL">;
|
|
1488
|
+
/**
|
|
1489
|
+
* Local checkbox model (kept only in this component).
|
|
1490
|
+
*/
|
|
1491
|
+
createAnother: boolean;
|
|
1492
|
+
onSaveClick(): void;
|
|
1493
|
+
onCancelClick(): void;
|
|
1494
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaFormButtonsV2Component, never>;
|
|
1495
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaFormButtonsV2Component, "phoenix-meta-form-buttons-v2", never, { "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "isCreateAnother": { "alias": "isCreateAnother"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; }, { "handleSave": "handleSave"; "handleCancel": "handleCancel"; }, never, never, true, never>;
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1463
1498
|
type MetaAsyncExecutor = (url: string, body?: any) => Observable<any>;
|
|
1464
1499
|
/**
|
|
1465
1500
|
* You provide this from app (or phoenix-config) so V2 lib doesn't depend on CrudService directly.
|
|
@@ -1528,5 +1563,5 @@ declare class MetaSubmitValidatorService {
|
|
|
1528
1563
|
static ɵprov: i0.ɵɵInjectableDeclaration<MetaSubmitValidatorService>;
|
|
1529
1564
|
}
|
|
1530
1565
|
|
|
1531
|
-
export { ActionTypes, ActionsComponent, CardComponent, ContexObjectComponent, ControlType, GroupsFormComponent, InnerHeaderComponent, META_FORM_ASYNC_EXECUTOR, MetaFormButtonsComponent, MetaFormComponent, MetaFormFieldV2Component, MetaFormGroupV2Component, MetaFormService, MetaFormV2Component, MetaSubmitValidatorService, ObjectItemDialogComponent, PhoenixDataTableComponent, QuickPickComponent, QuickPickSidePanelComponent, SearchBarComponent, ShellComponent, SidebarComponent, SidebarItemComponent, SimpleButtonType, StatusBarComponent, StatusColType, StatusHeaderComponent, StatusTooltipType, TableComponent, TopbarComponent, UserComponent, tableActionType, tableButtonContext, tableButtonFormat, tableColumnType, tableFilterType, tableSelectionType };
|
|
1566
|
+
export { ActionTypes, ActionsComponent, CardComponent, ContexObjectComponent, ControlType, GroupsFormComponent, InnerHeaderComponent, META_FORM_ASYNC_EXECUTOR, MetaFormButtonsComponent, MetaFormButtonsV2Component, MetaFormComponent, MetaFormFieldV2Component, MetaFormGroupV2Component, MetaFormService, MetaFormV2Component, MetaSubmitValidatorService, ObjectItemDialogComponent, PhoenixDataTableComponent, QuickPickComponent, QuickPickSidePanelComponent, SearchBarComponent, ShellComponent, SidebarComponent, SidebarItemComponent, SimpleButtonType, StatusBarComponent, StatusColType, StatusHeaderComponent, StatusTooltipType, TableComponent, TopbarComponent, UserComponent, tableActionType, tableButtonContext, tableButtonFormat, tableColumnType, tableFilterType, tableSelectionType };
|
|
1532
1567
|
export type { Action, ActionButton, Actions, AllActionValues, AssignExtra, ConfirmationMode, ContextObjectConfig, ContextObjectTag, MetaAsyncExecutor, MetaFieldConfig, MetaFieldType, MetaFormControls, MetaFormGroupConfig, MetaFormV2Config, MetaOption, MetaSubmitValidatorConfig, MetaValidators, RegisteredActionEnums, Severity, ShellConfig, ShellTheme, SidebarItem, StatusAttribute, StatusBarConfig, StatusTooltipItem, TabAction, TableAction, TableColumn, TableConfiguration, TopbarFooterConfig, TopbarItem, TopbarModuleGroup, TopbarModuleItem, TypingConfirmationConfig, UniqueValidationResponse, UrlConfig, User, cardConfig };
|