@bizy/core 21.8.8 → 21.9.1
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 +549 -207
- package/fesm2022/bizy-core.mjs.map +1 -1
- package/package.json +8 -6
- 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 +89 -41
package/package.json
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bizy/core",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.9.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/cdk": "^21.0.0",
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
7
7
|
"@angular/core": "^21.0.0",
|
|
8
8
|
"@angular/forms": "^21.0.0",
|
|
9
9
|
"@angular/platform-browser": "^21.0.0",
|
|
10
|
-
"@angular/platform-browser-dynamic": "^21.0.0",
|
|
11
10
|
"@angular/router": "^21.0.0",
|
|
12
11
|
"@ngx-translate/core": "17.0.0",
|
|
13
|
-
"@uppy/core": "
|
|
14
|
-
"@uppy/dashboard": "
|
|
15
|
-
"@uppy/locales": "
|
|
16
|
-
"@uppy/
|
|
12
|
+
"@uppy/core": "5.2.0",
|
|
13
|
+
"@uppy/dashboard": "5.1.1",
|
|
14
|
+
"@uppy/locales": "5.1.1",
|
|
15
|
+
"@uppy/provider-views": "5.2.2",
|
|
16
|
+
"@uppy/thumbnail-generator": "5.1.0",
|
|
17
|
+
"@uppy/utils": "7.2.0",
|
|
18
|
+
"@uppy/xhr-upload": "5.2.0",
|
|
17
19
|
"angular-calendar": "0.32.0",
|
|
18
20
|
"angular-draggable-droppable": "9.0.1",
|
|
19
21
|
"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
|
@@ -3,7 +3,7 @@ import { EventEmitter, PipeTransform, ElementRef, AfterViewInit, OnDestroy, OnCh
|
|
|
3
3
|
import * as rxjs from 'rxjs';
|
|
4
4
|
import { Observable, Subject, BehaviorSubject } from 'rxjs';
|
|
5
5
|
import { CalendarEvent, CalendarMonthViewDay } from 'angular-calendar';
|
|
6
|
-
import { UppyFile
|
|
6
|
+
import { UppyFile } from '@uppy/core';
|
|
7
7
|
import { CdkConnectedOverlay } from '@angular/cdk/overlay';
|
|
8
8
|
import { AbstractControl, ValidatorFn } from '@angular/forms';
|
|
9
9
|
import { Portal, TemplatePortal, ComponentType } from '@angular/cdk/portal';
|
|
@@ -453,7 +453,7 @@ declare class BizyContentModule {
|
|
|
453
453
|
static ɵinj: i0.ɵɵInjectorDeclaration<BizyContentModule>;
|
|
454
454
|
}
|
|
455
455
|
|
|
456
|
-
declare class BizyDatePickerComponent {
|
|
456
|
+
declare class BizyDatePickerComponent implements OnDestroy {
|
|
457
457
|
#private;
|
|
458
458
|
private bizyDatePicker;
|
|
459
459
|
id: string;
|
|
@@ -492,6 +492,7 @@ declare class BizyDatePickerComponent {
|
|
|
492
492
|
value: string;
|
|
493
493
|
set type(type: 'date' | 'date-time' | 'time' | 'year-month');
|
|
494
494
|
ngAfterViewInit(): void;
|
|
495
|
+
ngOnDestroy(): void;
|
|
495
496
|
setTouched(touched: boolean): void;
|
|
496
497
|
getNativeElement: () => any;
|
|
497
498
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizyDatePickerComponent, never>;
|
|
@@ -573,6 +574,36 @@ declare class BizyDonutChartModule {
|
|
|
573
574
|
static ɵinj: i0.ɵɵInjectorDeclaration<BizyDonutChartModule>;
|
|
574
575
|
}
|
|
575
576
|
|
|
577
|
+
declare enum BIZY_FILE_UPLOADER_MODE {
|
|
578
|
+
UPLOAD = "UPLOAD",
|
|
579
|
+
ATTACH = "ATTACH"
|
|
580
|
+
}
|
|
581
|
+
type BizyFileUploaderAttachment = {
|
|
582
|
+
id: string;
|
|
583
|
+
file: Blob | File;
|
|
584
|
+
meta: BizyFileUploaderFile['meta'];
|
|
585
|
+
name: string;
|
|
586
|
+
size: number | null;
|
|
587
|
+
type: string;
|
|
588
|
+
};
|
|
589
|
+
type BizyFileUploaderLoadFile = {
|
|
590
|
+
id: string;
|
|
591
|
+
file: File;
|
|
592
|
+
};
|
|
593
|
+
type BizyFileUploaderInputFile = File | BizyFileUploaderLoadFile;
|
|
594
|
+
type BizyFileUploaderMeta = {
|
|
595
|
+
referenceId?: string;
|
|
596
|
+
relativePath?: string;
|
|
597
|
+
};
|
|
598
|
+
type BizyFileUploaderResponseBody = {
|
|
599
|
+
[key: string]: unknown;
|
|
600
|
+
fileId: string;
|
|
601
|
+
response?: XMLHttpRequest;
|
|
602
|
+
};
|
|
603
|
+
type BizyFileUploaderFile = UppyFile<BizyFileUploaderMeta, BizyFileUploaderResponseBody>;
|
|
604
|
+
type BizyFileUploaderSuccessResponse = NonNullable<BizyFileUploaderFile['response']>;
|
|
605
|
+
type BizyFileUploaderErrorResponse = Omit<BizyFileUploaderSuccessResponse, 'uploadURL'>;
|
|
606
|
+
|
|
576
607
|
declare class BizyFileUploaderComponent implements AfterViewInit, OnDestroy {
|
|
577
608
|
#private;
|
|
578
609
|
dragDropAreaWidth: string;
|
|
@@ -584,19 +615,19 @@ declare class BizyFileUploaderComponent implements AfterViewInit, OnDestroy {
|
|
|
584
615
|
maxTotalFileSize: number | null;
|
|
585
616
|
maxNumberOfFiles: number | null;
|
|
586
617
|
minNumberOfFiles: number | null;
|
|
587
|
-
allowedFileTypes: string
|
|
618
|
+
allowedFileTypes: Array<string> | string | null;
|
|
588
619
|
hideUploadButton: boolean;
|
|
589
620
|
hidePauseResumeButton: boolean;
|
|
590
621
|
hideCancelButton: boolean;
|
|
591
622
|
disableLocalFiles: boolean;
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
file: File;
|
|
595
|
-
}>;
|
|
623
|
+
mode: BIZY_FILE_UPLOADER_MODE;
|
|
624
|
+
load: Subject<BizyFileUploaderLoadFile> | null;
|
|
596
625
|
upload: Subject<{
|
|
597
626
|
endpoint: string;
|
|
598
627
|
headers?: Record<string, string>;
|
|
599
|
-
}
|
|
628
|
+
}> | null;
|
|
629
|
+
set files(value: Array<BizyFileUploaderInputFile> | null | undefined);
|
|
630
|
+
get files(): Array<BizyFileUploaderInputFile>;
|
|
600
631
|
set disabled(value: boolean);
|
|
601
632
|
completed: EventEmitter<{
|
|
602
633
|
successful: Array<{
|
|
@@ -608,13 +639,14 @@ declare class BizyFileUploaderComponent implements AfterViewInit, OnDestroy {
|
|
|
608
639
|
meta: unknown;
|
|
609
640
|
}>;
|
|
610
641
|
}>;
|
|
611
|
-
loadedFiles: EventEmitter<
|
|
642
|
+
loadedFiles: EventEmitter<BizyFileUploaderFile[]>;
|
|
643
|
+
attachedFiles: EventEmitter<BizyFileUploaderAttachment[]>;
|
|
612
644
|
readonly TEMPLATE_ID = "bizy-file-uploader-template";
|
|
613
|
-
ngAfterViewInit(): void
|
|
645
|
+
ngAfterViewInit(): Promise<void>;
|
|
614
646
|
getNativeElement: () => any;
|
|
615
647
|
ngOnDestroy(): void;
|
|
616
648
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizyFileUploaderComponent, never>;
|
|
617
|
-
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>;
|
|
649
|
+
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>;
|
|
618
650
|
}
|
|
619
651
|
|
|
620
652
|
declare class BizyFileUploaderModule {
|
|
@@ -625,21 +657,22 @@ declare class BizyFileUploaderModule {
|
|
|
625
657
|
|
|
626
658
|
declare class BizyFileUploaderService {
|
|
627
659
|
#private;
|
|
628
|
-
get fileLoaded$(): Observable<
|
|
629
|
-
get fileRemoved$(): Observable<
|
|
660
|
+
get fileLoaded$(): Observable<BizyFileUploaderFile>;
|
|
661
|
+
get fileRemoved$(): Observable<BizyFileUploaderFile>;
|
|
630
662
|
get upload$(): Observable<void>;
|
|
631
663
|
get uploadSuccess$(): Observable<{
|
|
632
|
-
file:
|
|
633
|
-
response:
|
|
664
|
+
file: BizyFileUploaderFile;
|
|
665
|
+
response: BizyFileUploaderSuccessResponse;
|
|
634
666
|
}>;
|
|
635
667
|
get error$(): Observable<{
|
|
636
|
-
file?:
|
|
668
|
+
file?: BizyFileUploaderFile;
|
|
637
669
|
error: Error;
|
|
670
|
+
response?: BizyFileUploaderErrorResponse;
|
|
638
671
|
}>;
|
|
639
672
|
get cancelAll$(): Observable<void>;
|
|
640
673
|
get complete$(): Observable<{
|
|
641
|
-
successful: Array<
|
|
642
|
-
failed: Array<
|
|
674
|
+
successful: Array<BizyFileUploaderFile>;
|
|
675
|
+
failed: Array<BizyFileUploaderFile>;
|
|
643
676
|
}>;
|
|
644
677
|
createFileUploader(data: {
|
|
645
678
|
maxFileSize: number | null;
|
|
@@ -649,25 +682,25 @@ declare class BizyFileUploaderService {
|
|
|
649
682
|
minNumberOfFiles: number | null;
|
|
650
683
|
dragDropAreaWidth: string;
|
|
651
684
|
dragDropAreaHeight: string;
|
|
652
|
-
allowedFileTypes: Array<string
|
|
685
|
+
allowedFileTypes: Array<string> | null;
|
|
653
686
|
language: 'es' | 'en';
|
|
654
687
|
templateId: string;
|
|
655
688
|
hideCancelButton: boolean;
|
|
656
689
|
hideUploadButton: boolean;
|
|
657
690
|
hidePauseResumeButton: boolean;
|
|
658
691
|
disableLocalFiles: boolean;
|
|
692
|
+
enableUpload: boolean;
|
|
659
693
|
headers: Record<string, string>;
|
|
660
|
-
}): void
|
|
661
|
-
load: (data:
|
|
662
|
-
|
|
663
|
-
file: File;
|
|
664
|
-
}) => void;
|
|
694
|
+
}): Promise<void>;
|
|
695
|
+
load: (data: BizyFileUploaderInputFile) => string | null;
|
|
696
|
+
remove: (fileId: string) => void;
|
|
665
697
|
disable(value: boolean): void;
|
|
666
698
|
upload: (data: {
|
|
667
699
|
endpoint: string;
|
|
668
700
|
headers?: Record<string, string>;
|
|
669
701
|
}) => void;
|
|
670
702
|
cleanAllFiles: () => void;
|
|
703
|
+
destroy: () => void;
|
|
671
704
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizyFileUploaderService, never>;
|
|
672
705
|
static ɵprov: i0.ɵɵInjectableDeclaration<BizyFileUploaderService>;
|
|
673
706
|
}
|
|
@@ -852,6 +885,7 @@ declare class BizyInputComponent implements OnDestroy {
|
|
|
852
885
|
valueChange: EventEmitter<string | number>;
|
|
853
886
|
onChange: EventEmitter<string | number>;
|
|
854
887
|
onEnter: EventEmitter<KeyboardEvent>;
|
|
888
|
+
onKey: EventEmitter<string>;
|
|
855
889
|
onBackspace: EventEmitter<KeyboardEvent>;
|
|
856
890
|
onSelect: EventEmitter<PointerEvent>;
|
|
857
891
|
onBlur: EventEmitter<FocusEvent>;
|
|
@@ -870,6 +904,7 @@ declare class BizyInputComponent implements OnDestroy {
|
|
|
870
904
|
_onchange: (value: string) => void;
|
|
871
905
|
_onClick: (event: PointerEvent) => void;
|
|
872
906
|
_onEnter: (event: KeyboardEvent) => void;
|
|
907
|
+
_onKeyDown: (event: KeyboardEvent) => void;
|
|
873
908
|
_onBackspace: (event: KeyboardEvent) => void;
|
|
874
909
|
setTouched: (touched: boolean) => void;
|
|
875
910
|
onOpen: () => void;
|
|
@@ -882,7 +917,7 @@ declare class BizyInputComponent implements OnDestroy {
|
|
|
882
917
|
}, button?: HTMLButtonElement) => void;
|
|
883
918
|
ngOnDestroy(): void;
|
|
884
919
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizyInputComponent, never>;
|
|
885
|
-
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>;
|
|
920
|
+
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>;
|
|
886
921
|
}
|
|
887
922
|
|
|
888
923
|
declare class BizySelectOptionComponent {
|
|
@@ -1017,25 +1052,28 @@ declare class BizyGridForDirective {
|
|
|
1017
1052
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BizyGridForDirective, "[gridFor]", never, { "gridForOf": { "alias": "gridForOf"; "required": false; }; }, {}, never, never, true, never>;
|
|
1018
1053
|
}
|
|
1019
1054
|
|
|
1020
|
-
declare class BizyGridComponent implements
|
|
1055
|
+
declare class BizyGridComponent implements AfterViewInit, OnDestroy {
|
|
1021
1056
|
#private;
|
|
1022
1057
|
private virtualScroll;
|
|
1023
|
-
content: TemplateRef<object
|
|
1024
|
-
gridDirective: BizyGridForDirective;
|
|
1025
|
-
resizeRef: ElementRef | null;
|
|
1058
|
+
content: TemplateRef<object> | null;
|
|
1059
|
+
gridDirective: BizyGridForDirective | null;
|
|
1060
|
+
resizeRef: ElementRef<HTMLElement> | HTMLElement | null;
|
|
1061
|
+
scrollDisabled: boolean;
|
|
1062
|
+
set scrollResetKey(_value: string | number | null);
|
|
1063
|
+
endReached: EventEmitter<void>;
|
|
1026
1064
|
notifier$: Subject<void>;
|
|
1027
1065
|
rowHeight: number;
|
|
1028
1066
|
itemRows: Array<Array<unknown>>;
|
|
1029
1067
|
items: Array<unknown>;
|
|
1030
|
-
itemTemplate: TemplateRef<unknown
|
|
1068
|
+
itemTemplate: TemplateRef<unknown> | null;
|
|
1031
1069
|
itemsPerRow: number;
|
|
1032
|
-
getNativeElement: () =>
|
|
1033
|
-
|
|
1070
|
+
getNativeElement: () => HTMLElement;
|
|
1071
|
+
ngAfterViewInit(): void;
|
|
1034
1072
|
trackByRow(index: number, row: any[]): any;
|
|
1035
1073
|
scrollTo(index: number, behavior?: 'auto' | 'instant' | 'smooth'): void;
|
|
1036
1074
|
ngOnDestroy(): void;
|
|
1037
1075
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizyGridComponent, never>;
|
|
1038
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BizyGridComponent, "bizy-grid", never, { "resizeRef": { "alias": "resizeRef"; "required": false; }; }, {}, ["gridDirective"], ["*"], true, never>;
|
|
1076
|
+
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>;
|
|
1039
1077
|
}
|
|
1040
1078
|
|
|
1041
1079
|
declare class BizyGridRowComponent {
|
|
@@ -1421,6 +1459,14 @@ declare class BizyFullScreenPopupWrapperComponent<T> {
|
|
|
1421
1459
|
disabled: boolean;
|
|
1422
1460
|
disableClose: boolean;
|
|
1423
1461
|
disableDrag: boolean;
|
|
1462
|
+
position: {
|
|
1463
|
+
main?: string;
|
|
1464
|
+
right?: string;
|
|
1465
|
+
bottom?: string;
|
|
1466
|
+
left?: string;
|
|
1467
|
+
transform?: string;
|
|
1468
|
+
};
|
|
1469
|
+
minWidth: string;
|
|
1424
1470
|
ngOnInit(): void;
|
|
1425
1471
|
ngAfterViewInit(): void;
|
|
1426
1472
|
loadDynamicComponent: () => void;
|
|
@@ -2264,18 +2310,21 @@ declare class BizyDeviceService {
|
|
|
2264
2310
|
}
|
|
2265
2311
|
|
|
2266
2312
|
declare class BizyRouterService {
|
|
2313
|
+
#private;
|
|
2267
2314
|
private router;
|
|
2268
2315
|
static backPath: string;
|
|
2316
|
+
static data: Record<string, unknown>;
|
|
2269
2317
|
transitionsEnd$: Observable<ActivatedRouteSnapshot>;
|
|
2270
2318
|
transitionsStart$: Observable<ActivatedRouteSnapshot>;
|
|
2271
2319
|
popStateEvent$: Observable<PopStateEvent>;
|
|
2272
2320
|
routeChange$: Observable<void>;
|
|
2273
2321
|
constructor(router: Router);
|
|
2274
|
-
getURL()
|
|
2275
|
-
getBackPath()
|
|
2276
|
-
getId(activatedRoute: ActivatedRoute, param: string)
|
|
2277
|
-
getQueryParam(activatedRoute: ActivatedRoute, param: string)
|
|
2322
|
+
getURL: () => string;
|
|
2323
|
+
getBackPath: () => string;
|
|
2324
|
+
getId: (activatedRoute: ActivatedRoute, param: string) => string | null;
|
|
2325
|
+
getQueryParam: (activatedRoute: ActivatedRoute, param: string) => string | null;
|
|
2278
2326
|
getAllQueryParam(): Record<string, string>;
|
|
2327
|
+
getData: () => Record<string, unknown>;
|
|
2279
2328
|
goTo(data: {
|
|
2280
2329
|
path: string;
|
|
2281
2330
|
params?: Record<string, string>;
|
|
@@ -2286,7 +2335,6 @@ declare class BizyRouterService {
|
|
|
2286
2335
|
path: string;
|
|
2287
2336
|
}): void;
|
|
2288
2337
|
reload(force?: boolean): void;
|
|
2289
|
-
private _serialize;
|
|
2290
2338
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizyRouterService, never>;
|
|
2291
2339
|
static ɵprov: i0.ɵɵInjectableDeclaration<BizyRouterService>;
|
|
2292
2340
|
}
|
|
@@ -2633,7 +2681,7 @@ declare class BizyCurrencyFormatDirective implements OnInit, OnDestroy {
|
|
|
2633
2681
|
bizyCurrencyFormat: boolean;
|
|
2634
2682
|
options: AutoNumeric.Options;
|
|
2635
2683
|
constructor(elementRef: ElementRef);
|
|
2636
|
-
ngOnInit(): void
|
|
2684
|
+
ngOnInit(): Promise<void>;
|
|
2637
2685
|
ngOnDestroy(): void;
|
|
2638
2686
|
getValue: () => number;
|
|
2639
2687
|
setValue: (value: number) => void;
|
|
@@ -2732,5 +2780,5 @@ declare class BizyDirectivesModule {
|
|
|
2732
2780
|
static ɵinj: i0.ɵɵInjectorDeclaration<BizyDirectivesModule>;
|
|
2733
2781
|
}
|
|
2734
2782
|
|
|
2735
|
-
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 };
|
|
2736
|
-
export type { IBizyBarLineChartAxis, IBizyBarLineChartDownload, IBizyBarLineChartTooltip, IBizyBarLineChartValue, IBizyBreadcrumb, IBizyCalendarEvent, IBizyGaugeChartData, IBizyHeatMapChartData, IBizyHeatMapChartRange, IBizyHeatMapHighlightArea, IBizyHeatMapHighlightLine, IBizyHeatMapHighlightLineLabel, IBizyPopupResponse, IBizySearchPipeOptions, IBizyStackedBarChartLegends, ILocale, LabelPosition };
|
|
2783
|
+
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 };
|
|
2784
|
+
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 };
|