@bizy/core 20.10.5 → 21.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.
package/package.json CHANGED
@@ -1,44 +1,46 @@
1
1
  {
2
2
  "name": "@bizy/core",
3
- "version": "20.10.5",
3
+ "version": "21.1.0",
4
4
  "peerDependencies": {
5
- "@angular/cdk": "^20.0.0",
6
- "@angular/common": "^20.0.0",
7
- "@angular/core": "^20.0.0",
8
- "@angular/forms": "^20.0.0",
9
- "@angular/platform-browser": "^20.0.0",
10
- "@angular/platform-browser-dynamic": "^20.0.0",
11
- "@angular/router": "^20.0.0",
12
- "@ngx-translate/core": "16.0.4",
5
+ "@angular/cdk": "^21.0.0",
6
+ "@angular/common": "^21.0.0",
7
+ "@angular/core": "^21.0.0",
8
+ "@angular/forms": "^21.0.0",
9
+ "@angular/platform-browser": "^21.0.0",
10
+ "@angular/platform-browser-dynamic": "^21.0.0",
11
+ "@angular/router": "^21.0.0",
12
+ "@ngx-translate/core": "17.0.0",
13
13
  "@uppy/core": "3.13.1",
14
14
  "@uppy/dashboard": "3.8.3",
15
15
  "@uppy/locales": "3.5.3",
16
16
  "@uppy/xhr-upload": "3.6.7",
17
- "angular-calendar": "0.31.1",
17
+ "angular-calendar": "0.32.0",
18
+ "angular-draggable-droppable": "9.0.1",
19
+ "angular-resizable-element": "8.0.0",
18
20
  "date-fns": "4.1.0",
19
- "autonumeric": "4.10.8",
20
- "echarts": "5.6.0",
21
+ "autonumeric": "4.10.9",
22
+ "echarts": "6.0.0",
21
23
  "flatpickr": "4.6.13",
22
24
  "fuse.js": "7.1.0",
23
25
  "html2canvas": "1.4.1",
24
26
  "lottie-web": "5.13.0",
25
- "ngx-device-detector": "10.0.2",
26
- "validator": "13.15.15",
27
+ "ngx-device-detector": "11.0.0",
28
+ "validator": "13.15.23",
27
29
  "rxjs": "^7.4.0",
28
- "zone.js": "^0.15.0"
30
+ "zone.js": "^0.16.0"
29
31
  },
30
32
  "dependencies": {
31
33
  "tslib": "^2.0.0"
32
34
  },
33
35
  "sideEffects": false,
34
36
  "module": "fesm2022/bizy-core.mjs",
35
- "typings": "index.d.ts",
37
+ "typings": "types/bizy-core.d.ts",
36
38
  "exports": {
37
39
  "./package.json": {
38
40
  "default": "./package.json"
39
41
  },
40
42
  ".": {
41
- "types": "./index.d.ts",
43
+ "types": "./types/bizy-core.d.ts",
42
44
  "default": "./fesm2022/bizy-core.mjs"
43
45
  }
44
46
  }
@@ -138,6 +138,10 @@
138
138
  --bizy-form-max-width: 40rem;
139
139
  --bizy-form-row-gap: 1rem;
140
140
 
141
+ --bizy-gauge-chart-tooltip-color: #000;
142
+ --bizy-gauge-chart-tooltip-background-color: #fff;
143
+ --bizy-gauge-chart-tooltip-border-color: #fff;
144
+
141
145
  --bizy-grid-height: 100%;
142
146
  --bizy-grid-min-height: 5rem;
143
147
  --bizy-grid-max-height: 100%;
@@ -7,7 +7,7 @@ import { AbstractControl, ValidatorFn } from '@angular/forms';
7
7
  import { Portal, TemplatePortal, ComponentType } from '@angular/cdk/portal';
8
8
  import { DialogRef } from '@angular/cdk/dialog';
9
9
  import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
10
- import { LangChangeEvent, TranslateModule } from '@ngx-translate/core';
10
+ import { LangChangeEvent, StrictTranslation, TranslateModule } from '@ngx-translate/core';
11
11
  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';
@@ -845,6 +845,58 @@ declare class BizyFormModule {
845
845
  static ɵinj: i0.ɵɵInjectorDeclaration<BizyFormModule>;
846
846
  }
847
847
 
848
+ declare class BizyGaugeChartPopupComponent implements OnInit {
849
+ #private;
850
+ ngOnInit(): void;
851
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyGaugeChartPopupComponent, never>;
852
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyGaugeChartPopupComponent, "bizy-gauge-chart-popup", never, {}, {}, never, never, true, never>;
853
+ }
854
+
855
+ interface IBizyGaugeChartData {
856
+ value: number;
857
+ name?: string;
858
+ formatter?: (item: any) => string;
859
+ }
860
+
861
+ declare class BizyGaugeChartComponent {
862
+ #private;
863
+ resizeRef: HTMLElement | null;
864
+ angle: {
865
+ start: number;
866
+ end: number;
867
+ };
868
+ limit: {
869
+ min: number;
870
+ max: number;
871
+ };
872
+ tooltip: {
873
+ show?: boolean;
874
+ formatter?: (item: any) => string;
875
+ };
876
+ download: {
877
+ show?: boolean;
878
+ label?: string;
879
+ name?: string;
880
+ };
881
+ expand: {
882
+ show?: boolean;
883
+ label?: string;
884
+ };
885
+ onSelect: EventEmitter<string>;
886
+ onDownload: EventEmitter<void>;
887
+ getNativeElement: () => any;
888
+ set data(data: IBizyGaugeChartData | null);
889
+ ngOnDestroy(): void;
890
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyGaugeChartComponent, never>;
891
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyGaugeChartComponent, "bizy-gauge-chart", never, { "resizeRef": { "alias": "resizeRef"; "required": false; }; "angle": { "alias": "angle"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "download": { "alias": "download"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "onSelect": "onSelect"; "onDownload": "onDownload"; }, never, never, true, never>;
892
+ }
893
+
894
+ declare class BizyGaugeChartModule {
895
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyGaugeChartModule, never>;
896
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BizyGaugeChartModule, never, [typeof BizyGaugeChartComponent, typeof BizyGaugeChartPopupComponent], [typeof BizyGaugeChartComponent, typeof BizyGaugeChartPopupComponent]>;
897
+ static ɵinj: i0.ɵɵInjectorDeclaration<BizyGaugeChartModule>;
898
+ }
899
+
848
900
  declare class BizyGridForDirective {
849
901
  #private;
850
902
  readonly viewContainerRef: ViewContainerRef;
@@ -1836,11 +1888,11 @@ declare enum LANGUAGE {
1836
1888
  }
1837
1889
  interface ILocale {
1838
1890
  lang: LANGUAGE;
1839
- translations: Record<string, unknown>;
1891
+ translations: Record<string, StrictTranslation>;
1840
1892
  }
1841
1893
  declare class BizyTranslateService {
1842
1894
  #private;
1843
- get language$(): EventEmitter<LangChangeEvent>;
1895
+ get language$(): Observable<LangChangeEvent>;
1844
1896
  loadTranslations(...args: ILocale[]): void;
1845
1897
  addLangs(langs: Array<LANGUAGE>): void;
1846
1898
  getLangs(): Array<LANGUAGE>;
@@ -2379,5 +2431,5 @@ declare class BizyDirectivesModule {
2379
2431
  static ɵinj: i0.ɵɵInjectorDeclaration<BizyDirectivesModule>;
2380
2432
  }
2381
2433
 
2382
- 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, BizyEnumToArrayPipe, BizyExportToCSVService, BizyExtractNumbersPipe, BizyFileUploaderComponent, BizyFileUploaderModule, BizyFileUploaderService, BizyFilterComponent, BizyFilterContentComponent, BizyFilterModule, BizyFilterPipe, BizyFilterSectionCheckboxOptionComponent, BizyFilterSectionComponent, BizyFilterSectionRangeOptionComponent, BizyFilterSectionSearchOptionComponent, BizyFilterSectionsComponent, BizyFormComponent, BizyFormModule, BizyFormatSecondsPipe, BizyFormatSecondsService, BizyFullScreenPopupWrapperComponent, 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 };
2383
- export type { IBizyBarLineChartData, IBizyBreadcrumb, IBizyCalendarEvent, IBizyHeatMapChartData, IBizyHeatMapChartRange, IBizyHeatMapHighlightArea, IBizyHeatMapHighlightLine, IBizyHeatMapHighlightLineLabel, IBizyPieChartData, IBizyPopupResponse, IBizySearchPipeOptions, ILocale, LabelPosition };
2434
+ 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, 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 };
2435
+ export type { IBizyBarLineChartData, IBizyBreadcrumb, IBizyCalendarEvent, IBizyGaugeChartData, IBizyHeatMapChartData, IBizyHeatMapChartRange, IBizyHeatMapHighlightArea, IBizyHeatMapHighlightLine, IBizyHeatMapHighlightLineLabel, IBizyPieChartData, IBizyPopupResponse, IBizySearchPipeOptions, ILocale, LabelPosition };