@cqa-lib/cqa-ui 1.0.22 → 1.0.23

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 (31) hide show
  1. package/esm2020/lib/badge/badge.component.mjs +20 -9
  2. package/esm2020/lib/dashboards/dashboard-header/dashboard-header.component.mjs +6 -3
  3. package/esm2020/lib/dashboards/failed-test-cases-card/failed-test-cases-card.component.mjs +16 -7
  4. package/esm2020/lib/dashboards/insight-card/insight-card.component.mjs +6 -6
  5. package/esm2020/lib/dynamic-select/dynamic-select-field.component.mjs +9 -2
  6. package/esm2020/lib/filters/dynamic-filter/dynamic-filter.component.mjs +12 -3
  7. package/esm2020/lib/selected-filters/selected-filters.component.mjs +6 -3
  8. package/esm2020/lib/table/dynamic-table/component-render-config.interface.mjs +2 -0
  9. package/esm2020/lib/table/dynamic-table/dynamic-cell-container.directive.mjs +118 -0
  10. package/esm2020/lib/table/dynamic-table/dynamic-table.component.mjs +121 -6
  11. package/esm2020/lib/templates/table-template.component.mjs +19 -4
  12. package/esm2020/lib/ui-kit.module.mjs +6 -1
  13. package/esm2020/public-api.mjs +3 -1
  14. package/fesm2015/cqa-lib-cqa-ui.mjs +327 -33
  15. package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
  16. package/fesm2020/cqa-lib-cqa-ui.mjs +324 -33
  17. package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
  18. package/lib/badge/badge.component.d.ts +3 -1
  19. package/lib/dashboards/dashboard-header/dashboard-header.component.d.ts +2 -1
  20. package/lib/dashboards/failed-test-cases-card/failed-test-cases-card.component.d.ts +5 -1
  21. package/lib/dynamic-select/dynamic-select-field.component.d.ts +2 -1
  22. package/lib/filters/dynamic-filter/dynamic-filter.component.d.ts +3 -1
  23. package/lib/selected-filters/selected-filters.component.d.ts +2 -1
  24. package/lib/table/dynamic-table/component-render-config.interface.d.ts +10 -0
  25. package/lib/table/dynamic-table/dynamic-cell-container.directive.d.ts +24 -0
  26. package/lib/table/dynamic-table/dynamic-table.component.d.ts +35 -5
  27. package/lib/templates/table-template.component.d.ts +6 -2
  28. package/lib/ui-kit.module.d.ts +40 -39
  29. package/package.json +1 -1
  30. package/public-api.d.ts +2 -0
  31. package/styles.css +1 -1
@@ -1,9 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare type BadgeVariant = 'warning' | 'error' | 'info' | 'success' | 'default' | 'outline';
3
+ export declare type BadgeSize = 'small' | 'medium';
3
4
  export declare class BadgeComponent {
4
5
  label: string;
5
6
  icon?: string;
6
7
  variant: BadgeVariant;
8
+ size: BadgeSize;
7
9
  backgroundColor?: string;
8
10
  textColor?: string;
9
11
  iconBackgroundColor?: string;
@@ -21,5 +23,5 @@ export declare class BadgeComponent {
21
23
  [key: string]: string;
22
24
  };
23
25
  static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "cqa-badge", never, { "label": "label"; "icon": "icon"; "variant": "variant"; "backgroundColor": "backgroundColor"; "textColor": "textColor"; "iconBackgroundColor": "iconBackgroundColor"; "iconColor": "iconColor"; }, {}, never, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "cqa-badge", never, { "label": "label"; "icon": "icon"; "variant": "variant"; "size": "size"; "backgroundColor": "backgroundColor"; "textColor": "textColor"; "iconBackgroundColor": "iconBackgroundColor"; "iconColor": "iconColor"; }, {}, never, never>;
25
27
  }
@@ -26,11 +26,12 @@ export declare class DashboardHeaderComponent {
26
26
  workspaceSearchable: boolean;
27
27
  showWorkspaceSelector: boolean;
28
28
  workspaceValueChange: EventEmitter<any>;
29
+ workspaceSelectClick: EventEmitter<void>;
29
30
  workspaceForm: FormGroup;
30
31
  ngOnInit(): void;
31
32
  ngOnChanges(_changes: SimpleChanges): void;
32
33
  get workspaceConfig(): DynamicSelectFieldConfig;
33
34
  private syncFormFromInput;
34
35
  static ɵfac: i0.ɵɵFactoryDeclaration<DashboardHeaderComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<DashboardHeaderComponent, "cqa-dashboard-header", never, { "title": "title"; "badgeText": "badgeText"; "badgeClass": "badgeClass"; "headerClass": "headerClass"; "showHeader": "showHeader"; "showLogo": "showLogo"; "logoUrl": "logoUrl"; "showHelpIcon": "showHelpIcon"; "workspaceOptions": "workspaceOptions"; "workspacePlaceholder": "workspacePlaceholder"; "workspaceDisabled": "workspaceDisabled"; "workspaceValue": "workspaceValue"; "workspaceMultiple": "workspaceMultiple"; "workspaceSearchable": "workspaceSearchable"; "showWorkspaceSelector": "showWorkspaceSelector"; }, { "helpIconClick": "helpIconClick"; "workspaceValueChange": "workspaceValueChange"; }, never, ["*"]>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<DashboardHeaderComponent, "cqa-dashboard-header", never, { "title": "title"; "badgeText": "badgeText"; "badgeClass": "badgeClass"; "headerClass": "headerClass"; "showHeader": "showHeader"; "showLogo": "showLogo"; "logoUrl": "logoUrl"; "showHelpIcon": "showHelpIcon"; "workspaceOptions": "workspaceOptions"; "workspacePlaceholder": "workspacePlaceholder"; "workspaceDisabled": "workspaceDisabled"; "workspaceValue": "workspaceValue"; "workspaceMultiple": "workspaceMultiple"; "workspaceSearchable": "workspaceSearchable"; "showWorkspaceSelector": "showWorkspaceSelector"; }, { "helpIconClick": "helpIconClick"; "workspaceValueChange": "workspaceValueChange"; "workspaceSelectClick": "workspaceSelectClick"; }, never, ["*"]>;
36
37
  }
@@ -1,3 +1,4 @@
1
+ import { EventEmitter } from '@angular/core';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class FailedTestCasesCardComponent {
3
4
  /** E.g., "C-62: Upload Content" */
@@ -24,7 +25,10 @@ export declare class FailedTestCasesCardComponent {
24
25
  leftAccentClass: string;
25
26
  /** Optional tags to render under the title */
26
27
  tags: string[];
28
+ /** Emitted when the card is clicked */
29
+ cardClick: EventEmitter<void>;
27
30
  get rootCauseDisplay(): string;
31
+ onCardClick(): void;
28
32
  static ɵfac: i0.ɵɵFactoryDeclaration<FailedTestCasesCardComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<FailedTestCasesCardComponent, "cqa-failed-test-cases-card", never, { "title": "title"; "failures": "failures"; "failuresLabel": "failuresLabel"; "pillClass": "pillClass"; "rootCause": "rootCause"; "rootCauseLabel": "rootCauseLabel"; "showRootCause": "showRootCause"; "lastFailed": "lastFailed"; "lastFailedLabel": "lastFailedLabel"; "cardClass": "cardClass"; "leftAccentClass": "leftAccentClass"; "tags": "tags"; }, {}, never, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<FailedTestCasesCardComponent, "cqa-failed-test-cases-card", never, { "title": "title"; "failures": "failures"; "failuresLabel": "failuresLabel"; "pillClass": "pillClass"; "rootCause": "rootCause"; "rootCauseLabel": "rootCauseLabel"; "showRootCause": "showRootCause"; "lastFailed": "lastFailed"; "lastFailedLabel": "lastFailedLabel"; "cardClass": "cardClass"; "leftAccentClass": "leftAccentClass"; "tags": "tags"; }, { "cardClick": "cardClick"; }, never, never>;
30
34
  }
@@ -31,6 +31,7 @@ export declare class DynamicSelectFieldComponent implements OnInit, OnChanges {
31
31
  value: any;
32
32
  event: MatSelectChange;
33
33
  }>;
34
+ selectClick: EventEmitter<void>;
34
35
  selectRef?: MatSelect;
35
36
  hostEl?: ElementRef<HTMLElement>;
36
37
  searchTextByKey: Record<string, string>;
@@ -51,5 +52,5 @@ export declare class DynamicSelectFieldComponent implements OnInit, OnChanges {
51
52
  onSelectionChange(event: MatSelectChange, select: MatSelect): void;
52
53
  handleDocumentClick(event: MouseEvent): void;
53
54
  static ɵfac: i0.ɵɵFactoryDeclaration<DynamicSelectFieldComponent, never>;
54
- static ɵcmp: i0.ɵɵComponentDeclaration<DynamicSelectFieldComponent, "cqa-dynamic-select", never, { "form": "form"; "config": "config"; }, { "selectionChange": "selectionChange"; }, never, never>;
55
+ static ɵcmp: i0.ɵɵComponentDeclaration<DynamicSelectFieldComponent, "cqa-dynamic-select", never, { "form": "form"; "config": "config"; }, { "selectionChange": "selectionChange"; "selectClick": "selectClick"; }, never, never>;
55
56
  }
@@ -39,6 +39,8 @@ export declare class DynamicFilterComponent implements OnChanges {
39
39
  filtersApplied: EventEmitter<DynamicFilterValues>;
40
40
  filtersChanged: EventEmitter<DynamicFilterValues>;
41
41
  resetAction: EventEmitter<void>;
42
+ onApplyFilterClick: EventEmitter<DynamicFilterValues>;
43
+ onResetFilterClick: EventEmitter<void>;
42
44
  form: FormGroup;
43
45
  maxDate: Date;
44
46
  searchTextByKey: Record<string, string>;
@@ -64,6 +66,6 @@ export declare class DynamicFilterComponent implements OnChanges {
64
66
  private getPresetDates;
65
67
  getDateValidationError(key: string): string | null;
66
68
  static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFilterComponent, never>;
67
- static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFilterComponent, "cqa-dynamic-filter", never, { "config": "config"; "model": "model"; "showFilterPanel": "showFilterPanel"; }, { "filtersApplied": "filtersApplied"; "filtersChanged": "filtersChanged"; "resetAction": "resetAction"; }, never, never>;
69
+ static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFilterComponent, "cqa-dynamic-filter", never, { "config": "config"; "model": "model"; "showFilterPanel": "showFilterPanel"; }, { "filtersApplied": "filtersApplied"; "filtersChanged": "filtersChanged"; "resetAction": "resetAction"; "onApplyFilterClick": "onApplyFilterClick"; "onResetFilterClick": "onResetFilterClick"; }, never, never>;
68
70
  }
69
71
  export {};
@@ -12,6 +12,7 @@ export declare class SelectedFiltersComponent {
12
12
  chips: SelectedFilterChip[];
13
13
  removeChip: EventEmitter<SelectedFilterChip>;
14
14
  clearAll: EventEmitter<void>;
15
+ onClearAll: EventEmitter<void>;
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectedFiltersComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectedFiltersComponent, "cqa-selected-filters", never, { "filterApplied": "filterApplied"; "chips": "chips"; }, { "removeChip": "removeChip"; "clearAll": "clearAll"; }, never, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectedFiltersComponent, "cqa-selected-filters", never, { "filterApplied": "filterApplied"; "chips": "chips"; }, { "removeChip": "removeChip"; "clearAll": "clearAll"; "onClearAll": "onClearAll"; }, never, never>;
17
18
  }
@@ -0,0 +1,10 @@
1
+ import { Type } from '@angular/core';
2
+ export interface ComponentRenderConfig {
3
+ component: Type<any>;
4
+ inputs?: {
5
+ [key: string]: any;
6
+ };
7
+ outputs?: {
8
+ [key: string]: (event: any) => void;
9
+ };
10
+ }
@@ -0,0 +1,24 @@
1
+ import { ViewContainerRef, OnInit, OnDestroy, OnChanges, SimpleChanges, Type, ChangeDetectorRef } from '@angular/core';
2
+ import { ComponentRenderConfig } from './component-render-config.interface';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DynamicCellContainerDirective implements OnInit, OnChanges, OnDestroy {
5
+ viewContainerRef: ViewContainerRef;
6
+ private cdr;
7
+ componentConfig?: Type<any> | ComponentRenderConfig;
8
+ row?: any;
9
+ column?: any;
10
+ rowIndex?: number;
11
+ colId?: string;
12
+ private componentRef?;
13
+ private initialized;
14
+ constructor(viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef);
15
+ ngOnInit(): void;
16
+ ngOnChanges(changes: SimpleChanges): void;
17
+ ngOnDestroy(): void;
18
+ private createComponent;
19
+ private getComponentClass;
20
+ private getComponentInputs;
21
+ private getComponentOutputs;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<DynamicCellContainerDirective, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicCellContainerDirective, "[cqaCellContainer]", ["cqaCellContainer"], { "componentConfig": "componentConfig"; "row": "row"; "column": "column"; "rowIndex": "rowIndex"; "colId": "colId"; }, {}, never>;
24
+ }
@@ -1,17 +1,20 @@
1
- import { QueryList, TemplateRef, EventEmitter } from "@angular/core";
1
+ import { QueryList, TemplateRef, EventEmitter, ViewContainerRef, Type, OnDestroy, ChangeDetectorRef } from "@angular/core";
2
2
  import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
3
3
  import { DynamicCellTemplateDirective, DynamicHeaderTemplateDirective } from "./dynamic-cell.directive";
4
+ import { ComponentRenderConfig } from "./component-render-config.interface";
4
5
  import * as i0 from "@angular/core";
6
+ export { ComponentRenderConfig } from "./component-render-config.interface";
5
7
  export interface DynamicTableColumn {
6
8
  fieldId: string;
7
9
  fieldName?: string;
8
10
  fieldValue?: string;
9
11
  /**
10
12
  * Optional custom renderer invoked when no projected cell template is provided.
11
- * Returns the string/number/HTML string to display for the given row.
13
+ * Returns the string/number/HTML string/Component class/ComponentRenderConfig to display for the given row.
12
14
  * HTML strings will be sanitized and rendered safely.
15
+ * Component classes will be dynamically instantiated.
13
16
  */
14
- render?: (row: any, column: DynamicTableColumn) => string | number | SafeHtml;
17
+ render?: (row: any, column: DynamicTableColumn) => string | number | SafeHtml | Type<any> | ComponentRenderConfig;
15
18
  isDefault?: boolean;
16
19
  sortable?: boolean;
17
20
  isShow?: boolean;
@@ -23,8 +26,9 @@ export interface DynamicTableColumn {
23
26
  md?: boolean;
24
27
  };
25
28
  }
26
- export declare class DynamicTableComponent {
29
+ export declare class DynamicTableComponent implements OnDestroy {
27
30
  private sanitizer;
31
+ private cdr;
28
32
  data: any[];
29
33
  columns: DynamicTableColumn[];
30
34
  /**
@@ -50,7 +54,9 @@ export declare class DynamicTableComponent {
50
54
  cellTemplates: QueryList<DynamicCellTemplateDirective>;
51
55
  headerTemplates: QueryList<DynamicHeaderTemplateDirective>;
52
56
  emptyTableTpl?: TemplateRef<any>;
53
- constructor(sanitizer: DomSanitizer);
57
+ private componentRefs;
58
+ constructor(sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
59
+ ngOnDestroy(): void;
54
60
  private get isXs();
55
61
  private get isSm();
56
62
  private get isMd();
@@ -58,6 +64,30 @@ export declare class DynamicTableComponent {
58
64
  getHeaderTemplate(colId: string): TemplateRef<any> | null;
59
65
  getCellTemplate(colId: string): TemplateRef<any> | null;
60
66
  getRenderedValue(row: any, column: DynamicTableColumn): any;
67
+ /**
68
+ * Checks if the rendered value is a component class or component config
69
+ */
70
+ isComponent(value: any): boolean;
71
+ /**
72
+ * Gets the component class from a render value (could be class or config)
73
+ */
74
+ getComponentClass(value: Type<any> | ComponentRenderConfig): Type<any>;
75
+ /**
76
+ * Gets component inputs from a render value
77
+ */
78
+ getComponentInputs(value: Type<any> | ComponentRenderConfig): {
79
+ [key: string]: any;
80
+ };
81
+ /**
82
+ * Gets component outputs from a render value
83
+ */
84
+ getComponentOutputs(value: Type<any> | ComponentRenderConfig): {
85
+ [key: string]: (event: any) => void;
86
+ };
87
+ /**
88
+ * Initializes a component in a ViewContainerRef (called from template)
89
+ */
90
+ initComponent(vcr: ViewContainerRef, renderedValue: Type<any> | ComponentRenderConfig, row: any, column: DynamicTableColumn, rowIndex: number, colId: string): boolean;
61
91
  /**
62
92
  * Checks if the rendered value is an HTML string that should be rendered with innerHTML
63
93
  */
@@ -1,4 +1,4 @@
1
- import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
1
+ import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { DynamicFilterItem } from '../filters/dynamic-filter/dynamic-filter.component';
3
3
  import { DynamicTableColumn } from '../table/dynamic-table/dynamic-table.component';
4
4
  import { ColumnVisibilityConfig } from '../column-visibility/column-visibility.component';
@@ -16,6 +16,10 @@ export declare class TableTemplateComponent implements OnInit, OnChanges {
16
16
  searchValue: string;
17
17
  showClear: boolean;
18
18
  showSearchBar: boolean;
19
+ onSearchChange: EventEmitter<string>;
20
+ onApplyFilterClick: EventEmitter<any>;
21
+ onResetFilterClick: EventEmitter<void>;
22
+ onClearAll: EventEmitter<void>;
19
23
  filterConfig: DynamicFilterItem[];
20
24
  showFilterPanel: boolean;
21
25
  showFilterButton: boolean;
@@ -84,5 +88,5 @@ export declare class TableTemplateComponent implements OnInit, OnChanges {
84
88
  private normalizeDate;
85
89
  private passFilters;
86
90
  static ɵfac: i0.ɵɵFactoryDeclaration<TableTemplateComponent, never>;
87
- static ɵcmp: i0.ɵɵComponentDeclaration<TableTemplateComponent, "cqa-table-template", never, { "searchPlaceholder": "searchPlaceholder"; "searchValue": "searchValue"; "showClear": "showClear"; "showSearchBar": "showSearchBar"; "filterConfig": "filterConfig"; "showFilterPanel": "showFilterPanel"; "showFilterButton": "showFilterButton"; "otherButtonLabel": "otherButtonLabel"; "otherButtonVariant": "otherButtonVariant"; "showOtherButton": "showOtherButton"; "showActionButton": "showActionButton"; "showSettingsButton": "showSettingsButton"; "showAutoRefreshButton": "showAutoRefreshButton"; "data": "data"; "isEmptyState": "isEmptyState"; "emptyStateConfig": "emptyStateConfig"; "actions": "actions"; "chips": "chips"; "filterApplied": "filterApplied"; "columns": "columns"; "selectedAutoRefreshInterval": "selectedAutoRefreshInterval"; "pageIndex": "pageIndex"; "pageSize": "pageSize"; "isTableLoading": "isTableLoading"; "isTableDataLoading": "isTableDataLoading"; }, {}, never, never>;
91
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableTemplateComponent, "cqa-table-template", never, { "searchPlaceholder": "searchPlaceholder"; "searchValue": "searchValue"; "showClear": "showClear"; "showSearchBar": "showSearchBar"; "filterConfig": "filterConfig"; "showFilterPanel": "showFilterPanel"; "showFilterButton": "showFilterButton"; "otherButtonLabel": "otherButtonLabel"; "otherButtonVariant": "otherButtonVariant"; "showOtherButton": "showOtherButton"; "showActionButton": "showActionButton"; "showSettingsButton": "showSettingsButton"; "showAutoRefreshButton": "showAutoRefreshButton"; "data": "data"; "isEmptyState": "isEmptyState"; "emptyStateConfig": "emptyStateConfig"; "actions": "actions"; "chips": "chips"; "filterApplied": "filterApplied"; "columns": "columns"; "selectedAutoRefreshInterval": "selectedAutoRefreshInterval"; "pageIndex": "pageIndex"; "pageSize": "pageSize"; "isTableLoading": "isTableLoading"; "isTableDataLoading": "isTableDataLoading"; }, { "onSearchChange": "onSearchChange"; "onApplyFilterClick": "onApplyFilterClick"; "onResetFilterClick": "onResetFilterClick"; "onClearAll": "onClearAll"; }, never, never>;
88
92
  }
@@ -6,47 +6,48 @@ import * as i3 from "./segment-control/segment-control.component";
6
6
  import * as i4 from "./dialog/dialog.component";
7
7
  import * as i5 from "./table/dynamic-table/dynamic-table.component";
8
8
  import * as i6 from "./table/dynamic-table/dynamic-cell.directive";
9
- import * as i7 from "./pagination/pagination.component";
10
- import * as i8 from "./action-menu/action-menu.component";
11
- import * as i9 from "./other-button/other-button.component";
12
- import * as i10 from "./filters/dynamic-filter/dynamic-filter.component";
13
- import * as i11 from "./column-visibility/column-visibility.component";
14
- import * as i12 from "./table-action-toolbar/table-action-toolbar.component";
15
- import * as i13 from "./dashboards/metrics-card/metrics-card.component";
16
- import * as i14 from "./dashboards/metrics-card/metrics-block.component";
17
- import * as i15 from "./dashboards/chart-card/chart-card.component";
18
- import * as i16 from "./dashboards/progress-text-card/progress-text-card.component";
19
- import * as i17 from "./dashboards/dashboard-header/dashboard-header.component";
20
- import * as i18 from "./dashboards/coverage-module-card/coverage-module-card.component";
21
- import * as i19 from "./dashboards/test-distribution-card/test-distribution-card.component";
22
- import * as i20 from "./dashboards/failed-test-cases-card/failed-test-cases-card.component";
23
- import * as i21 from "./dynamic-select/dynamic-select-field.component";
24
- import * as i22 from "./selected-filters/selected-filters.component";
25
- import * as i23 from "./dashboards/insight-card/insight-card.component";
26
- import * as i24 from "./badge/badge.component";
27
- import * as i25 from "./dropdown-button/dropdown-button.component";
28
- import * as i26 from "./dashboards/heat-error-map-cell/heat-error-map-cell.component";
29
- import * as i27 from "./empty-state/empty-state.component";
30
- import * as i28 from "./templates/table-template.component";
31
- import * as i29 from "./full-table-loader/full-table-loader.component";
32
- import * as i30 from "./table-data-loader/table-data-loader.component";
33
- import * as i31 from "@angular/common";
34
- import * as i32 from "@angular/forms";
35
- import * as i33 from "@angular/material/icon";
36
- import * as i34 from "@angular/material/menu";
37
- import * as i35 from "@angular/material/button";
38
- import * as i36 from "@angular/material/form-field";
39
- import * as i37 from "@angular/material/select";
40
- import * as i38 from "@angular/material/core";
41
- import * as i39 from "@angular/material/checkbox";
42
- import * as i40 from "@angular/material/radio";
43
- import * as i41 from "@angular/material/datepicker";
44
- import * as i42 from "@angular/material/progress-spinner";
45
- import * as i43 from "@angular/cdk/overlay";
46
- import * as i44 from "@angular/cdk/portal";
9
+ import * as i7 from "./table/dynamic-table/dynamic-cell-container.directive";
10
+ import * as i8 from "./pagination/pagination.component";
11
+ import * as i9 from "./action-menu/action-menu.component";
12
+ import * as i10 from "./other-button/other-button.component";
13
+ import * as i11 from "./filters/dynamic-filter/dynamic-filter.component";
14
+ import * as i12 from "./column-visibility/column-visibility.component";
15
+ import * as i13 from "./table-action-toolbar/table-action-toolbar.component";
16
+ import * as i14 from "./dashboards/metrics-card/metrics-card.component";
17
+ import * as i15 from "./dashboards/metrics-card/metrics-block.component";
18
+ import * as i16 from "./dashboards/chart-card/chart-card.component";
19
+ import * as i17 from "./dashboards/progress-text-card/progress-text-card.component";
20
+ import * as i18 from "./dashboards/dashboard-header/dashboard-header.component";
21
+ import * as i19 from "./dashboards/coverage-module-card/coverage-module-card.component";
22
+ import * as i20 from "./dashboards/test-distribution-card/test-distribution-card.component";
23
+ import * as i21 from "./dashboards/failed-test-cases-card/failed-test-cases-card.component";
24
+ import * as i22 from "./dynamic-select/dynamic-select-field.component";
25
+ import * as i23 from "./selected-filters/selected-filters.component";
26
+ import * as i24 from "./dashboards/insight-card/insight-card.component";
27
+ import * as i25 from "./badge/badge.component";
28
+ import * as i26 from "./dropdown-button/dropdown-button.component";
29
+ import * as i27 from "./dashboards/heat-error-map-cell/heat-error-map-cell.component";
30
+ import * as i28 from "./empty-state/empty-state.component";
31
+ import * as i29 from "./templates/table-template.component";
32
+ import * as i30 from "./full-table-loader/full-table-loader.component";
33
+ import * as i31 from "./table-data-loader/table-data-loader.component";
34
+ import * as i32 from "@angular/common";
35
+ import * as i33 from "@angular/forms";
36
+ import * as i34 from "@angular/material/icon";
37
+ import * as i35 from "@angular/material/menu";
38
+ import * as i36 from "@angular/material/button";
39
+ import * as i37 from "@angular/material/form-field";
40
+ import * as i38 from "@angular/material/select";
41
+ import * as i39 from "@angular/material/core";
42
+ import * as i40 from "@angular/material/checkbox";
43
+ import * as i41 from "@angular/material/radio";
44
+ import * as i42 from "@angular/material/datepicker";
45
+ import * as i43 from "@angular/material/progress-spinner";
46
+ import * as i44 from "@angular/cdk/overlay";
47
+ import * as i45 from "@angular/cdk/portal";
47
48
  export declare class UiKitModule {
48
49
  constructor(iconRegistry: MatIconRegistry);
49
50
  static ɵfac: i0.ɵɵFactoryDeclaration<UiKitModule, never>;
50
- static ɵmod: i0.ɵɵNgModuleDeclaration<UiKitModule, [typeof i1.ButtonComponent, typeof i2.SearchBarComponent, typeof i3.SegmentControlComponent, typeof i4.DialogComponent, typeof i5.DynamicTableComponent, typeof i6.DynamicCellTemplateDirective, typeof i6.DynamicHeaderTemplateDirective, typeof i7.PaginationComponent, typeof i8.ActionMenuButtonComponent, typeof i9.OtherButtonComponent, typeof i10.DynamicFilterComponent, typeof i11.ColumnVisibilityComponent, typeof i12.TableActionToolbarComponent, typeof i13.MetricsCardComponent, typeof i14.MetricsBlockComponent, typeof i15.ChartCardComponent, typeof i16.ProgressTextCardComponent, typeof i17.DashboardHeaderComponent, typeof i18.CoverageModuleCardComponent, typeof i19.TestDistributionCardComponent, typeof i20.FailedTestCasesCardComponent, typeof i21.DynamicSelectFieldComponent, typeof i22.SelectedFiltersComponent, typeof i23.InsightCardComponent, typeof i24.BadgeComponent, typeof i25.DropdownButtonComponent, typeof i26.HeatErrorMapCellComponent, typeof i27.EmptyStateComponent, typeof i28.TableTemplateComponent, typeof i29.FullTableLoaderComponent, typeof i30.TableDataLoaderComponent], [typeof i31.CommonModule, typeof i32.FormsModule, typeof i32.ReactiveFormsModule, typeof i33.MatIconModule, typeof i34.MatMenuModule, typeof i35.MatButtonModule, typeof i36.MatFormFieldModule, typeof i37.MatSelectModule, typeof i38.MatOptionModule, typeof i39.MatCheckboxModule, typeof i40.MatRadioModule, typeof i41.MatDatepickerModule, typeof i38.MatNativeDateModule, typeof i42.MatProgressSpinnerModule, typeof i43.OverlayModule, typeof i44.PortalModule], [typeof i1.ButtonComponent, typeof i2.SearchBarComponent, typeof i3.SegmentControlComponent, typeof i4.DialogComponent, typeof i5.DynamicTableComponent, typeof i6.DynamicCellTemplateDirective, typeof i6.DynamicHeaderTemplateDirective, typeof i7.PaginationComponent, typeof i8.ActionMenuButtonComponent, typeof i9.OtherButtonComponent, typeof i10.DynamicFilterComponent, typeof i11.ColumnVisibilityComponent, typeof i12.TableActionToolbarComponent, typeof i13.MetricsCardComponent, typeof i15.ChartCardComponent, typeof i16.ProgressTextCardComponent, typeof i17.DashboardHeaderComponent, typeof i18.CoverageModuleCardComponent, typeof i19.TestDistributionCardComponent, typeof i20.FailedTestCasesCardComponent, typeof i21.DynamicSelectFieldComponent, typeof i22.SelectedFiltersComponent, typeof i23.InsightCardComponent, typeof i24.BadgeComponent, typeof i25.DropdownButtonComponent, typeof i26.HeatErrorMapCellComponent, typeof i27.EmptyStateComponent, typeof i28.TableTemplateComponent, typeof i29.FullTableLoaderComponent, typeof i30.TableDataLoaderComponent]>;
51
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiKitModule, [typeof i1.ButtonComponent, typeof i2.SearchBarComponent, typeof i3.SegmentControlComponent, typeof i4.DialogComponent, typeof i5.DynamicTableComponent, typeof i6.DynamicCellTemplateDirective, typeof i6.DynamicHeaderTemplateDirective, typeof i7.DynamicCellContainerDirective, typeof i8.PaginationComponent, typeof i9.ActionMenuButtonComponent, typeof i10.OtherButtonComponent, typeof i11.DynamicFilterComponent, typeof i12.ColumnVisibilityComponent, typeof i13.TableActionToolbarComponent, typeof i14.MetricsCardComponent, typeof i15.MetricsBlockComponent, typeof i16.ChartCardComponent, typeof i17.ProgressTextCardComponent, typeof i18.DashboardHeaderComponent, typeof i19.CoverageModuleCardComponent, typeof i20.TestDistributionCardComponent, typeof i21.FailedTestCasesCardComponent, typeof i22.DynamicSelectFieldComponent, typeof i23.SelectedFiltersComponent, typeof i24.InsightCardComponent, typeof i25.BadgeComponent, typeof i26.DropdownButtonComponent, typeof i27.HeatErrorMapCellComponent, typeof i28.EmptyStateComponent, typeof i29.TableTemplateComponent, typeof i30.FullTableLoaderComponent, typeof i31.TableDataLoaderComponent], [typeof i32.CommonModule, typeof i33.FormsModule, typeof i33.ReactiveFormsModule, typeof i34.MatIconModule, typeof i35.MatMenuModule, typeof i36.MatButtonModule, typeof i37.MatFormFieldModule, typeof i38.MatSelectModule, typeof i39.MatOptionModule, typeof i40.MatCheckboxModule, typeof i41.MatRadioModule, typeof i42.MatDatepickerModule, typeof i39.MatNativeDateModule, typeof i43.MatProgressSpinnerModule, typeof i44.OverlayModule, typeof i45.PortalModule], [typeof i1.ButtonComponent, typeof i2.SearchBarComponent, typeof i3.SegmentControlComponent, typeof i4.DialogComponent, typeof i5.DynamicTableComponent, typeof i6.DynamicCellTemplateDirective, typeof i6.DynamicHeaderTemplateDirective, typeof i7.DynamicCellContainerDirective, typeof i8.PaginationComponent, typeof i9.ActionMenuButtonComponent, typeof i10.OtherButtonComponent, typeof i11.DynamicFilterComponent, typeof i12.ColumnVisibilityComponent, typeof i13.TableActionToolbarComponent, typeof i14.MetricsCardComponent, typeof i16.ChartCardComponent, typeof i17.ProgressTextCardComponent, typeof i18.DashboardHeaderComponent, typeof i19.CoverageModuleCardComponent, typeof i20.TestDistributionCardComponent, typeof i21.FailedTestCasesCardComponent, typeof i22.DynamicSelectFieldComponent, typeof i23.SelectedFiltersComponent, typeof i24.InsightCardComponent, typeof i25.BadgeComponent, typeof i26.DropdownButtonComponent, typeof i27.HeatErrorMapCellComponent, typeof i28.EmptyStateComponent, typeof i29.TableTemplateComponent, typeof i30.FullTableLoaderComponent, typeof i31.TableDataLoaderComponent]>;
51
52
  static ɵinj: i0.ɵɵInjectorDeclaration<UiKitModule>;
52
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",
package/public-api.d.ts CHANGED
@@ -9,6 +9,8 @@ export * from './lib/dialog/dialog.tokens';
9
9
  export * from './lib/dialog/dialog-ref';
10
10
  export * from './lib/table/dynamic-table/dynamic-table.component';
11
11
  export * from './lib/table/dynamic-table/dynamic-cell.directive';
12
+ export * from './lib/table/dynamic-table/dynamic-cell-container.directive';
13
+ export * from './lib/table/dynamic-table/component-render-config.interface';
12
14
  export * from './lib/pagination/pagination.component';
13
15
  export * from './lib/action-menu/action-menu.component';
14
16
  export * from './lib/other-button/other-button.component';