@bizy/core 21.5.14 → 21.6.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 +45 -6
- package/fesm2022/bizy-core.mjs.map +1 -1
- package/package.json +1 -1
- package/types/bizy-core.d.ts +14 -2
package/fesm2022/bizy-core.mjs
CHANGED
|
@@ -2,12 +2,12 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { inject, ChangeDetectorRef, ElementRef, EventEmitter, Output, Input, ChangeDetectionStrategy, Component, NgModule, Pipe, Renderer2, ViewChild, ViewContainerRef, RendererFactory2, Inject, Injectable, DOCUMENT as DOCUMENT$1, NgZone, ContentChildren, Directive, ContentChild, TemplateRef, HostListener } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule, DOCUMENT, registerLocaleData, DatePipe } from '@angular/common';
|
|
5
|
-
import { Subscription, Subject, debounceTime, distinctUntilChanged, BehaviorSubject, fromEvent, merge, take, throttleTime, interval, filter as filter$1, skip, auditTime } from 'rxjs';
|
|
5
|
+
import { Subscription, Subject, debounceTime, distinctUntilChanged, BehaviorSubject, fromEvent, merge, take, throttleTime, interval, filter as filter$1, skip, auditTime, timer } from 'rxjs';
|
|
6
6
|
import * as i3 from '@angular/cdk/dialog';
|
|
7
7
|
import { DIALOG_DATA, DialogRef, DialogModule, Dialog } from '@angular/cdk/dialog';
|
|
8
8
|
import * as i1$1 from '@angular/cdk/drag-drop';
|
|
9
9
|
import { DragDropModule } from '@angular/cdk/drag-drop';
|
|
10
|
-
import { debounceTime as debounceTime$1, map, filter, distinctUntilChanged as distinctUntilChanged$1, takeUntil, take as take$1 } from 'rxjs/operators';
|
|
10
|
+
import { debounceTime as debounceTime$1, map, filter, distinctUntilChanged as distinctUntilChanged$1, takeUntil, switchMap, tap, take as take$1 } from 'rxjs/operators';
|
|
11
11
|
import * as i1$2 from '@angular/router';
|
|
12
12
|
import { NavigationEnd, NavigationStart, Router } from '@angular/router';
|
|
13
13
|
import validator from 'validator';
|
|
@@ -18271,6 +18271,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
|
|
|
18271
18271
|
}]
|
|
18272
18272
|
}] });
|
|
18273
18273
|
|
|
18274
|
+
class BizyMouseOverDirective {
|
|
18275
|
+
#elementRef = inject((ElementRef));
|
|
18276
|
+
bizyMouseOverDelay = 150;
|
|
18277
|
+
bizyMouseOver = new EventEmitter();
|
|
18278
|
+
bizyMouseOut = new EventEmitter();
|
|
18279
|
+
destroy$ = new Subject();
|
|
18280
|
+
ngOnInit() {
|
|
18281
|
+
const mouseEnter$ = fromEvent(this.#elementRef.nativeElement, 'mouseenter');
|
|
18282
|
+
const mouseLeave$ = fromEvent(this.#elementRef.nativeElement, 'mouseleave');
|
|
18283
|
+
mouseEnter$
|
|
18284
|
+
.pipe(switchMap(event => timer(this.bizyMouseOverDelay).pipe(tap(() => this.bizyMouseOver.emit(event)), takeUntil(mouseLeave$))), takeUntil(this.destroy$))
|
|
18285
|
+
.subscribe();
|
|
18286
|
+
mouseLeave$
|
|
18287
|
+
.pipe(tap(event => this.bizyMouseOut.emit(event)), takeUntil(this.destroy$))
|
|
18288
|
+
.subscribe();
|
|
18289
|
+
}
|
|
18290
|
+
ngOnDestroy() {
|
|
18291
|
+
this.destroy$.next();
|
|
18292
|
+
this.destroy$.complete();
|
|
18293
|
+
}
|
|
18294
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyMouseOverDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
18295
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.5", type: BizyMouseOverDirective, isStandalone: true, selector: "[bizyMouseOver]", inputs: { bizyMouseOverDelay: "bizyMouseOverDelay" }, outputs: { bizyMouseOver: "bizyMouseOver", bizyMouseOut: "bizyMouseOut" }, ngImport: i0 });
|
|
18296
|
+
}
|
|
18297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyMouseOverDirective, decorators: [{
|
|
18298
|
+
type: Directive,
|
|
18299
|
+
args: [{
|
|
18300
|
+
selector: '[bizyMouseOver]'
|
|
18301
|
+
}]
|
|
18302
|
+
}], propDecorators: { bizyMouseOverDelay: [{
|
|
18303
|
+
type: Input
|
|
18304
|
+
}], bizyMouseOver: [{
|
|
18305
|
+
type: Output
|
|
18306
|
+
}], bizyMouseOut: [{
|
|
18307
|
+
type: Output
|
|
18308
|
+
}] } });
|
|
18309
|
+
|
|
18274
18310
|
class BizyReloadDirective {
|
|
18275
18311
|
bizyReloadThreshold = 200;
|
|
18276
18312
|
bizyReload = new EventEmitter();
|
|
@@ -18987,7 +19023,8 @@ const DIRECTIVES = [
|
|
|
18987
19023
|
BizyTextEllipsisDirective,
|
|
18988
19024
|
BizyTooltipDirective,
|
|
18989
19025
|
BizyAutoFocusDirective,
|
|
18990
|
-
BizyReloadDirective
|
|
19026
|
+
BizyReloadDirective,
|
|
19027
|
+
BizyMouseOverDirective
|
|
18991
19028
|
];
|
|
18992
19029
|
class BizyDirectivesModule {
|
|
18993
19030
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -19000,7 +19037,8 @@ class BizyDirectivesModule {
|
|
|
19000
19037
|
BizyTextEllipsisDirective,
|
|
19001
19038
|
BizyTooltipDirective,
|
|
19002
19039
|
BizyAutoFocusDirective,
|
|
19003
|
-
BizyReloadDirective
|
|
19040
|
+
BizyReloadDirective,
|
|
19041
|
+
BizyMouseOverDirective], exports: [BizyCopyToClipboardDirective,
|
|
19004
19042
|
BizyCurrencyFormatDirective,
|
|
19005
19043
|
BizyLoadingDirective,
|
|
19006
19044
|
BizyLongPressDirective,
|
|
@@ -19009,7 +19047,8 @@ class BizyDirectivesModule {
|
|
|
19009
19047
|
BizyTextEllipsisDirective,
|
|
19010
19048
|
BizyTooltipDirective,
|
|
19011
19049
|
BizyAutoFocusDirective,
|
|
19012
|
-
BizyReloadDirective
|
|
19050
|
+
BizyReloadDirective,
|
|
19051
|
+
BizyMouseOverDirective] });
|
|
19013
19052
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyDirectivesModule });
|
|
19014
19053
|
}
|
|
19015
19054
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyDirectivesModule, decorators: [{
|
|
@@ -19024,5 +19063,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
|
|
|
19024
19063
|
* Generated bundle index. Do not edit.
|
|
19025
19064
|
*/
|
|
19026
19065
|
|
|
19027
|
-
export { BIZY_ANIMATION, BIZY_BAR_LINE_CHART_AXIS_POSITION, 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_STACKED_BAR_CHART_LEGEND_POSITION, BIZY_TAG_TYPE, BizyAccordionComponent, BizyAccordionModule, BizyAnimationService, BizyAudioPlayerComponent, BizyAudioPlayerFormatSecondsPipe, BizyAudioPlayerModule, BizyAudioRecorderComponent, BizyAudioRecorderModule, BizyAutoFocusDirective, BizyAveragePipe, BizyBarChartComponent, 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, BizyLineChartComponent, 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, BizySelectSelectedOptionComponent, 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 };
|
|
19066
|
+
export { BIZY_ANIMATION, BIZY_BAR_LINE_CHART_AXIS_POSITION, 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_STACKED_BAR_CHART_LEGEND_POSITION, BIZY_TAG_TYPE, BizyAccordionComponent, BizyAccordionModule, BizyAnimationService, BizyAudioPlayerComponent, BizyAudioPlayerFormatSecondsPipe, BizyAudioPlayerModule, BizyAudioRecorderComponent, BizyAudioRecorderModule, BizyAutoFocusDirective, BizyAveragePipe, BizyBarChartComponent, 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, BizyLineChartComponent, BizyListComponent, BizyListModule, BizyLoadingDirective, BizyLogService, BizyLongPressDirective, BizyMenuBarComponent, BizyMenuBarModule, BizyMenuBarOptionComponent, BizyMenuComponent, BizyMenuModule, BizyMenuOptionComponent, BizyMenuTitleComponent, BizyMouseOverDirective, 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, BizySelectSelectedOptionComponent, 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 };
|
|
19028
19067
|
//# sourceMappingURL=bizy-core.mjs.map
|