@nova-ui/bits 11.12.0 → 12.0.0-3316

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 (156) hide show
  1. package/README.md +15 -10
  2. package/bundles/css/styles-css-variables.css +1 -1
  3. package/bundles/css/styles-v7-compat.css +1 -1
  4. package/bundles/css/styles.css +2 -2
  5. package/bundles/nova-ui-bits.umd.js +603 -570
  6. package/bundles/nova-ui-bits.umd.js.map +1 -1
  7. package/constants/wizard.constants.d.ts +1 -1
  8. package/esm2015/common/directives/clipboard/clipboard.directive.js +1 -1
  9. package/esm2015/common/directives/dragdrop/drag-and-drop.service.js +1 -1
  10. package/esm2015/common/directives/dragdrop/draggable.directive.js +1 -1
  11. package/esm2015/common/directives/dragdrop/droppable.directive.js +1 -1
  12. package/esm2015/common/directives/resize-observer/resize-observer.directive.js +1 -2
  13. package/esm2015/common/directives/resizer/resizer.directive.js +1 -2
  14. package/esm2015/common/directives/zoom-content/zoom-content.directive.js +1 -2
  15. package/esm2015/constants/wizard.constants.js +1 -1
  16. package/esm2015/lib/breadcrumb/breadcrumb.component.js +1 -1
  17. package/esm2015/lib/busy/busy.component.js +2 -2
  18. package/esm2015/lib/button/button.component.js +1 -1
  19. package/esm2015/lib/checkbox/checkbox.component.js +1 -1
  20. package/esm2015/lib/chips/chip/chip.component.js +1 -1
  21. package/esm2015/lib/chips/chips-overflow/chips-overflow.component.js +2 -2
  22. package/esm2015/lib/chips/chips-overflow.service.js +3 -3
  23. package/esm2015/lib/chips/chips.component.js +2 -2
  24. package/esm2015/lib/content/content.component.js +1 -1
  25. package/esm2015/lib/convenience/time-frame-bar/time-frame-bar.component.js +1 -1
  26. package/esm2015/lib/date-picker/date-picker.component.js +2 -2
  27. package/esm2015/lib/date-time-picker/date-time-picker.component.js +1 -1
  28. package/esm2015/lib/dialog/dialog-footer.component.js +1 -1
  29. package/esm2015/lib/dialog/dialog-ref.js +1 -1
  30. package/esm2015/lib/dialog/dialog.component.js +1 -1
  31. package/esm2015/lib/divider/divider.component.js +1 -1
  32. package/esm2015/lib/dnd/dnd-drop-target.directive.js +1 -1
  33. package/esm2015/lib/docs/copy-text/copy-text.component.js +1 -1
  34. package/esm2015/lib/docs/example-code/example-code.component.js +3 -3
  35. package/esm2015/lib/docs/example-wrapper/example-wrapper.component.js +1 -1
  36. package/esm2015/lib/docs/services/sources.service.js +3 -3
  37. package/esm2015/lib/expander/expander.component.js +1 -1
  38. package/esm2015/lib/form-field/form-field.component.js +1 -1
  39. package/esm2015/lib/icon/icon.component.js +1 -1
  40. package/esm2015/lib/image/image.component.js +2 -2
  41. package/esm2015/lib/layout/card/card.component.js +1 -1
  42. package/esm2015/lib/layout/card-group/card-group.component.js +1 -1
  43. package/esm2015/lib/layout/layout-resizer/layout-resizer.component.js +1 -1
  44. package/esm2015/lib/layout/sheet/sheet.component.js +1 -1
  45. package/esm2015/lib/layout/sheet-group/sheet-group.component.js +1 -1
  46. package/esm2015/lib/menu/menu/menu.component.js +2 -2
  47. package/esm2015/lib/menu/menu-item/menu-action/menu-action.component.js +1 -1
  48. package/esm2015/lib/menu/menu-item/menu-group/menu-group.component.js +1 -1
  49. package/esm2015/lib/menu/menu-item/menu-item/menu-item.component.js +1 -1
  50. package/esm2015/lib/menu/menu-item/menu-link/menu-link.component.js +1 -1
  51. package/esm2015/lib/menu/menu-item/menu-option/menu-option.component.js +1 -1
  52. package/esm2015/lib/menu/menu-item/menu-switch/menu-switch.component.js +1 -1
  53. package/esm2015/lib/menu/menu-key-control.service.js +1 -1
  54. package/esm2015/lib/menu/menu-popup/menu-popup.component.js +2 -2
  55. package/esm2015/lib/message/message.component.js +1 -1
  56. package/esm2015/lib/overlay/arrow-component/overlay-arrow.component.js +1 -1
  57. package/esm2015/lib/overlay/overlay-component/overlay.component.js +4 -3
  58. package/esm2015/lib/overlay/overlay-container.service.js +1 -1
  59. package/esm2015/lib/overlay/overlay-item/overlay-item.component.js +1 -1
  60. package/esm2015/lib/overlay/overlay-utilities.service.js +1 -2
  61. package/esm2015/lib/overlay/overlay.service.js +3 -2
  62. package/esm2015/lib/paginator/paginator.component.js +1 -1
  63. package/esm2015/lib/panel/panel.component.js +3 -3
  64. package/esm2015/lib/popover/popover.component.js +2 -2
  65. package/esm2015/lib/popup/popup.component.js +2 -2
  66. package/esm2015/lib/popup-adapter/popup-adapter.component.js +2 -2
  67. package/esm2015/lib/progress/progress.component.js +1 -1
  68. package/esm2015/lib/radio/radio-group.component.js +1 -1
  69. package/esm2015/lib/repeat/repeat-item/repeat-item.component.js +1 -1
  70. package/esm2015/lib/repeat/repeat.component.js +35 -16
  71. package/esm2015/lib/repeat/types.js +1 -1
  72. package/esm2015/lib/search/search.component.js +1 -1
  73. package/esm2015/lib/select/combobox/combobox.component.js +3 -3
  74. package/esm2015/lib/select/select.component.js +1 -1
  75. package/esm2015/lib/select-v2/base-select-v2.js +1 -2
  76. package/esm2015/lib/select-v2/combobox-v2/combobox-v2.component.js +2 -2
  77. package/esm2015/lib/select-v2/combobox-v2-option-highlight/combobox-v2-option-highlight.directive.js +1 -1
  78. package/esm2015/lib/select-v2/option/select-v2-option.component.js +2 -2
  79. package/esm2015/lib/select-v2/option-group/select-v2-option-group.component.js +1 -1
  80. package/esm2015/lib/select-v2/option-key-control.service.js +1 -1
  81. package/esm2015/lib/select-v2/select/select-v2.component.js +2 -2
  82. package/esm2015/lib/select-v2/selected-items-key-control.service.js +1 -1
  83. package/esm2015/lib/selector/selector.component.js +1 -1
  84. package/esm2015/lib/selector/selector.service.js +1 -1
  85. package/esm2015/lib/sorter/sorter-keyboard.service.js +1 -1
  86. package/esm2015/lib/sorter/sorter.component.js +2 -2
  87. package/esm2015/lib/spinner/spinner.component.js +1 -1
  88. package/esm2015/lib/switch/switch.component.js +1 -1
  89. package/esm2015/lib/tabgroup/tab-group/tab-group.component.js +1 -1
  90. package/esm2015/lib/tabgroup/tab-heading/tab-heading.component.js +1 -1
  91. package/esm2015/lib/tabgroup/tab-heading-group/tab-heading-group.component.js +2 -3
  92. package/esm2015/lib/table/table-cell/table-header-cell.component.js +1 -1
  93. package/esm2015/lib/table/table-row/table-row.component.js +7 -8
  94. package/esm2015/lib/table/table-state-handler.service.js +1 -1
  95. package/esm2015/lib/table/table-virtual-scroll/table-sticky-header.directive.js +1 -2
  96. package/esm2015/lib/table/table.component.js +67 -54
  97. package/esm2015/lib/textbox/textbox-number/textbox-number.component.js +2 -2
  98. package/esm2015/lib/textbox/textbox.component.js +1 -1
  99. package/esm2015/lib/time-frame-picker/quick-picker/quick-picker.component.js +1 -1
  100. package/esm2015/lib/time-frame-picker/time-frame-picker.component.js +1 -1
  101. package/esm2015/lib/time-picker/time-picker-keyboard.service.js +1 -1
  102. package/esm2015/lib/time-picker/time-picker.component.js +2 -2
  103. package/esm2015/lib/toast/toast.component.js +1 -1
  104. package/esm2015/lib/toast/toast.service.js +1 -1
  105. package/esm2015/lib/toolbar/toolbar-keyboard.service.js +1 -1
  106. package/esm2015/lib/toolbar/toolbar.component.js +1 -1
  107. package/esm2015/lib/tooltip/tooltip.component.js +2 -2
  108. package/esm2015/lib/tooltip/tooltip.directive.js +1 -1
  109. package/esm2015/lib/validation-message/validation-message.component.js +1 -1
  110. package/esm2015/lib/wizard/wizard.component.js +2 -2
  111. package/esm2015/lib/wizard-v2/wizard-footer/wizard-footer.component.js +1 -1
  112. package/esm2015/lib/wizard-v2/wizard-horizontal/wizard-horizontal.component.js +9 -8
  113. package/esm2015/lib/wizard-v2/wizard-overflow/wizard-overflow.component.js +1 -1
  114. package/esm2015/lib/wizard-v2/wizard-step-header/wizard-step-header.component.js +3 -3
  115. package/esm2015/lib/wizard-v2/wizard-vertical/wizard-vertical.component.js +4 -6
  116. package/esm2015/lib/wizard-v2/wizard.directive.js +1 -1
  117. package/esm2015/services/data-source/client-side-data-source.service.js +1 -1
  118. package/esm2015/services/data-source/data-source-features.js +1 -1
  119. package/esm2015/services/data-source/data-source.service.js +1 -1
  120. package/esm2015/services/data-source/local-filtering-data-source.service.js +1 -1
  121. package/esm2015/services/dom-util.service.js +1 -1
  122. package/esm2015/services/edge-detection.service.js +1 -1
  123. package/esm2015/services/event-propagation.service.js +1 -1
  124. package/esm2015/services/list.service.js +1 -1
  125. package/esm2015/services/tab-navigation.service.js +1 -1
  126. package/esm2015/services/util.service.js +5 -2
  127. package/fesm2015/nova-ui-bits.js +202 -167
  128. package/fesm2015/nova-ui-bits.js.map +1 -1
  129. package/lib/docs/example-code/example-code.component.d.ts +1 -1
  130. package/lib/docs/srlc-indicator/srlc-indicator.component.d.ts +1 -1
  131. package/lib/overlay/overlay-utilities.service.d.ts +0 -1
  132. package/lib/repeat/repeat.component.d.ts +2 -2
  133. package/lib/repeat/types.d.ts +1 -1
  134. package/lib/select-v2/base-select-v2.d.ts +3 -3
  135. package/lib/table/table.component.d.ts +2 -3
  136. package/lib/wizard-v2/wizard-horizontal/wizard-horizontal.component.d.ts +1 -1
  137. package/lib/wizard-v2/wizard-vertical/wizard-vertical.component.d.ts +1 -1
  138. package/nova-ui-bits.metadata.json +1 -1
  139. package/package.json +12 -11
  140. package/sdk/atoms/components/combobox-v2/combobox-v2.atom.d.ts +1 -1
  141. package/sdk/atoms/components/overlay/overlay.atom.d.ts +3 -3
  142. package/sdk/atoms/components/select-v2/base-select-v2.atom.d.ts +1 -1
  143. package/sdk/atoms/components/select-v2/base-select-v2.atom.js.map +1 -1
  144. package/sdk/atoms/helpers.d.ts +3 -3
  145. package/sdk/atoms/helpers.js +46 -22
  146. package/sdk/atoms/helpers.js.map +1 -1
  147. package/sdk/atoms/virtual-camera/eyes-lens.js +2 -1
  148. package/sdk/atoms/virtual-camera/eyes-lens.js.map +1 -1
  149. package/sdk/locale/messages.en.xlf +279 -122
  150. package/sdk/schematics/filter-group/index.js.map +1 -1
  151. package/sdk/schematics/ng-add/schema.json +5 -0
  152. package/sdk/schematics/utility/schematics-helper.d.ts +1 -0
  153. package/sdk/schematics/utility/schematics-helper.js +6 -2
  154. package/sdk/schematics/utility/schematics-helper.js.map +1 -1
  155. package/bundles/nova-ui-bits.umd.min.js +0 -16
  156. package/bundles/nova-ui-bits.umd.min.js.map +0 -1
@@ -38,6 +38,6 @@ export declare class ExampleCodeComponent implements AfterViewInit {
38
38
  * https://highlightjs.org/static/demo/ for possible values
39
39
  */
40
40
  language: string;
41
- codeElement: ElementRef;
41
+ codeElement: ElementRef<HTMLDivElement>;
42
42
  ngAfterViewInit(): void;
43
43
  }
@@ -8,6 +8,6 @@ export declare class SrlcIndicatorComponent implements OnInit {
8
8
  globalSrlc: ISrlcDetails;
9
9
  componentSrlc: ISrlcDetails;
10
10
  ngOnInit(): void;
11
- getMessageType: () => "error" | "ok" | "critical" | "warning" | "info" | "hint";
11
+ getMessageType: () => "error" | "ok" | "info" | "critical" | "warning" | "hint";
12
12
  getMessageText: () => string;
13
13
  }
@@ -1,4 +1,3 @@
1
- import ResizeObserver from "resize-observer-polyfill";
2
1
  import { OverlayComponent } from "./overlay-component/overlay.component";
3
2
  import { IResizeConfig } from "./types";
4
3
  export declare class OverlayUtilitiesService {
@@ -9,7 +9,7 @@ import { IItemsReorderedEvent, IRepeatItem, IRepeatItemConfig, PaddingOptions, R
9
9
  * It can be used in "single"/"radio" or "multi" selection mode
10
10
  * <example-url>./../examples/index.html#/repeat</example-url>
11
11
  */
12
- export declare class RepeatComponent<T extends IRepeatItem = any> implements OnInit, OnDestroy, AfterViewInit, DoCheck, IFilterPub {
12
+ export declare class RepeatComponent<T extends IRepeatItem = unknown> implements OnInit, OnDestroy, AfterViewInit, DoCheck, IFilterPub {
13
13
  changeDetector: ChangeDetectorRef;
14
14
  logger: LoggerService;
15
15
  private iterableDiffers;
@@ -132,7 +132,7 @@ export declare class RepeatComponent<T extends IRepeatItem = any> implements OnI
132
132
  /** Emits when the drop list has been destroyed. */
133
133
  private readonly dropListDestroyed;
134
134
  get role(): string;
135
- constructor(changeDetector: ChangeDetectorRef, logger: LoggerService, iterableDiffers: IterableDiffers, dragDropService: DragDrop, elRef: ElementRef);
135
+ constructor(changeDetector: ChangeDetectorRef, logger: LoggerService, iterableDiffers: IterableDiffers, dragDropService: DragDrop, elRef: ElementRef<Element>);
136
136
  ngOnInit(): void;
137
137
  ngDoCheck(): void;
138
138
  ngAfterViewInit(): void;
@@ -24,7 +24,7 @@ export interface ITypedRepeatItem {
24
24
  disabled?: boolean;
25
25
  }
26
26
  export declare type IRepeatItem = ITypedRepeatItem | any;
27
- export interface IRepeatItemConfig<T = IRepeatItem> {
27
+ export interface IRepeatItemConfig<T extends IRepeatItem = IRepeatItem> {
28
28
  isDisabled?: (params: T) => boolean;
29
29
  isDraggable?: (params: T) => boolean;
30
30
  trackBy?: TrackByFunction<T>;
@@ -7,7 +7,7 @@ import { OverlayUtilitiesService } from "../overlay/overlay-utilities.service";
7
7
  import { IOption, OptionValueType, OverlayContainerType } from "../overlay/types";
8
8
  import { OptionKeyControlService } from "./option-key-control.service";
9
9
  import { SelectV2OptionComponent } from "./option/select-v2-option.component";
10
- import { IOptionedComponent } from "./types";
10
+ import { InputValueTypes, IOptionedComponent } from "./types";
11
11
  import { CdkVirtualScrollViewport } from "@angular/cdk/scrolling";
12
12
  import { LiveAnnouncer } from "@angular/cdk/a11y";
13
13
  export declare abstract class BaseSelectV2 implements AfterViewInit, AfterContentInit, ControlValueAccessor, IOptionedComponent, OnDestroy, OnChanges {
@@ -61,9 +61,9 @@ export declare abstract class BaseSelectV2 implements AfterViewInit, AfterConten
61
61
  private _ariaLabel;
62
62
  private virtualScrollResizeObserver;
63
63
  /** Emits value which has been selected */
64
- valueSelected: EventEmitter<string | import("../overlay/types").IOptionValueObject | OptionValueType[] | null>;
64
+ valueSelected: EventEmitter<OptionValueType | OptionValueType[]>;
65
65
  /** Emits value which has been changed */
66
- valueChanged: EventEmitter<string | number>;
66
+ valueChanged: EventEmitter<InputValueTypes>;
67
67
  /** Emits MouseEvent when click occurs outside Select/Combobox */
68
68
  clickOutsideDropdown: EventEmitter<MouseEvent>;
69
69
  protected constructor(optionKeyControlService: OptionKeyControlService<IOption>, cdRef: ChangeDetectorRef, elRef: ElementRef<HTMLElement>, liveAnnouncer: LiveAnnouncer);
@@ -2,8 +2,7 @@ import { Directionality } from "@angular/cdk/bidi";
2
2
  import { _ViewRepeater } from "@angular/cdk/collections";
3
3
  import { Platform } from "@angular/cdk/platform";
4
4
  import { CdkVirtualForOf, ViewportRuler } from "@angular/cdk/scrolling";
5
- import { _CoalescedStyleScheduler, CdkTable, StickyPositioningListener } from "@angular/cdk/table";
6
- import { RenderRow, RowContext } from "@angular/cdk/table/table";
5
+ import { _CoalescedStyleScheduler, CdkTable, RenderRow, RowContext, StickyPositioningListener } from "@angular/cdk/table";
7
6
  import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, IterableDiffers, OnChanges, OnDestroy, OnInit } from "@angular/core";
8
7
  import { IFilteringParticipants, ISelection } from "../../services/public-api";
9
8
  import { ComponentChanges } from "../../types";
@@ -40,7 +39,7 @@ export declare class TableComponent<T> extends CdkTable<T> implements OnInit, Af
40
39
  virtualFor?: CdkVirtualForOf<unknown>;
41
40
  constructor(_differs: IterableDiffers, _changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef<any>, role: string, _dir: Directionality, tableStateHandlerService: TableStateHandlerService, document: Document, platform: Platform, viewRepeater: _ViewRepeater<T, RenderRow<T>, RowContext<T>>, coalescedStyleScheduler: _CoalescedStyleScheduler, viewportRuler: ViewportRuler, stickyPositioningListener: StickyPositioningListener);
42
41
  getFilterComponents(): IFilteringParticipants;
43
- getPreselectedItems(items: any[]): T[];
42
+ getPreselectedItems(items: T[]): T[];
44
43
  ngOnChanges(changes: ComponentChanges<TableComponent<T>>): void;
45
44
  ngOnInit(): void;
46
45
  ngAfterViewInit(): void;
@@ -35,7 +35,7 @@ export declare class WizardHorizontalComponent extends WizardDirective implement
35
35
  headerContainer: ElementRef;
36
36
  stepHeaders: QueryList<WizardStepHeaderComponent>;
37
37
  overflowComponents: QueryList<WizardOverflowComponent>;
38
- constructor(dir: Directionality, cdRef: ChangeDetectorRef, el: ElementRef, zone: NgZone);
38
+ constructor(dir: Directionality, cdRef: ChangeDetectorRef, el: ElementRef, zone: NgZone, _document: any);
39
39
  ngOnInit(): void;
40
40
  ngAfterViewInit(): void;
41
41
  ngOnDestroy(): void;
@@ -11,5 +11,5 @@ export declare class WizardVerticalComponent extends WizardDirective {
11
11
  static ngAcceptInputTypeHasError: BooleanInput;
12
12
  get selectedIndex(): number;
13
13
  set selectedIndex(value: number);
14
- constructor(dir: Directionality, changeDetectorRef: ChangeDetectorRef, elementRef?: ElementRef<HTMLElement>, _document?: any);
14
+ constructor(dir: Directionality, changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef<HTMLElement>, _document: any);
15
15
  }