@acuteinfo/common-base 1.2.68 → 1.2.69

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.
@@ -1,5 +1,7 @@
1
1
  export declare const useOptionsFetcher: (formState: any, options: any, setOptions: any, handleChangeInterceptor: any, dependentValues: any, incomingMessage: any, runValidation: any, whenToRunValidation: any, optionsKey: any, disableCaching: any, setIncomingMessage: any, skipDefaultOption: any, defaultOptionLabel: any, enableDefaultOption: any, setGridProps?: Function | undefined) => {
2
2
  loadingOptions: boolean;
3
+ queryError?: boolean | undefined;
4
+ refetchOptions?: Function | undefined;
3
5
  };
4
6
  /****** ---- */
5
7
  export declare const useOptionsFetcherSimple: (options: any, setOptions: any, _optionsKey: any, disableCaching: any, optionsProps: any, skipDefaultOption: any, defaultOptionLabel: any, enableDefaultOption: any) => {
@@ -118,6 +118,11 @@ export interface CustomProperties {
118
118
  * @default false
119
119
  */
120
120
  enableEnterToFocus?: boolean;
121
+ /**
122
+ * Refetches options of autocomplete when online
123
+ * @default true
124
+ */
125
+ refetchOptionsWhenOnline?: boolean;
121
126
  }
122
127
  interface ContextProps {
123
128
  config?: CustomProperties;