@fundamental-ngx/platform 0.43.16 → 0.43.17

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 (68) hide show
  1. package/esm2020/approval-flow/approval-flow-team-list/approval-flow-team-list.component.mjs +1 -1
  2. package/esm2020/approval-flow/approval-flow-user-list/approval-flow-user-list.component.mjs +1 -1
  3. package/esm2020/form/combobox/combobox/combobox.component.mjs +7 -7
  4. package/esm2020/form/combobox/commons/base-combobox.mjs +12 -1
  5. package/esm2020/form/multi-combobox/commons/base-multi-combobox.mjs +5 -2
  6. package/esm2020/form/multi-combobox/multi-combobox/multi-combobox.component.mjs +28 -30
  7. package/esm2020/form/multi-input/base-multi-input.mjs +5 -1
  8. package/esm2020/form/multi-input/multi-input.component.mjs +3 -3
  9. package/esm2020/form/select/select/select.component.mjs +3 -3
  10. package/esm2020/list/list.component.mjs +11 -3
  11. package/esm2020/search-field/search-field.component.mjs +3 -3
  12. package/esm2020/shared/domain/data-source.mjs +3 -2
  13. package/esm2020/shared/form/base.input.mjs +13 -9
  14. package/esm2020/table/components/table-cell-header-popover/table-cell-header-popover.component.mjs +1 -1
  15. package/esm2020/table/components/table-header-cell-content/table-header-cell-content.component.mjs +3 -3
  16. package/esm2020/table/components/table-header-row/table-header-row.component.mjs +7 -4
  17. package/esm2020/table/components/table-row/table-row.component.mjs +3 -3
  18. package/esm2020/table/table.component.mjs +13 -12
  19. package/esm2020/table-helpers/pipes/column-sorting-direction.pipe.mjs +27 -0
  20. package/esm2020/table-helpers/pipes/index.mjs +2 -1
  21. package/esm2020/table-helpers/table-helpers.module.mjs +9 -6
  22. package/esm2020/upload-collection/upload-collection/upload-collection.component.mjs +1 -1
  23. package/fesm2015/fundamental-ngx-platform-approval-flow.mjs +2 -2
  24. package/fesm2015/fundamental-ngx-platform-approval-flow.mjs.map +1 -1
  25. package/fesm2015/fundamental-ngx-platform-form.mjs +140 -125
  26. package/fesm2015/fundamental-ngx-platform-form.mjs.map +1 -1
  27. package/fesm2015/fundamental-ngx-platform-list.mjs +9 -2
  28. package/fesm2015/fundamental-ngx-platform-list.mjs.map +1 -1
  29. package/fesm2015/fundamental-ngx-platform-search-field.mjs +2 -2
  30. package/fesm2015/fundamental-ngx-platform-search-field.mjs.map +1 -1
  31. package/fesm2015/fundamental-ngx-platform-shared.mjs +12 -7
  32. package/fesm2015/fundamental-ngx-platform-shared.mjs.map +1 -1
  33. package/fesm2015/fundamental-ngx-platform-table-helpers.mjs +32 -4
  34. package/fesm2015/fundamental-ngx-platform-table-helpers.mjs.map +1 -1
  35. package/fesm2015/fundamental-ngx-platform-table.mjs +21 -17
  36. package/fesm2015/fundamental-ngx-platform-table.mjs.map +1 -1
  37. package/fesm2015/fundamental-ngx-platform-upload-collection.mjs +1 -1
  38. package/fesm2015/fundamental-ngx-platform-upload-collection.mjs.map +1 -1
  39. package/fesm2020/fundamental-ngx-platform-approval-flow.mjs +2 -2
  40. package/fesm2020/fundamental-ngx-platform-approval-flow.mjs.map +1 -1
  41. package/fesm2020/fundamental-ngx-platform-form.mjs +144 -128
  42. package/fesm2020/fundamental-ngx-platform-form.mjs.map +1 -1
  43. package/fesm2020/fundamental-ngx-platform-list.mjs +10 -2
  44. package/fesm2020/fundamental-ngx-platform-list.mjs.map +1 -1
  45. package/fesm2020/fundamental-ngx-platform-search-field.mjs +2 -2
  46. package/fesm2020/fundamental-ngx-platform-search-field.mjs.map +1 -1
  47. package/fesm2020/fundamental-ngx-platform-shared.mjs +12 -7
  48. package/fesm2020/fundamental-ngx-platform-shared.mjs.map +1 -1
  49. package/fesm2020/fundamental-ngx-platform-table-helpers.mjs +32 -4
  50. package/fesm2020/fundamental-ngx-platform-table-helpers.mjs.map +1 -1
  51. package/fesm2020/fundamental-ngx-platform-table.mjs +21 -17
  52. package/fesm2020/fundamental-ngx-platform-table.mjs.map +1 -1
  53. package/fesm2020/fundamental-ngx-platform-upload-collection.mjs +1 -1
  54. package/fesm2020/fundamental-ngx-platform-upload-collection.mjs.map +1 -1
  55. package/form/combobox/combobox/combobox.component.d.ts +2 -2
  56. package/form/combobox/commons/base-combobox.d.ts +2 -0
  57. package/form/multi-combobox/multi-combobox/multi-combobox.component.d.ts +7 -7
  58. package/fundamental-ngx-platform-v0.43.17.tgz +0 -0
  59. package/list/list.component.d.ts +3 -1
  60. package/package.json +4 -4
  61. package/schematics/ng-add/index.js +1 -1
  62. package/shared/form/base.input.d.ts +5 -4
  63. package/table/components/table-header-row/table-header-row.component.d.ts +3 -1
  64. package/table/table.component.d.ts +4 -3
  65. package/table-helpers/pipes/column-sorting-direction.pipe.d.ts +12 -0
  66. package/table-helpers/pipes/index.d.ts +1 -0
  67. package/table-helpers/table-helpers.module.d.ts +2 -1
  68. package/fundamental-ngx-platform-v0.43.16.tgz +0 -0
@@ -25,7 +25,7 @@ import { TranslationResolver, FD_LANGUAGE, I18nModule } from '@fundamental-ngx/i
25
25
  import * as i11$1 from '@fundamental-ngx/core/button';
26
26
  import { ButtonModule } from '@fundamental-ngx/core/button';
27
27
  import { PlatformLinkModule } from '@fundamental-ngx/platform/link';
28
- import { ENTER, SPACE, DOWN_ARROW, UP_ARROW } from '@angular/cdk/keycodes';
28
+ import { ENTER, SPACE, TAB, DOWN_ARROW, UP_ARROW } from '@angular/cdk/keycodes';
29
29
  import * as i7$1 from '@fundamental-ngx/core/checkbox';
30
30
  import { CheckboxComponent, CheckboxModule } from '@fundamental-ngx/core/checkbox';
31
31
  import * as i8$2 from '@fundamental-ngx/core/radio';
@@ -707,6 +707,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
707
707
  }]
708
708
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
709
709
 
710
+ /* eslint-disable @typescript-eslint/member-ordering */
710
711
  class SelectionChangeEvent {
711
712
  }
712
713
  let nextListId = 0;
@@ -816,6 +817,8 @@ class ListComponent extends CollectionBaseInput {
816
817
  this.selectionMode = 'none';
817
818
  /** Whether to display unread notification indicator. */
818
819
  this.unreadIndicator = false;
820
+ /** Whether to intercept tab key navigation. */
821
+ this.interceptTabKey = true;
819
822
  /** Event thrown, when selected item is changed */
820
823
  this.selectedItemChange = new EventEmitter();
821
824
  /**
@@ -938,6 +941,9 @@ class ListComponent extends CollectionBaseInput {
938
941
  if (!this._keyManager) {
939
942
  return;
940
943
  }
944
+ if (KeyUtil.isKeyCode(event, TAB) && !this.interceptTabKey) {
945
+ return;
946
+ }
941
947
  event.stopImmediatePropagation();
942
948
  const activeItemIndex = this._keyManager.activeItemIndex;
943
949
  if (activeItemIndex) {
@@ -1272,7 +1278,7 @@ class ListComponent extends CollectionBaseInput {
1272
1278
  }
1273
1279
  }
1274
1280
  ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ListComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1$1.LiveAnnouncer }, { token: FD_LANGUAGE }, { token: i2.NgControl, optional: true, self: true }, { token: i2.ControlContainer, optional: true, self: true }, { token: i2.NgForm, optional: true, self: true }, { token: FD_FORM_FIELD, host: true, optional: true, skipSelf: true }, { token: FD_FORM_FIELD_CONTROL, host: true, optional: true, skipSelf: true }, { token: ListConfig }], target: i0.ɵɵFactoryTarget.Component });
1275
- ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: ListComponent, selector: "fdp-list", inputs: { selectedItems: "selectedItems", ariaSetsize: "ariaSetsize", ariaMultiselectable: "ariaMultiselectable", loadTitle: "loadTitle", loadingLabel: "loadingLabel", delayTime: "delayTime", itemSize: "itemSize", loadMore: "loadMore", loadOnScroll: "loadOnScroll", role: "role", listType: "listType", maxHeight: "maxHeight", noBorder: "noBorder", scrollOffsetPercentage: "scrollOffsetPercentage", selection: "selection", selectionMode: "selectionMode", value: "value", rowSelection: "rowSelection", dataSource: "dataSource", navigated: "navigated", navigationIndicator: "navigationIndicator", hasByLine: "hasByLine", hasObject: "hasObject", unreadIndicator: "unreadIndicator" }, outputs: { selectedItemChange: "selectedItemChange" }, host: { listeners: { "click": "_updateNavigation($event)" }, properties: { "attr.tabindex": "-1" } }, providers: [
1281
+ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: ListComponent, selector: "fdp-list", inputs: { selectedItems: "selectedItems", ariaSetsize: "ariaSetsize", ariaMultiselectable: "ariaMultiselectable", loadTitle: "loadTitle", loadingLabel: "loadingLabel", delayTime: "delayTime", itemSize: "itemSize", loadMore: "loadMore", loadOnScroll: "loadOnScroll", role: "role", listType: "listType", maxHeight: "maxHeight", noBorder: "noBorder", scrollOffsetPercentage: "scrollOffsetPercentage", selection: "selection", selectionMode: "selectionMode", value: "value", rowSelection: "rowSelection", dataSource: "dataSource", navigated: "navigated", navigationIndicator: "navigationIndicator", hasByLine: "hasByLine", hasObject: "hasObject", unreadIndicator: "unreadIndicator", interceptTabKey: "interceptTabKey" }, outputs: { selectedItemChange: "selectedItemChange" }, host: { listeners: { "click": "_updateNavigation($event)" }, properties: { "attr.tabindex": "-1" } }, providers: [
1276
1282
  { provide: FD_FORM_FIELD_CONTROL, useExisting: ListComponent, multi: true },
1277
1283
  { provide: FdpListComponent, useExisting: ListComponent },
1278
1284
  {
@@ -1373,6 +1379,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1373
1379
  type: Input
1374
1380
  }], unreadIndicator: [{
1375
1381
  type: Input
1382
+ }], interceptTabKey: [{
1383
+ type: Input
1376
1384
  }], selectedItemChange: [{
1377
1385
  type: Output
1378
1386
  }], anchor: [{