@testgorilla/tgo-ui 4.1.0-beta → 4.1.0

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.
@@ -1,10 +1,11 @@
1
- import { AfterViewInit, OnDestroy, EventEmitter } from '@angular/core';
1
+ import { AfterViewInit, OnDestroy, EventEmitter, Injector } from '@angular/core';
2
2
  import { BreadcrumbItem, BreadcrumbSize } from './breadcrumb.model';
3
3
  import { ElementRef } from '@angular/core';
4
4
  import { ApplicationTheme } from '../../models/application-theme.model';
5
5
  import { OverflowMenuButtonsType } from '../overflow-menu/overflow-menu.model';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class BreadcrumbComponent implements AfterViewInit, OnDestroy {
8
+ private readonly parentInjector;
8
9
  size: import("@angular/core").InputSignal<BreadcrumbSize>;
9
10
  items: import("@angular/core").InputSignal<BreadcrumbItem[]>;
10
11
  applicationTheme: import("@angular/core").InputSignal<ApplicationTheme>;
@@ -24,7 +25,8 @@ export declare class BreadcrumbComponent implements AfterViewInit, OnDestroy {
24
25
  private resizeObserver?;
25
26
  private itemsInOverflow;
26
27
  private previousLoadingState?;
27
- constructor();
28
+ private injector;
29
+ constructor(parentInjector: Injector);
28
30
  ngAfterViewInit(): void;
29
31
  ngOnDestroy(): void;
30
32
  private calculateItemDistribution;
@@ -6,7 +6,7 @@ import * as i4 from "../icon/icon.component.module";
6
6
  import * as i5 from "@angular/material/tooltip";
7
7
  import * as i6 from "../overflow-menu/overflow-menu.component.module";
8
8
  import * as i7 from "../button/button.component.module";
9
- import * as i8 from "@testgorilla/tgo-ui/components/skeleton";
9
+ import * as i8 from "../skeleton/skeleton.component";
10
10
  import * as i9 from "../../pipes/ui-translate.pipe";
11
11
  export declare class BreadcrumbComponentModule {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponentModule, never>;
@@ -1,2 +1,2 @@
1
1
  export type CardSize = 'small' | 'medium' | 'large';
2
- export type CardVariant = 'default' | 'shadow' | 'state' | 'error' | 'educative' | 'premium' | 'ai' | 'actionDriver' | 'neutral';
2
+ export type CardVariant = 'default' | 'shadow' | 'state' | 'error' | 'educative' | 'premium' | 'ai' | 'actionDriver' | 'neutral' | 'neutral-state';
@@ -1,5 +1,5 @@
1
1
  import { DividerSize } from './divider.model';
2
- import { ApplicationTheme } from './application-theme.model';
2
+ import { ApplicationTheme } from '../../models/application-theme.model';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class DividerComponent {
5
5
  private readonly defaultAppTheme;
@@ -1,6 +1,6 @@
1
1
  import { DonutChartData } from './donut-chart.component.model';
2
2
  import { ApplicationTheme } from '../../models/application-theme.model';
3
- import { ChartOptions } from 'chart.js';
3
+ import { ChartOptions, Plugin } from 'chart.js';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class DonutChartComponent {
6
6
  donutChartData: import("@angular/core").InputSignal<DonutChartData | undefined>;
@@ -13,21 +13,9 @@ export declare class DonutChartComponent {
13
13
  borderWidth: number;
14
14
  }[];
15
15
  }>;
16
- centerTextPlugin: {
17
- id: string;
18
- beforeDraw: (chart: any) => void;
19
- };
20
- labelLinePlugin: {
21
- id: string;
22
- afterDatasetDraw: (chart: any) => void;
23
- };
24
- donutChartPlugins: (import("chart.js").Plugin<keyof import("chart.js").ChartTypeRegistry, import("chart.js/dist/types/basic").AnyObject> | {
25
- id: string;
26
- beforeDraw: (chart: any) => void;
27
- } | {
28
- id: string;
29
- afterDatasetDraw: (chart: any) => void;
30
- })[];
16
+ centerTextPlugin: Plugin<'doughnut'>;
17
+ labelLinePlugin: Plugin<'doughnut'>;
18
+ donutChartPlugins: Plugin<'doughnut'>[];
31
19
  donutChartOptions: ChartOptions<'doughnut'>;
32
20
  static ɵfac: i0.ɵɵFactoryDeclaration<DonutChartComponent, never>;
33
21
  static ɵcmp: i0.ɵɵComponentDeclaration<DonutChartComponent, "ui-donut-chart", never, { "donutChartData": { "alias": "donutChartData"; "required": false; "isSignal": true; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
@@ -3,7 +3,7 @@ import * as i1 from "./multi-input.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/material/input";
5
5
  import * as i4 from "@angular/material/select";
6
- import * as i5 from "@testgorilla/tgo-ui/components/divider";
6
+ import * as i5 from "../divider/divider.component.module";
7
7
  import * as i6 from "../icon/icon.component.module";
8
8
  import * as i7 from "../dropdown/dropdown.component.module";
9
9
  import * as i8 from "@angular/forms";
@@ -1,10 +1,14 @@
1
- import { CardSize } from '../card/card.model';
1
+ import { CardSize, CardVariant } from '../card/card.model';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class SelectableCardComponent {
4
4
  /**
5
5
  * Card size. Defaults to "medium".
6
6
  */
7
7
  size: import("@angular/core").InputSignal<CardSize>;
8
+ /**
9
+ * Card variant/design for selected state. Defaults to "default".
10
+ */
11
+ selectedVariant: import("@angular/core").InputSignal<CardVariant>;
8
12
  /**
9
13
  * Whether the card is selected (input from parent).
10
14
  */
@@ -30,5 +34,5 @@ export declare class SelectableCardComponent {
30
34
  */
31
35
  handleSelect(): void;
32
36
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectableCardComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectableCardComponent, "ui-selectable-card", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "isCheckboxDisabled": { "alias": "isCheckboxDisabled"; "required": false; "isSignal": true; }; }, { "cardSelected": "cardSelected"; }, never, ["[ui-selectable-card-label]", "[ui-selectable-card-content]"], false, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectableCardComponent, "ui-selectable-card", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "selectedVariant": { "alias": "selectedVariant"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "isCheckboxDisabled": { "alias": "isCheckboxDisabled"; "required": false; "isSignal": true; }; }, { "cardSelected": "cardSelected"; }, never, ["[ui-selectable-card-label]", "[ui-selectable-card-content]"], false, never>;
34
38
  }
@@ -1,7 +1,7 @@
1
1
  import { NgxSkeletonLoaderConfigTheme } from 'ngx-skeleton-loader';
2
2
  import { BehaviorSubject } from 'rxjs';
3
3
  import { Appearance } from './skeleton.model';
4
- import { ApplicationTheme } from './application-theme.model';
4
+ import { ApplicationTheme } from "../../models/application-theme.model";
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class SkeletonComponent {
7
7
  private readonly defaultAppTheme;
@@ -19,7 +19,7 @@ export declare class SkeletonComponent {
19
19
  applicationTheme: ApplicationTheme;
20
20
  constructor(defaultAppTheme: ApplicationTheme);
21
21
  protected readonly theme$: BehaviorSubject<NgxSkeletonLoaderConfigTheme>;
22
- protected readonly appearance$: BehaviorSubject<"" | "circle" | "line" | "custom-content">;
22
+ protected readonly appearance$: BehaviorSubject<"" | "line" | "circle" | "custom-content">;
23
23
  protected readonly currentTheme$: import("rxjs").Observable<NgxSkeletonLoaderConfigTheme>;
24
24
  private getThemeWithDefaultValues;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonComponent, [{ optional: true; }]>;
@@ -4,7 +4,7 @@ import * as i2 from "./sentence-case.pipe";
4
4
  import * as i3 from "@angular/common";
5
5
  import * as i4 from "@angular/material/table";
6
6
  import * as i5 from "@angular/material/tooltip";
7
- import * as i6 from "@testgorilla/tgo-ui/components/skeleton";
7
+ import * as i6 from "../skeleton/skeleton.component";
8
8
  import * as i7 from "../paginator/paginator.component.module";
9
9
  import * as i8 from "../button/button.component.module";
10
10
  import * as i9 from "@angular/material/sort";
@@ -5,7 +5,7 @@ import * as i3 from "@angular/common";
5
5
  import * as i4 from "@angular/material/tabs";
6
6
  import * as i5 from "../icon/icon.component.module";
7
7
  import * as i6 from "../../pipes/ui-translate.pipe";
8
- import * as i7 from "@testgorilla/tgo-ui/components/skeleton";
8
+ import * as i7 from "../skeleton/skeleton.component";
9
9
  export declare class TabsComponentModule {
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponentModule, never>;
11
11
  static ɵmod: i0.ɵɵNgModuleDeclaration<TabsComponentModule, [typeof i1.TabsComponent], [typeof i2.TabDirective, typeof i3.CommonModule, typeof i4.MatTabsModule, typeof i5.IconComponentModule, typeof i6.UiTranslatePipe, typeof i7.SkeletonComponent], [typeof i1.TabsComponent, typeof i2.TabDirective]>;
@@ -5,7 +5,7 @@ import * as i3 from "../accordion/accordion.component.module";
5
5
  import * as i4 from "../badge/badge.component.module";
6
6
  import * as i5 from "../progress-bar/progress-bar.component.module";
7
7
  import * as i6 from "../spider-chart/spider-chart.module";
8
- import * as i7 from "@testgorilla/tgo-ui/components/divider";
8
+ import * as i7 from "../divider/divider.component.module";
9
9
  import * as i8 from "../../pipes/memoize-func.pipe";
10
10
  import * as i9 from "../../pipes/ui-translate.pipe";
11
11
  import * as i10 from "../../pipes/ui-ordinal-suffix.pipe";