@selfeesas/shared-components 0.6.2 → 0.6.4

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.
@@ -807,6 +807,7 @@ export declare const DateRange: DefineComponent<ExtractPropTypes<__VLS_WithDefau
807
807
  disabled: boolean;
808
808
  idCy: string;
809
809
  hideActions: boolean;
810
+ allowSameDate: boolean;
810
811
  }>>, {
811
812
  resetDate: () => void;
812
813
  setDateRange: (dateRange: {
@@ -838,6 +839,7 @@ export declare const DateRange: DefineComponent<ExtractPropTypes<__VLS_WithDefau
838
839
  disabled: boolean;
839
840
  idCy: string;
840
841
  hideActions: boolean;
842
+ allowSameDate: boolean;
841
843
  }>>> & Readonly<{
842
844
  onClear?: (() => any) | undefined;
843
845
  "onUpdate:dateRange"?: ((value: {
@@ -855,6 +857,7 @@ export declare const DateRange: DefineComponent<ExtractPropTypes<__VLS_WithDefau
855
857
  datesDisabled: Array<string | DisabledDateObject>;
856
858
  requiredErrorMessage: string;
857
859
  closeLabel: string;
860
+ allowSameDate: boolean;
858
861
  labelStart: string;
859
862
  labelEnd: string;
860
863
  startDateHint: string;
@@ -876,6 +879,7 @@ export declare interface DateRangeLocale {
876
879
  }
877
880
 
878
881
  export declare interface DateRangeProps {
882
+ allowSameDate?: boolean;
879
883
  from?: string;
880
884
  to?: string;
881
885
  labelStart?: string;
@@ -905,6 +909,7 @@ export declare interface DateRangeType {
905
909
 
906
910
  export declare const dateRangeUtils: {
907
911
  validateAndUpdate(currentRange: DateRangeType, newValue: string, isStartDate: boolean): DateRangeType;
912
+ isEndDateValid(startDate: string, endDate: string, allowSameDate?: boolean): boolean;
908
913
  handlePickerUpdate(value: DateRangeType | string | null): DateRangeType;
909
914
  reset(): DateRangeType;
910
915
  handleInput(value: string | number | null, callback: (value: string) => void): void;