pangea-lib 4.0.518 → 4.0.520

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,42 +1,31 @@
1
1
  import { Item } from '../types';
2
2
 
3
- declare const _default: <T extends Item>(__VLS_props: {
4
- modelValue: T[];
5
- item?: T;
6
- items: T[];
7
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
8
- slots: {};
9
- attrs: any;
10
- emit: any;
11
- }, __VLS_expose?: (exposed: import('vue').ShallowUnwrapRef<{
12
- toggleItemSelected: () => void;
13
- }>) => void, __VLS_setup?: Promise<{
14
- props: {
15
- modelValue: T[];
16
- item?: T;
17
- items: T[];
18
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
19
- expose(exposed: import('vue').ShallowUnwrapRef<{
20
- toggleItemSelected: () => void;
21
- }>): void;
22
- attrs: any;
23
- slots: {};
24
- emit: any;
25
- }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
26
- [key: string]: any;
27
- }> & {
28
- __ctx?: {
29
- props: {
30
- modelValue: T[];
31
- item?: T;
32
- items: T[];
33
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
34
- expose(exposed: import('vue').ShallowUnwrapRef<{
35
- toggleItemSelected: () => void;
36
- }>): void;
37
- attrs: any;
38
- slots: {};
39
- emit: any;
3
+ declare function toggleItemSelected(): void;
4
+ declare const _default: import('vue').DefineComponent<{
5
+ modelValue: {
6
+ required: true;
7
+ type: import('vue').PropType<Item[]>;
40
8
  };
41
- };
9
+ items: {
10
+ type: import('vue').PropType<Item[]>;
11
+ required: true;
12
+ };
13
+ item: {
14
+ type: import('vue').PropType<Item>;
15
+ };
16
+ }, {
17
+ toggleItemSelected: typeof toggleItemSelected;
18
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
19
+ modelValue: {
20
+ required: true;
21
+ type: import('vue').PropType<Item[]>;
22
+ };
23
+ items: {
24
+ type: import('vue').PropType<Item[]>;
25
+ required: true;
26
+ };
27
+ item: {
28
+ type: import('vue').PropType<Item>;
29
+ };
30
+ }>>, {}, {}>;
42
31
  export default _default;
@@ -1,96 +1,137 @@
1
- import { Item, StrOrFn } from '../../../types';
1
+ import { Id, Item, StrOrFn } from '../../../types';
2
2
 
3
- declare const _default: <T extends Item>(__VLS_props: {
4
- info?: StrOrFn;
5
- id?: string;
6
- options: (string | number | T)[];
7
- description?: StrOrFn;
8
- label?: StrOrFn;
9
- emptyOptionsText?: StrOrFn;
10
- noResultsText?: StrOrFn;
11
- onChange?: (newValue: string | number) => any;
12
- fitContent?: boolean;
13
- disabled?: boolean;
14
- modelValue: string | number;
15
- notClearable?: boolean;
16
- errors?: import('../../../types').InputError[];
17
- withRequiredLabel?: boolean;
18
- withOptionalLabel?: boolean;
19
- withLabelSpace?: boolean;
20
- grow?: number;
21
- placeholder?: StrOrFn;
22
- descriptionField?: string;
23
- clearValue?: string | number;
24
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
25
- slots: {};
26
- attrs: any;
27
- emit: (evt: "change", newValue: string | number) => void;
28
- }, __VLS_expose?: (exposed: import('vue').ShallowUnwrapRef<{
29
- focus: () => void;
30
- }>) => void, __VLS_setup?: Promise<{
31
- props: {
32
- info?: StrOrFn;
33
- id?: string;
34
- options: (string | number | T)[];
35
- description?: StrOrFn;
36
- label?: StrOrFn;
37
- emptyOptionsText?: StrOrFn;
38
- noResultsText?: StrOrFn;
39
- onChange?: (newValue: string | number) => any;
40
- fitContent?: boolean;
41
- disabled?: boolean;
42
- modelValue: string | number;
43
- notClearable?: boolean;
44
- errors?: import('../../../types').InputError[];
45
- withRequiredLabel?: boolean;
46
- withOptionalLabel?: boolean;
47
- withLabelSpace?: boolean;
48
- grow?: number;
49
- placeholder?: StrOrFn;
50
- descriptionField?: string;
51
- clearValue?: string | number;
52
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
53
- expose(exposed: import('vue').ShallowUnwrapRef<{
54
- focus: () => void;
55
- }>): void;
56
- attrs: any;
57
- slots: {};
58
- emit: (evt: "change", newValue: string | number) => void;
59
- }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
60
- [key: string]: any;
61
- }> & {
62
- __ctx?: {
63
- props: {
64
- info?: StrOrFn;
65
- id?: string;
66
- options: (string | number | T)[];
67
- description?: StrOrFn;
68
- label?: StrOrFn;
69
- emptyOptionsText?: StrOrFn;
70
- noResultsText?: StrOrFn;
71
- onChange?: (newValue: string | number) => any;
72
- fitContent?: boolean;
73
- disabled?: boolean;
74
- modelValue: string | number;
75
- notClearable?: boolean;
76
- errors?: import('../../../types').InputError[];
77
- withRequiredLabel?: boolean;
78
- withOptionalLabel?: boolean;
79
- withLabelSpace?: boolean;
80
- grow?: number;
81
- placeholder?: StrOrFn;
82
- descriptionField?: string;
83
- clearValue?: string | number;
84
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
85
- expose(exposed: import('vue').ShallowUnwrapRef<{
86
- focus: () => void;
87
- }>): void;
88
- attrs: any;
89
- slots: {};
90
- emit: (evt: "change", newValue: string | number) => void;
91
- };
92
- };
3
+ type OptionId = string | number | Id | null;
4
+ type Option = string | number | Item;
5
+ declare function focus(): void;
6
+ declare const _default: import('vue').DefineComponent<{
7
+ modelValue: {
8
+ required: true;
9
+ type: import('vue').PropType<OptionId>;
10
+ };
11
+ info: {
12
+ type: import('vue').PropType<StrOrFn>;
13
+ };
14
+ id: {
15
+ type: import('vue').PropType<string>;
16
+ };
17
+ options: {
18
+ type: import('vue').PropType<Option[]>;
19
+ required: true;
20
+ };
21
+ description: {
22
+ type: import('vue').PropType<StrOrFn>;
23
+ };
24
+ label: {
25
+ type: import('vue').PropType<StrOrFn>;
26
+ };
27
+ emptyOptionsText: {
28
+ type: import('vue').PropType<StrOrFn>;
29
+ };
30
+ noResultsText: {
31
+ type: import('vue').PropType<StrOrFn>;
32
+ };
33
+ fitContent: {
34
+ type: import('vue').PropType<boolean>;
35
+ };
36
+ disabled: {
37
+ type: import('vue').PropType<boolean>;
38
+ };
39
+ notClearable: {
40
+ type: import('vue').PropType<boolean>;
41
+ };
42
+ errors: {
43
+ type: import('vue').PropType<import('../../../types').InputError[]>;
44
+ };
45
+ withRequiredLabel: {
46
+ type: import('vue').PropType<boolean>;
47
+ };
48
+ withOptionalLabel: {
49
+ type: import('vue').PropType<boolean>;
50
+ };
51
+ withLabelSpace: {
52
+ type: import('vue').PropType<boolean>;
53
+ };
54
+ grow: {
55
+ type: import('vue').PropType<number>;
56
+ };
57
+ placeholder: {
58
+ type: import('vue').PropType<StrOrFn>;
59
+ };
60
+ descriptionField: {
61
+ type: import('vue').PropType<string>;
62
+ default: string;
63
+ };
64
+ clearValue: {
65
+ type: import('vue').PropType<OptionId>;
66
+ };
67
+ }, {
68
+ focus: typeof focus;
69
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
70
+ change: (newValue: OptionId) => void;
71
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
72
+ modelValue: {
73
+ required: true;
74
+ type: import('vue').PropType<OptionId>;
75
+ };
76
+ info: {
77
+ type: import('vue').PropType<StrOrFn>;
78
+ };
79
+ id: {
80
+ type: import('vue').PropType<string>;
81
+ };
82
+ options: {
83
+ type: import('vue').PropType<Option[]>;
84
+ required: true;
85
+ };
86
+ description: {
87
+ type: import('vue').PropType<StrOrFn>;
88
+ };
89
+ label: {
90
+ type: import('vue').PropType<StrOrFn>;
91
+ };
92
+ emptyOptionsText: {
93
+ type: import('vue').PropType<StrOrFn>;
94
+ };
95
+ noResultsText: {
96
+ type: import('vue').PropType<StrOrFn>;
97
+ };
98
+ fitContent: {
99
+ type: import('vue').PropType<boolean>;
100
+ };
101
+ disabled: {
102
+ type: import('vue').PropType<boolean>;
103
+ };
104
+ notClearable: {
105
+ type: import('vue').PropType<boolean>;
106
+ };
107
+ errors: {
108
+ type: import('vue').PropType<import('../../../types').InputError[]>;
109
+ };
110
+ withRequiredLabel: {
111
+ type: import('vue').PropType<boolean>;
112
+ };
113
+ withOptionalLabel: {
114
+ type: import('vue').PropType<boolean>;
115
+ };
116
+ withLabelSpace: {
117
+ type: import('vue').PropType<boolean>;
118
+ };
119
+ grow: {
120
+ type: import('vue').PropType<number>;
121
+ };
122
+ placeholder: {
123
+ type: import('vue').PropType<StrOrFn>;
124
+ };
125
+ descriptionField: {
126
+ type: import('vue').PropType<string>;
127
+ default: string;
128
+ };
129
+ clearValue: {
130
+ type: import('vue').PropType<OptionId>;
131
+ };
132
+ }>> & {
133
+ onChange?: (newValue: OptionId) => any;
134
+ }, {
135
+ descriptionField: string;
136
+ }, {}>;
93
137
  export default _default;
94
- type __VLS_Prettify<T> = {
95
- [K in keyof T]: T[K];
96
- } & {};
@@ -1,84 +1,115 @@
1
1
  import { Item, StrOrFn } from '../../../types';
2
2
 
3
- declare const _default: <T extends Item>(__VLS_props: {
4
- info?: StrOrFn;
5
- id?: string;
6
- options: T[];
7
- description?: StrOrFn;
8
- label?: StrOrFn;
9
- emptyOptionsText?: StrOrFn;
3
+ declare function focus(): void;
4
+ declare const _default: import('vue').DefineComponent<{
5
+ modelValue: {
6
+ required: true;
7
+ type: import('vue').PropType<number>;
8
+ };
9
+ id: {
10
+ type: import('vue').PropType<string>;
11
+ };
12
+ label: {
13
+ type: import('vue').PropType<StrOrFn>;
14
+ };
15
+ withRequiredLabel: {
16
+ type: import('vue').PropType<boolean>;
17
+ };
18
+ withOptionalLabel: {
19
+ type: import('vue').PropType<boolean>;
20
+ };
21
+ withLabelSpace: {
22
+ type: import('vue').PropType<boolean>;
23
+ };
24
+ info: {
25
+ type: import('vue').PropType<StrOrFn>;
26
+ };
27
+ description: {
28
+ type: import('vue').PropType<StrOrFn>;
29
+ };
30
+ errors: {
31
+ type: import('vue').PropType<import('../../../types').InputError[]>;
32
+ };
33
+ fitContent: {
34
+ type: import('vue').PropType<boolean>;
35
+ };
36
+ grow: {
37
+ type: import('vue').PropType<number>;
38
+ };
39
+ options: {
40
+ type: import('vue').PropType<Item[]>;
41
+ required: true;
42
+ };
43
+ descriptionField: {
44
+ type: import('vue').PropType<string>;
45
+ required: true;
46
+ };
47
+ emptyOptionsText: {
48
+ type: import('vue').PropType<StrOrFn>;
49
+ };
50
+ placeholder: {
51
+ type: import('vue').PropType<StrOrFn>;
52
+ };
53
+ disabled: {
54
+ type: import('vue').PropType<boolean>;
55
+ };
56
+ }, {
57
+ focus: typeof focus;
58
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
59
+ change: (newValue: number) => void;
60
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
61
+ modelValue: {
62
+ required: true;
63
+ type: import('vue').PropType<number>;
64
+ };
65
+ id: {
66
+ type: import('vue').PropType<string>;
67
+ };
68
+ label: {
69
+ type: import('vue').PropType<StrOrFn>;
70
+ };
71
+ withRequiredLabel: {
72
+ type: import('vue').PropType<boolean>;
73
+ };
74
+ withOptionalLabel: {
75
+ type: import('vue').PropType<boolean>;
76
+ };
77
+ withLabelSpace: {
78
+ type: import('vue').PropType<boolean>;
79
+ };
80
+ info: {
81
+ type: import('vue').PropType<StrOrFn>;
82
+ };
83
+ description: {
84
+ type: import('vue').PropType<StrOrFn>;
85
+ };
86
+ errors: {
87
+ type: import('vue').PropType<import('../../../types').InputError[]>;
88
+ };
89
+ fitContent: {
90
+ type: import('vue').PropType<boolean>;
91
+ };
92
+ grow: {
93
+ type: import('vue').PropType<number>;
94
+ };
95
+ options: {
96
+ type: import('vue').PropType<Item[]>;
97
+ required: true;
98
+ };
99
+ descriptionField: {
100
+ type: import('vue').PropType<string>;
101
+ required: true;
102
+ };
103
+ emptyOptionsText: {
104
+ type: import('vue').PropType<StrOrFn>;
105
+ };
106
+ placeholder: {
107
+ type: import('vue').PropType<StrOrFn>;
108
+ };
109
+ disabled: {
110
+ type: import('vue').PropType<boolean>;
111
+ };
112
+ }>> & {
10
113
  onChange?: (newValue: number) => any;
11
- fitContent?: boolean;
12
- disabled?: boolean;
13
- modelValue: number;
14
- errors?: import('../../../types').InputError[];
15
- withRequiredLabel?: boolean;
16
- withOptionalLabel?: boolean;
17
- withLabelSpace?: boolean;
18
- grow?: number;
19
- placeholder?: StrOrFn;
20
- descriptionField: string;
21
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
22
- slots: {};
23
- attrs: any;
24
- emit: (evt: "change", newValue: number) => void;
25
- }, __VLS_expose?: (exposed: import('vue').ShallowUnwrapRef<{
26
- focus: () => void;
27
- }>) => void, __VLS_setup?: Promise<{
28
- props: {
29
- info?: StrOrFn;
30
- id?: string;
31
- options: T[];
32
- description?: StrOrFn;
33
- label?: StrOrFn;
34
- emptyOptionsText?: StrOrFn;
35
- onChange?: (newValue: number) => any;
36
- fitContent?: boolean;
37
- disabled?: boolean;
38
- modelValue: number;
39
- errors?: import('../../../types').InputError[];
40
- withRequiredLabel?: boolean;
41
- withOptionalLabel?: boolean;
42
- withLabelSpace?: boolean;
43
- grow?: number;
44
- placeholder?: StrOrFn;
45
- descriptionField: string;
46
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
47
- expose(exposed: import('vue').ShallowUnwrapRef<{
48
- focus: () => void;
49
- }>): void;
50
- attrs: any;
51
- slots: {};
52
- emit: (evt: "change", newValue: number) => void;
53
- }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
54
- [key: string]: any;
55
- }> & {
56
- __ctx?: {
57
- props: {
58
- info?: StrOrFn;
59
- id?: string;
60
- options: T[];
61
- description?: StrOrFn;
62
- label?: StrOrFn;
63
- emptyOptionsText?: StrOrFn;
64
- onChange?: (newValue: number) => any;
65
- fitContent?: boolean;
66
- disabled?: boolean;
67
- modelValue: number;
68
- errors?: import('../../../types').InputError[];
69
- withRequiredLabel?: boolean;
70
- withOptionalLabel?: boolean;
71
- withLabelSpace?: boolean;
72
- grow?: number;
73
- placeholder?: StrOrFn;
74
- descriptionField: string;
75
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
76
- expose(exposed: import('vue').ShallowUnwrapRef<{
77
- focus: () => void;
78
- }>): void;
79
- attrs: any;
80
- slots: {};
81
- emit: (evt: "change", newValue: number) => void;
82
- };
83
- };
114
+ }, {}, {}>;
84
115
  export default _default;