@bizy/core 19.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.
Files changed (155) hide show
  1. package/fesm2022/bizy-core.mjs +6836 -0
  2. package/fesm2022/bizy-core.mjs.map +1 -0
  3. package/index.d.ts +5 -0
  4. package/lib/components/accordion/accordion.component.d.ts +15 -0
  5. package/lib/components/accordion/index.d.ts +2 -0
  6. package/lib/components/bar-line-chart/bar-line-chart.component.d.ts +29 -0
  7. package/lib/components/bar-line-chart/bar-line-chart.types.d.ts +17 -0
  8. package/lib/components/bar-line-chart/index.d.ts +3 -0
  9. package/lib/components/breadcrumb/breadcrumb.component.d.ts +15 -0
  10. package/lib/components/breadcrumb/breadcrumb.types.d.ts +6 -0
  11. package/lib/components/breadcrumb/index.d.ts +3 -0
  12. package/lib/components/button/button.component.d.ts +13 -0
  13. package/lib/components/button/index.d.ts +2 -0
  14. package/lib/components/calendar/calendar.component.d.ts +47 -0
  15. package/lib/components/calendar/calendar.formatter.d.ts +7 -0
  16. package/lib/components/calendar/calendar.types.d.ts +32 -0
  17. package/lib/components/calendar/index.d.ts +3 -0
  18. package/lib/components/card/card.component.d.ts +12 -0
  19. package/lib/components/card/index.d.ts +2 -0
  20. package/lib/components/checkbox/checkbox.component.d.ts +13 -0
  21. package/lib/components/checkbox/index.d.ts +2 -0
  22. package/lib/components/date-picker/date-picker.component.d.ts +45 -0
  23. package/lib/components/date-picker/index.d.ts +2 -0
  24. package/lib/components/file-uploader/file-uploader.component.d.ts +46 -0
  25. package/lib/components/file-uploader/file-uploader.service.d.ts +51 -0
  26. package/lib/components/file-uploader/index.d.ts +4 -0
  27. package/lib/components/filter/filter-content/filter-content.component.d.ts +5 -0
  28. package/lib/components/filter/filter-section/filter-section.component.d.ts +24 -0
  29. package/lib/components/filter/filter-section-checkbox-option/filter-section-checkbox-option.component.d.ts +17 -0
  30. package/lib/components/filter/filter-section-range-option/filter-section-range-option.component.d.ts +34 -0
  31. package/lib/components/filter/filter-section-search-option/filter-section-search-option.component.d.ts +21 -0
  32. package/lib/components/filter/filter-sections/filter-sections.component.d.ts +5 -0
  33. package/lib/components/filter/filter.component.d.ts +27 -0
  34. package/lib/components/filter/index.d.ts +10 -0
  35. package/lib/components/filter/pipes/filter.pipe.d.ts +10 -0
  36. package/lib/components/filter/pipes/index.d.ts +2 -0
  37. package/lib/components/filter/pipes/range-filter.pipe.d.ts +10 -0
  38. package/lib/components/form/form.component.d.ts +19 -0
  39. package/lib/components/form/index.d.ts +2 -0
  40. package/lib/components/grid/grid-row/grid-row.component.d.ts +12 -0
  41. package/lib/components/grid/grid.component.d.ts +26 -0
  42. package/lib/components/grid/grid.directive.d.ts +13 -0
  43. package/lib/components/grid/index.d.ts +5 -0
  44. package/lib/components/index.d.ts +26 -0
  45. package/lib/components/input/index.d.ts +3 -0
  46. package/lib/components/input/input-option/input-option.component.d.ts +16 -0
  47. package/lib/components/input/input.component.d.ts +56 -0
  48. package/lib/components/list/index.d.ts +2 -0
  49. package/lib/components/list/list.component.d.ts +7 -0
  50. package/lib/components/menu/index.d.ts +4 -0
  51. package/lib/components/menu/menu-option/menu-option.component.d.ts +20 -0
  52. package/lib/components/menu/menu-title/menu-title.component.d.ts +6 -0
  53. package/lib/components/menu/menu.component.d.ts +26 -0
  54. package/lib/components/pie-chart/index.d.ts +3 -0
  55. package/lib/components/pie-chart/pie-chart.component.d.ts +28 -0
  56. package/lib/components/pie-chart/pie-chart.types.d.ts +5 -0
  57. package/lib/components/radio/index.d.ts +2 -0
  58. package/lib/components/radio/radio.component.d.ts +13 -0
  59. package/lib/components/select/index.d.ts +3 -0
  60. package/lib/components/select/select-option/select-option.component.d.ts +21 -0
  61. package/lib/components/select/select.component.d.ts +37 -0
  62. package/lib/components/sidebar/index.d.ts +5 -0
  63. package/lib/components/sidebar/sidebar-floating-option/sidebar-floating-option.component.d.ts +34 -0
  64. package/lib/components/sidebar/sidebar-floating-option-title/sidebar-floating-option-title.component.d.ts +7 -0
  65. package/lib/components/sidebar/sidebar-option/sidebar-option.component.d.ts +23 -0
  66. package/lib/components/sidebar/sidebar.component.d.ts +19 -0
  67. package/lib/components/skeleton/index.d.ts +3 -0
  68. package/lib/components/skeleton/skeleton.component.d.ts +12 -0
  69. package/lib/components/skeleton/skeleton.types.d.ts +4 -0
  70. package/lib/components/slider/index.d.ts +2 -0
  71. package/lib/components/slider/slider.component.d.ts +20 -0
  72. package/lib/components/table/directives/index.d.ts +1 -0
  73. package/lib/components/table/directives/table-column-fixed.directive.d.ts +9 -0
  74. package/lib/components/table/index.d.ts +12 -0
  75. package/lib/components/table/table-column/table-column.component.d.ts +12 -0
  76. package/lib/components/table/table-column-arrows/table-column-arrows.component.d.ts +8 -0
  77. package/lib/components/table/table-footer/table-footer.component.d.ts +19 -0
  78. package/lib/components/table/table-header/table-header.component.d.ts +23 -0
  79. package/lib/components/table/table-row/table-row.component.d.ts +28 -0
  80. package/lib/components/table/table-row-expand-content/table-row-expand-content.component.d.ts +5 -0
  81. package/lib/components/table/table-scrolling/table-scrolling.component.d.ts +23 -0
  82. package/lib/components/table/table-scrolling/table-scrolling.directive.d.ts +15 -0
  83. package/lib/components/table/table.component.d.ts +30 -0
  84. package/lib/components/tabs/index.d.ts +3 -0
  85. package/lib/components/tabs/tab/tab.component.d.ts +16 -0
  86. package/lib/components/tabs/tabs.component.d.ts +21 -0
  87. package/lib/components/tag/index.d.ts +3 -0
  88. package/lib/components/tag/tag.component.d.ts +11 -0
  89. package/lib/components/tag/tag.types.d.ts +7 -0
  90. package/lib/components/toggle/index.d.ts +3 -0
  91. package/lib/components/toggle/toggle.component.d.ts +12 -0
  92. package/lib/components/toggle/toggle.types.d.ts +1 -0
  93. package/lib/components/toolbar/index.d.ts +2 -0
  94. package/lib/components/toolbar/toolbar.component.d.ts +5 -0
  95. package/lib/directives/copy-to-clipboard.directive.d.ts +16 -0
  96. package/lib/directives/currency-format.directive.d.ts +16 -0
  97. package/lib/directives/index.d.ts +11 -0
  98. package/lib/directives/loading.directive.d.ts +16 -0
  99. package/lib/directives/long-press.directive.d.ts +12 -0
  100. package/lib/directives/only-numbers.directive.d.ts +12 -0
  101. package/lib/directives/only-phone-digits.directive.d.ts +8 -0
  102. package/lib/directives/text-ellipsis.directive.d.ts +12 -0
  103. package/lib/directives/tooltip.directive.d.ts +24 -0
  104. package/lib/directives/track-by-id.directive.d.ts +12 -0
  105. package/lib/pipes/average.pipe.d.ts +7 -0
  106. package/lib/pipes/enum-to-array.pipe.d.ts +10 -0
  107. package/lib/pipes/format-seconds.pipe.d.ts +13 -0
  108. package/lib/pipes/index.d.ts +13 -0
  109. package/lib/pipes/order-by.pipe.d.ts +8 -0
  110. package/lib/pipes/reduce.pipe.d.ts +7 -0
  111. package/lib/pipes/repeat.pipe.d.ts +7 -0
  112. package/lib/pipes/safe.pipe.d.ts +10 -0
  113. package/lib/pipes/search/index.d.ts +2 -0
  114. package/lib/pipes/search/search.model.d.ts +45 -0
  115. package/lib/pipes/search/search.pipe.d.ts +16 -0
  116. package/lib/pipes/selected.pipe.d.ts +11 -0
  117. package/lib/pipes/set-to-array.pipe.d.ts +7 -0
  118. package/lib/pipes/translate.pipe.d.ts +10 -0
  119. package/lib/services/animation.service.d.ts +24 -0
  120. package/lib/services/cache.service.d.ts +13 -0
  121. package/lib/services/copy-to-clipboard.service.d.ts +10 -0
  122. package/lib/services/export-to-csv.service.d.ts +19 -0
  123. package/lib/services/format-seconds.service.d.ts +22 -0
  124. package/lib/services/index.d.ts +17 -0
  125. package/lib/services/keyboard.service.d.ts +11 -0
  126. package/lib/services/log.service.d.ts +27 -0
  127. package/lib/services/popup/index.d.ts +2 -0
  128. package/lib/services/popup/popup-wrapper/popup-wrapper.component.d.ts +11 -0
  129. package/lib/services/popup/popup.service.d.ts +24 -0
  130. package/lib/services/popup/popup.types.d.ts +4 -0
  131. package/lib/services/router.service.d.ts +29 -0
  132. package/lib/services/storage.service.d.ts +9 -0
  133. package/lib/services/toast/index.d.ts +1 -0
  134. package/lib/services/toast/toast-wrapper/toast-wrapper.component.d.ts +19 -0
  135. package/lib/services/toast/toast.service.d.ts +45 -0
  136. package/lib/services/translate/index.d.ts +2 -0
  137. package/lib/services/translate/translate.module.d.ts +7 -0
  138. package/lib/services/translate/translate.service.d.ts +23 -0
  139. package/lib/services/user-agent/uach-retrofill.d.ts +34 -0
  140. package/lib/services/user-agent/user-agent.service.d.ts +6 -0
  141. package/lib/services/validator.service.d.ts +16 -0
  142. package/lib/services/viewport.service.d.ts +17 -0
  143. package/package.json +41 -0
  144. package/public-api.d.ts +4 -0
  145. package/styles/animations.css +186 -0
  146. package/styles/calendar.css +851 -0
  147. package/styles/date-picker.css +2 -0
  148. package/styles/file-uploader.css +2 -0
  149. package/styles/loading.css +90 -0
  150. package/styles/normalize.css +102 -0
  151. package/styles/overlay.css +1 -0
  152. package/styles/popup.css +21 -0
  153. package/styles/toast.css +83 -0
  154. package/styles/tooltip.css +55 -0
  155. package/styles/variables.css +288 -0
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@bizy/core" />
5
+ export * from './public-api';
@@ -0,0 +1,15 @@
1
+ import { EventEmitter, ChangeDetectorRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BizyAccordionComponent {
4
+ private ref;
5
+ id: string;
6
+ customClass: string;
7
+ disabled: boolean;
8
+ opened: boolean;
9
+ openedChange: EventEmitter<boolean>;
10
+ onSelect: EventEmitter<PointerEvent>;
11
+ constructor(ref: ChangeDetectorRef);
12
+ _onSelect(event: PointerEvent): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyAccordionComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyAccordionComponent, "bizy-accordion", never, { "id": { "alias": "id"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; }, { "openedChange": "openedChange"; "onSelect": "onSelect"; }, never, ["*", "[accordion-option]"], true, never>;
15
+ }
@@ -0,0 +1,2 @@
1
+ import { BizyAccordionComponent } from './accordion.component';
2
+ export declare const BizyAccordionComponents: readonly [typeof BizyAccordionComponent];
@@ -0,0 +1,29 @@
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, Renderer2 } from '@angular/core';
2
+ import { IBizyBarLineChartData } from './bar-line-chart.types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class BizyBarLineChartComponent implements OnDestroy, AfterViewInit {
5
+ #private;
6
+ private elementRef;
7
+ private document;
8
+ private ref;
9
+ private renderer;
10
+ resizeRef: HTMLElement | null;
11
+ tooltip: boolean;
12
+ download: {
13
+ hide?: boolean;
14
+ label: string;
15
+ name: string;
16
+ };
17
+ axisPointer: 'line' | 'cross';
18
+ xAxisLabels: Array<string>;
19
+ onTooltipFormatter: (item: any) => string;
20
+ onXAxisLabelFormatter: (item: any) => string;
21
+ onDownload: EventEmitter<void>;
22
+ onSelect: EventEmitter<string>;
23
+ constructor(elementRef: ElementRef, document: Document, ref: ChangeDetectorRef, renderer: Renderer2);
24
+ ngAfterViewInit(): void;
25
+ set data(data: Array<IBizyBarLineChartData>);
26
+ ngOnDestroy(): void;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyBarLineChartComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyBarLineChartComponent, "bizy-bar-line-chart", never, { "resizeRef": { "alias": "resizeRef"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "download": { "alias": "download"; "required": false; }; "axisPointer": { "alias": "axisPointer"; "required": false; }; "xAxisLabels": { "alias": "xAxisLabels"; "required": false; }; "onTooltipFormatter": { "alias": "onTooltipFormatter"; "required": false; }; "onXAxisLabelFormatter": { "alias": "onXAxisLabelFormatter"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "onDownload": "onDownload"; "onSelect": "onSelect"; }, never, never, true, never>;
29
+ }
@@ -0,0 +1,17 @@
1
+ export interface IBizyBarLineChartData {
2
+ values?: Array<number>;
3
+ type?: 'bar' | 'line';
4
+ label?: string;
5
+ discrete?: boolean;
6
+ color?: string;
7
+ stack?: string;
8
+ xAxi?: {
9
+ name: string;
10
+ };
11
+ yAxi?: {
12
+ name?: string;
13
+ hide?: boolean;
14
+ position?: 'left' | 'right';
15
+ onValueFormatter?: (item: any) => string;
16
+ };
17
+ }
@@ -0,0 +1,3 @@
1
+ import { BizyBarLineChartComponent } from './bar-line-chart.component';
2
+ export { IBizyBarLineChartData } from './bar-line-chart.types';
3
+ export declare const BizyBarLineChartComponents: readonly [typeof BizyBarLineChartComponent];
@@ -0,0 +1,15 @@
1
+ import { ChangeDetectorRef, EventEmitter } from '@angular/core';
2
+ import { IBizyBreadcrumb } from './breadcrumb.types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class BizyBreadcrumbComponent {
5
+ private ref;
6
+ onSelect: EventEmitter<IBizyBreadcrumb>;
7
+ _breadcrumbs: Array<IBizyBreadcrumb>;
8
+ showGoBack: boolean;
9
+ constructor(ref: ChangeDetectorRef);
10
+ set breadcrumbs(breadcrumbs: Array<IBizyBreadcrumb>);
11
+ goTo(breadcrumb: IBizyBreadcrumb): void;
12
+ goBack(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyBreadcrumbComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyBreadcrumbComponent, "bizy-breadcrumb", never, { "breadcrumbs": { "alias": "breadcrumbs"; "required": false; }; }, { "onSelect": "onSelect"; }, never, never, true, never>;
15
+ }
@@ -0,0 +1,6 @@
1
+ export interface IBizyBreadcrumb {
2
+ label: string;
3
+ path: string;
4
+ icon: string;
5
+ skip: boolean;
6
+ }
@@ -0,0 +1,3 @@
1
+ export { IBizyBreadcrumb } from './breadcrumb.types';
2
+ import { BizyBreadcrumbComponent } from "./breadcrumb.component";
3
+ export declare const BizyBreadcrumbComponents: readonly [typeof BizyBreadcrumbComponent];
@@ -0,0 +1,13 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BizyButtonComponent {
4
+ id: string;
5
+ disabled: boolean;
6
+ type: 'button' | 'submit';
7
+ customClass: string;
8
+ onSelect: EventEmitter<PointerEvent>;
9
+ _focused: boolean;
10
+ _onSelect(event: PointerEvent): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyButtonComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyButtonComponent, "bizy-button", never, { "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, { "onSelect": "onSelect"; }, never, ["*"], true, never>;
13
+ }
@@ -0,0 +1,2 @@
1
+ import { BizyButtonComponent } from './button.component';
2
+ export declare const BizyButtonComponents: readonly [typeof BizyButtonComponent];
@@ -0,0 +1,47 @@
1
+ import { EventEmitter, TemplateRef } from '@angular/core';
2
+ import { BIZY_CALENDAR_MODE, IBizyCalendarEvent, BIZY_CALENDAR_LANGUAGE, BIZY_CALENDAR_DAY } from './calendar.types';
3
+ import { CalendarEvent } from 'angular-calendar';
4
+ import { Subject } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export declare class BizyCalendarComponent {
7
+ #private;
8
+ id: string;
9
+ hideHeaderDate: boolean;
10
+ dayStartHour: number;
11
+ dayEndHour: number;
12
+ hourMinutesDuration: number;
13
+ hourSegments: number;
14
+ language: BIZY_CALENDAR_LANGUAGE;
15
+ excludeDays: Array<0 | 1 | 2 | 3 | 4 | 5 | 6>;
16
+ weekendDays: Array<BIZY_CALENDAR_DAY>;
17
+ weekStartsOn: BIZY_CALENDAR_DAY;
18
+ mode: BIZY_CALENDAR_MODE;
19
+ customCalendarWeekEventTemplate: TemplateRef<any> | null;
20
+ onEventSelect: EventEmitter<IBizyCalendarEvent>;
21
+ onDateSelect: EventEmitter<{
22
+ start: number;
23
+ end: number;
24
+ events: Array<IBizyCalendarEvent>;
25
+ }>;
26
+ onEventDelete: EventEmitter<{
27
+ event: IBizyCalendarEvent;
28
+ sourceEvent: MouseEvent | KeyboardEvent;
29
+ }>;
30
+ readonly BIZY_CALENDAR_MODE: typeof BIZY_CALENDAR_MODE;
31
+ _viewDate: Date;
32
+ _activeDayIsOpen: boolean;
33
+ _refresh: Subject<void>;
34
+ viewDate(viewDate: number): void;
35
+ _calendarEvents: Array<CalendarEvent>;
36
+ _events: Array<IBizyCalendarEvent>;
37
+ set events(events: Array<IBizyCalendarEvent>);
38
+ dayClicked({ date, events }: {
39
+ date: Date;
40
+ events: CalendarEvent[];
41
+ }): void;
42
+ eventClicked(event: CalendarEvent): void;
43
+ dayHeaderClicked(date: Date): void;
44
+ hourSegmentClicked(date: Date): void;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyCalendarComponent, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyCalendarComponent, "bizy-calendar", never, { "id": { "alias": "id"; "required": false; }; "hideHeaderDate": { "alias": "hideHeaderDate"; "required": false; }; "dayStartHour": { "alias": "dayStartHour"; "required": false; }; "dayEndHour": { "alias": "dayEndHour"; "required": false; }; "hourMinutesDuration": { "alias": "hourMinutesDuration"; "required": false; }; "hourSegments": { "alias": "hourSegments"; "required": false; }; "language": { "alias": "language"; "required": false; }; "excludeDays": { "alias": "excludeDays"; "required": false; }; "weekendDays": { "alias": "weekendDays"; "required": false; }; "weekStartsOn": { "alias": "weekStartsOn"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "customCalendarWeekEventTemplate": { "alias": "customCalendarWeekEventTemplate"; "required": false; }; "viewDate": { "alias": "viewDate"; "required": false; }; "events": { "alias": "events"; "required": false; }; }, { "onEventSelect": "onEventSelect"; "onDateSelect": "onDateSelect"; "onEventDelete": "onEventDelete"; }, never, never, true, never>;
47
+ }
@@ -0,0 +1,7 @@
1
+ import { CalendarNativeDateFormatter, DateFormatterParams } from 'angular-calendar';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BizyCalendarFormatter extends CalendarNativeDateFormatter {
4
+ weekViewHour({ date, locale }: DateFormatterParams): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyCalendarFormatter, never>;
6
+ static ɵprov: i0.ɵɵInjectableDeclaration<BizyCalendarFormatter>;
7
+ }
@@ -0,0 +1,32 @@
1
+ export declare enum BIZY_CALENDAR_MODE {
2
+ MONTH = "month",
3
+ WEEK = "week",
4
+ DAY = "day"
5
+ }
6
+ export declare enum BIZY_CALENDAR_DAY {
7
+ SUNDAY = 0,
8
+ MONDAY = 1,
9
+ TUESDAY = 2,
10
+ WEDNESDAY = 3,
11
+ THURSDAY = 4,
12
+ FRIDAY = 5,
13
+ SATURDAY = 6
14
+ }
15
+ export declare enum BIZY_CALENDAR_EVENT_ACTION {
16
+ DELETE = "DELETE"
17
+ }
18
+ export interface IBizyCalendarEvent {
19
+ start: number;
20
+ end: number;
21
+ description?: string;
22
+ id?: number | string;
23
+ color?: string;
24
+ backgroundColor?: string;
25
+ customClass?: string;
26
+ meta?: Record<string, unknown>;
27
+ actions?: Array<BIZY_CALENDAR_EVENT_ACTION>;
28
+ }
29
+ export declare enum BIZY_CALENDAR_LANGUAGE {
30
+ SPANISH = "es",
31
+ ENGLISH = "en"
32
+ }
@@ -0,0 +1,3 @@
1
+ import { BizyCalendarComponent } from './calendar.component';
2
+ export { BIZY_CALENDAR_MODE, IBizyCalendarEvent, BIZY_CALENDAR_LANGUAGE, BIZY_CALENDAR_EVENT_ACTION, BIZY_CALENDAR_DAY } from './calendar.types';
3
+ export declare const BizyCalendarComponents: readonly [typeof BizyCalendarComponent];
@@ -0,0 +1,12 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BizyCardComponent {
4
+ id: string;
5
+ disabled: boolean;
6
+ selected: boolean;
7
+ customClass: string;
8
+ onSelect: EventEmitter<PointerEvent>;
9
+ _onSelect(event: PointerEvent): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyCardComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyCardComponent, "bizy-card", never, { "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, { "onSelect": "onSelect"; }, never, ["[slot=header-start]", "[slot=header-end]", "*", "[slot=footer-start]", "[slot=footer-end]"], true, never>;
12
+ }
@@ -0,0 +1,2 @@
1
+ import { BizyCardComponent } from './card.component';
2
+ export declare const BizyCardComponents: readonly [typeof BizyCardComponent];
@@ -0,0 +1,13 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BizyCheckboxComponent {
4
+ id: string;
5
+ selected: boolean;
6
+ disabled: boolean;
7
+ selectedChange: EventEmitter<boolean>;
8
+ onSelect: EventEmitter<PointerEvent>;
9
+ _checkboxId: string;
10
+ _onSelect(event: PointerEvent): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyCheckboxComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyCheckboxComponent, "bizy-checkbox", never, { "id": { "alias": "id"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "selectedChange": "selectedChange"; "onSelect": "onSelect"; }, never, ["[slot=start]", "[slot=end]"], true, never>;
13
+ }
@@ -0,0 +1,2 @@
1
+ import { BizyCheckboxComponent } from './checkbox.component';
2
+ export declare const BizyCheckboxComponents: readonly [typeof BizyCheckboxComponent];
@@ -0,0 +1,45 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BizyDatePickerComponent {
4
+ #private;
5
+ private bizyDatePicker;
6
+ id: string;
7
+ disabled: boolean;
8
+ customClass: string;
9
+ opened: boolean;
10
+ minDate: number | null;
11
+ maxDate: number | null;
12
+ enableSeconds: boolean;
13
+ dateChange: EventEmitter<number>;
14
+ rangeChange: EventEmitter<{
15
+ from: number;
16
+ to: number;
17
+ }>;
18
+ onChange: EventEmitter<number | {
19
+ from: number;
20
+ to: number;
21
+ }>;
22
+ openedChange: EventEmitter<boolean>;
23
+ onOpen: EventEmitter<boolean>;
24
+ onSelect: EventEmitter<PointerEvent>;
25
+ dateFormat: string;
26
+ datePipeFormat: string;
27
+ enableTime: boolean;
28
+ started: boolean;
29
+ noCalendar: boolean;
30
+ mode: 'single' | 'range';
31
+ dates: Array<number>;
32
+ time: number;
33
+ get touched(): boolean;
34
+ set date(date: number);
35
+ set range(range: {
36
+ from: number;
37
+ to: number;
38
+ });
39
+ value: string;
40
+ set type(type: 'date' | 'date-time' | 'time' | 'year-month');
41
+ ngAfterViewInit(): void;
42
+ setTouched(touched: boolean): void;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyDatePickerComponent, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyDatePickerComponent, "bizy-date-picker", never, { "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "enableSeconds": { "alias": "enableSeconds"; "required": false; }; "date": { "alias": "date"; "required": false; }; "range": { "alias": "range"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "dateChange": "dateChange"; "rangeChange": "rangeChange"; "onChange": "onChange"; "openedChange": "openedChange"; "onOpen": "onOpen"; "onSelect": "onSelect"; }, never, ["[slot=header]", "[slot=prefix]", "[slot=error]"], true, never>;
45
+ }
@@ -0,0 +1,2 @@
1
+ import { BizyDatePickerComponent } from './date-picker.component';
2
+ export declare const BizyDatePickerComponents: readonly [typeof BizyDatePickerComponent];
@@ -0,0 +1,46 @@
1
+ import { Subject } from 'rxjs';
2
+ import { UppyFile } from '@uppy/core';
3
+ import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core';
4
+ import * as i0 from "@angular/core";
5
+ export declare class BizyFileUploaderComponent implements AfterViewInit, OnDestroy {
6
+ #private;
7
+ dragDropAreaWidth: string;
8
+ dragDropAreaHeight: string;
9
+ language: 'es' | 'en';
10
+ headers: Record<string, string>;
11
+ maxFileSize: number | null;
12
+ minFileSize: number | null;
13
+ maxTotalFileSize: number | null;
14
+ maxNumberOfFiles: number | null;
15
+ minNumberOfFiles: number | null;
16
+ allowedFileTypes: string[];
17
+ hideUploadButton: boolean;
18
+ hidePauseResumeButton: boolean;
19
+ hideCancelButton: boolean;
20
+ disableLocalFiles: boolean;
21
+ load: Subject<{
22
+ id: string;
23
+ file: File;
24
+ }>;
25
+ upload: Subject<{
26
+ endpoint: string;
27
+ headers?: Record<string, string>;
28
+ }>;
29
+ set disabled(value: boolean);
30
+ completed: EventEmitter<{
31
+ successful: Array<{
32
+ fileId: string;
33
+ meta: unknown;
34
+ }>;
35
+ failed: Array<{
36
+ fileId: string;
37
+ meta: unknown;
38
+ }>;
39
+ }>;
40
+ loadedFiles: EventEmitter<UppyFile[]>;
41
+ readonly TEMPLATE_ID = "bizy-file-uploader-template";
42
+ ngAfterViewInit(): void;
43
+ ngOnDestroy(): void;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyFileUploaderComponent, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyFileUploaderComponent, "bizy-file-uploader", never, { "dragDropAreaWidth": { "alias": "dragDropAreaWidth"; "required": false; }; "dragDropAreaHeight": { "alias": "dragDropAreaHeight"; "required": false; }; "language": { "alias": "language"; "required": false; }; "headers": { "alias": "headers"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "minFileSize": { "alias": "minFileSize"; "required": false; }; "maxTotalFileSize": { "alias": "maxTotalFileSize"; "required": false; }; "maxNumberOfFiles": { "alias": "maxNumberOfFiles"; "required": false; }; "minNumberOfFiles": { "alias": "minNumberOfFiles"; "required": false; }; "allowedFileTypes": { "alias": "allowedFileTypes"; "required": false; }; "hideUploadButton": { "alias": "hideUploadButton"; "required": false; }; "hidePauseResumeButton": { "alias": "hidePauseResumeButton"; "required": false; }; "hideCancelButton": { "alias": "hideCancelButton"; "required": false; }; "disableLocalFiles": { "alias": "disableLocalFiles"; "required": false; }; "load": { "alias": "load"; "required": false; }; "upload": { "alias": "upload"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "completed": "completed"; "loadedFiles": "loadedFiles"; }, never, never, true, never>;
46
+ }
@@ -0,0 +1,51 @@
1
+ import { SuccessResponse, UppyFile } from '@uppy/core';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class BizyFileUploaderService {
5
+ #private;
6
+ get fileLoaded$(): Observable<UppyFile>;
7
+ get fileRemoved$(): Observable<UppyFile>;
8
+ get upload$(): Observable<void>;
9
+ get uploadSuccess$(): Observable<{
10
+ file: UppyFile;
11
+ response: SuccessResponse;
12
+ }>;
13
+ get error$(): Observable<{
14
+ file?: UppyFile;
15
+ error: Error;
16
+ }>;
17
+ get cancelAll$(): Observable<void>;
18
+ get complete$(): Observable<{
19
+ successful: Array<UppyFile>;
20
+ failed: Array<UppyFile>;
21
+ }>;
22
+ createFileUploader(data: {
23
+ maxFileSize: number | null;
24
+ minFileSize: number | null;
25
+ maxTotalFileSize: number | null;
26
+ maxNumberOfFiles: number | null;
27
+ minNumberOfFiles: number | null;
28
+ dragDropAreaWidth: string;
29
+ dragDropAreaHeight: string;
30
+ allowedFileTypes: Array<string>;
31
+ language: 'es' | 'en';
32
+ templateId: string;
33
+ hideCancelButton: boolean;
34
+ hideUploadButton: boolean;
35
+ hidePauseResumeButton: boolean;
36
+ disableLocalFiles: boolean;
37
+ headers: Record<string, string>;
38
+ }): void;
39
+ load: (data: {
40
+ id: string;
41
+ file: File;
42
+ }) => void;
43
+ disable(value: boolean): void;
44
+ upload: (data: {
45
+ endpoint: string;
46
+ headers?: Record<string, string>;
47
+ }) => void;
48
+ cleanAllFiles: () => void;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyFileUploaderService, never>;
50
+ static ɵprov: i0.ɵɵInjectableDeclaration<BizyFileUploaderService>;
51
+ }
@@ -0,0 +1,4 @@
1
+ import { BizyFileUploaderComponent } from './file-uploader.component';
2
+ import { BizyFileUploaderService } from './file-uploader.service';
3
+ export declare const BizyUploaderComponents: readonly [typeof BizyFileUploaderComponent];
4
+ export declare const BizyUploaderServices: readonly [typeof BizyFileUploaderService];
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class BizyFilterContentComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyFilterContentComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyFilterContentComponent, "bizy-filter-content", never, {}, {}, never, ["*"], true, never>;
5
+ }
@@ -0,0 +1,24 @@
1
+ import { EventEmitter, ChangeDetectorRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BizyFilterSectionComponent {
4
+ #private;
5
+ private document;
6
+ private ref;
7
+ private checkboxOptions;
8
+ private rangeOption;
9
+ private searchOption;
10
+ id: string;
11
+ disabled: boolean;
12
+ customClass: string;
13
+ onSelect: EventEmitter<boolean>;
14
+ _activated: boolean;
15
+ constructor(document: Document, ref: ChangeDetectorRef);
16
+ ngAfterViewInit(): void;
17
+ _onSelect: (selected: boolean) => void;
18
+ onClean: () => void;
19
+ isActivated: () => boolean;
20
+ getId: () => string;
21
+ ngOnDestroy(): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyFilterSectionComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyFilterSectionComponent, "bizy-filter-section", never, { "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, { "onSelect": "onSelect"; }, ["rangeOption", "searchOption", "checkboxOptions"], ["[slot=header]", "bizy-filter-section-checkbox-option", "bizy-filter-section-range-option", "bizy-filter-section-search-option"], true, never>;
24
+ }
@@ -0,0 +1,17 @@
1
+ import { EventEmitter, ChangeDetectorRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BizyFilterSectionCheckboxOptionComponent {
4
+ private ref;
5
+ id: string;
6
+ disabled: boolean;
7
+ customClass: string;
8
+ onChange: EventEmitter<boolean>;
9
+ set selected(selected: boolean);
10
+ _selected: boolean;
11
+ constructor(ref: ChangeDetectorRef);
12
+ onSelect: (selected: boolean) => void;
13
+ getSelected: () => boolean;
14
+ getId: () => string;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyFilterSectionCheckboxOptionComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyFilterSectionCheckboxOptionComponent, "bizy-filter-section-checkbox-option", never, { "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
17
+ }
@@ -0,0 +1,34 @@
1
+ import { EventEmitter, ChangeDetectorRef } from '@angular/core';
2
+ import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
3
+ import { Observable } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export declare class BizyFilterSectionRangeOptionComponent {
6
+ #private;
7
+ private fb;
8
+ private ref;
9
+ id: string;
10
+ disabled: boolean;
11
+ customClass: string;
12
+ onChange: EventEmitter<{
13
+ min: number | null;
14
+ max: number | null;
15
+ }>;
16
+ _minLimit: number;
17
+ _maxLimit: number;
18
+ get activated$(): Observable<boolean>;
19
+ form: FormGroup;
20
+ set min(min: number | null);
21
+ set max(max: number | null);
22
+ set minLimit(min: number | null);
23
+ set maxLimit(max: number | null);
24
+ constructor(fb: FormBuilder, ref: ChangeDetectorRef);
25
+ setMinValue(value: number | string): void;
26
+ setMaxValue(value: number | string | null): void;
27
+ get minValue(): AbstractControl<number | string>;
28
+ get maxValue(): AbstractControl<number | string>;
29
+ onClean: () => void;
30
+ getId: () => string;
31
+ isActivated: () => boolean;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyFilterSectionRangeOptionComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyFilterSectionRangeOptionComponent, "bizy-filter-section-range-option", never, { "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "minLimit": { "alias": "minLimit"; "required": false; }; "maxLimit": { "alias": "maxLimit"; "required": false; }; }, { "onChange": "onChange"; }, never, ["[slot=min-header]", "[slot=max-header]"], true, never>;
34
+ }
@@ -0,0 +1,21 @@
1
+ import { EventEmitter, ChangeDetectorRef } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class BizyFilterSectionSearchOptionComponent {
5
+ #private;
6
+ private ref;
7
+ id: string;
8
+ customClass: string;
9
+ valueChange: EventEmitter<string>;
10
+ onChange: EventEmitter<string>;
11
+ _value: string;
12
+ get activated$(): Observable<boolean>;
13
+ set value(value: string);
14
+ constructor(ref: ChangeDetectorRef);
15
+ _onChange(value: string): void;
16
+ getId: () => string;
17
+ getValue: () => string;
18
+ isActivated: () => boolean;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyFilterSectionSearchOptionComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyFilterSectionSearchOptionComponent, "bizy-filter-section-search-option", never, { "id": { "alias": "id"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "onChange": "onChange"; }, never, ["[slot=prefix]", "[slot=suffix]"], true, never>;
21
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class BizyFilterSectionsComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyFilterSectionsComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyFilterSectionsComponent, "bizy-filter-sections", never, {}, {}, never, ["*"], true, never>;
5
+ }
@@ -0,0 +1,27 @@
1
+ import { ChangeDetectorRef, EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BizyFilterComponent {
4
+ #private;
5
+ private document;
6
+ private ref;
7
+ private sections;
8
+ id: string;
9
+ disabled: boolean;
10
+ customClass: string;
11
+ opened: boolean;
12
+ onOpen: EventEmitter<PointerEvent>;
13
+ onChange: EventEmitter<boolean>;
14
+ _filterWidth: number;
15
+ _activated: boolean;
16
+ constructor(document: Document, ref: ChangeDetectorRef);
17
+ ngAfterViewInit(): void;
18
+ _onOpen: (event: any) => void;
19
+ close: (event: PointerEvent & {
20
+ target: {
21
+ id: string;
22
+ };
23
+ }) => void;
24
+ ngOnDestroy(): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyFilterComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyFilterComponent, "bizy-filter", never, { "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; }, { "onOpen": "onOpen"; "onChange": "onChange"; }, ["sections"], ["*", "bizy-filter-section", "bizy-filter-content"], true, never>;
27
+ }
@@ -0,0 +1,10 @@
1
+ import { BizyFilterContentComponent } from './filter-content/filter-content.component';
2
+ import { BizyFilterSectionSearchOptionComponent } from './filter-section-search-option/filter-section-search-option.component';
3
+ import { BizyFilterSectionCheckboxOptionComponent } from './filter-section-checkbox-option/filter-section-checkbox-option.component';
4
+ import { BizyFilterSectionRangeOptionComponent } from './filter-section-range-option/filter-section-range-option.component';
5
+ import { BizyFilterPipe, BizyRangeFilterPipe } from './pipes';
6
+ import { BizyFilterSectionComponent } from './filter-section/filter-section.component';
7
+ import { BizyFilterSectionsComponent } from './filter-sections/filter-sections.component';
8
+ import { BizyFilterComponent } from './filter.component';
9
+ export declare const BizyFilterComponents: readonly [typeof BizyFilterContentComponent, typeof BizyFilterSectionSearchOptionComponent, typeof BizyFilterSectionCheckboxOptionComponent, typeof BizyFilterSectionRangeOptionComponent, typeof BizyFilterSectionComponent, typeof BizyFilterSectionsComponent, typeof BizyFilterComponent];
10
+ export declare const BizyFilterPipes: readonly [typeof BizyFilterPipe, typeof BizyRangeFilterPipe];
@@ -0,0 +1,10 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BizyFilterPipe implements PipeTransform {
4
+ transform<T>(items: Array<T>, property: string, states: Array<{
5
+ id: string | number | boolean;
6
+ selected: boolean;
7
+ }>): Array<T>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyFilterPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<BizyFilterPipe, "bizyFilter", true>;
10
+ }
@@ -0,0 +1,2 @@
1
+ export { BizyFilterPipe } from "./filter.pipe";
2
+ export { BizyRangeFilterPipe } from "./range-filter.pipe";
@@ -0,0 +1,10 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BizyRangeFilterPipe implements PipeTransform {
4
+ transform<T>(items: Array<T>, property: string, range: {
5
+ min: number | null;
6
+ max: number | null;
7
+ }): Array<T>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyRangeFilterPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<BizyRangeFilterPipe, "bizyRangeFilter", true>;
10
+ }
@@ -0,0 +1,19 @@
1
+ import { BizyDatePickerComponent } from './../date-picker/date-picker.component';
2
+ import { AfterViewInit, ElementRef, OnDestroy, QueryList } from '@angular/core';
3
+ import { BizyInputComponent } from '../input/input.component';
4
+ import { BizySelectComponent } from '../select/select.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare class BizyFormComponent implements AfterViewInit, OnDestroy {
7
+ #private;
8
+ private elementRef;
9
+ inputs: QueryList<BizyInputComponent>;
10
+ selects: QueryList<BizySelectComponent>;
11
+ datePickers: QueryList<BizyDatePickerComponent>;
12
+ id: string;
13
+ customClass: string;
14
+ constructor(elementRef: ElementRef);
15
+ ngAfterViewInit(): void;
16
+ ngOnDestroy(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyFormComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyFormComponent, "bizy-form", never, { "id": { "alias": "id"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, ["inputs", "selects", "datePickers"], ["*"], true, never>;
19
+ }