@bizy/core 21.8.0 → 21.8.2
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 +147 -107
- package/fesm2022/bizy-core.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/variables.css +10 -7
- package/types/bizy-core.d.ts +21 -12
package/package.json
CHANGED
package/styles/variables.css
CHANGED
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
--bizy-accordion-background-color: transparent;
|
|
27
27
|
--bizy-accordion-border: none;
|
|
28
|
+
--bizy-accordion-padding: 0.5rem;
|
|
28
29
|
--bizy-accordion-border-bottom: none;
|
|
29
30
|
--bizy-accordion-arrow-color: var(--bizy-default-color);
|
|
30
31
|
--bizy-accordion-padding-left: 0.5rem;
|
|
@@ -86,6 +87,7 @@
|
|
|
86
87
|
--bizy-button-padding: 0.5rem;
|
|
87
88
|
--bizy-button-justify-content: center;
|
|
88
89
|
--bizy-button-align-items: center;
|
|
90
|
+
--bizy-button-flex-direction: row;
|
|
89
91
|
|
|
90
92
|
|
|
91
93
|
--bizy-card-background-color: #fff;
|
|
@@ -125,7 +127,7 @@
|
|
|
125
127
|
--bizy-checkbox-color: var(--bizy-accent-color);
|
|
126
128
|
|
|
127
129
|
--bizy-content-padding: 0.5rem;
|
|
128
|
-
--bizy-content-
|
|
130
|
+
--bizy-content-gap: 0.7rem;
|
|
129
131
|
--bizy-content-width: auto;
|
|
130
132
|
--bizy-content-height: auto;
|
|
131
133
|
--bizy-content-flex-direction: column;
|
|
@@ -348,6 +350,7 @@
|
|
|
348
350
|
--bizy-sidebar-width: 8rem;
|
|
349
351
|
--bizy-sidebar-padding: 0 0 0 0.5rem;
|
|
350
352
|
--bizy-sidebar-section-min-height: 3rem;
|
|
353
|
+
--bizy-sidebar-option-padding: 1rem;
|
|
351
354
|
--bizy-sidebar-option-selected-color: var(--bizy-info-color);
|
|
352
355
|
--bizy-sidebar-option-hover-color: var(--bizy-dark-info-color);
|
|
353
356
|
--bizy-sidebar-floating-option-title-color: #000;
|
|
@@ -423,16 +426,16 @@
|
|
|
423
426
|
--bizy-tabs-arrow-button-background-color: #fff;
|
|
424
427
|
|
|
425
428
|
--bizy-tag-background-color: var(--bizy-light-default-color);
|
|
426
|
-
--bizy-tag-color:
|
|
429
|
+
--bizy-tag-color: #d4d4d4;
|
|
427
430
|
--bizy-tag-default-background-color: var(--bizy-light-default-color);
|
|
428
|
-
--bizy-tag-default-color:
|
|
429
|
-
--bizy-tag-success-background-color:
|
|
431
|
+
--bizy-tag-default-color: #d4d4d4;
|
|
432
|
+
--bizy-tag-success-background-color: #c7e0c8;
|
|
430
433
|
--bizy-tag-success-color: var(--bizy-dark-success-color);
|
|
431
|
-
--bizy-tag-info-background-color:
|
|
434
|
+
--bizy-tag-info-background-color: #c9d9e0;
|
|
432
435
|
--bizy-tag-info-color: var(--bizy-dark-info-color);
|
|
433
|
-
--bizy-tag-warning-background-color:
|
|
436
|
+
--bizy-tag-warning-background-color: #fbd9b5;
|
|
434
437
|
--bizy-tag-warning-color: var(--bizy-dark-warning-color);
|
|
435
|
-
--bizy-tag-danger-background-color:
|
|
438
|
+
--bizy-tag-danger-background-color: #f3c5c5;
|
|
436
439
|
--bizy-tag-danger-color: var(--bizy-dark-danger-color);
|
|
437
440
|
--bizy-tag-cursor: pointer;
|
|
438
441
|
--bizy-tag-height: auto;
|
package/types/bizy-core.d.ts
CHANGED
|
@@ -839,11 +839,11 @@ declare class BizyInputComponent implements OnDestroy {
|
|
|
839
839
|
bizyInputWrapper: ElementRef;
|
|
840
840
|
id: string;
|
|
841
841
|
name: string;
|
|
842
|
-
type: 'text' | 'number' | 'email' | 'password' | 'tel' | 'textarea' | 'currency';
|
|
843
842
|
customClass: string;
|
|
844
843
|
placeholder: string;
|
|
845
844
|
debounceTime: number;
|
|
846
845
|
rows: number;
|
|
846
|
+
type: 'text' | 'number' | 'email' | 'password' | 'tel' | 'textarea' | 'currency';
|
|
847
847
|
maxLength: number | null;
|
|
848
848
|
autofocus: boolean;
|
|
849
849
|
disabled: boolean;
|
|
@@ -853,10 +853,10 @@ declare class BizyInputComponent implements OnDestroy {
|
|
|
853
853
|
onEnter: EventEmitter<KeyboardEvent>;
|
|
854
854
|
onBackspace: EventEmitter<KeyboardEvent>;
|
|
855
855
|
onSelect: EventEmitter<PointerEvent>;
|
|
856
|
-
onBlur: EventEmitter<
|
|
857
|
-
onFocus: EventEmitter<
|
|
856
|
+
onBlur: EventEmitter<FocusEvent>;
|
|
857
|
+
onFocus: EventEmitter<FocusEvent>;
|
|
858
858
|
onPaste: EventEmitter<ClipboardEvent>;
|
|
859
|
-
set bizyInput(
|
|
859
|
+
set bizyInput(inputElement: ElementRef);
|
|
860
860
|
set value(value: string | number | null);
|
|
861
861
|
focused: boolean;
|
|
862
862
|
touched: boolean;
|
|
@@ -870,8 +870,7 @@ declare class BizyInputComponent implements OnDestroy {
|
|
|
870
870
|
_onClick: (event: PointerEvent) => void;
|
|
871
871
|
_onEnter: (event: KeyboardEvent) => void;
|
|
872
872
|
_onBackspace: (event: KeyboardEvent) => void;
|
|
873
|
-
setTouched(touched: boolean)
|
|
874
|
-
ngAfterViewInit(): void;
|
|
873
|
+
setTouched: (touched: boolean) => void;
|
|
875
874
|
onOpen: () => void;
|
|
876
875
|
getNativeElement: () => any;
|
|
877
876
|
setFocus: (focus: boolean) => void;
|
|
@@ -882,7 +881,7 @@ declare class BizyInputComponent implements OnDestroy {
|
|
|
882
881
|
}, button?: HTMLButtonElement) => void;
|
|
883
882
|
ngOnDestroy(): void;
|
|
884
883
|
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; }; "
|
|
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>;
|
|
886
885
|
}
|
|
887
886
|
|
|
888
887
|
declare class BizySelectOptionComponent {
|
|
@@ -1029,10 +1028,11 @@ declare class BizyGridComponent implements AfterContentInit {
|
|
|
1029
1028
|
items: Array<unknown>;
|
|
1030
1029
|
itemTemplate: TemplateRef<unknown>;
|
|
1031
1030
|
itemsPerRow: number;
|
|
1031
|
+
getNativeElement: () => any;
|
|
1032
1032
|
ngAfterContentInit(): void;
|
|
1033
|
+
trackByRow(index: number, row: any[]): any;
|
|
1033
1034
|
scrollTo(index: number, behavior?: 'auto' | 'instant' | 'smooth'): void;
|
|
1034
1035
|
ngOnDestroy(): void;
|
|
1035
|
-
getNativeElement: () => any;
|
|
1036
1036
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizyGridComponent, never>;
|
|
1037
1037
|
static ɵcmp: i0.ɵɵComponentDeclaration<BizyGridComponent, "bizy-grid", never, { "resizeRef": { "alias": "resizeRef"; "required": false; }; }, {}, ["gridDirective"], ["*"], true, never>;
|
|
1038
1038
|
}
|
|
@@ -1549,33 +1549,37 @@ declare class BizyRadioModule {
|
|
|
1549
1549
|
declare class BizySectionComponent {
|
|
1550
1550
|
#private;
|
|
1551
1551
|
id: string;
|
|
1552
|
+
onSelect: EventEmitter<PointerEvent>;
|
|
1552
1553
|
getNativeElement: () => any;
|
|
1553
1554
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizySectionComponent, never>;
|
|
1554
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BizySectionComponent, "bizy-section", never, { "id": { "alias": "id"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1555
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BizySectionComponent, "bizy-section", never, { "id": { "alias": "id"; "required": false; }; }, { "onSelect": "onSelect"; }, never, ["*"], true, never>;
|
|
1555
1556
|
}
|
|
1556
1557
|
|
|
1557
1558
|
declare class BizySectionStartComponent {
|
|
1558
1559
|
#private;
|
|
1559
1560
|
id: string;
|
|
1561
|
+
onSelect: EventEmitter<PointerEvent>;
|
|
1560
1562
|
getNativeElement: () => any;
|
|
1561
1563
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizySectionStartComponent, never>;
|
|
1562
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BizySectionStartComponent, "bizy-section-start", never, { "id": { "alias": "id"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1564
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BizySectionStartComponent, "bizy-section-start", never, { "id": { "alias": "id"; "required": false; }; }, { "onSelect": "onSelect"; }, never, ["*"], true, never>;
|
|
1563
1565
|
}
|
|
1564
1566
|
|
|
1565
1567
|
declare class BizySectionCenterComponent {
|
|
1566
1568
|
#private;
|
|
1567
1569
|
id: string;
|
|
1570
|
+
onSelect: EventEmitter<PointerEvent>;
|
|
1568
1571
|
getNativeElement: () => any;
|
|
1569
1572
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizySectionCenterComponent, never>;
|
|
1570
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BizySectionCenterComponent, "bizy-section-center", never, { "id": { "alias": "id"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1573
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BizySectionCenterComponent, "bizy-section-center", never, { "id": { "alias": "id"; "required": false; }; }, { "onSelect": "onSelect"; }, never, ["*"], true, never>;
|
|
1571
1574
|
}
|
|
1572
1575
|
|
|
1573
1576
|
declare class BizySectionEndComponent {
|
|
1574
1577
|
#private;
|
|
1575
1578
|
id: string;
|
|
1579
|
+
onSelect: EventEmitter<PointerEvent>;
|
|
1576
1580
|
getNativeElement: () => any;
|
|
1577
1581
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizySectionEndComponent, never>;
|
|
1578
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BizySectionEndComponent, "bizy-section-end", never, { "id": { "alias": "id"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1582
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BizySectionEndComponent, "bizy-section-end", never, { "id": { "alias": "id"; "required": false; }; }, { "onSelect": "onSelect"; }, never, ["*"], true, never>;
|
|
1579
1583
|
}
|
|
1580
1584
|
|
|
1581
1585
|
declare class BizySectionModule {
|
|
@@ -2213,8 +2217,13 @@ declare class BizyAnimationService {
|
|
|
2213
2217
|
static ɵprov: i0.ɵɵInjectableDeclaration<BizyAnimationService>;
|
|
2214
2218
|
}
|
|
2215
2219
|
|
|
2220
|
+
interface WindowSize {
|
|
2221
|
+
height: number;
|
|
2222
|
+
width: number;
|
|
2223
|
+
}
|
|
2216
2224
|
declare class BizyDeviceService {
|
|
2217
2225
|
#private;
|
|
2226
|
+
get windowSizeChange$(): Observable<WindowSize>;
|
|
2218
2227
|
getUserAgent(): Promise<string>;
|
|
2219
2228
|
isMobile: () => boolean;
|
|
2220
2229
|
isTablet: () => boolean;
|