@bizy/core 21.2.0 → 21.4.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizy/core",
3
- "version": "21.2.0",
3
+ "version": "21.4.0",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^21.0.0",
6
6
  "@angular/common": "^21.0.0",
@@ -36,7 +36,7 @@
36
36
  --bizy-audio-player-height: 2.6rem;
37
37
  --bizy-audio-player-seek-before-width: 0;
38
38
  --bizy-audio-player-seek-before-background-color: var(--bizy-info-color);
39
- --bizy-audio-player-seek-slider-thumb-border: 0.1rem solid var(--bizy-info-color);;
39
+ --bizy-audio-player-seek-slider-thumb-border: 0.1rem solid var(--bizy-info-color);
40
40
  --bizy-audio-player-seek-slider-thumb-background-color: #fff;
41
41
  --bizy-audio-player-seek-slider-thumb-active-background-color: var(--bizy-light-info-color);
42
42
  --bizy-audio-player-buffered-width: 0;
@@ -229,7 +229,7 @@
229
229
 
230
230
  --bizy-menu-bar-option-background-color: #fff;
231
231
  --bizy-menu-bar-option-border: 0.1rem solid var(--bizy-dark-info-color);
232
- --bizy-menu-bar-option-color: var(--bizy-dark-info-color);;
232
+ --bizy-menu-bar-option-color: var(--bizy-dark-info-color);
233
233
  --bizy-menu-bar-option-min-width: 8rem;
234
234
  --bizy-menu-bar-option-selected-background-color: var(--bizy-light-info-color);
235
235
 
@@ -348,6 +348,11 @@
348
348
  --bizy-slider-range-color: var(--bizy-accent-color);
349
349
  --bizy-slider-accent-color: var(--bizy-info-color);
350
350
 
351
+ --bizy-stacked-bar-chart-width: 100%;
352
+ --bizy-stacked-bar-chart-height: 0.5rem;
353
+ --bizy-stacked-bar-chart-border-radius: 0.3rem;
354
+ --bizy-stacked-bar-chart-background-color: var(var(--bizy-light-default-color));
355
+
351
356
  --bizy-table-height: 100%;
352
357
  --bizy-table-min-height: 5rem;
353
358
  --bizy-table-max-height: 100%;
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, PipeTransform, ElementRef, AfterViewInit, OnDestroy, OnInit, TemplateRef, QueryList, ViewContainerRef, AfterContentInit, ChangeDetectorRef, RendererFactory2, Renderer2 } from '@angular/core';
2
+ import { EventEmitter, PipeTransform, ElementRef, AfterViewInit, OnDestroy, OnInit, TemplateRef, QueryList, ViewContainerRef, AfterContentInit, AfterViewChecked, ChangeDetectorRef, RendererFactory2, Renderer2 } from '@angular/core';
3
3
  import { CalendarEvent, CalendarMonthViewDay } from 'angular-calendar';
4
4
  import { Subject, Observable, BehaviorSubject } from 'rxjs';
5
5
  import { UppyFile, SuccessResponse } from '@uppy/core';
@@ -12,7 +12,6 @@ import { ActivatedRouteSnapshot, Router, ActivatedRoute } from '@angular/router'
12
12
  import { DomSanitizer, SafeHtml, SafeStyle, SafeScript, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
13
13
  import Fuse, { FuseGetFunction } from 'fuse.js';
14
14
  import AutoNumeric from 'autonumeric';
15
- import { NgForOf } from '@angular/common';
16
15
 
17
16
  declare class BizyAccordionComponent {
18
17
  #private;
@@ -980,7 +979,6 @@ declare class BizyGridComponent implements AfterContentInit {
980
979
  itemTemplate: TemplateRef<unknown>;
981
980
  itemsPerRow: number;
982
981
  ngAfterContentInit(): void;
983
- trackById(index: number, item: any): any;
984
982
  scrollTo(index: number, behavior?: 'auto' | 'instant' | 'smooth'): void;
985
983
  ngOnDestroy(): void;
986
984
  getNativeElement: () => any;
@@ -1580,6 +1578,58 @@ declare class BizySliderModule {
1580
1578
  static ɵinj: i0.ɵɵInjectorDeclaration<BizySliderModule>;
1581
1579
  }
1582
1580
 
1581
+ declare class BizyStackedBarChartSegmentComponent implements AfterViewChecked {
1582
+ #private;
1583
+ id: string;
1584
+ disabled: boolean;
1585
+ name: string | null;
1586
+ onSelect: EventEmitter<PointerEvent>;
1587
+ onLegendSelect: EventEmitter<PointerEvent>;
1588
+ _width: string;
1589
+ get color$(): Observable<string>;
1590
+ get value$(): Observable<number>;
1591
+ set value(value: number);
1592
+ ngAfterViewChecked(): void;
1593
+ getNativeElement: () => any;
1594
+ _onSelect(event: PointerEvent): void;
1595
+ _setWidth(width: string): void;
1596
+ _getValue: () => number;
1597
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyStackedBarChartSegmentComponent, never>;
1598
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyStackedBarChartSegmentComponent, "bizy-stacked-bar-chart-segment", never, { "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onSelect": "onSelect"; "onLegendSelect": "onLegendSelect"; }, never, never, true, never>;
1599
+ }
1600
+
1601
+ declare enum ANURA_STACKED_BAR_CHART_LEGEND_POSITION {
1602
+ TOP = "top",
1603
+ BOTTOM = "bottom"
1604
+ }
1605
+ interface IBizyStackedBarChartLegends {
1606
+ show?: boolean;
1607
+ position?: ANURA_STACKED_BAR_CHART_LEGEND_POSITION;
1608
+ }
1609
+
1610
+ declare class BizyStackedBarChartComponent {
1611
+ #private;
1612
+ id: string;
1613
+ segments: QueryList<BizyStackedBarChartSegmentComponent> | null;
1614
+ _total: number;
1615
+ _forcedTotal: number;
1616
+ _legends: IBizyStackedBarChartLegends;
1617
+ readonly ANURA_STACKED_BAR_CHART_LEGEND_POSITION: typeof ANURA_STACKED_BAR_CHART_LEGEND_POSITION;
1618
+ getNativeElement: () => any;
1619
+ ngAfterContentInit(): void;
1620
+ set legends(legends: IBizyStackedBarChartLegends);
1621
+ set total(total: number);
1622
+ ngOnDestroy(): void;
1623
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyStackedBarChartComponent, never>;
1624
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyStackedBarChartComponent, "bizy-stacked-bar-chart", never, { "id": { "alias": "id"; "required": false; }; "legends": { "alias": "legends"; "required": false; }; "total": { "alias": "total"; "required": false; }; }, {}, ["segments"], ["bizy-stacked-bar-chart-segment"], true, never>;
1625
+ }
1626
+
1627
+ declare class BizyStackedBarChartModule {
1628
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyStackedBarChartModule, never>;
1629
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BizyStackedBarChartModule, never, [typeof BizyStackedBarChartComponent, typeof BizyStackedBarChartSegmentComponent], [typeof BizyStackedBarChartComponent, typeof BizyStackedBarChartSegmentComponent]>;
1630
+ static ɵinj: i0.ɵɵInjectorDeclaration<BizyStackedBarChartModule>;
1631
+ }
1632
+
1583
1633
  declare class BizyTableColumnComponent {
1584
1634
  #private;
1585
1635
  id: string;
@@ -2461,16 +2511,6 @@ declare class BizyTooltipDirective implements OnDestroy {
2461
2511
  static ɵdir: i0.ɵɵDirectiveDeclaration<BizyTooltipDirective, "[bizyTooltip]", never, { "tooltipCustomClass": { "alias": "tooltipCustomClass"; "required": false; }; "tooltipPlacement": { "alias": "tooltipPlacement"; "required": false; }; "tooltipDelay": { "alias": "tooltipDelay"; "required": false; }; "showTooltip": { "alias": "showTooltip"; "required": false; }; "tooltipLongPressDuration": { "alias": "tooltipLongPressDuration"; "required": false; }; "tooltipLineClamp": { "alias": "tooltipLineClamp"; "required": false; }; "tooltipText": { "alias": "bizyTooltip"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; }, {}, never, never, true, never>;
2462
2512
  }
2463
2513
 
2464
- interface Item {
2465
- id: string;
2466
- }
2467
- declare class BizyTrackByIdDirective<T extends Item> {
2468
- private readonly ngFor;
2469
- constructor(ngFor: NgForOf<T>);
2470
- static ɵfac: i0.ɵɵFactoryDeclaration<BizyTrackByIdDirective<any>, [{ host: true; }]>;
2471
- static ɵdir: i0.ɵɵDirectiveDeclaration<BizyTrackByIdDirective<any>, "[bizyTrackById]", never, {}, {}, never, never, true, never>;
2472
- }
2473
-
2474
2514
  declare class BizyAutoFocusDirective implements AfterViewInit {
2475
2515
  private elementRef;
2476
2516
  private ref;
@@ -2484,9 +2524,9 @@ declare class BizyAutoFocusDirective implements AfterViewInit {
2484
2524
 
2485
2525
  declare class BizyDirectivesModule {
2486
2526
  static ɵfac: i0.ɵɵFactoryDeclaration<BizyDirectivesModule, never>;
2487
- static ɵmod: i0.ɵɵNgModuleDeclaration<BizyDirectivesModule, never, [typeof BizyCopyToClipboardDirective, typeof BizyCurrencyFormatDirective, typeof BizyLoadingDirective, typeof BizyLongPressDirective, typeof BizyOnlyNumbersDirective, typeof BizyOnlyPhoneDigitsDirective, typeof BizyTextEllipsisDirective, typeof BizyTooltipDirective, typeof BizyTrackByIdDirective, typeof BizyAutoFocusDirective, typeof BizyReloadDirective], [typeof BizyCopyToClipboardDirective, typeof BizyCurrencyFormatDirective, typeof BizyLoadingDirective, typeof BizyLongPressDirective, typeof BizyOnlyNumbersDirective, typeof BizyOnlyPhoneDigitsDirective, typeof BizyTextEllipsisDirective, typeof BizyTooltipDirective, typeof BizyTrackByIdDirective, typeof BizyAutoFocusDirective, typeof BizyReloadDirective]>;
2527
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BizyDirectivesModule, never, [typeof BizyCopyToClipboardDirective, typeof BizyCurrencyFormatDirective, typeof BizyLoadingDirective, typeof BizyLongPressDirective, typeof BizyOnlyNumbersDirective, typeof BizyOnlyPhoneDigitsDirective, typeof BizyTextEllipsisDirective, typeof BizyTooltipDirective, typeof BizyAutoFocusDirective, typeof BizyReloadDirective], [typeof BizyCopyToClipboardDirective, typeof BizyCurrencyFormatDirective, typeof BizyLoadingDirective, typeof BizyLongPressDirective, typeof BizyOnlyNumbersDirective, typeof BizyOnlyPhoneDigitsDirective, typeof BizyTextEllipsisDirective, typeof BizyTooltipDirective, typeof BizyAutoFocusDirective, typeof BizyReloadDirective]>;
2488
2528
  static ɵinj: i0.ɵɵInjectorDeclaration<BizyDirectivesModule>;
2489
2529
  }
2490
2530
 
2491
- export { BIZY_ANIMATION, BIZY_CALENDAR_DAY, BIZY_CALENDAR_EVENT_ACTION, BIZY_CALENDAR_LANGUAGE, BIZY_CALENDAR_MODE, BIZY_FORMAT_SECONDS_FORMAT, BIZY_FORMAT_SECONDS_LANGUAGE, BIZY_SKELETON_SHAPE, BIZY_TAG_TYPE, BizyAccordionComponent, BizyAccordionModule, BizyAnimationService, BizyAudioPlayerComponent, BizyAudioPlayerFormatSecondsPipe, BizyAudioPlayerModule, BizyAudioRecorderComponent, BizyAudioRecorderModule, BizyAutoFocusDirective, BizyAveragePipe, BizyBarLineChartComponent, BizyBarLineChartModule, BizyBarLineChartPopupComponent, BizyBreadcrumbComponent, BizyBreadcrumbModule, BizyButtonComponent, BizyButtonModule, BizyCacheService, BizyCalendarComponent, BizyCalendarModule, BizyCardComponent, BizyCardModule, BizyCheckboxComponent, BizyCheckboxModule, BizyContentComponent, BizyContentModule, BizyCopyToClipboardDirective, BizyCopyToClipboardService, BizyCurrencyFormatDirective, BizyDatePickerComponent, BizyDatePickerModule, BizyDeviceService, BizyDirectivesModule, BizyDonutChartComponent, BizyDonutChartModule, BizyDonutChartPopupComponent, BizyEnumToArrayPipe, BizyExportToCSVService, BizyExtractNumbersPipe, BizyFileUploaderComponent, BizyFileUploaderModule, BizyFileUploaderService, BizyFilterComponent, BizyFilterContentComponent, BizyFilterModule, BizyFilterPipe, BizyFilterSectionCheckboxOptionComponent, BizyFilterSectionComponent, BizyFilterSectionRangeOptionComponent, BizyFilterSectionSearchOptionComponent, BizyFilterSectionsComponent, BizyFormComponent, BizyFormModule, BizyFormatSecondsPipe, BizyFormatSecondsService, BizyFullScreenPopupWrapperComponent, BizyGaugeChartComponent, BizyGaugeChartModule, BizyGaugeChartPopupComponent, BizyGridComponent, BizyGridForDirective, BizyGridModule, BizyGridRowComponent, BizyHeatMapChartComponent, BizyHeatMapChartModule, BizyInputComponent, BizyInputModule, BizyInputOptionComponent, BizyKeyboardService, BizyListComponent, BizyListModule, BizyLoadingDirective, BizyLogService, BizyLongPressDirective, BizyMenuBarComponent, BizyMenuBarModule, BizyMenuBarOptionComponent, BizyMenuComponent, BizyMenuModule, BizyMenuOptionComponent, BizyMenuTitleComponent, BizyOnlyNumbersDirective, BizyOnlyPhoneDigitsDirective, BizyOrderByPipe, BizyPieChartComponent, BizyPieChartModule, BizyPieChartPopupComponent, BizyPipesModule, BizyPopupModule, BizyPopupService, BizyPopupWrapperComponent, BizyProgressBarComponent, BizyProgressBarModule, BizyRadioComponent, BizyRadioModule, BizyRangeFilterPipe, BizyReducePipe, BizyReloadDirective, BizyRepeatPipe, BizyRoundPipe, BizyRouterService, BizySafePipe, BizySearchPipe, BizySectionCenterComponent, BizySectionComponent, BizySectionEndComponent, BizySectionModule, BizySectionStartComponent, BizySelectComponent, BizySelectModule, BizySelectOptionComponent, BizyServicesModule, BizySetToArrayPipe, BizySidebarComponent, BizySidebarFloatingOptionComponent, BizySidebarFloatingOptionTitleComponent, BizySidebarModule, BizySidebarOptionComponent, BizySkeletonComponent, BizySkeletonModule, BizySliderComponent, BizySliderModule, BizyStorageService, BizyTabComponent, BizyTableColumnArrowsComponent, BizyTableColumnComponent, BizyTableColumnFixedDirective, BizyTableComponent, BizyTableFooterComponent, BizyTableHeaderComponent, BizyTableModule, BizyTableRowComponent, BizyTableRowExpandContentComponent, BizyTableScrollingComponent, BizyTableScrollingDirective, BizyTabsComponent, BizyTabsModule, BizyTagComponent, BizyTagModule, BizyTextEllipsisDirective, BizyTimelineComponent, BizyTimelineEventComponent, BizyTimelineModule, BizyToastModule, BizyToastService, BizyToastWrapperComponent, BizyToggleComponent, BizyToggleModule, BizyToolbarComponent, BizyToolbarModule, BizyTooltipDirective, BizyTrackByIdDirective, BizyTranslateModule, BizyTranslatePipe, BizyTranslateService, BizyUniquePipe, BizyValidatorService, BizyViewportService, LANGUAGE, LOADING_TYPE, MIME_TYPE, POPUP_PLACEMENT };
2492
- export type { IBizyBarLineChartData, IBizyBreadcrumb, IBizyCalendarEvent, IBizyDonutChartData, IBizyGaugeChartData, IBizyHeatMapChartData, IBizyHeatMapChartRange, IBizyHeatMapHighlightArea, IBizyHeatMapHighlightLine, IBizyHeatMapHighlightLineLabel, IBizyPieChartData, IBizyPopupResponse, IBizySearchPipeOptions, ILocale, LabelPosition };
2531
+ export { ANURA_STACKED_BAR_CHART_LEGEND_POSITION, BIZY_ANIMATION, BIZY_CALENDAR_DAY, BIZY_CALENDAR_EVENT_ACTION, BIZY_CALENDAR_LANGUAGE, BIZY_CALENDAR_MODE, BIZY_FORMAT_SECONDS_FORMAT, BIZY_FORMAT_SECONDS_LANGUAGE, BIZY_SKELETON_SHAPE, BIZY_TAG_TYPE, BizyAccordionComponent, BizyAccordionModule, BizyAnimationService, BizyAudioPlayerComponent, BizyAudioPlayerFormatSecondsPipe, BizyAudioPlayerModule, BizyAudioRecorderComponent, BizyAudioRecorderModule, BizyAutoFocusDirective, BizyAveragePipe, BizyBarLineChartComponent, BizyBarLineChartModule, BizyBarLineChartPopupComponent, BizyBreadcrumbComponent, BizyBreadcrumbModule, BizyButtonComponent, BizyButtonModule, BizyCacheService, BizyCalendarComponent, BizyCalendarModule, BizyCardComponent, BizyCardModule, BizyCheckboxComponent, BizyCheckboxModule, BizyContentComponent, BizyContentModule, BizyCopyToClipboardDirective, BizyCopyToClipboardService, BizyCurrencyFormatDirective, BizyDatePickerComponent, BizyDatePickerModule, BizyDeviceService, BizyDirectivesModule, BizyDonutChartComponent, BizyDonutChartModule, BizyDonutChartPopupComponent, BizyEnumToArrayPipe, BizyExportToCSVService, BizyExtractNumbersPipe, BizyFileUploaderComponent, BizyFileUploaderModule, BizyFileUploaderService, BizyFilterComponent, BizyFilterContentComponent, BizyFilterModule, BizyFilterPipe, BizyFilterSectionCheckboxOptionComponent, BizyFilterSectionComponent, BizyFilterSectionRangeOptionComponent, BizyFilterSectionSearchOptionComponent, BizyFilterSectionsComponent, BizyFormComponent, BizyFormModule, BizyFormatSecondsPipe, BizyFormatSecondsService, BizyFullScreenPopupWrapperComponent, BizyGaugeChartComponent, BizyGaugeChartModule, BizyGaugeChartPopupComponent, BizyGridComponent, BizyGridForDirective, BizyGridModule, BizyGridRowComponent, BizyHeatMapChartComponent, BizyHeatMapChartModule, BizyInputComponent, BizyInputModule, BizyInputOptionComponent, BizyKeyboardService, BizyListComponent, BizyListModule, BizyLoadingDirective, BizyLogService, BizyLongPressDirective, BizyMenuBarComponent, BizyMenuBarModule, BizyMenuBarOptionComponent, BizyMenuComponent, BizyMenuModule, BizyMenuOptionComponent, BizyMenuTitleComponent, BizyOnlyNumbersDirective, BizyOnlyPhoneDigitsDirective, BizyOrderByPipe, BizyPieChartComponent, BizyPieChartModule, BizyPieChartPopupComponent, BizyPipesModule, BizyPopupModule, BizyPopupService, BizyPopupWrapperComponent, BizyProgressBarComponent, BizyProgressBarModule, BizyRadioComponent, BizyRadioModule, BizyRangeFilterPipe, BizyReducePipe, BizyReloadDirective, BizyRepeatPipe, BizyRoundPipe, BizyRouterService, BizySafePipe, BizySearchPipe, BizySectionCenterComponent, BizySectionComponent, BizySectionEndComponent, BizySectionModule, BizySectionStartComponent, BizySelectComponent, BizySelectModule, BizySelectOptionComponent, BizyServicesModule, BizySetToArrayPipe, BizySidebarComponent, BizySidebarFloatingOptionComponent, BizySidebarFloatingOptionTitleComponent, BizySidebarModule, BizySidebarOptionComponent, BizySkeletonComponent, BizySkeletonModule, BizySliderComponent, BizySliderModule, BizyStackedBarChartComponent, BizyStackedBarChartModule, BizyStackedBarChartSegmentComponent, BizyStorageService, BizyTabComponent, BizyTableColumnArrowsComponent, BizyTableColumnComponent, BizyTableColumnFixedDirective, BizyTableComponent, BizyTableFooterComponent, BizyTableHeaderComponent, BizyTableModule, BizyTableRowComponent, BizyTableRowExpandContentComponent, BizyTableScrollingComponent, BizyTableScrollingDirective, BizyTabsComponent, BizyTabsModule, BizyTagComponent, BizyTagModule, BizyTextEllipsisDirective, BizyTimelineComponent, BizyTimelineEventComponent, BizyTimelineModule, BizyToastModule, BizyToastService, BizyToastWrapperComponent, BizyToggleComponent, BizyToggleModule, BizyToolbarComponent, BizyToolbarModule, BizyTooltipDirective, BizyTranslateModule, BizyTranslatePipe, BizyTranslateService, BizyUniquePipe, BizyValidatorService, BizyViewportService, LANGUAGE, LOADING_TYPE, MIME_TYPE, POPUP_PLACEMENT };
2532
+ export type { IBizyBarLineChartData, IBizyBreadcrumb, IBizyCalendarEvent, IBizyDonutChartData, IBizyGaugeChartData, IBizyHeatMapChartData, IBizyHeatMapChartRange, IBizyHeatMapHighlightArea, IBizyHeatMapHighlightLine, IBizyHeatMapHighlightLineLabel, IBizyPieChartData, IBizyPopupResponse, IBizySearchPipeOptions, IBizyStackedBarChartLegends, ILocale, LabelPosition };