@bizy/core 21.7.2 → 21.8.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 +130 -125
- package/fesm2022/bizy-core.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/variables.css +1 -0
- package/types/bizy-core.d.ts +20 -21
package/package.json
CHANGED
package/styles/variables.css
CHANGED
|
@@ -208,6 +208,7 @@
|
|
|
208
208
|
--bizy-input-option-selected-color: #fff;
|
|
209
209
|
--bizy-input-option-selected-background-color: var(--bizy-info-color);
|
|
210
210
|
--bizy-input-font-size: 1rem;
|
|
211
|
+
--bizy-input-placeholder-color: #999;
|
|
211
212
|
|
|
212
213
|
--bizy-list-height: fit-content;
|
|
213
214
|
--bizy-list-width: 100%;
|
package/types/bizy-core.d.ts
CHANGED
|
@@ -837,25 +837,26 @@ declare class BizyInputComponent implements OnDestroy {
|
|
|
837
837
|
#private;
|
|
838
838
|
options: QueryList<BizyInputOptionComponent>;
|
|
839
839
|
bizyInputWrapper: ElementRef;
|
|
840
|
-
bizyInput: ElementRef;
|
|
841
840
|
id: string;
|
|
842
841
|
name: string;
|
|
843
|
-
type: 'text' | 'number' | 'email' | 'password' | 'tel' | 'textarea' | 'currency';
|
|
844
842
|
customClass: string;
|
|
845
843
|
placeholder: string;
|
|
846
844
|
debounceTime: number;
|
|
847
845
|
rows: number;
|
|
846
|
+
type: 'text' | 'number' | 'email' | 'password' | 'tel' | 'textarea' | 'currency';
|
|
848
847
|
maxLength: number | null;
|
|
848
|
+
autofocus: boolean;
|
|
849
849
|
disabled: boolean;
|
|
850
850
|
readonly: boolean;
|
|
851
851
|
valueChange: EventEmitter<string | number>;
|
|
852
852
|
onChange: EventEmitter<string | number>;
|
|
853
|
-
onEnter: EventEmitter<
|
|
854
|
-
onBackspace: EventEmitter<
|
|
853
|
+
onEnter: EventEmitter<KeyboardEvent>;
|
|
854
|
+
onBackspace: EventEmitter<KeyboardEvent>;
|
|
855
855
|
onSelect: EventEmitter<PointerEvent>;
|
|
856
|
-
onBlur: EventEmitter<
|
|
857
|
-
onFocus: EventEmitter<
|
|
858
|
-
|
|
856
|
+
onBlur: EventEmitter<FocusEvent>;
|
|
857
|
+
onFocus: EventEmitter<FocusEvent>;
|
|
858
|
+
onPaste: EventEmitter<ClipboardEvent>;
|
|
859
|
+
set bizyInput(inputElement: ElementRef);
|
|
859
860
|
set value(value: string | number | null);
|
|
860
861
|
focused: boolean;
|
|
861
862
|
touched: boolean;
|
|
@@ -864,26 +865,23 @@ declare class BizyInputComponent implements OnDestroy {
|
|
|
864
865
|
_currencyValue: number | null;
|
|
865
866
|
currencyOptions: string;
|
|
866
867
|
onChange$: Subject<string | number>;
|
|
867
|
-
getWidth()
|
|
868
|
-
_onchange(value: string)
|
|
869
|
-
_onClick(event: PointerEvent)
|
|
870
|
-
_onEnter(event:
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
onOpen(): void;
|
|
877
|
-
setFocus(focus: boolean): void;
|
|
868
|
+
getWidth: () => number;
|
|
869
|
+
_onchange: (value: string) => void;
|
|
870
|
+
_onClick: (event: PointerEvent) => void;
|
|
871
|
+
_onEnter: (event: KeyboardEvent) => void;
|
|
872
|
+
_onBackspace: (event: KeyboardEvent) => void;
|
|
873
|
+
setTouched: (touched: boolean) => void;
|
|
874
|
+
onOpen: () => void;
|
|
875
|
+
getNativeElement: () => any;
|
|
876
|
+
setFocus: (focus: boolean) => void;
|
|
878
877
|
close: (event?: PointerEvent & {
|
|
879
878
|
target: {
|
|
880
879
|
id: string;
|
|
881
880
|
};
|
|
882
881
|
}, button?: HTMLButtonElement) => void;
|
|
883
882
|
ngOnDestroy(): void;
|
|
884
|
-
getNativeElement: () => any;
|
|
885
883
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizyInputComponent, never>;
|
|
886
|
-
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>;
|
|
887
885
|
}
|
|
888
886
|
|
|
889
887
|
declare class BizySelectOptionComponent {
|
|
@@ -1030,10 +1028,11 @@ declare class BizyGridComponent implements AfterContentInit {
|
|
|
1030
1028
|
items: Array<unknown>;
|
|
1031
1029
|
itemTemplate: TemplateRef<unknown>;
|
|
1032
1030
|
itemsPerRow: number;
|
|
1031
|
+
getNativeElement: () => any;
|
|
1033
1032
|
ngAfterContentInit(): void;
|
|
1033
|
+
trackByRow(index: number, row: any[]): any;
|
|
1034
1034
|
scrollTo(index: number, behavior?: 'auto' | 'instant' | 'smooth'): void;
|
|
1035
1035
|
ngOnDestroy(): void;
|
|
1036
|
-
getNativeElement: () => any;
|
|
1037
1036
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizyGridComponent, never>;
|
|
1038
1037
|
static ɵcmp: i0.ɵɵComponentDeclaration<BizyGridComponent, "bizy-grid", never, { "resizeRef": { "alias": "resizeRef"; "required": false; }; }, {}, ["gridDirective"], ["*"], true, never>;
|
|
1039
1038
|
}
|