pangea-lib 2.11.407 → 2.11.409

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.
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ es: {
3
+ emptyOptionsText: string;
4
+ };
5
+ };
6
+ export default _default;
@@ -1,4 +1,4 @@
1
- import { InputError } from '../../../types';
1
+ import { TextProp, InputError } from '../../../types';
2
2
 
3
3
  type ModelValue = string | number | null;
4
4
  type PropsType = 'text' | 'password' | 'number';
@@ -30,7 +30,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
30
30
  type: import('vue').PropType<number>;
31
31
  };
32
32
  placeholder: {
33
- type: import('vue').PropType<string>;
33
+ type: import('vue').PropType<TextProp>;
34
34
  };
35
35
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
36
36
  modelValue: {
@@ -60,7 +60,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
60
60
  type: import('vue').PropType<number>;
61
61
  };
62
62
  placeholder: {
63
- type: import('vue').PropType<string>;
63
+ type: import('vue').PropType<TextProp>;
64
64
  };
65
65
  }>>, {
66
66
  type: PropsType;
@@ -0,0 +1,82 @@
1
+ import { Item, TextProp, InputError } from '../../../types';
2
+
3
+ declare const _default: import('vue').DefineComponent<{
4
+ modelValue: {
5
+ required: true;
6
+ type: import('vue').PropType<string>;
7
+ };
8
+ options: {
9
+ type: import('vue').PropType<Item[]>;
10
+ required: true;
11
+ };
12
+ valueField: {
13
+ type: import('vue').PropType<string>;
14
+ required: true;
15
+ };
16
+ emptyOptionsText: {
17
+ type: import('vue').PropType<TextProp>;
18
+ };
19
+ placeholder: {
20
+ type: import('vue').PropType<TextProp>;
21
+ };
22
+ label: {
23
+ type: import('vue').PropType<string>;
24
+ };
25
+ withOptionalLabel: {
26
+ type: import('vue').PropType<boolean>;
27
+ };
28
+ withLabelSpace: {
29
+ type: import('vue').PropType<boolean>;
30
+ };
31
+ errors: {
32
+ type: import('vue').PropType<InputError[]>;
33
+ };
34
+ disabled: {
35
+ type: import('vue').PropType<boolean>;
36
+ };
37
+ grow: {
38
+ type: import('vue').PropType<number>;
39
+ };
40
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
41
+ change: (newValue: string) => void;
42
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
43
+ modelValue: {
44
+ required: true;
45
+ type: import('vue').PropType<string>;
46
+ };
47
+ options: {
48
+ type: import('vue').PropType<Item[]>;
49
+ required: true;
50
+ };
51
+ valueField: {
52
+ type: import('vue').PropType<string>;
53
+ required: true;
54
+ };
55
+ emptyOptionsText: {
56
+ type: import('vue').PropType<TextProp>;
57
+ };
58
+ placeholder: {
59
+ type: import('vue').PropType<TextProp>;
60
+ };
61
+ label: {
62
+ type: import('vue').PropType<string>;
63
+ };
64
+ withOptionalLabel: {
65
+ type: import('vue').PropType<boolean>;
66
+ };
67
+ withLabelSpace: {
68
+ type: import('vue').PropType<boolean>;
69
+ };
70
+ errors: {
71
+ type: import('vue').PropType<InputError[]>;
72
+ };
73
+ disabled: {
74
+ type: import('vue').PropType<boolean>;
75
+ };
76
+ grow: {
77
+ type: import('vue').PropType<number>;
78
+ };
79
+ }>> & {
80
+ onChange?: (newValue: string) => any;
81
+ }, {}, {}>;
82
+ export default _default;
@@ -1,24 +1,19 @@
1
- import { TextProp, InputError } from '../../../types';
1
+ import { Item, TextProp, InputError } from '../../../types';
2
2
 
3
- type OptionId = any;
4
- interface Option {
5
- id: OptionId;
6
- [key: string]: any;
7
- }
8
3
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
9
4
  modelValue: {
10
5
  required: true;
11
- type: import('vue').PropType<any>;
6
+ type: import('vue').PropType<string>;
12
7
  };
13
8
  options: {
14
- type: import('vue').PropType<Option[]>;
9
+ type: import('vue').PropType<Item[]>;
15
10
  required: true;
16
11
  };
17
12
  emptyOptionsText: {
18
13
  type: import('vue').PropType<TextProp>;
19
14
  };
20
15
  reduceNameFunction: {
21
- type: import('vue').PropType<(option: Option) => string>;
16
+ type: import('vue').PropType<(option: Item) => string>;
22
17
  };
23
18
  placeholder: {
24
19
  type: import('vue').PropType<TextProp>;
@@ -42,21 +37,21 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
42
37
  type: import('vue').PropType<number>;
43
38
  };
44
39
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
45
- change: (newValue: any) => void;
40
+ change: (newValue: string) => void;
46
41
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
47
42
  modelValue: {
48
43
  required: true;
49
- type: import('vue').PropType<any>;
44
+ type: import('vue').PropType<string>;
50
45
  };
51
46
  options: {
52
- type: import('vue').PropType<Option[]>;
47
+ type: import('vue').PropType<Item[]>;
53
48
  required: true;
54
49
  };
55
50
  emptyOptionsText: {
56
51
  type: import('vue').PropType<TextProp>;
57
52
  };
58
53
  reduceNameFunction: {
59
- type: import('vue').PropType<(option: Option) => string>;
54
+ type: import('vue').PropType<(option: Item) => string>;
60
55
  };
61
56
  placeholder: {
62
57
  type: import('vue').PropType<TextProp>;
@@ -80,10 +75,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
80
75
  type: import('vue').PropType<number>;
81
76
  };
82
77
  }>> & {
83
- onChange?: (newValue: any) => any;
78
+ onChange?: (newValue: string) => any;
84
79
  }, {}, {}>, {
85
80
  dropdownOption?(_: {
86
- option: Option;
81
+ option: Item;
87
82
  }): any;
88
83
  }>;
89
84
  export default _default;
@@ -24,6 +24,7 @@ export { default as PgaDatePicker } from './form/input/PgaDatePicker.vue';
24
24
  export { default as PgaInput } from './form/input/PgaInput.vue';
25
25
  export { default as PgaInputFile } from './form/input/PgaInputFile.vue';
26
26
  export { default as PgaInputFileExcel } from './form/input/PgaInputFileExcel.vue';
27
+ export { default as PgaInputSelect } from './form/input/PgaInputSelect.vue';
27
28
  export { default as PgaSelect } from './form/input/PgaSelect.vue';
28
29
  export { default as PgaSwitch } from './form/input/PgaSwitch.vue';
29
30
  export { default as PgaSwitchOptions } from './form/input/PgaSwitchOptions.vue';
@@ -34,6 +34,11 @@ declare const _default: {
34
34
  optionalLabel: string;
35
35
  };
36
36
  };
37
+ pgaInputSelect: {
38
+ es: {
39
+ emptyOptionsText: string;
40
+ };
41
+ };
37
42
  pgaLoginForm: {
38
43
  es: {
39
44
  inputLabelUsername: string;
@@ -1,4 +1,4 @@
1
- export declare const getLanguage: () => "es", setLanguage: (language: "es") => void, useI18n: <FN extends "notifications" | "alert" | "pgaLogoutButton" | "pgaDisplayNoItems" | "pgaDatePicker" | "pgaInputFile" | "pgaInputGroup" | "pgaLoginForm" | "pgaTable" | "pgaModal", MP extends void | import('pangea-helpers').ExtractPrefixes<{
1
+ export declare const getLanguage: () => "es", setLanguage: (language: "es") => void, useI18n: <FN extends "notifications" | "alert" | "pgaLogoutButton" | "pgaDisplayNoItems" | "pgaDatePicker" | "pgaInputFile" | "pgaInputGroup" | "pgaInputSelect" | "pgaLoginForm" | "pgaTable" | "pgaModal", MP extends void | import('pangea-helpers').ExtractPrefixes<{
2
2
  alert: {
3
3
  es: {
4
4
  alertTitle: string;
@@ -34,6 +34,11 @@ export declare const getLanguage: () => "es", setLanguage: (language: "es") => v
34
34
  optionalLabel: string;
35
35
  };
36
36
  };
37
+ pgaInputSelect: {
38
+ es: {
39
+ emptyOptionsText: string;
40
+ };
41
+ };
37
42
  pgaLoginForm: {
38
43
  es: {
39
44
  inputLabelUsername: string;
@@ -98,6 +103,11 @@ export declare const getLanguage: () => "es", setLanguage: (language: "es") => v
98
103
  optionalLabel: string;
99
104
  };
100
105
  };
106
+ pgaInputSelect: {
107
+ es: {
108
+ emptyOptionsText: string;
109
+ };
110
+ };
101
111
  pgaLoginForm: {
102
112
  es: {
103
113
  inputLabelUsername: string;
@@ -162,6 +172,11 @@ export declare const getLanguage: () => "es", setLanguage: (language: "es") => v
162
172
  optionalLabel: string;
163
173
  };
164
174
  };
175
+ pgaInputSelect: {
176
+ es: {
177
+ emptyOptionsText: string;
178
+ };
179
+ };
165
180
  pgaLoginForm: {
166
181
  es: {
167
182
  inputLabelUsername: string;
@@ -1,4 +1,3 @@
1
- declare const _default: {
1
+ export declare const refs: {
2
2
  delayTime: number;
3
3
  };
4
- export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-lib",
3
3
  "description": "",
4
- "version": "2.11.407",
4
+ "version": "2.11.409",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea#readme",