@bizy/core 19.17.3 → 20.0.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 +448 -448
- package/fesm2022/bizy-core.mjs.map +1 -1
- package/index.d.ts +2041 -3
- package/package.json +14 -14
- package/lib/directives/auto-focus.directive.d.ts +0 -12
- package/lib/directives/copy-to-clipboard.directive.d.ts +0 -16
- package/lib/directives/currency-format.directive.d.ts +0 -16
- package/lib/directives/directives.module.d.ts +0 -17
- package/lib/directives/index.d.ts +0 -12
- package/lib/directives/loading.directive.d.ts +0 -16
- package/lib/directives/long-press.directive.d.ts +0 -13
- package/lib/directives/only-numbers.directive.d.ts +0 -12
- package/lib/directives/only-phone-digits.directive.d.ts +0 -8
- package/lib/directives/reload.directive.d.ts +0 -11
- package/lib/directives/text-ellipsis.directive.d.ts +0 -12
- package/lib/directives/tooltip.directive.d.ts +0 -24
- package/lib/directives/track-by-id.directive.d.ts +0 -12
- package/lib/modules/accordion/accordion.component.d.ts +0 -15
- package/lib/modules/accordion/accordion.module.d.ts +0 -7
- package/lib/modules/accordion/index.d.ts +0 -2
- package/lib/modules/audio-player/audio-player.component.d.ts +0 -26
- package/lib/modules/audio-player/audio-player.module.d.ts +0 -7
- package/lib/modules/audio-player/audio-player.types.d.ts +0 -5
- package/lib/modules/audio-player/index.d.ts +0 -3
- package/lib/modules/bar-line-chart/bar-line-chart.component.d.ts +0 -29
- package/lib/modules/bar-line-chart/bar-line-chart.module.d.ts +0 -7
- package/lib/modules/bar-line-chart/bar-line-chart.types.d.ts +0 -17
- package/lib/modules/bar-line-chart/index.d.ts +0 -3
- package/lib/modules/breadcrumb/breadcrumb.component.d.ts +0 -15
- package/lib/modules/breadcrumb/breadcrumb.module.d.ts +0 -7
- package/lib/modules/breadcrumb/breadcrumb.types.d.ts +0 -6
- package/lib/modules/breadcrumb/index.d.ts +0 -3
- package/lib/modules/button/button.component.d.ts +0 -13
- package/lib/modules/button/button.module.d.ts +0 -7
- package/lib/modules/button/index.d.ts +0 -2
- package/lib/modules/calendar/calendar.component.d.ts +0 -52
- package/lib/modules/calendar/calendar.formatter.d.ts +0 -7
- package/lib/modules/calendar/calendar.module.d.ts +0 -7
- package/lib/modules/calendar/calendar.types.d.ts +0 -33
- package/lib/modules/calendar/index.d.ts +0 -3
- package/lib/modules/card/card.component.d.ts +0 -12
- package/lib/modules/card/card.module.d.ts +0 -7
- package/lib/modules/card/index.d.ts +0 -2
- package/lib/modules/checkbox/checkbox.component.d.ts +0 -13
- package/lib/modules/checkbox/checkbox.module.d.ts +0 -7
- package/lib/modules/checkbox/index.d.ts +0 -2
- package/lib/modules/date-picker/date-picker.component.d.ts +0 -45
- package/lib/modules/date-picker/date-picker.module.d.ts +0 -7
- package/lib/modules/date-picker/index.d.ts +0 -2
- package/lib/modules/file-uploader/file-uploader.component.d.ts +0 -46
- package/lib/modules/file-uploader/file-uploader.module.d.ts +0 -7
- package/lib/modules/file-uploader/file-uploader.service.d.ts +0 -51
- package/lib/modules/file-uploader/index.d.ts +0 -3
- package/lib/modules/filter/filter-content/filter-content.component.d.ts +0 -5
- package/lib/modules/filter/filter-section/filter-section.component.d.ts +0 -24
- package/lib/modules/filter/filter-section-checkbox-option/filter-section-checkbox-option.component.d.ts +0 -17
- package/lib/modules/filter/filter-section-range-option/filter-section-range-option.component.d.ts +0 -30
- package/lib/modules/filter/filter-section-search-option/filter-section-search-option.component.d.ts +0 -21
- package/lib/modules/filter/filter-sections/filter-sections.component.d.ts +0 -5
- package/lib/modules/filter/filter.component.d.ts +0 -27
- package/lib/modules/filter/filter.module.d.ts +0 -15
- package/lib/modules/filter/index.d.ts +0 -9
- package/lib/modules/filter/pipes/filter.pipe.d.ts +0 -10
- package/lib/modules/filter/pipes/index.d.ts +0 -2
- package/lib/modules/filter/pipes/range-filter.pipe.d.ts +0 -10
- package/lib/modules/form/form.component.d.ts +0 -16
- package/lib/modules/form/form.module.d.ts +0 -7
- package/lib/modules/form/index.d.ts +0 -2
- package/lib/modules/grid/grid-row/grid-row.component.d.ts +0 -8
- package/lib/modules/grid/grid.component.d.ts +0 -26
- package/lib/modules/grid/grid.directive.d.ts +0 -12
- package/lib/modules/grid/grid.module.d.ts +0 -9
- package/lib/modules/grid/index.d.ts +0 -4
- package/lib/modules/index.d.ts +0 -32
- package/lib/modules/input/index.d.ts +0 -3
- package/lib/modules/input/input-option/input-option.component.d.ts +0 -16
- package/lib/modules/input/input.component.d.ts +0 -56
- package/lib/modules/input/input.module.d.ts +0 -8
- package/lib/modules/list/index.d.ts +0 -2
- package/lib/modules/list/list.component.d.ts +0 -6
- package/lib/modules/list/list.module.d.ts +0 -7
- package/lib/modules/menu/index.d.ts +0 -4
- package/lib/modules/menu/menu-option/menu-option.component.d.ts +0 -20
- package/lib/modules/menu/menu-title/menu-title.component.d.ts +0 -7
- package/lib/modules/menu/menu.component.d.ts +0 -27
- package/lib/modules/menu/menu.module.d.ts +0 -9
- package/lib/modules/pie-chart/index.d.ts +0 -3
- package/lib/modules/pie-chart/pie-chart.component.d.ts +0 -28
- package/lib/modules/pie-chart/pie-chart.module.d.ts +0 -7
- package/lib/modules/pie-chart/pie-chart.types.d.ts +0 -5
- package/lib/modules/popup/full-screen-popup-wrapper/full-screen-popup-wrapper.component.d.ts +0 -15
- package/lib/modules/popup/index.d.ts +0 -5
- package/lib/modules/popup/popup-wrapper/popup-wrapper.component.d.ts +0 -21
- package/lib/modules/popup/popup.module.d.ts +0 -8
- package/lib/modules/popup/popup.service.d.ts +0 -37
- package/lib/modules/popup/popup.types.d.ts +0 -4
- package/lib/modules/radio/index.d.ts +0 -2
- package/lib/modules/radio/radio.component.d.ts +0 -13
- package/lib/modules/radio/radio.module.d.ts +0 -7
- package/lib/modules/section/index.d.ts +0 -5
- package/lib/modules/section/section-center/section-center.component.d.ts +0 -6
- package/lib/modules/section/section-end/section-end.component.d.ts +0 -6
- package/lib/modules/section/section-start/section-start.component.d.ts +0 -6
- package/lib/modules/section/section.component.d.ts +0 -6
- package/lib/modules/section/section.module.d.ts +0 -10
- package/lib/modules/select/index.d.ts +0 -3
- package/lib/modules/select/select-option/select-option.component.d.ts +0 -21
- package/lib/modules/select/select.component.d.ts +0 -37
- package/lib/modules/select/select.module.d.ts +0 -8
- package/lib/modules/sidebar/index.d.ts +0 -5
- package/lib/modules/sidebar/sidebar-floating-option/sidebar-floating-option.component.d.ts +0 -34
- package/lib/modules/sidebar/sidebar-floating-option-title/sidebar-floating-option-title.component.d.ts +0 -7
- package/lib/modules/sidebar/sidebar-option/sidebar-option.component.d.ts +0 -23
- package/lib/modules/sidebar/sidebar.component.d.ts +0 -19
- package/lib/modules/sidebar/sidebar.module.d.ts +0 -10
- package/lib/modules/skeleton/index.d.ts +0 -3
- package/lib/modules/skeleton/skeleton.component.d.ts +0 -12
- package/lib/modules/skeleton/skeleton.module.d.ts +0 -7
- package/lib/modules/skeleton/skeleton.types.d.ts +0 -4
- package/lib/modules/slider/index.d.ts +0 -2
- package/lib/modules/slider/slider.component.d.ts +0 -20
- package/lib/modules/slider/slider.module.d.ts +0 -7
- package/lib/modules/table/directives/index.d.ts +0 -1
- package/lib/modules/table/directives/table-column-fixed.directive.d.ts +0 -9
- package/lib/modules/table/index.d.ts +0 -11
- package/lib/modules/table/table-column/table-column.component.d.ts +0 -14
- package/lib/modules/table/table-column-arrows/table-column-arrows.component.d.ts +0 -8
- package/lib/modules/table/table-footer/table-footer.component.d.ts +0 -19
- package/lib/modules/table/table-header/table-header.component.d.ts +0 -23
- package/lib/modules/table/table-row/table-row.component.d.ts +0 -28
- package/lib/modules/table/table-row-expand-content/table-row-expand-content.component.d.ts +0 -5
- package/lib/modules/table/table-scrolling/table-scrolling.component.d.ts +0 -23
- package/lib/modules/table/table-scrolling/table-scrolling.directive.d.ts +0 -15
- package/lib/modules/table/table.component.d.ts +0 -30
- package/lib/modules/table/table.module.d.ts +0 -16
- package/lib/modules/tabs/index.d.ts +0 -3
- package/lib/modules/tabs/tab/tab.component.d.ts +0 -16
- package/lib/modules/tabs/tabs.component.d.ts +0 -21
- package/lib/modules/tabs/tabs.module.d.ts +0 -8
- package/lib/modules/tag/index.d.ts +0 -3
- package/lib/modules/tag/tag.component.d.ts +0 -14
- package/lib/modules/tag/tag.module.d.ts +0 -7
- package/lib/modules/tag/tag.types.d.ts +0 -7
- package/lib/modules/timeline/index.d.ts +0 -3
- package/lib/modules/timeline/timeline-event/timeline-event.component.d.ts +0 -13
- package/lib/modules/timeline/timeline.component.d.ts +0 -7
- package/lib/modules/timeline/timeline.module.d.ts +0 -8
- package/lib/modules/toast/index.d.ts +0 -3
- package/lib/modules/toast/toast-wrapper/toast-wrapper.component.d.ts +0 -20
- package/lib/modules/toast/toast.module.d.ts +0 -7
- package/lib/modules/toast/toast.service.d.ts +0 -56
- package/lib/modules/toggle/index.d.ts +0 -3
- package/lib/modules/toggle/toggle.component.d.ts +0 -12
- package/lib/modules/toggle/toggle.module.d.ts +0 -7
- package/lib/modules/toggle/toggle.types.d.ts +0 -1
- package/lib/modules/toolbar/index.d.ts +0 -2
- package/lib/modules/toolbar/toolbar.component.d.ts +0 -5
- package/lib/modules/toolbar/toolbar.module.d.ts +0 -7
- package/lib/modules/translate/index.d.ts +0 -3
- package/lib/modules/translate/translate.module.d.ts +0 -9
- package/lib/modules/translate/translate.pipe.d.ts +0 -10
- package/lib/modules/translate/translate.service.d.ts +0 -21
- package/lib/pipes/average.pipe.d.ts +0 -7
- package/lib/pipes/enum-to-array.pipe.d.ts +0 -10
- package/lib/pipes/extractNumbers.pipe.d.ts +0 -7
- package/lib/pipes/format-seconds.pipe.d.ts +0 -13
- package/lib/pipes/index.d.ts +0 -11
- package/lib/pipes/order-by.pipe.d.ts +0 -8
- package/lib/pipes/pipes.module.d.ts +0 -16
- package/lib/pipes/reduce.pipe.d.ts +0 -7
- package/lib/pipes/repeat.pipe.d.ts +0 -7
- package/lib/pipes/safe.pipe.d.ts +0 -10
- package/lib/pipes/search/index.d.ts +0 -2
- package/lib/pipes/search/search.model.d.ts +0 -45
- package/lib/pipes/search/search.pipe.d.ts +0 -16
- package/lib/pipes/set-to-array.pipe.d.ts +0 -7
- package/lib/services/animation.service.d.ts +0 -26
- package/lib/services/cache.service.d.ts +0 -13
- package/lib/services/copy-to-clipboard.service.d.ts +0 -10
- package/lib/services/device/device.service.d.ts +0 -12
- package/lib/services/device/uach-retrofill.d.ts +0 -34
- package/lib/services/export-to-csv.service.d.ts +0 -19
- package/lib/services/format-seconds.service.d.ts +0 -22
- package/lib/services/index.d.ts +0 -13
- package/lib/services/keyboard.service.d.ts +0 -13
- package/lib/services/log.service.d.ts +0 -27
- package/lib/services/router.service.d.ts +0 -30
- package/lib/services/services.module.d.ts +0 -6
- package/lib/services/storage.service.d.ts +0 -9
- package/lib/services/validator.service.d.ts +0 -57
- package/lib/services/viewport.service.d.ts +0 -17
- package/public-api.d.ts +0 -4
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { FuseGetFunction } from "fuse.js";
|
|
2
|
-
export interface IFuseResult {
|
|
3
|
-
item: any;
|
|
4
|
-
refIndex: number;
|
|
5
|
-
score: number;
|
|
6
|
-
}
|
|
7
|
-
export interface IOptions {
|
|
8
|
-
isCaseSensitive?: boolean;
|
|
9
|
-
includeScore?: boolean;
|
|
10
|
-
includeMatches?: boolean;
|
|
11
|
-
shouldSort?: boolean;
|
|
12
|
-
findAllMatches?: boolean;
|
|
13
|
-
minMatchCharLength?: number;
|
|
14
|
-
location?: number;
|
|
15
|
-
threshold?: number;
|
|
16
|
-
distance?: number;
|
|
17
|
-
useExtendedSearch?: boolean;
|
|
18
|
-
ignoreLocation?: boolean;
|
|
19
|
-
ignoreFieldNorm?: boolean;
|
|
20
|
-
getFn?: FuseGetFunction<any>;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* NOTA:
|
|
24
|
-
* - Para comprender mejor cómo location, threshold y distance funcionan juntos, leer en https://fusejs.io/concepts/scoring-theory.html#scoring-theory
|
|
25
|
-
* - El único momento en que tiene sentido establecer ignoreFieldNorm en true es cuando no importa cuántos términos haya, sino solo que el término de consulta exista.
|
|
26
|
-
*/
|
|
27
|
-
export interface IBizySearchPipeOptions extends IOptions {
|
|
28
|
-
keys?: Array<string>;
|
|
29
|
-
}
|
|
30
|
-
export declare class BizySearchPipeOptions implements IBizySearchPipeOptions {
|
|
31
|
-
isCaseSensitive?: boolean;
|
|
32
|
-
distance?: number;
|
|
33
|
-
findAllMatches?: boolean;
|
|
34
|
-
ignoreLocation?: boolean;
|
|
35
|
-
ignoreFieldNorm?: boolean;
|
|
36
|
-
includeMatches?: boolean;
|
|
37
|
-
includeScore?: boolean;
|
|
38
|
-
location?: number;
|
|
39
|
-
minMatchCharLength?: number;
|
|
40
|
-
shouldSort?: boolean;
|
|
41
|
-
threshold?: number;
|
|
42
|
-
useExtendedSearch?: boolean;
|
|
43
|
-
keys: Array<string>;
|
|
44
|
-
constructor(options: IOptions, keys?: Array<string>);
|
|
45
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IBizySearchPipeOptions } from './search.model';
|
|
2
|
-
import { PipeTransform } from '@angular/core';
|
|
3
|
-
import Fuse from 'fuse.js';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BizySearchPipe implements PipeTransform {
|
|
6
|
-
#private;
|
|
7
|
-
searchPipeOptions: IBizySearchPipeOptions;
|
|
8
|
-
fuse: Fuse<any>;
|
|
9
|
-
items: Array<unknown>;
|
|
10
|
-
readonly perfectMatch: {
|
|
11
|
-
threshold: number;
|
|
12
|
-
};
|
|
13
|
-
transform<T>(items: Array<T>, search: string | number | Array<string | number>, keys?: string | Array<string>, options?: IBizySearchPipeOptions): Array<T>;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BizySearchPipe, never>;
|
|
15
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<BizySearchPipe, "bizySearch", true>;
|
|
16
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BizySetToArrayPipe implements PipeTransform {
|
|
4
|
-
transform<T>(items: Set<T>): Array<T>;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BizySetToArrayPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<BizySetToArrayPipe, "bizySetToArray", true>;
|
|
7
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { RendererFactory2 } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare enum BIZY_ANIMATION {
|
|
4
|
-
FADE_IN = "fade-in",
|
|
5
|
-
FADE_OUT = "fade-out",
|
|
6
|
-
FADE_IN_UP = "fade-in-up",
|
|
7
|
-
FADE_IN_RIGHT = "fade-in-right",
|
|
8
|
-
FADE_IN_DOWN = "fade-in-down",
|
|
9
|
-
FADE_IN_LEFT = "fade-in-left",
|
|
10
|
-
SLIDE_IN_UP = "slide-in-up",
|
|
11
|
-
SLIDE_IN_RIGHT = "slide-in-right",
|
|
12
|
-
SLIDE_IN_DOWN = "slide-in-down",
|
|
13
|
-
SLIDE_IN_LEFT = "slide-in-left",
|
|
14
|
-
SLIDE_OUT_UP = "slide-out-up",
|
|
15
|
-
SLIDE_OUT_DOWN = "slide-out-down",
|
|
16
|
-
SLIDE_OUT_RIGHT = "slide-out-right",
|
|
17
|
-
SLIDE_OUT_LEFT = "slide-out-left"
|
|
18
|
-
}
|
|
19
|
-
export declare class BizyAnimationService {
|
|
20
|
-
#private;
|
|
21
|
-
private rendererFactory;
|
|
22
|
-
constructor(rendererFactory: RendererFactory2);
|
|
23
|
-
setAnimation(element: HTMLElement, animation: BIZY_ANIMATION): Promise<void>;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BizyAnimationService, never>;
|
|
25
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BizyAnimationService>;
|
|
26
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { BizyRouterService } from './router.service';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BizyCacheService {
|
|
4
|
-
private router;
|
|
5
|
-
readonly CACHE_PREFIX = "BIZY-CACHE";
|
|
6
|
-
constructor(router: BizyRouterService);
|
|
7
|
-
getData<T>(key?: string): T;
|
|
8
|
-
setData<T>(value: T, key?: string, expiresAt?: number): void;
|
|
9
|
-
remove(key?: string): void;
|
|
10
|
-
removeAll(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BizyCacheService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BizyCacheService>;
|
|
13
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BizyCopyToClipboardService {
|
|
3
|
-
#private;
|
|
4
|
-
copy(data: string | {
|
|
5
|
-
items: Array<unknown>;
|
|
6
|
-
model: Record<string, string>;
|
|
7
|
-
}): Promise<void>;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BizyCopyToClipboardService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BizyCopyToClipboardService>;
|
|
10
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BizyDeviceService {
|
|
3
|
-
#private;
|
|
4
|
-
getUserAgent(): Promise<string>;
|
|
5
|
-
isMobile: () => boolean;
|
|
6
|
-
isTablet: () => boolean;
|
|
7
|
-
isDesktop: () => boolean;
|
|
8
|
-
isPortrait: () => boolean;
|
|
9
|
-
isLandscape: () => boolean;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BizyDeviceService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BizyDeviceService>;
|
|
12
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2020 Google LLC
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the 'License');
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an 'AS IS' BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
/**
|
|
17
|
-
* @param {string[]} hints
|
|
18
|
-
* @return {Promise<string|undefined>} A Promise that resolves to a string if a
|
|
19
|
-
* UA could be synthesized from client hints, otherwise undefined.
|
|
20
|
-
*/
|
|
21
|
-
declare function getUserAgentUsingClientHints(hints: ['architecture', 'bitness', 'model', 'platformVersion', 'uaFullVersion', 'fullVersionList']): Promise<string>;
|
|
22
|
-
declare function getVersion(fullVersionList: any[], majorVersion: any): any;
|
|
23
|
-
declare function getWindowsPlatformVersion(platformVersion: string): string;
|
|
24
|
-
/**
|
|
25
|
-
* @param {string[]} hints
|
|
26
|
-
* @return {Promise<string|undefined>} A Promise that resolves on overriding the
|
|
27
|
-
* navigator.userAgent string.
|
|
28
|
-
*/
|
|
29
|
-
declare function overrideUserAgentUsingClientHints(hints: ['architecture', 'bitness', 'model', 'platformVersion', 'uaFullVersion', 'fullVersionList']): Promise<string>;
|
|
30
|
-
export declare const exportedForTests: {
|
|
31
|
-
getVersion: typeof getVersion;
|
|
32
|
-
getWindowsPlatformVersion: typeof getWindowsPlatformVersion;
|
|
33
|
-
};
|
|
34
|
-
export { getUserAgentUsingClientHints, overrideUserAgentUsingClientHints as getUserAgent };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { RendererFactory2 } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BizyExportToCSVService {
|
|
4
|
-
#private;
|
|
5
|
-
private document;
|
|
6
|
-
private rendererFactory;
|
|
7
|
-
constructor(document: Document, rendererFactory: RendererFactory2);
|
|
8
|
-
download(data: {
|
|
9
|
-
items: Array<unknown>;
|
|
10
|
-
model: Record<string, string>;
|
|
11
|
-
fileName: string;
|
|
12
|
-
}): void;
|
|
13
|
-
getCSV(data: {
|
|
14
|
-
items: Array<any>;
|
|
15
|
-
model: Record<string, string>;
|
|
16
|
-
}): string;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BizyExportToCSVService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BizyExportToCSVService>;
|
|
19
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare enum BIZY_FORMAT_SECONDS_LANGUAGE {
|
|
3
|
-
SPANISH = "es",
|
|
4
|
-
ENGLISH = "en"
|
|
5
|
-
}
|
|
6
|
-
export declare enum BIZY_FORMAT_SECONDS_FORMAT {
|
|
7
|
-
DATE_TIME = "date-time",
|
|
8
|
-
TIME = "time"
|
|
9
|
-
}
|
|
10
|
-
export declare class BizyFormatSecondsService {
|
|
11
|
-
#private;
|
|
12
|
-
getOptions(): {
|
|
13
|
-
language: BIZY_FORMAT_SECONDS_LANGUAGE;
|
|
14
|
-
format: BIZY_FORMAT_SECONDS_FORMAT;
|
|
15
|
-
};
|
|
16
|
-
setOptions(options: {
|
|
17
|
-
language?: BIZY_FORMAT_SECONDS_LANGUAGE;
|
|
18
|
-
format?: BIZY_FORMAT_SECONDS_FORMAT;
|
|
19
|
-
}): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BizyFormatSecondsService, never>;
|
|
21
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BizyFormatSecondsService>;
|
|
22
|
-
}
|
package/lib/services/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export { BizyServicesModule } from './services.module';
|
|
2
|
-
export { BizyAnimationService, BIZY_ANIMATION } from './animation.service';
|
|
3
|
-
export { BizyDeviceService } from "./device/device.service";
|
|
4
|
-
export { BizyCacheService } from './cache.service';
|
|
5
|
-
export { BizyCopyToClipboardService } from "./copy-to-clipboard.service";
|
|
6
|
-
export { BizyExportToCSVService } from './export-to-csv.service';
|
|
7
|
-
export { BizyFormatSecondsService, BIZY_FORMAT_SECONDS_LANGUAGE, BIZY_FORMAT_SECONDS_FORMAT } from './format-seconds.service';
|
|
8
|
-
export { BizyKeyboardService } from './keyboard.service';
|
|
9
|
-
export { BizyLogService } from "./log.service";
|
|
10
|
-
export { BizyRouterService } from "./router.service";
|
|
11
|
-
export { BizyStorageService } from "./storage.service";
|
|
12
|
-
export { BizyValidatorService } from "./validator.service";
|
|
13
|
-
export { BizyViewportService } from './viewport.service';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BizyKeyboardService {
|
|
4
|
-
#private;
|
|
5
|
-
private document;
|
|
6
|
-
get shiftHolding$(): Observable<boolean>;
|
|
7
|
-
get controlHolding$(): Observable<boolean>;
|
|
8
|
-
constructor(document: Document);
|
|
9
|
-
isShiftHolding(): boolean;
|
|
10
|
-
isControlHolding(): boolean;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BizyKeyboardService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BizyKeyboardService>;
|
|
13
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
interface ILogData {
|
|
3
|
-
fileName: string;
|
|
4
|
-
functionName: string;
|
|
5
|
-
param?: unknown;
|
|
6
|
-
}
|
|
7
|
-
export declare class BizyLogService {
|
|
8
|
-
#private;
|
|
9
|
-
debug(data: string | ILogData, param?: unknown): void;
|
|
10
|
-
info(data: string | ILogData, param?: unknown): void;
|
|
11
|
-
success(data: string | ILogData, param?: unknown): void;
|
|
12
|
-
warning(data: string | ILogData, param?: unknown): void;
|
|
13
|
-
error(data: string | ILogData, param?: unknown): void;
|
|
14
|
-
/** DEPRECATED */
|
|
15
|
-
templateDebug(data: ILogData): void;
|
|
16
|
-
/** DEPRECATED */
|
|
17
|
-
templateSucc(data: ILogData): void;
|
|
18
|
-
/** DEPRECATED */
|
|
19
|
-
templateInfo(data: ILogData): void;
|
|
20
|
-
/** DEPRECATED */
|
|
21
|
-
templateWarn(data: ILogData): void;
|
|
22
|
-
/** DEPRECATED */
|
|
23
|
-
templateError(data: ILogData): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BizyLogService, never>;
|
|
25
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BizyLogService>;
|
|
26
|
-
}
|
|
27
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ActivatedRoute, ActivatedRouteSnapshot, Router } from '@angular/router';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BizyRouterService {
|
|
5
|
-
private router;
|
|
6
|
-
static backPath: string;
|
|
7
|
-
transitionsEnd$: Observable<ActivatedRouteSnapshot>;
|
|
8
|
-
transitionsStart$: Observable<ActivatedRouteSnapshot>;
|
|
9
|
-
popStateEvent$: Observable<PopStateEvent>;
|
|
10
|
-
routeChange$: Observable<void>;
|
|
11
|
-
constructor(router: Router);
|
|
12
|
-
getURL(): string;
|
|
13
|
-
getBackPath(): string;
|
|
14
|
-
getId(activatedRoute: ActivatedRoute, param: string): string | null;
|
|
15
|
-
getQueryParam(activatedRoute: ActivatedRoute, param: string): string | null;
|
|
16
|
-
getAllQueryParam(): Record<string, string>;
|
|
17
|
-
goTo(data: {
|
|
18
|
-
path: string;
|
|
19
|
-
params?: Record<string, string>;
|
|
20
|
-
replace?: boolean;
|
|
21
|
-
skip?: boolean;
|
|
22
|
-
}): void;
|
|
23
|
-
goBack(data?: {
|
|
24
|
-
path: string;
|
|
25
|
-
}): void;
|
|
26
|
-
reload(force?: boolean): void;
|
|
27
|
-
private _serialize;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BizyRouterService, never>;
|
|
29
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BizyRouterService>;
|
|
30
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BizyServicesModule {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BizyServicesModule, never>;
|
|
4
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BizyServicesModule, never, never, never>;
|
|
5
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<BizyServicesModule>;
|
|
6
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BizyStorageService {
|
|
3
|
-
get<T>(key: string): T;
|
|
4
|
-
set(key: string, value: unknown): void;
|
|
5
|
-
remove(key: string): void;
|
|
6
|
-
clear(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BizyStorageService, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BizyStorageService>;
|
|
9
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BizyValidatorService {
|
|
4
|
-
isEmail: (value: string) => boolean;
|
|
5
|
-
dateIsAfter: (data: {
|
|
6
|
-
date: string | number | Date;
|
|
7
|
-
comparisonDate: string | number | Date;
|
|
8
|
-
}) => boolean;
|
|
9
|
-
dateIsBefore: (data: {
|
|
10
|
-
date: string | number | Date;
|
|
11
|
-
comparisonDate: string | number | Date;
|
|
12
|
-
}) => boolean;
|
|
13
|
-
isAlpha: (value: string) => boolean;
|
|
14
|
-
isAlphanumeric: (value: string) => boolean;
|
|
15
|
-
isNumeric: (value: string | number) => boolean;
|
|
16
|
-
isNumber(number: unknown): number is number;
|
|
17
|
-
isString(string: unknown): string is string;
|
|
18
|
-
isInteger: (value: string | number) => boolean;
|
|
19
|
-
isBoolean: (value: unknown) => boolean;
|
|
20
|
-
isCreditCard: (value: string | number) => boolean;
|
|
21
|
-
isDataURI: (value: string) => boolean;
|
|
22
|
-
isURL: (value: string) => boolean;
|
|
23
|
-
isDate: (value: string) => boolean;
|
|
24
|
-
isJSON: (value: string) => boolean;
|
|
25
|
-
isIP: (value: string, version: 4 | 6 | "4" | "6") => boolean;
|
|
26
|
-
isJWT: (value: string) => boolean;
|
|
27
|
-
isLowercase: (value: string) => boolean;
|
|
28
|
-
isUppercase: (value: string) => boolean;
|
|
29
|
-
isMobilePhone: (data: {
|
|
30
|
-
value: string;
|
|
31
|
-
locale: string;
|
|
32
|
-
}) => boolean;
|
|
33
|
-
isCUIT(cuit: string): boolean;
|
|
34
|
-
isDNI(dni: string): boolean;
|
|
35
|
-
isCBU(cbu: string): boolean;
|
|
36
|
-
emailValidator(): ValidatorFn;
|
|
37
|
-
mobilePhoneValidator(locale: string): ValidatorFn;
|
|
38
|
-
numberValidator(): ValidatorFn;
|
|
39
|
-
numericValidator(): ValidatorFn;
|
|
40
|
-
dateIsAfterValidator(comparisonDate: string | number | Date): ValidatorFn;
|
|
41
|
-
dateIsBeforeValidator(comparisonDate: string | number | Date): ValidatorFn;
|
|
42
|
-
alphaValidator(): ValidatorFn;
|
|
43
|
-
alphanumericValidator(): ValidatorFn;
|
|
44
|
-
integerValidator(): ValidatorFn;
|
|
45
|
-
dataURIValidator(): ValidatorFn;
|
|
46
|
-
urlValidator(): ValidatorFn;
|
|
47
|
-
jsonValidator(): ValidatorFn;
|
|
48
|
-
jwtValidator(): ValidatorFn;
|
|
49
|
-
lowerCaseValidator(): ValidatorFn;
|
|
50
|
-
upperCaseValidator(): ValidatorFn;
|
|
51
|
-
cuitValidator(): ValidatorFn;
|
|
52
|
-
dniValidator(): ValidatorFn;
|
|
53
|
-
cbuValidator(): ValidatorFn;
|
|
54
|
-
creditCardValidator(): ValidatorFn;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BizyValidatorService, never>;
|
|
56
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BizyValidatorService>;
|
|
57
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
interface IViewportSize {
|
|
4
|
-
height: number;
|
|
5
|
-
width: number;
|
|
6
|
-
}
|
|
7
|
-
export declare class BizyViewportService {
|
|
8
|
-
#private;
|
|
9
|
-
private window;
|
|
10
|
-
get sizeChange$(): Observable<IViewportSize>;
|
|
11
|
-
constructor(window: Window);
|
|
12
|
-
width(): number;
|
|
13
|
-
height(): number;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BizyViewportService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BizyViewportService>;
|
|
16
|
-
}
|
|
17
|
-
export {};
|
package/public-api.d.ts
DELETED