@fundamental-ngx/core 0.43.8 → 0.43.10

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 (55) hide show
  1. package/dynamic-page/dynamic-page.component.d.ts +12 -7
  2. package/esm2020/dynamic-page/dynamic-page.component.mjs +29 -26
  3. package/esm2020/link/link.component.mjs +2 -2
  4. package/esm2020/list/directives/list-navigation-item-arrow.directive.mjs +11 -13
  5. package/esm2020/list/list-navigation-item/list-navigation-item.component.mjs +4 -9
  6. package/esm2020/multi-input/multi-input.component.mjs +14 -6
  7. package/esm2020/multi-input/multi-input.module.mjs +17 -14
  8. package/esm2020/scrollbar/scrollbar.directive.mjs +9 -8
  9. package/esm2020/tabs/tab-list.component.mjs +27 -22
  10. package/esm2020/token/token.component.mjs +3 -3
  11. package/esm2020/token/tokenizer.component.mjs +30 -11
  12. package/esm2020/vertical-navigation/vertical-navigation-main-navigation.component.mjs +2 -2
  13. package/esm2020/vertical-navigation/vertical-navigation.component.mjs +2 -2
  14. package/fesm2015/fundamental-ngx-core-dynamic-page.mjs +228 -226
  15. package/fesm2015/fundamental-ngx-core-dynamic-page.mjs.map +1 -1
  16. package/fesm2015/fundamental-ngx-core-link.mjs +2 -2
  17. package/fesm2015/fundamental-ngx-core-link.mjs.map +1 -1
  18. package/fesm2015/fundamental-ngx-core-list.mjs +12 -20
  19. package/fesm2015/fundamental-ngx-core-list.mjs.map +1 -1
  20. package/fesm2015/fundamental-ngx-core-multi-input.mjs +63 -52
  21. package/fesm2015/fundamental-ngx-core-multi-input.mjs.map +1 -1
  22. package/fesm2015/fundamental-ngx-core-scrollbar.mjs +9 -8
  23. package/fesm2015/fundamental-ngx-core-scrollbar.mjs.map +1 -1
  24. package/fesm2015/fundamental-ngx-core-tabs.mjs +27 -22
  25. package/fesm2015/fundamental-ngx-core-tabs.mjs.map +1 -1
  26. package/fesm2015/fundamental-ngx-core-token.mjs +26 -7
  27. package/fesm2015/fundamental-ngx-core-token.mjs.map +1 -1
  28. package/fesm2015/fundamental-ngx-core-vertical-navigation.mjs +4 -4
  29. package/fesm2015/fundamental-ngx-core-vertical-navigation.mjs.map +1 -1
  30. package/fesm2020/fundamental-ngx-core-dynamic-page.mjs +202 -200
  31. package/fesm2020/fundamental-ngx-core-dynamic-page.mjs.map +1 -1
  32. package/fesm2020/fundamental-ngx-core-link.mjs +2 -2
  33. package/fesm2020/fundamental-ngx-core-link.mjs.map +1 -1
  34. package/fesm2020/fundamental-ngx-core-list.mjs +12 -19
  35. package/fesm2020/fundamental-ngx-core-list.mjs.map +1 -1
  36. package/fesm2020/fundamental-ngx-core-multi-input.mjs +63 -52
  37. package/fesm2020/fundamental-ngx-core-multi-input.mjs.map +1 -1
  38. package/fesm2020/fundamental-ngx-core-scrollbar.mjs +9 -8
  39. package/fesm2020/fundamental-ngx-core-scrollbar.mjs.map +1 -1
  40. package/fesm2020/fundamental-ngx-core-tabs.mjs +26 -22
  41. package/fesm2020/fundamental-ngx-core-tabs.mjs.map +1 -1
  42. package/fesm2020/fundamental-ngx-core-token.mjs +26 -7
  43. package/fesm2020/fundamental-ngx-core-token.mjs.map +1 -1
  44. package/fesm2020/fundamental-ngx-core-vertical-navigation.mjs +4 -4
  45. package/fesm2020/fundamental-ngx-core-vertical-navigation.mjs.map +1 -1
  46. package/fundamental-ngx-core-v0.43.10.tgz +0 -0
  47. package/list/directives/list-navigation-item-arrow.directive.d.ts +0 -6
  48. package/multi-input/multi-input.component.d.ts +5 -1
  49. package/multi-input/multi-input.module.d.ts +2 -1
  50. package/package.json +3 -3
  51. package/schematics/add-dependencies/index.js +4 -4
  52. package/scrollbar/scrollbar.directive.d.ts +6 -4
  53. package/tabs/tab-list.component.d.ts +10 -8
  54. package/token/tokenizer.component.d.ts +10 -2
  55. package/fundamental-ngx-core-v0.43.8.tgz +0 -0
@@ -12,8 +12,9 @@ import * as i10 from "@fundamental-ngx/core/form";
12
12
  import * as i11 from "@fundamental-ngx/core/checkbox";
13
13
  import * as i12 from "@fundamental-ngx/core/link";
14
14
  import * as i13 from "@fundamental-ngx/core/content-density";
15
+ import * as i14 from "@fundamental-ngx/i18n";
15
16
  export declare class MultiInputModule {
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<MultiInputModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<MultiInputModule, [typeof i1.MultiInputComponent, typeof i2.DeprecatedMultiInputCompactDirective], [typeof i3.CommonModule, typeof i4.TokenModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.ListModule, typeof i7.PopoverModule, typeof i8.PipeModule, typeof i9.InputGroupModule, typeof i10.FormModule, typeof i11.CheckboxModule, typeof i12.LinkModule, typeof i8.AutoCompleteModule, typeof i13.ContentDensityModule], [typeof i1.MultiInputComponent, typeof i2.DeprecatedMultiInputCompactDirective, typeof i13.ContentDensityModule]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MultiInputModule, [typeof i1.MultiInputComponent, typeof i2.DeprecatedMultiInputCompactDirective], [typeof i3.CommonModule, typeof i4.TokenModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.ListModule, typeof i7.PopoverModule, typeof i8.PipeModule, typeof i9.InputGroupModule, typeof i10.FormModule, typeof i11.CheckboxModule, typeof i12.LinkModule, typeof i8.AutoCompleteModule, typeof i13.ContentDensityModule, typeof i14.I18nModule], [typeof i1.MultiInputComponent, typeof i2.DeprecatedMultiInputCompactDirective, typeof i13.ContentDensityModule]>;
18
19
  static ɵinj: i0.ɵɵInjectorDeclaration<MultiInputModule>;
19
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fundamental-ngx/core",
3
- "version": "0.43.8",
3
+ "version": "0.43.10",
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.8",
32
- "@fundamental-ngx/i18n": "0.43.8",
31
+ "@fundamental-ngx/cdk": "0.43.10",
32
+ "@fundamental-ngx/i18n": "0.43.10",
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.8', '<')) {
57
+ (0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/i18n', '0.43.10', '<')) {
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.8`,
61
+ version: `0.43.10`,
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.8', '<')) {
67
+ (0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/cdk', '0.43.10', '<')) {
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.8`,
71
+ version: `0.43.10`,
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 */
@@ -1,8 +1,8 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, Renderer2, ViewContainerRef } from '@angular/core';
2
- import { Observable, Subscription } from 'rxjs';
3
2
  import { CssClassBuilder, RtlService } from '@fundamental-ngx/cdk/utils';
4
- import { TokenComponent } from './token.component';
5
3
  import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
4
+ import { Observable, Subscription } from 'rxjs';
5
+ import { TokenComponent } from './token.component';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class TokenizerComponent implements AfterViewInit, OnDestroy, CssClassBuilder, OnInit, OnChanges {
8
8
  readonly _contentDensityObserver: ContentDensityObserver;
@@ -133,6 +133,14 @@ export declare class TokenizerComponent implements AfterViewInit, OnDestroy, Css
133
133
  handleKeyDown(event: KeyboardEvent, fromIndex: number): void;
134
134
  /** @hidden */
135
135
  getCombinedTokenWidth(): number;
136
+ /**
137
+ * Check whether user intends to go back to the previous token
138
+ **/
139
+ private _goBackRequested;
140
+ /**
141
+ * Check whether user intends to go forward to the next token
142
+ **/
143
+ private _goForwardRequested;
136
144
  /** @hidden */
137
145
  private _getTokensAreaWidthWithoutTokens;
138
146
  /** @hidden */
Binary file