@fundamental-ngx/platform 0.62.0-rc.2 → 0.62.0-rc.21
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/fundamental-ngx-platform-approval-flow.mjs +1 -1
- package/fesm2022/fundamental-ngx-platform-approval-flow.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-form.mjs +4 -4
- package/fesm2022/fundamental-ngx-platform-form.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-icon-tab-bar.mjs +3 -1
- package/fesm2022/fundamental-ngx-platform-icon-tab-bar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-list.mjs +37 -3
- package/fesm2022/fundamental-ngx-platform-list.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-smart-filter-bar.mjs +1 -1
- package/fesm2022/fundamental-ngx-platform-smart-filter-bar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-table-helpers.mjs +24 -38
- package/fesm2022/fundamental-ngx-platform-table-helpers.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-table.mjs +51 -30
- package/fesm2022/fundamental-ngx-platform-table.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-value-help-dialog.mjs +1 -1
- package/fesm2022/fundamental-ngx-platform-value-help-dialog.mjs.map +1 -1
- package/package.json +4 -4
- package/schematics/ng-add/index.js +1 -1
- package/types/fundamental-ngx-platform-icon-tab-bar.d.ts +1 -1
- package/types/fundamental-ngx-platform-list.d.ts +11 -0
- package/types/fundamental-ngx-platform-table-helpers.d.ts +0 -4
- package/types/fundamental-ngx-platform-table.d.ts +30 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fundamental-ngx/platform",
|
|
3
|
-
"version": "0.62.0-rc.
|
|
3
|
+
"version": "0.62.0-rc.21",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
5
|
"description": "Fundamental Library for Angular - platform",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"node": ">= 10"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@fundamental-ngx/cdk": "0.62.0-rc.
|
|
17
|
-
"@fundamental-ngx/core": "0.62.0-rc.
|
|
18
|
-
"@fundamental-ngx/i18n": "0.62.0-rc.
|
|
16
|
+
"@fundamental-ngx/cdk": "0.62.0-rc.21",
|
|
17
|
+
"@fundamental-ngx/core": "0.62.0-rc.21",
|
|
18
|
+
"@fundamental-ngx/i18n": "0.62.0-rc.21"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"fast-equals": "^6.0.0",
|
|
@@ -31,7 +31,7 @@ function callCoreSchematic(options) {
|
|
|
31
31
|
(0, dependencies_1.addPackageJsonDependency)(tree, {
|
|
32
32
|
type: dependencies_1.NodeDependencyType.Default,
|
|
33
33
|
// Will be replaced with the real version during sync-version script run
|
|
34
|
-
version: `0.62.0-rc.
|
|
34
|
+
version: `0.62.0-rc.21`,
|
|
35
35
|
name: '@fundamental-ngx/core'
|
|
36
36
|
});
|
|
37
37
|
const installTaskId = context.addTask(new tasks_1.NodePackageInstallTask({
|
|
@@ -534,7 +534,7 @@ declare class IconTabBarProcessTypeComponent extends ClosableIconTabBar {
|
|
|
534
534
|
* @hidden
|
|
535
535
|
* @param selectedItem
|
|
536
536
|
*/
|
|
537
|
-
_selectItem(selectedItem: IconTabBarItem): void;
|
|
537
|
+
_selectItem(selectedItem: IconTabBarItem | undefined): void;
|
|
538
538
|
/**
|
|
539
539
|
* @hidden
|
|
540
540
|
* @param selectedItem
|
|
@@ -730,6 +730,17 @@ declare class ListComponent<T> extends CollectionBaseInput implements ListUnread
|
|
|
730
730
|
* set values when passed via datasource
|
|
731
731
|
*/
|
|
732
732
|
private _updateListItems;
|
|
733
|
+
/**
|
|
734
|
+
* @hidden
|
|
735
|
+
* Updates tabindex on all list items based on the current tabbable index.
|
|
736
|
+
*/
|
|
737
|
+
private _updateTabIndexes;
|
|
738
|
+
/**
|
|
739
|
+
* @hidden
|
|
740
|
+
* Determines which item should have tabindex="0".
|
|
741
|
+
* Priority: 1) Active item (keyboard focused), 2) First selected item, 3) First item
|
|
742
|
+
*/
|
|
743
|
+
private _getTabbableItemIndex;
|
|
733
744
|
/** @hidden */
|
|
734
745
|
private _waitForViewInit;
|
|
735
746
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent<any>, never>;
|
|
@@ -1486,8 +1486,6 @@ declare class TableDraggableDirective<T = any> extends TableDraggable<T> impleme
|
|
|
1486
1486
|
/** @hidden */
|
|
1487
1487
|
private _table;
|
|
1488
1488
|
/** @hidden */
|
|
1489
|
-
private readonly _ngZone;
|
|
1490
|
-
/** @hidden */
|
|
1491
1489
|
private readonly _cdr;
|
|
1492
1490
|
/** @hidden */
|
|
1493
1491
|
ngOnDestroy(): void;
|
|
@@ -1525,8 +1523,6 @@ declare class TableDraggableDirective<T = any> extends TableDraggable<T> impleme
|
|
|
1525
1523
|
/** @hidden */
|
|
1526
1524
|
private _handleReplaceDropAction;
|
|
1527
1525
|
/** @hidden */
|
|
1528
|
-
private _onZoneFree;
|
|
1529
|
-
/** @hidden */
|
|
1530
1526
|
private _blockScrolling;
|
|
1531
1527
|
/** @hidden */
|
|
1532
1528
|
private _enableScrolling;
|
|
@@ -4,7 +4,7 @@ import { Nullable, TemplateDirective, ContentDensity, FocusableGridDirective, Ta
|
|
|
4
4
|
import { ContentDensityMode, ContentDensityObserver } from '@fundamental-ngx/core/content-density';
|
|
5
5
|
import { SearchInput, SuggestionItem } from '@fundamental-ngx/platform/search-field';
|
|
6
6
|
import * as _fundamental_ngx_platform_table_helpers from '@fundamental-ngx/platform/table-helpers';
|
|
7
|
-
import { TableColumn, SortDirection, ColumnAlignValue, TableColumnResizeService, FilterableColumnDataType, FdpCellDef, FdpEditableCellDef, FdpHeaderCellDef, TableCellHeaderPopoverDirective, FdpColumnResponsiveState, TableService, TableDialogCommonData, CollectionFilter, FilterStrategy, CollectionGroup, Table, FilterType, TableFilterSelectOption, FdpViewSettingsFilterCustomDef, CollectionSort, RowComparator, TableRowClass, SelectionModeValue, TableState, TableRowSelectionChangeEvent, TableSortChangeEvent, TableFilterChangeEvent, TableGroupChangeEvent, TableColumnsChangeEvent, TablePageChangeEvent, TableColumnFreezeEvent, TableRowToggleOpenStateEvent, TableCellActivateEvent, TableRowActivateEvent, SaveRowsEvent, TableScrollable, EditableTableCell, TableRow, TableDataSourceDirective, TableRowService, TableInitialState, TableVirtualScroll, TableDraggable, TableScrollDispatcherService,
|
|
7
|
+
import { TableColumn, SortDirection, ColumnAlignValue, TableColumnResizeService, FilterableColumnDataType, FdpCellDef, FdpEditableCellDef, FdpHeaderCellDef, TableCellHeaderPopoverDirective, FdpColumnResponsiveState, TableService, TableDialogCommonData, CollectionFilter, FilterStrategy, CollectionGroup, Table, FilterType, TableFilterSelectOption, FdpViewSettingsFilterCustomDef, CollectionSort, RowComparator, TableRowClass, SelectionModeValue, TableState, TableRowSelectionChangeEvent, TableSortChangeEvent, TableFilterChangeEvent, TableGroupChangeEvent, TableColumnsChangeEvent, TablePageChangeEvent, TableColumnFreezeEvent, TableRowToggleOpenStateEvent, TableCellActivateEvent, TableRowActivateEvent, SaveRowsEvent, TableScrollable, EditableTableCell, TableRow, TableDataSourceDirective, TableRowService, TableInitialState, TableVirtualScroll, TableDraggable, TableScrollDispatcherService, PlatformTableManagedPreset, TableDataSource, TableRowKeyboardDrag, isTreeRowFirstCell, SelectionMode, isTreeRow } from '@fundamental-ngx/platform/table-helpers';
|
|
8
8
|
export * from '@fundamental-ngx/platform/table-helpers';
|
|
9
9
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
10
10
|
import { Placement, HeadingLevel } from '@fundamental-ngx/core/shared';
|
|
@@ -799,6 +799,11 @@ interface ToolbarContext {
|
|
|
799
799
|
hasAnyActions: Signal<boolean>;
|
|
800
800
|
appliedFilters: Signal<TableAppliedFilter[]>;
|
|
801
801
|
}
|
|
802
|
+
/** Context provided to the titleTemplate. */
|
|
803
|
+
interface TableToolbarTitleTemplateContext {
|
|
804
|
+
/** Item count signal. */
|
|
805
|
+
counter: Signal<number>;
|
|
806
|
+
}
|
|
802
807
|
type EditMode = 'none' | 'inline';
|
|
803
808
|
declare class TableToolbarTemplateDirective {
|
|
804
809
|
/** @hidden */
|
|
@@ -845,10 +850,6 @@ declare class TableToolbarComponent implements TableToolbarInterface {
|
|
|
845
850
|
disableRefresh: boolean;
|
|
846
851
|
/** Whether display search button in the search field */
|
|
847
852
|
disableSearch: boolean;
|
|
848
|
-
/**
|
|
849
|
-
* Heading level of the table toolbar title.
|
|
850
|
-
*/
|
|
851
|
-
headingLevel: HeadingLevel;
|
|
852
853
|
/** Search field input text. */
|
|
853
854
|
set searchFieldInputText(text: string);
|
|
854
855
|
get searchFieldInputText(): string;
|
|
@@ -866,6 +867,25 @@ declare class TableToolbarComponent implements TableToolbarInterface {
|
|
|
866
867
|
_showSaveButton: boolean;
|
|
867
868
|
/** @hidden */
|
|
868
869
|
_searchInputText: string;
|
|
870
|
+
/**
|
|
871
|
+
* Custom title template. When provided, it replaces the default string title.
|
|
872
|
+
* The template context provides a `counter` signal with the current item count.
|
|
873
|
+
*
|
|
874
|
+
* ```html
|
|
875
|
+
* <fdp-table-toolbar [titleTemplate]="customTitleTpl">
|
|
876
|
+
* <ng-template #customTitleTpl let-counter="counter">
|
|
877
|
+
* <fd-icon glyph="product"></fd-icon> Products ({{ counter() }})
|
|
878
|
+
* </ng-template>
|
|
879
|
+
* </fdp-table-toolbar>
|
|
880
|
+
* ```
|
|
881
|
+
*/
|
|
882
|
+
titleTemplate: i0.InputSignal<TemplateRef<TableToolbarTitleTemplateContext> | null>;
|
|
883
|
+
/**
|
|
884
|
+
* Heading level of the table toolbar title.
|
|
885
|
+
*/
|
|
886
|
+
headingLevel: i0.InputSignal<HeadingLevel>;
|
|
887
|
+
/** @hidden */
|
|
888
|
+
readonly headingLevelParsed: Signal<number>;
|
|
869
889
|
/** @hidden */
|
|
870
890
|
readonly tableLoading$: Observable<boolean>;
|
|
871
891
|
/** @hidden */
|
|
@@ -904,7 +924,7 @@ declare class TableToolbarComponent implements TableToolbarInterface {
|
|
|
904
924
|
/** @hidden */
|
|
905
925
|
private _listenToTableEvents;
|
|
906
926
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableToolbarComponent, never>;
|
|
907
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableToolbarComponent, "fdp-table-toolbar", never, { "shouldOverflow": { "alias": "shouldOverflow"; "required": false; }; "title": { "alias": "title"; "required": false; }; "searchFieldAriaLabel": { "alias": "searchFieldAriaLabel"; "required": false; }; "hideItemCount": { "alias": "hideItemCount"; "required": false; }; "hideSearchInput": { "alias": "hideSearchInput"; "required": false; }; "searchFieldPlaceholder": { "alias": "searchFieldPlaceholder"; "required": false; }; "showExpandCollapseButtons": { "alias": "showExpandCollapseButtons"; "required": false; }; "searchSuggestions": { "alias": "searchSuggestions"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; "disableRefresh": { "alias": "disableRefresh"; "required": false; }; "disableSearch": { "alias": "disableSearch"; "required": false; }; "
|
|
927
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableToolbarComponent, "fdp-table-toolbar", never, { "shouldOverflow": { "alias": "shouldOverflow"; "required": false; }; "title": { "alias": "title"; "required": false; }; "searchFieldAriaLabel": { "alias": "searchFieldAriaLabel"; "required": false; }; "hideItemCount": { "alias": "hideItemCount"; "required": false; }; "hideSearchInput": { "alias": "hideSearchInput"; "required": false; }; "searchFieldPlaceholder": { "alias": "searchFieldPlaceholder"; "required": false; }; "showExpandCollapseButtons": { "alias": "showExpandCollapseButtons"; "required": false; }; "searchSuggestions": { "alias": "searchSuggestions"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; "disableRefresh": { "alias": "disableRefresh"; "required": false; }; "disableSearch": { "alias": "disableSearch"; "required": false; }; "searchFieldInputText": { "alias": "searchFieldInputText"; "required": false; }; "titleTemplate": { "alias": "titleTemplate"; "required": false; "isSignal": true; }; "headingLevel": { "alias": "headingLevel"; "required": false; "isSignal": true; }; }, { "searchFieldInputChange": "searchFieldInputChange"; }, ["tableToolbarActionsComponent", "_tableToolbarLeftActionsComponent"], never, true, never>;
|
|
908
928
|
}
|
|
909
929
|
|
|
910
930
|
declare const NOT_FILTERED_OPTION_VALUE: string;
|
|
@@ -1858,7 +1878,7 @@ declare class TableComponent<T = any> extends Table<T> implements AfterViewInit,
|
|
|
1858
1878
|
/** Get current state/settings of the Table. */
|
|
1859
1879
|
getTableState(): TableState;
|
|
1860
1880
|
/** Set current state/settings of the Table. */
|
|
1861
|
-
setTableState(state: TableState): void;
|
|
1881
|
+
setTableState(state: TableState | PlatformTableManagedPreset): void;
|
|
1862
1882
|
/** Get table columns definition list. */
|
|
1863
1883
|
getTableColumns(): TableColumn[];
|
|
1864
1884
|
/** Get a list of visible table columns. */
|
|
@@ -1940,7 +1960,7 @@ declare class TableComponent<T = any> extends Table<T> implements AfterViewInit,
|
|
|
1940
1960
|
* Emits save event and resets editable rows array.
|
|
1941
1961
|
*/
|
|
1942
1962
|
saveRows(): void;
|
|
1943
|
-
/** Sets current preset for the Table. */
|
|
1963
|
+
/** @deprecated use 'setTableState' instead. Sets current preset for the Table. */
|
|
1944
1964
|
setPreset(data: PlatformTableManagedPreset): void;
|
|
1945
1965
|
/** Returns current preset configuration. */
|
|
1946
1966
|
getCurrentPreset(): PlatformTableManagedPreset;
|
|
@@ -2339,8 +2359,6 @@ declare class TableGroupRowComponent<T> extends TableRowDirective implements OnC
|
|
|
2339
2359
|
row: TableRow<T>;
|
|
2340
2360
|
/** Key to column mapping. */
|
|
2341
2361
|
keyToColumnMap: Map<string, TableColumn>;
|
|
2342
|
-
/** Table columns length. */
|
|
2343
|
-
tableColumnsLength: number;
|
|
2344
2362
|
/** Event emitted when group row expansion state needs to be toggled. */
|
|
2345
2363
|
toggleGroupRow: EventEmitter<TableRow<T>>;
|
|
2346
2364
|
/** @hidden */
|
|
@@ -2352,7 +2370,7 @@ declare class TableGroupRowComponent<T> extends TableRowDirective implements OnC
|
|
|
2352
2370
|
/** @hidden */
|
|
2353
2371
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2354
2372
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableGroupRowComponent<any>, never>;
|
|
2355
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableGroupRowComponent<any>, "[fdp-table-group-row]", never, { "rowId": { "alias": "rowId"; "required": false; }; "index": { "alias": "index"; "required": false; }; "height": { "alias": "height"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "row": { "alias": "row"; "required": false; }; "keyToColumnMap": { "alias": "keyToColumnMap"; "required": false; };
|
|
2373
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableGroupRowComponent<any>, "[fdp-table-group-row]", never, { "rowId": { "alias": "rowId"; "required": false; }; "index": { "alias": "index"; "required": false; }; "height": { "alias": "height"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "row": { "alias": "row"; "required": false; }; "keyToColumnMap": { "alias": "keyToColumnMap"; "required": false; }; }, { "toggleGroupRow": "toggleGroupRow"; }, never, never, true, never>;
|
|
2356
2374
|
}
|
|
2357
2375
|
|
|
2358
2376
|
declare class TablePoppingRowComponent<T> extends TableRowDirective {
|
|
@@ -2488,4 +2506,4 @@ declare class PlatformTableModule {
|
|
|
2488
2506
|
}
|
|
2489
2507
|
|
|
2490
2508
|
export { FILTERS_VIEW_STEP_TOKEN, FilterCustomComponent, FilterMultiSelectComponent, FilterRule, FilterRuleComponent, FilterSingleSelectComponent, FilterStepComponent, FiltersComponent, FiltersListStepComponent, GetAvailableSortColumnsPipe, GroupingComponent, IsColumnHasHeaderMenuPipe, NOT_FILTERED_OPTION_VALUE, NoDataWrapperComponent, P13ColumnsDialogComponent, P13FilteringDialogComponent, P13GroupingDialogComponent, P13SortingDialogComponent, PlatformTableColumnResizerComponent, PlatformTableModule, RESETTABLE_TOKEN, ResetButtonComponent, SortingComponent, TABLE_TOOLBAR, TableCellHeaderPopoverComponent, TableColumnComponent, TableComponent, TableEditableCellComponent, TableFooterRowComponent, TableGroupRowComponent, TableGrowingButtonComponent, TableHeaderCellContentComponent, TableHeaderRowComponent, TableP13ColumnsComponent, TableP13DialogComponent, TableP13FilterComponent, TableP13GroupComponent, TableP13SortComponent, TablePoppingRowComponent, TableRowComponent, TableToolbarActionsComponent, TableToolbarComponent, TableToolbarLeftActionsComponent, TableToolbarTemplateDirective, TableViewSettingsDialogComponent, TableViewSettingsFilterComponent, dialogConfig };
|
|
2491
|
-
export type { ColumnsDialogData, ColumnsDialogResultData, CombinedTableDialogData, DialogTableColumn, EditMode, FilterDialogData, FilterDialogResultData, FilterableColumn, FiltersViewStep, GroupDialogColumn, GroupDialogData, GroupDialogResultData, Resettable, SelectableFilter, SortDialogColumn, SortDialogData, SortDialogResultData, SortRule, TableAppliedFilter, TableToolbarInterface, TableToolbarWithTemplate, ToolbarContext, VisibleColumnType };
|
|
2509
|
+
export type { ColumnsDialogData, ColumnsDialogResultData, CombinedTableDialogData, DialogTableColumn, EditMode, FilterDialogData, FilterDialogResultData, FilterableColumn, FiltersViewStep, GroupDialogColumn, GroupDialogData, GroupDialogResultData, Resettable, SelectableFilter, SortDialogColumn, SortDialogData, SortDialogResultData, SortRule, TableAppliedFilter, TableToolbarInterface, TableToolbarTitleTemplateContext, TableToolbarWithTemplate, ToolbarContext, VisibleColumnType };
|