@fundamental-ngx/platform 0.43.5 → 0.43.6

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,13 +1,12 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, OnChanges, OnDestroy, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
2
2
  import { ControlContainer, NgControl, NgForm } from '@angular/forms';
3
3
  import { BehaviorSubject, Observable, Subject } from 'rxjs';
4
+ import { ContentDensity, FocusEscapeDirection, RangeSelector, TemplateDirective } from '@fundamental-ngx/cdk/utils';
4
5
  import { DialogConfig } from '@fundamental-ngx/core/dialog';
5
- import { RangeSelector } from '@fundamental-ngx/cdk/utils';
6
- import { ContentDensity, FocusEscapeDirection, TemplateDirective } from '@fundamental-ngx/cdk/utils';
7
6
  import { ListComponent } from '@fundamental-ngx/core/list';
8
7
  import { MobileModeConfig } from '@fundamental-ngx/core/mobile-mode';
9
8
  import { PopoverFillMode } from '@fundamental-ngx/core/shared';
10
- import { CollectionBaseInput, PlatformFormFieldControl, MultiComboBoxDataSource, PlatformFormField, SelectableOptionItem } from '@fundamental-ngx/platform/shared';
9
+ import { CollectionBaseInput, MultiComboBoxDataSource, PlatformFormField, PlatformFormFieldControl, SelectableOptionItem } from '@fundamental-ngx/platform/shared';
11
10
  import { TextAlignment } from '../../combobox';
12
11
  import { MultiComboboxConfig } from '../multi-combobox.config';
13
12
  import * as i0 from "@angular/core";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fundamental-ngx/platform",
3
- "version": "0.43.5",
3
+ "version": "0.43.6",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "description": "Fundamental Library for Angular - platform",
6
6
  "license": "Apache-2.0",
@@ -13,11 +13,11 @@
13
13
  "node": ">= 10"
14
14
  },
15
15
  "peerDependencies": {
16
- "@fundamental-ngx/core": "0.43.5"
16
+ "@fundamental-ngx/core": "0.43.6"
17
17
  },
18
18
  "dependencies": {
19
- "@fundamental-ngx/cdk": "0.43.5",
20
- "@fundamental-ngx/i18n": "0.43.5",
19
+ "@fundamental-ngx/cdk": "0.43.6",
20
+ "@fundamental-ngx/i18n": "0.43.6",
21
21
  "fast-deep-equal": "3.1.3",
22
22
  "focus-trap": "^7.1.0",
23
23
  "lodash-es": "^4.17.0",
@@ -32,7 +32,7 @@ function callCoreSchematic(options) {
32
32
  (0, dependencies_1.addPackageJsonDependency)(tree, {
33
33
  type: dependencies_1.NodeDependencyType.Default,
34
34
  // Will be replaced with the real version during sync-version scipt run
35
- version: `0.43.5`,
35
+ version: `0.43.6`,
36
36
  name: '@fundamental-ngx/core'
37
37
  });
38
38
  const installTaskId = context.addTask(new tasks_1.NodePackageInstallTask({
@@ -3,7 +3,7 @@ import { Observable } from 'rxjs';
3
3
  import { Table, TableService } from '@fundamental-ngx/platform/table-helpers';
4
4
  import { TableToolbarActionsComponent } from './table-toolbar-actions.component';
5
5
  import { TableToolbarLeftActionsComponent } from './table-toolbar-left-actions.component';
6
- import { TableToolbarWithTemplate } from './table-toolbar';
6
+ import { TableToolbarInterface } from './table-toolbar';
7
7
  import { SearchInput, SuggestionItem } from '@fundamental-ngx/platform/search-field';
8
8
  import * as i0 from "@angular/core";
9
9
  export type EditMode = 'none' | 'inline';
@@ -17,7 +17,7 @@ export type EditMode = 'none' | 'inline';
17
17
  * </fdp-table-toolbar>
18
18
  * ```
19
19
  * */
20
- export declare class TableToolbarComponent implements TableToolbarWithTemplate, OnDestroy {
20
+ export declare class TableToolbarComponent implements TableToolbarInterface, OnDestroy {
21
21
  private readonly _cd;
22
22
  private readonly _table;
23
23
  private readonly _tableService;
@@ -1,7 +1,10 @@
1
1
  import { InjectionToken, TemplateRef } from '@angular/core';
2
- export interface TableToolbarWithTemplate {
2
+ export interface TableToolbarInterface {
3
+ tableToolbarTitleId: string;
3
4
  contentTemplateRef: TemplateRef<any>;
4
5
  }
6
+ /** @deprecated Use TableToolbarInterface instead */
7
+ export type TableToolbarWithTemplate = TableToolbarInterface;
5
8
  /**
6
9
  * Used to provide a table-toolbar to the table component without causing a circular dependency.
7
10
  */
@@ -4,7 +4,7 @@ import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
4
4
  import { SearchInput } from '@fundamental-ngx/platform/search-field';
5
5
  import { CollectionFilter, CollectionGroup, CollectionSort, EditableTableCell, PlatformTableManagedPreset, RowComparator, SaveRowsEvent, SelectionModeValue, Table, TableColumn, TableColumnFreezeEvent, TableColumnResizeService, TableColumnsChangeEvent, TableDataSource, TableDataSourceDirective, TableDraggable, TableFilterChangeEvent, TableGroupChangeEvent, TableInitialState, TablePageChangeEvent, TableRow, TableRowActivateEvent, TableRowClass, TableRowSelectionChangeEvent, TableRowService, TableRowToggleOpenStateEvent, TableScrollable, TableScrollDispatcherService, TableService, TableSortChangeEvent, TableState, TableVirtualScroll } from '@fundamental-ngx/platform/table-helpers';
6
6
  import { Observable } from 'rxjs';
7
- import { TableToolbarWithTemplate } from './components';
7
+ import { TableToolbarInterface } from './components';
8
8
  import * as i0 from "@angular/core";
9
9
  import * as i1 from "@fundamental-ngx/platform/table-helpers";
10
10
  interface ToolbarContext {
@@ -222,7 +222,7 @@ export declare class TableComponent<T = any> extends Table<T> implements AfterVi
222
222
  /** @hidden */
223
223
  readonly customEditableCells: QueryList<EditableTableCell>;
224
224
  /** @hidden */
225
- readonly tableToolbar: TableToolbarWithTemplate;
225
+ readonly tableToolbar: TableToolbarInterface;
226
226
  /** @hidden */
227
227
  get initialSortBy(): CollectionSort[];
228
228
  /**