@wra-gov/vue-components 0.26.5 → 0.26.7

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
@@ -83,7 +83,7 @@ hiddenPrint: boolean;
83
83
 
84
84
  export declare const WraAutocomplete: DefineComponent<ExtractPropTypes< {
85
85
  modelValue: {
86
- type: () => AutocompleteOption;
86
+ type: PropType<AutocompleteOption>;
87
87
  };
88
88
  /** Label for autocomplete */
89
89
  label: {
@@ -95,7 +95,7 @@ type: () => string;
95
95
  };
96
96
  /** Options for autocomplete list */
97
97
  options: {
98
- type: () => AutocompleteOption[];
98
+ type: PropType<AutocompleteOption[]>;
99
99
  required: true;
100
100
  };
101
101
  /** Change the default object name for the data */
@@ -151,9 +151,9 @@ onOptionBlur(index: number): void;
151
151
  onUpKey(): void;
152
152
  /** Handle down arrow key navigation */
153
153
  onDownKey(): void;
154
- }, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
154
+ }, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "validOption")[], "update:modelValue" | "validOption", PublicProps, Readonly<ExtractPropTypes< {
155
155
  modelValue: {
156
- type: () => AutocompleteOption;
156
+ type: PropType<AutocompleteOption>;
157
157
  };
158
158
  /** Label for autocomplete */
159
159
  label: {
@@ -165,7 +165,7 @@ type: () => string;
165
165
  };
166
166
  /** Options for autocomplete list */
167
167
  options: {
168
- type: () => AutocompleteOption[];
168
+ type: PropType<AutocompleteOption[]>;
169
169
  required: true;
170
170
  };
171
171
  /** Change the default object name for the data */
@@ -199,6 +199,7 @@ default: boolean;
199
199
  };
200
200
  }>> & Readonly<{
201
201
  "onUpdate:modelValue"?: (...args: any[]) => any;
202
+ onValidOption?: (...args: any[]) => any;
202
203
  }>, {
203
204
  optionValue: string;
204
205
  optionLabel: string;