@bizy/core 21.1.0 → 21.2.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/fesm2022/bizy-core.mjs +662 -239
- package/fesm2022/bizy-core.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/variables.css +5 -0
- package/types/bizy-core.d.ts +75 -18
package/package.json
CHANGED
package/styles/variables.css
CHANGED
|
@@ -125,6 +125,11 @@
|
|
|
125
125
|
--bizy-copy-to-clipboard-success-color: #5fbc5a;
|
|
126
126
|
--bizy-copy-to-clipboard-danger-color: #e76565;
|
|
127
127
|
|
|
128
|
+
--bizy-donut-chart-center-label-color: #000;
|
|
129
|
+
--bizy-donut-chart-tooltip-color: #000;
|
|
130
|
+
--bizy-donut-chart-tooltip-background-color: #fff;
|
|
131
|
+
--bizy-donut-chart-tooltip-border-color: #fff;
|
|
132
|
+
|
|
128
133
|
--bizy-filter-padding: 0;
|
|
129
134
|
--bizy-filter-color: var(--bizy-default-color);
|
|
130
135
|
--bizy-filter-background-color: #fff;
|
package/types/bizy-core.d.ts
CHANGED
|
@@ -465,6 +465,66 @@ declare class BizyDatePickerModule {
|
|
|
465
465
|
static ɵinj: i0.ɵɵInjectorDeclaration<BizyDatePickerModule>;
|
|
466
466
|
}
|
|
467
467
|
|
|
468
|
+
declare class BizyDonutChartPopupComponent implements OnInit {
|
|
469
|
+
#private;
|
|
470
|
+
ngOnInit(): void;
|
|
471
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BizyDonutChartPopupComponent, never>;
|
|
472
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BizyDonutChartPopupComponent, "bizy-donut-chart-popup", never, {}, {}, never, never, true, never>;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
interface IBizyDonutChartData {
|
|
476
|
+
name: string;
|
|
477
|
+
value: number;
|
|
478
|
+
color?: string;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
declare class BizyDonutChartComponent {
|
|
482
|
+
#private;
|
|
483
|
+
resizeRef: HTMLElement | null;
|
|
484
|
+
centerLabel: string | null;
|
|
485
|
+
tooltip: {
|
|
486
|
+
show?: boolean;
|
|
487
|
+
formatter?: (item: any) => string;
|
|
488
|
+
};
|
|
489
|
+
legend: {
|
|
490
|
+
show?: boolean;
|
|
491
|
+
orient?: 'vertical' | 'horizontal';
|
|
492
|
+
position?: {
|
|
493
|
+
x: 'left' | 'right' | 'center';
|
|
494
|
+
y: 'top' | 'bottom' | 'center';
|
|
495
|
+
};
|
|
496
|
+
};
|
|
497
|
+
download: {
|
|
498
|
+
show?: boolean;
|
|
499
|
+
label?: string;
|
|
500
|
+
name?: string;
|
|
501
|
+
};
|
|
502
|
+
expand: {
|
|
503
|
+
show?: boolean;
|
|
504
|
+
label?: string;
|
|
505
|
+
};
|
|
506
|
+
label: {
|
|
507
|
+
show?: boolean;
|
|
508
|
+
overflow?: 'break' | 'truncate';
|
|
509
|
+
line?: boolean;
|
|
510
|
+
formatter?: (item: any) => string;
|
|
511
|
+
};
|
|
512
|
+
onSelect: EventEmitter<string>;
|
|
513
|
+
onDownload: EventEmitter<void>;
|
|
514
|
+
ngAfterViewInit(): void;
|
|
515
|
+
getNativeElement: () => any;
|
|
516
|
+
set data(data: Array<IBizyDonutChartData> | null);
|
|
517
|
+
ngOnDestroy(): void;
|
|
518
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BizyDonutChartComponent, never>;
|
|
519
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BizyDonutChartComponent, "bizy-donut-chart", never, { "resizeRef": { "alias": "resizeRef"; "required": false; }; "centerLabel": { "alias": "centerLabel"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "legend": { "alias": "legend"; "required": false; }; "download": { "alias": "download"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "label": { "alias": "label"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "onSelect": "onSelect"; "onDownload": "onDownload"; }, never, never, true, never>;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
declare class BizyDonutChartModule {
|
|
523
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BizyDonutChartModule, never>;
|
|
524
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BizyDonutChartModule, never, [typeof BizyDonutChartComponent, typeof BizyDonutChartPopupComponent], [typeof BizyDonutChartComponent, typeof BizyDonutChartPopupComponent]>;
|
|
525
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BizyDonutChartModule>;
|
|
526
|
+
}
|
|
527
|
+
|
|
468
528
|
declare class BizyFileUploaderComponent implements AfterViewInit, OnDestroy {
|
|
469
529
|
#private;
|
|
470
530
|
dragDropAreaWidth: string;
|
|
@@ -1150,20 +1210,24 @@ declare class BizyMenuBarModule {
|
|
|
1150
1210
|
static ɵinj: i0.ɵɵInjectorDeclaration<BizyMenuBarModule>;
|
|
1151
1211
|
}
|
|
1152
1212
|
|
|
1213
|
+
declare class BizyPieChartPopupComponent implements OnInit {
|
|
1214
|
+
#private;
|
|
1215
|
+
ngOnInit(): void;
|
|
1216
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BizyPieChartPopupComponent, never>;
|
|
1217
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BizyPieChartPopupComponent, "bizy-pie-chart-popup", never, {}, {}, never, never, true, never>;
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1153
1220
|
interface IBizyPieChartData {
|
|
1154
1221
|
name: string;
|
|
1155
1222
|
value: number;
|
|
1156
1223
|
color?: string;
|
|
1224
|
+
metadata?: any;
|
|
1157
1225
|
}
|
|
1158
1226
|
|
|
1159
1227
|
declare class BizyPieChartComponent {
|
|
1160
1228
|
#private;
|
|
1161
1229
|
resizeRef: HTMLElement | null;
|
|
1162
|
-
|
|
1163
|
-
centerLabel: {
|
|
1164
|
-
value: string | number;
|
|
1165
|
-
color?: string;
|
|
1166
|
-
} | null;
|
|
1230
|
+
centerLabel: string | null;
|
|
1167
1231
|
tooltip: {
|
|
1168
1232
|
show?: boolean;
|
|
1169
1233
|
formatter?: (item: any) => string;
|
|
@@ -1188,24 +1252,17 @@ declare class BizyPieChartComponent {
|
|
|
1188
1252
|
label: {
|
|
1189
1253
|
show?: boolean;
|
|
1190
1254
|
overflow?: 'break' | 'truncate';
|
|
1191
|
-
line
|
|
1255
|
+
line?: boolean;
|
|
1192
1256
|
formatter?: (item: any) => string;
|
|
1193
|
-
}
|
|
1194
|
-
onSelect: EventEmitter<
|
|
1257
|
+
};
|
|
1258
|
+
onSelect: EventEmitter<IBizyPieChartData>;
|
|
1195
1259
|
onDownload: EventEmitter<void>;
|
|
1196
1260
|
ngAfterViewInit(): void;
|
|
1197
1261
|
getNativeElement: () => any;
|
|
1198
1262
|
set data(data: Array<IBizyPieChartData> | null);
|
|
1199
1263
|
ngOnDestroy(): void;
|
|
1200
1264
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizyPieChartComponent, never>;
|
|
1201
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BizyPieChartComponent, "bizy-pie-chart", never, { "resizeRef": { "alias": "resizeRef"; "required": false; }; "
|
|
1202
|
-
}
|
|
1203
|
-
|
|
1204
|
-
declare class BizyPieChartPopupComponent implements OnInit {
|
|
1205
|
-
#private;
|
|
1206
|
-
ngOnInit(): void;
|
|
1207
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BizyPieChartPopupComponent, never>;
|
|
1208
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BizyPieChartPopupComponent, "bizy-pie-chart-popup", never, {}, {}, never, never, true, never>;
|
|
1265
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BizyPieChartComponent, "bizy-pie-chart", never, { "resizeRef": { "alias": "resizeRef"; "required": false; }; "centerLabel": { "alias": "centerLabel"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "legend": { "alias": "legend"; "required": false; }; "download": { "alias": "download"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "label": { "alias": "label"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "onSelect": "onSelect"; "onDownload": "onDownload"; }, never, never, true, never>;
|
|
1209
1266
|
}
|
|
1210
1267
|
|
|
1211
1268
|
declare class BizyPieChartModule {
|
|
@@ -2431,5 +2488,5 @@ declare class BizyDirectivesModule {
|
|
|
2431
2488
|
static ɵinj: i0.ɵɵInjectorDeclaration<BizyDirectivesModule>;
|
|
2432
2489
|
}
|
|
2433
2490
|
|
|
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 };
|
|
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 };
|