sapenlinea-components 0.0.31 → 0.0.32
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/index.d.ts
CHANGED
|
@@ -306,6 +306,7 @@ declare class InputNumberFilter implements ControlValueAccessor, OnDestroy {
|
|
|
306
306
|
setDisabledState(isDisabled: boolean): void;
|
|
307
307
|
onInputChange(event: Event, filterValue: string): void;
|
|
308
308
|
private markAsTouched;
|
|
309
|
+
clearFilter(filterValue: string): void;
|
|
309
310
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InputNumberFilter, never>;
|
|
310
311
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InputNumberFilter, "lib-input-number-filter", never, { "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "clearTrigger": { "alias": "clearTrigger"; "required": false; "isSignal": true; }; }, { "filterSelected": "filterSelected"; "valueChange": "valueChange"; }, never, never, true, never>;
|
|
311
312
|
}
|
|
@@ -497,6 +498,7 @@ declare class DynamicFormFields implements OnInit, OnDestroy {
|
|
|
497
498
|
onCheckboxChange(event: Event, fieldKey: string, optionIndex: number): void;
|
|
498
499
|
ngOnDestroy(): void;
|
|
499
500
|
onCancel(): void;
|
|
501
|
+
onUppercaseInput(event: Event, fieldType: string, key: string): void;
|
|
500
502
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DynamicFormFields, never>;
|
|
501
503
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DynamicFormFields, "lib-dynamic-form-fields", never, { "form": { "alias": "form"; "required": true; "isSignal": true; }; "sections": { "alias": "sections"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
502
504
|
}
|
|
@@ -708,7 +710,7 @@ interface SideCardItem {
|
|
|
708
710
|
value: string | number;
|
|
709
711
|
}
|
|
710
712
|
interface SideCardSection {
|
|
711
|
-
title
|
|
713
|
+
title?: string;
|
|
712
714
|
items?: SideCardItem[];
|
|
713
715
|
showSlider?: boolean;
|
|
714
716
|
sliderLabel?: string;
|
|
@@ -739,25 +741,83 @@ declare class SideCard implements OnChanges {
|
|
|
739
741
|
sliderChange: EventEmitter<number>;
|
|
740
742
|
showBtnPrimary: boolean;
|
|
741
743
|
primaryButtonLabel: string;
|
|
742
|
-
primaryButtonClick: EventEmitter<void>;
|
|
743
744
|
showBtnSecondary: boolean;
|
|
744
745
|
secondaryButtonLabel: string;
|
|
745
|
-
|
|
746
|
+
buttonClick: EventEmitter<"primary" | "secondary">;
|
|
746
747
|
get statusLabel(): string;
|
|
747
748
|
get statusClass(): string;
|
|
749
|
+
get sliderPercentage(): string;
|
|
748
750
|
ngOnChanges(): void;
|
|
749
751
|
selectType(type: 'radial' | 'poligonal'): void;
|
|
750
752
|
onInput(event: Event): void;
|
|
751
753
|
focusInput(input: HTMLInputElement): void;
|
|
752
754
|
onSliderChange(event: Event): void;
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
onSecondaryClick(): void;
|
|
755
|
+
onButtonSectionClick(section: SideCardSection): void;
|
|
756
|
+
onButtonClick(type: 'primary' | 'secondary'): void;
|
|
756
757
|
changeStatusLabel(): void;
|
|
757
758
|
buttonClickIcon(): void;
|
|
758
759
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SideCard, never>;
|
|
759
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SideCard, "lib-side-card", never, { "isFloating": { "alias": "isFloating"; "required": false; }; "isCompact": { "alias": "isCompact"; "required": false; }; "modeSideCard": { "alias": "modeSideCard"; "required": false; }; "showTypeSelector": { "alias": "showTypeSelector"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "statusValue": { "alias": "statusValue"; "required": false; }; "sections": { "alias": "sections"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "showBtnPrimary": { "alias": "showBtnPrimary"; "required": false; }; "primaryButtonLabel": { "alias": "primaryButtonLabel"; "required": false; }; "showBtnSecondary": { "alias": "showBtnSecondary"; "required": false; }; "secondaryButtonLabel": { "alias": "secondaryButtonLabel"; "required": false; }; }, { "btnClickIcon": "btnClickIcon"; "valueChange": "valueChange"; "typeChange": "typeChange"; "statusChange": "statusChange"; "sectionButtonClick": "sectionButtonClick"; "sliderChange": "sliderChange"; "
|
|
760
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SideCard, "lib-side-card", never, { "isFloating": { "alias": "isFloating"; "required": false; }; "isCompact": { "alias": "isCompact"; "required": false; }; "modeSideCard": { "alias": "modeSideCard"; "required": false; }; "showTypeSelector": { "alias": "showTypeSelector"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "statusValue": { "alias": "statusValue"; "required": false; }; "sections": { "alias": "sections"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "showBtnPrimary": { "alias": "showBtnPrimary"; "required": false; }; "primaryButtonLabel": { "alias": "primaryButtonLabel"; "required": false; }; "showBtnSecondary": { "alias": "showBtnSecondary"; "required": false; }; "secondaryButtonLabel": { "alias": "secondaryButtonLabel"; "required": false; }; }, { "btnClickIcon": "btnClickIcon"; "valueChange": "valueChange"; "typeChange": "typeChange"; "statusChange": "statusChange"; "sectionButtonClick": "sectionButtonClick"; "sliderChange": "sliderChange"; "buttonClick": "buttonClick"; }, never, never, true, never>;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
declare class SideCardDetail {
|
|
764
|
+
isFloating: boolean;
|
|
765
|
+
isCompact: boolean;
|
|
766
|
+
nowLabel: string;
|
|
767
|
+
agoLabel: string;
|
|
768
|
+
title: string;
|
|
769
|
+
subtitle: string;
|
|
770
|
+
btnClickIcon: EventEmitter<"back" | "location" | "message">;
|
|
771
|
+
statusValue: 1 | 2;
|
|
772
|
+
statusChange: EventEmitter<1 | 2>;
|
|
773
|
+
sections: SideCardSection[];
|
|
774
|
+
activeTab: 'principal' | 'historial';
|
|
775
|
+
tabChange: EventEmitter<"principal" | "historial">;
|
|
776
|
+
get statusLabel(): string;
|
|
777
|
+
get statusClass(): string;
|
|
778
|
+
buttonClickIcon(type: 'back' | 'location' | 'message'): void;
|
|
779
|
+
setTab(tab: 'principal' | 'historial'): void;
|
|
780
|
+
getIndicatorLeft(): string;
|
|
781
|
+
isDateValue(value: any): boolean;
|
|
782
|
+
getRelativeTime(date: string | Date | number): string;
|
|
783
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SideCardDetail, never>;
|
|
784
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SideCardDetail, "lib-side-card-detail", never, { "isFloating": { "alias": "isFloating"; "required": false; }; "isCompact": { "alias": "isCompact"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "statusValue": { "alias": "statusValue"; "required": false; }; "sections": { "alias": "sections"; "required": false; }; }, { "btnClickIcon": "btnClickIcon"; "statusChange": "statusChange"; "tabChange": "tabChange"; }, never, never, true, never>;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
interface DeviceStatus {
|
|
788
|
+
geofence: 'inside' | 'outside';
|
|
789
|
+
wifi?: boolean;
|
|
790
|
+
bluetooth?: boolean;
|
|
791
|
+
gps?: boolean;
|
|
792
|
+
signalStatus?: 1 | 2 | 3 | 4;
|
|
793
|
+
batteryPercentage?: string;
|
|
794
|
+
}
|
|
795
|
+
interface DeviceCard {
|
|
796
|
+
code: string;
|
|
797
|
+
name: string;
|
|
798
|
+
geofenceName: string;
|
|
799
|
+
deviceInfo: string;
|
|
800
|
+
status: DeviceStatus;
|
|
801
|
+
lastUpdate: string | Date | number;
|
|
802
|
+
}
|
|
803
|
+
declare class DevicesCarousel implements AfterViewInit {
|
|
804
|
+
devices: DeviceCard[];
|
|
805
|
+
nowLabel: string;
|
|
806
|
+
agoLabel: string;
|
|
807
|
+
canScrollLeft: boolean;
|
|
808
|
+
canScrollRight: boolean;
|
|
809
|
+
listRef: ElementRef<HTMLElement>;
|
|
810
|
+
onResize(): void;
|
|
811
|
+
onScroll(el: HTMLElement): void;
|
|
812
|
+
updateScrollButtons(el?: HTMLElement): void;
|
|
813
|
+
ngAfterViewInit(): void;
|
|
814
|
+
scroll(el: HTMLElement, dir: 'left' | 'right'): void;
|
|
815
|
+
getGeofenceClass(state: string): "badge-inside" | "badge-outside";
|
|
816
|
+
getSignalClass(level: 1 | 2 | 3 | 4): string;
|
|
817
|
+
getRelativeTime(date: string | Date | number): string;
|
|
818
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DevicesCarousel, never>;
|
|
819
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DevicesCarousel, "lib-devices-carousel", never, { "devices": { "alias": "devices"; "required": false; }; }, {}, never, never, true, never>;
|
|
760
820
|
}
|
|
761
821
|
|
|
762
|
-
export { DateTimeFilter, DateTimePicker, DialogAlertComponent, DialogConfirmation, DynamicFormFields, FeatureCard, InfoGroup, Input, InputNumberFilter, InputSelectFilter, InputTextFilter, Loader, ModalForm, NotFoundModal, PaginationComponent, ProcessingOverlay, ProgressBar, ProgressFormService, STATUS_TONE_STYLES, SelectCustomSearch, SideCard, TOAST_EVENTS, Table, ToastHelper, WizardForm };
|
|
763
|
-
export type { DateFilterSelection, DateTimeMode, DialogItem, Feature, FieldConfig, FilterItem, FilterOption, FilterType, Hour12, InfoItem, ModalFormStep, Option, SectionConfig, SelectedDatesMap, SideCardItem, SideCardSection, StatusTone, StatusToneMap, TableAction, TableColumn, TableRow, ToastData };
|
|
822
|
+
export { DateTimeFilter, DateTimePicker, DevicesCarousel, DialogAlertComponent, DialogConfirmation, DynamicFormFields, FeatureCard, InfoGroup, Input, InputNumberFilter, InputSelectFilter, InputTextFilter, Loader, ModalForm, NotFoundModal, PaginationComponent, ProcessingOverlay, ProgressBar, ProgressFormService, STATUS_TONE_STYLES, SelectCustomSearch, SideCard, SideCardDetail, TOAST_EVENTS, Table, ToastHelper, WizardForm };
|
|
823
|
+
export type { DateFilterSelection, DateTimeMode, DeviceCard, DeviceStatus, DialogItem, Feature, FieldConfig, FilterItem, FilterOption, FilterType, Hour12, InfoItem, ModalFormStep, Option, SectionConfig, SelectedDatesMap, SideCardItem, SideCardSection, StatusTone, StatusToneMap, TableAction, TableColumn, TableRow, ToastData };
|