@bizy/core 21.8.7 → 21.9.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 +469 -124
- package/fesm2022/bizy-core.mjs.map +1 -1
- package/package.json +8 -5
- package/styles/date-picker.css +1 -1
- package/styles/file-uploader.css +2 -2
- package/styles/variables.css +15 -7
- package/types/bizy-core.d.ts +114 -39
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bizy/core",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.9.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/cdk": "^21.0.0",
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
@@ -10,10 +10,13 @@
|
|
|
10
10
|
"@angular/platform-browser-dynamic": "^21.0.0",
|
|
11
11
|
"@angular/router": "^21.0.0",
|
|
12
12
|
"@ngx-translate/core": "17.0.0",
|
|
13
|
-
"@uppy/core": "
|
|
14
|
-
"@uppy/dashboard": "
|
|
15
|
-
"@uppy/locales": "
|
|
16
|
-
"@uppy/
|
|
13
|
+
"@uppy/core": "5.2.0",
|
|
14
|
+
"@uppy/dashboard": "5.1.1",
|
|
15
|
+
"@uppy/locales": "5.1.1",
|
|
16
|
+
"@uppy/provider-views": "5.2.2",
|
|
17
|
+
"@uppy/thumbnail-generator": "5.1.0",
|
|
18
|
+
"@uppy/utils": "7.2.0",
|
|
19
|
+
"@uppy/xhr-upload": "5.2.0",
|
|
17
20
|
"angular-calendar": "0.32.0",
|
|
18
21
|
"angular-draggable-droppable": "9.0.1",
|
|
19
22
|
"angular-resizable-element": "8.0.0",
|
package/styles/date-picker.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
@import 'flatpickr/dist/flatpickr.min.css';
|
|
2
|
-
@import 'flatpickr/dist/plugins/
|
|
2
|
+
@import 'flatpickr/dist/plugins/monthSelect/style.css';
|
package/styles/file-uploader.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@import "@uppy/core/
|
|
2
|
-
@import "@uppy/dashboard/
|
|
1
|
+
@import "@uppy/core/css/style.min.css";
|
|
2
|
+
@import "@uppy/dashboard/css/style.min.css";
|
package/styles/variables.css
CHANGED
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
--bizy-card-content-gap: 0.5rem;
|
|
113
113
|
--bizy-card-content-column-gap: 0.5rem;
|
|
114
114
|
--bizy-card-content-row-gap: 0.5rem;
|
|
115
|
-
--bizy-card-content-flex-wrap:
|
|
115
|
+
--bizy-card-content-flex-wrap: nowrap;
|
|
116
116
|
--bizy-card-footer-align-items: center;
|
|
117
117
|
--bizy-card-footer-background-color: transparent;
|
|
118
118
|
--bizy-card-footer-column-gap: 0.5rem;
|
|
@@ -214,6 +214,7 @@
|
|
|
214
214
|
--bizy-input-option-selected-background-color: var(--bizy-info-color);
|
|
215
215
|
--bizy-input-font-size: 1rem;
|
|
216
216
|
--bizy-input-placeholder-color: #999;
|
|
217
|
+
--bizy-input-resize: none;
|
|
217
218
|
|
|
218
219
|
--bizy-list-height: fit-content;
|
|
219
220
|
--bizy-list-width: 100%;
|
|
@@ -261,10 +262,13 @@
|
|
|
261
262
|
--bizy-pie-chart-tooltip-border-color: #fff;
|
|
262
263
|
|
|
263
264
|
--bizy-popup-background-color: #fff;
|
|
264
|
-
--bizy-popup-min-width:
|
|
265
|
+
--bizy-popup-min-width: 10rem;
|
|
265
266
|
--bizy-popup-width: fit-content;
|
|
266
267
|
--bizy-popup-max-width: 90dvw;
|
|
267
|
-
--bizy-popup-
|
|
268
|
+
--bizy-popup-min-height: 10rem;
|
|
269
|
+
--bizy-popup-height: fit-content;
|
|
270
|
+
--bizy-popup-max-height: 90dvh;
|
|
271
|
+
--bizy-popup-padding: 0;
|
|
268
272
|
--bizy-popup-border-radius: 0.3rem;
|
|
269
273
|
--bizy-popup-drag-button-color: var(--bizy-default-color);
|
|
270
274
|
--bizy-popup-drag-button-border: 0.1rem solid #ccc;
|
|
@@ -274,10 +278,14 @@
|
|
|
274
278
|
--bizy-popup-close-button-color: var(--bizy-default-color);
|
|
275
279
|
--bizy-popup-close-button-hover-color: var(--bizy-danger-color);
|
|
276
280
|
|
|
277
|
-
--bizy-popup-full-screen-
|
|
281
|
+
--bizy-popup-full-screen-min-width: 100dvw;
|
|
282
|
+
--bizy-popup-full-screen-width: auto;
|
|
283
|
+
--bizy-popup-full-screen-max-width: 100dvw;
|
|
284
|
+
--bizy-popup-full-screen-min-height: 20rem;
|
|
285
|
+
--bizy-popup-full-screen-height: fit-content;
|
|
286
|
+
--bizy-popup-full-screen-max-height: 90dvh;
|
|
278
287
|
--bizy-popup-full-screen-background-color: #fff;
|
|
279
|
-
--bizy-popup-full-screen-padding: 0
|
|
280
|
-
--bizy-popup-full-screen-border-radius: 1rem;
|
|
288
|
+
--bizy-popup-full-screen-padding: 2.2rem 0 0 0;
|
|
281
289
|
--bizy-popup-full-screen-close-button-border: transparent;
|
|
282
290
|
--bizy-popup-full-screen-close-button-background-color: transparent;
|
|
283
291
|
--bizy-popup-full-screen-close-button-color: var(--bizy-default-color);
|
|
@@ -438,7 +446,7 @@
|
|
|
438
446
|
--bizy-tag-info-color: var(--bizy-dark-info-color);
|
|
439
447
|
--bizy-tag-warning-background-color: #fbd9b5;
|
|
440
448
|
--bizy-tag-warning-color: var(--bizy-dark-warning-color);
|
|
441
|
-
--bizy-tag-danger-background-color: #
|
|
449
|
+
--bizy-tag-danger-background-color: #eda9a9;
|
|
442
450
|
--bizy-tag-danger-color: var(--bizy-dark-danger-color);
|
|
443
451
|
--bizy-tag-cursor: pointer;
|
|
444
452
|
--bizy-tag-height: auto;
|
package/types/bizy-core.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { EventEmitter, PipeTransform, ElementRef, AfterViewInit, OnDestroy, OnChanges, OnInit, AfterContentInit, QueryList, TemplateRef, ViewContainerRef, AfterViewChecked, ChangeDetectorRef, RendererFactory2, Renderer2 } from '@angular/core';
|
|
3
|
+
import * as rxjs from 'rxjs';
|
|
3
4
|
import { Observable, Subject, BehaviorSubject } from 'rxjs';
|
|
4
5
|
import { CalendarEvent, CalendarMonthViewDay } from 'angular-calendar';
|
|
5
|
-
import { UppyFile
|
|
6
|
+
import { UppyFile } from '@uppy/core';
|
|
6
7
|
import { CdkConnectedOverlay } from '@angular/cdk/overlay';
|
|
7
8
|
import { AbstractControl, ValidatorFn } from '@angular/forms';
|
|
8
9
|
import { Portal, TemplatePortal, ComponentType } from '@angular/cdk/portal';
|
|
@@ -572,6 +573,36 @@ declare class BizyDonutChartModule {
|
|
|
572
573
|
static ɵinj: i0.ɵɵInjectorDeclaration<BizyDonutChartModule>;
|
|
573
574
|
}
|
|
574
575
|
|
|
576
|
+
declare enum BIZY_FILE_UPLOADER_MODE {
|
|
577
|
+
UPLOAD = "UPLOAD",
|
|
578
|
+
ATTACH = "ATTACH"
|
|
579
|
+
}
|
|
580
|
+
type BizyFileUploaderAttachment = {
|
|
581
|
+
id: string;
|
|
582
|
+
file: Blob | File;
|
|
583
|
+
meta: BizyFileUploaderFile['meta'];
|
|
584
|
+
name: string;
|
|
585
|
+
size: number | null;
|
|
586
|
+
type: string;
|
|
587
|
+
};
|
|
588
|
+
type BizyFileUploaderLoadFile = {
|
|
589
|
+
id: string;
|
|
590
|
+
file: File;
|
|
591
|
+
};
|
|
592
|
+
type BizyFileUploaderInputFile = File | BizyFileUploaderLoadFile;
|
|
593
|
+
type BizyFileUploaderMeta = {
|
|
594
|
+
referenceId?: string;
|
|
595
|
+
relativePath?: string;
|
|
596
|
+
};
|
|
597
|
+
type BizyFileUploaderResponseBody = {
|
|
598
|
+
[key: string]: unknown;
|
|
599
|
+
fileId: string;
|
|
600
|
+
response?: XMLHttpRequest;
|
|
601
|
+
};
|
|
602
|
+
type BizyFileUploaderFile = UppyFile<BizyFileUploaderMeta, BizyFileUploaderResponseBody>;
|
|
603
|
+
type BizyFileUploaderSuccessResponse = NonNullable<BizyFileUploaderFile['response']>;
|
|
604
|
+
type BizyFileUploaderErrorResponse = Omit<BizyFileUploaderSuccessResponse, 'uploadURL'>;
|
|
605
|
+
|
|
575
606
|
declare class BizyFileUploaderComponent implements AfterViewInit, OnDestroy {
|
|
576
607
|
#private;
|
|
577
608
|
dragDropAreaWidth: string;
|
|
@@ -583,19 +614,19 @@ declare class BizyFileUploaderComponent implements AfterViewInit, OnDestroy {
|
|
|
583
614
|
maxTotalFileSize: number | null;
|
|
584
615
|
maxNumberOfFiles: number | null;
|
|
585
616
|
minNumberOfFiles: number | null;
|
|
586
|
-
allowedFileTypes: string
|
|
617
|
+
allowedFileTypes: Array<string> | string | null;
|
|
587
618
|
hideUploadButton: boolean;
|
|
588
619
|
hidePauseResumeButton: boolean;
|
|
589
620
|
hideCancelButton: boolean;
|
|
590
621
|
disableLocalFiles: boolean;
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
file: File;
|
|
594
|
-
}>;
|
|
622
|
+
mode: BIZY_FILE_UPLOADER_MODE;
|
|
623
|
+
load: Subject<BizyFileUploaderLoadFile> | null;
|
|
595
624
|
upload: Subject<{
|
|
596
625
|
endpoint: string;
|
|
597
626
|
headers?: Record<string, string>;
|
|
598
|
-
}
|
|
627
|
+
}> | null;
|
|
628
|
+
set files(value: Array<BizyFileUploaderInputFile> | null | undefined);
|
|
629
|
+
get files(): Array<BizyFileUploaderInputFile>;
|
|
599
630
|
set disabled(value: boolean);
|
|
600
631
|
completed: EventEmitter<{
|
|
601
632
|
successful: Array<{
|
|
@@ -607,13 +638,14 @@ declare class BizyFileUploaderComponent implements AfterViewInit, OnDestroy {
|
|
|
607
638
|
meta: unknown;
|
|
608
639
|
}>;
|
|
609
640
|
}>;
|
|
610
|
-
loadedFiles: EventEmitter<
|
|
641
|
+
loadedFiles: EventEmitter<BizyFileUploaderFile[]>;
|
|
642
|
+
attachedFiles: EventEmitter<BizyFileUploaderAttachment[]>;
|
|
611
643
|
readonly TEMPLATE_ID = "bizy-file-uploader-template";
|
|
612
644
|
ngAfterViewInit(): void;
|
|
613
645
|
getNativeElement: () => any;
|
|
614
646
|
ngOnDestroy(): void;
|
|
615
647
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizyFileUploaderComponent, never>;
|
|
616
|
-
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>;
|
|
648
|
+
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; }; "mode": { "alias": "mode"; "required": false; }; "load": { "alias": "load"; "required": false; }; "upload": { "alias": "upload"; "required": false; }; "files": { "alias": "files"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "completed": "completed"; "loadedFiles": "loadedFiles"; "attachedFiles": "attachedFiles"; }, never, never, true, never>;
|
|
617
649
|
}
|
|
618
650
|
|
|
619
651
|
declare class BizyFileUploaderModule {
|
|
@@ -624,21 +656,22 @@ declare class BizyFileUploaderModule {
|
|
|
624
656
|
|
|
625
657
|
declare class BizyFileUploaderService {
|
|
626
658
|
#private;
|
|
627
|
-
get fileLoaded$(): Observable<
|
|
628
|
-
get fileRemoved$(): Observable<
|
|
659
|
+
get fileLoaded$(): Observable<BizyFileUploaderFile>;
|
|
660
|
+
get fileRemoved$(): Observable<BizyFileUploaderFile>;
|
|
629
661
|
get upload$(): Observable<void>;
|
|
630
662
|
get uploadSuccess$(): Observable<{
|
|
631
|
-
file:
|
|
632
|
-
response:
|
|
663
|
+
file: BizyFileUploaderFile;
|
|
664
|
+
response: BizyFileUploaderSuccessResponse;
|
|
633
665
|
}>;
|
|
634
666
|
get error$(): Observable<{
|
|
635
|
-
file?:
|
|
667
|
+
file?: BizyFileUploaderFile;
|
|
636
668
|
error: Error;
|
|
669
|
+
response?: BizyFileUploaderErrorResponse;
|
|
637
670
|
}>;
|
|
638
671
|
get cancelAll$(): Observable<void>;
|
|
639
672
|
get complete$(): Observable<{
|
|
640
|
-
successful: Array<
|
|
641
|
-
failed: Array<
|
|
673
|
+
successful: Array<BizyFileUploaderFile>;
|
|
674
|
+
failed: Array<BizyFileUploaderFile>;
|
|
642
675
|
}>;
|
|
643
676
|
createFileUploader(data: {
|
|
644
677
|
maxFileSize: number | null;
|
|
@@ -648,19 +681,18 @@ declare class BizyFileUploaderService {
|
|
|
648
681
|
minNumberOfFiles: number | null;
|
|
649
682
|
dragDropAreaWidth: string;
|
|
650
683
|
dragDropAreaHeight: string;
|
|
651
|
-
allowedFileTypes: Array<string
|
|
684
|
+
allowedFileTypes: Array<string> | null;
|
|
652
685
|
language: 'es' | 'en';
|
|
653
686
|
templateId: string;
|
|
654
687
|
hideCancelButton: boolean;
|
|
655
688
|
hideUploadButton: boolean;
|
|
656
689
|
hidePauseResumeButton: boolean;
|
|
657
690
|
disableLocalFiles: boolean;
|
|
691
|
+
enableUpload: boolean;
|
|
658
692
|
headers: Record<string, string>;
|
|
659
693
|
}): void;
|
|
660
|
-
load: (data:
|
|
661
|
-
|
|
662
|
-
file: File;
|
|
663
|
-
}) => void;
|
|
694
|
+
load: (data: BizyFileUploaderInputFile) => string | null;
|
|
695
|
+
remove: (fileId: string) => void;
|
|
664
696
|
disable(value: boolean): void;
|
|
665
697
|
upload: (data: {
|
|
666
698
|
endpoint: string;
|
|
@@ -851,6 +883,7 @@ declare class BizyInputComponent implements OnDestroy {
|
|
|
851
883
|
valueChange: EventEmitter<string | number>;
|
|
852
884
|
onChange: EventEmitter<string | number>;
|
|
853
885
|
onEnter: EventEmitter<KeyboardEvent>;
|
|
886
|
+
onKey: EventEmitter<string>;
|
|
854
887
|
onBackspace: EventEmitter<KeyboardEvent>;
|
|
855
888
|
onSelect: EventEmitter<PointerEvent>;
|
|
856
889
|
onBlur: EventEmitter<FocusEvent>;
|
|
@@ -869,6 +902,7 @@ declare class BizyInputComponent implements OnDestroy {
|
|
|
869
902
|
_onchange: (value: string) => void;
|
|
870
903
|
_onClick: (event: PointerEvent) => void;
|
|
871
904
|
_onEnter: (event: KeyboardEvent) => void;
|
|
905
|
+
_onKeyDown: (event: KeyboardEvent) => void;
|
|
872
906
|
_onBackspace: (event: KeyboardEvent) => void;
|
|
873
907
|
setTouched: (touched: boolean) => void;
|
|
874
908
|
onOpen: () => void;
|
|
@@ -881,7 +915,7 @@ declare class BizyInputComponent implements OnDestroy {
|
|
|
881
915
|
}, button?: HTMLButtonElement) => void;
|
|
882
916
|
ngOnDestroy(): void;
|
|
883
917
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizyInputComponent, never>;
|
|
884
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BizyInputComponent, "bizy-input", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "type": { "alias": "type"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "onChange": "onChange"; "onEnter": "onEnter"; "onBackspace": "onBackspace"; "onSelect": "onSelect"; "onBlur": "onBlur"; "onFocus": "onFocus"; "onPaste": "onPaste"; }, ["options"], ["[slot=header]", "[slot=prefix]", "[slot=suffix]", "bizy-input-option", "[slot=error]"], true, never>;
|
|
918
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BizyInputComponent, "bizy-input", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "type": { "alias": "type"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "onChange": "onChange"; "onEnter": "onEnter"; "onKey": "onKey"; "onBackspace": "onBackspace"; "onSelect": "onSelect"; "onBlur": "onBlur"; "onFocus": "onFocus"; "onPaste": "onPaste"; }, ["options"], ["[slot=header]", "[slot=prefix]", "[slot=suffix]", "bizy-input-option", "[slot=error]"], true, never>;
|
|
885
919
|
}
|
|
886
920
|
|
|
887
921
|
declare class BizySelectOptionComponent {
|
|
@@ -1016,25 +1050,28 @@ declare class BizyGridForDirective {
|
|
|
1016
1050
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BizyGridForDirective, "[gridFor]", never, { "gridForOf": { "alias": "gridForOf"; "required": false; }; }, {}, never, never, true, never>;
|
|
1017
1051
|
}
|
|
1018
1052
|
|
|
1019
|
-
declare class BizyGridComponent implements
|
|
1053
|
+
declare class BizyGridComponent implements AfterViewInit, OnDestroy {
|
|
1020
1054
|
#private;
|
|
1021
1055
|
private virtualScroll;
|
|
1022
|
-
content: TemplateRef<object
|
|
1023
|
-
gridDirective: BizyGridForDirective;
|
|
1024
|
-
resizeRef: ElementRef | null;
|
|
1056
|
+
content: TemplateRef<object> | null;
|
|
1057
|
+
gridDirective: BizyGridForDirective | null;
|
|
1058
|
+
resizeRef: ElementRef<HTMLElement> | HTMLElement | null;
|
|
1059
|
+
scrollDisabled: boolean;
|
|
1060
|
+
set scrollResetKey(_value: string | number | null);
|
|
1061
|
+
endReached: EventEmitter<void>;
|
|
1025
1062
|
notifier$: Subject<void>;
|
|
1026
1063
|
rowHeight: number;
|
|
1027
1064
|
itemRows: Array<Array<unknown>>;
|
|
1028
1065
|
items: Array<unknown>;
|
|
1029
|
-
itemTemplate: TemplateRef<unknown
|
|
1066
|
+
itemTemplate: TemplateRef<unknown> | null;
|
|
1030
1067
|
itemsPerRow: number;
|
|
1031
|
-
getNativeElement: () =>
|
|
1032
|
-
|
|
1068
|
+
getNativeElement: () => HTMLElement;
|
|
1069
|
+
ngAfterViewInit(): void;
|
|
1033
1070
|
trackByRow(index: number, row: any[]): any;
|
|
1034
1071
|
scrollTo(index: number, behavior?: 'auto' | 'instant' | 'smooth'): void;
|
|
1035
1072
|
ngOnDestroy(): void;
|
|
1036
1073
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizyGridComponent, never>;
|
|
1037
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BizyGridComponent, "bizy-grid", never, { "resizeRef": { "alias": "resizeRef"; "required": false; }; }, {}, ["gridDirective"], ["*"], true, never>;
|
|
1074
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BizyGridComponent, "bizy-grid", never, { "resizeRef": { "alias": "resizeRef"; "required": false; }; "scrollDisabled": { "alias": "scrollDisabled"; "required": false; }; "scrollResetKey": { "alias": "scrollResetKey"; "required": false; }; }, { "endReached": "endReached"; }, ["gridDirective"], ["*"], true, never>;
|
|
1038
1075
|
}
|
|
1039
1076
|
|
|
1040
1077
|
declare class BizyGridRowComponent {
|
|
@@ -1420,6 +1457,14 @@ declare class BizyFullScreenPopupWrapperComponent<T> {
|
|
|
1420
1457
|
disabled: boolean;
|
|
1421
1458
|
disableClose: boolean;
|
|
1422
1459
|
disableDrag: boolean;
|
|
1460
|
+
position: {
|
|
1461
|
+
main?: string;
|
|
1462
|
+
right?: string;
|
|
1463
|
+
bottom?: string;
|
|
1464
|
+
left?: string;
|
|
1465
|
+
transform?: string;
|
|
1466
|
+
};
|
|
1467
|
+
minWidth: string;
|
|
1423
1468
|
ngOnInit(): void;
|
|
1424
1469
|
ngAfterViewInit(): void;
|
|
1425
1470
|
loadDynamicComponent: () => void;
|
|
@@ -2217,36 +2262,67 @@ declare class BizyAnimationService {
|
|
|
2217
2262
|
static ɵprov: i0.ɵɵInjectableDeclaration<BizyAnimationService>;
|
|
2218
2263
|
}
|
|
2219
2264
|
|
|
2220
|
-
interface
|
|
2265
|
+
interface IWindowSize {
|
|
2221
2266
|
height: number;
|
|
2222
2267
|
width: number;
|
|
2223
2268
|
}
|
|
2269
|
+
declare enum BIZY_DEVICE_OS {
|
|
2270
|
+
IOS = "iOS",
|
|
2271
|
+
MAC = "Mac",
|
|
2272
|
+
ANDROID = "Android",
|
|
2273
|
+
WINDOWS = "Windows",
|
|
2274
|
+
LINUX = "Linux"
|
|
2275
|
+
}
|
|
2276
|
+
declare enum BIZY_DEVICE_BROWSER {
|
|
2277
|
+
CHROME = "CHROME",
|
|
2278
|
+
SAFARI = "SAFARI",
|
|
2279
|
+
EDGE = "EDGE",
|
|
2280
|
+
OPERA = "OPERA",
|
|
2281
|
+
FIREFOX = "FIREFOX",
|
|
2282
|
+
UNKNOWN = "UNKNOWN"
|
|
2283
|
+
}
|
|
2224
2284
|
declare class BizyDeviceService {
|
|
2225
2285
|
#private;
|
|
2226
|
-
|
|
2286
|
+
readonly windowSizeChange$: rxjs.Observable<IWindowSize | {
|
|
2287
|
+
width: number;
|
|
2288
|
+
height: number;
|
|
2289
|
+
}>;
|
|
2227
2290
|
getUserAgent(): Promise<string>;
|
|
2291
|
+
getWindowSize: () => IWindowSize;
|
|
2292
|
+
getWindowWidth: () => number;
|
|
2293
|
+
getWindowHeight: () => number;
|
|
2228
2294
|
isMobile: () => boolean;
|
|
2229
2295
|
isTablet: () => boolean;
|
|
2230
2296
|
isDesktop: () => boolean;
|
|
2231
2297
|
isPortrait: () => boolean;
|
|
2232
2298
|
isLandscape: () => boolean;
|
|
2299
|
+
isIOS: () => boolean;
|
|
2300
|
+
isAndroid: () => boolean;
|
|
2301
|
+
isMacintosh: () => boolean;
|
|
2302
|
+
isWindows: () => boolean;
|
|
2303
|
+
isLinux: () => boolean;
|
|
2304
|
+
getOS: () => BIZY_DEVICE_OS;
|
|
2305
|
+
getBrowser: () => BIZY_DEVICE_BROWSER;
|
|
2233
2306
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizyDeviceService, never>;
|
|
2234
2307
|
static ɵprov: i0.ɵɵInjectableDeclaration<BizyDeviceService>;
|
|
2235
2308
|
}
|
|
2236
2309
|
|
|
2237
2310
|
declare class BizyRouterService {
|
|
2311
|
+
#private;
|
|
2238
2312
|
private router;
|
|
2239
2313
|
static backPath: string;
|
|
2314
|
+
static data: Record<string, unknown>;
|
|
2240
2315
|
transitionsEnd$: Observable<ActivatedRouteSnapshot>;
|
|
2241
2316
|
transitionsStart$: Observable<ActivatedRouteSnapshot>;
|
|
2242
2317
|
popStateEvent$: Observable<PopStateEvent>;
|
|
2243
2318
|
routeChange$: Observable<void>;
|
|
2244
2319
|
constructor(router: Router);
|
|
2245
|
-
getURL()
|
|
2246
|
-
getBackPath()
|
|
2247
|
-
getId(activatedRoute: ActivatedRoute, param: string)
|
|
2248
|
-
getQueryParam(activatedRoute: ActivatedRoute, param: string)
|
|
2320
|
+
getURL: () => string;
|
|
2321
|
+
getBackPath: () => string;
|
|
2322
|
+
getId: (activatedRoute: ActivatedRoute, param: string) => string | null;
|
|
2323
|
+
getQueryParam: (activatedRoute: ActivatedRoute, param: string) => string | null;
|
|
2249
2324
|
getAllQueryParam(): Record<string, string>;
|
|
2325
|
+
getData: () => Record<string, unknown>;
|
|
2250
2326
|
goTo(data: {
|
|
2251
2327
|
path: string;
|
|
2252
2328
|
params?: Record<string, string>;
|
|
@@ -2257,7 +2333,6 @@ declare class BizyRouterService {
|
|
|
2257
2333
|
path: string;
|
|
2258
2334
|
}): void;
|
|
2259
2335
|
reload(force?: boolean): void;
|
|
2260
|
-
private _serialize;
|
|
2261
2336
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizyRouterService, never>;
|
|
2262
2337
|
static ɵprov: i0.ɵɵInjectableDeclaration<BizyRouterService>;
|
|
2263
2338
|
}
|
|
@@ -2703,5 +2778,5 @@ declare class BizyDirectivesModule {
|
|
|
2703
2778
|
static ɵinj: i0.ɵɵInjectorDeclaration<BizyDirectivesModule>;
|
|
2704
2779
|
}
|
|
2705
2780
|
|
|
2706
|
-
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, BizyDonutChartSectionComponent, 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, BizyPieChartSectionComponent, BizyPieChartService, 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 };
|
|
2707
|
-
export type { IBizyBarLineChartAxis, IBizyBarLineChartDownload, IBizyBarLineChartTooltip, IBizyBarLineChartValue, IBizyBreadcrumb, IBizyCalendarEvent, IBizyGaugeChartData, IBizyHeatMapChartData, IBizyHeatMapChartRange, IBizyHeatMapHighlightArea, IBizyHeatMapHighlightLine, IBizyHeatMapHighlightLineLabel, IBizyPopupResponse, IBizySearchPipeOptions, IBizyStackedBarChartLegends, ILocale, LabelPosition };
|
|
2781
|
+
export { BIZY_ANIMATION, BIZY_BAR_LINE_CHART_AXIS_POSITION, BIZY_CALENDAR_DAY, BIZY_CALENDAR_EVENT_ACTION, BIZY_CALENDAR_LANGUAGE, BIZY_CALENDAR_MODE, BIZY_DEVICE_BROWSER, BIZY_DEVICE_OS, BIZY_FILE_UPLOADER_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, BizyDonutChartSectionComponent, 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, BizyPieChartSectionComponent, BizyPieChartService, 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 };
|
|
2782
|
+
export type { BizyFileUploaderAttachment, BizyFileUploaderErrorResponse, BizyFileUploaderFile, BizyFileUploaderInputFile, BizyFileUploaderLoadFile, BizyFileUploaderMeta, BizyFileUploaderResponseBody, BizyFileUploaderSuccessResponse, IBizyBarLineChartAxis, IBizyBarLineChartDownload, IBizyBarLineChartTooltip, IBizyBarLineChartValue, IBizyBreadcrumb, IBizyCalendarEvent, IBizyGaugeChartData, IBizyHeatMapChartData, IBizyHeatMapChartRange, IBizyHeatMapHighlightArea, IBizyHeatMapHighlightLine, IBizyHeatMapHighlightLineLabel, IBizyPopupResponse, IBizySearchPipeOptions, IBizyStackedBarChartLegends, ILocale, IWindowSize, LabelPosition };
|