@indice/ng-components 0.5.0-beta.0 → 0.5.0-beta.1

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.
package/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
2
2
  import { OnInit, OnChanges, OnDestroy, EventEmitter, ElementRef, NgZone, SimpleChanges, QueryList, TemplateRef, AfterContentInit, AfterContentChecked, AfterViewChecked, ChangeDetectorRef, ComponentRef, ViewContainerRef, ComponentFactoryResolver, ApplicationRef, Injector, Type, StaticProvider, AfterViewInit, PipeTransform, InjectionToken, Renderer2, RendererFactory2, ModuleWithProviders } from '@angular/core';
3
3
  import { Observable, Subject, Subscription } from 'rxjs';
4
4
  import * as i60 from '@angular/router';
5
- import { Route, Params, Router, ActivatedRoute, Event as Event$1 } from '@angular/router';
5
+ import { ActivatedRouteSnapshot, Route, Params, Router, ActivatedRoute, Event as Event$1 } from '@angular/router';
6
6
  import * as i62 from '@angular/forms';
7
7
  import { ControlValueAccessor, AbstractControl } from '@angular/forms';
8
8
  import * as _indice_ng_components from '@indice/ng-components';
@@ -174,7 +174,12 @@ interface IShellConfig {
174
174
  showPictureOnHeader?: boolean;
175
175
  }
176
176
  interface IBreadcrumbLabelProcessor {
177
- process(route: Route): string;
177
+ process(context: BreadcrumbContext): string | Observable<string>;
178
+ }
179
+ interface BreadcrumbContext {
180
+ routeSnapshot?: ActivatedRouteSnapshot;
181
+ route?: Route;
182
+ defaultValue?: string;
178
183
  }
179
184
  declare enum ShellLayoutType {
180
185
  Stacked = "Stacked",
@@ -300,9 +305,9 @@ declare class PagerComponent implements OnInit, OnChanges {
300
305
  }
301
306
 
302
307
  declare class BreadcrumbItem {
303
- title?: string | undefined;
308
+ title?: (string | Observable<string>) | undefined;
304
309
  url?: string | undefined;
305
- constructor(title?: string | undefined, url?: string | undefined);
310
+ constructor(title?: (string | Observable<string>) | undefined, url?: string | undefined);
306
311
  level: number;
307
312
  get urlSegments(): string[] | undefined;
308
313
  }
@@ -347,6 +352,7 @@ declare class BreadcrumbComponent implements OnInit {
347
352
  private _breadcrumbService;
348
353
  constructor(_breadcrumbService: BreadcrumbService);
349
354
  ngOnInit(): void;
355
+ isAsync(value: any): boolean;
350
356
  breadcrumb: BreadcrumbItem[];
351
357
  static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
352
358
  static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "lib-breadcrumb", never, {}, {}, never, never, false, never>;
@@ -1906,4 +1912,4 @@ declare class IndiceComponentsModule {
1906
1912
  }
1907
1913
 
1908
1914
  export { APP_LANGUAGES, APP_LINKS, APP_NOTIFICATIONS, AddressPipe, AdvancedSearchComponent, AuthCallbackComponent, AuthRenewComponent, AvatarInitialsComponent, BREADCRUMB_LABEL_RESOLVER, BaseListComponent, BreadcrumbComponent, BreadcrumbItem, BreadcrumbRouteData, BreadcrumbService, ClickOutsideDirective, CollapsiblePanelComponent, ComboboxComponent, ComponentLoaderFactory, ContentTileComponent, ContentTileHeaderComponent, ContentTileItemComponent, DatepickerComponent, DefaultShellConfig, DropDownMenuComponent, DurationFormatPipe, EnhancedComboboxComponent, ErrorComponent, ExternalNavLink, FilterClause, FormLayoutComponent, FragmentNavLink, HeaderMetaItem, Icons, IndiceComponentsModule, KpiTileComponent, LIBSTEPPER_ACCESSOR, LIBTABGROUP_ACCESSOR, LibStepComponent, LibStepInfoDirective, LibStepLabelDirective, LibStepperComponent, LibTabComponent, LibTabGroupComponent, LibTabLabelDirective, ListColumnComponent, ListDetailsSectionComponent, ListTileComponent, ListViewComponent, ListViewEmptyStateComponent, ListViewType, LoggedOutComponent, MODAL_CONFIG_DEFAULT_OVERRIDE, MenuOption, Modal, ModalOptions, ModalService, ModelViewLayoutComponent, NULL_TOAST, NavLink, NavLinkSeparator, NavLinksListComponent, NotificationNavLink, OperatorOptions, Operators, PageNotFoundComponent, PagerComponent, PagerPosition, ProgressBarComponent, QueryParameters, RouterViewAction, SCREEN_SIZE, SHELL_CONFIG, ShellFooterComponent, ShellHeaderComponent, ShellLayoutComponent, ShellLayoutType, ShellSidebarComponent, ShellSidebarHeaderComponent, ShortNumberPipe, SidePaneComponent, SidePaneOverlayType, SidePaneSize, SideViewLayoutComponent, SkeletonLoaderComponent, StatsGridComponent, StepSelectedEvent, StepState, StepperType, SwitchViewAction, ToastType, ToasterComponent, ToasterContainerComponent, ToasterService, ToggleButtonComponent, ToggleButtonsListComponent, ToggleComponent, UnauthorizedComponent, UserSettingsService, ViewAction, ViewLayoutComponent };
1909
- export type { CloseInterceptorFn, IAddress, IAppLanguagesService, IAppLinks, IAppNotifications, IBreadcrumbLabelProcessor, IDictionary, IResultSet, IScreenSize, IShellConfig, IValidationProblemDetails, SearchOption, SelectInputOption, Toast, UserSettingKey };
1915
+ export type { BreadcrumbContext, CloseInterceptorFn, IAddress, IAppLanguagesService, IAppLinks, IAppNotifications, IBreadcrumbLabelProcessor, IDictionary, IResultSet, IScreenSize, IShellConfig, IValidationProblemDetails, SearchOption, SelectInputOption, Toast, UserSettingKey };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indice/ng-components",
3
- "version": "0.5.0-beta.0",
3
+ "version": "0.5.0-beta.1",
4
4
  "description": "Indice common components for Angular v20",
5
5
  "repository": {
6
6
  "type": "git",