@flyto/farco 1.1.8 → 1.1.10

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,21 +1,27 @@
1
1
  import { PropType } from 'vue';
2
- import { FSelectOptionKeyNames, FSelectOptions, FSelectProps } from './fselect';
2
+ import { FSelectOptionKeyNames, FSelectOptions } from './fselect';
3
3
 
4
- declare function OptionsComponent(props: Required<Pick<FSelectProps, 'optionKeyNames'>> & {
5
- options: FSelectOptions;
6
- }): any[];
7
- declare namespace OptionsComponent {
8
- var props: {
9
- options: {
10
- required: boolean;
11
- type: PropType<FSelectOptions>;
12
- default: null;
13
- };
14
- optionKeyNames: {
15
- required: boolean;
16
- type: PropType<FSelectOptionKeyNames>;
17
- default: null;
18
- };
4
+ declare const OptionsComponent: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ options: {
6
+ required: true;
7
+ type: PropType<FSelectOptions>;
8
+ default: () => never[];
9
+ };
10
+ optionKeyNames: {
11
+ required: true;
12
+ type: PropType<FSelectOptionKeyNames>;
13
+ };
14
+ }>, () => any[], {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
15
+ options: {
16
+ required: true;
17
+ type: PropType<FSelectOptions>;
18
+ default: () => never[];
19
19
  };
20
- }
20
+ optionKeyNames: {
21
+ required: true;
22
+ type: PropType<FSelectOptionKeyNames>;
23
+ };
24
+ }>> & Readonly<{}>, {
25
+ options: FSelectOptions;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
21
27
  export default OptionsComponent;
@@ -170,6 +170,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
170
170
  prepend?(_: {
171
171
  data: Record<string, any>;
172
172
  }): any;
173
+ option?(_: {
174
+ data: any;
175
+ }): any;
173
176
  append?(_: {
174
177
  data: Record<string, any>;
175
178
  }): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyto/farco",
3
- "version": "1.1.8",
3
+ "version": "1.1.10",
4
4
  "main": "dist/index.umd.js",
5
5
  "module": "dist/index.es.js",
6
6
  "types": "dist/types/index.d.ts",