@6thbridge/hexa 0.0.0-pr78-146 → 0.0.0-pr80-148

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/dist/index.d.mts CHANGED
@@ -153,6 +153,10 @@ type CountryPropsStatus = VariantProps<typeof inputContainerVariants>["status"];
153
153
  type CountrySelectOption$1 = {
154
154
  label: string;
155
155
  value: string;
156
+ currencyCode?: string;
157
+ countryCode?: string;
158
+ internetCountryCode?: string;
159
+ countryName?: string;
156
160
  };
157
161
  interface CountryProps {
158
162
  modal?: boolean;
@@ -548,6 +552,7 @@ type TableProps<T extends RowData> = {
548
552
  FilterMenu?: ReactNode;
549
553
  setAppliedFilters?: (values: Record<string, any>) => void;
550
554
  filterListOptions?: FilterListItem[];
555
+ filterValues?: Record<string, any>;
551
556
  buttonClassName?: string;
552
557
  download?: TableDownloadProps;
553
558
  id?: string;
@@ -567,7 +572,7 @@ type TableProps<T extends RowData> = {
567
572
  };
568
573
  emptyDataMessage?: ReactNode;
569
574
  };
570
- declare const Table: <T extends RowData>({ table, isMobile, onRowClick, id, onRefetch, isRefetching, FilterMenu, ExtraNode, onExport, search, download, isLoading, pagination, filterListOptions, setAppliedFilters, onFilterChange, tableBulkActions, emptyDataMessage, }: TableProps<T>) => React$1.JSX.Element;
575
+ declare const Table: <T extends RowData>({ table, isMobile, onRowClick, id, onRefetch, isRefetching, FilterMenu, ExtraNode, onExport, search, download, isLoading, pagination, filterListOptions, filterValues, setAppliedFilters, onFilterChange, tableBulkActions, emptyDataMessage, }: TableProps<T>) => React$1.JSX.Element;
571
576
 
572
577
  type PageDataToolbarProps = {
573
578
  onRefetch?: () => void;
@@ -579,10 +584,11 @@ type PageDataToolbarProps = {
579
584
  isRefetching?: boolean;
580
585
  setAppliedFilters?: (values: Record<string, any>) => void;
581
586
  onFilterChange?: (values: Record<string, any>) => void;
587
+ filterValues?: Record<string, any>;
582
588
  filterListOptions?: FilterListItem[];
583
589
  id?: string;
584
590
  };
585
- declare const PageDataToolbar: ({ onRefetch, search, FilterMenu, ExtraNode, onExport, download, isRefetching, filterListOptions, setAppliedFilters, onFilterChange, id, }: PageDataToolbarProps) => React$1.JSX.Element;
591
+ declare const PageDataToolbar: ({ onRefetch, search, FilterMenu, ExtraNode, onExport, download, isRefetching, filterListOptions, filterValues, setAppliedFilters, onFilterChange, id, }: PageDataToolbarProps) => React$1.JSX.Element;
586
592
 
587
593
  declare const PermissionsContext: React$1.Context<ResourcePermissions | undefined>;
588
594
  declare const PermissionsProvider: ({ permissions, children, }: {
@@ -633,7 +639,7 @@ type FilterPopoverProps = FilterContentProps & {
633
639
  id?: string;
634
640
  onChange?: (values: Record<string, any>) => void;
635
641
  };
636
- declare const FilterPopover: ({ filters, setAppliedFilters, isOpen, onChange, id, }: FilterPopoverProps) => React$1.JSX.Element | null;
642
+ declare const FilterPopover: ({ filters, setAppliedFilters, isOpen, onChange, values, id, }: FilterPopoverProps) => React$1.JSX.Element | null;
637
643
 
638
644
  interface FilterSliceType {
639
645
  filters: Record<string, any> | null;
package/dist/index.d.ts CHANGED
@@ -153,6 +153,10 @@ type CountryPropsStatus = VariantProps<typeof inputContainerVariants>["status"];
153
153
  type CountrySelectOption$1 = {
154
154
  label: string;
155
155
  value: string;
156
+ currencyCode?: string;
157
+ countryCode?: string;
158
+ internetCountryCode?: string;
159
+ countryName?: string;
156
160
  };
157
161
  interface CountryProps {
158
162
  modal?: boolean;
@@ -548,6 +552,7 @@ type TableProps<T extends RowData> = {
548
552
  FilterMenu?: ReactNode;
549
553
  setAppliedFilters?: (values: Record<string, any>) => void;
550
554
  filterListOptions?: FilterListItem[];
555
+ filterValues?: Record<string, any>;
551
556
  buttonClassName?: string;
552
557
  download?: TableDownloadProps;
553
558
  id?: string;
@@ -567,7 +572,7 @@ type TableProps<T extends RowData> = {
567
572
  };
568
573
  emptyDataMessage?: ReactNode;
569
574
  };
570
- declare const Table: <T extends RowData>({ table, isMobile, onRowClick, id, onRefetch, isRefetching, FilterMenu, ExtraNode, onExport, search, download, isLoading, pagination, filterListOptions, setAppliedFilters, onFilterChange, tableBulkActions, emptyDataMessage, }: TableProps<T>) => React$1.JSX.Element;
575
+ declare const Table: <T extends RowData>({ table, isMobile, onRowClick, id, onRefetch, isRefetching, FilterMenu, ExtraNode, onExport, search, download, isLoading, pagination, filterListOptions, filterValues, setAppliedFilters, onFilterChange, tableBulkActions, emptyDataMessage, }: TableProps<T>) => React$1.JSX.Element;
571
576
 
572
577
  type PageDataToolbarProps = {
573
578
  onRefetch?: () => void;
@@ -579,10 +584,11 @@ type PageDataToolbarProps = {
579
584
  isRefetching?: boolean;
580
585
  setAppliedFilters?: (values: Record<string, any>) => void;
581
586
  onFilterChange?: (values: Record<string, any>) => void;
587
+ filterValues?: Record<string, any>;
582
588
  filterListOptions?: FilterListItem[];
583
589
  id?: string;
584
590
  };
585
- declare const PageDataToolbar: ({ onRefetch, search, FilterMenu, ExtraNode, onExport, download, isRefetching, filterListOptions, setAppliedFilters, onFilterChange, id, }: PageDataToolbarProps) => React$1.JSX.Element;
591
+ declare const PageDataToolbar: ({ onRefetch, search, FilterMenu, ExtraNode, onExport, download, isRefetching, filterListOptions, filterValues, setAppliedFilters, onFilterChange, id, }: PageDataToolbarProps) => React$1.JSX.Element;
586
592
 
587
593
  declare const PermissionsContext: React$1.Context<ResourcePermissions | undefined>;
588
594
  declare const PermissionsProvider: ({ permissions, children, }: {
@@ -633,7 +639,7 @@ type FilterPopoverProps = FilterContentProps & {
633
639
  id?: string;
634
640
  onChange?: (values: Record<string, any>) => void;
635
641
  };
636
- declare const FilterPopover: ({ filters, setAppliedFilters, isOpen, onChange, id, }: FilterPopoverProps) => React$1.JSX.Element | null;
642
+ declare const FilterPopover: ({ filters, setAppliedFilters, isOpen, onChange, values, id, }: FilterPopoverProps) => React$1.JSX.Element | null;
637
643
 
638
644
  interface FilterSliceType {
639
645
  filters: Record<string, any> | null;