@fundamental-ngx/core 0.43.7 → 0.43.9

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.
Files changed (79) hide show
  1. package/dynamic-page/dynamic-page.component.d.ts +12 -7
  2. package/esm2020/combobox/combobox.component.mjs +1 -1
  3. package/esm2020/dynamic-page/dynamic-page.component.mjs +29 -26
  4. package/esm2020/link/link.component.mjs +2 -2
  5. package/esm2020/list/directives/list-navigation-item-arrow.directive.mjs +11 -13
  6. package/esm2020/list/list-navigation-item/list-navigation-item.component.mjs +18 -19
  7. package/esm2020/list/list.component.mjs +22 -13
  8. package/esm2020/multi-combobox/multi-combobox.component.mjs +1 -1
  9. package/esm2020/multi-input/multi-input.component.mjs +16 -17
  10. package/esm2020/scrollbar/scrollbar.directive.mjs +9 -8
  11. package/esm2020/select/select.component.mjs +1 -1
  12. package/esm2020/table/directives/table-row.directive.mjs +6 -3
  13. package/esm2020/tabs/tab-list.component.mjs +27 -22
  14. package/esm2020/token/tokenizer.component.mjs +1 -1
  15. package/esm2020/upload-collection/upload-collection.component.mjs +1 -1
  16. package/esm2020/vertical-navigation/vertical-navigation-main-navigation.component.mjs +2 -2
  17. package/esm2020/vertical-navigation/vertical-navigation.component.mjs +2 -2
  18. package/fesm2015/fundamental-ngx-core-combobox.mjs +1 -1
  19. package/fesm2015/fundamental-ngx-core-combobox.mjs.map +1 -1
  20. package/fesm2015/fundamental-ngx-core-dynamic-page.mjs +228 -226
  21. package/fesm2015/fundamental-ngx-core-dynamic-page.mjs.map +1 -1
  22. package/fesm2015/fundamental-ngx-core-link.mjs +2 -2
  23. package/fesm2015/fundamental-ngx-core-link.mjs.map +1 -1
  24. package/fesm2015/fundamental-ngx-core-list.mjs +87 -82
  25. package/fesm2015/fundamental-ngx-core-list.mjs.map +1 -1
  26. package/fesm2015/fundamental-ngx-core-multi-combobox.mjs +1 -1
  27. package/fesm2015/fundamental-ngx-core-multi-combobox.mjs.map +1 -1
  28. package/fesm2015/fundamental-ngx-core-multi-input.mjs +18 -20
  29. package/fesm2015/fundamental-ngx-core-multi-input.mjs.map +1 -1
  30. package/fesm2015/fundamental-ngx-core-scrollbar.mjs +9 -8
  31. package/fesm2015/fundamental-ngx-core-scrollbar.mjs.map +1 -1
  32. package/fesm2015/fundamental-ngx-core-select.mjs +1 -1
  33. package/fesm2015/fundamental-ngx-core-select.mjs.map +1 -1
  34. package/fesm2015/fundamental-ngx-core-table.mjs +5 -2
  35. package/fesm2015/fundamental-ngx-core-table.mjs.map +1 -1
  36. package/fesm2015/fundamental-ngx-core-tabs.mjs +27 -22
  37. package/fesm2015/fundamental-ngx-core-tabs.mjs.map +1 -1
  38. package/fesm2015/fundamental-ngx-core-token.mjs +1 -1
  39. package/fesm2015/fundamental-ngx-core-token.mjs.map +1 -1
  40. package/fesm2015/fundamental-ngx-core-upload-collection.mjs +1 -1
  41. package/fesm2015/fundamental-ngx-core-upload-collection.mjs.map +1 -1
  42. package/fesm2015/fundamental-ngx-core-vertical-navigation.mjs +4 -4
  43. package/fesm2015/fundamental-ngx-core-vertical-navigation.mjs.map +1 -1
  44. package/fesm2020/fundamental-ngx-core-combobox.mjs +1 -1
  45. package/fesm2020/fundamental-ngx-core-combobox.mjs.map +1 -1
  46. package/fesm2020/fundamental-ngx-core-dynamic-page.mjs +202 -200
  47. package/fesm2020/fundamental-ngx-core-dynamic-page.mjs.map +1 -1
  48. package/fesm2020/fundamental-ngx-core-link.mjs +2 -2
  49. package/fesm2020/fundamental-ngx-core-link.mjs.map +1 -1
  50. package/fesm2020/fundamental-ngx-core-list.mjs +87 -81
  51. package/fesm2020/fundamental-ngx-core-list.mjs.map +1 -1
  52. package/fesm2020/fundamental-ngx-core-multi-combobox.mjs +1 -1
  53. package/fesm2020/fundamental-ngx-core-multi-combobox.mjs.map +1 -1
  54. package/fesm2020/fundamental-ngx-core-multi-input.mjs +18 -20
  55. package/fesm2020/fundamental-ngx-core-multi-input.mjs.map +1 -1
  56. package/fesm2020/fundamental-ngx-core-scrollbar.mjs +9 -8
  57. package/fesm2020/fundamental-ngx-core-scrollbar.mjs.map +1 -1
  58. package/fesm2020/fundamental-ngx-core-select.mjs +1 -1
  59. package/fesm2020/fundamental-ngx-core-select.mjs.map +1 -1
  60. package/fesm2020/fundamental-ngx-core-table.mjs +5 -2
  61. package/fesm2020/fundamental-ngx-core-table.mjs.map +1 -1
  62. package/fesm2020/fundamental-ngx-core-tabs.mjs +26 -22
  63. package/fesm2020/fundamental-ngx-core-tabs.mjs.map +1 -1
  64. package/fesm2020/fundamental-ngx-core-token.mjs +1 -1
  65. package/fesm2020/fundamental-ngx-core-token.mjs.map +1 -1
  66. package/fesm2020/fundamental-ngx-core-upload-collection.mjs +1 -1
  67. package/fesm2020/fundamental-ngx-core-upload-collection.mjs.map +1 -1
  68. package/fesm2020/fundamental-ngx-core-vertical-navigation.mjs +4 -4
  69. package/fesm2020/fundamental-ngx-core-vertical-navigation.mjs.map +1 -1
  70. package/fundamental-ngx-core-v0.43.9.tgz +0 -0
  71. package/list/directives/list-navigation-item-arrow.directive.d.ts +0 -6
  72. package/list/list-navigation-item/list-navigation-item.component.d.ts +8 -6
  73. package/list/list.component.d.ts +15 -6
  74. package/multi-input/multi-input.component.d.ts +10 -8
  75. package/package.json +3 -3
  76. package/schematics/add-dependencies/index.js +4 -4
  77. package/scrollbar/scrollbar.directive.d.ts +6 -4
  78. package/tabs/tab-list.component.d.ts +10 -8
  79. package/fundamental-ngx-core-v0.43.7.tgz +0 -0
@@ -1,7 +1,7 @@
1
+ import { FocusableOption } from '@angular/cdk/a11y';
1
2
  import { AfterContentInit, AfterViewInit, ElementRef, QueryList } from '@angular/core';
2
- import { IconComponent } from '@fundamental-ngx/core/icon';
3
3
  import { RtlService } from '@fundamental-ngx/cdk/utils';
4
- import { FocusableOption } from '@angular/cdk/a11y';
4
+ import { IconComponent } from '@fundamental-ngx/core/icon';
5
5
  import { Subject } from 'rxjs';
6
6
  import { ListNavigationItemArrowDirective } from '../directives/list-navigation-item-arrow.directive';
7
7
  import { ListNavigationItemTextDirective } from '../directives/list-navigation-item-text.directive';
@@ -21,8 +21,6 @@ export declare class ListNavigationItemComponent implements AfterContentInit, Af
21
21
  /** @hidden */
22
22
  _tabIndex: any;
23
23
  /** @hidden */
24
- _expanded: boolean;
25
- /** @hidden */
26
24
  _ariaLevel: number;
27
25
  /** @hidden */
28
26
  _condensed: boolean;
@@ -37,17 +35,21 @@ export declare class ListNavigationItemComponent implements AfterContentInit, Af
37
35
  /** @hidden */
38
36
  _childItems: QueryList<ListNavigationItemComponent>;
39
37
  /** @hidden */
38
+ private get _ariaExpanded();
39
+ /** @hidden */
40
+ _expanded: boolean;
41
+ /** @hidden */
40
42
  _innerText: string;
41
43
  /** @hidden
42
44
  * false if list-item is within unexpanded list (not visible to user until list expanded). default is true
43
45
  */
44
46
  _isItemVisible: boolean;
45
- /** @hidden handles rtl service */
46
- private _dir;
47
47
  /** @hidden */
48
48
  readonly _focused$: Subject<boolean>;
49
49
  /** @hidden */
50
50
  readonly _clicked$: Subject<MouseEvent>;
51
+ /** @hidden handles rtl service */
52
+ private _dir;
51
53
  /** @hidden */
52
54
  constructor(_elementRef: ElementRef, _rtlService: RtlService);
53
55
  /** @hidden */
@@ -1,9 +1,9 @@
1
1
  import { AfterContentInit, ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
2
- import { FocusEscapeDirection, KeyboardSupportService, ListItemInterface } from '@fundamental-ngx/cdk/utils';
3
- import { ListFocusItem } from './list-focus-item.model';
4
- import { ListNavigationItemComponent } from './list-navigation-item/list-navigation-item.component';
2
+ import { FocusEscapeDirection, KeyboardSupportService, ListItemInterface, Nullable } from '@fundamental-ngx/cdk/utils';
5
3
  import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
6
4
  import { ListComponentInterface } from './list-component.interface';
5
+ import { ListFocusItem } from './list-focus-item.model';
6
+ import { ListNavigationItemComponent } from './list-navigation-item/list-navigation-item.component';
7
7
  import { ListUnreadIndicator } from './list-unread-indicator.interface';
8
8
  import * as i0 from "@angular/core";
9
9
  /**
@@ -38,14 +38,23 @@ export declare class ListComponent implements ListComponentInterface, ListUnread
38
38
  focusEscapeList: EventEmitter<FocusEscapeDirection>;
39
39
  /** Whether list component includes links */
40
40
  hasNavigation: boolean;
41
- /** @hidden */
42
- _role: string;
41
+ /**
42
+ * User-provided role.
43
+ */
44
+ role: Nullable<string>;
43
45
  /** @hidden */
44
46
  items: QueryList<ListItemInterface>;
45
47
  /** @hidden */
46
48
  _navItems: QueryList<ListNavigationItemComponent>;
47
49
  /** @hidden */
48
50
  private _focusItems;
51
+ /** @hidden */
52
+ private get _ariaRole();
53
+ /**
54
+ * @hidden
55
+ * Default role for lists
56
+ */
57
+ private _defaultRole;
49
58
  /** An RxJS Subject that will kill the data stream upon queryList changes (for unsubscribing) */
50
59
  private readonly _onRefresh$;
51
60
  /** An RxJS Subject that will kill the data stream upon component’s destruction (for unsubscribing) */
@@ -73,5 +82,5 @@ export declare class ListComponent implements ListComponentInterface, ListUnread
73
82
  /** @hidden */
74
83
  private _listenOnListFocusEscape;
75
84
  static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
76
- static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "[fd-list], [fdList]", never, { "dropdownMode": "dropdownMode"; "multiInputMode": "multiInputMode"; "mobileMode": "mobileMode"; "hasMessage": "hasMessage"; "noBorder": "noBorder"; "navigationIndicator": "navigationIndicator"; "selection": "selection"; "keyboardSupport": "keyboardSupport"; "byline": "byline"; "unreadIndicator": "unreadIndicator"; }, { "focusEscapeList": "focusEscapeList"; }, ["items", "_navItems", "_focusItems"], ["*"], false, never>;
85
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "[fd-list], [fdList]", never, { "dropdownMode": "dropdownMode"; "multiInputMode": "multiInputMode"; "mobileMode": "mobileMode"; "hasMessage": "hasMessage"; "noBorder": "noBorder"; "navigationIndicator": "navigationIndicator"; "selection": "selection"; "keyboardSupport": "keyboardSupport"; "byline": "byline"; "unreadIndicator": "unreadIndicator"; "role": "role"; }, { "focusEscapeList": "focusEscapeList"; }, ["items", "_navItems", "_focusItems"], ["*"], false, never>;
77
86
  }
@@ -1,18 +1,18 @@
1
+ import { SelectionModel } from '@angular/cdk/collections';
1
2
  import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
2
3
  import { ControlValueAccessor, FormControl } from '@angular/forms';
3
- import { SelectionModel } from '@angular/cdk/collections';
4
4
  import { BehaviorSubject, Observable } from 'rxjs';
5
+ import { CssClassBuilder, DynamicComponentService, FocusEscapeDirection, FocusTrapService, Nullable, RtlService } from '@fundamental-ngx/cdk/utils';
6
+ import { FormItemControl } from '@fundamental-ngx/core/form';
7
+ import { ListComponent } from '@fundamental-ngx/core/list';
8
+ import { MobileModeConfig } from '@fundamental-ngx/core/mobile-mode';
5
9
  import { PopoverComponent } from '@fundamental-ngx/core/popover';
6
10
  import { PopoverFillMode } from '@fundamental-ngx/core/shared';
7
- import { MobileModeConfig } from '@fundamental-ngx/core/mobile-mode';
8
11
  import { TokenizerComponent } from '@fundamental-ngx/core/token';
9
- import { FormItemControl } from '@fundamental-ngx/core/form';
10
- import { ListComponent } from '@fundamental-ngx/core/list';
11
- import { CssClassBuilder, DynamicComponentService, FocusEscapeDirection, FocusTrapService, Nullable, RtlService } from '@fundamental-ngx/cdk/utils';
12
- import { MultiInputInterface } from './multi-input.interface';
13
- import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
14
12
  import { FormStates } from '@fundamental-ngx/cdk/forms';
13
+ import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
15
14
  import { FdLanguage } from '@fundamental-ngx/i18n';
15
+ import { MultiInputInterface } from './multi-input.interface';
16
16
  import * as i0 from "@angular/core";
17
17
  /**
18
18
  * Input field with multiple selection enabled. Should be used when a user can select between a
@@ -174,7 +174,9 @@ export declare class MultiInputComponent<ItemType = any, ValueType = any> implem
174
174
  /** @hidden */
175
175
  tokenizer: TokenizerComponent;
176
176
  /** @hidden */
177
- readonly optionItems$: BehaviorSubject<_OptionItem<ItemType, ValueType>[]>;
177
+ _defaultAriaLabel: Nullable<string>;
178
+ /** @hidden */
179
+ readonly optionItems$: BehaviorSubject<OptionItem<any, any>[]>;
178
180
  /** @hidden */
179
181
  readonly _searchTermCtrl: FormControl<string | null>;
180
182
  /** @hidden */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fundamental-ngx/core",
3
- "version": "0.43.7",
3
+ "version": "0.43.9",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "ng-update": {
6
6
  "migrations": "./schematics/migrations.json"
@@ -28,8 +28,8 @@
28
28
  "rxjs": "^7.8.0"
29
29
  },
30
30
  "dependencies": {
31
- "@fundamental-ngx/cdk": "0.43.7",
32
- "@fundamental-ngx/i18n": "0.43.7",
31
+ "@fundamental-ngx/cdk": "0.43.9",
32
+ "@fundamental-ngx/i18n": "0.43.9",
33
33
  "compare-versions": "^5.0.0",
34
34
  "fast-deep-equal": "3.1.3",
35
35
  "focus-trap": "^7.1.0",
@@ -54,21 +54,21 @@ function addExternalLibraries(options) {
54
54
  });
55
55
  }
56
56
  if (!(0, package_utils_1.hasPackage)(tree, '@fundamental-ngx/i18n') ||
57
- (0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/i18n', '0.43.7', '<')) {
57
+ (0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/i18n', '0.43.9', '<')) {
58
58
  dependencies.push({
59
59
  type: dependencies_1.NodeDependencyType.Default,
60
60
  // Will be replaced with the real version during sync-version script run
61
- version: `0.43.7`,
61
+ version: `0.43.9`,
62
62
  name: '@fundamental-ngx/i18n',
63
63
  overwrite: true
64
64
  });
65
65
  }
66
66
  if (!(0, package_utils_1.hasPackage)(tree, '@fundamental-ngx/cdk') ||
67
- (0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/cdk', '0.43.7', '<')) {
67
+ (0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/cdk', '0.43.9', '<')) {
68
68
  dependencies.push({
69
69
  type: dependencies_1.NodeDependencyType.Default,
70
70
  // Will be replaced with the real version during sync-version script run
71
- version: `0.43.7`,
71
+ version: `0.43.9`,
72
72
  name: '@fundamental-ngx/cdk',
73
73
  overwrite: true
74
74
  });
@@ -1,5 +1,6 @@
1
- import { ElementRef, OnDestroy, Renderer2 } from '@angular/core';
2
1
  import { BooleanInput } from '@angular/cdk/coercion';
2
+ import { ElementRef, OnDestroy, Renderer2 } from '@angular/core';
3
+ import { HasElementRef } from '@fundamental-ngx/cdk/utils';
3
4
  import * as i0 from "@angular/core";
4
5
  import * as i1 from "@angular/cdk/overlay";
5
6
  export type ScrollbarOverflowOptions = 'auto' | 'scroll' | 'hidden';
@@ -15,8 +16,7 @@ export type ScrollbarOverflowOptions = 'auto' | 'scroll' | 'hidden';
15
16
  * <div fd-scrollbar [noHorizontalScroll]="true">
16
17
  * ```
17
18
  */
18
- export declare class ScrollbarDirective implements OnDestroy {
19
- private _elementRef;
19
+ export declare class ScrollbarDirective implements OnDestroy, HasElementRef {
20
20
  /** Whether overflow horizontal content should be hidden. */
21
21
  set noHorizontalScroll(value: BooleanInput);
22
22
  get noHorizontalScroll(): boolean;
@@ -37,6 +37,8 @@ export declare class ScrollbarDirective implements OnDestroy {
37
37
  /** @hidden */
38
38
  _inPopover: boolean;
39
39
  /** @hidden */
40
+ elementRef: ElementRef<HTMLElement>;
41
+ /** @hidden */
40
42
  private _document;
41
43
  /** @hidden */
42
44
  private _noHorizontalScroll;
@@ -49,7 +51,7 @@ export declare class ScrollbarDirective implements OnDestroy {
49
51
  /**
50
52
  * @hidden
51
53
  */
52
- constructor(_elementRef: ElementRef<HTMLElement>, renderer2: Renderer2);
54
+ constructor(renderer2: Renderer2);
53
55
  /** @hidden */
54
56
  ngOnDestroy(): void;
55
57
  /** method to invoke scroll */
@@ -1,14 +1,14 @@
1
1
  import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, QueryList } from '@angular/core';
2
+ import { DestroyedService, Nullable } from '@fundamental-ngx/cdk/utils';
3
+ import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
4
+ import { MenuComponent } from '@fundamental-ngx/core/menu';
5
+ import { ScrollbarDirective } from '@fundamental-ngx/core/scrollbar';
2
6
  import { Subject } from 'rxjs';
3
- import { DestroyedService } from '@fundamental-ngx/cdk/utils';
4
- import { TabLinkDirective } from './tab-link/tab-link.directive';
5
7
  import { TabItemDirective } from './tab-item/tab-item.directive';
8
+ import { TabLinkDirective } from './tab-link/tab-link.directive';
9
+ import { TabListComponentInterface } from './tab-list-component.interface';
6
10
  import { TabPanelComponent } from './tab-panel/tab-panel.component';
7
11
  import { TabInfo } from './tab-utils/tab-info.class';
8
- import { MenuComponent } from '@fundamental-ngx/core/menu';
9
- import { Nullable } from '@fundamental-ngx/cdk/utils';
10
- import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
11
- import { TabListComponentInterface } from './tab-list-component.interface';
12
12
  import * as i0 from "@angular/core";
13
13
  export type TabModes = 'icon-only' | 'process' | 'filter';
14
14
  export type TabSizes = 's' | 'm' | 'l' | 'xl' | 'xxl';
@@ -66,11 +66,13 @@ export declare class TabListComponent implements TabListComponentInterface, Afte
66
66
  /** @hidden */
67
67
  headerContainer: ElementRef;
68
68
  /** @hidden */
69
- contentContainer: ElementRef;
69
+ _scrollbar: ScrollbarDirective;
70
+ /** @hidden */
71
+ menu: MenuComponent;
70
72
  /** @hidden */
71
73
  private _overflowLayout;
72
74
  /** @hidden */
73
- menu: MenuComponent;
75
+ get contentContainer(): ElementRef<HTMLElement>;
74
76
  /** @hidden Collection of tabs in original order */
75
77
  _tabArray: TabInfo[];
76
78
  /** @hidden Whether to disable scroll spy */
Binary file