overgrid-vue 1.6.0 → 1.6.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/dist/index.d.ts CHANGED
@@ -110,6 +110,26 @@ export declare const OverGrid: {
110
110
  content?(_: {}): any;
111
111
  };
112
112
  }) | null;
113
+ baseOperations: CreateComponentPublicInstanceWithMixins<Readonly<{
114
+ config: OverGridConfig;
115
+ columnSelector: OverGridUseColumnSelectorInterface;
116
+ currentPageExporter: OverGridUseCurrentPageExportInterface;
117
+ aboutModal: OverGridUseAboutModalInterface;
118
+ closeDropdown?: () => void;
119
+ }> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLUListElement, ComponentProvideOptions, {
120
+ P: {};
121
+ B: {};
122
+ D: {};
123
+ C: {};
124
+ M: {};
125
+ Defaults: {};
126
+ }, Readonly<{
127
+ config: OverGridConfig;
128
+ columnSelector: OverGridUseColumnSelectorInterface;
129
+ currentPageExporter: OverGridUseCurrentPageExportInterface;
130
+ aboutModal: OverGridUseAboutModalInterface;
131
+ closeDropdown?: () => void;
132
+ }> & Readonly<{}>, {}, {}, {}, {}, {}> | null;
113
133
  }, HTMLDivElement, ComponentProvideOptions, {
114
134
  P: {};
115
135
  B: {};
@@ -491,7 +511,6 @@ export declare class OverGridField {
491
511
  config?: any;
492
512
  }): OverGridField;
493
513
  setSelectable(selectable: boolean): OverGridField;
494
- setOrerable(orderable: boolean): OverGridField;
495
514
  setOrderKey(orderKey: string): OverGridField;
496
515
  setExportable(exportable: boolean): OverGridField;
497
516
  setWidth(width: string): OverGridField;
@@ -506,7 +525,6 @@ export declare class OverGridField {
506
525
  declare class OverGridFields {
507
526
  mapping: Ref<OverGridField[]>;
508
527
  actionButtonFieldCounter: number;
509
- constructor();
510
528
  mappingVisible: () => OverGridField[];
511
529
  addField(key: string, title: string): OverGridField;
512
530
  addNumberField(key: string, title: string, extraConfig?: any): OverGridField;
@@ -563,11 +581,11 @@ export declare interface OverGridPaginationConfig {
563
581
  /**
564
582
  * The initial page number.
565
583
  */
566
- initialPage: number;
584
+ initialPage?: number;
567
585
  /**
568
586
  * The initial page size.
569
587
  */
570
- initialSize: number;
588
+ initialSize?: number;
571
589
  /**
572
590
  * If true, the pagination starts with page 0. If false, it starts with page 1.
573
591
  * This is useful for APIs that use 0-based pagination.
@@ -668,22 +686,25 @@ export declare interface OverGridUseAboutModalInterface {
668
686
  showModal: () => void;
669
687
  closeModal: () => void;
670
688
  isModalShown: Ref<boolean>;
689
+ isToolbarOptionEnabled: ComputedRef<boolean>;
671
690
  }
672
691
 
673
692
  export declare interface OverGridUseAutoRefreshInterface {
674
693
  changeAutoRefreshValue: (value: string) => void;
675
694
  autoRefresh: Ref<string>;
695
+ isToolbarOptionEnabled: ComputedRef<boolean>;
676
696
  }
677
697
 
678
698
  export declare interface OverGridUseBulkOperationsInterface {
679
699
  checkedRows: Ref<string[]>;
700
+ isToolbarOptionEnabled: ComputedRef<boolean>;
680
701
  }
681
702
 
682
703
  export declare interface OverGridUseColumnFiltersInterface {
683
704
  filters: Ref<OverGridColumnFilter[]>;
684
705
  isFieldActive: (field: OverGridField) => boolean;
685
706
  toggleColumnFilter: (field: OverGridField) => void;
686
- fieldUnderAdding: Ref<OverGridField | null>;
707
+ fieldUnderAdding: any;
687
708
  closeColumnFilterConfigModal: () => void;
688
709
  registerColumnFilter: (filter: OverGridColumnFilter) => void;
689
710
  initiateColumnFilter: (field: OverGridField) => void;
@@ -699,12 +720,14 @@ export declare interface OverGridUseColumnSelectorInterface {
699
720
  setColumns: (selectedColumns: string[]) => void;
700
721
  selectedFields: Ref<string[] | null>;
701
722
  filter(fields: OverGridField[]): OverGridField[];
723
+ isToolbarOptionEnabled: ComputedRef<boolean>;
702
724
  }
703
725
 
704
726
  export declare interface OverGridUseCurrentPageExportInterface {
705
727
  showModal: () => void;
706
728
  closeModal: () => void;
707
729
  isModalShown: Ref<boolean>;
730
+ isToolbarOptionEnabled: ComputedRef<boolean>;
708
731
  }
709
732
 
710
733
  export declare interface OverGridUseExtraRowInterface {
@@ -744,6 +767,7 @@ export declare interface OverGridUsePaginationInterface {
744
767
  currentPageForUI?: ComputedRef<number>;
745
768
  changePageSize: (newPageSize: number) => void;
746
769
  pageSize: ComputedRef<number>;
770
+ isToolbarOptionEnabled: ComputedRef<boolean>;
747
771
  }
748
772
 
749
773
  export declare interface OverGridUseRowHighlighterInterface {
@@ -753,6 +777,7 @@ export declare interface OverGridUseRowHighlighterInterface {
753
777
  export declare interface OverGridUseSearchInterface {
754
778
  query: Ref<string>;
755
779
  debounce: (func: Function) => void;
780
+ isToolbarOptionEnabled: ComputedRef<boolean>;
756
781
  }
757
782
 
758
783
  export { }