@fuentis/phoenix-ui 0.0.9-alpha.652 → 0.0.9-alpha.653
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
|
@@ -616,6 +616,16 @@ interface TableConfiguration {
|
|
|
616
616
|
moreActions?: TableAction;
|
|
617
617
|
/** Tabs in table (if exists). */
|
|
618
618
|
tabs?: TabAction[];
|
|
619
|
+
/**
|
|
620
|
+
* Optional "type switcher" band, rendered as a separate header row ABOVE the
|
|
621
|
+
* caption (opt-in — present only when set). A rounded pill group that flips
|
|
622
|
+
* the table between sibling record types (e.g. Business Processes / Resources)
|
|
623
|
+
* without crowding the caption's own actions, which stay where they always
|
|
624
|
+
* are. Clicking a pill fires the ordinary `actionClick` carrying that tab
|
|
625
|
+
* (`type: tableActionType.TAB`); the host swaps the data/config and updates
|
|
626
|
+
* `activeKey`.
|
|
627
|
+
*/
|
|
628
|
+
typeSwitch?: TableTypeSwitch;
|
|
619
629
|
/** Enables export buttons / export actions. */
|
|
620
630
|
exportTable: boolean;
|
|
621
631
|
/** Enables filter popover + filter icon. */
|
|
@@ -741,6 +751,13 @@ interface TabAction {
|
|
|
741
751
|
badgeCount?: number;
|
|
742
752
|
disabled?: boolean;
|
|
743
753
|
}
|
|
754
|
+
/** Config for the optional {@link TableConfiguration.typeSwitch} band. */
|
|
755
|
+
interface TableTypeSwitch {
|
|
756
|
+
/** Pills to render, left to right. `badgeCount` shows as a count bubble. */
|
|
757
|
+
tabs: TabAction[];
|
|
758
|
+
/** `key` of the currently selected tab. */
|
|
759
|
+
activeKey: string;
|
|
760
|
+
}
|
|
744
761
|
type ConfirmationMode = 'DEFAULT' | 'TYPING';
|
|
745
762
|
interface TypingConfirmationConfig {
|
|
746
763
|
confirmText?: string;
|
|
@@ -1754,4 +1771,4 @@ declare class MetaSubmitValidatorService {
|
|
|
1754
1771
|
}
|
|
1755
1772
|
|
|
1756
1773
|
export { ActionTypes, ActionsComponent, CardComponent, ContexObjectComponent, ControlType, GroupsFormComponent, InnerHeaderComponent, META_FORM_ASYNC_EXECUTOR, MetaFormButtonsComponent, MetaFormButtonsV2Component, MetaFormComponent, MetaFormFieldV2Component, MetaFormGroupV2Component, MetaFormService, MetaFormV2Component, MetaSubmitValidatorService, ObjectItemDialogComponent, QuickPickComponent, QuickPickSidePanelComponent, SearchBarComponent, ShellComponent, SidebarComponent, SidebarItemComponent, SimpleButtonType, StatusBarComponent, StatusColType, StatusHeaderComponent, StatusTooltipType, TableComponent, TopbarComponent, UserComponent, clearPersistedTableState, tableActionType, tableButtonContext, tableButtonFormat, tableColumnType, tableFilterType, tableSelectionType };
|
|
1757
|
-
export type { Action, ActionButton, Actions, AllActionValues, AssignExtra, ColumnTypeMap, ConfirmationMode, ContextObjectConfig, ContextObjectTag, InitialSortMeta, MetaAsyncExecutor, MetaFieldConfig, MetaFieldType, MetaFormControls, MetaFormGroupConfig, MetaFormV2Config, MetaOption, MetaSubmitValidatorConfig, MetaValidators, RegisteredActionEnums, Severity, ShellConfig, ShellTheme, SidebarItem, SortMeta, SortOrder, SortRequest, SortResponse, StatusAttribute, StatusBarConfig, StatusTooltipItem, TabAction, TableAction, TableColumn, TableConfiguration, TopbarFooterConfig, TopbarItem, TopbarModuleGroup, TopbarModuleItem, TypingConfirmationConfig, UniqueValidationResponse, UrlConfig, User, cardConfig };
|
|
1774
|
+
export type { Action, ActionButton, Actions, AllActionValues, AssignExtra, ColumnTypeMap, ConfirmationMode, ContextObjectConfig, ContextObjectTag, InitialSortMeta, MetaAsyncExecutor, MetaFieldConfig, MetaFieldType, MetaFormControls, MetaFormGroupConfig, MetaFormV2Config, MetaOption, MetaSubmitValidatorConfig, MetaValidators, RegisteredActionEnums, Severity, ShellConfig, ShellTheme, SidebarItem, SortMeta, SortOrder, SortRequest, SortResponse, StatusAttribute, StatusBarConfig, StatusTooltipItem, TabAction, TableAction, TableColumn, TableConfiguration, TableTypeSwitch, TopbarFooterConfig, TopbarItem, TopbarModuleGroup, TopbarModuleItem, TypingConfirmationConfig, UniqueValidationResponse, UrlConfig, User, cardConfig };
|