@stemy/ngx-utils 19.5.14 → 19.5.16

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.
@@ -201,7 +201,7 @@ export interface ButtonProps {
201
201
  }
202
202
  export interface TabOption extends Omit<Partial<ButtonProps>, "size" | "state" | "style"> {
203
203
  value: string;
204
- active?: boolean;
204
+ classes?: string | string[];
205
205
  }
206
206
  export type ChipValue = string | number;
207
207
  export type ChipStatus = "valid" | "invalid";
@@ -2,6 +2,10 @@ import { Renderer2 } from "@angular/core";
2
2
  import { ButtonSize, ButtonType, TabOption } from "../../common-types";
3
3
  import { TabsItemDirective } from "../../directives/tabs-item.directive";
4
4
  import * as i0 from "@angular/core";
5
+ export interface ExtendedTabOption extends TabOption {
6
+ active?: boolean;
7
+ className?: string;
8
+ }
5
9
  export declare class TabsComponent {
6
10
  readonly value: import("@angular/core").ModelSignal<unknown>;
7
11
  readonly options: import("@angular/core").InputSignal<TabOption[]>;
@@ -9,8 +13,9 @@ export declare class TabsComponent {
9
13
  readonly size: import("@angular/core").InputSignal<ButtonSize>;
10
14
  readonly tabItems: import("@angular/core").Signal<readonly TabsItemDirective[]>;
11
15
  readonly renderer: Renderer2;
12
- readonly tabs: import("@angular/core").Signal<TabOption[]>;
13
- select(value: any): void;
16
+ readonly tabs: import("@angular/core").Signal<ExtendedTabOption[]>;
17
+ constructor();
18
+ select(option: TabOption): void;
14
19
  static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
15
20
  static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "tabs", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, ["tabItems"], ["*"], false, never>;
16
21
  }
@@ -6,7 +6,8 @@ export declare class TabsItemDirective {
6
6
  readonly tooltip: import("@angular/core").InputSignal<string>;
7
7
  readonly icon: import("@angular/core").InputSignal<string>;
8
8
  readonly disabled: import("@angular/core").InputSignal<boolean>;
9
+ readonly classes: import("@angular/core").InputSignal<string | string[]>;
9
10
  readonly element: ElementRef<any>;
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<TabsItemDirective, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<TabsItemDirective, "[tabsItem]", never, { "value": { "alias": "tabsItem"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TabsItemDirective, "[tabsItem]", never, { "value": { "alias": "tabsItem"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
12
13
  }
@@ -66,8 +66,8 @@ import { UnorderedListComponent } from "./components/unordered-list/unordered-li
66
66
  import { UploadComponent } from "./components/upload/upload.component";
67
67
  export declare const pipes: (typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof IncludesPipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof TranslatePipe)[];
68
68
  export declare const directives: (typeof AsyncMethodBase | typeof AsyncMethodTargetDirective | typeof BackgroundDirective | typeof ComponentLoaderDirective | typeof DynamicTableTemplateDirective | typeof GlobalTemplateDirective | typeof IconDirective | typeof NgxTemplateOutletDirective | typeof PaginationDirective | typeof PaginationItemDirective | typeof ResourceIfDirective | typeof StickyDirective | typeof StickyClassDirective | typeof DropdownDirective | typeof DropdownContentDirective | typeof TabsItemDirective | typeof UnorderedListItemDirective | typeof UnorderedListTemplateDirective)[];
69
- export declare const components: (typeof ChipsComponent | typeof DropListComponent | typeof DynamicTableComponent | typeof FakeModuleComponent | typeof PaginationMenuComponent | typeof InteractiveCanvasComponent | typeof InteractiveCircleComponent | typeof InteractiveRectComponent | typeof UnorderedListComponent | typeof UploadComponent)[];
70
- export declare const providers: (typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof IncludesPipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof TranslatePipe | typeof BaseHttpClient | typeof BaseHttpService | typeof AuthGuard | typeof AclService | typeof StaticAuthService | typeof ConfigService | typeof BaseDialogService | typeof ErrorHandlerService | typeof EventsService | typeof FormatterService | typeof GlobalTemplateService | typeof IconService | typeof StaticLanguageService | typeof OpenApiService | typeof PromiseService | typeof SocketService | typeof StateService | typeof StorageService | typeof BaseToasterService | typeof ComponentLoaderService | typeof TranslatedUrlSerializer | typeof UniversalService | typeof WasmService | typeof DeviceDetectorService | {
69
+ export declare const components: (typeof ChipsComponent | typeof DropListComponent | typeof DynamicTableComponent | typeof FakeModuleComponent | typeof InteractiveCanvasComponent | typeof InteractiveCircleComponent | typeof InteractiveRectComponent | typeof PaginationMenuComponent | typeof UnorderedListComponent | typeof UploadComponent)[];
70
+ export declare const providers: (typeof UniversalService | typeof StateService | typeof AuthGuard | typeof BaseHttpClient | typeof StorageService | typeof BaseHttpService | typeof WasmService | typeof AclService | typeof StaticAuthService | typeof ConfigService | typeof BaseDialogService | typeof ErrorHandlerService | typeof EventsService | typeof FormatterService | typeof GlobalTemplateService | typeof IconService | typeof StaticLanguageService | typeof OpenApiService | typeof BaseToasterService | typeof ComponentLoaderService | typeof TranslatedUrlSerializer | typeof PromiseService | typeof SocketService | typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof IncludesPipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof TranslatePipe | typeof DeviceDetectorService | {
71
71
  provide: import("@angular/core").InjectionToken<import("@angular/platform-browser").EventManagerPlugin[]>;
72
72
  useClass: typeof DragDropEventPlugin;
73
73
  multi: boolean;
@@ -2,7 +2,7 @@ import { PipeTransform } from "@angular/core";
2
2
  import { IGroupMap } from "../common-types";
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class GroupByPipe implements PipeTransform {
5
- transform(records: any[], column: string, map?: IGroupMap): any;
5
+ transform(records: ReadonlyArray<any>, column: string, map?: IGroupMap): any;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<GroupByPipe, never>;
7
7
  static ɵpipe: i0.ɵɵPipeDeclaration<GroupByPipe, "groupBy", false>;
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stemy/ngx-utils",
3
- "version": "19.5.14",
3
+ "version": "19.5.16",
4
4
  "license": "MIT",
5
5
  "public": true,
6
6
  "repository": "https://github.com/stemyke/ngx-utils.git",